@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.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +68 -79
- package/dist/index.js +1772 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +514 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +36 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +29 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +825 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +110 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/alias.d.ts +53 -0
- package/dist-esm/src/operations/alias.d.ts.map +1 -0
- package/dist-esm/src/operations/alias.js +180 -0
- package/dist-esm/src/operations/alias.js.map +1 -0
- package/dist-esm/src/operations/billingAccount.d.ts +19 -0
- package/dist-esm/src/operations/billingAccount.d.ts.map +1 -0
- package/dist-esm/src/operations/billingAccount.js +47 -0
- package/dist-esm/src/operations/billingAccount.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +13 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/subscription.d.ts +53 -0
- package/dist-esm/src/operations/subscription.d.ts.map +1 -0
- package/dist-esm/src/operations/subscription.js +201 -0
- package/dist-esm/src/operations/subscription.js.map +1 -0
- package/dist-esm/src/operations/subscriptionPolicy.d.ts +43 -0
- package/dist-esm/src/operations/subscriptionPolicy.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptionPolicy.js +169 -0
- package/dist-esm/src/operations/subscriptionPolicy.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alias.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/alias.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alias.js +9 -0
- package/dist-esm/src/operationsInterfaces/alias.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscription.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js.map +1 -0
- package/dist-esm/src/subscriptionClient.d.ts +20 -0
- package/dist-esm/src/subscriptionClient.d.ts.map +1 -0
- package/dist-esm/src/subscriptionClient.js +49 -0
- package/dist-esm/src/subscriptionClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-subscriptions.api.md +446 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +449 -555
- package/src/models/mappers.ts +506 -250
- package/src/models/parameters.ts +82 -27
- package/src/operations/alias.ts +170 -170
- package/src/operations/billingAccount.ts +65 -0
- package/src/operations/index.ts +6 -8
- package/src/operations/operations.ts +103 -40
- package/src/operations/subscription.ts +289 -0
- package/src/operations/subscriptionPolicy.ts +207 -0
- package/src/operationsInterfaces/alias.ts +75 -0
- package/src/operationsInterfaces/billingAccount.ts +25 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/subscription.ts +92 -0
- package/src/operationsInterfaces/subscriptionPolicy.ts +46 -0
- package/src/subscriptionClient.ts +75 -43
- package/tsconfig.json +3 -3
- package/types/arm-subscriptions.d.ts +727 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-subscriptions.js +0 -1442
- package/dist/arm-subscriptions.js.map +0 -1
- package/dist/arm-subscriptions.min.js +0 -1
- package/dist/arm-subscriptions.min.js.map +0 -1
- package/esm/models/aliasMappers.d.ts +0 -2
- package/esm/models/aliasMappers.d.ts.map +0 -1
- package/esm/models/aliasMappers.js +0 -9
- package/esm/models/aliasMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -624
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -25
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -574
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -75
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/subscriptionOperationsMappers.d.ts +0 -2
- package/esm/models/subscriptionOperationsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionOperationsMappers.js +0 -9
- package/esm/models/subscriptionOperationsMappers.js.map +0 -1
- package/esm/models/subscriptionsMappers.d.ts +0 -2
- package/esm/models/subscriptionsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionsMappers.js +0 -9
- package/esm/models/subscriptionsMappers.js.map +0 -1
- package/esm/models/tenantsMappers.d.ts +0 -2
- package/esm/models/tenantsMappers.d.ts.map +0 -1
- package/esm/models/tenantsMappers.js +0 -9
- package/esm/models/tenantsMappers.js.map +0 -1
- package/esm/operations/alias.d.ts +0 -81
- package/esm/operations/alias.d.ts.map +0 -1
- package/esm/operations/alias.js +0 -161
- package/esm/operations/alias.js.map +0 -1
- package/esm/operations/index.d.ts +0 -6
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -15
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/subscriptionOperations.d.ts +0 -70
- package/esm/operations/subscriptionOperations.d.ts.map +0 -1
- package/esm/operations/subscriptionOperations.js +0 -117
- package/esm/operations/subscriptionOperations.js.map +0 -1
- package/esm/operations/subscriptions.d.ts +0 -84
- package/esm/operations/subscriptions.d.ts.map +0 -1
- package/esm/operations/subscriptions.js +0 -133
- package/esm/operations/subscriptions.js.map +0 -1
- package/esm/operations/tenants.d.ts +0 -46
- package/esm/operations/tenants.d.ts.map +0 -1
- package/esm/operations/tenants.js +0 -77
- package/esm/operations/tenants.js.map +0 -1
- package/esm/subscriptionClient.d.ts +0 -27
- package/esm/subscriptionClient.d.ts.map +0 -1
- package/esm/subscriptionClient.js +0 -41
- package/esm/subscriptionClient.js.map +0 -1
- package/esm/subscriptionClientContext.d.ts +0 -19
- package/esm/subscriptionClientContext.d.ts.map +0 -1
- package/esm/subscriptionClientContext.js +0 -55
- package/esm/subscriptionClientContext.js.map +0 -1
- package/src/models/aliasMappers.ts +0 -18
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/subscriptionOperationsMappers.ts +0 -15
- package/src/models/subscriptionsMappers.ts +0 -16
- package/src/models/tenantsMappers.ts +0 -13
- package/src/operations/subscriptionOperations.ts +0 -194
- package/src/operations/subscriptions.ts +0 -227
- package/src/operations/tenants.ts +0 -123
- package/src/subscriptionClientContext.ts +0 -60
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,IAAM,cAAc,GAA8B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,OAAO;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,SAAS,GAAiC;IACrD,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,WAAW;QAC3B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,WAAW,GAAmC;IACzD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,YAAY;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,WAAW,GAAmC;IACzD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,YAAY;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,YAAY,GAAiC;IACxD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAAiC;IAC1D,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,gBAAgB;QAChC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperationsMappers.d.ts","sourceRoot":"","sources":["../../src/models/subscriptionOperationsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export { CanceledSubscriptionId, EnabledSubscriptionId, ErrorResponse, RenamedSubscriptionId, SubscriptionName } from "../models/mappers";
|
|
9
|
-
//# sourceMappingURL=subscriptionOperationsMappers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperationsMappers.js","sourceRoot":"","sources":["../../src/models/subscriptionOperationsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsMappers.d.ts","sourceRoot":"","sources":["../../src/models/subscriptionsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export { CloudError, Location, LocationListResult, Subscription, SubscriptionListResult, SubscriptionPolicies } from "../models/mappers";
|
|
9
|
-
//# sourceMappingURL=subscriptionsMappers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsMappers.js","sourceRoot":"","sources":["../../src/models/subscriptionsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantsMappers.d.ts","sourceRoot":"","sources":["../../src/models/tenantsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export { CloudError, TenantIdDescription, TenantListResult } from "../models/mappers";
|
|
9
|
-
//# sourceMappingURL=tenantsMappers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantsMappers.js","sourceRoot":"","sources":["../../src/models/tenantsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { SubscriptionClientContext } from "../subscriptionClientContext";
|
|
5
|
-
/** Class representing a Alias. */
|
|
6
|
-
export declare class Alias {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a Alias.
|
|
10
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SubscriptionClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Create Alias Subscription.
|
|
15
|
-
* @param aliasName Alias Name
|
|
16
|
-
* @param body
|
|
17
|
-
* @param [options] The optional parameters
|
|
18
|
-
* @returns Promise<Models.AliasCreateResponse>
|
|
19
|
-
*/
|
|
20
|
-
create(aliasName: string, body: Models.PutAliasRequest, options?: msRest.RequestOptionsBase): Promise<Models.AliasCreateResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* Get Alias Subscription.
|
|
23
|
-
* @param aliasName Alias Name
|
|
24
|
-
* @param [options] The optional parameters
|
|
25
|
-
* @returns Promise<Models.AliasGetResponse>
|
|
26
|
-
*/
|
|
27
|
-
get(aliasName: string, options?: msRest.RequestOptionsBase): Promise<Models.AliasGetResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* @param aliasName Alias Name
|
|
30
|
-
* @param callback The callback
|
|
31
|
-
*/
|
|
32
|
-
get(aliasName: string, callback: msRest.ServiceCallback<Models.PutAliasResponse>): void;
|
|
33
|
-
/**
|
|
34
|
-
* @param aliasName Alias Name
|
|
35
|
-
* @param options The optional parameters
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
get(aliasName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PutAliasResponse>): void;
|
|
39
|
-
/**
|
|
40
|
-
* Delete Alias.
|
|
41
|
-
* @param aliasName Alias Name
|
|
42
|
-
* @param [options] The optional parameters
|
|
43
|
-
* @returns Promise<msRest.RestResponse>
|
|
44
|
-
*/
|
|
45
|
-
deleteMethod(aliasName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* @param aliasName Alias Name
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
deleteMethod(aliasName: string, callback: msRest.ServiceCallback<void>): void;
|
|
51
|
-
/**
|
|
52
|
-
* @param aliasName Alias Name
|
|
53
|
-
* @param options The optional parameters
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
deleteMethod(aliasName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
57
|
-
/**
|
|
58
|
-
* Get Alias Subscription.
|
|
59
|
-
* @param [options] The optional parameters
|
|
60
|
-
* @returns Promise<Models.AliasListResponse>
|
|
61
|
-
*/
|
|
62
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.AliasListResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* @param callback The callback
|
|
65
|
-
*/
|
|
66
|
-
list(callback: msRest.ServiceCallback<Models.PutAliasListResult>): void;
|
|
67
|
-
/**
|
|
68
|
-
* @param options The optional parameters
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PutAliasListResult>): void;
|
|
72
|
-
/**
|
|
73
|
-
* Create Alias Subscription.
|
|
74
|
-
* @param aliasName Alias Name
|
|
75
|
-
* @param body
|
|
76
|
-
* @param [options] The optional parameters
|
|
77
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
78
|
-
*/
|
|
79
|
-
beginCreate(aliasName: string, body: Models.PutAliasRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
80
|
-
}
|
|
81
|
-
//# sourceMappingURL=alias.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../src/operations/alias.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,E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,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC;IAC5E;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IACvE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAU3G;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAUlI"}
|
package/esm/operations/alias.js
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/aliasMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Alias. */
|
|
15
|
-
var Alias = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Alias.
|
|
18
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Alias(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Create Alias Subscription.
|
|
25
|
-
* @param aliasName Alias Name
|
|
26
|
-
* @param body
|
|
27
|
-
* @param [options] The optional parameters
|
|
28
|
-
* @returns Promise<Models.AliasCreateResponse>
|
|
29
|
-
*/
|
|
30
|
-
Alias.prototype.create = function (aliasName, body, options) {
|
|
31
|
-
return this.beginCreate(aliasName, body, options)
|
|
32
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
33
|
-
};
|
|
34
|
-
Alias.prototype.get = function (aliasName, options, callback) {
|
|
35
|
-
return this.client.sendOperationRequest({
|
|
36
|
-
aliasName: aliasName,
|
|
37
|
-
options: options
|
|
38
|
-
}, getOperationSpec, callback);
|
|
39
|
-
};
|
|
40
|
-
Alias.prototype.deleteMethod = function (aliasName, options, callback) {
|
|
41
|
-
return this.client.sendOperationRequest({
|
|
42
|
-
aliasName: aliasName,
|
|
43
|
-
options: options
|
|
44
|
-
}, deleteMethodOperationSpec, callback);
|
|
45
|
-
};
|
|
46
|
-
Alias.prototype.list = function (options, callback) {
|
|
47
|
-
return this.client.sendOperationRequest({
|
|
48
|
-
options: options
|
|
49
|
-
}, listOperationSpec, callback);
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Create Alias Subscription.
|
|
53
|
-
* @param aliasName Alias Name
|
|
54
|
-
* @param body
|
|
55
|
-
* @param [options] The optional parameters
|
|
56
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
57
|
-
*/
|
|
58
|
-
Alias.prototype.beginCreate = function (aliasName, body, options) {
|
|
59
|
-
return this.client.sendLRORequest({
|
|
60
|
-
aliasName: aliasName,
|
|
61
|
-
body: body,
|
|
62
|
-
options: options
|
|
63
|
-
}, beginCreateOperationSpec, options);
|
|
64
|
-
};
|
|
65
|
-
return Alias;
|
|
66
|
-
}());
|
|
67
|
-
export { Alias };
|
|
68
|
-
// Operation Specifications
|
|
69
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
70
|
-
var getOperationSpec = {
|
|
71
|
-
httpMethod: "GET",
|
|
72
|
-
path: "providers/Microsoft.Subscription/aliases/{aliasName}",
|
|
73
|
-
urlParameters: [
|
|
74
|
-
Parameters.aliasName
|
|
75
|
-
],
|
|
76
|
-
queryParameters: [
|
|
77
|
-
Parameters.apiVersion1
|
|
78
|
-
],
|
|
79
|
-
headerParameters: [
|
|
80
|
-
Parameters.acceptLanguage
|
|
81
|
-
],
|
|
82
|
-
responses: {
|
|
83
|
-
200: {
|
|
84
|
-
bodyMapper: Mappers.PutAliasResponse
|
|
85
|
-
},
|
|
86
|
-
default: {
|
|
87
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
serializer: serializer
|
|
91
|
-
};
|
|
92
|
-
var deleteMethodOperationSpec = {
|
|
93
|
-
httpMethod: "DELETE",
|
|
94
|
-
path: "providers/Microsoft.Subscription/aliases/{aliasName}",
|
|
95
|
-
urlParameters: [
|
|
96
|
-
Parameters.aliasName
|
|
97
|
-
],
|
|
98
|
-
queryParameters: [
|
|
99
|
-
Parameters.apiVersion1
|
|
100
|
-
],
|
|
101
|
-
headerParameters: [
|
|
102
|
-
Parameters.acceptLanguage
|
|
103
|
-
],
|
|
104
|
-
responses: {
|
|
105
|
-
200: {},
|
|
106
|
-
204: {},
|
|
107
|
-
default: {
|
|
108
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
serializer: serializer
|
|
112
|
-
};
|
|
113
|
-
var listOperationSpec = {
|
|
114
|
-
httpMethod: "GET",
|
|
115
|
-
path: "providers/Microsoft.Subscription/aliases",
|
|
116
|
-
queryParameters: [
|
|
117
|
-
Parameters.apiVersion1
|
|
118
|
-
],
|
|
119
|
-
headerParameters: [
|
|
120
|
-
Parameters.acceptLanguage
|
|
121
|
-
],
|
|
122
|
-
responses: {
|
|
123
|
-
200: {
|
|
124
|
-
bodyMapper: Mappers.PutAliasListResult
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
serializer: serializer
|
|
131
|
-
};
|
|
132
|
-
var beginCreateOperationSpec = {
|
|
133
|
-
httpMethod: "PUT",
|
|
134
|
-
path: "providers/Microsoft.Subscription/aliases/{aliasName}",
|
|
135
|
-
urlParameters: [
|
|
136
|
-
Parameters.aliasName
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion1
|
|
140
|
-
],
|
|
141
|
-
headerParameters: [
|
|
142
|
-
Parameters.acceptLanguage
|
|
143
|
-
],
|
|
144
|
-
requestBody: {
|
|
145
|
-
parameterPath: "body",
|
|
146
|
-
mapper: __assign(__assign({}, Mappers.PutAliasRequest), { required: true })
|
|
147
|
-
},
|
|
148
|
-
responses: {
|
|
149
|
-
200: {
|
|
150
|
-
bodyMapper: Mappers.PutAliasResponse
|
|
151
|
-
},
|
|
152
|
-
201: {
|
|
153
|
-
bodyMapper: Mappers.PutAliasResponse
|
|
154
|
-
},
|
|
155
|
-
default: {
|
|
156
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
serializer: serializer
|
|
160
|
-
};
|
|
161
|
-
//# sourceMappingURL=alias.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alias.js","sourceRoot":"","sources":["../../src/operations/alias.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,kCAAkC;AAClC;IAGE;;;OAGG;IACH,eAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,sBAAM,GAAN,UAAO,SAAiB,EAAE,IAA4B,EAAE,OAAmC;QACz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E;QACX,aAAa,EAAE,MAAM;QACrB,MAAM,wBACD,OAAO,CAAC,eAAe,KAC1B,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
package/esm/operations/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
export * from "./subscriptions";
|
|
11
|
-
export * from "./tenants";
|
|
12
|
-
export * from "./subscriptionOperations";
|
|
13
|
-
export * from "./operations";
|
|
14
|
-
export * from "./alias";
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { SubscriptionClientContext } from "../subscriptionClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: SubscriptionClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all of the available Microsoft.Subscription API operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAS7G"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
return Operations;
|
|
28
|
-
}());
|
|
29
|
-
export { Operations };
|
|
30
|
-
// Operation Specifications
|
|
31
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
32
|
-
var listOperationSpec = {
|
|
33
|
-
httpMethod: "GET",
|
|
34
|
-
path: "providers/Microsoft.Subscription/operations",
|
|
35
|
-
queryParameters: [
|
|
36
|
-
Parameters.apiVersion1
|
|
37
|
-
],
|
|
38
|
-
headerParameters: [
|
|
39
|
-
Parameters.acceptLanguage
|
|
40
|
-
],
|
|
41
|
-
responses: {
|
|
42
|
-
200: {
|
|
43
|
-
bodyMapper: Mappers.OperationListResult
|
|
44
|
-
},
|
|
45
|
-
default: {
|
|
46
|
-
bodyMapper: Mappers.ErrorResponse
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
serializer: serializer
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,6CAA6C;IACnD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { SubscriptionClientContext } from "../subscriptionClientContext";
|
|
4
|
-
/** Class representing a SubscriptionOperations. */
|
|
5
|
-
export declare class SubscriptionOperations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a SubscriptionOperations.
|
|
9
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: SubscriptionClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* The operation to cancel a subscription
|
|
14
|
-
* @param subscriptionId Subscription Id.
|
|
15
|
-
* @param [options] The optional parameters
|
|
16
|
-
* @returns Promise<Models.SubscriptionCancelResponse>
|
|
17
|
-
*/
|
|
18
|
-
cancel(subscriptionId: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionCancelResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* @param subscriptionId Subscription Id.
|
|
21
|
-
* @param callback The callback
|
|
22
|
-
*/
|
|
23
|
-
cancel(subscriptionId: string, callback: msRest.ServiceCallback<Models.CanceledSubscriptionId>): void;
|
|
24
|
-
/**
|
|
25
|
-
* @param subscriptionId Subscription Id.
|
|
26
|
-
* @param options The optional parameters
|
|
27
|
-
* @param callback The callback
|
|
28
|
-
*/
|
|
29
|
-
cancel(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CanceledSubscriptionId>): void;
|
|
30
|
-
/**
|
|
31
|
-
* The operation to rename a subscription
|
|
32
|
-
* @param subscriptionId Subscription Id.
|
|
33
|
-
* @param body Subscription Name
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.SubscriptionRenameResponse>
|
|
36
|
-
*/
|
|
37
|
-
rename(subscriptionId: string, body: Models.SubscriptionName, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionRenameResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param subscriptionId Subscription Id.
|
|
40
|
-
* @param body Subscription Name
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
rename(subscriptionId: string, body: Models.SubscriptionName, callback: msRest.ServiceCallback<Models.RenamedSubscriptionId>): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param subscriptionId Subscription Id.
|
|
46
|
-
* @param body Subscription Name
|
|
47
|
-
* @param options The optional parameters
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
rename(subscriptionId: string, body: Models.SubscriptionName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RenamedSubscriptionId>): void;
|
|
51
|
-
/**
|
|
52
|
-
* The operation to enable a subscription
|
|
53
|
-
* @param subscriptionId Subscription Id.
|
|
54
|
-
* @param [options] The optional parameters
|
|
55
|
-
* @returns Promise<Models.SubscriptionEnableResponse>
|
|
56
|
-
*/
|
|
57
|
-
enable(subscriptionId: string, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionEnableResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* @param subscriptionId Subscription Id.
|
|
60
|
-
* @param callback The callback
|
|
61
|
-
*/
|
|
62
|
-
enable(subscriptionId: string, callback: msRest.ServiceCallback<Models.EnabledSubscriptionId>): void;
|
|
63
|
-
/**
|
|
64
|
-
* @param subscriptionId Subscription Id.
|
|
65
|
-
* @param options The optional parameters
|
|
66
|
-
* @param callback The callback
|
|
67
|
-
*/
|
|
68
|
-
enable(subscriptionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnabledSubscriptionId>): void;
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=subscriptionOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperations.d.ts","sourceRoot":"","sources":["../../src/operations/subscriptionOperations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,mDAAmD;AACnD,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;OAKG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IACrG;;;;OAIG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IAWzI;;;;;;OAMG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC9I;;;;OAIG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,gBAAgB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IACnI;;;;;OAKG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAYvK;;;;;OAKG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IACpG;;;;OAIG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;CAUzI"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/subscriptionOperationsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a SubscriptionOperations. */
|
|
15
|
-
var SubscriptionOperations = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a SubscriptionOperations.
|
|
18
|
-
* @param {SubscriptionClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function SubscriptionOperations(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
SubscriptionOperations.prototype.cancel = function (subscriptionId, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
subscriptionId: subscriptionId,
|
|
26
|
-
options: options
|
|
27
|
-
}, cancelOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
SubscriptionOperations.prototype.rename = function (subscriptionId, body, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
subscriptionId: subscriptionId,
|
|
32
|
-
body: body,
|
|
33
|
-
options: options
|
|
34
|
-
}, renameOperationSpec, callback);
|
|
35
|
-
};
|
|
36
|
-
SubscriptionOperations.prototype.enable = function (subscriptionId, options, callback) {
|
|
37
|
-
return this.client.sendOperationRequest({
|
|
38
|
-
subscriptionId: subscriptionId,
|
|
39
|
-
options: options
|
|
40
|
-
}, enableOperationSpec, callback);
|
|
41
|
-
};
|
|
42
|
-
return SubscriptionOperations;
|
|
43
|
-
}());
|
|
44
|
-
export { SubscriptionOperations };
|
|
45
|
-
// Operation Specifications
|
|
46
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
47
|
-
var cancelOperationSpec = {
|
|
48
|
-
httpMethod: "POST",
|
|
49
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel",
|
|
50
|
-
urlParameters: [
|
|
51
|
-
Parameters.subscriptionId
|
|
52
|
-
],
|
|
53
|
-
queryParameters: [
|
|
54
|
-
Parameters.apiVersion1
|
|
55
|
-
],
|
|
56
|
-
headerParameters: [
|
|
57
|
-
Parameters.acceptLanguage
|
|
58
|
-
],
|
|
59
|
-
responses: {
|
|
60
|
-
200: {
|
|
61
|
-
bodyMapper: Mappers.CanceledSubscriptionId
|
|
62
|
-
},
|
|
63
|
-
default: {
|
|
64
|
-
bodyMapper: Mappers.ErrorResponse
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
serializer: serializer
|
|
68
|
-
};
|
|
69
|
-
var renameOperationSpec = {
|
|
70
|
-
httpMethod: "POST",
|
|
71
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename",
|
|
72
|
-
urlParameters: [
|
|
73
|
-
Parameters.subscriptionId
|
|
74
|
-
],
|
|
75
|
-
queryParameters: [
|
|
76
|
-
Parameters.apiVersion1
|
|
77
|
-
],
|
|
78
|
-
headerParameters: [
|
|
79
|
-
Parameters.acceptLanguage
|
|
80
|
-
],
|
|
81
|
-
requestBody: {
|
|
82
|
-
parameterPath: "body",
|
|
83
|
-
mapper: __assign(__assign({}, Mappers.SubscriptionName), { required: true })
|
|
84
|
-
},
|
|
85
|
-
responses: {
|
|
86
|
-
200: {
|
|
87
|
-
bodyMapper: Mappers.RenamedSubscriptionId
|
|
88
|
-
},
|
|
89
|
-
default: {
|
|
90
|
-
bodyMapper: Mappers.ErrorResponse
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
serializer: serializer
|
|
94
|
-
};
|
|
95
|
-
var enableOperationSpec = {
|
|
96
|
-
httpMethod: "POST",
|
|
97
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable",
|
|
98
|
-
urlParameters: [
|
|
99
|
-
Parameters.subscriptionId
|
|
100
|
-
],
|
|
101
|
-
queryParameters: [
|
|
102
|
-
Parameters.apiVersion1
|
|
103
|
-
],
|
|
104
|
-
headerParameters: [
|
|
105
|
-
Parameters.acceptLanguage
|
|
106
|
-
],
|
|
107
|
-
responses: {
|
|
108
|
-
200: {
|
|
109
|
-
bodyMapper: Mappers.EnabledSubscriptionId
|
|
110
|
-
},
|
|
111
|
-
default: {
|
|
112
|
-
bodyMapper: Mappers.ErrorResponse
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
serializer: serializer
|
|
116
|
-
};
|
|
117
|
-
//# sourceMappingURL=subscriptionOperations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperations.js","sourceRoot":"","sources":["../../src/operations/subscriptionOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,mDAAmD;AACnD;IAGE;;;OAGG;IACH,gCAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,uCAAM,GAAN,UAAO,cAAsB,EAAE,OAA2F,EAAE,QAAgE;QAC1L,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,cAAc,gBAAA;YACd,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IAuBD,uCAAM,GAAN,UAAO,cAAsB,EAAE,IAA6B,EAAE,OAA0F,EAAE,QAA+D;QACvN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,cAAc,gBAAA;YACd,IAAI,MAAA;YACJ,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IAoBD,uCAAM,GAAN,UAAO,cAAsB,EAAE,OAA0F,EAAE,QAA+D;QACxL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,cAAc,gBAAA;YACd,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,6BAAC;AAAD,CAAC,AAlGD,IAkGC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,mBAAmB,GAAyB;IAChD,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,wEAAwE;IAC9E,aAAa,EAAE;QACb,UAAU,CAAC,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