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