@azure/arm-deviceprovisioningservices 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +70 -78
  5. package/dist/index.js +3108 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/iotDpsClient.d.ts +20 -0
  14. package/dist-esm/src/iotDpsClient.d.ts.map +1 -0
  15. package/dist-esm/src/iotDpsClient.js +53 -0
  16. package/dist-esm/src/iotDpsClient.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +825 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +72 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +36 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/mappers.js +440 -498
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +34 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/{esm → dist-esm/src}/models/parameters.js +136 -115
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/dpsCertificate.d.ts +70 -0
  34. package/dist-esm/src/operations/dpsCertificate.d.ts.map +1 -0
  35. package/dist-esm/src/operations/dpsCertificate.js +289 -0
  36. package/dist-esm/src/operations/dpsCertificate.js.map +1 -0
  37. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  38. package/dist-esm/src/operations/index.d.ts.map +1 -0
  39. package/{esm → dist-esm/src}/operations/index.js +1 -2
  40. package/dist-esm/src/operations/index.js.map +1 -0
  41. package/dist-esm/src/operations/iotDpsResource.d.ts +253 -0
  42. package/dist-esm/src/operations/iotDpsResource.d.ts.map +1 -0
  43. package/dist-esm/src/operations/iotDpsResource.js +1154 -0
  44. package/dist-esm/src/operations/iotDpsResource.js.map +1 -0
  45. package/dist-esm/src/operations/operations.d.ts +32 -0
  46. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  47. package/dist-esm/src/operations/operations.js +120 -0
  48. package/dist-esm/src/operations/operations.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/dpsCertificate.d.ts +62 -0
  50. package/dist-esm/src/operationsInterfaces/dpsCertificate.d.ts.map +1 -0
  51. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/dpsCertificate.js} +2 -2
  52. package/dist-esm/src/operationsInterfaces/dpsCertificate.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  54. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  56. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/iotDpsResource.d.ts +183 -0
  58. package/dist-esm/src/operationsInterfaces/iotDpsResource.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/iotDpsResource.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/iotDpsResource.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  62. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  63. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  64. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  65. package/dist-esm/test/sampleTest.d.ts +2 -0
  66. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  67. package/dist-esm/test/sampleTest.js +40 -0
  68. package/dist-esm/test/sampleTest.js.map +1 -0
  69. package/package.json +65 -32
  70. package/review/arm-deviceprovisioningservices.api.md +690 -0
  71. package/rollup.config.js +181 -30
  72. package/src/index.ts +12 -0
  73. package/src/iotDpsClient.ts +72 -36
  74. package/src/lroImpl.ts +34 -0
  75. package/src/models/index.ts +686 -1289
  76. package/src/models/mappers.ts +449 -505
  77. package/src/models/parameters.ts +179 -116
  78. package/src/operations/dpsCertificate.ts +201 -304
  79. package/src/operations/index.ts +1 -2
  80. package/src/operations/iotDpsResource.ts +1157 -872
  81. package/src/operations/operations.ts +85 -73
  82. package/src/operationsInterfaces/dpsCertificate.ts +118 -0
  83. package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +3 -6
  84. package/src/operationsInterfaces/iotDpsResource.ts +351 -0
  85. package/src/operationsInterfaces/operations.ts +22 -0
  86. package/tsconfig.json +3 -3
  87. package/types/arm-deviceprovisioningservices.d.ts +1205 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-deviceprovisioningservices.js +0 -2869
  90. package/dist/arm-deviceprovisioningservices.js.map +0 -1
  91. package/dist/arm-deviceprovisioningservices.min.js +0 -1
  92. package/dist/arm-deviceprovisioningservices.min.js.map +0 -1
  93. package/esm/iotDpsClient.d.ts +0 -26
  94. package/esm/iotDpsClient.d.ts.map +0 -1
  95. package/esm/iotDpsClient.js +0 -39
  96. package/esm/iotDpsClient.js.map +0 -1
  97. package/esm/iotDpsClientContext.d.ts +0 -22
  98. package/esm/iotDpsClientContext.d.ts.map +0 -1
  99. package/esm/iotDpsClientContext.js +0 -60
  100. package/esm/iotDpsClientContext.js.map +0 -1
  101. package/esm/models/dpsCertificateMappers.d.ts +0 -2
  102. package/esm/models/dpsCertificateMappers.d.ts.map +0 -1
  103. package/esm/models/dpsCertificateMappers.js +0 -9
  104. package/esm/models/dpsCertificateMappers.js.map +0 -1
  105. package/esm/models/index.d.ts +0 -1433
  106. package/esm/models/index.d.ts.map +0 -1
  107. package/esm/models/index.js.map +0 -1
  108. package/esm/models/iotDpsResourceMappers.d.ts +0 -2
  109. package/esm/models/iotDpsResourceMappers.d.ts.map +0 -1
  110. package/esm/models/iotDpsResourceMappers.js +0 -9
  111. package/esm/models/iotDpsResourceMappers.js.map +0 -1
  112. package/esm/models/mappers.d.ts +0 -38
  113. package/esm/models/mappers.d.ts.map +0 -1
  114. package/esm/models/mappers.js.map +0 -1
  115. package/esm/models/operationsMappers.d.ts +0 -2
  116. package/esm/models/operationsMappers.d.ts.map +0 -1
  117. package/esm/models/operationsMappers.js.map +0 -1
  118. package/esm/models/parameters.d.ts +0 -26
  119. package/esm/models/parameters.d.ts.map +0 -1
  120. package/esm/models/parameters.js.map +0 -1
  121. package/esm/operations/dpsCertificate.d.ts +0 -188
  122. package/esm/operations/dpsCertificate.d.ts.map +0 -1
  123. package/esm/operations/dpsCertificate.js +0 -264
  124. package/esm/operations/dpsCertificate.js.map +0 -1
  125. package/esm/operations/index.d.ts.map +0 -1
  126. package/esm/operations/index.js.map +0 -1
  127. package/esm/operations/iotDpsResource.d.ts +0 -473
  128. package/esm/operations/iotDpsResource.d.ts.map +0 -1
  129. package/esm/operations/iotDpsResource.js +0 -834
  130. package/esm/operations/iotDpsResource.js.map +0 -1
  131. package/esm/operations/operations.d.ts +0 -46
  132. package/esm/operations/operations.d.ts.map +0 -1
  133. package/esm/operations/operations.js +0 -79
  134. package/esm/operations/operations.js.map +0 -1
  135. package/src/iotDpsClientContext.ts +0 -67
  136. package/src/models/dpsCertificateMappers.ts +0 -30
  137. package/src/models/iotDpsResourceMappers.ts +0 -40
