@azure/arm-deviceprovisioningservices 2.1.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 (147) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  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 +565 -322
  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/dist-esm/src/models/parameters.js +293 -0
  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 +3 -5
  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/dist-esm/src/operationsInterfaces/dpsCertificate.js +9 -0
  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/dist-esm/src/operationsInterfaces/operations.js +9 -0
  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 +70 -34
  70. package/review/arm-deviceprovisioningservices.api.md +690 -0
  71. package/rollup.config.js +184 -27
  72. package/src/index.ts +12 -0
  73. package/src/iotDpsClient.ts +87 -0
  74. package/src/lroImpl.ts +34 -0
  75. package/src/models/index.ts +946 -0
  76. package/{lib → src}/models/mappers.ts +576 -323
  77. package/src/models/parameters.ts +337 -0
  78. package/src/operations/dpsCertificate.ts +374 -0
  79. package/{lib → src}/operations/index.ts +3 -5
  80. package/src/operations/iotDpsResource.ts +1595 -0
  81. package/src/operations/operations.ts +137 -0
  82. package/src/operationsInterfaces/dpsCertificate.ts +118 -0
  83. package/src/operationsInterfaces/index.ts +11 -0
  84. package/src/operationsInterfaces/iotDpsResource.ts +351 -0
  85. package/src/operationsInterfaces/operations.ts +22 -0
  86. package/tsconfig.json +4 -4
  87. package/types/arm-deviceprovisioningservices.d.ts +1205 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-deviceprovisioningservices.js +0 -2251
  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 -20
  94. package/esm/iotDpsClient.d.ts.map +0 -1
  95. package/esm/iotDpsClient.js +0 -35
  96. package/esm/iotDpsClient.js.map +0 -1
  97. package/esm/iotDpsClientContext.d.ts +0 -16
  98. package/esm/iotDpsClientContext.d.ts.map +0 -1
  99. package/esm/iotDpsClientContext.js +0 -56
  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 -11
  104. package/esm/models/dpsCertificateMappers.js.map +0 -1
  105. package/esm/models/index.d.ts +0 -1273
  106. package/esm/models/index.d.ts.map +0 -1
  107. package/esm/models/index.js +0 -10
  108. package/esm/models/index.js.map +0 -1
  109. package/esm/models/iotDpsResourceMappers.d.ts +0 -2
  110. package/esm/models/iotDpsResourceMappers.d.ts.map +0 -1
  111. package/esm/models/iotDpsResourceMappers.js +0 -11
  112. package/esm/models/iotDpsResourceMappers.js.map +0 -1
  113. package/esm/models/mappers.d.ts +0 -30
  114. package/esm/models/mappers.d.ts.map +0 -1
  115. package/esm/models/mappers.js.map +0 -1
  116. package/esm/models/operationsMappers.d.ts +0 -2
  117. package/esm/models/operationsMappers.d.ts.map +0 -1
  118. package/esm/models/operationsMappers.js +0 -11
  119. package/esm/models/operationsMappers.js.map +0 -1
  120. package/esm/models/parameters.d.ts +0 -23
  121. package/esm/models/parameters.d.ts.map +0 -1
  122. package/esm/models/parameters.js +0 -243
  123. package/esm/models/parameters.js.map +0 -1
  124. package/esm/operations/dpsCertificate.d.ts +0 -188
  125. package/esm/operations/dpsCertificate.d.ts.map +0 -1
  126. package/esm/operations/dpsCertificate.js +0 -265
  127. package/esm/operations/dpsCertificate.js.map +0 -1
  128. package/esm/operations/index.d.ts.map +0 -1
  129. package/esm/operations/index.js.map +0 -1
  130. package/esm/operations/iotDpsResource.d.ts +0 -337
  131. package/esm/operations/iotDpsResource.d.ts.map +0 -1
  132. package/esm/operations/iotDpsResource.js +0 -560
  133. package/esm/operations/iotDpsResource.js.map +0 -1
  134. package/esm/operations/operations.d.ts +0 -46
  135. package/esm/operations/operations.d.ts.map +0 -1
  136. package/esm/operations/operations.js +0 -77
  137. package/esm/operations/operations.js.map +0 -1
  138. package/lib/iotDpsClient.ts +0 -46
  139. package/lib/iotDpsClientContext.ts +0 -62
  140. package/lib/models/dpsCertificateMappers.ts +0 -28
  141. package/lib/models/index.ts +0 -1342
  142. package/lib/models/iotDpsResourceMappers.ts +0 -35
  143. package/lib/models/operationsMappers.ts +0 -17
  144. package/lib/models/parameters.ts +0 -245
  145. package/lib/operations/dpsCertificate.ts +0 -478
  146. package/lib/operations/iotDpsResource.ts +0 -907
  147. package/lib/operations/operations.ts +0 -123
