@azure/arm-subscriptions 3.1.2 → 4.0.0

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.
Files changed (184) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +68 -79
  4. package/dist/index.js +1772 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +514 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +36 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +29 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +825 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +14 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +110 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/alias.d.ts +53 -0
  29. package/dist-esm/src/operations/alias.d.ts.map +1 -0
  30. package/dist-esm/src/operations/alias.js +180 -0
  31. package/dist-esm/src/operations/alias.js.map +1 -0
  32. package/dist-esm/src/operations/billingAccount.d.ts +19 -0
  33. package/dist-esm/src/operations/billingAccount.d.ts.map +1 -0
  34. package/dist-esm/src/operations/billingAccount.js +47 -0
  35. package/dist-esm/src/operations/billingAccount.js.map +1 -0
  36. package/dist-esm/src/operations/index.d.ts +6 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/dist-esm/src/operations/index.js +13 -0
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/subscription.d.ts +53 -0
  45. package/dist-esm/src/operations/subscription.d.ts.map +1 -0
  46. package/dist-esm/src/operations/subscription.js +201 -0
  47. package/dist-esm/src/operations/subscription.js.map +1 -0
  48. package/dist-esm/src/operations/subscriptionPolicy.d.ts +43 -0
  49. package/dist-esm/src/operations/subscriptionPolicy.d.ts.map +1 -0
  50. package/dist-esm/src/operations/subscriptionPolicy.js +169 -0
  51. package/dist-esm/src/operations/subscriptionPolicy.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/alias.d.ts +45 -0
  53. package/dist-esm/src/operationsInterfaces/alias.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/alias.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/alias.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/billingAccount.d.ts +11 -0
  57. package/dist-esm/src/operationsInterfaces/billingAccount.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/billingAccount.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/billingAccount.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  65. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/subscription.d.ts +45 -0
  69. package/dist-esm/src/operationsInterfaces/subscription.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/subscription.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/subscription.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts +22 -0
  73. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js.map +1 -0
  76. package/dist-esm/src/subscriptionClient.d.ts +20 -0
  77. package/dist-esm/src/subscriptionClient.d.ts.map +1 -0
  78. package/dist-esm/src/subscriptionClient.js +49 -0
  79. package/dist-esm/src/subscriptionClient.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -32
  85. package/review/arm-subscriptions.api.md +446 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +12 -0
  88. package/src/lroImpl.ts +34 -0
  89. package/src/models/index.ts +449 -555
  90. package/src/models/mappers.ts +506 -250
  91. package/src/models/parameters.ts +82 -27
  92. package/src/operations/alias.ts +170 -170
  93. package/src/operations/billingAccount.ts +65 -0
  94. package/src/operations/index.ts +6 -8
  95. package/src/operations/operations.ts +103 -40
  96. package/src/operations/subscription.ts +289 -0
  97. package/src/operations/subscriptionPolicy.ts +207 -0
  98. package/src/operationsInterfaces/alias.ts +75 -0
  99. package/src/operationsInterfaces/billingAccount.ts +25 -0
  100. package/src/operationsInterfaces/index.ts +13 -0
  101. package/src/operationsInterfaces/operations.ts +22 -0
  102. package/src/operationsInterfaces/subscription.ts +92 -0
  103. package/src/operationsInterfaces/subscriptionPolicy.ts +46 -0
  104. package/src/subscriptionClient.ts +75 -43
  105. package/tsconfig.json +3 -3
  106. package/types/arm-subscriptions.d.ts +727 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-subscriptions.js +0 -1442
  109. package/dist/arm-subscriptions.js.map +0 -1
  110. package/dist/arm-subscriptions.min.js +0 -1
  111. package/dist/arm-subscriptions.min.js.map +0 -1
  112. package/esm/models/aliasMappers.d.ts +0 -2
  113. package/esm/models/aliasMappers.d.ts.map +0 -1
  114. package/esm/models/aliasMappers.js +0 -9
  115. package/esm/models/aliasMappers.js.map +0 -1
  116. package/esm/models/index.d.ts +0 -624
  117. package/esm/models/index.d.ts.map +0 -1
  118. package/esm/models/index.js +0 -8
  119. package/esm/models/index.js.map +0 -1
  120. package/esm/models/mappers.d.ts +0 -25
  121. package/esm/models/mappers.d.ts.map +0 -1
  122. package/esm/models/mappers.js +0 -574
  123. package/esm/models/mappers.js.map +0 -1
  124. package/esm/models/operationsMappers.d.ts +0 -2
  125. package/esm/models/operationsMappers.d.ts.map +0 -1
  126. package/esm/models/operationsMappers.js +0 -9
  127. package/esm/models/operationsMappers.js.map +0 -1
  128. package/esm/models/parameters.d.ts +0 -8
  129. package/esm/models/parameters.d.ts.map +0 -1
  130. package/esm/models/parameters.js +0 -75
  131. package/esm/models/parameters.js.map +0 -1
  132. package/esm/models/subscriptionOperationsMappers.d.ts +0 -2
  133. package/esm/models/subscriptionOperationsMappers.d.ts.map +0 -1
  134. package/esm/models/subscriptionOperationsMappers.js +0 -9
  135. package/esm/models/subscriptionOperationsMappers.js.map +0 -1
  136. package/esm/models/subscriptionsMappers.d.ts +0 -2
  137. package/esm/models/subscriptionsMappers.d.ts.map +0 -1
  138. package/esm/models/subscriptionsMappers.js +0 -9
  139. package/esm/models/subscriptionsMappers.js.map +0 -1
  140. package/esm/models/tenantsMappers.d.ts +0 -2
  141. package/esm/models/tenantsMappers.d.ts.map +0 -1
  142. package/esm/models/tenantsMappers.js +0 -9
  143. package/esm/models/tenantsMappers.js.map +0 -1
  144. package/esm/operations/alias.d.ts +0 -81
  145. package/esm/operations/alias.d.ts.map +0 -1
  146. package/esm/operations/alias.js +0 -161
  147. package/esm/operations/alias.js.map +0 -1
  148. package/esm/operations/index.d.ts +0 -6
  149. package/esm/operations/index.d.ts.map +0 -1
  150. package/esm/operations/index.js +0 -15
  151. package/esm/operations/index.js.map +0 -1
  152. package/esm/operations/operations.d.ts +0 -28
  153. package/esm/operations/operations.d.ts.map +0 -1
  154. package/esm/operations/operations.js +0 -51
  155. package/esm/operations/operations.js.map +0 -1
  156. package/esm/operations/subscriptionOperations.d.ts +0 -70
  157. package/esm/operations/subscriptionOperations.d.ts.map +0 -1
  158. package/esm/operations/subscriptionOperations.js +0 -117
  159. package/esm/operations/subscriptionOperations.js.map +0 -1
  160. package/esm/operations/subscriptions.d.ts +0 -84
  161. package/esm/operations/subscriptions.d.ts.map +0 -1
  162. package/esm/operations/subscriptions.js +0 -133
  163. package/esm/operations/subscriptions.js.map +0 -1
  164. package/esm/operations/tenants.d.ts +0 -46
  165. package/esm/operations/tenants.d.ts.map +0 -1
  166. package/esm/operations/tenants.js +0 -77
  167. package/esm/operations/tenants.js.map +0 -1
  168. package/esm/subscriptionClient.d.ts +0 -27
  169. package/esm/subscriptionClient.d.ts.map +0 -1
  170. package/esm/subscriptionClient.js +0 -41
  171. package/esm/subscriptionClient.js.map +0 -1
  172. package/esm/subscriptionClientContext.d.ts +0 -19
  173. package/esm/subscriptionClientContext.d.ts.map +0 -1
  174. package/esm/subscriptionClientContext.js +0 -55
  175. package/esm/subscriptionClientContext.js.map +0 -1
  176. package/src/models/aliasMappers.ts +0 -18
  177. package/src/models/operationsMappers.ts +0 -14
  178. package/src/models/subscriptionOperationsMappers.ts +0 -15
  179. package/src/models/subscriptionsMappers.ts +0 -16
  180. package/src/models/tenantsMappers.ts +0 -13
  181. package/src/operations/subscriptionOperations.ts +0 -194
  182. package/src/operations/subscriptions.ts +0 -227
  183. package/src/operations/tenants.ts +0 -123
  184. package/src/subscriptionClientContext.ts +0 -60