@@ -0,0 +1,289 @@
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 regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing DpsCertificate operations. */
12
+ export class DpsCertificateImpl {
13
+ /**
14
+ * Initialize a new instance of the class DpsCertificate class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Get the certificate from the provisioning service.
22
+ * @param certificateName Name of the certificate to retrieve.
23
+ * @param resourceGroupName Resource group identifier.
24
+ * @param provisioningServiceName Name of the provisioning service the certificate is associated with.
25
+ * @param options The options parameters.
26
+ */
27
+ get(certificateName, resourceGroupName, provisioningServiceName, options) {
28
+ return this.client.sendOperationRequest({ certificateName, resourceGroupName, provisioningServiceName, options }, getOperationSpec);
29
+ }
30
+ /**
31
+ * Add new certificate or update an existing certificate.
32
+ * @param resourceGroupName Resource group identifier.
33
+ * @param provisioningServiceName The name of the provisioning service.
34
+ * @param certificateName The name of the certificate create or update.
35
+ * @param certificateDescription The certificate body.
36
+ * @param options The options parameters.
37
+ */
38
+ createOrUpdate(resourceGroupName, provisioningServiceName, certificateName, certificateDescription, options) {
39
+ return this.client.sendOperationRequest({
40
+ resourceGroupName,
41
+ provisioningServiceName,
42
+ certificateName,
43
+ certificateDescription,
44
+ options
45
+ }, createOrUpdateOperationSpec);
46
+ }
47
+ /**
48
+ * Deletes the specified certificate associated with the Provisioning Service
49
+ * @param resourceGroupName Resource group identifier.
50
+ * @param ifMatch ETag of the certificate
51
+ * @param provisioningServiceName The name of the provisioning service.
52
+ * @param certificateName This is a mandatory field, and is the logical name of the certificate that
53
+ * the provisioning service will access by.
54
+ * @param options The options parameters.
55
+ */
56
+ delete(resourceGroupName, ifMatch, provisioningServiceName, certificateName, options) {
57
+ return this.client.sendOperationRequest({
58
+ resourceGroupName,
59
+ ifMatch,
60
+ provisioningServiceName,
61
+ certificateName,
62
+ options
63
+ }, deleteOperationSpec);
64
+ }
65
+ /**
66
+ * Get all the certificates tied to the provisioning service.
67
+ * @param resourceGroupName Name of resource group.
68
+ * @param provisioningServiceName Name of provisioning service to retrieve certificates for.
69
+ * @param options The options parameters.
70
+ */
71
+ list(resourceGroupName, provisioningServiceName, options) {
72
+ return this.client.sendOperationRequest({ resourceGroupName, provisioningServiceName, options }, listOperationSpec);
73
+ }
74
+ /**
75
+ * Generate verification code for Proof of Possession.
76
+ * @param certificateName The mandatory logical name of the certificate, that the provisioning service
77
+ * uses to access.
78
+ * @param ifMatch ETag of the certificate. This is required to update an existing certificate, and
79
+ * ignored while creating a brand new certificate.
80
+ * @param resourceGroupName name of resource group.
81
+ * @param provisioningServiceName Name of provisioning service.
82
+ * @param options The options parameters.
83
+ */
84
+ generateVerificationCode(certificateName, ifMatch, resourceGroupName, provisioningServiceName, options) {
85
+ return this.client.sendOperationRequest({
86
+ certificateName,
87
+ ifMatch,
88
+ resourceGroupName,
89
+ provisioningServiceName,
90
+ options
91
+ }, generateVerificationCodeOperationSpec);
92
+ }
93
+ /**
94
+ * Verifies the certificate's private key possession by providing the leaf cert issued by the verifying
95
+ * pre uploaded certificate.
96
+ * @param certificateName The mandatory logical name of the certificate, that the provisioning service
97
+ * uses to access.
98
+ * @param ifMatch ETag of the certificate.
99
+ * @param resourceGroupName Resource group name.
100
+ * @param provisioningServiceName Provisioning service name.
101
+ * @param request The name of the certificate
102
+ * @param options The options parameters.
103
+ */
104
+ verifyCertificate(certificateName, ifMatch, resourceGroupName, provisioningServiceName, request, options) {
105
+ return this.client.sendOperationRequest({
106
+ certificateName,
107
+ ifMatch,
108
+ resourceGroupName,
109
+ provisioningServiceName,
110
+ request,
111
+ options
112
+ }, verifyCertificateOperationSpec);
113
+ }
114
+ }
115
+ // Operation Specifications
116
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
117
+ const getOperationSpec = {
118
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}",
119
+ httpMethod: "GET",
120
+ responses: {
121
+ 200: {
122
+ bodyMapper: Mappers.CertificateResponse
123
+ },
124
+ default: {
125
+ bodyMapper: Mappers.ErrorDetails
126
+ }
127
+ },
128
+ queryParameters: [Parameters.apiVersion],
129
+ urlParameters: [
130
+ Parameters.$host,
131
+ Parameters.certificateName,
132
+ Parameters.subscriptionId,
133
+ Parameters.resourceGroupName,
134
+ Parameters.provisioningServiceName
135
+ ],
136
+ headerParameters: [Parameters.accept, Parameters.ifMatch],
137
+ serializer
138
+ };
139
+ const createOrUpdateOperationSpec = {
140
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}",
141
+ httpMethod: "PUT",
142
+ responses: {
143
+ 200: {
144
+ bodyMapper: Mappers.CertificateResponse
145
+ },
146
+ default: {
147
+ bodyMapper: Mappers.ErrorDetails
148
+ }
149
+ },
150
+ requestBody: Parameters.certificateDescription,
151
+ queryParameters: [Parameters.apiVersion],
152
+ urlParameters: [
153
+ Parameters.$host,
154
+ Parameters.subscriptionId,
155
+ Parameters.resourceGroupName,
156
+ Parameters.provisioningServiceName,
157
+ Parameters.certificateName1
158
+ ],
159
+ headerParameters: [
160
+ Parameters.accept,
161
+ Parameters.ifMatch,
162
+ Parameters.contentType
163
+ ],
164
+ mediaType: "json",
165
+ serializer
166
+ };
167
+ const deleteOperationSpec = {
168
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}",
169
+ httpMethod: "DELETE",
170
+ responses: {
171
+ 200: {},
172
+ 204: {},
173
+ default: {
174
+ bodyMapper: Mappers.ErrorDetails
175
+ }
176
+ },
177
+ queryParameters: [
178
+ Parameters.apiVersion,
179
+ Parameters.certificateName11,
180
+ Parameters.certificateRawBytes,
181
+ Parameters.certificateIsVerified,
182
+ Parameters.certificatePurpose,
183
+ Parameters.certificateCreated,
184
+ Parameters.certificateLastUpdated,
185
+ Parameters.certificateHasPrivateKey,
186
+ Parameters.certificateNonce
187
+ ],
188
+ urlParameters: [
189
+ Parameters.$host,
190
+ Parameters.certificateName,
191
+ Parameters.subscriptionId,
192
+ Parameters.resourceGroupName,
193
+ Parameters.provisioningServiceName
194
+ ],
195
+ headerParameters: [Parameters.accept, Parameters.ifMatch1],
196
+ serializer
197
+ };
198
+ const listOperationSpec = {
199
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates",
200
+ httpMethod: "GET",
201
+ responses: {
202
+ 200: {
203
+ bodyMapper: Mappers.CertificateListDescription
204
+ },
205
+ default: {
206
+ bodyMapper: Mappers.ErrorDetails
207
+ }
208
+ },
209
+ queryParameters: [Parameters.apiVersion],
210
+ urlParameters: [
211
+ Parameters.$host,
212
+ Parameters.subscriptionId,
213
+ Parameters.resourceGroupName,
214
+ Parameters.provisioningServiceName
215
+ ],
216
+ headerParameters: [Parameters.accept],
217
+ serializer
218
+ };
219
+ const generateVerificationCodeOperationSpec = {
220
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/generateVerificationCode",
221
+ httpMethod: "POST",
222
+ responses: {
223
+ 200: {
224
+ bodyMapper: Mappers.VerificationCodeResponse
225
+ },
226
+ default: {
227
+ bodyMapper: Mappers.ErrorDetails
228
+ }
229
+ },
230
+ queryParameters: [
231
+ Parameters.apiVersion,
232
+ Parameters.certificateName11,
233
+ Parameters.certificateRawBytes,
234
+ Parameters.certificateIsVerified,
235
+ Parameters.certificatePurpose,
236
+ Parameters.certificateCreated,
237
+ Parameters.certificateLastUpdated,
238
+ Parameters.certificateHasPrivateKey,
239
+ Parameters.certificateNonce
240
+ ],
241
+ urlParameters: [
242
+ Parameters.$host,
243
+ Parameters.certificateName,
244
+ Parameters.subscriptionId,
245
+ Parameters.resourceGroupName,
246
+ Parameters.provisioningServiceName
247
+ ],
248
+ headerParameters: [Parameters.accept, Parameters.ifMatch1],
249
+ serializer
250
+ };
251
+ const verifyCertificateOperationSpec = {
252
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify",
253
+ httpMethod: "POST",
254
+ responses: {
255
+ 200: {
256
+ bodyMapper: Mappers.CertificateResponse
257
+ },
258
+ default: {
259
+ bodyMapper: Mappers.ErrorDetails
260
+ }
261
+ },
262
+ requestBody: Parameters.request,
263
+ queryParameters: [
264
+ Parameters.apiVersion,
265
+ Parameters.certificateName11,
266
+ Parameters.certificateRawBytes,
267
+ Parameters.certificateIsVerified,
268
+ Parameters.certificatePurpose,
269
+ Parameters.certificateCreated,
270
+ Parameters.certificateLastUpdated,
271
+ Parameters.certificateHasPrivateKey,
272
+ Parameters.certificateNonce
273
+ ],
274
+ urlParameters: [
275
+ Parameters.$host,
276
+ Parameters.certificateName,
277
+ Parameters.subscriptionId,
278
+ Parameters.resourceGroupName,
279
+ Parameters.provisioningServiceName
280
+ ],
281
+ headerParameters: [
282
+ Parameters.accept,
283
+ Parameters.contentType,
284
+ Parameters.ifMatch1
285
+ ],
286
+ mediaType: "json",
287
+ serializer
288
+ };
289
+ //# sourceMappingURL=dpsCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dpsCertificate.js","sourceRoot":"","sources":["../../../src/operations/dpsCertificate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAA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;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,qBAAqB;QAChC,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,wBAAwB;QACnC,UAAU,CAAC,gBAAgB;KAC5B;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -3,8 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
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.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
  export * from "./operations";
