@azure/arm-resources-subscriptions 2.0.1-alpha.20220119.1 → 2.0.1-alpha.20220131.1

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/dist/index.js CHANGED
@@ -5,6 +5,26 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
 
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
+
8
28
  /*
9
29
  * Copyright (c) Microsoft Corporation.
10
30
  * Licensed under the MIT License.
@@ -12,15 +32,21 @@ var tslib = require('tslib');
12
32
  * Code generated by Microsoft (R) AutoRest Code Generator.
13
33
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
14
34
  */
35
+ /** Known values of {@link RegionType} that the service accepts. */
36
+ exports.KnownRegionType = void 0;
15
37
  (function (KnownRegionType) {
16
38
  KnownRegionType["Physical"] = "Physical";
17
39
  KnownRegionType["Logical"] = "Logical";
18
40
  })(exports.KnownRegionType || (exports.KnownRegionType = {}));
41
+ /** Known values of {@link RegionCategory} that the service accepts. */
42
+ exports.KnownRegionCategory = void 0;
19
43
  (function (KnownRegionCategory) {
20
44
  KnownRegionCategory["Recommended"] = "Recommended";
21
45
  KnownRegionCategory["Extended"] = "Extended";
22
46
  KnownRegionCategory["Other"] = "Other";
23
47
  })(exports.KnownRegionCategory || (exports.KnownRegionCategory = {}));
