@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,121 +1,201 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Registrations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { AzureStackManagementClient } from "../azureStackManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
Registration,
|
|
17
|
+
RegistrationsListNextOptionalParams,
|
|
18
|
+
RegistrationsListOptionalParams,
|
|
19
|
+
RegistrationsListBySubscriptionNextOptionalParams,
|
|
20
|
+
RegistrationsListBySubscriptionOptionalParams,
|
|
21
|
+
RegistrationsListResponse,
|
|
22
|
+
RegistrationsListBySubscriptionResponse,
|
|
23
|
+
RegistrationsGetOptionalParams,
|
|
24
|
+
RegistrationsGetResponse,
|
|
25
|
+
RegistrationsDeleteOptionalParams,
|
|
26
|
+
RegistrationParameter,
|
|
27
|
+
RegistrationsCreateOrUpdateOptionalParams,
|
|
28
|
+
RegistrationsCreateOrUpdateResponse,
|
|
29
|
+
RegistrationsUpdateOptionalParams,
|
|
30
|
+
RegistrationsUpdateResponse,
|
|
31
|
+
RegistrationsGetActivationKeyOptionalParams,
|
|
32
|
+
RegistrationsGetActivationKeyResponse,
|
|
33
|
+
RegistrationsEnableRemoteManagementOptionalParams,
|
|
34
|
+
RegistrationsListNextResponse,
|
|
35
|
+
RegistrationsListBySubscriptionNextResponse
|
|
36
|
+
} from "../models";
|
|
16
37
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
38
|
+
/// <reference lib="esnext.asynciterable" />
|
|
39
|
+
/** Class containing Registrations operations. */
|
|
40
|
+
export class RegistrationsImpl implements Registrations {
|
|
41
|
+
private readonly client: AzureStackManagementClient;
|
|
20
42
|
|
|
21
43
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
44
|
+
* Initialize a new instance of the class Registrations class.
|
|
45
|
+
* @param client Reference to the service client
|
|
24
46
|
*/
|
|
25
|
-
constructor(client:
|
|
47
|
+
constructor(client: AzureStackManagementClient) {
|
|
26
48
|
this.client = client;
|
|
27
49
|
}
|
|
28
50
|
|
|
29
51
|
/**
|
|
30
52
|
* Returns a list of all registrations.
|
|
31
53
|
* @param resourceGroup Name of the resource group.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.RegistrationsListResponse>
|
|
54
|
+
* @param options The options parameters.
|
|
34
55
|
*/
|
|
35
|
-
list(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
56
|
+
public list(
|
|
57
|
+
resourceGroup: string,
|
|
58
|
+
options?: RegistrationsListOptionalParams
|
|
59
|
+
): PagedAsyncIterableIterator<Registration> {
|
|
60
|
+
const iter = this.listPagingAll(resourceGroup, options);
|
|
61
|
+
return {
|
|
62
|
+
next() {
|
|
63
|
+
return iter.next();
|
|
64
|
+
},
|
|
65
|
+
[Symbol.asyncIterator]() {
|
|
66
|
+
return this;
|
|
67
|
+
},
|
|
68
|
+
byPage: () => {
|
|
69
|
+
return this.listPagingPage(resourceGroup, options);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private async *listPagingPage(
|
|
75
|
+
resourceGroup: string,
|
|
76
|
+
options?: RegistrationsListOptionalParams
|
|
77
|
+
): AsyncIterableIterator<Registration[]> {
|
|
78
|
+
let result = await this._list(resourceGroup, options);
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
let continuationToken = result.nextLink;
|
|
81
|
+
while (continuationToken) {
|
|
82
|
+
result = await this._listNext(resourceGroup, continuationToken, options);
|
|
83
|
+
continuationToken = result.nextLink;
|
|
84
|
+
yield result.value || [];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
private async *listPagingAll(
|
|
89
|
+
resourceGroup: string,
|
|
90
|
+
options?: RegistrationsListOptionalParams
|
|
91
|
+
): AsyncIterableIterator<Registration> {
|
|
92
|
+
for await (const page of this.listPagingPage(resourceGroup, options)) {
|
|
93
|
+
yield* page;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
41
97
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @param options The
|
|
44
|
-
* @param callback The callback
|
|
98
|
+
* Returns a list of all registrations under current subscription.
|
|
99
|
+
* @param options The options parameters.
|
|
45
100
|
*/
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
101
|
+
public listBySubscription(
|
|
102
|
+
options?: RegistrationsListBySubscriptionOptionalParams
|
|
103
|
+
): PagedAsyncIterableIterator<Registration> {
|
|
104
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
105
|
+
return {
|
|
106
|
+
next() {
|
|
107
|
+
return iter.next();
|
|
52
108
|
},
|
|
53
|
-
|
|
54
|
-
|
|
109
|
+
[Symbol.asyncIterator]() {
|
|
110
|
+
return this;
|
|
111
|
+
},
|
|
112
|
+
byPage: () => {
|
|
113
|
+
return this.listBySubscriptionPagingPage(options);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
private async *listBySubscriptionPagingPage(
|
|
119
|
+
options?: RegistrationsListBySubscriptionOptionalParams
|
|
120
|
+
): AsyncIterableIterator<Registration[]> {
|
|
121
|
+
let result = await this._listBySubscription(options);
|
|
122
|
+
yield result.value || [];
|
|
123
|
+
let continuationToken = result.nextLink;
|
|
124
|
+
while (continuationToken) {
|
|
125
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
126
|
+
continuationToken = result.nextLink;
|
|
127
|
+
yield result.value || [];
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
private async *listBySubscriptionPagingAll(
|
|
132
|
+
options?: RegistrationsListBySubscriptionOptionalParams
|
|
133
|
+
): AsyncIterableIterator<Registration> {
|
|
134
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
135
|
+
yield* page;
|
|
136
|
+
}
|
|
55
137
|
}
|
|
56
138
|
|
|
57
139
|
/**
|
|
58
|
-
* Returns
|
|
140
|
+
* Returns a list of all registrations.
|
|
59
141
|
* @param resourceGroup Name of the resource group.
|
|
60
|
-
* @param
|
|
61
|
-
* @param [options] The optional parameters
|
|
62
|
-
* @returns Promise<Models.RegistrationsGetResponse>
|
|
142
|
+
* @param options The options parameters.
|
|
63
143
|
*/
|
|
64
|
-
|
|
144
|
+
private _list(
|
|
145
|
+
resourceGroup: string,
|
|
146
|
+
options?: RegistrationsListOptionalParams
|
|
147
|
+
): Promise<RegistrationsListResponse> {
|
|
148
|
+
return this.client.sendOperationRequest(
|
|
149
|
+
{ resourceGroup, options },
|
|
150
|
+
listOperationSpec
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
|
|
65
154
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @param
|
|
68
|
-
* @param callback The callback
|
|
155
|
+
* Returns a list of all registrations under current subscription.
|
|
156
|
+
* @param options The options parameters.
|
|
69
157
|
*/
|
|
70
|
-
|
|
158
|
+
private _listBySubscription(
|
|
159
|
+
options?: RegistrationsListBySubscriptionOptionalParams
|
|
160
|
+
): Promise<RegistrationsListBySubscriptionResponse> {
|
|
161
|
+
return this.client.sendOperationRequest(
|
|
162
|
+
{ options },
|
|
163
|
+
listBySubscriptionOperationSpec
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
71
167
|
/**
|
|
168
|
+
* Returns the properties of an Azure Stack registration.
|
|
72
169
|
* @param resourceGroup Name of the resource group.
|
|
73
170
|
* @param registrationName Name of the Azure Stack registration.
|
|
74
|
-
* @param options The
|
|
75
|
-
* @param callback The callback
|
|
171
|
+
* @param options The options parameters.
|
|
76
172
|
*/
|
|
77
|
-
get(
|
|
78
|
-
|
|
173
|
+
get(
|
|
174
|
+
resourceGroup: string,
|
|
175
|
+
registrationName: string,
|
|
176
|
+
options?: RegistrationsGetOptionalParams
|
|
177
|
+
): Promise<RegistrationsGetResponse> {
|
|
79
178
|
return this.client.sendOperationRequest(
|
|
80
|
-
{
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
options
|
|
84
|
-
},
|
|
85
|
-
getOperationSpec,
|
|
86
|
-
callback) as Promise<Models.RegistrationsGetResponse>;
|
|
179
|
+
{ resourceGroup, registrationName, options },
|
|
180
|
+
getOperationSpec
|
|
181
|
+
);
|
|
87
182
|
}
|
|
88
183
|
|
|
89
184
|
/**
|
|
90
185
|
* Delete the requested Azure Stack registration.
|
|
91
186
|
* @param resourceGroup Name of the resource group.
|
|
92
187
|
* @param registrationName Name of the Azure Stack registration.
|
|
93
|
-
* @param
|
|
94
|
-
* @returns Promise<msRest.RestResponse>
|
|
95
|
-
*/
|
|
96
|
-
deleteMethod(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
97
|
-
/**
|
|
98
|
-
* @param resourceGroup Name of the resource group.
|
|
99
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
100
|
-
* @param callback The callback
|
|
188
|
+
* @param options The options parameters.
|
|
101
189
|
*/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
* @param callback The callback
|
|
108
|
-
*/
|
|
109
|
-
deleteMethod(resourceGroup: string, registrationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
110
|
-
deleteMethod(resourceGroup: string, registrationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
190
|
+
delete(
|
|
191
|
+
resourceGroup: string,
|
|
192
|
+
registrationName: string,
|
|
193
|
+
options?: RegistrationsDeleteOptionalParams
|
|
194
|
+
): Promise<void> {
|
|
111
195
|
return this.client.sendOperationRequest(
|
|
112
|
-
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
options
|
|
116
|
-
},
|
|
117
|
-
deleteMethodOperationSpec,
|
|
118
|
-
callback);
|
|
196
|
+
{ resourceGroup, registrationName, options },
|
|
197
|
+
deleteOperationSpec
|
|
198
|
+
);
|
|
119
199
|
}
|
|
120
200
|
|
|
121
201
|
/**
|
|
@@ -123,35 +203,18 @@ export class Registrations {
|
|
|
123
203
|
* @param resourceGroup Name of the resource group.
|
|
124
204
|
* @param registrationName Name of the Azure Stack registration.
|
|
125
205
|
* @param token Registration token
|
|
126
|
-
* @param
|
|
127
|
-
* @returns Promise<Models.RegistrationsCreateOrUpdateResponse>
|
|
128
|
-
*/
|
|
129
|
-
createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsCreateOrUpdateResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* @param resourceGroup Name of the resource group.
|
|
132
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
133
|
-
* @param token Registration token
|
|
134
|
-
* @param callback The callback
|
|
135
|
-
*/
|
|
136
|
-
createOrUpdate(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
137
|
-
/**
|
|
138
|
-
* @param resourceGroup Name of the resource group.
|
|
139
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
140
|
-
* @param token Registration token
|
|
141
|
-
* @param options The optional parameters
|
|
142
|
-
* @param callback The callback
|
|
206
|
+
* @param options The options parameters.
|
|
143
207
|
*/
|
|
144
|
-
createOrUpdate(
|
|
145
|
-
|
|
208
|
+
createOrUpdate(
|
|
209
|
+
resourceGroup: string,
|
|
210
|
+
registrationName: string,
|
|
211
|
+
token: RegistrationParameter,
|
|
212
|
+
options?: RegistrationsCreateOrUpdateOptionalParams
|
|
213
|
+
): Promise<RegistrationsCreateOrUpdateResponse> {
|
|
146
214
|
return this.client.sendOperationRequest(
|
|
147
|
-
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
token,
|
|
151
|
-
options
|
|
152
|
-
},
|
|
153
|
-
createOrUpdateOperationSpec,
|
|
154
|
-
callback) as Promise<Models.RegistrationsCreateOrUpdateResponse>;
|
|
215
|
+
{ resourceGroup, registrationName, token, options },
|
|
216
|
+
createOrUpdateOperationSpec
|
|
217
|
+
);
|
|
155
218
|
}
|
|
156
219
|
|
|
157
220
|
/**
|
|
@@ -159,113 +222,114 @@ export class Registrations {
|
|
|
159
222
|
* @param resourceGroup Name of the resource group.
|
|
160
223
|
* @param registrationName Name of the Azure Stack registration.
|
|
161
224
|
* @param token Registration token
|
|
162
|
-
* @param
|
|
163
|
-
* @returns Promise<Models.RegistrationsUpdateResponse>
|
|
225
|
+
* @param options The options parameters.
|
|
164
226
|
*/
|
|
165
|
-
update(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
*/
|
|
172
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
173
|
-
/**
|
|
174
|
-
* @param resourceGroup Name of the resource group.
|
|
175
|
-
* @param registrationName Name of the Azure Stack registration.
|
|
176
|
-
* @param token Registration token
|
|
177
|
-
* @param options The optional parameters
|
|
178
|
-
* @param callback The callback
|
|
179
|
-
*/
|
|
180
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Registration>): void;
|
|
181
|
-
update(resourceGroup: string, registrationName: string, token: Models.RegistrationParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Registration>, callback?: msRest.ServiceCallback<Models.Registration>): Promise<Models.RegistrationsUpdateResponse> {
|
|
227
|
+
update(
|
|
228
|
+
resourceGroup: string,
|
|
229
|
+
registrationName: string,
|
|
230
|
+
token: RegistrationParameter,
|
|
231
|
+
options?: RegistrationsUpdateOptionalParams
|
|
232
|
+
): Promise<RegistrationsUpdateResponse> {
|
|
182
233
|
return this.client.sendOperationRequest(
|
|
183
|
-
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
token,
|
|
187
|
-
options
|
|
188
|
-
},
|
|
189
|
-
updateOperationSpec,
|
|
190
|
-
callback) as Promise<Models.RegistrationsUpdateResponse>;
|
|
234
|
+
{ resourceGroup, registrationName, token, options },
|
|
235
|
+
updateOperationSpec
|
|
236
|
+
);
|
|
191
237
|
}
|
|
192
238
|
|
|
193
239
|
/**
|
|
194
240
|
* Returns Azure Stack Activation Key.
|
|
195
241
|
* @param resourceGroup Name of the resource group.
|
|
196
242
|
* @param registrationName Name of the Azure Stack registration.
|
|
197
|
-
* @param
|
|
198
|
-
* @returns Promise<Models.RegistrationsGetActivationKeyResponse>
|
|
243
|
+
* @param options The options parameters.
|
|
199
244
|
*/
|
|
200
|
-
getActivationKey(
|
|
245
|
+
getActivationKey(
|
|
246
|
+
resourceGroup: string,
|
|
247
|
+
registrationName: string,
|
|
248
|
+
options?: RegistrationsGetActivationKeyOptionalParams
|
|
249
|
+
): Promise<RegistrationsGetActivationKeyResponse> {
|
|
250
|
+
return this.client.sendOperationRequest(
|
|
251
|
+
{ resourceGroup, registrationName, options },
|
|
252
|
+
getActivationKeyOperationSpec
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
|
|
201
256
|
/**
|
|
257
|
+
* Enables remote management for device under the Azure Stack registration.
|
|
202
258
|
* @param resourceGroup Name of the resource group.
|
|
203
259
|
* @param registrationName Name of the Azure Stack registration.
|
|
204
|
-
* @param
|
|
260
|
+
* @param options The options parameters.
|
|
205
261
|
*/
|
|
206
|
-
|
|
262
|
+
enableRemoteManagement(
|
|
263
|
+
resourceGroup: string,
|
|
264
|
+
registrationName: string,
|
|
265
|
+
options?: RegistrationsEnableRemoteManagementOptionalParams
|
|
266
|
+
): Promise<void> {
|
|
267
|
+
return this.client.sendOperationRequest(
|
|
268
|
+
{ resourceGroup, registrationName, options },
|
|
269
|
+
enableRemoteManagementOperationSpec
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
|
|
207
273
|
/**
|
|
274
|
+
* ListNext
|
|
208
275
|
* @param resourceGroup Name of the resource group.
|
|
209
|
-
* @param
|
|
210
|
-
* @param options The
|
|
211
|
-
* @param callback The callback
|
|
276
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
277
|
+
* @param options The options parameters.
|
|
212
278
|
*/
|
|
213
|
-
|
|
214
|
-
|
|
279
|
+
private _listNext(
|
|
280
|
+
resourceGroup: string,
|
|
281
|
+
nextLink: string,
|
|
282
|
+
options?: RegistrationsListNextOptionalParams
|
|
283
|
+
): Promise<RegistrationsListNextResponse> {
|
|
215
284
|
return this.client.sendOperationRequest(
|
|
216
|
-
{
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
options
|
|
220
|
-
},
|
|
221
|
-
getActivationKeyOperationSpec,
|
|
222
|
-
callback) as Promise<Models.RegistrationsGetActivationKeyResponse>;
|
|
285
|
+
{ resourceGroup, nextLink, options },
|
|
286
|
+
listNextOperationSpec
|
|
287
|
+
);
|
|
223
288
|
}
|
|
224
289
|
|
|
225
290
|
/**
|
|
226
|
-
*
|
|
227
|
-
* @param
|
|
228
|
-
* @param
|
|
229
|
-
* @returns Promise<Models.RegistrationsListNextResponse>
|
|
230
|
-
*/
|
|
231
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RegistrationsListNextResponse>;
|
|
232
|
-
/**
|
|
233
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
234
|
-
* @param callback The callback
|
|
235
|
-
*/
|
|
236
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RegistrationList>): void;
|
|
237
|
-
/**
|
|
238
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
239
|
-
* @param options The optional parameters
|
|
240
|
-
* @param callback The callback
|
|
291
|
+
* ListBySubscriptionNext
|
|
292
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
293
|
+
* @param options The options parameters.
|
|
241
294
|
*/
|
|
242
|
-
|
|
243
|
-
|
|
295
|
+
private _listBySubscriptionNext(
|
|
296
|
+
nextLink: string,
|
|
297
|
+
options?: RegistrationsListBySubscriptionNextOptionalParams
|
|
298
|
+
): Promise<RegistrationsListBySubscriptionNextResponse> {
|
|
244
299
|
return this.client.sendOperationRequest(
|
|
245
|
-
{
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
},
|
|
249
|
-
listNextOperationSpec,
|
|
250
|
-
callback) as Promise<Models.RegistrationsListNextResponse>;
|
|
300
|
+
{ nextLink, options },
|
|
301
|
+
listBySubscriptionNextOperationSpec
|
|
302
|
+
);
|
|
251
303
|
}
|
|
252
304
|
}
|
|
253
|
-
|
|
254
305
|
// Operation Specifications
|
|
255
|
-
const serializer =
|
|
256
|
-
|
|
306
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
307
|
+
|
|
308
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
309
|
+
path:
|
|
310
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
|
|
257
311
|
httpMethod: "GET",
|
|
258
|
-
|
|
312
|
+
responses: {
|
|
313
|
+
200: {
|
|
314
|
+
bodyMapper: Mappers.RegistrationList
|
|
315
|
+
},
|
|
316
|
+
default: {
|
|
317
|
+
bodyMapper: Mappers.ErrorResponse
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
queryParameters: [Parameters.apiVersion],
|
|
259
321
|
urlParameters: [
|
|
322
|
+
Parameters.$host,
|
|
260
323
|
Parameters.subscriptionId,
|
|
261
324
|
Parameters.resourceGroup
|
|
262
325
|
],
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
326
|
+
headerParameters: [Parameters.accept],
|
|
327
|
+
serializer
|
|
328
|
+
};
|
|
329
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
330
|
+
path:
|
|
331
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",
|
|
332
|
+
httpMethod: "GET",
|
|
269
333
|
responses: {
|
|
270
334
|
200: {
|
|
271
335
|
bodyMapper: Mappers.RegistrationList
|
|
@@ -274,23 +338,15 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
274
338
|
bodyMapper: Mappers.ErrorResponse
|
|
275
339
|
}
|
|
276
340
|
},
|
|
341
|
+
queryParameters: [Parameters.apiVersion],
|
|
342
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
343
|
+
headerParameters: [Parameters.accept],
|
|
277
344
|
serializer
|
|
278
345
|
};
|
|
279
|
-
|
|
280
|
-
|
|
346
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
347
|
+
path:
|
|
348
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
281
349
|
httpMethod: "GET",
|
|
282
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
283
|
-
urlParameters: [
|
|
284
|
-
Parameters.subscriptionId,
|
|
285
|
-
Parameters.resourceGroup,
|
|
286
|
-
Parameters.registrationName
|
|
287
|
-
],
|
|
288
|
-
queryParameters: [
|
|
289
|
-
Parameters.apiVersion
|
|
290
|
-
],
|
|
291
|
-
headerParameters: [
|
|
292
|
-
Parameters.acceptLanguage
|
|
293
|
-
],
|
|
294
350
|
responses: {
|
|
295
351
|
200: {
|
|
296
352
|
bodyMapper: Mappers.Registration
|
|
@@ -299,23 +355,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
299
355
|
bodyMapper: Mappers.ErrorResponse
|
|
300
356
|
}
|
|
301
357
|
},
|
|
302
|
-
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
306
|
-
httpMethod: "DELETE",
|
|
307
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
358
|
+
queryParameters: [Parameters.apiVersion],
|
|
308
359
|
urlParameters: [
|
|
360
|
+
Parameters.$host,
|
|
309
361
|
Parameters.subscriptionId,
|
|
310
362
|
Parameters.resourceGroup,
|
|
311
363
|
Parameters.registrationName
|
|
312
364
|
],
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
365
|
+
headerParameters: [Parameters.accept],
|
|
366
|
+
serializer
|
|
367
|
+
};
|
|
368
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
369
|
+
path:
|
|
370
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
371
|
+
httpMethod: "DELETE",
|
|
319
372
|
responses: {
|
|
320
373
|
200: {},
|
|
321
374
|
204: {},
|
|
@@ -323,30 +376,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
|
323
376
|
bodyMapper: Mappers.ErrorResponse
|
|
324
377
|
}
|
|
325
378
|
},
|
|
326
|
-
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
330
|
-
httpMethod: "PUT",
|
|
331
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
379
|
+
queryParameters: [Parameters.apiVersion],
|
|
332
380
|
urlParameters: [
|
|
381
|
+
Parameters.$host,
|
|
333
382
|
Parameters.subscriptionId,
|
|
334
383
|
Parameters.resourceGroup,
|
|
335
384
|
Parameters.registrationName
|
|
336
385
|
],
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
parameterPath: "token",
|
|
345
|
-
mapper: {
|
|
346
|
-
...Mappers.RegistrationParameter,
|
|
347
|
-
required: true
|
|
348
|
-
}
|
|
349
|
-
},
|
|
386
|
+
headerParameters: [Parameters.accept],
|
|
387
|
+
serializer
|
|
388
|
+
};
|
|
389
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
390
|
+
path:
|
|
391
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
392
|
+
httpMethod: "PUT",
|
|
350
393
|
responses: {
|
|
351
394
|
200: {
|
|
352
395
|
bodyMapper: Mappers.Registration
|
|
@@ -355,79 +398,110 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
355
398
|
bodyMapper: Mappers.Registration
|
|
356
399
|
},
|
|
357
400
|
default: {
|
|
358
|
-
bodyMapper: Mappers.
|
|
401
|
+
bodyMapper: Mappers.ErrorResponse
|
|
359
402
|
}
|
|
360
403
|
},
|
|
404
|
+
requestBody: Parameters.token,
|
|
405
|
+
queryParameters: [Parameters.apiVersion],
|
|
406
|
+
urlParameters: [
|
|
407
|
+
Parameters.$host,
|
|
408
|
+
Parameters.subscriptionId,
|
|
409
|
+
Parameters.resourceGroup,
|
|
410
|
+
Parameters.registrationName
|
|
411
|
+
],
|
|
412
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
413
|
+
mediaType: "json",
|
|
361
414
|
serializer
|
|
362
415
|
};
|
|
363
|
-
|
|
364
|
-
|
|
416
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
417
|
+
path:
|
|
418
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
365
419
|
httpMethod: "PATCH",
|
|
366
|
-
|
|
420
|
+
responses: {
|
|
421
|
+
200: {
|
|
422
|
+
bodyMapper: Mappers.Registration
|
|
423
|
+
},
|
|
424
|
+
default: {
|
|
425
|
+
bodyMapper: Mappers.ErrorResponse
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
requestBody: Parameters.token,
|
|
429
|
+
queryParameters: [Parameters.apiVersion],
|
|
367
430
|
urlParameters: [
|
|
431
|
+
Parameters.$host,
|
|
368
432
|
Parameters.subscriptionId,
|
|
369
433
|
Parameters.resourceGroup,
|
|
370
434
|
Parameters.registrationName
|
|
371
435
|
],
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
mapper: {
|
|
381
|
-
...Mappers.RegistrationParameter,
|
|
382
|
-
required: true
|
|
383
|
-
}
|
|
384
|
-
},
|
|
436
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
437
|
+
mediaType: "json",
|
|
438
|
+
serializer
|
|
439
|
+
};
|
|
440
|
+
const getActivationKeyOperationSpec: coreClient.OperationSpec = {
|
|
441
|
+
path:
|
|
442
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
|
|
443
|
+
httpMethod: "POST",
|
|
385
444
|
responses: {
|
|
386
445
|
200: {
|
|
387
|
-
bodyMapper: Mappers.
|
|
446
|
+
bodyMapper: Mappers.ActivationKeyResult
|
|
388
447
|
},
|
|
389
448
|
default: {
|
|
390
449
|
bodyMapper: Mappers.ErrorResponse
|
|
391
450
|
}
|
|
392
451
|
},
|
|
452
|
+
queryParameters: [Parameters.apiVersion],
|
|
453
|
+
urlParameters: [
|
|
454
|
+
Parameters.$host,
|
|
455
|
+
Parameters.subscriptionId,
|
|
456
|
+
Parameters.resourceGroup,
|
|
457
|
+
Parameters.registrationName
|
|
458
|
+
],
|
|
459
|
+
headerParameters: [Parameters.accept],
|
|
393
460
|
serializer
|
|
394
461
|
};
|
|
395
|
-
|
|
396
|
-
|
|
462
|
+
const enableRemoteManagementOperationSpec: coreClient.OperationSpec = {
|
|
463
|
+
path:
|
|
464
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",
|
|
397
465
|
httpMethod: "POST",
|
|
398
|
-
|
|
466
|
+
responses: {
|
|
467
|
+
200: {},
|
|
468
|
+
default: {
|
|
469
|
+
bodyMapper: Mappers.ErrorResponse
|
|
470
|
+
}
|
|
471
|
+
},
|
|
399
472
|
urlParameters: [
|
|
473
|
+
Parameters.$host,
|
|
400
474
|
Parameters.subscriptionId,
|
|
401
475
|
Parameters.resourceGroup,
|
|
402
476
|
Parameters.registrationName
|
|
403
477
|
],
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
478
|
+
headerParameters: [Parameters.accept],
|
|
479
|
+
serializer
|
|
480
|
+
};
|
|
481
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
482
|
+
path: "{nextLink}",
|
|
483
|
+
httpMethod: "GET",
|
|
410
484
|
responses: {
|
|
411
485
|
200: {
|
|
412
|
-
bodyMapper: Mappers.
|
|
486
|
+
bodyMapper: Mappers.RegistrationList
|
|
413
487
|
},
|
|
414
488
|
default: {
|
|
415
|
-
bodyMapper: Mappers.
|
|
489
|
+
bodyMapper: Mappers.ErrorResponse
|
|
416
490
|
}
|
|
417
491
|
},
|
|
492
|
+
queryParameters: [Parameters.apiVersion],
|
|
493
|
+
urlParameters: [
|
|
494
|
+
Parameters.$host,
|
|
495
|
+
Parameters.nextLink,
|
|
496
|
+
Parameters.subscriptionId,
|
|
497
|
+
Parameters.resourceGroup
|
|
498
|
+
],
|
|
499
|
+
headerParameters: [Parameters.accept],
|
|
418
500
|
serializer
|
|
419
501
|
};
|
|
420
|
-
|
|
421
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
422
|
-
httpMethod: "GET",
|
|
423
|
-
baseUrl: "https://management.azure.com",
|
|
502
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
424
503
|
path: "{nextLink}",
|
|
425
|
-
|
|
426
|
-
Parameters.nextPageLink
|
|
427
|
-
],
|
|
428
|
-
headerParameters: [
|
|
429
|
-
Parameters.acceptLanguage
|
|
430
|
-
],
|
|
504
|
+
httpMethod: "GET",
|
|
431
505
|
responses: {
|
|
432
506
|
200: {
|
|
433
507
|
bodyMapper: Mappers.RegistrationList
|
|
@@ -436,5 +510,12 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
436
510
|
bodyMapper: Mappers.ErrorResponse
|
|
437
511
|
}
|
|
438
512
|
},
|
|
513
|
+
queryParameters: [Parameters.apiVersion],
|
|
514
|
+
urlParameters: [
|
|
515
|
+
Parameters.$host,
|
|
516
|
+
Parameters.nextLink,
|
|
517
|
+
Parameters.subscriptionId
|
|
518
|
+
],
|
|
519
|
+
headerParameters: [Parameters.accept],
|
|
439
520
|
serializer
|
|
440
521
|
};
|