@azure/arm-elasticsan 1.1.0 → 1.2.0-beta.1
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 +13 -0
- package/README.md +1 -1
- package/dist/index.js +76 -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/samples-dev/elasticSansCreateSample.js +16 -8
- package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansDeleteSample.js +2 -2
- package/dist-esm/samples-dev/elasticSansGetSample.js +2 -2
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +13 -5
- package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +2 -2
- package/dist-esm/samples-dev/skusListSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +2 -2
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +2 -2
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +2 -2
- package/dist-esm/samples-dev/volumesCreateSample.js +2 -2
- package/dist-esm/samples-dev/volumesDeleteSample.js +2 -2
- package/dist-esm/samples-dev/volumesGetSample.js +2 -2
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +2 -2
- package/dist-esm/samples-dev/volumesUpdateSample.js +2 -2
- package/dist-esm/src/elasticSanManagement.js +2 -2
- package/dist-esm/src/elasticSanManagement.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +39 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +61 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/package.json +5 -8
- package/review/arm-elasticsan.api.md +25 -0
- package/src/elasticSanManagement.ts +2 -2
- package/src/models/index.ts +43 -0
- package/src/models/mappers.ts +63 -0
- package/src/models/parameters.ts +1 -1
- package/types/arm-elasticsan.d.ts +43 -0
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 1.2.0-beta.1 (2024-10-18)
|
|
4
|
+
Compared with version 1.1.0
|
|
5
|
+
|
|
6
|
+
### Features Added
|
|
7
|
+
|
|
8
|
+
- Added Interface AutoScaleProperties
|
|
9
|
+
- Added Interface ScaleUpProperties
|
|
10
|
+
- Added Type Alias AutoScalePolicyEnforcement
|
|
11
|
+
- Interface ElasticSanProperties has a new optional parameter autoScaleProperties
|
|
12
|
+
- Interface ElasticSanUpdateProperties has a new optional parameter autoScaleProperties
|
|
13
|
+
- Added Enum KnownAutoScalePolicyEnforcement
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
## 1.1.0 (2024-08-12)
|
|
4
17
|
|
|
5
18
|
### Features Added
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-elasticsan) |
|
|
9
|
-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-elasticsan) |
|
|
9
|
+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
package/dist/index.js
CHANGED
|
@@ -148,6 +148,16 @@ exports.KnownPublicNetworkAccess = void 0;
|
|
|
148
148
|
/** Disabled */
|
|
149
149
|
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
150
150
|
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
151
|
+
/** Known values of {@link AutoScalePolicyEnforcement} that the service accepts. */
|
|
152
|
+
exports.KnownAutoScalePolicyEnforcement = void 0;
|
|
153
|
+
(function (KnownAutoScalePolicyEnforcement) {
|
|
154
|
+
/** None */
|
|
155
|
+
KnownAutoScalePolicyEnforcement["None"] = "None";
|
|
156
|
+
/** Enabled */
|
|
157
|
+
KnownAutoScalePolicyEnforcement["Enabled"] = "Enabled";
|
|
158
|
+
/** Disabled */
|
|
159
|
+
KnownAutoScalePolicyEnforcement["Disabled"] = "Disabled";
|
|
160
|
+
})(exports.KnownAutoScalePolicyEnforcement || (exports.KnownAutoScalePolicyEnforcement = {}));
|
|
151
161
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
152
162
|
exports.KnownIdentityType = void 0;
|
|
153
163
|
(function (KnownIdentityType) {
|
|
@@ -706,6 +716,13 @@ const ElasticSanProperties = {
|
|
|
706
716
|
name: "String",
|
|
707
717
|
},
|
|
708
718
|
},
|
|
719
|
+
autoScaleProperties: {
|
|
720
|
+
serializedName: "autoScaleProperties",
|
|
721
|
+
type: {
|
|
722
|
+
name: "Composite",
|
|
723
|
+
className: "AutoScaleProperties",
|
|
724
|
+
},
|
|
725
|
+
},
|
|
709
726
|
},
|
|
710
727
|
},
|
|
711
728
|
};
|
|
@@ -891,6 +908,53 @@ const SystemData = {
|
|
|
891
908
|
},
|
|
892
909
|
},
|
|
893
910
|
};
|
|
911
|
+
const AutoScaleProperties = {
|
|
912
|
+
type: {
|
|
913
|
+
name: "Composite",
|
|
914
|
+
className: "AutoScaleProperties",
|
|
915
|
+
modelProperties: {
|
|
916
|
+
scaleUpProperties: {
|
|
917
|
+
serializedName: "scaleUpProperties",
|
|
918
|
+
type: {
|
|
919
|
+
name: "Composite",
|
|
920
|
+
className: "ScaleUpProperties",
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
};
|
|
926
|
+
const ScaleUpProperties = {
|
|
927
|
+
type: {
|
|
928
|
+
name: "Composite",
|
|
929
|
+
className: "ScaleUpProperties",
|
|
930
|
+
modelProperties: {
|
|
931
|
+
unusedSizeTiB: {
|
|
932
|
+
serializedName: "unusedSizeTiB",
|
|
933
|
+
type: {
|
|
934
|
+
name: "Number",
|
|
935
|
+
},
|
|
936
|
+
},
|
|
937
|
+
increaseCapacityUnitByTiB: {
|
|
938
|
+
serializedName: "increaseCapacityUnitByTiB",
|
|
939
|
+
type: {
|
|
940
|
+
name: "Number",
|
|
941
|
+
},
|
|
942
|
+
},
|
|
943
|
+
capacityUnitScaleUpLimitTiB: {
|
|
944
|
+
serializedName: "capacityUnitScaleUpLimitTiB",
|
|
945
|
+
type: {
|
|
946
|
+
name: "Number",
|
|
947
|
+
},
|
|
948
|
+
},
|
|
949
|
+
autoScalePolicyEnforcement: {
|
|
950
|
+
serializedName: "autoScalePolicyEnforcement",
|
|
951
|
+
type: {
|
|
952
|
+
name: "String",
|
|
953
|
+
},
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
};
|
|
894
958
|
const ElasticSanUpdate = {
|
|
895
959
|
type: {
|
|
896
960
|
name: "Composite",
|
|
@@ -936,6 +1000,13 @@ const ElasticSanUpdateProperties = {
|
|
|
936
1000
|
name: "String",
|
|
937
1001
|
},
|
|
938
1002
|
},
|
|
1003
|
+
autoScaleProperties: {
|
|
1004
|
+
serializedName: "autoScaleProperties",
|
|
1005
|
+
type: {
|
|
1006
|
+
name: "Composite",
|
|
1007
|
+
className: "AutoScaleProperties",
|
|
1008
|
+
},
|
|
1009
|
+
},
|
|
939
1010
|
},
|
|
940
1011
|
},
|
|
941
1012
|
};
|
|
@@ -1857,6 +1928,7 @@ const VolumeSnapshotsDeleteHeaders = {
|
|
|
1857
1928
|
|
|
1858
1929
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1859
1930
|
__proto__: null,
|
|
1931
|
+
AutoScaleProperties: AutoScaleProperties,
|
|
1860
1932
|
ElasticSan: ElasticSan,
|
|
1861
1933
|
ElasticSanList: ElasticSanList,
|
|
1862
1934
|
ElasticSanProperties: ElasticSanProperties,
|
|
@@ -1889,6 +1961,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1889
1961
|
ProxyResource: ProxyResource,
|
|
1890
1962
|
Resource: Resource,
|
|
1891
1963
|
SKUCapability: SKUCapability,
|
|
1964
|
+
ScaleUpProperties: ScaleUpProperties,
|
|
1892
1965
|
Sku: Sku,
|
|
1893
1966
|
SkuInformation: SkuInformation,
|
|
1894
1967
|
SkuInformationList: SkuInformationList,
|
|
@@ -1951,7 +2024,7 @@ const $host = {
|
|
|
1951
2024
|
const apiVersion = {
|
|
1952
2025
|
parameterPath: "apiVersion",
|
|
1953
2026
|
mapper: {
|
|
1954
|
-
defaultValue: "2024-
|
|
2027
|
+
defaultValue: "2024-06-01-preview",
|
|
1955
2028
|
isConstant: true,
|
|
1956
2029
|
serializedName: "api-version",
|
|
1957
2030
|
type: {
|
|
@@ -4613,7 +4686,7 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
|
|
|
4613
4686
|
requestContentType: "application/json; charset=utf-8",
|
|
4614
4687
|
credential: credentials,
|
|
4615
4688
|
};
|
|
4616
|
-
const packageDetails = `azsdk-js-arm-elasticsan/1.
|
|
4689
|
+
const packageDetails = `azsdk-js-arm-elasticsan/1.2.0-beta.1`;
|
|
4617
4690
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4618
4691
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4619
4692
|
: `${packageDetails}`;
|
|
@@ -4646,7 +4719,7 @@ class ElasticSanManagement extends coreClient__namespace.ServiceClient {
|
|
|
4646
4719
|
this.subscriptionId = subscriptionId;
|
|
4647
4720
|
// Assigning values to Constant parameters
|
|
4648
4721
|
this.$host = options.$host || "https://management.azure.com";
|
|
4649
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
4722
|
+
this.apiVersion = options.apiVersion || "2024-06-01-preview";
|
|
4650
4723
|
this.operations = new OperationsImpl(this);
|
|
4651
4724
|
this.skus = new SkusImpl(this);
|
|
4652
4725
|
this.elasticSans = new ElasticSansImpl(this);
|