@azure/arm-resources-subscriptions 2.0.1 → 2.0.2-alpha.20220420.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
2
 
3
+ ## 2.0.2 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 2.0.1 (2022-04-18)
4
14
 
5
15
  **features**
package/dist/index.js CHANGED
@@ -1176,7 +1176,7 @@ class SubscriptionClient extends coreClient__namespace.ServiceClient {
1176
1176
  requestContentType: "application/json; charset=utf-8",
1177
1177
  credential: credentials
1178
1178
  };
1179
- const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.1`;
1179
+ const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.2`;
1180
1180
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
1181
1181
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
1182
1182
  : `${packageDetails}`;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/subscriptions.ts","../src/operations/tenants.ts","../src/subscriptionClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Location list operation response. */\nexport interface LocationListResult {\n /** An array of locations. */\n value?: Location[];\n}\n\n/** Location information. */\nexport interface Location {\n /**\n * The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The location name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The location type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: LocationType;\n /**\n * The display name of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The display name of the location and its region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionalDisplayName?: string;\n /** Metadata of the location, such as lat/long, paired region, and others. */\n metadata?: LocationMetadata;\n}\n\n/** Location metadata information */\nexport interface LocationMetadata {\n /**\n * The type of the region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionType?: RegionType;\n /**\n * The category of the region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionCategory?: RegionCategory;\n /**\n * The geography group of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly geographyGroup?: string;\n /**\n * The longitude of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly longitude?: string;\n /**\n * The latitude of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly latitude?: string;\n /**\n * The physical location of the Azure location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly physicalLocation?: string;\n /** The regions paired to this region. */\n pairedRegion?: PairedRegion[];\n /**\n * The home location of an edge zone.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly homeLocation?: string;\n}\n\n/** Information regarding paired region. */\nexport interface PairedRegion {\n /**\n * The name of the paired region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n}\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorResponse[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Subscription information. */\nexport interface Subscription {\n /**\n * The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The subscription display name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The subscription tenant ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly state?: SubscriptionState;\n /** The subscription policies. */\n subscriptionPolicies?: SubscriptionPolicies;\n /** The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. */\n authorizationSource?: string;\n /** An array containing the tenants managing the subscription. */\n managedByTenants?: ManagedByTenant[];\n /** The tags attached to the subscription. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Subscription policies. */\nexport interface SubscriptionPolicies {\n /**\n * The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly locationPlacementId?: string;\n /**\n * The subscription quota ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly quotaId?: string;\n /**\n * The subscription spending limit.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly spendingLimit?: SpendingLimit;\n}\n\n/** Information about a tenant managing the subscription. */\nexport interface ManagedByTenant {\n /**\n * The tenant ID of the managing tenant. This is a GUID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n}\n\n/** Subscription list operation response. */\nexport interface SubscriptionListResult {\n /** An array of subscriptions. */\n value?: Subscription[];\n /** The URL to get the next set of results. */\n nextLink: string;\n}\n\n/** Tenant Ids information. */\nexport interface TenantListResult {\n /** An array of tenants. */\n value?: TenantIdDescription[];\n /** The URL to use for getting the next set of results. */\n nextLink: string;\n}\n\n/** Tenant Id information. */\nexport interface TenantIdDescription {\n /**\n * The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The tenant ID. For example, 00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * Category of the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantCategory?: TenantCategory;\n /**\n * Country/region name of the address for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly country?: string;\n /**\n * Country/region abbreviation for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly countryCode?: string;\n /**\n * The display name of the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The list of domains for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly domains?: string[];\n /**\n * The default domain for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly defaultDomain?: string;\n /**\n * The tenant type. Only available for 'Home' tenant category.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantType?: string;\n /**\n * The tenant's branding logo URL. Only available for 'Home' tenant category.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantBrandingLogoUrl?: string;\n}\n\n/** Name and Type of the Resource */\nexport interface ResourceName {\n /** Name of the resource */\n name: string;\n /** The type of the resource */\n type: string;\n}\n\n/** Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word */\nexport interface CheckResourceNameResult {\n /** Name of Resource */\n name?: string;\n /** Type of Resource */\n type?: string;\n /** Is the resource name Allowed or Reserved */\n status?: ResourceNameStatus;\n}\n\n/** Microsoft.Resources operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Resources */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Resources operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Known values of {@link RegionType} that the service accepts. */\nexport enum KnownRegionType {\n Physical = \"Physical\",\n Logical = \"Logical\"\n}\n\n/**\n * Defines values for RegionType. \\\n * {@link KnownRegionType} can be used interchangeably with RegionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Physical** \\\n * **Logical**\n */\nexport type RegionType = string;\n\n/** Known values of {@link RegionCategory} that the service accepts. */\nexport enum KnownRegionCategory {\n Recommended = \"Recommended\",\n Extended = \"Extended\",\n Other = \"Other\"\n}\n\n/**\n * Defines values for RegionCategory. \\\n * {@link KnownRegionCategory} can be used interchangeably with RegionCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Recommended** \\\n * **Extended** \\\n * **Other**\n */\nexport type RegionCategory = string;\n\n/** Known values of {@link ResourceNameStatus} that the service accepts. */\nexport enum KnownResourceNameStatus {\n Allowed = \"Allowed\",\n Reserved = \"Reserved\"\n}\n\n/**\n * Defines values for ResourceNameStatus. \\\n * {@link KnownResourceNameStatus} can be used interchangeably with ResourceNameStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Allowed** \\\n * **Reserved**\n */\nexport type ResourceNameStatus = string;\n/** Defines values for LocationType. */\nexport type LocationType = \"Region\" | \"EdgeZone\";\n/** Defines values for SubscriptionState. */\nexport type SubscriptionState =\n | \"Enabled\"\n | \"Warned\"\n | \"PastDue\"\n | \"Disabled\"\n | \"Deleted\";\n/** Defines values for SpendingLimit. */\nexport type SpendingLimit = \"On\" | \"Off\" | \"CurrentPeriodOff\";\n/** Defines values for TenantCategory. */\nexport type TenantCategory = \"Home\" | \"ProjectedBy\" | \"ManagedBy\";\n\n/** Optional parameters. */\nexport interface SubscriptionsListLocationsOptionalParams\n extends coreClient.OperationOptions {\n /** Whether to include extended locations. */\n includeExtendedLocations?: boolean;\n}\n\n/** Contains response data for the listLocations operation. */\nexport type SubscriptionsListLocationsResponse = LocationListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SubscriptionsGetResponse = Subscription;\n\n/** Optional parameters. */\nexport interface SubscriptionsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type SubscriptionsListResponse = SubscriptionListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type SubscriptionsListNextResponse = SubscriptionListResult;\n\n/** Optional parameters. */\nexport interface TenantsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type TenantsListResponse = TenantListResult;\n\n/** Optional parameters. */\nexport interface TenantsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type TenantsListNextResponse = TenantListResult;\n\n/** Optional parameters. */\nexport interface CheckResourceNameOptionalParams\n extends coreClient.OperationOptions {\n /** Resource object with values for resource name and resource type */\n resourceNameDefinition?: ResourceName;\n}\n\n/** Contains response data for the checkResourceName operation. */\nexport type CheckResourceNameResponse = CheckResourceNameResult;\n\n/** Optional parameters. */\nexport interface SubscriptionClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const LocationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LocationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Location\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Location: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Location\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Region\", \"EdgeZone\"]\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n regionalDisplayName: {\n serializedName: \"regionalDisplayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Composite\",\n className: \"LocationMetadata\"\n }\n }\n }\n }\n};\n\nexport const LocationMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LocationMetadata\",\n modelProperties: {\n regionType: {\n serializedName: \"regionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n regionCategory: {\n serializedName: \"regionCategory\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n geographyGroup: {\n serializedName: \"geographyGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n longitude: {\n serializedName: \"longitude\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n latitude: {\n serializedName: \"latitude\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n physicalLocation: {\n serializedName: \"physicalLocation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n pairedRegion: {\n serializedName: \"pairedRegion\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PairedRegion\"\n }\n }\n }\n },\n homeLocation: {\n serializedName: \"homeLocation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PairedRegion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PairedRegion\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const Subscription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Subscription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Enabled\", \"Warned\", \"PastDue\", \"Disabled\", \"Deleted\"]\n }\n },\n subscriptionPolicies: {\n serializedName: \"subscriptionPolicies\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionPolicies\"\n }\n },\n authorizationSource: {\n serializedName: \"authorizationSource\",\n type: {\n name: \"String\"\n }\n },\n managedByTenants: {\n serializedName: \"managedByTenants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedByTenant\"\n }\n }\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SubscriptionPolicies: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionPolicies\",\n modelProperties: {\n locationPlacementId: {\n serializedName: \"locationPlacementId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n quotaId: {\n serializedName: \"quotaId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n spendingLimit: {\n serializedName: \"spendingLimit\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"On\", \"Off\", \"CurrentPeriodOff\"]\n }\n }\n }\n }\n};\n\nexport const ManagedByTenant: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedByTenant\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Subscription\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TenantListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TenantIdDescription\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TenantIdDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantIdDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantCategory: {\n serializedName: \"tenantCategory\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Home\", \"ProjectedBy\", \"ManagedBy\"]\n }\n },\n country: {\n serializedName: \"country\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n domains: {\n serializedName: \"domains\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n defaultDomain: {\n serializedName: \"defaultDomain\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantType: {\n serializedName: \"tenantType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantBrandingLogoUrl: {\n serializedName: \"tenantBrandingLogoUrl\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceName: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceName\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckResourceNameResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckResourceNameResult\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ResourceName as ResourceNameMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeExtendedLocations: OperationQueryParameter = {\n parameterPath: [\"options\", \"includeExtendedLocations\"],\n mapper: {\n serializedName: \"includeExtendedLocations\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceNameDefinition: OperationParameter = {\n parameterPath: [\"options\", \"resourceNameDefinition\"],\n mapper: ResourceNameMapper\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Subscriptions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n Location,\n SubscriptionsListLocationsOptionalParams,\n Subscription,\n SubscriptionsListNextOptionalParams,\n SubscriptionsListOptionalParams,\n SubscriptionsListLocationsResponse,\n SubscriptionsGetOptionalParams,\n SubscriptionsGetResponse,\n SubscriptionsListResponse,\n SubscriptionsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Subscriptions operations. */\nexport class SubscriptionsImpl implements Subscriptions {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Subscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n public listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): PagedAsyncIterableIterator<Location> {\n const iter = this.listLocationsPagingAll(subscriptionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listLocationsPagingPage(subscriptionId, options);\n }\n };\n }\n\n private async *listLocationsPagingPage(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): AsyncIterableIterator<Location[]> {\n let result = await this._listLocations(subscriptionId, options);\n yield result.value || [];\n }\n\n private async *listLocationsPagingAll(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): AsyncIterableIterator<Location> {\n for await (const page of this.listLocationsPagingPage(\n subscriptionId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n public list(\n options?: SubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<Subscription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: SubscriptionsListOptionalParams\n ): AsyncIterableIterator<Subscription[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: SubscriptionsListOptionalParams\n ): AsyncIterableIterator<Subscription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n private _listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): Promise<SubscriptionsListLocationsResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n listLocationsOperationSpec\n );\n }\n\n /**\n * Gets details about a specified subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n get(\n subscriptionId: string,\n options?: SubscriptionsGetOptionalParams\n ): Promise<SubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n private _list(\n options?: SubscriptionsListOptionalParams\n ): Promise<SubscriptionsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: SubscriptionsListNextOptionalParams\n ): Promise<SubscriptionsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listLocationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/locations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeExtendedLocations],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Subscription\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Tenants } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n TenantIdDescription,\n TenantsListNextOptionalParams,\n TenantsListOptionalParams,\n TenantsListResponse,\n TenantsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Tenants operations. */\nexport class TenantsImpl implements Tenants {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Tenants class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n public list(\n options?: TenantsListOptionalParams\n ): PagedAsyncIterableIterator<TenantIdDescription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: TenantsListOptionalParams\n ): AsyncIterableIterator<TenantIdDescription[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: TenantsListOptionalParams\n ): AsyncIterableIterator<TenantIdDescription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n private _list(\n options?: TenantsListOptionalParams\n ): Promise<TenantsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: TenantsListNextOptionalParams\n ): Promise<TenantsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/tenants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { SubscriptionsImpl, TenantsImpl } from \"./operations\";\nimport { Subscriptions, Tenants } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n SubscriptionClientOptionalParams,\n CheckResourceNameOptionalParams,\n CheckResourceNameResponse\n} from \"./models\";\n\nexport class SubscriptionClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SubscriptionClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SubscriptionClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SubscriptionClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-01-01\";\n this.subscriptions = new SubscriptionsImpl(this);\n this.tenants = new TenantsImpl(this);\n }\n\n /**\n * A resource name is valid if it is not a reserved word, does not contains a reserved word and does\n * not start with a reserved word\n * @param options The options parameters.\n */\n checkResourceName(\n options?: CheckResourceNameOptionalParams\n ): Promise<CheckResourceNameResponse> {\n return this.sendOperationRequest(\n { options },\n checkResourceNameOperationSpec\n );\n }\n\n subscriptions: Subscriptions;\n tenants: Tenants;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkResourceNameOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/checkResourceName\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckResourceNameResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.resourceNameDefinition,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"],"names":["KnownRegionType","KnownRegionCategory","KnownResourceNameStatus","ResourceNameMapper","__await","__asyncValues","__asyncDelegator","listOperationSpec","listNextOperationSpec","serializer","coreClient","Mappers.LocationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.includeExtendedLocations","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Mappers.Subscription","Mappers.SubscriptionListResult","Parameters.nextLink","Mappers.TenantListResult","coreRestPipeline","Mappers.CheckResourceNameResult","Parameters.resourceNameDefinition","Parameters.contentType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAgVH;AACYA,iCAGX;AAHD,CAAA,UAAY,eAAe,EAAA;AACzB,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACrB,CAAC,EAHWA,uBAAe,KAAfA,uBAAe,GAG1B,EAAA,CAAA,CAAA,CAAA;AAYD;AACYC,qCAIX;AAJD,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B,CAAA;AAC3B,IAAA,mBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,mBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAJWA,2BAAmB,KAAnBA,2BAAmB,GAI9B,EAAA,CAAA,CAAA,CAAA;AAaD;AACYC,yCAGX;AAHD,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,uBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACvB,CAAC,EAHWA,+BAAuB,KAAvBA,+BAAuB,GAGlC,EAAA,CAAA,CAA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ts","../src/operations/subscriptions.ts","../src/operations/tenants.ts","../src/subscriptionClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Location list operation response. */\nexport interface LocationListResult {\n /** An array of locations. */\n value?: Location[];\n}\n\n/** Location information. */\nexport interface Location {\n /**\n * The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The location name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The location type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: LocationType;\n /**\n * The display name of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The display name of the location and its region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionalDisplayName?: string;\n /** Metadata of the location, such as lat/long, paired region, and others. */\n metadata?: LocationMetadata;\n}\n\n/** Location metadata information */\nexport interface LocationMetadata {\n /**\n * The type of the region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionType?: RegionType;\n /**\n * The category of the region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly regionCategory?: RegionCategory;\n /**\n * The geography group of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly geographyGroup?: string;\n /**\n * The longitude of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly longitude?: string;\n /**\n * The latitude of the location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly latitude?: string;\n /**\n * The physical location of the Azure location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly physicalLocation?: string;\n /** The regions paired to this region. */\n pairedRegion?: PairedRegion[];\n /**\n * The home location of an edge zone.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly homeLocation?: string;\n}\n\n/** Information regarding paired region. */\nexport interface PairedRegion {\n /**\n * The name of the paired region.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n}\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorResponse[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Subscription information. */\nexport interface Subscription {\n /**\n * The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The subscription ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The subscription display name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The subscription tenant ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly state?: SubscriptionState;\n /** The subscription policies. */\n subscriptionPolicies?: SubscriptionPolicies;\n /** The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. */\n authorizationSource?: string;\n /** An array containing the tenants managing the subscription. */\n managedByTenants?: ManagedByTenant[];\n /** The tags attached to the subscription. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Subscription policies. */\nexport interface SubscriptionPolicies {\n /**\n * The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly locationPlacementId?: string;\n /**\n * The subscription quota ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly quotaId?: string;\n /**\n * The subscription spending limit.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly spendingLimit?: SpendingLimit;\n}\n\n/** Information about a tenant managing the subscription. */\nexport interface ManagedByTenant {\n /**\n * The tenant ID of the managing tenant. This is a GUID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n}\n\n/** Subscription list operation response. */\nexport interface SubscriptionListResult {\n /** An array of subscriptions. */\n value?: Subscription[];\n /** The URL to get the next set of results. */\n nextLink: string;\n}\n\n/** Tenant Ids information. */\nexport interface TenantListResult {\n /** An array of tenants. */\n value?: TenantIdDescription[];\n /** The URL to use for getting the next set of results. */\n nextLink: string;\n}\n\n/** Tenant Id information. */\nexport interface TenantIdDescription {\n /**\n * The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The tenant ID. For example, 00000000-0000-0000-0000-000000000000.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * Category of the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantCategory?: TenantCategory;\n /**\n * Country/region name of the address for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly country?: string;\n /**\n * Country/region abbreviation for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly countryCode?: string;\n /**\n * The display name of the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The list of domains for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly domains?: string[];\n /**\n * The default domain for the tenant.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly defaultDomain?: string;\n /**\n * The tenant type. Only available for 'Home' tenant category.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantType?: string;\n /**\n * The tenant's branding logo URL. Only available for 'Home' tenant category.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantBrandingLogoUrl?: string;\n}\n\n/** Name and Type of the Resource */\nexport interface ResourceName {\n /** Name of the resource */\n name: string;\n /** The type of the resource */\n type: string;\n}\n\n/** Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word */\nexport interface CheckResourceNameResult {\n /** Name of Resource */\n name?: string;\n /** Type of Resource */\n type?: string;\n /** Is the resource name Allowed or Reserved */\n status?: ResourceNameStatus;\n}\n\n/** Microsoft.Resources operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Resources */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Resources operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Known values of {@link RegionType} that the service accepts. */\nexport enum KnownRegionType {\n Physical = \"Physical\",\n Logical = \"Logical\"\n}\n\n/**\n * Defines values for RegionType. \\\n * {@link KnownRegionType} can be used interchangeably with RegionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Physical** \\\n * **Logical**\n */\nexport type RegionType = string;\n\n/** Known values of {@link RegionCategory} that the service accepts. */\nexport enum KnownRegionCategory {\n Recommended = \"Recommended\",\n Extended = \"Extended\",\n Other = \"Other\"\n}\n\n/**\n * Defines values for RegionCategory. \\\n * {@link KnownRegionCategory} can be used interchangeably with RegionCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Recommended** \\\n * **Extended** \\\n * **Other**\n */\nexport type RegionCategory = string;\n\n/** Known values of {@link ResourceNameStatus} that the service accepts. */\nexport enum KnownResourceNameStatus {\n Allowed = \"Allowed\",\n Reserved = \"Reserved\"\n}\n\n/**\n * Defines values for ResourceNameStatus. \\\n * {@link KnownResourceNameStatus} can be used interchangeably with ResourceNameStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Allowed** \\\n * **Reserved**\n */\nexport type ResourceNameStatus = string;\n/** Defines values for LocationType. */\nexport type LocationType = \"Region\" | \"EdgeZone\";\n/** Defines values for SubscriptionState. */\nexport type SubscriptionState =\n | \"Enabled\"\n | \"Warned\"\n | \"PastDue\"\n | \"Disabled\"\n | \"Deleted\";\n/** Defines values for SpendingLimit. */\nexport type SpendingLimit = \"On\" | \"Off\" | \"CurrentPeriodOff\";\n/** Defines values for TenantCategory. */\nexport type TenantCategory = \"Home\" | \"ProjectedBy\" | \"ManagedBy\";\n\n/** Optional parameters. */\nexport interface SubscriptionsListLocationsOptionalParams\n extends coreClient.OperationOptions {\n /** Whether to include extended locations. */\n includeExtendedLocations?: boolean;\n}\n\n/** Contains response data for the listLocations operation. */\nexport type SubscriptionsListLocationsResponse = LocationListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SubscriptionsGetResponse = Subscription;\n\n/** Optional parameters. */\nexport interface SubscriptionsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type SubscriptionsListResponse = SubscriptionListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type SubscriptionsListNextResponse = SubscriptionListResult;\n\n/** Optional parameters. */\nexport interface TenantsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type TenantsListResponse = TenantListResult;\n\n/** Optional parameters. */\nexport interface TenantsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type TenantsListNextResponse = TenantListResult;\n\n/** Optional parameters. */\nexport interface CheckResourceNameOptionalParams\n extends coreClient.OperationOptions {\n /** Resource object with values for resource name and resource type */\n resourceNameDefinition?: ResourceName;\n}\n\n/** Contains response data for the checkResourceName operation. */\nexport type CheckResourceNameResponse = CheckResourceNameResult;\n\n/** Optional parameters. */\nexport interface SubscriptionClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const LocationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LocationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Location\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Location: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Location\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Region\", \"EdgeZone\"]\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n regionalDisplayName: {\n serializedName: \"regionalDisplayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Composite\",\n className: \"LocationMetadata\"\n }\n }\n }\n }\n};\n\nexport const LocationMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LocationMetadata\",\n modelProperties: {\n regionType: {\n serializedName: \"regionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n regionCategory: {\n serializedName: \"regionCategory\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n geographyGroup: {\n serializedName: \"geographyGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n longitude: {\n serializedName: \"longitude\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n latitude: {\n serializedName: \"latitude\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n physicalLocation: {\n serializedName: \"physicalLocation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n pairedRegion: {\n serializedName: \"pairedRegion\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PairedRegion\"\n }\n }\n }\n },\n homeLocation: {\n serializedName: \"homeLocation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PairedRegion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PairedRegion\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const Subscription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Subscription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Enabled\", \"Warned\", \"PastDue\", \"Disabled\", \"Deleted\"]\n }\n },\n subscriptionPolicies: {\n serializedName: \"subscriptionPolicies\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionPolicies\"\n }\n },\n authorizationSource: {\n serializedName: \"authorizationSource\",\n type: {\n name: \"String\"\n }\n },\n managedByTenants: {\n serializedName: \"managedByTenants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedByTenant\"\n }\n }\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SubscriptionPolicies: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionPolicies\",\n modelProperties: {\n locationPlacementId: {\n serializedName: \"locationPlacementId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n quotaId: {\n serializedName: \"quotaId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n spendingLimit: {\n serializedName: \"spendingLimit\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"On\", \"Off\", \"CurrentPeriodOff\"]\n }\n }\n }\n }\n};\n\nexport const ManagedByTenant: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedByTenant\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Subscription\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TenantListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TenantIdDescription\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TenantIdDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantIdDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantCategory: {\n serializedName: \"tenantCategory\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Home\", \"ProjectedBy\", \"ManagedBy\"]\n }\n },\n country: {\n serializedName: \"country\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n domains: {\n serializedName: \"domains\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n defaultDomain: {\n serializedName: \"defaultDomain\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantType: {\n serializedName: \"tenantType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantBrandingLogoUrl: {\n serializedName: \"tenantBrandingLogoUrl\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceName: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceName\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckResourceNameResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckResourceNameResult\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ResourceName as ResourceNameMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeExtendedLocations: OperationQueryParameter = {\n parameterPath: [\"options\", \"includeExtendedLocations\"],\n mapper: {\n serializedName: \"includeExtendedLocations\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceNameDefinition: OperationParameter = {\n parameterPath: [\"options\", \"resourceNameDefinition\"],\n mapper: ResourceNameMapper\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Subscriptions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n Location,\n SubscriptionsListLocationsOptionalParams,\n Subscription,\n SubscriptionsListNextOptionalParams,\n SubscriptionsListOptionalParams,\n SubscriptionsListLocationsResponse,\n SubscriptionsGetOptionalParams,\n SubscriptionsGetResponse,\n SubscriptionsListResponse,\n SubscriptionsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Subscriptions operations. */\nexport class SubscriptionsImpl implements Subscriptions {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Subscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n public listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): PagedAsyncIterableIterator<Location> {\n const iter = this.listLocationsPagingAll(subscriptionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listLocationsPagingPage(subscriptionId, options);\n }\n };\n }\n\n private async *listLocationsPagingPage(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): AsyncIterableIterator<Location[]> {\n let result = await this._listLocations(subscriptionId, options);\n yield result.value || [];\n }\n\n private async *listLocationsPagingAll(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): AsyncIterableIterator<Location> {\n for await (const page of this.listLocationsPagingPage(\n subscriptionId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n public list(\n options?: SubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<Subscription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: SubscriptionsListOptionalParams\n ): AsyncIterableIterator<Subscription[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: SubscriptionsListOptionalParams\n ): AsyncIterableIterator<Subscription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n private _listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): Promise<SubscriptionsListLocationsResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n listLocationsOperationSpec\n );\n }\n\n /**\n * Gets details about a specified subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n get(\n subscriptionId: string,\n options?: SubscriptionsGetOptionalParams\n ): Promise<SubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n private _list(\n options?: SubscriptionsListOptionalParams\n ): Promise<SubscriptionsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: SubscriptionsListNextOptionalParams\n ): Promise<SubscriptionsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listLocationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/locations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeExtendedLocations],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Subscription\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Tenants } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n TenantIdDescription,\n TenantsListNextOptionalParams,\n TenantsListOptionalParams,\n TenantsListResponse,\n TenantsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Tenants operations. */\nexport class TenantsImpl implements Tenants {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Tenants class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n public list(\n options?: TenantsListOptionalParams\n ): PagedAsyncIterableIterator<TenantIdDescription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: TenantsListOptionalParams\n ): AsyncIterableIterator<TenantIdDescription[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: TenantsListOptionalParams\n ): AsyncIterableIterator<TenantIdDescription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n private _list(\n options?: TenantsListOptionalParams\n ): Promise<TenantsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: TenantsListNextOptionalParams\n ): Promise<TenantsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/tenants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { SubscriptionsImpl, TenantsImpl } from \"./operations\";\nimport { Subscriptions, Tenants } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n SubscriptionClientOptionalParams,\n CheckResourceNameOptionalParams,\n CheckResourceNameResponse\n} from \"./models\";\n\nexport class SubscriptionClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SubscriptionClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SubscriptionClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SubscriptionClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-01-01\";\n this.subscriptions = new SubscriptionsImpl(this);\n this.tenants = new TenantsImpl(this);\n }\n\n /**\n * A resource name is valid if it is not a reserved word, does not contains a reserved word and does\n * not start with a reserved word\n * @param options The options parameters.\n */\n checkResourceName(\n options?: CheckResourceNameOptionalParams\n ): Promise<CheckResourceNameResponse> {\n return this.sendOperationRequest(\n { options },\n checkResourceNameOperationSpec\n );\n }\n\n subscriptions: Subscriptions;\n tenants: Tenants;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkResourceNameOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/checkResourceName\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckResourceNameResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.resourceNameDefinition,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"],"names":["KnownRegionType","KnownRegionCategory","KnownResourceNameStatus","ResourceNameMapper","__await","__asyncValues","__asyncDelegator","listOperationSpec","listNextOperationSpec","serializer","coreClient","Mappers.LocationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.includeExtendedLocations","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Mappers.Subscription","Mappers.SubscriptionListResult","Parameters.nextLink","Mappers.TenantListResult","coreRestPipeline","Mappers.CheckResourceNameResult","Parameters.resourceNameDefinition","Parameters.contentType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAgVH;AACYA,iCAGX;AAHD,CAAA,UAAY,eAAe,EAAA;AACzB,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACrB,CAAC,EAHWA,uBAAe,KAAfA,uBAAe,GAG1B,EAAA,CAAA,CAAA,CAAA;AAYD;AACYC,qCAIX;AAJD,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,aAAA,CAAA,GAAA,a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S,EAAE;AACT,QAAA,GAAG,EAAE;YACH,UAAU,EAAEa,uBAA+B;AAC5C,SAAA;AACD,QAAA,OAAO,EAAE;YACP,UAAU,EAAEX,UAAkB;AAC/B,SAAA;AACF,KAAA;IACD,WAAW,EAAEY,sBAAiC;AAC9C,IAAA,eAAe,EAAE,CAACX,UAAqB,CAAC;AACxC,IAAA,aAAa,EAAE,CAACE,KAAgB,CAAC;IACjC,gBAAgB,EAAE,CAACE,MAAiB,EAAEQ,WAAsB,CAAC;AAC7D,IAAA,SAAS,EAAE,MAAM;IACjB,UAAU;CACX;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib");function _interopNamespace(a){if(a&&a.__esModule)return a;var i=Object.create(null);return a&&Object.keys(a).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(a,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return a[e]}}))}),i.default=a,Object.freeze(i)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownRegionType=void 0,function(e){e.Physical="Physical",e.Logical="Logical"}(exports.KnownRegionType||(exports.KnownRegionType={})),exports.KnownRegionCategory=void 0,function(e){e.Recommended="Recommended",e.Extended="Extended",e.Other="Other"}(exports.KnownRegionCategory||(exports.KnownRegionCategory={})),exports.KnownResourceNameStatus=void 0,function(e){e.Allowed="Allowed",e.Reserved="Reserved"}(exports.KnownResourceNameStatus||(exports.KnownResourceNameStatus={}));const LocationListResult={type:{name:"Composite",className:"LocationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Location"}}}}}}},Location={type:{name:"Composite",className:"Location",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"Enum",allowedValues:["Region","EdgeZone"]}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},regionalDisplayName:{serializedName:"regionalDisplayName",readOnly:!0,type:{name:"String"}},metadata:{serializedName:"metadata",type:{name:"Composite",className:"LocationMetadata"}}}}},LocationMetadata={type:{name:"Composite",className:"LocationMetadata",modelProperties:{regionType:{serializedName:"regionType",readOnly:!0,type:{name:"String"}},regionCategory:{serializedName:"regionCategory",readOnly:!0,type:{name:"String"}},geographyGroup:{serializedName:"geographyGroup",readOnly:!0,type:{name:"String"}},longitude:{serializedName:"longitude",readOnly:!0,type:{name:"String"}},latitude:{serializedName:"latitude",readOnly:!0,type:{name:"String"}},physicalLocation:{serializedName:"physicalLocation",readOnly:!0,type:{name:"String"}},pairedRegion:{serializedName:"pairedRegion",type:{name:"Sequence",element:{type:{name:"Composite",className:"PairedRegion"}}}},homeLocation:{serializedName:"homeLocation",readOnly:!0,type:{name:"String"}}}}},PairedRegion={type:{name:"Composite",className:"PairedRegion",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorResponse"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Subscription={type:{name:"Composite",className:"Subscription",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"Enum",allowedValues:["Enabled","Warned","PastDue","Disabled","Deleted"]}},subscriptionPolicies:{serializedName:"subscriptionPolicies",type:{name:"Composite",className:"SubscriptionPolicies"}},authorizationSource:{serializedName:"authorizationSource",type:{name:"String"}},managedByTenants:{serializedName:"managedByTenants",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagedByTenant"}}}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SubscriptionPolicies={type:{name:"Composite",className:"SubscriptionPolicies",modelProperties:{locationPlacementId:{serializedName:"locationPlacementId",readOnly:!0,type:{name:"String"}},quotaId:{serializedName:"quotaId",readOnly:!0,type:{name:"String"}},spendingLimit:{serializedName:"spendingLimit",readOnly:!0,type:{name:"Enum",allowedValues:["On","Off","CurrentPeriodOff"]}}}}},ManagedByTenant={type:{name:"Composite",className:"ManagedByTenant",modelProperties:{tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}}}}},SubscriptionListResult={type:{name:"Composite",className:"SubscriptionListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Subscription"}}}},nextLink:{serializedName:"nextLink",required:!0,type:{name:"String"}}}}},TenantListResult={type:{name:"Composite",className:"TenantListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TenantIdDescription"}}}},nextLink:{serializedName:"nextLink",required:!0,type:{name:"String"}}}}},TenantIdDescription={type:{name:"Composite",className:"TenantIdDescription",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},tenantCategory:{serializedName:"tenantCategory",readOnly:!0,type:{name:"Enum",allowedValues:["Home","ProjectedBy","ManagedBy"]}},country:{serializedName:"country",readOnly:!0,type:{name:"String"}},countryCode:{serializedName:"countryCode",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},domains:{serializedName:"domains",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},defaultDomain:{serializedName:"defaultDomain",readOnly:!0,type:{name:"String"}},tenantType:{serializedName:"tenantType",readOnly:!0,type:{name:"String"}},tenantBrandingLogoUrl:{serializedName:"tenantBrandingLogoUrl",readOnly:!0,type:{name:"String"}}}}},ResourceName={type:{name:"Composite",className:"ResourceName",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},type:{serializedName:"type",required:!0,type:{name:"String"}}}}},CheckResourceNameResult={type:{name:"Composite",className:"CheckResourceNameResult",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},status:{serializedName:"status",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,LocationListResult:LocationListResult,Location:Location,LocationMetadata:LocationMetadata,PairedRegion:PairedRegion,CloudError:CloudError,ErrorResponse:ErrorResponse,ErrorAdditionalInfo:ErrorAdditionalInfo,Subscription:Subscription,SubscriptionPolicies:SubscriptionPolicies,ManagedByTenant:ManagedByTenant,SubscriptionListResult:SubscriptionListResult,TenantListResult:TenantListResult,TenantIdDescription:TenantIdDescription,ResourceName:ResourceName,CheckResourceNameResult:CheckResourceNameResult,Operation:Operation,OperationDisplay:OperationDisplay,OperationListResult:OperationListResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-01-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},includeExtendedLocations={parameterPath:["options","includeExtendedLocations"],mapper:{serializedName:"includeExtendedLocations",type:{name:"Boolean"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},resourceNameDefinition={parameterPath:["options","resourceNameDefinition"],mapper:ResourceName};class SubscriptionsImpl{constructor(e){this.client=e}listLocations(e,t){const a=this.listLocationsPagingAll(e,t);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listLocationsPagingPage(e,t)}}listLocationsPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listLocations(t,a));yield yield tslib.__await(e.value||[])})}listLocationsPagingAll(r,s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listLocationsPagingPage(r,s));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(r));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listLocations(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},listLocationsOperationSpec)}get(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},getOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listLocationsOperationSpec={path:"/subscriptions/{subscriptionId}/locations",httpMethod:"GET",responses:{200:{bodyMapper:LocationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,includeExtendedLocations],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},getOperationSpec={path:"/subscriptions/{subscriptionId}",httpMethod:"GET",responses:{200:{bodyMapper:Subscription},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},listOperationSpec$1={path:"/subscriptions",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$2};class TenantsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(r));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/tenants",httpMethod:"GET",responses:{200:{bodyMapper:TenantListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TenantListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$1};class SubscriptionClient extends coreClient__namespace.ServiceClient{constructor(e,t){if(void 0===e)throw new Error("'credentials' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-resources-subscriptions/2.0.1",a=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+a:a,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=t.endpoint)?e:t.baseUri)?a:"https://management.azure.com"}));if(super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length){const i=t.pipeline.getOrderedPolicies();i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-01-01",this.subscriptions=new SubscriptionsImpl(this),this.tenants=new TenantsImpl(this)}checkResourceName(e){return this.sendOperationRequest({options:e},checkResourceNameOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),checkResourceNameOperationSpec={path:"/providers/Microsoft.Resources/checkResourceName",httpMethod:"POST",responses:{200:{bodyMapper:CheckResourceNameResult},default:{bodyMapper:CloudError}},requestBody:resourceNameDefinition,queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer};exports.SubscriptionClient=SubscriptionClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib");function _interopNamespace(a){if(a&&a.__esModule)return a;var i=Object.create(null);return a&&Object.keys(a).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(a,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return a[e]}}))}),i.default=a,Object.freeze(i)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownRegionType=void 0,function(e){e.Physical="Physical",e.Logical="Logical"}(exports.KnownRegionType||(exports.KnownRegionType={})),exports.KnownRegionCategory=void 0,function(e){e.Recommended="Recommended",e.Extended="Extended",e.Other="Other"}(exports.KnownRegionCategory||(exports.KnownRegionCategory={})),exports.KnownResourceNameStatus=void 0,function(e){e.Allowed="Allowed",e.Reserved="Reserved"}(exports.KnownResourceNameStatus||(exports.KnownResourceNameStatus={}));const LocationListResult={type:{name:"Composite",className:"LocationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Location"}}}}}}},Location={type:{name:"Composite",className:"Location",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"Enum",allowedValues:["Region","EdgeZone"]}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},regionalDisplayName:{serializedName:"regionalDisplayName",readOnly:!0,type:{name:"String"}},metadata:{serializedName:"metadata",type:{name:"Composite",className:"LocationMetadata"}}}}},LocationMetadata={type:{name:"Composite",className:"LocationMetadata",modelProperties:{regionType:{serializedName:"regionType",readOnly:!0,type:{name:"String"}},regionCategory:{serializedName:"regionCategory",readOnly:!0,type:{name:"String"}},geographyGroup:{serializedName:"geographyGroup",readOnly:!0,type:{name:"String"}},longitude:{serializedName:"longitude",readOnly:!0,type:{name:"String"}},latitude:{serializedName:"latitude",readOnly:!0,type:{name:"String"}},physicalLocation:{serializedName:"physicalLocation",readOnly:!0,type:{name:"String"}},pairedRegion:{serializedName:"pairedRegion",type:{name:"Sequence",element:{type:{name:"Composite",className:"PairedRegion"}}}},homeLocation:{serializedName:"homeLocation",readOnly:!0,type:{name:"String"}}}}},PairedRegion={type:{name:"Composite",className:"PairedRegion",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorResponse"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Subscription={type:{name:"Composite",className:"Subscription",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"Enum",allowedValues:["Enabled","Warned","PastDue","Disabled","Deleted"]}},subscriptionPolicies:{serializedName:"subscriptionPolicies",type:{name:"Composite",className:"SubscriptionPolicies"}},authorizationSource:{serializedName:"authorizationSource",type:{name:"String"}},managedByTenants:{serializedName:"managedByTenants",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagedByTenant"}}}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SubscriptionPolicies={type:{name:"Composite",className:"SubscriptionPolicies",modelProperties:{locationPlacementId:{serializedName:"locationPlacementId",readOnly:!0,type:{name:"String"}},quotaId:{serializedName:"quotaId",readOnly:!0,type:{name:"String"}},spendingLimit:{serializedName:"spendingLimit",readOnly:!0,type:{name:"Enum",allowedValues:["On","Off","CurrentPeriodOff"]}}}}},ManagedByTenant={type:{name:"Composite",className:"ManagedByTenant",modelProperties:{tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}}}}},SubscriptionListResult={type:{name:"Composite",className:"SubscriptionListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Subscription"}}}},nextLink:{serializedName:"nextLink",required:!0,type:{name:"String"}}}}},TenantListResult={type:{name:"Composite",className:"TenantListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TenantIdDescription"}}}},nextLink:{serializedName:"nextLink",required:!0,type:{name:"String"}}}}},TenantIdDescription={type:{name:"Composite",className:"TenantIdDescription",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},tenantCategory:{serializedName:"tenantCategory",readOnly:!0,type:{name:"Enum",allowedValues:["Home","ProjectedBy","ManagedBy"]}},country:{serializedName:"country",readOnly:!0,type:{name:"String"}},countryCode:{serializedName:"countryCode",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},domains:{serializedName:"domains",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},defaultDomain:{serializedName:"defaultDomain",readOnly:!0,type:{name:"String"}},tenantType:{serializedName:"tenantType",readOnly:!0,type:{name:"String"}},tenantBrandingLogoUrl:{serializedName:"tenantBrandingLogoUrl",readOnly:!0,type:{name:"String"}}}}},ResourceName={type:{name:"Composite",className:"ResourceName",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},type:{serializedName:"type",required:!0,type:{name:"String"}}}}},CheckResourceNameResult={type:{name:"Composite",className:"CheckResourceNameResult",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},status:{serializedName:"status",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,LocationListResult:LocationListResult,Location:Location,LocationMetadata:LocationMetadata,PairedRegion:PairedRegion,CloudError:CloudError,ErrorResponse:ErrorResponse,ErrorAdditionalInfo:ErrorAdditionalInfo,Subscription:Subscription,SubscriptionPolicies:SubscriptionPolicies,ManagedByTenant:ManagedByTenant,SubscriptionListResult:SubscriptionListResult,TenantListResult:TenantListResult,TenantIdDescription:TenantIdDescription,ResourceName:ResourceName,CheckResourceNameResult:CheckResourceNameResult,Operation:Operation,OperationDisplay:OperationDisplay,OperationListResult:OperationListResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-01-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},includeExtendedLocations={parameterPath:["options","includeExtendedLocations"],mapper:{serializedName:"includeExtendedLocations",type:{name:"Boolean"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},resourceNameDefinition={parameterPath:["options","resourceNameDefinition"],mapper:ResourceName};class SubscriptionsImpl{constructor(e){this.client=e}listLocations(e,t){const a=this.listLocationsPagingAll(e,t);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listLocationsPagingPage(e,t)}}listLocationsPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listLocations(t,a));yield yield tslib.__await(e.value||[])})}listLocationsPagingAll(r,s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listLocationsPagingPage(r,s));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(r));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listLocations(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},listLocationsOperationSpec)}get(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},getOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listLocationsOperationSpec={path:"/subscriptions/{subscriptionId}/locations",httpMethod:"GET",responses:{200:{bodyMapper:LocationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,includeExtendedLocations],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},getOperationSpec={path:"/subscriptions/{subscriptionId}",httpMethod:"GET",responses:{200:{bodyMapper:Subscription},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},listOperationSpec$1={path:"/subscriptions",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$2};class TenantsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(r));!(a=yield tslib.__await(i.next())).done;){var n=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(n)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/tenants",httpMethod:"GET",responses:{200:{bodyMapper:TenantListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TenantListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$1};class SubscriptionClient extends coreClient__namespace.ServiceClient{constructor(e,t){if(void 0===e)throw new Error("'credentials' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-resources-subscriptions/2.0.2",a=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+a:a,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=t.endpoint)?e:t.baseUri)?a:"https://management.azure.com"}));if(super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length){const i=t.pipeline.getOrderedPolicies();i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-01-01",this.subscriptions=new SubscriptionsImpl(this),this.tenants=new TenantsImpl(this)}checkResourceName(e){return this.sendOperationRequest({options:e},checkResourceNameOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),checkResourceNameOperationSpec={path:"/providers/Microsoft.Resources/checkResourceName",httpMethod:"POST",responses:{200:{bodyMapper:CheckResourceNameResult},default:{bodyMapper:CloudError}},requestBody:resourceNameDefinition,queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer};exports.SubscriptionClient=SubscriptionClient;
@@ -29,7 +29,7 @@ export class SubscriptionClient extends coreClient.ServiceClient {
29
29
  requestContentType: "application/json; charset=utf-8",
30
30
  credential: credentials
31
31
  };
32
- const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.1`;
32
+ const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.2`;
33
33
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
34
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
35
  : `${packageDetails}`;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for SubscriptionClient.",
6
- "version": "2.0.1",
6
+ "version": "2.0.2-alpha.20220420.2",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
@@ -45,7 +45,7 @@ export class SubscriptionClient extends coreClient.ServiceClient {
45
45
  credential: credentials
46
46
  };
47
47
 
48
- const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.1`;
48
+ const packageDetails = `azsdk-js-arm-resources-subscriptions/2.0.2`;
49
49
  const userAgentPrefix =
50
50
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
51
51
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`