@azure/arm-deviceprovisioningservices 4.0.1-alpha.20220119.1 → 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.
- package/CHANGELOG.md +14 -11
- package/dist/index.js +80 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/iotDpsClient.js +2 -2
- package/dist-esm/src/models/index.d.ts +53 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +70 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/package.json +19 -3
- package/review/arm-deviceprovisioningservices.api.md +29 -0
- package/src/iotDpsClient.ts +2 -2
- package/src/models/index.ts +56 -0
- package/src/models/mappers.ts +72 -0
- package/src/models/parameters.ts +1 -1
- package/tsconfig.json +18 -5
- package/types/arm-deviceprovisioningservices.d.ts +56 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 4.0
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
|
|
3
|
+
## 4.1.0 (2022-01-24)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
6
|
+
|
|
7
|
+
- Added Interface SystemData
|
|
8
|
+
- Added Type Alias CreatedByType
|
|
9
|
+
- Interface CertificateResponse has a new optional parameter systemData
|
|
10
|
+
- Interface IotDpsPropertiesDescription has a new optional parameter enableDataResidency
|
|
11
|
+
- Interface PrivateEndpointConnection has a new optional parameter systemData
|
|
12
|
+
- Type Alias ProvisioningServiceDescription has a new parameter systemData
|
|
13
|
+
- Added Enum KnownCreatedByType
|
|
14
|
+
|
|
15
|
+
|
|
13
16
|
## 4.0.0 (2022-01-12)
|
|
14
17
|
|
|
15
18
|
The package of @azure/arm-deviceprovisioningservices is using our next generation design principles since version 4.0.0, which contains breaking changes.
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,12 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
13
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
14
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
15
|
*/
|
|
16
|
+
(function (KnownCreatedByType) {
|
|
17
|
+
KnownCreatedByType["User"] = "User";
|
|
18
|
+
KnownCreatedByType["Application"] = "Application";
|
|
19
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
20
|
+
KnownCreatedByType["Key"] = "Key";
|
|
21
|
+
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
16
22
|
(function (KnownCertificatePurpose) {
|
|
17
23
|
KnownCertificatePurpose["ClientAuthentication"] = "clientAuthentication";
|
|
18
24
|
KnownCertificatePurpose["ServerAuthentication"] = "serverAuthentication";
|
|
@@ -223,6 +229,13 @@ const CertificateResponse = {
|
|
|
223
229
|
type: {
|
|
224
230
|
name: "String"
|
|
225
231
|
}
|
|
232
|
+
},
|
|
233
|
+
systemData: {
|
|
234
|
+
serializedName: "systemData",
|
|
235
|
+
type: {
|
|
236
|
+
name: "Composite",
|
|
237
|
+
className: "SystemData"
|
|
238
|
+
}
|
|
226
239
|
}
|
|
227
240
|
}
|
|
228
241
|
}
|
|
@@ -284,6 +297,50 @@ const CertificateProperties = {
|
|
|
284
297
|
}
|
|
285
298
|
}
|
|
286
299
|
};
|
|
300
|
+
const SystemData = {
|
|
301
|
+
type: {
|
|
302
|
+
name: "Composite",
|
|
303
|
+
className: "SystemData",
|
|
304
|
+
modelProperties: {
|
|
305
|
+
createdBy: {
|
|
306
|
+
serializedName: "createdBy",
|
|
307
|
+
type: {
|
|
308
|
+
name: "String"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
createdByType: {
|
|
312
|
+
serializedName: "createdByType",
|
|
313
|
+
type: {
|
|
314
|
+
name: "String"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
createdAt: {
|
|
318
|
+
serializedName: "createdAt",
|
|
319
|
+
type: {
|
|
320
|
+
name: "DateTime"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
lastModifiedBy: {
|
|
324
|
+
serializedName: "lastModifiedBy",
|
|
325
|
+
type: {
|
|
326
|
+
name: "String"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
lastModifiedByType: {
|
|
330
|
+
serializedName: "lastModifiedByType",
|
|
331
|
+
type: {
|
|
332
|
+
name: "String"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
lastModifiedAt: {
|
|
336
|
+
serializedName: "lastModifiedAt",
|
|
337
|
+
type: {
|
|
338
|
+
name: "DateTime"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
};
|
|
287
344
|
const CertificateBodyDescription = {
|
|
288
345
|
type: {
|
|
289
346
|
name: "Composite",
|
|
@@ -401,6 +458,12 @@ const IotDpsPropertiesDescription = {
|
|
|
401
458
|
}
|
|
402
459
|
}
|
|
403
460
|
}
|
|
461
|
+
},
|
|
462
|
+
enableDataResidency: {
|
|
463
|
+
serializedName: "enableDataResidency",
|
|
464
|
+
type: {
|
|
465
|
+
name: "Boolean"
|
|
466
|
+
}
|
|
404
467
|
}
|
|
405
468
|
}
|
|
406
469
|
}
|
|
@@ -477,6 +540,13 @@ const PrivateEndpointConnection = {
|
|
|
477
540
|
name: "Composite",
|
|
478
541
|
className: "PrivateEndpointConnectionProperties"
|
|
479
542
|
}
|
|
543
|
+
},
|
|
544
|
+
systemData: {
|
|
545
|
+
serializedName: "systemData",
|
|
546
|
+
type: {
|
|
547
|
+
name: "Composite",
|
|
548
|
+
className: "SystemData"
|
|
549
|
+
}
|
|
480
550
|
}
|
|
481
551
|
}
|
|
482
552
|
}
|
|
@@ -1141,6 +1211,12 @@ const ProvisioningServiceDescription = {
|
|
|
1141
1211
|
name: "Composite",
|
|
1142
1212
|
className: "IotDpsSkuInfo"
|
|
1143
1213
|
}
|
|
1214
|
+
}, systemData: {
|
|
1215
|
+
serializedName: "systemData",
|
|
1216
|
+
type: {
|
|
1217
|
+
name: "Composite",
|
|
1218
|
+
className: "SystemData"
|
|
1219
|
+
}
|
|
1144
1220
|
} })
|
|
1145
1221
|
}
|
|
1146
1222
|
};
|
|
@@ -1153,6 +1229,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1153
1229
|
ErrorDetails: ErrorDetails,
|
|
1154
1230
|
CertificateResponse: CertificateResponse,
|
|
1155
1231
|
CertificateProperties: CertificateProperties,
|
|
1232
|
+
SystemData: SystemData,
|
|
1156
1233
|
CertificateBodyDescription: CertificateBodyDescription,
|
|
1157
1234
|
IotDpsPropertiesDescription: IotDpsPropertiesDescription,
|
|
1158
1235
|
IpFilterRule: IpFilterRule,
|
|
@@ -1215,7 +1292,7 @@ const $host = {
|
|
|
1215
1292
|
const apiVersion = {
|
|
1216
1293
|
parameterPath: "apiVersion",
|
|
1217
1294
|
mapper: {
|
|
1218
|
-
defaultValue: "
|
|
1295
|
+
defaultValue: "2021-10-15",
|
|
1219
1296
|
isConstant: true,
|
|
1220
1297
|
serializedName: "api-version",
|
|
1221
1298
|
type: {
|
|
@@ -3082,7 +3159,7 @@ class IotDpsClient extends coreClient.ServiceClient {
|
|
|
3082
3159
|
requestContentType: "application/json; charset=utf-8",
|
|
3083
3160
|
credential: credentials
|
|
3084
3161
|
};
|
|
3085
|
-
const packageDetails = `azsdk-js-arm-deviceprovisioningservices/4.
|
|
3162
|
+
const packageDetails = `azsdk-js-arm-deviceprovisioningservices/4.1.0`;
|
|
3086
3163
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3087
3164
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3088
3165
|
: `${packageDetails}`;
|
|
@@ -3097,7 +3174,7 @@ class IotDpsClient extends coreClient.ServiceClient {
|
|
|
3097
3174
|
this.subscriptionId = subscriptionId;
|
|
3098
3175
|
// Assigning values to Constant parameters
|
|
3099
3176
|
this.$host = options.$host || "https://management.azure.com";
|
|
3100
|
-
this.apiVersion = options.apiVersion || "
|
|
3177
|
+
this.apiVersion = options.apiVersion || "2021-10-15";
|
|
3101
3178
|
this.operations = new OperationsImpl(this);
|
|
3102
3179
|
this.dpsCertificate = new DpsCertificateImpl(this);
|
|
3103
3180
|
this.iotDpsResource = new IotDpsResourceImpl(this);
|