@@ -0,0 +1,690 @@
1
+ ## API Report File for "@azure/arm-deviceprovisioningservices"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type AccessRightsDescription = string;
15
+
16
+ // @public
17
+ export type AllocationPolicy = string;
18
+
19
+ // @public
20
+ export interface AsyncOperationResult {
21
+ error?: ErrorMesssage;
22
+ status?: string;
23
+ }
24
+
25
+ // @public
26
+ export interface CertificateBodyDescription {
27
+ certificate?: string;
28
+ isVerified?: boolean;
29
+ }
30
+
31
+ // @public
32
+ export interface CertificateListDescription {
33
+ value?: CertificateResponse[];
34
+ }
35
+
36
+ // @public
37
+ export interface CertificateProperties {
38
+ readonly certificate?: Uint8Array;
39
+ readonly created?: Date;
40
+ readonly expiry?: Date;
41
+ readonly isVerified?: boolean;
42
+ readonly subject?: string;
43
+ readonly thumbprint?: string;
44
+ readonly updated?: Date;
45
+ }
46
+
47
+ // @public
48
+ export type CertificatePurpose = string;
49
+
50
+ // @public
51
+ export interface CertificateResponse {
52
+ readonly etag?: string;
53
+ readonly id?: string;
54
+ readonly name?: string;
55
+ properties?: CertificateProperties;
56
+ readonly type?: string;
57
+ }
58
+
59
+ // @public
60
+ export interface DpsCertificate {
61
+ createOrUpdate(resourceGroupName: string, provisioningServiceName: string, certificateName: string, certificateDescription: CertificateBodyDescription, options?: DpsCertificateCreateOrUpdateOptionalParams): Promise<DpsCertificateCreateOrUpdateResponse>;
62
+ delete(resourceGroupName: string, ifMatch: string, provisioningServiceName: string, certificateName: string, options?: DpsCertificateDeleteOptionalParams): Promise<void>;
63
+ generateVerificationCode(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateGenerateVerificationCodeOptionalParams): Promise<DpsCertificateGenerateVerificationCodeResponse>;
64
+ get(certificateName: string, resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateGetOptionalParams): Promise<DpsCertificateGetResponse>;
65
+ list(resourceGroupName: string, provisioningServiceName: string, options?: DpsCertificateListOptionalParams): Promise<DpsCertificateListResponse>;
66
+ verifyCertificate(certificateName: string, ifMatch: string, resourceGroupName: string, provisioningServiceName: string, request: VerificationCodeRequest, options?: DpsCertificateVerifyCertificateOptionalParams): Promise<DpsCertificateVerifyCertificateResponse>;
67
+ }
68
+
69
+ // @public
70
+ export interface DpsCertificateCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
71
+ ifMatch?: string;
72
+ }
73
+
74
+ // @public
75
+ export type DpsCertificateCreateOrUpdateResponse = CertificateResponse;
76
+
77
+ // @public
78
+ export interface DpsCertificateDeleteOptionalParams extends coreClient.OperationOptions {
79
+ certificateCreated?: Date;
80
+ certificateHasPrivateKey?: boolean;
81
+ certificateIsVerified?: boolean;
82
+ certificateLastUpdated?: Date;
83
+ certificateName1?: string;
84
+ certificateNonce?: string;
85
+ certificatePurpose?: CertificatePurpose;
86
+ certificateRawBytes?: Uint8Array;
87
+ }
88
+
89
+ // @public
90
+ export interface DpsCertificateGenerateVerificationCodeOptionalParams extends coreClient.OperationOptions {
91
+ certificateCreated?: Date;
92
+ certificateHasPrivateKey?: boolean;
93
+ certificateIsVerified?: boolean;
94
+ certificateLastUpdated?: Date;
95
+ certificateName1?: string;
96
+ certificateNonce?: string;
97
+ certificatePurpose?: CertificatePurpose;
98
+ certificateRawBytes?: Uint8Array;
99
+ }
100
+
101
+ // @public
102
+ export type DpsCertificateGenerateVerificationCodeResponse = VerificationCodeResponse;
103
+
104
+ // @public
105
+ export interface DpsCertificateGetOptionalParams extends coreClient.OperationOptions {
106
+ ifMatch?: string;
107
+ }
108
+
109
+ // @public
110
+ export type DpsCertificateGetResponse = CertificateResponse;
111
+
112
+ // @public
113
+ export interface DpsCertificateListOptionalParams extends coreClient.OperationOptions {
114
+ }
115
+
116
+ // @public
117
+ export type DpsCertificateListResponse = CertificateListDescription;
118
+
119
+ // @public
120
+ export interface DpsCertificateVerifyCertificateOptionalParams extends coreClient.OperationOptions {
121
+ certificateCreated?: Date;
122
+ certificateHasPrivateKey?: boolean;
123
+ certificateIsVerified?: boolean;
124
+ certificateLastUpdated?: Date;
125
+ certificateName1?: string;
126
+ certificateNonce?: string;
127
+ certificatePurpose?: CertificatePurpose;
128
+ certificateRawBytes?: Uint8Array;
129
+ }
130
+
131
+ // @public
132
+ export type DpsCertificateVerifyCertificateResponse = CertificateResponse;
133
+
134
+ // @public
135
+ export interface ErrorDetails {
136
+ readonly code?: string;
137
+ readonly details?: string;
138
+ readonly httpStatusCode?: string;
139
+ readonly message?: string;
140
+ }
141
+
142
+ // @public
143
+ export interface ErrorMesssage {
144
+ code?: string;
145
+ details?: string;
146
+ message?: string;
147
+ }
148
+
149
+ // @public
150
+ export interface GroupIdInformation {
151
+ readonly id?: string;
152
+ readonly name?: string;
153
+ properties: GroupIdInformationProperties;
154
+ readonly type?: string;
155
+ }
156
+
157
+ // @public
158
+ export interface GroupIdInformationProperties {
159
+ groupId?: string;
160
+ requiredMembers?: string[];
161
+ requiredZoneNames?: string[];
162
+ }
163
+
164
+ // @public (undocumented)
165
+ export class IotDpsClient extends coreClient.ServiceClient {
166
+ // (undocumented)
167
+ $host: string;
168
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IotDpsClientOptionalParams);
169
+ // (undocumented)
170
+ apiVersion: string;
171
+ // (undocumented)
172
+ dpsCertificate: DpsCertificate;
173
+ // (undocumented)
174
+ iotDpsResource: IotDpsResource;
175
+ // (undocumented)
176
+ operations: Operations;
177
+ // (undocumented)
178
+ subscriptionId: string;
179
+ }
180
+
181
+ // @public
182
+ export interface IotDpsClientOptionalParams extends coreClient.ServiceClientOptions {
183
+ $host?: string;
184
+ apiVersion?: string;
185
+ endpoint?: string;
186
+ }
187
+
188
+ // @public
189
+ export interface IotDpsPropertiesDescription {
190
+ allocationPolicy?: AllocationPolicy;
191
+ authorizationPolicies?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
192
+ readonly deviceProvisioningHostName?: string;
193
+ readonly idScope?: string;
194
+ iotHubs?: IotHubDefinitionDescription[];
195
+ ipFilterRules?: IpFilterRule[];
196
+ privateEndpointConnections?: PrivateEndpointConnection[];
197
+ provisioningState?: string;
198
+ publicNetworkAccess?: PublicNetworkAccess;
199
+ readonly serviceOperationsHostName?: string;
200
+ state?: State;
201
+ }
202
+
203
+ // @public
204
+ export interface IotDpsResource {
205
+ beginCreateOrUpdate(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceCreateOrUpdateResponse>, IotDpsResourceCreateOrUpdateResponse>>;
206
+ beginCreateOrUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<IotDpsResourceCreateOrUpdateResponse>;
207
+ beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>>;
208
+ beginCreateOrUpdatePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
209
+ beginDelete(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
210
+ beginDeleteAndWait(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<void>;
211
+ beginDeletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceDeletePrivateEndpointConnectionResponse>, IotDpsResourceDeletePrivateEndpointConnectionResponse>>;
212
+ beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceDeletePrivateEndpointConnectionResponse>;
213
+ beginUpdate(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<PollerLike<PollOperationState<IotDpsResourceUpdateResponse>, IotDpsResourceUpdateResponse>>;
214
+ beginUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<IotDpsResourceUpdateResponse>;
215
+ checkProvisioningServiceNameAvailability(argumentsParam: OperationInputs, options?: IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams): Promise<IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
216
+ get(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceGetOptionalParams): Promise<IotDpsResourceGetResponse>;
217
+ getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: IotDpsResourceGetOperationResultOptionalParams): Promise<IotDpsResourceGetOperationResultResponse>;
218
+ getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceGetPrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceGetPrivateEndpointConnectionResponse>;
219
+ getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: IotDpsResourceGetPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceGetPrivateLinkResourcesResponse>;
220
+ listByResourceGroup(resourceGroupName: string, options?: IotDpsResourceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
221
+ listBySubscription(options?: IotDpsResourceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
222
+ listKeys(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListKeysOptionalParams): PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRuleAccessRightsDescription>;
223
+ listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: IotDpsResourceListKeysForKeyNameOptionalParams): Promise<IotDpsResourceListKeysForKeyNameResponse>;
224
+ listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateEndpointConnectionsOptionalParams): Promise<IotDpsResourceListPrivateEndpointConnectionsResponse>;
225
+ listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceListPrivateLinkResourcesResponse>;
226
+ listValidSkus(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListValidSkusOptionalParams): PagedAsyncIterableIterator<IotDpsSkuDefinition>;
227
+ }
228
+
229
+ // @public
230
+ export interface IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams extends coreClient.OperationOptions {
231
+ }
232
+
233
+ // @public
234
+ export type IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse = NameAvailabilityInfo;
235
+
236
+ // @public
237
+ export interface IotDpsResourceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
238
+ resumeFrom?: string;
239
+ updateIntervalInMs?: number;
240
+ }
241
+
242
+ // @public
243
+ export interface IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
244
+ resumeFrom?: string;
245
+ updateIntervalInMs?: number;
246
+ }
247
+
248
+ // @public
249
+ export type IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse = PrivateEndpointConnection;
250
+
251
+ // @public
252
+ export type IotDpsResourceCreateOrUpdateResponse = ProvisioningServiceDescription;
253
+
254
+ // @public
255
+ export interface IotDpsResourceDeleteOptionalParams extends coreClient.OperationOptions {
256
+ resumeFrom?: string;
257
+ updateIntervalInMs?: number;
258
+ }
259
+
260
+ // @public
261
+ export interface IotDpsResourceDeletePrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
262
+ resumeFrom?: string;
263
+ updateIntervalInMs?: number;
264
+ }
265
+
266
+ // @public
267
+ export type IotDpsResourceDeletePrivateEndpointConnectionResponse = PrivateEndpointConnection;
268
+
269
+ // @public
270
+ export interface IotDpsResourceGetOperationResultOptionalParams extends coreClient.OperationOptions {
271
+ }
272
+
273
+ // @public
274
+ export type IotDpsResourceGetOperationResultResponse = AsyncOperationResult;
275
+
276
+ // @public
277
+ export interface IotDpsResourceGetOptionalParams extends coreClient.OperationOptions {
278
+ }
279
+
280
+ // @public
281
+ export interface IotDpsResourceGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {
282
+ }
283
+
284
+ // @public
285
+ export type IotDpsResourceGetPrivateEndpointConnectionResponse = PrivateEndpointConnection;
286
+
287
+ // @public
288
+ export interface IotDpsResourceGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
289
+ }
290
+
291
+ // @public
292
+ export type IotDpsResourceGetPrivateLinkResourcesResponse = GroupIdInformation;
293
+
294
+ // @public
295
+ export type IotDpsResourceGetResponse = ProvisioningServiceDescription;
296
+
297
+ // @public
298
+ export interface IotDpsResourceListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
299
+ }
300
+
301
+ // @public
302
+ export type IotDpsResourceListByResourceGroupNextResponse = ProvisioningServiceDescriptionListResult;
303
+
304
+ // @public
305
+ export interface IotDpsResourceListByResourceGroupOptionalParams extends coreClient.OperationOptions {
306
+ }
307
+
308
+ // @public
309
+ export type IotDpsResourceListByResourceGroupResponse = ProvisioningServiceDescriptionListResult;
310
+
311
+ // @public
312
+ export interface IotDpsResourceListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
313
+ }
314
+
315
+ // @public
316
+ export type IotDpsResourceListBySubscriptionNextResponse = ProvisioningServiceDescriptionListResult;
317
+
318
+ // @public
319
+ export interface IotDpsResourceListBySubscriptionOptionalParams extends coreClient.OperationOptions {
320
+ }
321
+
322
+ // @public
323
+ export type IotDpsResourceListBySubscriptionResponse = ProvisioningServiceDescriptionListResult;
324
+
325
+ // @public
326
+ export interface IotDpsResourceListKeysForKeyNameOptionalParams extends coreClient.OperationOptions {
327
+ }
328
+
329
+ // @public
330
+ export type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRuleAccessRightsDescription;
331
+
332
+ // @public
333
+ export interface IotDpsResourceListKeysNextOptionalParams extends coreClient.OperationOptions {
334
+ }
335
+
336
+ // @public
337
+ export type IotDpsResourceListKeysNextResponse = SharedAccessSignatureAuthorizationRuleListResult;
338
+
339
+ // @public
340
+ export interface IotDpsResourceListKeysOptionalParams extends coreClient.OperationOptions {
341
+ }
342
+
343
+ // @public
344
+ export type IotDpsResourceListKeysResponse = SharedAccessSignatureAuthorizationRuleListResult;
345
+
346
+ // @public
347
+ export interface IotDpsResourceListPrivateEndpointConnectionsOptionalParams extends coreClient.OperationOptions {
348
+ }
349
+
350
+ // @public
351
+ export type IotDpsResourceListPrivateEndpointConnectionsResponse = PrivateEndpointConnection[];
352
+
353
+ // @public
354
+ export interface IotDpsResourceListPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {
355
+ }
356
+
357
+ // @public
358
+ export type IotDpsResourceListPrivateLinkResourcesResponse = PrivateLinkResources;
359
+
360
+ // @public
361
+ export interface IotDpsResourceListValidSkusNextOptionalParams extends coreClient.OperationOptions {
362
+ }
363
+
364
+ // @public
365
+ export type IotDpsResourceListValidSkusNextResponse = IotDpsSkuDefinitionListResult;
366
+
367
+ // @public
368
+ export interface IotDpsResourceListValidSkusOptionalParams extends coreClient.OperationOptions {
369
+ }
370
+
371
+ // @public
372
+ export type IotDpsResourceListValidSkusResponse = IotDpsSkuDefinitionListResult;
373
+
374
+ // @public
375
+ export interface IotDpsResourceUpdateOptionalParams extends coreClient.OperationOptions {
376
+ resumeFrom?: string;
377
+ updateIntervalInMs?: number;
378
+ }
379
+
380
+ // @public
381
+ export type IotDpsResourceUpdateResponse = ProvisioningServiceDescription;
382
+
383
+ // @public
384
+ export type IotDpsSku = string;
385
+
386
+ // @public
387
+ export interface IotDpsSkuDefinition {
388
+ name?: IotDpsSku;
389
+ }
390
+
391
+ // @public
392
+ export interface IotDpsSkuDefinitionListResult {
393
+ readonly nextLink?: string;
394
+ value?: IotDpsSkuDefinition[];
395
+ }
396
+
397
+ // @public
398
+ export interface IotDpsSkuInfo {
399
+ capacity?: number;
400
+ name?: IotDpsSku;
401
+ readonly tier?: string;
402
+ }
403
+
404
+ // @public
405
+ export interface IotHubDefinitionDescription {
406
+ allocationWeight?: number;
407
+ applyAllocationPolicy?: boolean;
408
+ connectionString: string;
409
+ location: string;
410
+ readonly name?: string;
411
+ }
412
+
413
+ // @public
414
+ export type IpFilterActionType = "Accept" | "Reject";
415
+
416
+ // @public
417
+ export interface IpFilterRule {
418
+ action: IpFilterActionType;
419
+ filterName: string;
420
+ ipMask: string;
421
+ target?: IpFilterTargetType;
422
+ }
423
+
424
+ // @public
425
+ export type IpFilterTargetType = "all" | "serviceApi" | "deviceApi";
426
+
427
+ // @public
428
+ export enum KnownAccessRightsDescription {
429
+ // (undocumented)
430
+ DeviceConnect = "DeviceConnect",
431
+ // (undocumented)
432
+ EnrollmentRead = "EnrollmentRead",
433
+ // (undocumented)
434
+ EnrollmentWrite = "EnrollmentWrite",
435
+ // (undocumented)
436
+ RegistrationStatusRead = "RegistrationStatusRead",
437
+ // (undocumented)
438
+ RegistrationStatusWrite = "RegistrationStatusWrite",
439
+ // (undocumented)
440
+ ServiceConfig = "ServiceConfig"
441
+ }
442
+
443
+ // @public
444
+ export enum KnownAllocationPolicy {
445
+ // (undocumented)
446
+ GeoLatency = "GeoLatency",
447
+ // (undocumented)
448
+ Hashed = "Hashed",
449
+ // (undocumented)
450
+ Static = "Static"
451
+ }
452
+
453
+ // @public
454
+ export enum KnownCertificatePurpose {
455
+ // (undocumented)
456
+ ClientAuthentication = "clientAuthentication",
457
+ // (undocumented)
458
+ ServerAuthentication = "serverAuthentication"
459
+ }
460
+
461
+ // @public
462
+ export enum KnownIotDpsSku {
463
+ // (undocumented)
464
+ S1 = "S1"
465
+ }
466
+
467
+ // @public
468
+ export enum KnownNameUnavailabilityReason {
469
+ // (undocumented)
470
+ AlreadyExists = "AlreadyExists",
471
+ // (undocumented)
472
+ Invalid = "Invalid"
473
+ }
474
+
475
+ // @public
476
+ export enum KnownPrivateLinkServiceConnectionStatus {
477
+ // (undocumented)
478
+ Approved = "Approved",
479
+ // (undocumented)
480
+ Disconnected = "Disconnected",
481
+ // (undocumented)
482
+ Pending = "Pending",
483
+ // (undocumented)
484
+ Rejected = "Rejected"
485
+ }
486
+
487
+ // @public
488
+ export enum KnownPublicNetworkAccess {
489
+ // (undocumented)
490
+ Disabled = "Disabled",
491
+ // (undocumented)
492
+ Enabled = "Enabled"
493
+ }
494
+
495
+ // @public
496
+ export enum KnownState {
497
+ // (undocumented)
498
+ Activating = "Activating",
499
+ // (undocumented)
500
+ ActivationFailed = "ActivationFailed",
501
+ // (undocumented)
502
+ Active = "Active",
503
+ // (undocumented)
504
+ Deleted = "Deleted",
505
+ // (undocumented)
506
+ Deleting = "Deleting",
507
+ // (undocumented)
508
+ DeletionFailed = "DeletionFailed",
509
+ // (undocumented)
510
+ FailingOver = "FailingOver",
511
+ // (undocumented)
512
+ FailoverFailed = "FailoverFailed",
513
+ // (undocumented)
514
+ Resuming = "Resuming",
515
+ // (undocumented)
516
+ Suspended = "Suspended",
517
+ // (undocumented)
518
+ Suspending = "Suspending",
519
+ // (undocumented)
520
+ Transitioning = "Transitioning"
521
+ }
522
+
523
+ // @public
524
+ export interface NameAvailabilityInfo {
525
+ message?: string;
526
+ nameAvailable?: boolean;
527
+ reason?: NameUnavailabilityReason;
528
+ }
529
+
530
+ // @public
531
+ export type NameUnavailabilityReason = string;
532
+
533
+ // @public
534
+ export interface Operation {
535
+ display?: OperationDisplay;
536
+ readonly name?: string;
537
+ }
538
+
539
+ // @public
540
+ export interface OperationDisplay {
541
+ readonly operation?: string;
542
+ readonly provider?: string;
543
+ readonly resource?: string;
544
+ }
545
+
546
+ // @public
547
+ export interface OperationInputs {
548
+ name: string;
549
+ }
550
+
551
+ // @public
552
+ export interface OperationListResult {
553
+ readonly nextLink?: string;
554
+ readonly value?: Operation[];
555
+ }
556
+
557
+ // @public
558
+ export interface Operations {
559
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
560
+ }
561
+
562
+ // @public
563
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
564
+ }
565
+
566
+ // @public
567
+ export type OperationsListNextResponse = OperationListResult;
568
+
569
+ // @public
570
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
571
+ }
572
+
573
+ // @public
574
+ export type OperationsListResponse = OperationListResult;
575
+
576
+ // @public
577
+ export interface PrivateEndpoint {
578
+ readonly id?: string;
579
+ }
580
+
581
+ // @public
582
+ export interface PrivateEndpointConnection {
583
+ readonly id?: string;
584
+ readonly name?: string;
585
+ properties: PrivateEndpointConnectionProperties;
586
+ readonly type?: string;
587
+ }
588
+
589
+ // @public
590
+ export interface PrivateEndpointConnectionProperties {
591
+ privateEndpoint?: PrivateEndpoint;
592
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
593
+ }
594
+
595
+ // @public
596
+ export interface PrivateLinkResources {
597
+ value?: GroupIdInformation[];
598
+ }
599
+
600
+ // @public
601
+ export interface PrivateLinkServiceConnectionState {
602
+ actionsRequired?: string;
603
+ description: string;
604
+ status: PrivateLinkServiceConnectionStatus;
605
+ }
606
+
607
+ // @public
608
+ export type PrivateLinkServiceConnectionStatus = string;
609
+
610
+ // @public
611
+ export type ProvisioningServiceDescription = Resource & {
612
+ etag?: string;
613
+ properties: IotDpsPropertiesDescription;
614
+ sku: IotDpsSkuInfo;
615
+ };
616
+
617
+ // @public
618
+ export interface ProvisioningServiceDescriptionListResult {
619
+ readonly nextLink?: string;
620
+ value?: ProvisioningServiceDescription[];
621
+ }
622
+
623
+ // @public
624
+ export type PublicNetworkAccess = string;
625
+
626
+ // @public
627
+ export interface Resource {
628
+ readonly id?: string;
629
+ location: string;
630
+ readonly name?: string;
631
+ tags?: {
632
+ [propertyName: string]: string;
633
+ };
634
+ readonly type?: string;
635
+ }
636
+
637
+ // @public
638
+ export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
639
+ keyName: string;
640
+ primaryKey?: string;
641
+ rights: AccessRightsDescription;
642
+ secondaryKey?: string;
643
+ }
644
+
645
+ // @public
646
+ export interface SharedAccessSignatureAuthorizationRuleListResult {
647
+ readonly nextLink?: string;
648
+ value?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
649
+ }
650
+
651
+ // @public
652
+ export type State = string;
653
+
654
+ // @public
655
+ export interface TagsResource {
656
+ tags?: {
657
+ [propertyName: string]: string;
658
+ };
659
+ }
660
+
661
+ // @public
662
+ export interface VerificationCodeRequest {
663
+ certificate?: string;
664
+ }
665
+
666
+ // @public
667
+ export interface VerificationCodeResponse {
668
+ readonly etag?: string;
669
+ readonly id?: string;
670
+ readonly name?: string;
671
+ // (undocumented)
672
+ properties?: VerificationCodeResponseProperties;
673
+ readonly type?: string;
674
+ }
675
+
676
+ // @public (undocumented)
677
+ export interface VerificationCodeResponseProperties {
678
+ certificate?: Uint8Array;
679
+ created?: string;
680
+ expiry?: string;
681
+ isVerified?: boolean;
682
+ subject?: string;
683
+ thumbprint?: string;
684
+ updated?: string;
685
+ verificationCode?: string;
686
+ }
687
+
688
+ // (No @packageDocumentation comment for this package)
689
+
690
+ ```