10
9
  export * from "./dpsCertificate";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,253 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { IotDpsResource } from "../operationsInterfaces";
3
+ import { IotDpsClient } from "../iotDpsClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { ProvisioningServiceDescription, IotDpsResourceListBySubscriptionOptionalParams, IotDpsResourceListByResourceGroupOptionalParams, IotDpsSkuDefinition, IotDpsResourceListValidSkusOptionalParams, SharedAccessSignatureAuthorizationRuleAccessRightsDescription, IotDpsResourceListKeysOptionalParams, IotDpsResourceGetOptionalParams, IotDpsResourceGetResponse, IotDpsResourceCreateOrUpdateOptionalParams, IotDpsResourceCreateOrUpdateResponse, TagsResource, IotDpsResourceUpdateOptionalParams, IotDpsResourceUpdateResponse, IotDpsResourceDeleteOptionalParams, IotDpsResourceGetOperationResultOptionalParams, IotDpsResourceGetOperationResultResponse, OperationInputs, IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams, IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse, IotDpsResourceListKeysForKeyNameOptionalParams, IotDpsResourceListKeysForKeyNameResponse, IotDpsResourceListPrivateLinkResourcesOptionalParams, IotDpsResourceListPrivateLinkResourcesResponse, IotDpsResourceGetPrivateLinkResourcesOptionalParams, IotDpsResourceGetPrivateLinkResourcesResponse, IotDpsResourceListPrivateEndpointConnectionsOptionalParams, IotDpsResourceListPrivateEndpointConnectionsResponse, IotDpsResourceGetPrivateEndpointConnectionOptionalParams, IotDpsResourceGetPrivateEndpointConnectionResponse, PrivateEndpointConnection, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse, IotDpsResourceDeletePrivateEndpointConnectionOptionalParams, IotDpsResourceDeletePrivateEndpointConnectionResponse } from "../models";
6
+ /** Class containing IotDpsResource operations. */
7
+ export declare class IotDpsResourceImpl implements IotDpsResource {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class IotDpsResource class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: IotDpsClient);
14
+ /**
15
+ * List all the provisioning services for a given subscription id.
16
+ * @param options The options parameters.
17
+ */
18
+ listBySubscription(options?: IotDpsResourceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
19
+ private listBySubscriptionPagingPage;
20
+ private listBySubscriptionPagingAll;
21
+ /**
22
+ * Get a list of all provisioning services in the given resource group.
23
+ * @param resourceGroupName Resource group identifier.
24
+ * @param options The options parameters.
25
+ */
26
+ listByResourceGroup(resourceGroupName: string, options?: IotDpsResourceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
27
+ private listByResourceGroupPagingPage;
28
+ private listByResourceGroupPagingAll;
29
+ /**
30
+ * Gets the list of valid SKUs and tiers for a provisioning service.
31
+ * @param provisioningServiceName Name of provisioning service.
32
+ * @param resourceGroupName Name of resource group.
33
+ * @param options The options parameters.
34
+ */
35
+ listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListValidSkusOptionalParams): PagedAsyncIterableIterator<IotDpsSkuDefinition>;
36
+ private listValidSkusPagingPage;
37
+ private listValidSkusPagingAll;
38
+ /**
39
+ * List the primary and secondary keys for a provisioning service.
40
+ * @param provisioningServiceName The provisioning service name to get the shared access keys for.
41
+ * @param resourceGroupName resource group name
42
+ * @param options The options parameters.
43
+ */
44
+ listKeys(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListKeysOptionalParams): PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRuleAccessRightsDescription>;
45
+ private listKeysPagingPage;
46
+ private listKeysPagingAll;
47
+ /**
48
+ * Get the metadata of the provisioning service without SAS keys.
49
+ * @param provisioningServiceName Name of the provisioning service to retrieve.
50
+ * @param resourceGroupName Resource group name.
51
+ * @param options The options parameters.
52
+ */
53
+ get(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceGetOptionalParams): Promise<IotDpsResourceGetResponse>;
54
+ /**
55
+ * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
56
+ * to retrieve the provisioning service metadata and security metadata, and then combine them with the
57
+ * modified values in a new body to update the provisioning service.
58
+ * @param resourceGroupName Resource group identifier.
59
+ * @param provisioningServiceName Name of provisioning service to create or update.
60
+ * @param iotDpsDescription Description of the provisioning service to create or update.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateOrUpdate(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceCreateOrUpdateResponse>, IotDpsResourceCreateOrUpdateResponse>>;
64
+ /**
65
+ * Create or update the metadata of the provisioning service. The usual pattern to modify a property is
66
+ * to retrieve the provisioning service metadata and security metadata, and then combine them with the
67
+ * modified values in a new body to update the provisioning service.
68
+ * @param resourceGroupName Resource group identifier.
69
+ * @param provisioningServiceName Name of provisioning service to create or update.
70
+ * @param iotDpsDescription Description of the provisioning service to create or update.
71
+ * @param options The options parameters.
72
+ */
73
+ beginCreateOrUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<IotDpsResourceCreateOrUpdateResponse>;
74
+ /**
75
+ * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
76
+ * @param resourceGroupName Resource group identifier.
77
+ * @param provisioningServiceName Name of provisioning service to create or update.
78
+ * @param provisioningServiceTags Updated tag information to set into the provisioning service
79
+ * instance.
80
+ * @param options The options parameters.
81
+ */
82
+ beginUpdate(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceUpdateResponse>, IotDpsResourceUpdateResponse>>;
83
+ /**
84
+ * Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method
85
+ * @param resourceGroupName Resource group identifier.
86
+ * @param provisioningServiceName Name of provisioning service to create or update.
87
+ * @param provisioningServiceTags Updated tag information to set into the provisioning service
88
+ * instance.
89
+ * @param options The options parameters.
90
+ */
91
+ beginUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<IotDpsResourceUpdateResponse>;
92
+ /**
93
+ * Deletes the Provisioning Service.
94
+ * @param provisioningServiceName Name of provisioning service to delete.
95
+ * @param resourceGroupName Resource group identifier.
96
+ * @param options The options parameters.
97
+ */
98
+ beginDelete(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
99
+ /**
100
+ * Deletes the Provisioning Service.
101
+ * @param provisioningServiceName Name of provisioning service to delete.
102
+ * @param resourceGroupName Resource group identifier.
103
+ * @param options The options parameters.
104
+ */
105
+ beginDeleteAndWait(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<void>;
106
+ /**
107
+ * List all the provisioning services for a given subscription id.
108
+ * @param options The options parameters.
109
+ */
110
+ private _listBySubscription;
111
+ /**
112
+ * Get a list of all provisioning services in the given resource group.
113
+ * @param resourceGroupName Resource group identifier.
114
+ * @param options The options parameters.
115
+ */
116
+ private _listByResourceGroup;
117
+ /**
118
+ * Gets the status of a long running operation, such as create, update or delete a provisioning
119
+ * service.
120
+ * @param operationId Operation id corresponding to long running operation. Use this to poll for the
121
+ * status.
122
+ * @param resourceGroupName Resource group identifier.
123
+ * @param provisioningServiceName Name of provisioning service that the operation is running on.
124
+ * @param asyncinfo Async header used to poll on the status of the operation, obtained while creating
125
+ * the long running operation.
126
+ * @param options The options parameters.
127
+ */
128
+ getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: IotDpsResourceGetOperationResultOptionalParams): Promise<IotDpsResourceGetOperationResultResponse>;
129
+ /**
130
+ * Gets the list of valid SKUs and tiers for a provisioning service.
131
+ * @param provisioningServiceName Name of provisioning service.
132
+ * @param resourceGroupName Name of resource group.
133
+ * @param options The options parameters.
134
+ */
135
+ private _listValidSkus;
136
+ /**
137
+ * Check if a provisioning service name is available. This will validate if the name is syntactically
138
+ * valid and if the name is usable
139
+ * @param argumentsParam Set the name parameter in the OperationInputs structure to the name of the
140
+ * provisioning service to check.
141
+ * @param options The options parameters.
142
+ */
143
+ checkProvisioningServiceNameAvailability(argumentsParam: OperationInputs, options?: IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams): Promise<IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
144
+ /**
145
+ * List the primary and secondary keys for a provisioning service.
146
+ * @param provisioningServiceName The provisioning service name to get the shared access keys for.
147
+ * @param resourceGroupName resource group name
148
+ * @param options The options parameters.
149
+ */
150
+ private _listKeys;
151
+ /**
152
+ * List primary and secondary keys for a specific key name
153
+ * @param provisioningServiceName Name of the provisioning service.
154
+ * @param keyName Logical key name to get key-values for.
155
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
156
+ * @param options The options parameters.
157
+ */
158
+ listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: IotDpsResourceListKeysForKeyNameOptionalParams): Promise<IotDpsResourceListKeysForKeyNameResponse>;
159
+ /**
160
+ * List private link resources for the given provisioning service
161
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
162
+ * @param resourceName The name of the provisioning service.
163
+ * @param options The options parameters.
164
+ */
165
+ listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceListPrivateLinkResourcesResponse>;
166
+ /**
167
+ * Get the specified private link resource for the given provisioning service
168
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
169
+ * @param resourceName The name of the provisioning service.
170
+ * @param groupId The name of the private link resource
171
+ * @param options The options parameters.
172
+ */
173
+ getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: IotDpsResourceGetPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceGetPrivateLinkResourcesResponse>;
174
+ /**
175
+ * List private endpoint connection properties
176
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
177
+ * @param resourceName The name of the provisioning service.
178
+ * @param options The options parameters.
179
+ */
180
+ listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateEndpointConnectionsOptionalParams): Promise<IotDpsResourceListPrivateEndpointConnectionsResponse>;
181
+ /**
182
+ * Get private endpoint connection properties
183
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
184
+ * @param resourceName The name of the provisioning service.
185
+ * @param privateEndpointConnectionName The name of the private endpoint connection
186
+ * @param options The options parameters.
187
+ */
188
+ getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceGetPrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceGetPrivateEndpointConnectionResponse>;
189
+ /**
190
+ * Create or update the status of a private endpoint connection with the specified name
191
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
192
+ * @param resourceName The name of the provisioning service.
193
+ * @param privateEndpointConnectionName The name of the private endpoint connection
194
+ * @param privateEndpointConnection The private endpoint connection with updated properties
195
+ * @param options The options parameters.
196
+ */
197
+ beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>>;
198
+ /**
199
+ * Create or update the status of a private endpoint connection with the specified name
200
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
201
+ * @param resourceName The name of the provisioning service.
202
+ * @param privateEndpointConnectionName The name of the private endpoint connection
203
+ * @param privateEndpointConnection The private endpoint connection with updated properties
204
+ * @param options The options parameters.
205
+ */
206
+ beginCreateOrUpdatePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
207
+ /**
208
+ * Delete private endpoint connection with the specified name
209
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
210
+ * @param resourceName The name of the provisioning service.
211
+ * @param privateEndpointConnectionName The name of the private endpoint connection
212
+ * @param options The options parameters.
213
+ */
214
+ beginDeletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceDeletePrivateEndpointConnectionResponse>, IotDpsResourceDeletePrivateEndpointConnectionResponse>>;
215
+ /**
216
+ * Delete private endpoint connection with the specified name
217
+ * @param resourceGroupName The name of the resource group that contains the provisioning service.
218
+ * @param resourceName The name of the provisioning service.
219
+ * @param privateEndpointConnectionName The name of the private endpoint connection
220
+ * @param options The options parameters.
221
+ */
222
+ beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceDeletePrivateEndpointConnectionResponse>;
223
+ /**
224
+ * ListBySubscriptionNext
225
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
226
+ * @param options The options parameters.
227
+ */
228
+ private _listBySubscriptionNext;
229
+ /**
230
+ * ListByResourceGroupNext
231
+ * @param resourceGroupName Resource group identifier.
232
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
233
+ * @param options The options parameters.
234
+ */
235
+ private _listByResourceGroupNext;
236
+ /**
237
+ * ListValidSkusNext
238
+ * @param provisioningServiceName Name of provisioning service.
239
+ * @param resourceGroupName Name of resource group.
240
+ * @param nextLink The nextLink from the previous successful call to the ListValidSkus method.
241
+ * @param options The options parameters.
242
+ */
243
+ private _listValidSkusNext;
244
+ /**
245
+ * ListKeysNext
246
+ * @param provisioningServiceName The provisioning service name to get the shared access keys for.
247
+ * @param resourceGroupName resource group name
248
+ * @param nextLink The nextLink from the previous successful call to the ListKeys method.
249
+ * @param options The options parameters.
250
+ */
251
+ private _listKeysNext;
252
+ }
253
+ //# sourceMappingURL=iotDpsResource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iotDpsResource.d.ts","sourceRoot":"","sources":["../../../src/operations/iotDpsResource.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,8BAA8B,EAE9B,8CAA8C,EAE9C,+CAA+C,EAC/C,mBAAmB,EAEnB,yCAAyC,EACzC,6DAA6D,EAE7D,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,YAAY,EACZ,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAGlC,8CAA8C,EAC9C,wCAAwC,EAExC,eAAe,EACf,oEAAoE,EACpE,8DAA8D,EAE9D,8CAA8C,EAC9C,wCAAwC,EACxC,oDAAoD,EACpD,8CAA8C,EAC9C,mDAAmD,EACnD,6CAA6C,EAC7C,0DAA0D,EAC1D,oDAAoD,EACpD,wDAAwD,EACxD,kDAAkD,EAClD,yBAAyB,EACzB,mEAAmE,EACnE,6DAA6D,EAC7D,2DAA2D,EAC3D,qDAAqD,EAKtD,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IAEtC;;;OAGG;gBACS,MAAM,EAAE,YAAY;IAIhC;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,8CAA8C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