@azure/arm-deviceprovisioningservices 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -0
- package/README.md +106 -0
- package/dist/arm-deviceprovisioningservices.js +2869 -0
- package/dist/arm-deviceprovisioningservices.js.map +1 -0
- package/dist/arm-deviceprovisioningservices.min.js +1 -0
- package/dist/arm-deviceprovisioningservices.min.js.map +1 -0
- package/esm/iotDpsClient.d.ts +26 -0
- package/esm/iotDpsClient.d.ts.map +1 -0
- package/esm/iotDpsClient.js +39 -0
- package/esm/iotDpsClient.js.map +1 -0
- package/esm/iotDpsClientContext.d.ts +22 -0
- package/esm/iotDpsClientContext.d.ts.map +1 -0
- package/esm/iotDpsClientContext.js +60 -0
- package/esm/iotDpsClientContext.js.map +1 -0
- package/esm/models/dpsCertificateMappers.d.ts +2 -0
- package/esm/models/dpsCertificateMappers.d.ts.map +1 -0
- package/esm/models/dpsCertificateMappers.js +9 -0
- package/esm/models/dpsCertificateMappers.js.map +1 -0
- package/esm/models/index.d.ts +1433 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +8 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/iotDpsResourceMappers.d.ts +2 -0
- package/esm/models/iotDpsResourceMappers.d.ts.map +1 -0
- package/esm/models/iotDpsResourceMappers.js +9 -0
- package/esm/models/iotDpsResourceMappers.js.map +1 -0
- package/esm/models/mappers.d.ts +38 -0
- package/esm/models/mappers.d.ts.map +1 -0
- package/esm/models/mappers.js +1141 -0
- package/esm/models/mappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +2 -0
- package/esm/models/operationsMappers.d.ts.map +1 -0
- package/esm/models/operationsMappers.js +9 -0
- package/esm/models/operationsMappers.js.map +1 -0
- package/esm/models/parameters.d.ts +26 -0
- package/esm/models/parameters.d.ts.map +1 -0
- package/esm/models/parameters.js +272 -0
- package/esm/models/parameters.js.map +1 -0
- package/esm/operations/dpsCertificate.d.ts +188 -0
- package/esm/operations/dpsCertificate.d.ts.map +1 -0
- package/esm/operations/dpsCertificate.js +264 -0
- package/esm/operations/dpsCertificate.js.map +1 -0
- package/esm/operations/index.d.ts +4 -0
- package/esm/operations/index.d.ts.map +1 -0
- package/esm/operations/index.js +12 -0
- package/esm/operations/index.js.map +1 -0
- package/esm/operations/iotDpsResource.d.ts +473 -0
- package/esm/operations/iotDpsResource.d.ts.map +1 -0
- package/esm/operations/iotDpsResource.js +834 -0
- package/esm/operations/iotDpsResource.js.map +1 -0
- package/esm/operations/operations.d.ts +46 -0
- package/esm/operations/operations.d.ts.map +1 -0
- package/esm/operations/operations.js +79 -0
- package/esm/operations/operations.js.map +1 -0
- package/package.json +59 -0
- package/rollup.config.js +37 -0
- package/src/iotDpsClient.ts +51 -0
- package/src/iotDpsClientContext.ts +67 -0
- package/src/models/dpsCertificateMappers.ts +30 -0
- package/src/models/index.ts +1549 -0
- package/src/models/iotDpsResourceMappers.ts +40 -0
- package/src/models/mappers.ts +1181 -0
- package/src/models/operationsMappers.ts +14 -0
- package/src/models/parameters.ts +274 -0
- package/src/operations/dpsCertificate.ts +477 -0
- package/src/operations/index.ts +12 -0
- package/src/operations/iotDpsResource.ts +1310 -0
- package/src/operations/operations.ts +125 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
|
|
9
|
+
export {
|
|
10
|
+
ErrorDetails,
|
|
11
|
+
Operation,
|
|
12
|
+
OperationDisplay,
|
|
13
|
+
OperationListResult
|
|
14
|
+
} from "../models/mappers";
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
|
|
12
|
+
export const acceptLanguage: msRest.OperationParameter = {
|
|
13
|
+
parameterPath: "acceptLanguage",
|
|
14
|
+
mapper: {
|
|
15
|
+
serializedName: "accept-language",
|
|
16
|
+
defaultValue: 'en-US',
|
|
17
|
+
type: {
|
|
18
|
+
name: "String"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export const apiVersion: msRest.OperationQueryParameter = {
|
|
23
|
+
parameterPath: "apiVersion",
|
|
24
|
+
mapper: {
|
|
25
|
+
required: true,
|
|
26
|
+
serializedName: "api-version",
|
|
27
|
+
type: {
|
|
28
|
+
name: "String"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export const asyncinfo: msRest.OperationQueryParameter = {
|
|
33
|
+
parameterPath: "asyncinfo",
|
|
34
|
+
mapper: {
|
|
35
|
+
required: true,
|
|
36
|
+
serializedName: "asyncinfo",
|
|
37
|
+
defaultValue: 'true',
|
|
38
|
+
type: {
|
|
39
|
+
name: "String"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
export const certificatecreated: msRest.OperationQueryParameter = {
|
|
44
|
+
parameterPath: [
|
|
45
|
+
"options",
|
|
46
|
+
"certificatecreated"
|
|
47
|
+
],
|
|
48
|
+
mapper: {
|
|
49
|
+
serializedName: "certificate.created",
|
|
50
|
+
type: {
|
|
51
|
+
name: "DateTime"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
export const certificatehasPrivateKey: msRest.OperationQueryParameter = {
|
|
56
|
+
parameterPath: [
|
|
57
|
+
"options",
|
|
58
|
+
"certificatehasPrivateKey"
|
|
59
|
+
],
|
|
60
|
+
mapper: {
|
|
61
|
+
serializedName: "certificate.hasPrivateKey",
|
|
62
|
+
type: {
|
|
63
|
+
name: "Boolean"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export const certificateisVerified: msRest.OperationQueryParameter = {
|
|
68
|
+
parameterPath: [
|
|
69
|
+
"options",
|
|
70
|
+
"certificateisVerified"
|
|
71
|
+
],
|
|
72
|
+
mapper: {
|
|
73
|
+
serializedName: "certificate.isVerified",
|
|
74
|
+
type: {
|
|
75
|
+
name: "Boolean"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
export const certificatelastUpdated: msRest.OperationQueryParameter = {
|
|
80
|
+
parameterPath: [
|
|
81
|
+
"options",
|
|
82
|
+
"certificatelastUpdated"
|
|
83
|
+
],
|
|
84
|
+
mapper: {
|
|
85
|
+
serializedName: "certificate.lastUpdated",
|
|
86
|
+
type: {
|
|
87
|
+
name: "DateTime"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
export const certificatename: msRest.OperationQueryParameter = {
|
|
92
|
+
parameterPath: [
|
|
93
|
+
"options",
|
|
94
|
+
"certificatename"
|
|
95
|
+
],
|
|
96
|
+
mapper: {
|
|
97
|
+
serializedName: "certificate.name",
|
|
98
|
+
type: {
|
|
99
|
+
name: "String"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
export const certificateName0: msRest.OperationURLParameter = {
|
|
104
|
+
parameterPath: "certificateName",
|
|
105
|
+
mapper: {
|
|
106
|
+
required: true,
|
|
107
|
+
serializedName: "certificateName",
|
|
108
|
+
type: {
|
|
109
|
+
name: "String"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
export const certificateName1: msRest.OperationURLParameter = {
|
|
114
|
+
parameterPath: "certificateName",
|
|
115
|
+
mapper: {
|
|
116
|
+
required: true,
|
|
117
|
+
serializedName: "certificateName",
|
|
118
|
+
constraints: {
|
|
119
|
+
MaxLength: 256
|
|
120
|
+
},
|
|
121
|
+
type: {
|
|
122
|
+
name: "String"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
export const certificatenonce: msRest.OperationQueryParameter = {
|
|
127
|
+
parameterPath: [
|
|
128
|
+
"options",
|
|
129
|
+
"certificatenonce"
|
|
130
|
+
],
|
|
131
|
+
mapper: {
|
|
132
|
+
serializedName: "certificate.nonce",
|
|
133
|
+
type: {
|
|
134
|
+
name: "String"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
export const certificatepurpose: msRest.OperationQueryParameter = {
|
|
139
|
+
parameterPath: [
|
|
140
|
+
"options",
|
|
141
|
+
"certificatepurpose"
|
|
142
|
+
],
|
|
143
|
+
mapper: {
|
|
144
|
+
serializedName: "certificate.purpose",
|
|
145
|
+
type: {
|
|
146
|
+
name: "String"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
export const certificaterawBytes: msRest.OperationQueryParameter = {
|
|
151
|
+
parameterPath: [
|
|
152
|
+
"options",
|
|
153
|
+
"certificaterawBytes"
|
|
154
|
+
],
|
|
155
|
+
mapper: {
|
|
156
|
+
serializedName: "certificate.rawBytes",
|
|
157
|
+
type: {
|
|
158
|
+
name: "ByteArray"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
export const groupId: msRest.OperationURLParameter = {
|
|
163
|
+
parameterPath: "groupId",
|
|
164
|
+
mapper: {
|
|
165
|
+
required: true,
|
|
166
|
+
serializedName: "groupId",
|
|
167
|
+
type: {
|
|
168
|
+
name: "String"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
export const ifMatch0: msRest.OperationParameter = {
|
|
173
|
+
parameterPath: [
|
|
174
|
+
"options",
|
|
175
|
+
"ifMatch"
|
|
176
|
+
],
|
|
177
|
+
mapper: {
|
|
178
|
+
serializedName: "If-Match",
|
|
179
|
+
type: {
|
|
180
|
+
name: "String"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
export const ifMatch1: msRest.OperationParameter = {
|
|
185
|
+
parameterPath: "ifMatch",
|
|
186
|
+
mapper: {
|
|
187
|
+
required: true,
|
|
188
|
+
serializedName: "If-Match",
|
|
189
|
+
type: {
|
|
190
|
+
name: "String"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
export const keyName: msRest.OperationURLParameter = {
|
|
195
|
+
parameterPath: "keyName",
|
|
196
|
+
mapper: {
|
|
197
|
+
required: true,
|
|
198
|
+
serializedName: "keyName",
|
|
199
|
+
type: {
|
|
200
|
+
name: "String"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
export const nextPageLink: msRest.OperationURLParameter = {
|
|
205
|
+
parameterPath: "nextPageLink",
|
|
206
|
+
mapper: {
|
|
207
|
+
required: true,
|
|
208
|
+
serializedName: "nextLink",
|
|
209
|
+
type: {
|
|
210
|
+
name: "String"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
skipEncoding: true
|
|
214
|
+
};
|
|
215
|
+
export const operationId: msRest.OperationURLParameter = {
|
|
216
|
+
parameterPath: "operationId",
|
|
217
|
+
mapper: {
|
|
218
|
+
required: true,
|
|
219
|
+
serializedName: "operationId",
|
|
220
|
+
type: {
|
|
221
|
+
name: "String"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
export const privateEndpointConnectionName: msRest.OperationURLParameter = {
|
|
226
|
+
parameterPath: "privateEndpointConnectionName",
|
|
227
|
+
mapper: {
|
|
228
|
+
required: true,
|
|
229
|
+
serializedName: "privateEndpointConnectionName",
|
|
230
|
+
type: {
|
|
231
|
+
name: "String"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
export const provisioningServiceName: msRest.OperationURLParameter = {
|
|
236
|
+
parameterPath: "provisioningServiceName",
|
|
237
|
+
mapper: {
|
|
238
|
+
required: true,
|
|
239
|
+
serializedName: "provisioningServiceName",
|
|
240
|
+
type: {
|
|
241
|
+
name: "String"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
export const resourceGroupName: msRest.OperationURLParameter = {
|
|
246
|
+
parameterPath: "resourceGroupName",
|
|
247
|
+
mapper: {
|
|
248
|
+
required: true,
|
|
249
|
+
serializedName: "resourceGroupName",
|
|
250
|
+
type: {
|
|
251
|
+
name: "String"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
export const resourceName: msRest.OperationURLParameter = {
|
|
256
|
+
parameterPath: "resourceName",
|
|
257
|
+
mapper: {
|
|
258
|
+
required: true,
|
|
259
|
+
serializedName: "resourceName",
|
|
260
|
+
type: {
|
|
261
|
+
name: "String"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
export const subscriptionId: msRest.OperationURLParameter = {
|
|
266
|
+
parameterPath: "subscriptionId",
|
|
267
|
+
mapper: {
|
|
268
|
+
required: true,
|
|
269
|
+
serializedName: "subscriptionId",
|
|
270
|
+
type: {
|
|
271
|
+
name: "String"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
};
|