@azure/arm-batch 9.0.1-alpha.20231114.1 → 9.1.0-alpha.20231218.2
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 +18 -11
- package/dist/index.js +139 -4
- 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/samples-dev/applicationCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationListSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
- package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
- package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
- package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificateGetSample.js +2 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +169 -10
- package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
- package/dist-esm/samples-dev/poolGetSample.js +60 -3
- package/dist-esm/samples-dev/poolGetSample.js.map +1 -1
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
- package/dist-esm/src/batchManagementClient.js +2 -2
- package/dist-esm/src/models/index.d.ts +45 -5
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +132 -1
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/package.json +8 -6
- package/review/arm-batch.api.md +34 -1
- package/src/batchManagementClient.ts +2 -2
- package/src/models/index.ts +50 -5
- package/src/models/mappers.ts +137 -1
- package/src/models/parameters.ts +1 -1
- package/types/arm-batch.d.ts +49 -5
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 9.1.0 (2023-12-08)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
- Added Interface ManagedDisk
|
|
8
|
+
- Added Interface SecurityProfile
|
|
9
|
+
- Added Interface ServiceArtifactReference
|
|
10
|
+
- Added Interface UefiSettings
|
|
11
|
+
- Interface OSDisk has a new optional parameter caching
|
|
12
|
+
- Interface OSDisk has a new optional parameter diskSizeGB
|
|
13
|
+
- Interface OSDisk has a new optional parameter managedDisk
|
|
14
|
+
- Interface OSDisk has a new optional parameter writeAcceleratorEnabled
|
|
15
|
+
- Interface Pool has a new optional parameter resourceTags
|
|
16
|
+
- Interface VirtualMachineConfiguration has a new optional parameter securityProfile
|
|
17
|
+
- Interface VirtualMachineConfiguration has a new optional parameter serviceArtifactReference
|
|
18
|
+
|
|
19
|
+
|
|
13
20
|
## 9.0.0 (2023-06-30)
|
|
14
21
|
|
|
15
22
|
**Features**
|
|
@@ -117,4 +124,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
|
|
|
117
124
|
|
|
118
125
|
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
119
126
|
|
|
120
|
-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart
|
|
127
|
+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
|
package/dist/index.js
CHANGED
|
@@ -1378,6 +1378,20 @@ const VirtualMachineConfiguration = {
|
|
|
1378
1378
|
name: "Composite",
|
|
1379
1379
|
className: "OSDisk"
|
|
1380
1380
|
}
|
|
1381
|
+
},
|
|
1382
|
+
securityProfile: {
|
|
1383
|
+
serializedName: "securityProfile",
|
|
1384
|
+
type: {
|
|
1385
|
+
name: "Composite",
|
|
1386
|
+
className: "SecurityProfile"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
serviceArtifactReference: {
|
|
1390
|
+
serializedName: "serviceArtifactReference",
|
|
1391
|
+
type: {
|
|
1392
|
+
name: "Composite",
|
|
1393
|
+
className: "ServiceArtifactReference"
|
|
1394
|
+
}
|
|
1381
1395
|
}
|
|
1382
1396
|
}
|
|
1383
1397
|
}
|
|
@@ -1406,6 +1420,7 @@ const ImageReference = {
|
|
|
1406
1420
|
}
|
|
1407
1421
|
},
|
|
1408
1422
|
version: {
|
|
1423
|
+
defaultValue: "latest",
|
|
1409
1424
|
serializedName: "version",
|
|
1410
1425
|
type: {
|
|
1411
1426
|
name: "String"
|
|
@@ -1464,7 +1479,7 @@ const DataDisk = {
|
|
|
1464
1479
|
serializedName: "storageAccountType",
|
|
1465
1480
|
type: {
|
|
1466
1481
|
name: "Enum",
|
|
1467
|
-
allowedValues: ["Standard_LRS", "Premium_LRS"]
|
|
1482
|
+
allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"]
|
|
1468
1483
|
}
|
|
1469
1484
|
}
|
|
1470
1485
|
}
|
|
@@ -1659,6 +1674,32 @@ const OSDisk = {
|
|
|
1659
1674
|
name: "Composite",
|
|
1660
1675
|
className: "DiffDiskSettings"
|
|
1661
1676
|
}
|
|
1677
|
+
},
|
|
1678
|
+
caching: {
|
|
1679
|
+
serializedName: "caching",
|
|
1680
|
+
type: {
|
|
1681
|
+
name: "Enum",
|
|
1682
|
+
allowedValues: ["None", "ReadOnly", "ReadWrite"]
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
managedDisk: {
|
|
1686
|
+
serializedName: "managedDisk",
|
|
1687
|
+
type: {
|
|
1688
|
+
name: "Composite",
|
|
1689
|
+
className: "ManagedDisk"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
diskSizeGB: {
|
|
1693
|
+
serializedName: "diskSizeGB",
|
|
1694
|
+
type: {
|
|
1695
|
+
name: "Number"
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
writeAcceleratorEnabled: {
|
|
1699
|
+
serializedName: "writeAcceleratorEnabled",
|
|
1700
|
+
type: {
|
|
1701
|
+
name: "Boolean"
|
|
1702
|
+
}
|
|
1662
1703
|
}
|
|
1663
1704
|
}
|
|
1664
1705
|
}
|
|
@@ -1679,6 +1720,85 @@ const DiffDiskSettings = {
|
|
|
1679
1720
|
}
|
|
1680
1721
|
}
|
|
1681
1722
|
};
|
|
1723
|
+
const ManagedDisk = {
|
|
1724
|
+
type: {
|
|
1725
|
+
name: "Composite",
|
|
1726
|
+
className: "ManagedDisk",
|
|
1727
|
+
modelProperties: {
|
|
1728
|
+
storageAccountType: {
|
|
1729
|
+
serializedName: "storageAccountType",
|
|
1730
|
+
type: {
|
|
1731
|
+
name: "Enum",
|
|
1732
|
+
allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"]
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1738
|
+
const SecurityProfile = {
|
|
1739
|
+
type: {
|
|
1740
|
+
name: "Composite",
|
|
1741
|
+
className: "SecurityProfile",
|
|
1742
|
+
modelProperties: {
|
|
1743
|
+
securityType: {
|
|
1744
|
+
defaultValue: "trustedLaunch",
|
|
1745
|
+
isConstant: true,
|
|
1746
|
+
serializedName: "securityType",
|
|
1747
|
+
type: {
|
|
1748
|
+
name: "String"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
encryptionAtHost: {
|
|
1752
|
+
serializedName: "encryptionAtHost",
|
|
1753
|
+
type: {
|
|
1754
|
+
name: "Boolean"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
uefiSettings: {
|
|
1758
|
+
serializedName: "uefiSettings",
|
|
1759
|
+
type: {
|
|
1760
|
+
name: "Composite",
|
|
1761
|
+
className: "UefiSettings"
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
};
|
|
1767
|
+
const UefiSettings = {
|
|
1768
|
+
type: {
|
|
1769
|
+
name: "Composite",
|
|
1770
|
+
className: "UefiSettings",
|
|
1771
|
+
modelProperties: {
|
|
1772
|
+
secureBootEnabled: {
|
|
1773
|
+
serializedName: "secureBootEnabled",
|
|
1774
|
+
type: {
|
|
1775
|
+
name: "Boolean"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
vTpmEnabled: {
|
|
1779
|
+
serializedName: "vTpmEnabled",
|
|
1780
|
+
type: {
|
|
1781
|
+
name: "Boolean"
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
};
|
|
1787
|
+
const ServiceArtifactReference = {
|
|
1788
|
+
type: {
|
|
1789
|
+
name: "Composite",
|
|
1790
|
+
className: "ServiceArtifactReference",
|
|
1791
|
+
modelProperties: {
|
|
1792
|
+
id: {
|
|
1793
|
+
serializedName: "id",
|
|
1794
|
+
required: true,
|
|
1795
|
+
type: {
|
|
1796
|
+
name: "String"
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
};
|
|
1682
1802
|
const ScaleSettings = {
|
|
1683
1803
|
type: {
|
|
1684
1804
|
name: "Composite",
|
|
@@ -1707,6 +1827,7 @@ const FixedScaleSettings = {
|
|
|
1707
1827
|
className: "FixedScaleSettings",
|
|
1708
1828
|
modelProperties: {
|
|
1709
1829
|
resizeTimeout: {
|
|
1830
|
+
defaultValue: "PT15M",
|
|
1710
1831
|
serializedName: "resizeTimeout",
|
|
1711
1832
|
type: {
|
|
1712
1833
|
name: "TimeSpan"
|
|
@@ -1834,6 +1955,7 @@ const NetworkConfiguration = {
|
|
|
1834
1955
|
}
|
|
1835
1956
|
},
|
|
1836
1957
|
dynamicVnetAssignmentScope: {
|
|
1958
|
+
defaultValue: "none",
|
|
1837
1959
|
serializedName: "dynamicVnetAssignmentScope",
|
|
1838
1960
|
type: {
|
|
1839
1961
|
name: "Enum",
|
|
@@ -2013,6 +2135,7 @@ const TaskSchedulingPolicy = {
|
|
|
2013
2135
|
className: "TaskSchedulingPolicy",
|
|
2014
2136
|
modelProperties: {
|
|
2015
2137
|
nodeFillType: {
|
|
2138
|
+
defaultValue: "Spread",
|
|
2016
2139
|
serializedName: "nodeFillType",
|
|
2017
2140
|
required: true,
|
|
2018
2141
|
type: {
|
|
@@ -2172,6 +2295,7 @@ const StartTask = {
|
|
|
2172
2295
|
}
|
|
2173
2296
|
},
|
|
2174
2297
|
maxTaskRetryCount: {
|
|
2298
|
+
defaultValue: 0,
|
|
2175
2299
|
serializedName: "maxTaskRetryCount",
|
|
2176
2300
|
type: {
|
|
2177
2301
|
name: "Number"
|
|
@@ -3185,6 +3309,7 @@ const Pool = {
|
|
|
3185
3309
|
className: "NetworkConfiguration"
|
|
3186
3310
|
}
|
|
3187
3311
|
}, taskSlotsPerNode: {
|
|
3312
|
+
defaultValue: 1,
|
|
3188
3313
|
serializedName: "properties.taskSlotsPerNode",
|
|
3189
3314
|
type: {
|
|
3190
3315
|
name: "Number"
|
|
@@ -3286,6 +3411,12 @@ const Pool = {
|
|
|
3286
3411
|
name: "Enum",
|
|
3287
3412
|
allowedValues: ["Default", "Classic", "Simplified"]
|
|
3288
3413
|
}
|
|
3414
|
+
}, resourceTags: {
|
|
3415
|
+
serializedName: "properties.resourceTags",
|
|
3416
|
+
type: {
|
|
3417
|
+
name: "Dictionary",
|
|
3418
|
+
value: { type: { name: "String" } }
|
|
3419
|
+
}
|
|
3289
3420
|
} })
|
|
3290
3421
|
}
|
|
3291
3422
|
};
|
|
@@ -3818,6 +3949,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3818
3949
|
ListPoolsResult: ListPoolsResult,
|
|
3819
3950
|
ListPrivateEndpointConnectionsResult: ListPrivateEndpointConnectionsResult,
|
|
3820
3951
|
ListPrivateLinkResourcesResult: ListPrivateLinkResourcesResult,
|
|
3952
|
+
ManagedDisk: ManagedDisk,
|
|
3821
3953
|
MetadataItem: MetadataItem,
|
|
3822
3954
|
MountConfiguration: MountConfiguration,
|
|
3823
3955
|
NFSMountConfiguration: NFSMountConfiguration,
|
|
@@ -3852,12 +3984,15 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3852
3984
|
Resource: Resource,
|
|
3853
3985
|
ResourceFile: ResourceFile,
|
|
3854
3986
|
ScaleSettings: ScaleSettings,
|
|
3987
|
+
SecurityProfile: SecurityProfile,
|
|
3988
|
+
ServiceArtifactReference: ServiceArtifactReference,
|
|
3855
3989
|
SkuCapability: SkuCapability,
|
|
3856
3990
|
StartTask: StartTask,
|
|
3857
3991
|
SupportedSku: SupportedSku,
|
|
3858
3992
|
SupportedSkusResult: SupportedSkusResult,
|
|
3859
3993
|
TaskContainerSettings: TaskContainerSettings,
|
|
3860
3994
|
TaskSchedulingPolicy: TaskSchedulingPolicy,
|
|
3995
|
+
UefiSettings: UefiSettings,
|
|
3861
3996
|
UserAccount: UserAccount,
|
|
3862
3997
|
UserAssignedIdentities: UserAssignedIdentities,
|
|
3863
3998
|
UserIdentity: UserIdentity,
|
|
@@ -3940,7 +4075,7 @@ const accountName = {
|
|
|
3940
4075
|
const apiVersion = {
|
|
3941
4076
|
parameterPath: "apiVersion",
|
|
3942
4077
|
mapper: {
|
|
3943
|
-
defaultValue: "2023-
|
|
4078
|
+
defaultValue: "2023-11-01",
|
|
3944
4079
|
isConstant: true,
|
|
3945
4080
|
serializedName: "api-version",
|
|
3946
4081
|
type: {
|
|
@@ -7539,7 +7674,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7539
7674
|
requestContentType: "application/json; charset=utf-8",
|
|
7540
7675
|
credential: credentials
|
|
7541
7676
|
};
|
|
7542
|
-
const packageDetails = `azsdk-js-arm-batch/9.0
|
|
7677
|
+
const packageDetails = `azsdk-js-arm-batch/9.1.0`;
|
|
7543
7678
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
7544
7679
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
7545
7680
|
: `${packageDetails}`;
|
|
@@ -7572,7 +7707,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7572
7707
|
this.subscriptionId = subscriptionId;
|
|
7573
7708
|
// Assigning values to Constant parameters
|
|
7574
7709
|
this.$host = options.$host || "https://management.azure.com";
|
|
7575
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
7710
|
+
this.apiVersion = options.apiVersion || "2023-11-01";
|
|
7576
7711
|
this.batchAccountOperations = new BatchAccountOperationsImpl(this);
|
|
7577
7712
|
this.applicationPackageOperations = new ApplicationPackageOperationsImpl(this);
|
|
7578
7713
|
this.applicationOperations = new ApplicationOperationsImpl(this);
|