@azure/arm-elasticsan 1.0.0-beta.2 → 1.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/CHANGELOG.md +2 -66
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +2138 -1227
- 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 -11
- 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 +8 -18
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +8 -18
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +8 -5
- package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +8 -18
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +11 -13
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
- 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 +8 -18
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +2 -2
- package/dist-esm/samples-dev/skusListSample.js +9 -19
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +22 -11
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
- 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 +8 -18
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +22 -11
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +74 -0
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +60 -0
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +60 -0
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +92 -0
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesCreateSample.js +8 -5
- package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +9 -3
- package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesGetSample.js +2 -2
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +8 -18
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
- package/dist-esm/src/elasticSanManagement.d.ts +2 -1
- package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
- package/dist-esm/src/elasticSanManagement.js +4 -3
- package/dist-esm/src/elasticSanManagement.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +420 -104
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +56 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +636 -189
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +39 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/elasticSans.js +6 -16
- package/dist-esm/src/operations/elasticSans.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/skus.js +3 -8
- package/dist-esm/src/operations/skus.js.map +1 -1
- package/dist-esm/src/operations/volumeGroups.js +3 -8
- package/dist-esm/src/operations/volumeGroups.js.map +1 -1
- package/dist-esm/src/operations/volumeSnapshots.d.ts +89 -0
- package/dist-esm/src/operations/volumeSnapshots.d.ts.map +1 -0
- package/dist-esm/src/operations/volumeSnapshots.js +390 -0
- package/dist-esm/src/operations/volumeSnapshots.js.map +1 -0
- package/dist-esm/src/operations/volumes.js +8 -9
- package/dist-esm/src/operations/volumes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.js +9 -0
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.js.map +1 -0
- package/dist-esm/test/elasticsan_examples.spec.js +40 -16
- package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
- package/package.json +15 -19
- package/review/arm-elasticsan.api.md +261 -35
- package/src/elasticSanManagement.ts +8 -4
- package/src/models/index.ts +461 -109
- package/src/models/mappers.ts +695 -247
- package/src/models/parameters.ts +44 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/volumeSnapshots.ts +551 -0
- package/src/operations/volumes.ts +5 -1
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/volumeSnapshots.ts +121 -0
- package/types/arm-elasticsan.d.ts +518 -103
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a list of ElasticSan operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a list of ElasticSan operations.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/Operations_List_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function operationsListMaximumSetGen() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -27,16 +27,11 @@ function operationsListMaximumSetGen() {
|
|
|
27
27
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
28
28
|
const resArray = new Array();
|
|
29
29
|
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
31
|
_c = _f.value;
|
|
32
32
|
_d = false;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
finally {
|
|
38
|
-
_d = true;
|
|
39
|
-
}
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -53,7 +48,7 @@ function operationsListMaximumSetGen() {
|
|
|
53
48
|
* This sample demonstrates how to Gets a list of ElasticSan operations.
|
|
54
49
|
*
|
|
55
50
|
* @summary Gets a list of ElasticSan operations.
|
|
56
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
51
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/Operations_List_MinimumSet_Gen.json
|
|
57
52
|
*/
|
|
58
53
|
function operationsListMinimumSetGen() {
|
|
59
54
|
var _a, e_2, _b, _c;
|
|
@@ -64,16 +59,11 @@ function operationsListMinimumSetGen() {
|
|
|
64
59
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
65
60
|
const resArray = new Array();
|
|
66
61
|
try {
|
|
67
|
-
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
62
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
68
63
|
_c = _f.value;
|
|
69
64
|
_d = false;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
resArray.push(item);
|
|
73
|
-
}
|
|
74
|
-
finally {
|
|
75
|
-
_d = true;
|
|
76
|
-
}
|
|
65
|
+
let item = _c;
|
|
66
|
+
resArray.push(item);
|
|
77
67
|
}
|
|
78
68
|
}
|
|
79
69
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CA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O,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;QAC9B,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update the state of specified private endpoint connection associated with the Elastic San
|
|
17
17
|
*
|
|
18
18
|
* @summary Update the state of specified private endpoint connection associated with the Elastic San
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function privateEndpointConnectionsCreateMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25,12 +25,14 @@ function privateEndpointConnectionsCreateMaximumSetGen() {
|
|
|
25
25
|
const elasticSanName = "elasticsanname";
|
|
26
26
|
const privateEndpointConnectionName = "privateendpointconnectionname";
|
|
27
27
|
const parameters = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
properties: {
|
|
29
|
+
groupIds: ["jdwrzpemdjrpiwzvy"],
|
|
30
|
+
privateEndpoint: {},
|
|
31
|
+
privateLinkServiceConnectionState: {
|
|
32
|
+
description: "dxl",
|
|
33
|
+
actionsRequired: "jhjdpwvyzipggtn",
|
|
34
|
+
status: "Pending"
|
|
35
|
+
}
|
|
34
36
|
}
|
|
35
37
|
};
|
|
36
38
|
const credential = new DefaultAzureCredential();
|
|
@@ -43,7 +45,7 @@ function privateEndpointConnectionsCreateMaximumSetGen() {
|
|
|
43
45
|
* This sample demonstrates how to Update the state of specified private endpoint connection associated with the Elastic San
|
|
44
46
|
*
|
|
45
47
|
* @summary Update the state of specified private endpoint connection associated with the Elastic San
|
|
46
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
48
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json
|
|
47
49
|
*/
|
|
48
50
|
function privateEndpointConnectionsCreateMinimumSetGen() {
|
|
49
51
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,11 +54,7 @@ function privateEndpointConnectionsCreateMinimumSetGen() {
|
|
|
52
54
|
const elasticSanName = "elasticsanname";
|
|
53
55
|
const privateEndpointConnectionName = "privateendpointconnectionname";
|
|
54
56
|
const parameters = {
|
|
55
|
-
privateLinkServiceConnectionState: {
|
|
56
|
-
description: "Auto-Approved",
|
|
57
|
-
actionsRequired: "None",
|
|
58
|
-
status: "Pending"
|
|
59
|
-
}
|
|
57
|
+
properties: { privateLinkServiceConnectionState: {} }
|
|
60
58
|
};
|
|
61
59
|
const credential = new DefaultAzureCredential();
|
|
62
60
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6CAA6C;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,mBAAmB,CAAC;QACnE,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC;QACtE,MAAM,UAAU,GAA8B;YAC5C,QAAQ,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6CAA6C;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,mBAAmB,CAAC;QACnE,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC;QACtE,MAAM,UAAU,GAA8B;YAC5C,UAAU,EAAE;gBACV,QAAQ,EAAE,CAAC,mBAAmB,CAAC;gBAC/B,eAAe,EAAE,EAAE;gBACnB,iCAAiC,EAAE;oBACjC,WAAW,EAAE,KAAK;oBAClB,eAAe,EAAE,iBAAiB;oBAClC,MAAM,EAAE,SAAS;iBAClB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,CACvE,iBAAiB,EACjB,cAAc,EACd,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,6CAA6C;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,mBAAmB,CAAC;QACnE,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC;QACtE,MAAM,UAAU,GAA8B;YAC5C,UAAU,EAAE,EAAE,iCAAiC,EAAE,EAAE,EAAE;SACtD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,CACvE,iBAAiB,EACjB,cAAc,EACd,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6CAA6C,EAAE,CAAC;QAChD,6CAA6C,EAAE,CAAC;IAClD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the Elastic San
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the specified private endpoint connection associated with the Elastic San
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function privateEndpointConnectionsDeleteMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function privateEndpointConnectionsDeleteMaximumSetGen() {
|
|
|
34
34
|
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the Elastic San
|
|
35
35
|
*
|
|
36
36
|
* @summary Deletes the specified private endpoint connection associated with the Elastic San
|
|
37
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
37
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json
|
|
38
38
|
*/
|
|
39
39
|
function privateEndpointConnectionsDeleteMinimumSetGen() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the Elastic San
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the specified private endpoint connection associated with the Elastic San
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function privateEndpointConnectionsGetMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function privateEndpointConnectionsGetMaximumSetGen() {
|
|
|
34
34
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the Elastic San
|
|
35
35
|
*
|
|
36
36
|
* @summary Gets the specified private endpoint connection associated with the Elastic San
|
|
37
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
37
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json
|
|
38
38
|
*/
|
|
39
39
|
function privateEndpointConnectionsGetMinimumSetGen() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all Private Endpoint Connections associated with the Elastic San.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all Private Endpoint Connections associated with the Elastic San.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function privateEndpointConnectionsListMaximumSetGen() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function privateEndpointConnectionsListMaximumSetGen() {
|
|
|
28
28
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
29
29
|
const resArray = new Array();
|
|
30
30
|
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.list(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.list(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
32
|
_c = _f.value;
|
|
33
33
|
_d = false;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
finally {
|
|
39
|
-
_d = true;
|
|
40
|
-
}
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -54,7 +49,7 @@ function privateEndpointConnectionsListMaximumSetGen() {
|
|
|
54
49
|
* This sample demonstrates how to List all Private Endpoint Connections associated with the Elastic San.
|
|
55
50
|
*
|
|
56
51
|
* @summary List all Private Endpoint Connections associated with the Elastic San.
|
|
57
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
52
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json
|
|
58
53
|
*/
|
|
59
54
|
function privateEndpointConnectionsListMinimumSetGen() {
|
|
60
55
|
var _a, e_2, _b, _c;
|
|
@@ -66,16 +61,11 @@ function privateEndpointConnectionsListMinimumSetGen() {
|
|
|
66
61
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
67
62
|
const resArray = new Array();
|
|
68
63
|
try {
|
|
69
|
-
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.list(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
64
|
+
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.list(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
70
65
|
_c = _f.value;
|
|
71
66
|
_d = false;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
resArray.push(item);
|
|
75
|
-
}
|
|
76
|
-
finally {
|
|
77
|
-
_d = true;
|
|
78
|
-
}
|
|
67
|
+
let item = _c;
|
|
68
|
+
resArray.push(item);
|
|
79
69
|
}
|
|
80
70
|
}
|
|
81
71
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsListSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,mBAAmB,CAAC;QACnE,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,IAAI,CAC3D,iBAAiB,EACjB,cAAc,CACf,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsListSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CA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;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;QAC9C,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the private link resources that need to be created for a elastic San.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the private link resources that need to be created for a elastic San.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function privateLinkResourcesListByElasticSanMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ function privateLinkResourcesListByElasticSanMaximumSetGen() {
|
|
|
33
33
|
* This sample demonstrates how to Gets the private link resources that need to be created for a elastic San.
|
|
34
34
|
*
|
|
35
35
|
* @summary Gets the private link resources that need to be created for a elastic San.
|
|
36
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
36
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json
|
|
37
37
|
*/
|
|
38
38
|
function privateLinkResourcesListByElasticSanMinimumSetGen() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,28 +16,23 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the available Skus in the region and information related to them
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the available Skus in the region and information related to them
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/Skus_List_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function skusListMaximumSetGen() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["ELASTICSANS_SUBSCRIPTION_ID"] || "subscriptionid";
|
|
25
|
-
const filter = "
|
|
25
|
+
const filter = "obwwdrkq";
|
|
26
26
|
const options = { filter };
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
28
28
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
29
29
|
const resArray = new Array();
|
|
30
30
|
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.skus.list(options)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.skus.list(options)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
32
|
_c = _f.value;
|
|
33
33
|
_d = false;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
finally {
|
|
39
|
-
_d = true;
|
|
40
|
-
}
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -54,7 +49,7 @@ function skusListMaximumSetGen() {
|
|
|
54
49
|
* This sample demonstrates how to List all the available Skus in the region and information related to them
|
|
55
50
|
*
|
|
56
51
|
* @summary List all the available Skus in the region and information related to them
|
|
57
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
52
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/Skus_List_MinimumSet_Gen.json
|
|
58
53
|
*/
|
|
59
54
|
function skusListMinimumSetGen() {
|
|
60
55
|
var _a, e_2, _b, _c;
|
|
@@ -64,16 +59,11 @@ function skusListMinimumSetGen() {
|
|
|
64
59
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
65
60
|
const resArray = new Array();
|
|
66
61
|
try {
|
|
67
|
-
for (var _d = true, _e = __asyncValues(client.skus.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
62
|
+
for (var _d = true, _e = __asyncValues(client.skus.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
68
63
|
_c = _f.value;
|
|
69
64
|
_d = false;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
resArray.push(item);
|
|
73
|
-
}
|
|
74
|
-
finally {
|
|
75
|
-
_d = true;
|
|
76
|
-
}
|
|
65
|
+
let item = _c;
|
|
66
|
+
resArray.push(item);
|
|
77
67
|
}
|
|
78
68
|
}
|
|
79
69
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skusListSample.js","sourceRoot":"","sources":["../../samples-dev/skusListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"skusListSample.js","sourceRoot":"","sources":["../../samples-dev/skusListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AAC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,CAAA,IAAA,sDAAE;gBAApB,cAAkB;gBAAlB,WAAkB;gBAA9B,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;QACxB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create a Volume Group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create a Volume Group.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Create_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function volumeGroupsCreateMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25,16 +25,27 @@ function volumeGroupsCreateMaximumSetGen() {
|
|
|
25
25
|
const elasticSanName = "elasticsanname";
|
|
26
26
|
const volumeGroupName = "volumegroupname";
|
|
27
27
|
const parameters = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
identity: { type: "None", userAssignedIdentities: { key7482: {} } },
|
|
29
|
+
properties: {
|
|
30
|
+
encryption: "EncryptionAtRestWithCustomerManagedKey",
|
|
31
|
+
encryptionProperties: {
|
|
32
|
+
encryptionIdentity: { encryptionUserAssignedIdentity: "im" },
|
|
33
|
+
keyVaultProperties: {
|
|
34
|
+
keyName: "sftaiernmrzypnrkpakrrawxcbsqzc",
|
|
35
|
+
keyVaultUri: "https://microsoft.com/axmblwp",
|
|
36
|
+
keyVersion: "c"
|
|
34
37
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
},
|
|
39
|
+
networkAcls: {
|
|
40
|
+
virtualNetworkRules: [
|
|
41
|
+
{
|
|
42
|
+
action: "Allow",
|
|
43
|
+
virtualNetworkResourceId: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
protocolType: "Iscsi"
|
|
48
|
+
}
|
|
38
49
|
};
|
|
39
50
|
const credential = new DefaultAzureCredential();
|
|
40
51
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
@@ -46,7 +57,7 @@ function volumeGroupsCreateMaximumSetGen() {
|
|
|
46
57
|
* This sample demonstrates how to Create a Volume Group.
|
|
47
58
|
*
|
|
48
59
|
* @summary Create a Volume Group.
|
|
49
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
60
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Create_MinimumSet_Gen.json
|
|
50
61
|
*/
|
|
51
62
|
function volumeGroupsCreateMinimumSetGen() {
|
|
52
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumeGroupsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/volumeGroupsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAe,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;G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AA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete an VolumeGroup.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete an VolumeGroup.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Delete_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function volumeGroupsDeleteMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function volumeGroupsDeleteMaximumSetGen() {
|
|
|
34
34
|
* This sample demonstrates how to Delete an VolumeGroup.
|
|
35
35
|
*
|
|
36
36
|
* @summary Delete an VolumeGroup.
|
|
37
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
37
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Delete_MinimumSet_Gen.json
|
|
38
38
|
*/
|
|
39
39
|
function volumeGroupsDeleteMinimumSetGen() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get an VolumeGroups.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get an VolumeGroups.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Get_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function volumeGroupsGetMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function volumeGroupsGetMaximumSetGen() {
|
|
|
34
34
|
* This sample demonstrates how to Get an VolumeGroups.
|
|
35
35
|
*
|
|
36
36
|
* @summary Get an VolumeGroups.
|
|
37
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
37
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Get_MinimumSet_Gen.json
|
|
38
38
|
*/
|
|
39
39
|
function volumeGroupsGetMinimumSetGen() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List VolumeGroups.
|
|
17
17
|
*
|
|
18
18
|
* @summary List VolumeGroups.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function volumeGroupsListByElasticSanMaximumSetGen() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function volumeGroupsListByElasticSanMaximumSetGen() {
|
|
|
28
28
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
29
29
|
const resArray = new Array();
|
|
30
30
|
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.volumeGroups.listByElasticSan(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.volumeGroups.listByElasticSan(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
32
|
_c = _f.value;
|
|
33
33
|
_d = false;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
finally {
|
|
39
|
-
_d = true;
|
|
40
|
-
}
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -54,7 +49,7 @@ function volumeGroupsListByElasticSanMaximumSetGen() {
|
|
|
54
49
|
* This sample demonstrates how to List VolumeGroups.
|
|
55
50
|
*
|
|
56
51
|
* @summary List VolumeGroups.
|
|
57
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
52
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json
|
|
58
53
|
*/
|
|
59
54
|
function volumeGroupsListByElasticSanMinimumSetGen() {
|
|
60
55
|
var _a, e_2, _b, _c;
|
|
@@ -66,16 +61,11 @@ function volumeGroupsListByElasticSanMinimumSetGen() {
|
|
|
66
61
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
67
62
|
const resArray = new Array();
|
|
68
63
|
try {
|
|
69
|
-
for (var _d = true, _e = __asyncValues(client.volumeGroups.listByElasticSan(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
64
|
+
for (var _d = true, _e = __asyncValues(client.volumeGroups.listByElasticSan(resourceGroupName, elasticSanName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
70
65
|
_c = _f.value;
|
|
71
66
|
_d = false;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
resArray.push(item);
|
|
75
|
-
}
|
|
76
|
-
finally {
|
|
77
|
-
_d = true;
|
|
78
|
-
}
|
|
67
|
+
let item = _c;
|
|
68
|
+
resArray.push(item);
|
|
79
69
|
}
|
|
80
70
|
}
|
|
81
71
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumeGroupsListByElasticSanSample.js","sourceRoot":"","sources":["../../samples-dev/volumeGroupsListByElasticSanSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,gBAAgB,CAAC;QACjE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,mBAAmB,CAAC;QACnE,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,gBAAgB,CACzD,iBAAiB,EACjB,cAAc,CACf,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"volumeGroupsListByElasticSanSample.js","sourceRoot":"","sources":["../../samples-dev/volumeGroupsListByElasticSanSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;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c,CACf,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;QAC5C,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update an VolumeGroup.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update an VolumeGroup.
|
|
19
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
19
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Update_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function volumeGroupsUpdateMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25,16 +25,27 @@ function volumeGroupsUpdateMaximumSetGen() {
|
|
|
25
25
|
const elasticSanName = "elasticsanname";
|
|
26
26
|
const volumeGroupName = "volumegroupname";
|
|
27
27
|
const parameters = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
identity: { type: "None", userAssignedIdentities: { key7482: {} } },
|
|
29
|
+
properties: {
|
|
30
|
+
encryption: "EncryptionAtRestWithPlatformKey",
|
|
31
|
+
encryptionProperties: {
|
|
32
|
+
encryptionIdentity: { encryptionUserAssignedIdentity: "im" },
|
|
33
|
+
keyVaultProperties: {
|
|
34
|
+
keyName: "sftaiernmrzypnrkpakrrawxcbsqzc",
|
|
35
|
+
keyVaultUri: "https://microsoft.com/axmblwp",
|
|
36
|
+
keyVersion: "c"
|
|
34
37
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
},
|
|
39
|
+
networkAcls: {
|
|
40
|
+
virtualNetworkRules: [
|
|
41
|
+
{
|
|
42
|
+
action: "Allow",
|
|
43
|
+
virtualNetworkResourceId: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
protocolType: "Iscsi"
|
|
48
|
+
}
|
|
38
49
|
};
|
|
39
50
|
const credential = new DefaultAzureCredential();
|
|
40
51
|
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
@@ -46,7 +57,7 @@ function volumeGroupsUpdateMaximumSetGen() {
|
|
|
46
57
|
* This sample demonstrates how to Update an VolumeGroup.
|
|
47
58
|
*
|
|
48
59
|
* @summary Update an VolumeGroup.
|
|
49
|
-
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/
|
|
60
|
+
* x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2023-01-01/examples/VolumeGroups_Update_MinimumSet_Gen.json
|
|
50
61
|
*/
|
|
51
62
|
function volumeGroupsUpdateMinimumSetGen() {
|
|
52
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumeGroupsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/volumeGroupsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAqB,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAA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B,+BAA+B,EAAE,CAAC;QAClC,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volumeSnapshotsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/volumeSnapshotsCreateSample.ts"],"names":[],"mappings":""}
|