@@ -0,0 +1,514 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** The ID of the canceled subscription */
3
+ export interface CanceledSubscriptionId {
4
+ /**
5
+ * The ID of the canceled subscription
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: string;
9
+ }
10
+ /** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */
11
+ export interface ErrorResponseBody {
12
+ /** The details of the error. */
13
+ error?: ErrorResponse;
14
+ /** Error code */
15
+ code?: string;
16
+ /** Error message indicating why the operation failed. */
17
+ message?: string;
18
+ }
19
+ /** Describes the format of Error response. */
20
+ export interface ErrorResponse {
21
+ /** Error code */
22
+ code?: string;
23
+ /** Error message indicating why the operation failed. */
24
+ message?: string;
25
+ }
26
+ /** The new name of the subscription. */
27
+ export interface SubscriptionName {
28
+ /** New subscription name */
29
+ subscriptionName?: string;
30
+ }
31
+ /** The ID of the subscriptions that is being renamed */
32
+ export interface RenamedSubscriptionId {
33
+ /**
34
+ * The ID of the subscriptions that is being renamed
35
+ * NOTE: This property will not be serialized. It can only be populated by the server.
36
+ */
37
+ readonly value?: string;
38
+ }
39
+ /** The ID of the subscriptions that is being enabled */
40
+ export interface EnabledSubscriptionId {
41
+ /**
42
+ * The ID of the subscriptions that is being enabled
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly value?: string;
46
+ }
47
+ /** Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results. */
48
+ export interface OperationListResult {
49
+ /** List of operations. */
50
+ value?: Operation[];
51
+ /** URL to get the next set of operation list results if there are any. */
52
+ nextLink?: string;
53
+ }
54
+ /** REST API operation */
55
+ export interface Operation {
56
+ /** Operation name: {provider}/{resource}/{operation} */
57
+ name?: string;
58
+ /** Indicates whether the operation is a data action */
59
+ isDataAction?: boolean;
60
+ /** The object that represents the operation. */
61
+ display?: OperationDisplay;
62
+ }
63
+ /** The object that represents the operation. */
64
+ export interface OperationDisplay {
65
+ /** Service provider: Microsoft.Subscription */
66
+ provider?: string;
67
+ /** Resource on which the operation is performed: Profile, endpoint, etc. */
68
+ resource?: string;
69
+ /** Operation type: Read, write, delete, etc. */
70
+ operation?: string;
71
+ /** Localized friendly description for the operation */
72
+ description?: string;
73
+ }
74
+ /** The parameters required to create a new subscription. */
75
+ export interface PutAliasRequest {
76
+ /** Put alias request properties. */
77
+ properties?: PutAliasRequestProperties;
78
+ }
79
+ /** Put subscription properties. */
80
+ export interface PutAliasRequestProperties {
81
+ /** The friendly name of the subscription. */
82
+ displayName?: string;
83
+ /** The workload type of the subscription. It can be either Production or DevTest. */
84
+ workload?: Workload;
85
+ /**
86
+ * Billing scope of the subscription.
87
+ * For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
88
+ * For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}
89
+ * For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
90
+ */
91
+ billingScope?: string;
92
+ /** This parameter can be used to create alias for existing subscription Id */
93
+ subscriptionId?: string;
94
+ /** Reseller Id */
95
+ resellerId?: string;
96
+ /** Put alias request additional properties. */
97
+ additionalProperties?: PutAliasRequestAdditionalProperties;
98
+ }
99
+ /** Put subscription additional properties. */
100
+ export interface PutAliasRequestAdditionalProperties {
101
+ /** Management group Id for the subscription. */
102
+ managementGroupId?: string;
103
+ /** Tenant Id of the subscription */
104
+ subscriptionTenantId?: string;
105
+ /** Owner Id of the subscription */
106
+ subscriptionOwnerId?: string;
107
+ /** Tags for the subscription */
108
+ tags?: {
109
+ [propertyName: string]: string;
110
+ };
111
+ }
112
+ /** Subscription Information with the alias. */
113
+ export interface SubscriptionAliasResponse {
114
+ /**
115
+ * Fully qualified ID for the alias resource.
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
+ */
118
+ readonly id?: string;
119
+ /**
120
+ * Alias ID.
121
+ * NOTE: This property will not be serialized. It can only be populated by the server.
122
+ */
123
+ readonly name?: string;
124
+ /**
125
+ * Resource type, Microsoft.Subscription/aliases.
126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
127
+ */
128
+ readonly type?: string;
129
+ /** Subscription Alias response properties. */
130
+ properties?: SubscriptionAliasResponseProperties;
131
+ /**
132
+ * Metadata pertaining to creation and last modification of the resource.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
+ */
135
+ readonly systemData?: SystemData;
136
+ }
137
+ /** Put subscription creation result properties. */
138
+ export interface SubscriptionAliasResponseProperties {
139
+ /**
140
+ * Newly created subscription Id.
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
+ */
143
+ readonly subscriptionId?: string;
144
+ /** The display name of the subscription. */
145
+ displayName?: string;
146
+ /** The provisioning state of the resource. */
147
+ provisioningState?: ProvisioningState;
148
+ /**
149
+ * Url to accept ownership of the subscription.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
151
+ */
152
+ readonly acceptOwnershipUrl?: string;
153
+ /**
154
+ * The accept ownership state of the resource.
155
+ * NOTE: This property will not be serialized. It can only be populated by the server.
156
+ */
157
+ readonly acceptOwnershipState?: AcceptOwnership;
158
+ /**
159
+ * Billing scope of the subscription.
160
+ * For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
161
+ * For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}
162
+ * For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
163
+ */
164
+ billingScope?: string;
165
+ /** The workload type of the subscription. It can be either Production or DevTest. */
166
+ workload?: Workload;
167
+ /** Reseller Id */
168
+ resellerId?: string;
169
+ /** Owner Id of the subscription */
170
+ subscriptionOwnerId?: string;
171
+ /** The Management Group Id. */
172
+ managementGroupId?: string;
173
+ /** Tags for the subscription */
174
+ tags?: {
175
+ [propertyName: string]: string;
176
+ };
177
+ }
178
+ /** Metadata pertaining to creation and last modification of the resource. */
179
+ export interface SystemData {
180
+ /** The identity that created the resource. */
181
+ createdBy?: string;
182
+ /** The type of identity that created the resource. */
183
+ createdByType?: CreatedByType;
184
+ /** The timestamp of resource creation (UTC). */
185
+ createdAt?: Date;
186
+ /** The identity that last modified the resource. */
187
+ lastModifiedBy?: string;
188
+ /** The type of identity that last modified the resource. */
189
+ lastModifiedByType?: CreatedByType;
190
+ /** The timestamp of resource last modification (UTC) */
191
+ lastModifiedAt?: Date;
192
+ }
193
+ /** The list of aliases. */
194
+ export interface SubscriptionAliasListResult {
195
+ /**
196
+ * The list of alias.
197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
198
+ */
199
+ readonly value?: SubscriptionAliasResponse[];
200
+ /**
201
+ * The link (url) to the next page of results.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly nextLink?: string;
205
+ }
206
+ /** The parameters required to accept subscription ownership. */
207
+ export interface AcceptOwnershipRequest {
208
+ /** Accept subscription ownership request properties. */
209
+ properties?: AcceptOwnershipRequestProperties;
210
+ }
211
+ /** Accept subscription ownership request properties. */
212
+ export interface AcceptOwnershipRequestProperties {
213
+ /** The friendly name of the subscription. */
214
+ displayName: string;
215
+ /** Management group Id for the subscription. */
216
+ managementGroupId?: string;
217
+ /** Tags for the subscription */
218
+ tags?: {
219
+ [propertyName: string]: string;
220
+ };
221
+ }
222
+ /** Subscription Accept Ownership Response */
223
+ export interface AcceptOwnershipStatusResponse {
224
+ /**
225
+ * Newly created subscription Id.
226
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
+ */
228
+ readonly subscriptionId?: string;
229
+ /**
230
+ * The accept ownership state of the resource.
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
+ */
233
+ readonly acceptOwnershipState?: AcceptOwnership;
234
+ /**
235
+ * UPN of the billing owner
236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
237
+ */
238
+ readonly billingOwner?: string;
239
+ /** Tenant Id of the subscription */
240
+ subscriptionTenantId?: string;
241
+ /** The display name of the subscription. */
242
+ displayName?: string;
243
+ /** Tags for the subscription */
244
+ tags?: {
245
+ [propertyName: string]: string;
246
+ };
247
+ }
248
+ /** Put tenant policy request properties. */
249
+ export interface PutTenantPolicyRequestProperties {
250
+ /** Blocks the leaving of subscriptions from user's tenant. */
251
+ blockSubscriptionsLeavingTenant?: boolean;
252
+ /** Blocks the entering of subscriptions into user's tenant. */
253
+ blockSubscriptionsIntoTenant?: boolean;
254
+ /** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */
255
+ exemptedPrincipals?: string[];
256
+ }
257
+ /** Tenant policy Information. */
258
+ export interface GetTenantPolicyResponse {
259
+ /**
260
+ * Policy Id.
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
+ */
263
+ readonly id?: string;
264
+ /**
265
+ * Policy name.
266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
267
+ */
268
+ readonly name?: string;
269
+ /**
270
+ * Resource type.
271
+ * NOTE: This property will not be serialized. It can only be populated by the server.
272
+ */
273
+ readonly type?: string;
274
+ /** Tenant policy properties. */
275
+ properties?: TenantPolicy;
276
+ /**
277
+ * Metadata pertaining to creation and last modification of the resource.
278
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
+ */
280
+ readonly systemData?: SystemData;
281
+ }
282
+ /** Tenant policy. */
283
+ export interface TenantPolicy {
284
+ /**
285
+ * Policy Id.
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
+ */
288
+ readonly policyId?: string;
289
+ /** Blocks the leaving of subscriptions from user's tenant. */
290
+ blockSubscriptionsLeavingTenant?: boolean;
291
+ /** Blocks the entering of subscriptions into user's tenant. */
292
+ blockSubscriptionsIntoTenant?: boolean;
293
+ /** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */
294
+ exemptedPrincipals?: string[];
295
+ }
296
+ /** Tenant policy information list. */
297
+ export interface GetTenantPolicyListResponse {
298
+ /**
299
+ * The list of tenant policies.
300
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
+ */
302
+ readonly value?: GetTenantPolicyResponse[];
303
+ /**
304
+ * The link (url) to the next page of results.
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
306
+ */
307
+ readonly nextLink?: string;
308
+ }
309
+ /** Billing account policies information. */
310
+ export interface BillingAccountPoliciesResponse {
311
+ /**
312
+ * Fully qualified ID for the policy.
313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
314
+ */
315
+ readonly id?: string;
316
+ /**
317
+ * Policy name.
318
+ * NOTE: This property will not be serialized. It can only be populated by the server.
319
+ */
320
+ readonly name?: string;
321
+ /**
322
+ * Resource type.
323
+ * NOTE: This property will not be serialized. It can only be populated by the server.
324
+ */
325
+ readonly type?: string;
326
+ /** Billing account policies response properties. */
327
+ properties?: BillingAccountPoliciesResponseProperties;
328
+ /**
329
+ * Metadata pertaining to creation and last modification of the resource.
330
+ * NOTE: This property will not be serialized. It can only be populated by the server.
331
+ */
332
+ readonly systemData?: SystemData;
333
+ }
334
+ /** Put billing account policies response properties. */
335
+ export interface BillingAccountPoliciesResponseProperties {
336
+ /** Service tenant for the billing account. */
337
+ serviceTenants?: ServiceTenantResponse[];
338
+ /** Determine if the transfers are allowed for the billing account */
339
+ allowTransfers?: boolean;
340
+ }
341
+ /** Billing account service tenant. */
342
+ export interface ServiceTenantResponse {
343
+ /** Service tenant id. */
344
+ tenantId?: string;
345
+ /** Service tenant name. */
346
+ tenantName?: string;
347
+ }
348
+ /** Defines headers for Subscription_acceptOwnership operation. */
349
+ export interface SubscriptionAcceptOwnershipHeaders {
350
+ /** GET this URL to retrieve the status of the asynchronous operation. */
351
+ location?: string;
352
+ /** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
353
+ retryAfter?: number;
354
+ }
355
+ /** Known values of {@link Workload} that the service accepts. */
356
+ export declare enum KnownWorkload {
357
+ Production = "Production",
358
+ DevTest = "DevTest"
359
+ }
360
+ /**
361
+ * Defines values for Workload. \
362
+ * {@link KnownWorkload} can be used interchangeably with Workload,
363
+ * this enum contains the known values that the service supports.
364
+ * ### Known values supported by the service
365
+ * **Production** \
366
+ * **DevTest**
367
+ */
368
+ export declare type Workload = string;
369
+ /** Known values of {@link ProvisioningState} that the service accepts. */
370
+ export declare enum KnownProvisioningState {
371
+ Accepted = "Accepted",
372
+ Succeeded = "Succeeded",
373
+ Failed = "Failed"
374
+ }
375
+ /**
376
+ * Defines values for ProvisioningState. \
377
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
378
+ * this enum contains the known values that the service supports.
379
+ * ### Known values supported by the service
380
+ * **Accepted** \
381
+ * **Succeeded** \
382
+ * **Failed**
383
+ */
384
+ export declare type ProvisioningState = string;
385
+ /** Known values of {@link AcceptOwnership} that the service accepts. */
386
+ export declare enum KnownAcceptOwnership {
387
+ Pending = "Pending",
388
+ Completed = "Completed",
389
+ Expired = "Expired"
390
+ }
391
+ /**
392
+ * Defines values for AcceptOwnership. \
393
+ * {@link KnownAcceptOwnership} can be used interchangeably with AcceptOwnership,
394
+ * this enum contains the known values that the service supports.
395
+ * ### Known values supported by the service
396
+ * **Pending** \
397
+ * **Completed** \
398
+ * **Expired**
399
+ */
400
+ export declare type AcceptOwnership = string;
401
+ /** Known values of {@link CreatedByType} that the service accepts. */
402
+ export declare enum KnownCreatedByType {
403
+ User = "User",
404
+ Application = "Application",
405
+ ManagedIdentity = "ManagedIdentity",
406
+ Key = "Key"
407
+ }
408
+ /**
409
+ * Defines values for CreatedByType. \
410
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
411
+ * this enum contains the known values that the service supports.
412
+ * ### Known values supported by the service
413
+ * **User** \
414
+ * **Application** \
415
+ * **ManagedIdentity** \
416
+ * **Key**
417
+ */
418
+ export declare type CreatedByType = string;
419
+ /** Optional parameters. */
420
+ export interface SubscriptionCancelOptionalParams extends coreClient.OperationOptions {
421
+ }
422
+ /** Contains response data for the cancel operation. */
423
+ export declare type SubscriptionCancelResponse = CanceledSubscriptionId;
424
+ /** Optional parameters. */
425
+ export interface SubscriptionRenameOptionalParams extends coreClient.OperationOptions {
426
+ }
427
+ /** Contains response data for the rename operation. */
428
+ export declare type SubscriptionRenameResponse = RenamedSubscriptionId;
429
+ /** Optional parameters. */
430
+ export interface SubscriptionEnableOptionalParams extends coreClient.OperationOptions {
431
+ }
432
+ /** Contains response data for the enable operation. */
433
+ export declare type SubscriptionEnableResponse = EnabledSubscriptionId;
434
+ /** Optional parameters. */
435
+ export interface SubscriptionAcceptOwnershipOptionalParams extends coreClient.OperationOptions {
436
+ /** Delay to wait until next poll, in milliseconds. */
437
+ updateIntervalInMs?: number;
438
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
439
+ resumeFrom?: string;
440
+ }
441
+ /** Contains response data for the acceptOwnership operation. */
442
+ export declare type SubscriptionAcceptOwnershipResponse = SubscriptionAcceptOwnershipHeaders;
443
+ /** Optional parameters. */
444
+ export interface SubscriptionAcceptOwnershipStatusOptionalParams extends coreClient.OperationOptions {
445
+ }
446
+ /** Contains response data for the acceptOwnershipStatus operation. */
447
+ export declare type SubscriptionAcceptOwnershipStatusResponse = AcceptOwnershipStatusResponse;
448
+ /** Optional parameters. */
449
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
450
+ }
451
+ /** Contains response data for the list operation. */
452
+ export declare type OperationsListResponse = OperationListResult;
453
+ /** Optional parameters. */
454
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
455
+ }
456
+ /** Contains response data for the listNext operation. */
457
+ export declare type OperationsListNextResponse = OperationListResult;
458
+ /** Optional parameters. */
459
+ export interface AliasCreateOptionalParams extends coreClient.OperationOptions {
460
+ /** Delay to wait until next poll, in milliseconds. */
461
+ updateIntervalInMs?: number;
462
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
463
+ resumeFrom?: string;
464
+ }
465
+ /** Contains response data for the create operation. */
466
+ export declare type AliasCreateResponse = SubscriptionAliasResponse;
467
+ /** Optional parameters. */
468
+ export interface AliasGetOptionalParams extends coreClient.OperationOptions {
469
+ }
470
+ /** Contains response data for the get operation. */
471
+ export declare type AliasGetResponse = SubscriptionAliasResponse;
472
+ /** Optional parameters. */
473
+ export interface AliasDeleteOptionalParams extends coreClient.OperationOptions {
474
+ }
475
+ /** Optional parameters. */
476
+ export interface AliasListOptionalParams extends coreClient.OperationOptions {
477
+ }
478
+ /** Contains response data for the list operation. */
479
+ export declare type AliasListResponse = SubscriptionAliasListResult;
480
+ /** Optional parameters. */
481
+ export interface SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams extends coreClient.OperationOptions {
482
+ }
483
+ /** Contains response data for the addUpdatePolicyForTenant operation. */
484
+ export declare type SubscriptionPolicyAddUpdatePolicyForTenantResponse = GetTenantPolicyResponse;
485
+ /** Optional parameters. */
486
+ export interface SubscriptionPolicyGetPolicyForTenantOptionalParams extends coreClient.OperationOptions {
487
+ }
488
+ /** Contains response data for the getPolicyForTenant operation. */
489
+ export declare type SubscriptionPolicyGetPolicyForTenantResponse = GetTenantPolicyResponse;
490
+ /** Optional parameters. */
491
+ export interface SubscriptionPolicyListPolicyForTenantOptionalParams extends coreClient.OperationOptions {
492
+ }
493
+ /** Contains response data for the listPolicyForTenant operation. */
494
+ export declare type SubscriptionPolicyListPolicyForTenantResponse = GetTenantPolicyListResponse;
495
+ /** Optional parameters. */
496
+ export interface SubscriptionPolicyListPolicyForTenantNextOptionalParams extends coreClient.OperationOptions {
497
+ }
498
+ /** Contains response data for the listPolicyForTenantNext operation. */
499
+ export declare type SubscriptionPolicyListPolicyForTenantNextResponse = GetTenantPolicyListResponse;
500
+ /** Optional parameters. */
501
+ export interface BillingAccountGetPolicyOptionalParams extends coreClient.OperationOptions {
502
+ }
503
+ /** Contains response data for the getPolicy operation. */
504
+ export declare type BillingAccountGetPolicyResponse = BillingAccountPoliciesResponse;
505
+ /** Optional parameters. */
506
+ export interface SubscriptionClientOptionalParams extends coreClient.ServiceClientOptions {
507
+ /** server parameter */
508
+ $host?: string;
509
+ /** Api Version */
510
+ apiVersion?: string;
511
+ /** Overrides client endpoint. */
512
+ endpoint?: string;
513
+ }
514
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,0CAA0C;AAC1C,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,0IAA0I;AAC1I,MAAM,WAAW,iBAAiB;IAChC,gCAAgC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wCAAwC;AACxC,MAAM,WAAW,gBAAgB;IAC/B,4BAA4B;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wDAAwD;AACxD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wDAAwD;AACxD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,gIAAgI;AAChI,MAAM,WAAW,mBAAmB;IAClC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yBAAyB;AACzB,MAAM,W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soft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /** Known values of {@link Workload} that the service accepts. */
9
+ export var KnownWorkload;
10
+ (function (KnownWorkload) {
11
+ KnownWorkload["Production"] = "Production";
12
+ KnownWorkload["DevTest"] = "DevTest";
13
+ })(KnownWorkload || (KnownWorkload = {}));
14
+ /** Known values of {@link ProvisioningState} that the service accepts. */
15
+ export var KnownProvisioningState;
16
+ (function (KnownProvisioningState) {
17
+ KnownProvisioningState["Accepted"] = "Accepted";
18
+ KnownProvisioningState["Succeeded"] = "Succeeded";
19
+ KnownProvisioningState["Failed"] = "Failed";
20
+ })(KnownProvisioningState || (KnownProvisioningState = {}));
21
+ /** Known values of {@link AcceptOwnership} that the service accepts. */
22
+ export var KnownAcceptOwnership;
23
+ (function (KnownAcceptOwnership) {
24
+ KnownAcceptOwnership["Pending"] = "Pending";
25
+ KnownAcceptOwnership["Completed"] = "Completed";
26
+ KnownAcceptOwnership["Expired"] = "Expired";
27
+ })(KnownAcceptOwnership || (KnownAcceptOwnership = {}));
28
+ /** Known values of {@link CreatedByType} that the service accepts. */
29
+ export var KnownCreatedByType;
30
+ (function (KnownCreatedByType) {
31
+ KnownCreatedByType["User"] = "User";
32
+ KnownCreatedByType["Application"] = "Application";
33
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
34
+ KnownCreatedByType["Key"] = "Key";
35
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwXH,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,0CAAyB,CAAA;IACzB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAYD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;AACnB,CAAC,EAJW,sBAAsB,KAAtB,sBAAsB,QAIjC;AAaD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,+CAAuB,CAAA;IACvB,2CAAmB,CAAA;AACrB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B;AAaD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;AACb,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B"}
@@ -0,0 +1,29 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const CanceledSubscriptionId: coreClient.CompositeMapper;
3
+ export declare const ErrorResponseBody: coreClient.CompositeMapper;
4
+ export declare const ErrorResponse: coreClient.CompositeMapper;
5
+ export declare const SubscriptionName: coreClient.CompositeMapper;
6
+ export declare const RenamedSubscriptionId: coreClient.CompositeMapper;
7
+ export declare const EnabledSubscriptionId: coreClient.CompositeMapper;
8
+ export declare const OperationListResult: coreClient.CompositeMapper;
9
+ export declare const Operation: coreClient.CompositeMapper;
10
+ export declare const OperationDisplay: coreClient.CompositeMapper;
11
+ export declare const PutAliasRequest: coreClient.CompositeMapper;
12
+ export declare const PutAliasRequestProperties: coreClient.CompositeMapper;
13
+ export declare const PutAliasRequestAdditionalProperties: coreClient.CompositeMapper;
14
+ export declare const SubscriptionAliasResponse: coreClient.CompositeMapper;
15
+ export declare const SubscriptionAliasResponseProperties: coreClient.CompositeMapper;
16
+ export declare const SystemData: coreClient.CompositeMapper;
17
+ export declare const SubscriptionAliasListResult: coreClient.CompositeMapper;
18
+ export declare const AcceptOwnershipRequest: coreClient.CompositeMapper;
19
+ export declare const AcceptOwnershipRequestProperties: coreClient.CompositeMapper;
20
+ export declare const AcceptOwnershipStatusResponse: coreClient.CompositeMapper;
21
+ export declare const PutTenantPolicyRequestProperties: coreClient.CompositeMapper;
22
+ export declare const GetTenantPolicyResponse: coreClient.CompositeMapper;
23
+ export declare const TenantPolicy: coreClient.CompositeMapper;
24
+ export declare const GetTenantPolicyListResponse: coreClient.CompositeMapper;
25
+ export declare const BillingAccountPoliciesResponse: coreClient.CompositeMapper;
26
+ export declare const BillingAccountPoliciesResponseProperties: coreClient.CompositeMapper;
27
+ export declare const ServiceTenantResponse: coreClient.CompositeMapper;
28
+ export declare const SubscriptionAcceptOwnershipHeaders: coreClient.CompositeMapper;
29
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eAc/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,eA0B1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAmBtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAazC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAc9C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAc9C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAyB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eA0BlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eA+BzC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAcxC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,eA4ClD,CAAC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