48
+ /** Known values of {@link ResourceNameStatus} that the service accepts. */
49
+ exports.KnownResourceNameStatus = void 0;
24
50
  (function (KnownResourceNameStatus) {
25
51
  KnownResourceNameStatus["Allowed"] = "Allowed";
26
52
  KnownResourceNameStatus["Reserved"] = "Reserved";
@@ -928,7 +954,7 @@ class SubscriptionsImpl {
928
954
  * @param options The options parameters.
929
955
  */
930
956
  _list(options) {
931
- return this.client.sendOperationRequest({ options }, listOperationSpec);
957
+ return this.client.sendOperationRequest({ options }, listOperationSpec$1);
932
958
  }
933
959
  /**
934
960
  * ListNext
@@ -936,11 +962,11 @@ class SubscriptionsImpl {
936
962
  * @param options The options parameters.
937
963
  */
938
964
  _listNext(nextLink, options) {
939
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
965
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
940
966
  }
941
967
  }
942
968
  // Operation Specifications
943
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
969
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
944
970
  const listLocationsOperationSpec = {
945
971
  path: "/subscriptions/{subscriptionId}/locations",
946
972
  httpMethod: "GET",
@@ -955,7 +981,7 @@ const listLocationsOperationSpec = {
955
981
  queryParameters: [apiVersion, includeExtendedLocations],
956
982
  urlParameters: [$host, subscriptionId],
957
983
  headerParameters: [accept],
958
- serializer
984
+ serializer: serializer$2
959
985
  };
960
986
  const getOperationSpec = {
961
987
  path: "/subscriptions/{subscriptionId}",
@@ -971,9 +997,9 @@ const getOperationSpec = {
971
997
  queryParameters: [apiVersion],
972
998
  urlParameters: [$host, subscriptionId],
973
999
  headerParameters: [accept],
974
- serializer
1000
+ serializer: serializer$2
975
1001
  };
976
- const listOperationSpec = {
1002
+ const listOperationSpec$1 = {
977
1003
  path: "/subscriptions",
978
1004
  httpMethod: "GET",
979
1005
  responses: {
@@ -987,9 +1013,9 @@ const listOperationSpec = {
987
1013
  queryParameters: [apiVersion],
988
1014
  urlParameters: [$host],
989
1015
  headerParameters: [accept],
990
- serializer
1016
+ serializer: serializer$2
991
1017
  };
992
- const listNextOperationSpec = {
1018
+ const listNextOperationSpec$1 = {
993
1019
  path: "{nextLink}",
994
1020
  httpMethod: "GET",
995
1021
  responses: {
@@ -1003,7 +1029,7 @@ const listNextOperationSpec = {
1003
1029
  queryParameters: [apiVersion],
1004
1030
  urlParameters: [$host, nextLink],
1005
1031
  headerParameters: [accept],
1006
- serializer
1032
+ serializer: serializer$2
1007
1033
  };
1008
1034
 
1009
1035
  /*
@@ -1076,7 +1102,7 @@ class TenantsImpl {
1076
1102
  * @param options The options parameters.
1077
1103
  */
1078
1104
  _list(options) {
1079
- return this.client.sendOperationRequest({ options }, listOperationSpec$1);
1105
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
1080
1106
  }
1081
1107
  /**
1082
1108
  * ListNext
@@ -1084,12 +1110,12 @@ class TenantsImpl {
1084
1110
  * @param options The options parameters.
1085
1111
  */
1086
1112
  _listNext(nextLink, options) {
1087
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
1113
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
1088
1114
  }
1089
1115
  }
1090
1116
  // Operation Specifications
1091
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
1092
- const listOperationSpec$1 = {
1117
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1118
+ const listOperationSpec = {
1093
1119
  path: "/tenants",
1094
1120
  httpMethod: "GET",
1095
1121
  responses: {
@@ -1105,7 +1131,7 @@ const listOperationSpec$1 = {
1105
1131
  headerParameters: [accept],
1106
1132
  serializer: serializer$1
1107
1133
  };
1108
- const listNextOperationSpec$1 = {
1134
+ const listNextOperationSpec = {
1109
1135
  path: "{nextLink}",
1110
1136
  httpMethod: "GET",
1111
1137
  responses: {
@@ -1129,7 +1155,7 @@ const listNextOperationSpec$1 = {
1129
1155
  * Code generated by Microsoft (R) AutoRest Code Generator.
1130
1156
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1131
1157
  */
1132
- class SubscriptionClient extends coreClient.ServiceClient {
1158
+ class SubscriptionClient extends coreClient__namespace.ServiceClient {
1133
1159
  /**
1134
1160
  * Initializes a new instance of the SubscriptionClient class.
1135
1161
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -1174,7 +1200,7 @@ class SubscriptionClient extends coreClient.ServiceClient {
1174
1200
  }
1175
1201
  }
1176
1202
  // Operation Specifications
1177
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
1203
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1178
1204
  const checkResourceNameOperationSpec = {
1179
1205
  path: "/providers/Microsoft.Resources/checkResourceName",
1180
1206
  httpMethod: "POST",
@@ -1191,7 +1217,7 @@ const checkResourceNameOperationSpec = {
1191
1217
  urlParameters: [$host],
1192
1218
  headerParameters: [accept, contentType],
1193
1219
  mediaType: "json",
1194
- serializer: serializer$2
1220
+ serializer
1195
1221
  };
1196
1222
 
1197
1223
  exports.SubscriptionClient = SubscriptionClient;
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 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.0`;\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: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\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","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.LocationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.includeExtendedLocations","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Mappers.Subscription","Mappers.SubscriptionListResult","Parameters.nextLink","listOperationSpec","listNextOperationSpec","serializer","Mappers.TenantListResult","coreClient.ServiceClient","Mappers.CheckResourceNameResult","Parameters.resourceNameDefinition","Parameters.contentType"],"mappings":";;;;;;;AAAA;;;;;;;AAuVA,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACrB,CAAC,EAHWA,uBAAe,KAAfA,uBAAe,QAG1B;AAaD,WAAY,mBAAmB;I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AO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;KACtC;;;;;;IAOD,iBAAiB,CACf,OAAyC;QAEzC,OAAO,IAAI,CAAC,oBAAoB,CAC9B,EAAE,OAAO,EAAE,EACX,8BAA8B,CAC/B,CAAC;KACH;CAIF;AACD;AACA,MAAMF,YAAU,GAAGb,2BAA2B,CAAC,OAAO,cAAc,KAAK,CAAC,CAAC;AAE3E,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAEgB,uBAA+B;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAEd,UAAkB;SAC/B;KACF;IACD,WAAW,EAAEe,sBAAiC;IAC9C,eAAe,EAAE,CAACd,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACE,KAAgB,CAAC;IACjC,gBAAgB,EAAE,CAACE,MAAiB,EAAEW,WAAsB,CAAC;IAC7D,SAAS,EAAE,MAAM;gBACjBL,YAAU;CACX,CAAC;;;;"}
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 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.0`;\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: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\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","__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","Mappers.CheckResourceNameResult","Parameters.resourceNameDefinition","Parameters.contentType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAsVA;AACYA;AAAZ,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACrB,CAAC,EAHWA,uBAAe,KAAfA,uBAAe,QAG1B;AAYD;AACYC;A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C9B,EAAE,OAAO,EAAE,EACX,8BAA8B,CAC/B,CAAC;KACH;CAIF;AACD;AACA,MAAM,UAAU,GAAGA,qBAAU,CAAC,gBAAgB,CAAC,OAAO,cAAc,KAAK,CAAC,CAAC;AAE3E,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAEY,uBAA+B;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAEV,UAAkB;SAC/B;KACF;IACD,WAAW,EAAEW,sBAAiC;IAC9C,eAAe,EAAE,CAACV,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACE,KAAgB,CAAC;IACjC,gBAAgB,EAAE,CAACE,MAAiB,EAAEO,WAAsB,CAAC;IAC7D,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"),tslib=require("tslib");!function(e){e.Physical="Physical",e.Logical="Logical"}(exports.KnownRegionType||(exports.KnownRegionType={})),function(e){e.Recommended="Recommended",e.Extended="Extended",e.Other="Other"}(exports.KnownRegionCategory||(exports.KnownRegionCategory={})),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(n,s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listLocationsPagingPage(n,s));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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(n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(n));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer=coreClient.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},getOperationSpec={path:"/subscriptions/{subscriptionId}",httpMethod:"GET",responses:{200:{bodyMapper:Subscription},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listOperationSpec={path:"/subscriptions",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};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(n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(n));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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$1)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec$1)}}const serializer$1=coreClient.createSerializer(Mappers,!1),listOperationSpec$1={path:"/tenants",httpMethod:"GET",responses:{200:{bodyMapper:TenantListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec$1={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.ServiceClient{constructor(e,t){if(void 0===e)throw new Error("'credentials' cannot be null");var a={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-resources-subscriptions/2.0.0",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},a),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),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$2=coreClient.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$2};exports.SubscriptionClient=SubscriptionClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),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);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(n,s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listLocationsPagingPage(n,s));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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(n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(n));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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(n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,i=tslib.__asyncValues(this.listPagingPage(n));!(a=yield tslib.__await(i.next())).done;){var r=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}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 a={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-resources-subscriptions/2.0.0",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},a),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),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 +1 @@
1
- {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/subscriptions.ts","../src/operations/tenants.ts","../src/subscriptionClient.ts"],"names":["KnownRegionType","KnownRegionCategory","KnownResourceNameStatus","LocationListResult","type","name","className","modelProperties","value","serializedName","element","Location","id","readOnly","subscriptionId","allowedValues","displayName","regionalDisplayName","metadata","LocationMetadata","regionType","regionCategory","geographyGroup","longitude","latitude","physicalLocation","pairedRegion","homeLocation","PairedRegion","CloudError","error","ErrorResponse","code","message","target","details","additionalInfo","ErrorAdditionalInfo","info","Subscription","tenantId","state","subscriptionPolicies","authorizationSource","managedByTenants","tags","SubscriptionPolicies","locationPlacementId","quotaId","spendingLimit","ManagedByTenant","SubscriptionListResult","nextLink","required","TenantListResult","TenantIdDescription","tenantCategory","country","countryCode","domains","defaultDomain","tenantType","tenantBrandingLogoUrl","ResourceName","CheckResourceNameResult","status","Operation","display","OperationDisplay","provider","resource","operation","description","OperationListResult","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","includeExtendedLocations","contentType","resourceNameDefinition","ResourceNameMapper","SubscriptionsImpl","constructor","client","this","listLocations","options","iter","listLocationsPagingAll","next","Symbol","asyncIterator","byPage","listLocationsPagingPage","let","result","tslib","__await","_listLocations","_c","_b","__asyncValues","done","page","__asyncDelegator","list","listPagingAll","listPagingPage","_list","continuationToken","_listNext","sendOperationRequest","listLocationsOperationSpec","get","getOperationSpec","listOperationSpec","listNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.LocationListResult","default","Mappers.CloudError","queryParameters","Parameters.apiVersion","Parameters.includeExtendedLocations","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Mappers.Subscription","Mappers.SubscriptionListResult","Parameters.nextLink","TenantsImpl","Mappers.TenantListResult","SubscriptionClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","subscriptions","tenants","checkResourceName","checkResourceNameOperationSpec","Mappers.CheckResourceNameResult","requestBody","Parameters.resourceNameDefinition","Parameters.contentType","mediaType"],"mappings":"yIAuVA,SAAYA,GACVA,EAAA,SAAA,WACAA,EAAA,QAAA,UAFF,CAAYA,QAAAA,kBAAAA,QAAAA,gBAAe,KAgB3B,SAAYC,GACVA,EAAA,YAAA,cACAA,EAAA,SAAA,WACAA,EAAA,MAAA,QAHF,CAAYA,QAAAA,sBAAAA,QAAAA,oBAAmB,KAkB/B,SAAYC,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,WAFF,CAAYA,QAAAA,0BAAAA,QAAAA,wBAAuB,KC/WnC,MAAaC,mBAAiD,CAC5DC,KAAM,CACJC,KAAM,YACNC,UAAW,qBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK,QAAS,CACPN,KAAM,CACJC,KAAM,YACNC,UAA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AAc,aACxCQ,KAAK0E,cAAgB,IAAI7E,kBAAkBG,MAC3CA,KAAK2E,QAAU,IAAIpB,YAAYvD,MAQjC4E,kBACE1E,GAEA,OAAOF,KAAK2B,qBACV,CAAEzB,QAAAA,GACF2E,iCAQN,MAAM5C,aAAaC,WAAAA,iBAA4BC,SAAqB,GAE9D0C,+BAA2D,CAC/DzC,KAAM,mDACNC,WAAY,OACZC,UAAW,CACTC,IAAK,CACHC,WAAYsC,yBAEdpC,QAAS,CACPF,WAAYG,aAGhBoC,YAAaC,uBACbpC,gBAAiB,CAACC,YAClBE,cAAe,CAACC,OAChBE,iBAAkB,CAACC,OAAmB8B,aACtCC,UAAW,O,WACXjD,c"}
1
+ {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/subscriptions.ts","../src/operations/tenants.ts","../src/subscriptionClient.ts"],"names":["KnownRegionType","KnownRegionCategory","KnownResourceNameStatus","LocationListResult","type","name","className","modelProperties","value","serializedName","element","Location","id","readOnly","subscriptionId","allowedValues","displayName","regionalDisplayName","metadata","LocationMetadata","regionType","regionCategory","geographyGroup","longitude","latitude","physicalLocation","pairedRegion","homeLocation","PairedRegion","CloudError","error","ErrorResponse","code","message","target","details","additionalInfo","ErrorAdditionalInfo","info","Subscription","tenantId","state","subscriptionPolicies","authorizationSource","managedByTenants","tags","SubscriptionPolicies","locationPlacementId","quotaId","spendingLimit","ManagedByTenant","SubscriptionListResult","nextLink","required","TenantListResult","TenantIdDescription","tenantCategory","country","countryCode","domains","defaultDomain","tenantType","tenantBrandingLogoUrl","ResourceName","CheckResourceNameResult","status","Operation","display","OperationDisplay","provider","resource","operation","description","OperationListResult","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","includeExtendedLocations","contentType","resourceNameDefinition","ResourceNameMapper","SubscriptionsImpl","constructor","client","this","listLocations","options","iter","listLocationsPagingAll","next","Symbol","asyncIterator","byPage","listLocationsPagingPage","let","result","tslib","__await","_listLocations","_c","_b","__asyncValues","done","page","__asyncDelegator","list","listPagingAll","listPagingPage","_list","continuationToken","_listNext","sendOperationRequest","listLocationsOperationSpec","get","getOperationSpec","listOperationSpec","listNextOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.LocationListResult","default","Mappers.CloudError","queryParameters","Parameters.apiVersion","Parameters.includeExtendedLocations","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Mappers.Subscription","Mappers.SubscriptionListResult","Parameters.nextLink","TenantsImpl","Mappers.TenantListResult","SubscriptionClient","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","subscriptions","tenants","checkResourceName","checkResourceNameOperationSpec","Mappers.CheckResourceNameResult","requestBody","Parameters.resourceNameDefinition","Parameters.contentType","mediaType"],"mappings":"6eAuVYA,QAAAA,qBAAAA,EAAZ,SAAYA,GACVA,EAAA,SAAA,WACAA,EAAA,QAAA,UAFF,CAAYA,QAAAA,kBAAAA,QAAAA,gBAAe,KAgBfC,QAAAA,yBAAAA,EAAZ,SAAYA,GACVA,EAAA,YAAA,cACAA,EAAA,SAAA,WACAA,EAAA,MAAA,QAHF,CAAYA,QAAAA,sBAAAA,QAAAA,oBAAmB,KAkBnBC,QAAAA,6BAAAA,EAAZ,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,WAFF,CAAYA,QAAAA,0BAAAA,QAAAA,wBAAuB,KC/W5B,MAAMC,mBAAiD,CAC5DC,KAAM,CACJC,KAAM,YACNC,UAAW,qBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK,QAAS,CACPN,KAAM,CACJC,KAAM,YACNC,UAAW,kBASZK,SAAuC,CAClDP,KAAM,CACJC,KAAM,YACNC,UAAW,WACXC,gBAAiB,CACfK,GAAI,CACFH,eAAgB,KAChBI,UAAU,EACV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2B,qBACV,CAAEzB,QAAAA,GACF4E,iCAQN,MAAM7C,WAAaC,sBAAWC,iBAAiBC,SAAqB,GAE9D0C,+BAA2D,CAC/DzC,KAAM,mDACNC,WAAY,OACZC,UAAW,CACTC,IAAK,CACHC,WAAYsC,yBAEdpC,QAAS,CACPF,WAAYG,aAGhBoC,YAAaC,uBACbpC,gBAAiB,CAACC,YAClBE,cAAe,CAACC,OAChBE,iBAAkB,CAACC,OAAmB8B,aACtCC,UAAW,OACXlD,WAAAA,Y"}
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-alpha.20220119.1",
6
+ "version": "2.0.1-alpha.20220131.1",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
@@ -27,12 +27,12 @@
27
27
  "types": "./types/arm-resources-subscriptions.d.ts",
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.18.11",
30
- "@rollup/plugin-commonjs": "11.0.2",
30
+ "@rollup/plugin-commonjs": "^21.0.1",
31
31
  "@rollup/plugin-json": "^4.0.0",
32
32
  "@rollup/plugin-multi-entry": "^3.0.0",
33
33
  "@rollup/plugin-node-resolve": "^8.0.0",
34
34
  "mkdirp": "^1.0.4",
35
- "rollup": "^1.16.3",
35
+ "rollup": "^2.0.0",
36
36
  "rollup-plugin-sourcemaps": "^0.4.2",
37
37
  "typescript": "~4.2.0",
38
38
  "uglify-js": "^3.4.9",