@azure/arm-azurestack 2.1.1 → 3.0.0-beta.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/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +3000 -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/azureStackManagementClient.d.ts +24 -0
- package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackManagementClient.js +57 -0
- package/dist-esm/src/azureStackManagementClient.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/models/index.d.ts +854 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +55 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +37 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +608 -394
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +163 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts +24 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.js +70 -0
- package/dist-esm/src/operations/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts +63 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.js +241 -0
- package/dist-esm/src/operations/customerSubscriptions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts +83 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.js +359 -0
- package/dist-esm/src/operations/linkedSubscriptions.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/products.d.ts +78 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +303 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/registrations.d.ts +97 -0
- package/dist-esm/src/operations/registrations.d.ts.map +1 -0
- package/dist-esm/src/operations/registrations.js +416 -0
- package/dist-esm/src/operations/registrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.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/products.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/registrations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +43 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +63 -32
- package/review/arm-azurestack.api.md +695 -0
- package/rollup.config.js +181 -30
- package/src/azureStackManagementClient.ts +88 -43
- package/src/index.ts +12 -0
- package/src/models/index.ts +725 -836
- package/src/models/mappers.ts +623 -384
- package/src/models/parameters.ts +130 -32
- package/src/operations/cloudManifestFile.ts +93 -0
- package/src/operations/customerSubscriptions.ts +191 -206
- package/src/operations/index.ts +6 -6
- package/src/operations/linkedSubscriptions.ts +450 -0
- package/src/operations/operations.ts +89 -75
- package/src/operations/products.ts +240 -299
- package/src/operations/registrations.ts +347 -266
- package/src/operationsInterfaces/cloudManifestFile.ts +34 -0
- package/src/operationsInterfaces/customerSubscriptions.ts +75 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/linkedSubscriptions.ts +91 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/products.ts +104 -0
- package/src/operationsInterfaces/registrations.ts +116 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestack.d.ts +1206 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestack.js +0 -2153
- package/dist/arm-azurestack.js.map +0 -1
- package/dist/arm-azurestack.min.js +0 -1
- package/dist/arm-azurestack.min.js.map +0 -1
- package/esm/azureStackManagementClient.d.ts +0 -28
- package/esm/azureStackManagementClient.d.ts.map +0 -1
- package/esm/azureStackManagementClient.js +0 -42
- package/esm/azureStackManagementClient.js.map +0 -1
- package/esm/azureStackManagementClientContext.d.ts +0 -23
- package/esm/azureStackManagementClientContext.d.ts.map +0 -1
- package/esm/azureStackManagementClientContext.js +0 -62
- package/esm/azureStackManagementClientContext.js.map +0 -1
- package/esm/models/customerSubscriptionsMappers.d.ts +0 -2
- package/esm/models/customerSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/customerSubscriptionsMappers.js +0 -9
- package/esm/models/customerSubscriptionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1014
- 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 -31
- package/esm/models/mappers.d.ts.map +0 -1
- 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 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -92
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -9
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/registrationsMappers.d.ts +0 -2
- package/esm/models/registrationsMappers.d.ts.map +0 -1
- package/esm/models/registrationsMappers.js +0 -9
- package/esm/models/registrationsMappers.js.map +0 -1
- package/esm/operations/customerSubscriptions.d.ts +0 -127
- package/esm/operations/customerSubscriptions.d.ts.map +0 -1
- package/esm/operations/customerSubscriptions.js +0 -188
- package/esm/operations/customerSubscriptions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/products.d.ts +0 -169
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -268
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/registrations.d.ts +0 -160
- package/esm/operations/registrations.d.ts.map +0 -1
- package/esm/operations/registrations.js +0 -250
- package/esm/operations/registrations.js.map +0 -1
- package/src/azureStackManagementClientContext.ts +0 -69
- package/src/models/customerSubscriptionsMappers.ts +0 -24
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/productsMappers.ts +0 -30
- package/src/models/registrationsMappers.ts +0 -26
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureStackManagementClientContext } from "../azureStackManagementClientContext";
|
|
4
|
-
/** Class representing a Registrations. */
|
|
5
|
-
export declare class Registrations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Registrations.
|
|
9
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureStackManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Returns a list of all registrations.
|
|
14
|
-
* @param resourceGroup Name of the resource group.
|
|
15
|
-
* @param [options] The optional parameters
|
|
16
|
-
* @returns Promise<Models.RegistrationsListResponse>
|
|
17
|
-
*/
|
|
18
|
-
list(resourceGroup: string, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsListResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* @param resourceGroup Name of the resource group.
|
|
21
|
-
* @param callback The callback
|
|
22
|
-
*/
|
|
23
|
-
list(resourceGroup: string, callback: msRest.ServiceCallback<Models.RegistrationList>): void;
|
|
24
|
-
/**
|
|
25
|
-
* @param resourceGroup Name of the resource group.
|
|
26
|
-
* @param options The optional parameters
|
|
27
|
-
* @param callback The callback
|
|
28
|
-
*/
|
|
29
|
-
list(resourceGroup: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RegistrationList>): void;
|
|
30
|
-
/**
|
|
31
|
-
* Returns the properties of an Azure Stack registration.
|
|
32
|
-
* @param resourceGroup Name of the resource group.
|
|
33
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.RegistrationsGetResponse>
|
|
36
|
-
*/
|
|
37
|
-
get(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsGetResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroup Name of the resource group.
|
|
40
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
get(resourceGroup: string, registrationName: string, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param resourceGroup Name of the resource group.
|
|
46
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
47
|
-
* @param options The optional parameters
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
get(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
51
|
-
/**
|
|
52
|
-
* Delete the requested Azure Stack registration.
|
|
53
|
-
* @param resourceGroup Name of the resource group.
|
|
54
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
55
|
-
* @param [options] The optional parameters
|
|
56
|
-
* @returns Promise<msRest.RestResponse>
|
|
57
|
-
*/
|
|
58
|
-
deleteMethod(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* @param resourceGroup Name of the resource group.
|
|
61
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
62
|
-
* @param callback The callback
|
|
63
|
-
*/
|
|
64
|
-
deleteMethod(resourceGroup: string, registrationName: string, callback: msRest.ServiceCallback<void>): void;
|
|
65
|
-
/**
|
|
66
|
-
* @param resourceGroup Name of the resource group.
|
|
67
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
68
|
-
* @param options The optional parameters
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
deleteMethod(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
72
|
-
/**
|
|
73
|
-
* Create or update an Azure Stack registration.
|
|
74
|
-
* @param resourceGroup Name of the resource group.
|
|
75
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
76
|
-
* @param token Registration token
|
|
77
|
-
* @param [options] The optional parameters
|
|
78
|
-
* @returns Promise<Models.RegistrationsCreateOrUpdateResponse>
|
|
79
|
-
*/
|
|
80
|
-
createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsCreateOrUpdateResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* @param resourceGroup Name of the resource group.
|
|
83
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
84
|
-
* @param token Registration token
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
88
|
-
/**
|
|
89
|
-
* @param resourceGroup Name of the resource group.
|
|
90
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
91
|
-
* @param token Registration token
|
|
92
|
-
* @param options The optional parameters
|
|
93
|
-
* @param callback The callback
|
|
94
|
-
*/
|
|
95
|
-
createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
96
|
-
/**
|
|
97
|
-
* Patch an Azure Stack registration.
|
|
98
|
-
* @param resourceGroup Name of the resource group.
|
|
99
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
100
|
-
* @param token Registration token
|
|
101
|
-
* @param [options] The optional parameters
|
|
102
|
-
* @returns Promise<Models.RegistrationsUpdateResponse>
|
|
103
|
-
*/
|
|
104
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsUpdateResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* @param resourceGroup Name of the resource group.
|
|
107
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
108
|
-
* @param token Registration token
|
|
109
|
-
* @param callback The callback
|
|
110
|
-
*/
|
|
111
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
112
|
-
/**
|
|
113
|
-
* @param resourceGroup Name of the resource group.
|
|
114
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
115
|
-
* @param token Registration token
|
|
116
|
-
* @param options The optional parameters
|
|
117
|
-
* @param callback The callback
|
|
118
|
-
*/
|
|
119
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
120
|
-
/**
|
|
121
|
-
* Returns Azure Stack Activation Key.
|
|
122
|
-
* @param resourceGroup Name of the resource group.
|
|
123
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
124
|
-
* @param [options] The optional parameters
|
|
125
|
-
* @returns Promise<Models.RegistrationsGetActivationKeyResponse>
|
|
126
|
-
*/
|
|
127
|
-
getActivationKey(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsGetActivationKeyResponse>;
|
|
128
|
-
/**
|
|
129
|
-
* @param resourceGroup Name of the resource group.
|
|
130
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
131
|
-
* @param callback The callback
|
|
132
|
-
*/
|
|
133
|
-
getActivationKey(resourceGroup: string, registrationName: string, callback: msRest.ServiceCallback<Models.ActivationKeyResult>): void;
|
|
134
|
-
/**
|
|
135
|
-
* @param resourceGroup Name of the resource group.
|
|
136
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
137
|
-
* @param options The optional parameters
|
|
138
|
-
* @param callback The callback
|
|
139
|
-
*/
|
|
140
|
-
getActivationKey(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ActivationKeyResult>): void;
|
|
141
|
-
/**
|
|
142
|
-
* Returns a list of all registrations.
|
|
143
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
144
|
-
* @param [options] The optional parameters
|
|
145
|
-
* @returns Promise<Models.RegistrationsListNextResponse>
|
|
146
|
-
*/
|
|
147
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsListNextResponse>;
|
|
148
|
-
/**
|
|
149
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
150
|
-
* @param callback The callback
|
|
151
|
-
*/
|
|
152
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RegistrationList>): void;
|
|
153
|
-
/**
|
|
154
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
155
|
-
* @param options The optional parameters
|
|
156
|
-
* @param callback The callback
|
|
157
|
-
*/
|
|
158
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RegistrationList>): void;
|
|
159
|
-
}
|
|
160
|
-
//# sourceMappingURL=registrations.d.ts.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YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,6BAA6B,CAAC;IAClH;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI;IAC/F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI;CAUpI"}
|
|
@@ -1,250 +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/registrationsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Registrations. */
|
|
15
|
-
var Registrations = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Registrations.
|
|
18
|
-
* @param {AzureStackManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Registrations(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Registrations.prototype.list = function (resourceGroup, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroup: resourceGroup,
|
|
26
|
-
options: options
|
|
27
|
-
}, listOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
Registrations.prototype.get = function (resourceGroup, registrationName, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
resourceGroup: resourceGroup,
|
|
32
|
-
registrationName: registrationName,
|
|
33
|
-
options: options
|
|
34
|
-
}, getOperationSpec, callback);
|
|
35
|
-
};
|
|
36
|
-
Registrations.prototype.deleteMethod = function (resourceGroup, registrationName, options, callback) {
|
|
37
|
-
return this.client.sendOperationRequest({
|
|
38
|
-
resourceGroup: resourceGroup,
|
|
39
|
-
registrationName: registrationName,
|
|
40
|
-
options: options
|
|
41
|
-
}, deleteMethodOperationSpec, callback);
|
|
42
|
-
};
|
|
43
|
-
Registrations.prototype.createOrUpdate = function (resourceGroup, registrationName, token, options, callback) {
|
|
44
|
-
return this.client.sendOperationRequest({
|
|
45
|
-
resourceGroup: resourceGroup,
|
|
46
|
-
registrationName: registrationName,
|
|
47
|
-
token: token,
|
|
48
|
-
options: options
|
|
49
|
-
}, createOrUpdateOperationSpec, callback);
|
|
50
|
-
};
|
|
51
|
-
Registrations.prototype.update = function (resourceGroup, registrationName, token, options, callback) {
|
|
52
|
-
return this.client.sendOperationRequest({
|
|
53
|
-
resourceGroup: resourceGroup,
|
|
54
|
-
registrationName: registrationName,
|
|
55
|
-
token: token,
|
|
56
|
-
options: options
|
|
57
|
-
}, updateOperationSpec, callback);
|
|
58
|
-
};
|
|
59
|
-
Registrations.prototype.getActivationKey = function (resourceGroup, registrationName, options, callback) {
|
|
60
|
-
return this.client.sendOperationRequest({
|
|
61
|
-
resourceGroup: resourceGroup,
|
|
62
|
-
registrationName: registrationName,
|
|
63
|
-
options: options
|
|
64
|
-
}, getActivationKeyOperationSpec, callback);
|
|
65
|
-
};
|
|
66
|
-
Registrations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
67
|
-
return this.client.sendOperationRequest({
|
|
68
|
-
nextPageLink: nextPageLink,
|
|
69
|
-
options: options
|
|
70
|
-
}, listNextOperationSpec, callback);
|
|
71
|
-
};
|
|
72
|
-
return Registrations;
|
|
73
|
-
}());
|
|
74
|
-
export { Registrations };
|
|
75
|
-
// Operation Specifications
|
|
76
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
77
|
-
var listOperationSpec = {
|
|
78
|
-
httpMethod: "GET",
|
|
79
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
|
|
80
|
-
urlParameters: [
|
|
81
|
-
Parameters.subscriptionId,
|
|
82
|
-
Parameters.resourceGroup
|
|
83
|
-
],
|
|
84
|
-
queryParameters: [
|
|
85
|
-
Parameters.apiVersion
|
|
86
|
-
],
|
|
87
|
-
headerParameters: [
|
|
88
|
-
Parameters.acceptLanguage
|
|
89
|
-
],
|
|
90
|
-
responses: {
|
|
91
|
-
200: {
|
|
92
|
-
bodyMapper: Mappers.RegistrationList
|
|
93
|
-
},
|
|
94
|
-
default: {
|
|
95
|
-
bodyMapper: Mappers.ErrorResponse
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
serializer: serializer
|
|
99
|
-
};
|
|
100
|
-
var getOperationSpec = {
|
|
101
|
-
httpMethod: "GET",
|
|
102
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
103
|
-
urlParameters: [
|
|
104
|
-
Parameters.subscriptionId,
|
|
105
|
-
Parameters.resourceGroup,
|
|
106
|
-
Parameters.registrationName
|
|
107
|
-
],
|
|
108
|
-
queryParameters: [
|
|
109
|
-
Parameters.apiVersion
|
|
110
|
-
],
|
|
111
|
-
headerParameters: [
|
|
112
|
-
Parameters.acceptLanguage
|
|
113
|
-
],
|
|
114
|
-
responses: {
|
|
115
|
-
200: {
|
|
116
|
-
bodyMapper: Mappers.Registration
|
|
117
|
-
},
|
|
118
|
-
default: {
|
|
119
|
-
bodyMapper: Mappers.ErrorResponse
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
serializer: serializer
|
|
123
|
-
};
|
|
124
|
-
var deleteMethodOperationSpec = {
|
|
125
|
-
httpMethod: "DELETE",
|
|
126
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
127
|
-
urlParameters: [
|
|
128
|
-
Parameters.subscriptionId,
|
|
129
|
-
Parameters.resourceGroup,
|
|
130
|
-
Parameters.registrationName
|
|
131
|
-
],
|
|
132
|
-
queryParameters: [
|
|
133
|
-
Parameters.apiVersion
|
|
134
|
-
],
|
|
135
|
-
headerParameters: [
|
|
136
|
-
Parameters.acceptLanguage
|
|
137
|
-
],
|
|
138
|
-
responses: {
|
|
139
|
-
200: {},
|
|
140
|
-
204: {},
|
|
141
|
-
default: {
|
|
142
|
-
bodyMapper: Mappers.ErrorResponse
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
serializer: serializer
|
|
146
|
-
};
|
|
147
|
-
var createOrUpdateOperationSpec = {
|
|
148
|
-
httpMethod: "PUT",
|
|
149
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
150
|
-
urlParameters: [
|
|
151
|
-
Parameters.subscriptionId,
|
|
152
|
-
Parameters.resourceGroup,
|
|
153
|
-
Parameters.registrationName
|
|
154
|
-
],
|
|
155
|
-
queryParameters: [
|
|
156
|
-
Parameters.apiVersion
|
|
157
|
-
],
|
|
158
|
-
headerParameters: [
|
|
159
|
-
Parameters.acceptLanguage
|
|
160
|
-
],
|
|
161
|
-
requestBody: {
|
|
162
|
-
parameterPath: "token",
|
|
163
|
-
mapper: __assign(__assign({}, Mappers.RegistrationParameter), { required: true })
|
|
164
|
-
},
|
|
165
|
-
responses: {
|
|
166
|
-
200: {
|
|
167
|
-
bodyMapper: Mappers.Registration
|
|
168
|
-
},
|
|
169
|
-
201: {
|
|
170
|
-
bodyMapper: Mappers.Registration
|
|
171
|
-
},
|
|
172
|
-
default: {
|
|
173
|
-
bodyMapper: Mappers.CloudError
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
serializer: serializer
|
|
177
|
-
};
|
|
178
|
-
var updateOperationSpec = {
|
|
179
|
-
httpMethod: "PATCH",
|
|
180
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
181
|
-
urlParameters: [
|
|
182
|
-
Parameters.subscriptionId,
|
|
183
|
-
Parameters.resourceGroup,
|
|
184
|
-
Parameters.registrationName
|
|
185
|
-
],
|
|
186
|
-
queryParameters: [
|
|
187
|
-
Parameters.apiVersion
|
|
188
|
-
],
|
|
189
|
-
headerParameters: [
|
|
190
|
-
Parameters.acceptLanguage
|
|
191
|
-
],
|
|
192
|
-
requestBody: {
|
|
193
|
-
parameterPath: "token",
|
|
194
|
-
mapper: __assign(__assign({}, Mappers.RegistrationParameter), { required: true })
|
|
195
|
-
},
|
|
196
|
-
responses: {
|
|
197
|
-
200: {
|
|
198
|
-
bodyMapper: Mappers.Registration
|
|
199
|
-
},
|
|
200
|
-
default: {
|
|
201
|
-
bodyMapper: Mappers.ErrorResponse
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
serializer: serializer
|
|
205
|
-
};
|
|
206
|
-
var getActivationKeyOperationSpec = {
|
|
207
|
-
httpMethod: "POST",
|
|
208
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
|
|
209
|
-
urlParameters: [
|
|
210
|
-
Parameters.subscriptionId,
|
|
211
|
-
Parameters.resourceGroup,
|
|
212
|
-
Parameters.registrationName
|
|
213
|
-
],
|
|
214
|
-
queryParameters: [
|
|
215
|
-
Parameters.apiVersion
|
|
216
|
-
],
|
|
217
|
-
headerParameters: [
|
|
218
|
-
Parameters.acceptLanguage
|
|
219
|
-
],
|
|
220
|
-
responses: {
|
|
221
|
-
200: {
|
|
222
|
-
bodyMapper: Mappers.ActivationKeyResult
|
|
223
|
-
},
|
|
224
|
-
default: {
|
|
225
|
-
bodyMapper: Mappers.CloudError
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
serializer: serializer
|
|
229
|
-
};
|
|
230
|
-
var listNextOperationSpec = {
|
|
231
|
-
httpMethod: "GET",
|
|
232
|
-
baseUrl: "https://management.azure.com",
|
|
233
|
-
path: "{nextLink}",
|
|
234
|
-
urlParameters: [
|
|
235
|
-
Parameters.nextPageLink
|
|
236
|
-
],
|
|
237
|
-
headerParameters: [
|
|
238
|
-
Parameters.acceptLanguage
|
|
239
|
-
],
|
|
240
|
-
responses: {
|
|
241
|
-
200: {
|
|
242
|
-
bodyMapper: Mappers.RegistrationList
|
|
243
|
-
},
|
|
244
|
-
default: {
|
|
245
|
-
bodyMapper: Mappers.ErrorResponse
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
serializer: serializer
|
|
249
|
-
};
|
|
250
|
-
//# sourceMappingURL=registrations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../src/operations/registrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,0CAA0C;AAC1C;IAGE;;;OAGG;IACH,uBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,4BAAI,GAAJ,UAAK,aAAqB,EAAE,OAAqF,EAAE,QAA0D;QAC3K,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,aAAa,eAAA;YACb,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAuBD,2BAAG,GAAH,UAAI,aAAqB,EAAE,gBAAwB,EAAE,OA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D,WAAW,EAAE;QACX,aAAa,EAAE,OAAO;QACtB,MAAM,wBACD,OAAO,CAAC,qBAAqB,KAChC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,6BAA6B,GAAyB;IAC1D,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,gJAAgJ;IACtJ,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,gBAAgB;KAC5B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;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,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,69 +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
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
15
|
-
|
|
16
|
-
const packageName = "@azure/arm-azurestack";
|
|
17
|
-
const packageVersion = "2.1.1";
|
|
18
|
-
|
|
19
|
-
export class AzureStackManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
20
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
21
|
-
subscriptionId: string;
|
|
22
|
-
apiVersion?: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Initializes a new instance of the AzureStackManagementClient class.
|
|
26
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
27
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
28
|
-
* more information about these credentials, see
|
|
29
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
30
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
31
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
32
|
-
* @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure
|
|
33
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
34
|
-
* @param [options] The parameter options
|
|
35
|
-
*/
|
|
36
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) {
|
|
37
|
-
if (credentials == undefined) {
|
|
38
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
39
|
-
}
|
|
40
|
-
if (subscriptionId == undefined) {
|
|
41
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
if (!options) {
|
|
45
|
-
options = {};
|
|
46
|
-
}
|
|
47
|
-
if (!options.userAgent) {
|
|
48
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
49
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
super(credentials, options);
|
|
53
|
-
|
|
54
|
-
this.apiVersion = '2017-06-01';
|
|
55
|
-
this.acceptLanguage = 'en-US';
|
|
56
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
57
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
58
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
59
|
-
this.credentials = credentials;
|
|
60
|
-
this.subscriptionId = subscriptionId;
|
|
61
|
-
|
|
62
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
63
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
64
|
-
}
|
|
65
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
66
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,24 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
BaseResource,
|
|
11
|
-
CloudError,
|
|
12
|
-
Compatibility,
|
|
13
|
-
CustomerSubscription,
|
|
14
|
-
CustomerSubscriptionList,
|
|
15
|
-
ErrorDetails,
|
|
16
|
-
ErrorResponse,
|
|
17
|
-
IconUris,
|
|
18
|
-
Product,
|
|
19
|
-
ProductLink,
|
|
20
|
-
ProductProperties,
|
|
21
|
-
Registration,
|
|
22
|
-
Resource,
|
|
23
|
-
TrackedResource
|
|
24
|
-
} from "../models/mappers";
|
|
@@ -1,14 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
CloudError,
|
|
11
|
-
Display,
|
|
12
|
-
Operation,
|
|
13
|
-
OperationList
|
|
14
|
-
} from "../models/mappers";
|
|
@@ -1,30 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
BaseResource,
|
|
11
|
-
CloudError,
|
|
12
|
-
Compatibility,
|
|
13
|
-
CustomerSubscription,
|
|
14
|
-
DataDiskImage,
|
|
15
|
-
DeviceConfiguration,
|
|
16
|
-
ErrorDetails,
|
|
17
|
-
ErrorResponse,
|
|
18
|
-
ExtendedProduct,
|
|
19
|
-
IconUris,
|
|
20
|
-
MarketplaceProductLogUpdate,
|
|
21
|
-
OsDiskImage,
|
|
22
|
-
Product,
|
|
23
|
-
ProductLink,
|
|
24
|
-
ProductList,
|
|
25
|
-
ProductLog,
|
|
26
|
-
ProductProperties,
|
|
27
|
-
Registration,
|
|
28
|
-
Resource,
|
|
29
|
-
TrackedResource
|
|
30
|
-
} from "../models/mappers";
|
|
@@ -1,26 +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
|
-
|
|
9
|
-
export {
|
|
10
|
-
ActivationKeyResult,
|
|
11
|
-
BaseResource,
|
|
12
|
-
CloudError,
|
|
13
|
-
Compatibility,
|
|
14
|
-
CustomerSubscription,
|
|
15
|
-
ErrorDetails,
|
|
16
|
-
ErrorResponse,
|
|
17
|
-
IconUris,
|
|
18
|
-
Product,
|
|
19
|
-
ProductLink,
|
|
20
|
-
ProductProperties,
|
|
21
|
-
Registration,
|
|
22
|
-
RegistrationList,
|
|
23
|
-
RegistrationParameter,
|
|
24
|
-
Resource,
|
|
25
|
-
TrackedResource
|
|
26
|
-
} from "../models/mappers";
|