@azure/arm-deviceprovisioningservices 3.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/LICENSE.txt +21 -0
- package/README.md +106 -0
- package/dist/arm-deviceprovisioningservices.js +2869 -0
- package/dist/arm-deviceprovisioningservices.js.map +1 -0
- package/dist/arm-deviceprovisioningservices.min.js +1 -0
- package/dist/arm-deviceprovisioningservices.min.js.map +1 -0
- package/esm/iotDpsClient.d.ts +26 -0
- package/esm/iotDpsClient.d.ts.map +1 -0
- package/esm/iotDpsClient.js +39 -0
- package/esm/iotDpsClient.js.map +1 -0
- package/esm/iotDpsClientContext.d.ts +22 -0
- package/esm/iotDpsClientContext.d.ts.map +1 -0
- package/esm/iotDpsClientContext.js +60 -0
- package/esm/iotDpsClientContext.js.map +1 -0
- package/esm/models/dpsCertificateMappers.d.ts +2 -0
- package/esm/models/dpsCertificateMappers.d.ts.map +1 -0
- package/esm/models/dpsCertificateMappers.js +9 -0
- package/esm/models/dpsCertificateMappers.js.map +1 -0
- package/esm/models/index.d.ts +1433 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +8 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/iotDpsResourceMappers.d.ts +2 -0
- package/esm/models/iotDpsResourceMappers.d.ts.map +1 -0
- package/esm/models/iotDpsResourceMappers.js +9 -0
- package/esm/models/iotDpsResourceMappers.js.map +1 -0
- package/esm/models/mappers.d.ts +38 -0
- package/esm/models/mappers.d.ts.map +1 -0
- package/esm/models/mappers.js +1141 -0
- package/esm/models/mappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +2 -0
- package/esm/models/operationsMappers.d.ts.map +1 -0
- package/esm/models/operationsMappers.js +9 -0
- package/esm/models/operationsMappers.js.map +1 -0
- package/esm/models/parameters.d.ts +26 -0
- package/esm/models/parameters.d.ts.map +1 -0
- package/esm/models/parameters.js +272 -0
- package/esm/models/parameters.js.map +1 -0
- package/esm/operations/dpsCertificate.d.ts +188 -0
- package/esm/operations/dpsCertificate.d.ts.map +1 -0
- package/esm/operations/dpsCertificate.js +264 -0
- package/esm/operations/dpsCertificate.js.map +1 -0
- package/esm/operations/index.d.ts +4 -0
- package/esm/operations/index.d.ts.map +1 -0
- package/esm/operations/index.js +12 -0
- package/esm/operations/index.js.map +1 -0
- package/esm/operations/iotDpsResource.d.ts +473 -0
- package/esm/operations/iotDpsResource.d.ts.map +1 -0
- package/esm/operations/iotDpsResource.js +834 -0
- package/esm/operations/iotDpsResource.js.map +1 -0
- package/esm/operations/operations.d.ts +46 -0
- package/esm/operations/operations.d.ts.map +1 -0
- package/esm/operations/operations.js +79 -0
- package/esm/operations/operations.js.map +1 -0
- package/package.json +59 -0
- package/rollup.config.js +37 -0
- package/src/iotDpsClient.ts +51 -0
- package/src/iotDpsClientContext.ts +67 -0
- package/src/models/dpsCertificateMappers.ts +30 -0
- package/src/models/index.ts +1549 -0
- package/src/models/iotDpsResourceMappers.ts +40 -0
- package/src/models/mappers.ts +1181 -0
- package/src/models/operationsMappers.ts +14 -0
- package/src/models/parameters.ts +274 -0
- package/src/operations/dpsCertificate.ts +477 -0
- package/src/operations/index.ts +12 -0
- package/src/operations/iotDpsResource.ts +1310 -0
- package/src/operations/operations.ts +125 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,1310 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
12
|
+
import * as Models from "../models";
|
|
13
|
+
import * as Mappers from "../models/iotDpsResourceMappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { IotDpsClientContext } from "../iotDpsClientContext";
|
|
16
|
+
|
|
17
|
+
/** Class representing a IotDpsResource. */
|
|
18
|
+
export class IotDpsResource {
|
|
19
|
+
private readonly client: IotDpsClientContext;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a IotDpsResource.
|
|
23
|
+
* @param {IotDpsClientContext} client Reference to the service client.
|
|
24
|
+
*/
|
|
25
|
+
constructor(client: IotDpsClientContext) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Get the metadata of the provisioning service without SAS keys.
|
|
31
|
+
* @summary Get the non-security related metadata of the provisioning service.
|
|
32
|
+
* @param provisioningServiceName Name of the provisioning service to retrieve.
|
|
33
|
+
* @param resourceGroupName Resource group name.
|
|
34
|
+
* @param [options] The optional parameters
|
|
35
|
+
* @returns Promise<Models.IotDpsResourceGetResponse>
|
|
36
|
+
*/
|
|
37
|
+
get(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* @param provisioningServiceName Name of the provisioning service to retrieve.
|
|
40
|
+
* @param resourceGroupName Resource group name.
|
|
41
|
+
* @param callback The callback
|
|
42
|
+
*/
|
|
43
|
+
get(provisioningServiceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescription>): void;
|
|
44
|
+
/**
|
|
45
|
+
* @param provisioningServiceName Name of the provisioning service to retrieve.
|
|
46
|
+
* @param resourceGroupName Resource group name.
|
|
47
|
+
* @param options The optional parameters
|
|
48
|
+
* @param callback The callback
|
|
49
|
+
*/
|
|
50
|
+
get(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescription>): void;
|
|
51
|
+
get(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProvisioningServiceDescription>, callback?: msRest.ServiceCallback<Models.ProvisioningServiceDescription>): Promise<Models.IotDpsResourceGetResponse> {
|
|
52
|
+
return this.client.sendOperationRequest(
|
|
53
|
+
{
|
|
54
|
+
provisioningServiceName,
|
|
55
|
+
resourceGroupName,
|
|
56
|
+
options
|
|
57
|
+
},
|
|
58
|
+
getOperationSpec,
|
|
59
|
+
callback) as Promise<Models.IotDpsResourceGetResponse>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Create or update the metadata of the provisioning service. The usual pattern to modify a
|
|
64
|
+
* property is to retrieve the provisioning service metadata and security metadata, and then
|
|
65
|
+
* combine them with the modified values in a new body to update the provisioning service.
|
|
66
|
+
* @summary Create or update the metadata of the provisioning service.
|
|
67
|
+
* @param resourceGroupName Resource group identifier.
|
|
68
|
+
* @param provisioningServiceName Name of provisioning service to create or update.
|
|
69
|
+
* @param iotDpsDescription Description of the provisioning service to create or update.
|
|
70
|
+
* @param [options] The optional parameters
|
|
71
|
+
* @returns Promise<Models.IotDpsResourceCreateOrUpdateResponse>
|
|
72
|
+
*/
|
|
73
|
+
createOrUpdate(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: Models.ProvisioningServiceDescription, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceCreateOrUpdateResponse> {
|
|
74
|
+
return this.beginCreateOrUpdate(resourceGroupName,provisioningServiceName,iotDpsDescription,options)
|
|
75
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.IotDpsResourceCreateOrUpdateResponse>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate
|
|
80
|
+
* method
|
|
81
|
+
* @summary Update an existing provisioning service's tags.
|
|
82
|
+
* @param resourceGroupName Resource group identifier.
|
|
83
|
+
* @param provisioningServiceName Name of provisioning service to create or update.
|
|
84
|
+
* @param provisioningServiceTags Updated tag information to set into the provisioning service
|
|
85
|
+
* instance.
|
|
86
|
+
* @param [options] The optional parameters
|
|
87
|
+
* @returns Promise<Models.IotDpsResourceUpdateResponse>
|
|
88
|
+
*/
|
|
89
|
+
update(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceUpdateResponse> {
|
|
90
|
+
return this.beginUpdate(resourceGroupName,provisioningServiceName,provisioningServiceTags,options)
|
|
91
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.IotDpsResourceUpdateResponse>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Deletes the Provisioning Service.
|
|
96
|
+
* @summary Delete the Provisioning Service
|
|
97
|
+
* @param provisioningServiceName Name of provisioning service to delete.
|
|
98
|
+
* @param resourceGroupName Resource group identifier.
|
|
99
|
+
* @param [options] The optional parameters
|
|
100
|
+
* @returns Promise<msRest.RestResponse>
|
|
101
|
+
*/
|
|
102
|
+
deleteMethod(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
103
|
+
return this.beginDeleteMethod(provisioningServiceName,resourceGroupName,options)
|
|
104
|
+
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* List all the provisioning services for a given subscription id.
|
|
109
|
+
* @summary Get all the provisioning services in a subscription.
|
|
110
|
+
* @param [options] The optional parameters
|
|
111
|
+
* @returns Promise<Models.IotDpsResourceListBySubscriptionResponse>
|
|
112
|
+
*/
|
|
113
|
+
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListBySubscriptionResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* @param callback The callback
|
|
116
|
+
*/
|
|
117
|
+
listBySubscription(callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
118
|
+
/**
|
|
119
|
+
* @param options The optional parameters
|
|
120
|
+
* @param callback The callback
|
|
121
|
+
*/
|
|
122
|
+
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
123
|
+
listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>, callback?: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): Promise<Models.IotDpsResourceListBySubscriptionResponse> {
|
|
124
|
+
return this.client.sendOperationRequest(
|
|
125
|
+
{
|
|
126
|
+
options
|
|
127
|
+
},
|
|
128
|
+
listBySubscriptionOperationSpec,
|
|
129
|
+
callback) as Promise<Models.IotDpsResourceListBySubscriptionResponse>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Get a list of all provisioning services in the given resource group.
|
|
134
|
+
* @param resourceGroupName Resource group identifier.
|
|
135
|
+
* @param [options] The optional parameters
|
|
136
|
+
* @returns Promise<Models.IotDpsResourceListByResourceGroupResponse>
|
|
137
|
+
*/
|
|
138
|
+
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListByResourceGroupResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* @param resourceGroupName Resource group identifier.
|
|
141
|
+
* @param callback The callback
|
|
142
|
+
*/
|
|
143
|
+
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
144
|
+
/**
|
|
145
|
+
* @param resourceGroupName Resource group identifier.
|
|
146
|
+
* @param options The optional parameters
|
|
147
|
+
* @param callback The callback
|
|
148
|
+
*/
|
|
149
|
+
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
150
|
+
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>, callback?: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): Promise<Models.IotDpsResourceListByResourceGroupResponse> {
|
|
151
|
+
return this.client.sendOperationRequest(
|
|
152
|
+
{
|
|
153
|
+
resourceGroupName,
|
|
154
|
+
options
|
|
155
|
+
},
|
|
156
|
+
listByResourceGroupOperationSpec,
|
|
157
|
+
callback) as Promise<Models.IotDpsResourceListByResourceGroupResponse>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Gets the status of a long running operation, such as create, update or delete a provisioning
|
|
162
|
+
* service.
|
|
163
|
+
* @param operationId Operation id corresponding to long running operation. Use this to poll for
|
|
164
|
+
* the status.
|
|
165
|
+
* @param resourceGroupName Resource group identifier.
|
|
166
|
+
* @param provisioningServiceName Name of provisioning service that the operation is running on.
|
|
167
|
+
* @param asyncinfo Async header used to poll on the status of the operation, obtained while
|
|
168
|
+
* creating the long running operation.
|
|
169
|
+
* @param [options] The optional parameters
|
|
170
|
+
* @returns Promise<Models.IotDpsResourceGetOperationResultResponse>
|
|
171
|
+
*/
|
|
172
|
+
getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceGetOperationResultResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* @param operationId Operation id corresponding to long running operation. Use this to poll for
|
|
175
|
+
* the status.
|
|
176
|
+
* @param resourceGroupName Resource group identifier.
|
|
177
|
+
* @param provisioningServiceName Name of provisioning service that the operation is running on.
|
|
178
|
+
* @param asyncinfo Async header used to poll on the status of the operation, obtained while
|
|
179
|
+
* creating the long running operation.
|
|
180
|
+
* @param callback The callback
|
|
181
|
+
*/
|
|
182
|
+
getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, callback: msRest.ServiceCallback<Models.AsyncOperationResult>): void;
|
|
183
|
+
/**
|
|
184
|
+
* @param operationId Operation id corresponding to long running operation. Use this to poll for
|
|
185
|
+
* the status.
|
|
186
|
+
* @param resourceGroupName Resource group identifier.
|
|
187
|
+
* @param provisioningServiceName Name of provisioning service that the operation is running on.
|
|
188
|
+
* @param asyncinfo Async header used to poll on the status of the operation, obtained while
|
|
189
|
+
* creating the long running operation.
|
|
190
|
+
* @param options The optional parameters
|
|
191
|
+
* @param callback The callback
|
|
192
|
+
*/
|
|
193
|
+
getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AsyncOperationResult>): void;
|
|
194
|
+
getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AsyncOperationResult>, callback?: msRest.ServiceCallback<Models.AsyncOperationResult>): Promise<Models.IotDpsResourceGetOperationResultResponse> {
|
|
195
|
+
return this.client.sendOperationRequest(
|
|
196
|
+
{
|
|
197
|
+
operationId,
|
|
198
|
+
resourceGroupName,
|
|
199
|
+
provisioningServiceName,
|
|
200
|
+
asyncinfo,
|
|
201
|
+
options
|
|
202
|
+
},
|
|
203
|
+
getOperationResultOperationSpec,
|
|
204
|
+
callback) as Promise<Models.IotDpsResourceGetOperationResultResponse>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Gets the list of valid SKUs and tiers for a provisioning service.
|
|
209
|
+
* @summary Get the list of valid SKUs for a provisioning service.
|
|
210
|
+
* @param provisioningServiceName Name of provisioning service.
|
|
211
|
+
* @param resourceGroupName Name of resource group.
|
|
212
|
+
* @param [options] The optional parameters
|
|
213
|
+
* @returns Promise<Models.IotDpsResourceListValidSkusResponse>
|
|
214
|
+
*/
|
|
215
|
+
listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListValidSkusResponse>;
|
|
216
|
+
/**
|
|
217
|
+
* @param provisioningServiceName Name of provisioning service.
|
|
218
|
+
* @param resourceGroupName Name of resource group.
|
|
219
|
+
* @param callback The callback
|
|
220
|
+
*/
|
|
221
|
+
listValidSkus(provisioningServiceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): void;
|
|
222
|
+
/**
|
|
223
|
+
* @param provisioningServiceName Name of provisioning service.
|
|
224
|
+
* @param resourceGroupName Name of resource group.
|
|
225
|
+
* @param options The optional parameters
|
|
226
|
+
* @param callback The callback
|
|
227
|
+
*/
|
|
228
|
+
listValidSkus(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): void;
|
|
229
|
+
listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>, callback?: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): Promise<Models.IotDpsResourceListValidSkusResponse> {
|
|
230
|
+
return this.client.sendOperationRequest(
|
|
231
|
+
{
|
|
232
|
+
provisioningServiceName,
|
|
233
|
+
resourceGroupName,
|
|
234
|
+
options
|
|
235
|
+
},
|
|
236
|
+
listValidSkusOperationSpec,
|
|
237
|
+
callback) as Promise<Models.IotDpsResourceListValidSkusResponse>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Check if a provisioning service name is available. This will validate if the name is
|
|
242
|
+
* syntactically valid and if the name is usable
|
|
243
|
+
* @summary Check if a provisioning service name is available.
|
|
244
|
+
* @param argumentsParameter Set the name parameter in the OperationInputs structure to the name of
|
|
245
|
+
* the provisioning service to check.
|
|
246
|
+
* @param [options] The optional parameters
|
|
247
|
+
* @returns Promise<Models.IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>
|
|
248
|
+
*/
|
|
249
|
+
checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
|
|
250
|
+
/**
|
|
251
|
+
* @param argumentsParameter Set the name parameter in the OperationInputs structure to the name of
|
|
252
|
+
* the provisioning service to check.
|
|
253
|
+
* @param callback The callback
|
|
254
|
+
*/
|
|
255
|
+
checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, callback: msRest.ServiceCallback<Models.NameAvailabilityInfo>): void;
|
|
256
|
+
/**
|
|
257
|
+
* @param argumentsParameter Set the name parameter in the OperationInputs structure to the name of
|
|
258
|
+
* the provisioning service to check.
|
|
259
|
+
* @param options The optional parameters
|
|
260
|
+
* @param callback The callback
|
|
261
|
+
*/
|
|
262
|
+
checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.NameAvailabilityInfo>): void;
|
|
263
|
+
checkProvisioningServiceNameAvailability(argumentsParameter: Models.OperationInputs, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.NameAvailabilityInfo>, callback?: msRest.ServiceCallback<Models.NameAvailabilityInfo>): Promise<Models.IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse> {
|
|
264
|
+
return this.client.sendOperationRequest(
|
|
265
|
+
{
|
|
266
|
+
argumentsParameter,
|
|
267
|
+
options
|
|
268
|
+
},
|
|
269
|
+
checkProvisioningServiceNameAvailabilityOperationSpec,
|
|
270
|
+
callback) as Promise<Models.IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* List the primary and secondary keys for a provisioning service.
|
|
275
|
+
* @summary Get the security metadata for a provisioning service.
|
|
276
|
+
* @param provisioningServiceName The provisioning service name to get the shared access keys for.
|
|
277
|
+
* @param resourceGroupName resource group name
|
|
278
|
+
* @param [options] The optional parameters
|
|
279
|
+
* @returns Promise<Models.IotDpsResourceListKeysResponse>
|
|
280
|
+
*/
|
|
281
|
+
listKeys(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListKeysResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* @param provisioningServiceName The provisioning service name to get the shared access keys for.
|
|
284
|
+
* @param resourceGroupName resource group name
|
|
285
|
+
* @param callback The callback
|
|
286
|
+
*/
|
|
287
|
+
listKeys(provisioningServiceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): void;
|
|
288
|
+
/**
|
|
289
|
+
* @param provisioningServiceName The provisioning service name to get the shared access keys for.
|
|
290
|
+
* @param resourceGroupName resource group name
|
|
291
|
+
* @param options The optional parameters
|
|
292
|
+
* @param callback The callback
|
|
293
|
+
*/
|
|
294
|
+
listKeys(provisioningServiceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): void;
|
|
295
|
+
listKeys(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>, callback?: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): Promise<Models.IotDpsResourceListKeysResponse> {
|
|
296
|
+
return this.client.sendOperationRequest(
|
|
297
|
+
{
|
|
298
|
+
provisioningServiceName,
|
|
299
|
+
resourceGroupName,
|
|
300
|
+
options
|
|
301
|
+
},
|
|
302
|
+
listKeysOperationSpec,
|
|
303
|
+
callback) as Promise<Models.IotDpsResourceListKeysResponse>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* List primary and secondary keys for a specific key name
|
|
308
|
+
* @summary Get a shared access policy by name from a provisioning service.
|
|
309
|
+
* @param provisioningServiceName Name of the provisioning service.
|
|
310
|
+
* @param keyName Logical key name to get key-values for.
|
|
311
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
312
|
+
* @param [options] The optional parameters
|
|
313
|
+
* @returns Promise<Models.IotDpsResourceListKeysForKeyNameResponse>
|
|
314
|
+
*/
|
|
315
|
+
listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListKeysForKeyNameResponse>;
|
|
316
|
+
/**
|
|
317
|
+
* @param provisioningServiceName Name of the provisioning service.
|
|
318
|
+
* @param keyName Logical key name to get key-values for.
|
|
319
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
320
|
+
* @param callback The callback
|
|
321
|
+
*/
|
|
322
|
+
listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>): void;
|
|
323
|
+
/**
|
|
324
|
+
* @param provisioningServiceName Name of the provisioning service.
|
|
325
|
+
* @param keyName Logical key name to get key-values for.
|
|
326
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
327
|
+
* @param options The optional parameters
|
|
328
|
+
* @param callback The callback
|
|
329
|
+
*/
|
|
330
|
+
listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>): void;
|
|
331
|
+
listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>, callback?: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>): Promise<Models.IotDpsResourceListKeysForKeyNameResponse> {
|
|
332
|
+
return this.client.sendOperationRequest(
|
|
333
|
+
{
|
|
334
|
+
provisioningServiceName,
|
|
335
|
+
keyName,
|
|
336
|
+
resourceGroupName,
|
|
337
|
+
options
|
|
338
|
+
},
|
|
339
|
+
listKeysForKeyNameOperationSpec,
|
|
340
|
+
callback) as Promise<Models.IotDpsResourceListKeysForKeyNameResponse>;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* List private link resources for the given provisioning service
|
|
345
|
+
* @summary List private link resources
|
|
346
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
347
|
+
* @param resourceName The name of the provisioning service.
|
|
348
|
+
* @param [options] The optional parameters
|
|
349
|
+
* @returns Promise<Models.IotDpsResourceListPrivateLinkResourcesResponse>
|
|
350
|
+
*/
|
|
351
|
+
listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListPrivateLinkResourcesResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
354
|
+
* @param resourceName The name of the provisioning service.
|
|
355
|
+
* @param callback The callback
|
|
356
|
+
*/
|
|
357
|
+
listPrivateLinkResources(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.PrivateLinkResources>): void;
|
|
358
|
+
/**
|
|
359
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
360
|
+
* @param resourceName The name of the provisioning service.
|
|
361
|
+
* @param options The optional parameters
|
|
362
|
+
* @param callback The callback
|
|
363
|
+
*/
|
|
364
|
+
listPrivateLinkResources(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateLinkResources>): void;
|
|
365
|
+
listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateLinkResources>, callback?: msRest.ServiceCallback<Models.PrivateLinkResources>): Promise<Models.IotDpsResourceListPrivateLinkResourcesResponse> {
|
|
366
|
+
return this.client.sendOperationRequest(
|
|
367
|
+
{
|
|
368
|
+
resourceGroupName,
|
|
369
|
+
resourceName,
|
|
370
|
+
options
|
|
371
|
+
},
|
|
372
|
+
listPrivateLinkResourcesOperationSpec,
|
|
373
|
+
callback) as Promise<Models.IotDpsResourceListPrivateLinkResourcesResponse>;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Get the specified private link resource for the given provisioning service
|
|
378
|
+
* @summary Get the specified private link resource
|
|
379
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
380
|
+
* @param resourceName The name of the provisioning service.
|
|
381
|
+
* @param groupId The name of the private link resource
|
|
382
|
+
* @param [options] The optional parameters
|
|
383
|
+
* @returns Promise<Models.IotDpsResourceGetPrivateLinkResourcesResponse>
|
|
384
|
+
*/
|
|
385
|
+
getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceGetPrivateLinkResourcesResponse>;
|
|
386
|
+
/**
|
|
387
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
388
|
+
* @param resourceName The name of the provisioning service.
|
|
389
|
+
* @param groupId The name of the private link resource
|
|
390
|
+
* @param callback The callback
|
|
391
|
+
*/
|
|
392
|
+
getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
393
|
+
/**
|
|
394
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
395
|
+
* @param resourceName The name of the provisioning service.
|
|
396
|
+
* @param groupId The name of the private link resource
|
|
397
|
+
* @param options The optional parameters
|
|
398
|
+
* @param callback The callback
|
|
399
|
+
*/
|
|
400
|
+
getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GroupIdInformation>): void;
|
|
401
|
+
getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GroupIdInformation>, callback?: msRest.ServiceCallback<Models.GroupIdInformation>): Promise<Models.IotDpsResourceGetPrivateLinkResourcesResponse> {
|
|
402
|
+
return this.client.sendOperationRequest(
|
|
403
|
+
{
|
|
404
|
+
resourceGroupName,
|
|
405
|
+
resourceName,
|
|
406
|
+
groupId,
|
|
407
|
+
options
|
|
408
|
+
},
|
|
409
|
+
getPrivateLinkResourcesOperationSpec,
|
|
410
|
+
callback) as Promise<Models.IotDpsResourceGetPrivateLinkResourcesResponse>;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* List private endpoint connection properties
|
|
415
|
+
* @summary List private endpoint connections
|
|
416
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
417
|
+
* @param resourceName The name of the provisioning service.
|
|
418
|
+
* @param [options] The optional parameters
|
|
419
|
+
* @returns Promise<Models.IotDpsResourceListPrivateEndpointConnectionsResponse>
|
|
420
|
+
*/
|
|
421
|
+
listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListPrivateEndpointConnectionsResponse>;
|
|
422
|
+
/**
|
|
423
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
424
|
+
* @param resourceName The name of the provisioning service.
|
|
425
|
+
* @param callback The callback
|
|
426
|
+
*/
|
|
427
|
+
listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection[]>): void;
|
|
428
|
+
/**
|
|
429
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
430
|
+
* @param resourceName The name of the provisioning service.
|
|
431
|
+
* @param options The optional parameters
|
|
432
|
+
* @param callback The callback
|
|
433
|
+
*/
|
|
434
|
+
listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection[]>): void;
|
|
435
|
+
listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnection[]>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnection[]>): Promise<Models.IotDpsResourceListPrivateEndpointConnectionsResponse> {
|
|
436
|
+
return this.client.sendOperationRequest(
|
|
437
|
+
{
|
|
438
|
+
resourceGroupName,
|
|
439
|
+
resourceName,
|
|
440
|
+
options
|
|
441
|
+
},
|
|
442
|
+
listPrivateEndpointConnectionsOperationSpec,
|
|
443
|
+
callback) as Promise<Models.IotDpsResourceListPrivateEndpointConnectionsResponse>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Get private endpoint connection properties
|
|
448
|
+
* @summary Get private endpoint connection
|
|
449
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
450
|
+
* @param resourceName The name of the provisioning service.
|
|
451
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
452
|
+
* @param [options] The optional parameters
|
|
453
|
+
* @returns Promise<Models.IotDpsResourceGetPrivateEndpointConnectionResponse>
|
|
454
|
+
*/
|
|
455
|
+
getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceGetPrivateEndpointConnectionResponse>;
|
|
456
|
+
/**
|
|
457
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
458
|
+
* @param resourceName The name of the provisioning service.
|
|
459
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
460
|
+
* @param callback The callback
|
|
461
|
+
*/
|
|
462
|
+
getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
|
463
|
+
/**
|
|
464
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
465
|
+
* @param resourceName The name of the provisioning service.
|
|
466
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
467
|
+
* @param options The optional parameters
|
|
468
|
+
* @param callback The callback
|
|
469
|
+
*/
|
|
470
|
+
getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
|
471
|
+
getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnection>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnection>): Promise<Models.IotDpsResourceGetPrivateEndpointConnectionResponse> {
|
|
472
|
+
return this.client.sendOperationRequest(
|
|
473
|
+
{
|
|
474
|
+
resourceGroupName,
|
|
475
|
+
resourceName,
|
|
476
|
+
privateEndpointConnectionName,
|
|
477
|
+
options
|
|
478
|
+
},
|
|
479
|
+
getPrivateEndpointConnectionOperationSpec,
|
|
480
|
+
callback) as Promise<Models.IotDpsResourceGetPrivateEndpointConnectionResponse>;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Create or update the status of a private endpoint connection with the specified name
|
|
485
|
+
* @summary Create or update private endpoint connection
|
|
486
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
487
|
+
* @param resourceName The name of the provisioning service.
|
|
488
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
489
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
490
|
+
* @param [options] The optional parameters
|
|
491
|
+
* @returns Promise<Models.IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>
|
|
492
|
+
*/
|
|
493
|
+
createOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse> {
|
|
494
|
+
return this.beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName,resourceName,privateEndpointConnectionName,privateEndpointConnection,options)
|
|
495
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Delete private endpoint connection with the specified name
|
|
500
|
+
* @summary Delete private endpoint connection
|
|
501
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
502
|
+
* @param resourceName The name of the provisioning service.
|
|
503
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
504
|
+
* @param [options] The optional parameters
|
|
505
|
+
* @returns Promise<Models.IotDpsResourceDeletePrivateEndpointConnectionResponse>
|
|
506
|
+
*/
|
|
507
|
+
deletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceDeletePrivateEndpointConnectionResponse> {
|
|
508
|
+
return this.beginDeletePrivateEndpointConnection(resourceGroupName,resourceName,privateEndpointConnectionName,options)
|
|
509
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.IotDpsResourceDeletePrivateEndpointConnectionResponse>;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Create or update the metadata of the provisioning service. The usual pattern to modify a
|
|
514
|
+
* property is to retrieve the provisioning service metadata and security metadata, and then
|
|
515
|
+
* combine them with the modified values in a new body to update the provisioning service.
|
|
516
|
+
* @summary Create or update the metadata of the provisioning service.
|
|
517
|
+
* @param resourceGroupName Resource group identifier.
|
|
518
|
+
* @param provisioningServiceName Name of provisioning service to create or update.
|
|
519
|
+
* @param iotDpsDescription Description of the provisioning service to create or update.
|
|
520
|
+
* @param [options] The optional parameters
|
|
521
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
522
|
+
*/
|
|
523
|
+
beginCreateOrUpdate(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: Models.ProvisioningServiceDescription, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
524
|
+
return this.client.sendLRORequest(
|
|
525
|
+
{
|
|
526
|
+
resourceGroupName,
|
|
527
|
+
provisioningServiceName,
|
|
528
|
+
iotDpsDescription,
|
|
529
|
+
options
|
|
530
|
+
},
|
|
531
|
+
beginCreateOrUpdateOperationSpec,
|
|
532
|
+
options);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate
|
|
537
|
+
* method
|
|
538
|
+
* @summary Update an existing provisioning service's tags.
|
|
539
|
+
* @param resourceGroupName Resource group identifier.
|
|
540
|
+
* @param provisioningServiceName Name of provisioning service to create or update.
|
|
541
|
+
* @param provisioningServiceTags Updated tag information to set into the provisioning service
|
|
542
|
+
* instance.
|
|
543
|
+
* @param [options] The optional parameters
|
|
544
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
545
|
+
*/
|
|
546
|
+
beginUpdate(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
547
|
+
return this.client.sendLRORequest(
|
|
548
|
+
{
|
|
549
|
+
resourceGroupName,
|
|
550
|
+
provisioningServiceName,
|
|
551
|
+
provisioningServiceTags,
|
|
552
|
+
options
|
|
553
|
+
},
|
|
554
|
+
beginUpdateOperationSpec,
|
|
555
|
+
options);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Deletes the Provisioning Service.
|
|
560
|
+
* @summary Delete the Provisioning Service
|
|
561
|
+
* @param provisioningServiceName Name of provisioning service to delete.
|
|
562
|
+
* @param resourceGroupName Resource group identifier.
|
|
563
|
+
* @param [options] The optional parameters
|
|
564
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
565
|
+
*/
|
|
566
|
+
beginDeleteMethod(provisioningServiceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
567
|
+
return this.client.sendLRORequest(
|
|
568
|
+
{
|
|
569
|
+
provisioningServiceName,
|
|
570
|
+
resourceGroupName,
|
|
571
|
+
options
|
|
572
|
+
},
|
|
573
|
+
beginDeleteMethodOperationSpec,
|
|
574
|
+
options);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Create or update the status of a private endpoint connection with the specified name
|
|
579
|
+
* @summary Create or update private endpoint connection
|
|
580
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
581
|
+
* @param resourceName The name of the provisioning service.
|
|
582
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
583
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
584
|
+
* @param [options] The optional parameters
|
|
585
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
586
|
+
*/
|
|
587
|
+
beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
588
|
+
return this.client.sendLRORequest(
|
|
589
|
+
{
|
|
590
|
+
resourceGroupName,
|
|
591
|
+
resourceName,
|
|
592
|
+
privateEndpointConnectionName,
|
|
593
|
+
privateEndpointConnection,
|
|
594
|
+
options
|
|
595
|
+
},
|
|
596
|
+
beginCreateOrUpdatePrivateEndpointConnectionOperationSpec,
|
|
597
|
+
options);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Delete private endpoint connection with the specified name
|
|
602
|
+
* @summary Delete private endpoint connection
|
|
603
|
+
* @param resourceGroupName The name of the resource group that contains the provisioning service.
|
|
604
|
+
* @param resourceName The name of the provisioning service.
|
|
605
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
606
|
+
* @param [options] The optional parameters
|
|
607
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
608
|
+
*/
|
|
609
|
+
beginDeletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
610
|
+
return this.client.sendLRORequest(
|
|
611
|
+
{
|
|
612
|
+
resourceGroupName,
|
|
613
|
+
resourceName,
|
|
614
|
+
privateEndpointConnectionName,
|
|
615
|
+
options
|
|
616
|
+
},
|
|
617
|
+
beginDeletePrivateEndpointConnectionOperationSpec,
|
|
618
|
+
options);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* List all the provisioning services for a given subscription id.
|
|
623
|
+
* @summary Get all the provisioning services in a subscription.
|
|
624
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
625
|
+
* @param [options] The optional parameters
|
|
626
|
+
* @returns Promise<Models.IotDpsResourceListBySubscriptionNextResponse>
|
|
627
|
+
*/
|
|
628
|
+
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListBySubscriptionNextResponse>;
|
|
629
|
+
/**
|
|
630
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
631
|
+
* @param callback The callback
|
|
632
|
+
*/
|
|
633
|
+
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
634
|
+
/**
|
|
635
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
636
|
+
* @param options The optional parameters
|
|
637
|
+
* @param callback The callback
|
|
638
|
+
*/
|
|
639
|
+
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
640
|
+
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>, callback?: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): Promise<Models.IotDpsResourceListBySubscriptionNextResponse> {
|
|
641
|
+
return this.client.sendOperationRequest(
|
|
642
|
+
{
|
|
643
|
+
nextPageLink,
|
|
644
|
+
options
|
|
645
|
+
},
|
|
646
|
+
listBySubscriptionNextOperationSpec,
|
|
647
|
+
callback) as Promise<Models.IotDpsResourceListBySubscriptionNextResponse>;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Get a list of all provisioning services in the given resource group.
|
|
652
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
653
|
+
* @param [options] The optional parameters
|
|
654
|
+
* @returns Promise<Models.IotDpsResourceListByResourceGroupNextResponse>
|
|
655
|
+
*/
|
|
656
|
+
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListByResourceGroupNextResponse>;
|
|
657
|
+
/**
|
|
658
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
659
|
+
* @param callback The callback
|
|
660
|
+
*/
|
|
661
|
+
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
662
|
+
/**
|
|
663
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
664
|
+
* @param options The optional parameters
|
|
665
|
+
* @param callback The callback
|
|
666
|
+
*/
|
|
667
|
+
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): void;
|
|
668
|
+
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>, callback?: msRest.ServiceCallback<Models.ProvisioningServiceDescriptionListResult>): Promise<Models.IotDpsResourceListByResourceGroupNextResponse> {
|
|
669
|
+
return this.client.sendOperationRequest(
|
|
670
|
+
{
|
|
671
|
+
nextPageLink,
|
|
672
|
+
options
|
|
673
|
+
},
|
|
674
|
+
listByResourceGroupNextOperationSpec,
|
|
675
|
+
callback) as Promise<Models.IotDpsResourceListByResourceGroupNextResponse>;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Gets the list of valid SKUs and tiers for a provisioning service.
|
|
680
|
+
* @summary Get the list of valid SKUs for a provisioning service.
|
|
681
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
682
|
+
* @param [options] The optional parameters
|
|
683
|
+
* @returns Promise<Models.IotDpsResourceListValidSkusNextResponse>
|
|
684
|
+
*/
|
|
685
|
+
listValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListValidSkusNextResponse>;
|
|
686
|
+
/**
|
|
687
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
688
|
+
* @param callback The callback
|
|
689
|
+
*/
|
|
690
|
+
listValidSkusNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): void;
|
|
691
|
+
/**
|
|
692
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
693
|
+
* @param options The optional parameters
|
|
694
|
+
* @param callback The callback
|
|
695
|
+
*/
|
|
696
|
+
listValidSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): void;
|
|
697
|
+
listValidSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>, callback?: msRest.ServiceCallback<Models.IotDpsSkuDefinitionListResult>): Promise<Models.IotDpsResourceListValidSkusNextResponse> {
|
|
698
|
+
return this.client.sendOperationRequest(
|
|
699
|
+
{
|
|
700
|
+
nextPageLink,
|
|
701
|
+
options
|
|
702
|
+
},
|
|
703
|
+
listValidSkusNextOperationSpec,
|
|
704
|
+
callback) as Promise<Models.IotDpsResourceListValidSkusNextResponse>;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* List the primary and secondary keys for a provisioning service.
|
|
709
|
+
* @summary Get the security metadata for a provisioning service.
|
|
710
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
711
|
+
* @param [options] The optional parameters
|
|
712
|
+
* @returns Promise<Models.IotDpsResourceListKeysNextResponse>
|
|
713
|
+
*/
|
|
714
|
+
listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.IotDpsResourceListKeysNextResponse>;
|
|
715
|
+
/**
|
|
716
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
717
|
+
* @param callback The callback
|
|
718
|
+
*/
|
|
719
|
+
listKeysNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): void;
|
|
720
|
+
/**
|
|
721
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
722
|
+
* @param options The optional parameters
|
|
723
|
+
* @param callback The callback
|
|
724
|
+
*/
|
|
725
|
+
listKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): void;
|
|
726
|
+
listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>, callback?: msRest.ServiceCallback<Models.SharedAccessSignatureAuthorizationRuleListResult>): Promise<Models.IotDpsResourceListKeysNextResponse> {
|
|
727
|
+
return this.client.sendOperationRequest(
|
|
728
|
+
{
|
|
729
|
+
nextPageLink,
|
|
730
|
+
options
|
|
731
|
+
},
|
|
732
|
+
listKeysNextOperationSpec,
|
|
733
|
+
callback) as Promise<Models.IotDpsResourceListKeysNextResponse>;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
// Operation Specifications
|
|
738
|
+
const serializer = new msRest.Serializer(Mappers);
|
|
739
|
+
const getOperationSpec: msRest.OperationSpec = {
|
|
740
|
+
httpMethod: "GET",
|
|
741
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}",
|
|
742
|
+
urlParameters: [
|
|
743
|
+
Parameters.provisioningServiceName,
|
|
744
|
+
Parameters.subscriptionId,
|
|
745
|
+
Parameters.resourceGroupName
|
|
746
|
+
],
|
|
747
|
+
queryParameters: [
|
|
748
|
+
Parameters.apiVersion
|
|
749
|
+
],
|
|
750
|
+
headerParameters: [
|
|
751
|
+
Parameters.acceptLanguage
|
|
752
|
+
],
|
|
753
|
+
responses: {
|
|
754
|
+
200: {
|
|
755
|
+
bodyMapper: Mappers.ProvisioningServiceDescription
|
|
756
|
+
},
|
|
757
|
+
default: {
|
|
758
|
+
bodyMapper: Mappers.ErrorDetails
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
serializer
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
765
|
+
httpMethod: "GET",
|
|
766
|
+
path: "subscriptions/{subscriptionId}/providers/Microsoft.Devices/provisioningServices",
|
|
767
|
+
urlParameters: [
|
|
768
|
+
Parameters.subscriptionId
|
|
769
|
+
],
|
|
770
|
+
queryParameters: [
|
|
771
|
+
Parameters.apiVersion
|
|
772
|
+
],
|
|
773
|
+
headerParameters: [
|
|
774
|
+
Parameters.acceptLanguage
|
|
775
|
+
],
|
|
776
|
+
responses: {
|
|
777
|
+
200: {
|
|
778
|
+
bodyMapper: Mappers.ProvisioningServiceDescriptionListResult
|
|
779
|
+
},
|
|
780
|
+
default: {
|
|
781
|
+
bodyMapper: Mappers.ErrorDetails
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
serializer
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
788
|
+
httpMethod: "GET",
|
|
789
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices",
|
|
790
|
+
urlParameters: [
|
|
791
|
+
Parameters.subscriptionId,
|
|
792
|
+
Parameters.resourceGroupName
|
|
793
|
+
],
|
|
794
|
+
queryParameters: [
|
|
795
|
+
Parameters.apiVersion
|
|
796
|
+
],
|
|
797
|
+
headerParameters: [
|
|
798
|
+
Parameters.acceptLanguage
|
|
799
|
+
],
|
|
800
|
+
responses: {
|
|
801
|
+
200: {
|
|
802
|
+
bodyMapper: Mappers.ProvisioningServiceDescriptionListResult
|
|
803
|
+
},
|
|
804
|
+
default: {
|
|
805
|
+
bodyMapper: Mappers.ErrorDetails
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
serializer
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
const getOperationResultOperationSpec: msRest.OperationSpec = {
|
|
812
|
+
httpMethod: "GET",
|
|
813
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/operationresults/{operationId}",
|
|
814
|
+
urlParameters: [
|
|
815
|
+
Parameters.operationId,
|
|
816
|
+
Parameters.subscriptionId,
|
|
817
|
+
Parameters.resourceGroupName,
|
|
818
|
+
Parameters.provisioningServiceName
|
|
819
|
+
],
|
|
820
|
+
queryParameters: [
|
|
821
|
+
Parameters.asyncinfo,
|
|
822
|
+
Parameters.apiVersion
|
|
823
|
+
],
|
|
824
|
+
headerParameters: [
|
|
825
|
+
Parameters.acceptLanguage
|
|
826
|
+
],
|
|
827
|
+
responses: {
|
|
828
|
+
200: {
|
|
829
|
+
bodyMapper: Mappers.AsyncOperationResult
|
|
830
|
+
},
|
|
831
|
+
default: {
|
|
832
|
+
bodyMapper: Mappers.ErrorDetails
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
serializer
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
const listValidSkusOperationSpec: msRest.OperationSpec = {
|
|
839
|
+
httpMethod: "GET",
|
|
840
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/skus",
|
|
841
|
+
urlParameters: [
|
|
842
|
+
Parameters.provisioningServiceName,
|
|
843
|
+
Parameters.subscriptionId,
|
|
844
|
+
Parameters.resourceGroupName
|
|
845
|
+
],
|
|
846
|
+
queryParameters: [
|
|
847
|
+
Parameters.apiVersion
|
|
848
|
+
],
|
|
849
|
+
headerParameters: [
|
|
850
|
+
Parameters.acceptLanguage
|
|
851
|
+
],
|
|
852
|
+
responses: {
|
|
853
|
+
200: {
|
|
854
|
+
bodyMapper: Mappers.IotDpsSkuDefinitionListResult
|
|
855
|
+
},
|
|
856
|
+
default: {
|
|
857
|
+
bodyMapper: Mappers.ErrorDetails
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
serializer
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
const checkProvisioningServiceNameAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
864
|
+
httpMethod: "POST",
|
|
865
|
+
path: "subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability",
|
|
866
|
+
urlParameters: [
|
|
867
|
+
Parameters.subscriptionId
|
|
868
|
+
],
|
|
869
|
+
queryParameters: [
|
|
870
|
+
Parameters.apiVersion
|
|
871
|
+
],
|
|
872
|
+
headerParameters: [
|
|
873
|
+
Parameters.acceptLanguage
|
|
874
|
+
],
|
|
875
|
+
requestBody: {
|
|
876
|
+
parameterPath: "argumentsParameter",
|
|
877
|
+
mapper: {
|
|
878
|
+
...Mappers.OperationInputs,
|
|
879
|
+
required: true
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
responses: {
|
|
883
|
+
200: {
|
|
884
|
+
bodyMapper: Mappers.NameAvailabilityInfo
|
|
885
|
+
},
|
|
886
|
+
default: {
|
|
887
|
+
bodyMapper: Mappers.ErrorDetails
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
serializer
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
const listKeysOperationSpec: msRest.OperationSpec = {
|
|
894
|
+
httpMethod: "POST",
|
|
895
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/listkeys",
|
|
896
|
+
urlParameters: [
|
|
897
|
+
Parameters.provisioningServiceName,
|
|
898
|
+
Parameters.subscriptionId,
|
|
899
|
+
Parameters.resourceGroupName
|
|
900
|
+
],
|
|
901
|
+
queryParameters: [
|
|
902
|
+
Parameters.apiVersion
|
|
903
|
+
],
|
|
904
|
+
headerParameters: [
|
|
905
|
+
Parameters.acceptLanguage
|
|
906
|
+
],
|
|
907
|
+
responses: {
|
|
908
|
+
200: {
|
|
909
|
+
bodyMapper: Mappers.SharedAccessSignatureAuthorizationRuleListResult
|
|
910
|
+
},
|
|
911
|
+
default: {
|
|
912
|
+
bodyMapper: Mappers.ErrorDetails
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
serializer
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
const listKeysForKeyNameOperationSpec: msRest.OperationSpec = {
|
|
919
|
+
httpMethod: "POST",
|
|
920
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys",
|
|
921
|
+
urlParameters: [
|
|
922
|
+
Parameters.provisioningServiceName,
|
|
923
|
+
Parameters.keyName,
|
|
924
|
+
Parameters.subscriptionId,
|
|
925
|
+
Parameters.resourceGroupName
|
|
926
|
+
],
|
|
927
|
+
queryParameters: [
|
|
928
|
+
Parameters.apiVersion
|
|
929
|
+
],
|
|
930
|
+
headerParameters: [
|
|
931
|
+
Parameters.acceptLanguage
|
|
932
|
+
],
|
|
933
|
+
responses: {
|
|
934
|
+
200: {
|
|
935
|
+
bodyMapper: Mappers.SharedAccessSignatureAuthorizationRuleAccessRightsDescription
|
|
936
|
+
},
|
|
937
|
+
default: {
|
|
938
|
+
bodyMapper: Mappers.ErrorDetails
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
serializer
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
const listPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
|
|
945
|
+
httpMethod: "GET",
|
|
946
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateLinkResources",
|
|
947
|
+
urlParameters: [
|
|
948
|
+
Parameters.subscriptionId,
|
|
949
|
+
Parameters.resourceGroupName,
|
|
950
|
+
Parameters.resourceName
|
|
951
|
+
],
|
|
952
|
+
queryParameters: [
|
|
953
|
+
Parameters.apiVersion
|
|
954
|
+
],
|
|
955
|
+
headerParameters: [
|
|
956
|
+
Parameters.acceptLanguage
|
|
957
|
+
],
|
|
958
|
+
responses: {
|
|
959
|
+
200: {
|
|
960
|
+
bodyMapper: Mappers.PrivateLinkResources
|
|
961
|
+
},
|
|
962
|
+
default: {
|
|
963
|
+
bodyMapper: Mappers.ErrorDetails
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
serializer
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
|
|
970
|
+
httpMethod: "GET",
|
|
971
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateLinkResources/{groupId}",
|
|
972
|
+
urlParameters: [
|
|
973
|
+
Parameters.subscriptionId,
|
|
974
|
+
Parameters.resourceGroupName,
|
|
975
|
+
Parameters.resourceName,
|
|
976
|
+
Parameters.groupId
|
|
977
|
+
],
|
|
978
|
+
queryParameters: [
|
|
979
|
+
Parameters.apiVersion
|
|
980
|
+
],
|
|
981
|
+
headerParameters: [
|
|
982
|
+
Parameters.acceptLanguage
|
|
983
|
+
],
|
|
984
|
+
responses: {
|
|
985
|
+
200: {
|
|
986
|
+
bodyMapper: Mappers.GroupIdInformation
|
|
987
|
+
},
|
|
988
|
+
default: {
|
|
989
|
+
bodyMapper: Mappers.ErrorDetails
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
serializer
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = {
|
|
996
|
+
httpMethod: "GET",
|
|
997
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateEndpointConnections",
|
|
998
|
+
urlParameters: [
|
|
999
|
+
Parameters.subscriptionId,
|
|
1000
|
+
Parameters.resourceGroupName,
|
|
1001
|
+
Parameters.resourceName
|
|
1002
|
+
],
|
|
1003
|
+
queryParameters: [
|
|
1004
|
+
Parameters.apiVersion
|
|
1005
|
+
],
|
|
1006
|
+
headerParameters: [
|
|
1007
|
+
Parameters.acceptLanguage
|
|
1008
|
+
],
|
|
1009
|
+
responses: {
|
|
1010
|
+
200: {
|
|
1011
|
+
bodyMapper: {
|
|
1012
|
+
serializedName: "parsedResponse",
|
|
1013
|
+
type: {
|
|
1014
|
+
name: "Sequence",
|
|
1015
|
+
element: {
|
|
1016
|
+
type: {
|
|
1017
|
+
name: "Composite",
|
|
1018
|
+
className: "PrivateEndpointConnection"
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
default: {
|
|
1025
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
serializer
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
const getPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
|
|
1032
|
+
httpMethod: "GET",
|
|
1033
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1034
|
+
urlParameters: [
|
|
1035
|
+
Parameters.subscriptionId,
|
|
1036
|
+
Parameters.resourceGroupName,
|
|
1037
|
+
Parameters.resourceName,
|
|
1038
|
+
Parameters.privateEndpointConnectionName
|
|
1039
|
+
],
|
|
1040
|
+
queryParameters: [
|
|
1041
|
+
Parameters.apiVersion
|
|
1042
|
+
],
|
|
1043
|
+
headerParameters: [
|
|
1044
|
+
Parameters.acceptLanguage
|
|
1045
|
+
],
|
|
1046
|
+
responses: {
|
|
1047
|
+
200: {
|
|
1048
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
1049
|
+
},
|
|
1050
|
+
default: {
|
|
1051
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
serializer
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
1058
|
+
httpMethod: "PUT",
|
|
1059
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}",
|
|
1060
|
+
urlParameters: [
|
|
1061
|
+
Parameters.subscriptionId,
|
|
1062
|
+
Parameters.resourceGroupName,
|
|
1063
|
+
Parameters.provisioningServiceName
|
|
1064
|
+
],
|
|
1065
|
+
queryParameters: [
|
|
1066
|
+
Parameters.apiVersion
|
|
1067
|
+
],
|
|
1068
|
+
headerParameters: [
|
|
1069
|
+
Parameters.acceptLanguage
|
|
1070
|
+
],
|
|
1071
|
+
requestBody: {
|
|
1072
|
+
parameterPath: "iotDpsDescription",
|
|
1073
|
+
mapper: {
|
|
1074
|
+
...Mappers.ProvisioningServiceDescription,
|
|
1075
|
+
required: true
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
responses: {
|
|
1079
|
+
200: {
|
|
1080
|
+
bodyMapper: Mappers.ProvisioningServiceDescription
|
|
1081
|
+
},
|
|
1082
|
+
201: {
|
|
1083
|
+
bodyMapper: Mappers.ProvisioningServiceDescription
|
|
1084
|
+
},
|
|
1085
|
+
default: {
|
|
1086
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
serializer
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
1093
|
+
httpMethod: "PATCH",
|
|
1094
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}",
|
|
1095
|
+
urlParameters: [
|
|
1096
|
+
Parameters.subscriptionId,
|
|
1097
|
+
Parameters.resourceGroupName,
|
|
1098
|
+
Parameters.provisioningServiceName
|
|
1099
|
+
],
|
|
1100
|
+
queryParameters: [
|
|
1101
|
+
Parameters.apiVersion
|
|
1102
|
+
],
|
|
1103
|
+
headerParameters: [
|
|
1104
|
+
Parameters.acceptLanguage
|
|
1105
|
+
],
|
|
1106
|
+
requestBody: {
|
|
1107
|
+
parameterPath: "provisioningServiceTags",
|
|
1108
|
+
mapper: {
|
|
1109
|
+
...Mappers.TagsResource,
|
|
1110
|
+
required: true
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
responses: {
|
|
1114
|
+
200: {
|
|
1115
|
+
bodyMapper: Mappers.ProvisioningServiceDescription
|
|
1116
|
+
},
|
|
1117
|
+
default: {
|
|
1118
|
+
bodyMapper: Mappers.CloudError
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
serializer
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
1125
|
+
httpMethod: "DELETE",
|
|
1126
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}",
|
|
1127
|
+
urlParameters: [
|
|
1128
|
+
Parameters.provisioningServiceName,
|
|
1129
|
+
Parameters.subscriptionId,
|
|
1130
|
+
Parameters.resourceGroupName
|
|
1131
|
+
],
|
|
1132
|
+
queryParameters: [
|
|
1133
|
+
Parameters.apiVersion
|
|
1134
|
+
],
|
|
1135
|
+
headerParameters: [
|
|
1136
|
+
Parameters.acceptLanguage
|
|
1137
|
+
],
|
|
1138
|
+
responses: {
|
|
1139
|
+
200: {},
|
|
1140
|
+
202: {},
|
|
1141
|
+
204: {},
|
|
1142
|
+
404: {},
|
|
1143
|
+
default: {
|
|
1144
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
serializer
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
const beginCreateOrUpdatePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
|
|
1151
|
+
httpMethod: "PUT",
|
|
1152
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1153
|
+
urlParameters: [
|
|
1154
|
+
Parameters.subscriptionId,
|
|
1155
|
+
Parameters.resourceGroupName,
|
|
1156
|
+
Parameters.resourceName,
|
|
1157
|
+
Parameters.privateEndpointConnectionName
|
|
1158
|
+
],
|
|
1159
|
+
queryParameters: [
|
|
1160
|
+
Parameters.apiVersion
|
|
1161
|
+
],
|
|
1162
|
+
headerParameters: [
|
|
1163
|
+
Parameters.acceptLanguage
|
|
1164
|
+
],
|
|
1165
|
+
requestBody: {
|
|
1166
|
+
parameterPath: "privateEndpointConnection",
|
|
1167
|
+
mapper: {
|
|
1168
|
+
...Mappers.PrivateEndpointConnection,
|
|
1169
|
+
required: true
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
responses: {
|
|
1173
|
+
200: {
|
|
1174
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
1175
|
+
},
|
|
1176
|
+
201: {
|
|
1177
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
1178
|
+
},
|
|
1179
|
+
default: {
|
|
1180
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
serializer
|
|
1184
|
+
};
|
|
1185
|
+
|
|
1186
|
+
const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
|
|
1187
|
+
httpMethod: "DELETE",
|
|
1188
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1189
|
+
urlParameters: [
|
|
1190
|
+
Parameters.subscriptionId,
|
|
1191
|
+
Parameters.resourceGroupName,
|
|
1192
|
+
Parameters.resourceName,
|
|
1193
|
+
Parameters.privateEndpointConnectionName
|
|
1194
|
+
],
|
|
1195
|
+
queryParameters: [
|
|
1196
|
+
Parameters.apiVersion
|
|
1197
|
+
],
|
|
1198
|
+
headerParameters: [
|
|
1199
|
+
Parameters.acceptLanguage
|
|
1200
|
+
],
|
|
1201
|
+
responses: {
|
|
1202
|
+
200: {
|
|
1203
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
1204
|
+
},
|
|
1205
|
+
202: {
|
|
1206
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
1207
|
+
},
|
|
1208
|
+
204: {},
|
|
1209
|
+
default: {
|
|
1210
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
serializer
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
1217
|
+
httpMethod: "GET",
|
|
1218
|
+
baseUrl: "https://management.azure.com",
|
|
1219
|
+
path: "{nextLink}",
|
|
1220
|
+
urlParameters: [
|
|
1221
|
+
Parameters.nextPageLink
|
|
1222
|
+
],
|
|
1223
|
+
queryParameters: [
|
|
1224
|
+
Parameters.apiVersion
|
|
1225
|
+
],
|
|
1226
|
+
headerParameters: [
|
|
1227
|
+
Parameters.acceptLanguage
|
|
1228
|
+
],
|
|
1229
|
+
responses: {
|
|
1230
|
+
200: {
|
|
1231
|
+
bodyMapper: Mappers.ProvisioningServiceDescriptionListResult
|
|
1232
|
+
},
|
|
1233
|
+
default: {
|
|
1234
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
serializer
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
1241
|
+
httpMethod: "GET",
|
|
1242
|
+
baseUrl: "https://management.azure.com",
|
|
1243
|
+
path: "{nextLink}",
|
|
1244
|
+
urlParameters: [
|
|
1245
|
+
Parameters.nextPageLink
|
|
1246
|
+
],
|
|
1247
|
+
queryParameters: [
|
|
1248
|
+
Parameters.apiVersion
|
|
1249
|
+
],
|
|
1250
|
+
headerParameters: [
|
|
1251
|
+
Parameters.acceptLanguage
|
|
1252
|
+
],
|
|
1253
|
+
responses: {
|
|
1254
|
+
200: {
|
|
1255
|
+
bodyMapper: Mappers.ProvisioningServiceDescriptionListResult
|
|
1256
|
+
},
|
|
1257
|
+
default: {
|
|
1258
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
serializer
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
const listValidSkusNextOperationSpec: msRest.OperationSpec = {
|
|
1265
|
+
httpMethod: "GET",
|
|
1266
|
+
baseUrl: "https://management.azure.com",
|
|
1267
|
+
path: "{nextLink}",
|
|
1268
|
+
urlParameters: [
|
|
1269
|
+
Parameters.nextPageLink
|
|
1270
|
+
],
|
|
1271
|
+
queryParameters: [
|
|
1272
|
+
Parameters.apiVersion
|
|
1273
|
+
],
|
|
1274
|
+
headerParameters: [
|
|
1275
|
+
Parameters.acceptLanguage
|
|
1276
|
+
],
|
|
1277
|
+
responses: {
|
|
1278
|
+
200: {
|
|
1279
|
+
bodyMapper: Mappers.IotDpsSkuDefinitionListResult
|
|
1280
|
+
},
|
|
1281
|
+
default: {
|
|
1282
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
serializer
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
const listKeysNextOperationSpec: msRest.OperationSpec = {
|
|
1289
|
+
httpMethod: "POST",
|
|
1290
|
+
baseUrl: "https://management.azure.com",
|
|
1291
|
+
path: "{nextLink}",
|
|
1292
|
+
urlParameters: [
|
|
1293
|
+
Parameters.nextPageLink
|
|
1294
|
+
],
|
|
1295
|
+
queryParameters: [
|
|
1296
|
+
Parameters.apiVersion
|
|
1297
|
+
],
|
|
1298
|
+
headerParameters: [
|
|
1299
|
+
Parameters.acceptLanguage
|
|
1300
|
+
],
|
|
1301
|
+
responses: {
|
|
1302
|
+
200: {
|
|
1303
|
+
bodyMapper: Mappers.SharedAccessSignatureAuthorizationRuleListResult
|
|
1304
|
+
},
|
|
1305
|
+
default: {
|
|
1306
|
+
bodyMapper: Mappers.ErrorDetails
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
serializer
|
|
1310
|
+
};
|