@azure/arm-elasticsan 1.0.0-beta.3 → 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 +1 -69
- package/LICENSE +1 -1
- package/dist/index.js +429 -294
- 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 +12 -8
- package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +6 -16
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +6 -16
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +5 -3
- package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +6 -16
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +9 -7
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +6 -16
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.js +6 -16
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +19 -17
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +6 -16
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +19 -17
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +8 -4
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +6 -16
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesCreateSample.js +6 -4
- package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +6 -16
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
- package/dist-esm/src/elasticSanManagement.js +1 -1
- package/dist-esm/src/elasticSanManagement.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +169 -124
- 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 +9 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +393 -229
- package/dist-esm/src/models/mappers.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/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.js +3 -8
- package/dist-esm/src/operations/volumeSnapshots.js.map +1 -1
- package/dist-esm/src/operations/volumes.js +3 -8
- package/dist-esm/src/operations/volumes.js.map +1 -1
- package/dist-esm/test/elasticsan_examples.spec.js +40 -16
- package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
- package/package.json +9 -7
- package/review/arm-elasticsan.api.md +84 -39
- package/src/elasticSanManagement.ts +1 -1
- package/src/models/index.ts +178 -124
- package/src/models/mappers.ts +406 -262
- package/types/arm-elasticsan.d.ts +169 -115
- package/types/tsdoc-metadata.json +1 -1
|
@@ -38,16 +38,16 @@ describe("elasticSan test", () => {
|
|
|
38
38
|
// This is an example of how the environment variables are used
|
|
39
39
|
const credential = createTestCredential();
|
|
40
40
|
client = new ElasticSanManagement(credential, subscriptionId, recorder.configureClientOptions({}));
|
|
41
|
-
location = "
|
|
41
|
+
location = "eastus2";
|
|
42
42
|
resourceGroup = "myjstest";
|
|
43
|
-
elasticSanName = "
|
|
43
|
+
elasticSanName = "testelasticsan";
|
|
44
44
|
parameters = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
location,
|
|
46
|
+
properties: {
|
|
47
|
+
baseSizeTiB: 15,
|
|
48
|
+
extendedCapacitySizeTiB: 27,
|
|
49
|
+
sku: { name: "Premium_LRS" }
|
|
50
|
+
}
|
|
51
51
|
};
|
|
52
52
|
});
|
|
53
53
|
});
|
|
@@ -56,21 +56,22 @@ describe("elasticSan test", () => {
|
|
|
56
56
|
yield recorder.stop();
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
|
+
it("elasticSan create test", function () {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const res = yield client.elasticSans.beginCreateAndWait(resourceGroup, elasticSanName, parameters);
|
|
62
|
+
assert.equal(res.name, elasticSanName);
|
|
63
|
+
});
|
|
64
|
+
});
|
|
59
65
|
it("elasticSan list test", function () {
|
|
60
66
|
var _a, e_1, _b, _c;
|
|
61
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
68
|
const resArray = new Array();
|
|
63
69
|
try {
|
|
64
|
-
for (var _d = true, _e = __asyncValues(client.elasticSans.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
70
|
+
for (var _d = true, _e = __asyncValues(client.elasticSans.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
65
71
|
_c = _f.value;
|
|
66
72
|
_d = false;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
resArray.push(item);
|
|
70
|
-
}
|
|
71
|
-
finally {
|
|
72
|
-
_d = true;
|
|
73
|
-
}
|
|
73
|
+
let item = _c;
|
|
74
|
+
resArray.push(item);
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -80,6 +81,29 @@ describe("elasticSan test", () => {
|
|
|
80
81
|
}
|
|
81
82
|
finally { if (e_1) throw e_1.error; }
|
|
82
83
|
}
|
|
84
|
+
assert.equal(resArray.length, 1);
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
it("elasticSan delete test", function () {
|
|
88
|
+
var _a, e_2, _b, _c;
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const resArray = new Array();
|
|
91
|
+
const result = yield client.elasticSans.beginDeleteAndWait(resourceGroup, elasticSanName);
|
|
92
|
+
try {
|
|
93
|
+
for (var _d = true, _e = __asyncValues(client.elasticSans.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
94
|
+
_c = _f.value;
|
|
95
|
+
_d = false;
|
|
96
|
+
let item = _c;
|
|
97
|
+
resArray.push(item);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
101
|
+
finally {
|
|
102
|
+
try {
|
|
103
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
104
|
+
}
|
|
105
|
+
finally { if (e_2) throw e_2.error; }
|
|
106
|
+
}
|
|
83
107
|
assert.equal(resArray.length, 0);
|
|
84
108
|
});
|
|
85
109
|
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EAAE;;;YAC3B,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;YAC7B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,kBAAkB,CACxD,aAAa,EACb,cAAc,CACf,CAAC;;gBACF,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA,sDAAE;oBAAvD,cAAqD;oBAArD,WAAqD;oBAAjE,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACrB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for ElasticSanManagement.",
|
|
6
|
-
"version": "1.0.0
|
|
6
|
+
"version": "1.0.0",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@azure/core-lro": "^2.5.4",
|
|
@@ -30,20 +30,22 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@microsoft/api-extractor": "^7.31.1",
|
|
32
32
|
"mkdirp": "^2.1.2",
|
|
33
|
-
"typescript": "~5.
|
|
33
|
+
"typescript": "~5.2.0",
|
|
34
34
|
"uglify-js": "^3.4.9",
|
|
35
35
|
"rimraf": "^5.0.0",
|
|
36
36
|
"dotenv": "^16.0.0",
|
|
37
|
+
"@azure/dev-tool": "^1.0.0",
|
|
37
38
|
"@azure/identity": "^3.3.0",
|
|
38
39
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
39
40
|
"@azure-tools/test-credential": "^1.0.0",
|
|
40
41
|
"mocha": "^10.0.0",
|
|
42
|
+
"@types/mocha": "^10.0.0",
|
|
43
|
+
"esm": "^3.2.18",
|
|
41
44
|
"@types/chai": "^4.2.8",
|
|
42
45
|
"chai": "^4.2.0",
|
|
43
46
|
"cross-env": "^7.0.2",
|
|
44
|
-
"@types/node": "^
|
|
45
|
-
"ts-node": "^10.0.0"
|
|
46
|
-
"@azure/dev-tool": "^1.0.0"
|
|
47
|
+
"@types/node": "^18.0.0",
|
|
48
|
+
"ts-node": "^10.0.0"
|
|
47
49
|
},
|
|
48
50
|
"repository": {
|
|
49
51
|
"type": "git",
|
|
@@ -114,4 +116,4 @@
|
|
|
114
116
|
"disableDocsMs": true,
|
|
115
117
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview"
|
|
116
118
|
}
|
|
117
|
-
}
|
|
119
|
+
}
|
|
@@ -21,18 +21,7 @@ export type CreatedByType = string;
|
|
|
21
21
|
|
|
22
22
|
// @public
|
|
23
23
|
export interface ElasticSan extends TrackedResource {
|
|
24
|
-
|
|
25
|
-
baseSizeTiB: number;
|
|
26
|
-
extendedCapacitySizeTiB: number;
|
|
27
|
-
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
28
|
-
readonly provisioningState?: ProvisioningStates;
|
|
29
|
-
publicNetworkAccess?: PublicNetworkAccess;
|
|
30
|
-
sku: Sku;
|
|
31
|
-
readonly totalIops?: number;
|
|
32
|
-
readonly totalMBps?: number;
|
|
33
|
-
readonly totalSizeTiB?: number;
|
|
34
|
-
readonly totalVolumeSizeGiB?: number;
|
|
35
|
-
readonly volumeGroupCount?: number;
|
|
24
|
+
properties: ElasticSanProperties;
|
|
36
25
|
}
|
|
37
26
|
|
|
38
27
|
// @public
|
|
@@ -75,6 +64,22 @@ export interface ElasticSanManagementOptionalParams extends coreClient.ServiceCl
|
|
|
75
64
|
endpoint?: string;
|
|
76
65
|
}
|
|
77
66
|
|
|
67
|
+
// @public
|
|
68
|
+
export interface ElasticSanProperties {
|
|
69
|
+
availabilityZones?: string[];
|
|
70
|
+
baseSizeTiB: number;
|
|
71
|
+
extendedCapacitySizeTiB: number;
|
|
72
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
73
|
+
readonly provisioningState?: ProvisioningStates;
|
|
74
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
75
|
+
sku: Sku;
|
|
76
|
+
readonly totalIops?: number;
|
|
77
|
+
readonly totalMBps?: number;
|
|
78
|
+
readonly totalSizeTiB?: number;
|
|
79
|
+
readonly totalVolumeSizeGiB?: number;
|
|
80
|
+
readonly volumeGroupCount?: number;
|
|
81
|
+
}
|
|
82
|
+
|
|
78
83
|
// @public
|
|
79
84
|
export interface ElasticSans {
|
|
80
85
|
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
|
|
@@ -161,14 +166,19 @@ export type ElasticSansUpdateResponse = ElasticSan;
|
|
|
161
166
|
|
|
162
167
|
// @public
|
|
163
168
|
export interface ElasticSanUpdate {
|
|
164
|
-
|
|
165
|
-
extendedCapacitySizeTiB?: number;
|
|
166
|
-
publicNetworkAccess?: PublicNetworkAccess;
|
|
169
|
+
properties?: ElasticSanUpdateProperties;
|
|
167
170
|
tags?: {
|
|
168
171
|
[propertyName: string]: string;
|
|
169
172
|
};
|
|
170
173
|
}
|
|
171
174
|
|
|
175
|
+
// @public
|
|
176
|
+
export interface ElasticSanUpdateProperties {
|
|
177
|
+
baseSizeTiB?: number;
|
|
178
|
+
extendedCapacitySizeTiB?: number;
|
|
179
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
180
|
+
}
|
|
181
|
+
|
|
172
182
|
// @public
|
|
173
183
|
export interface EncryptionIdentity {
|
|
174
184
|
encryptionUserAssignedIdentity?: string;
|
|
@@ -410,10 +420,7 @@ export interface PrivateEndpoint {
|
|
|
410
420
|
|
|
411
421
|
// @public
|
|
412
422
|
export interface PrivateEndpointConnection extends Resource {
|
|
413
|
-
|
|
414
|
-
privateEndpoint?: PrivateEndpoint;
|
|
415
|
-
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
416
|
-
readonly provisioningState?: ProvisioningStates;
|
|
423
|
+
properties: PrivateEndpointConnectionProperties;
|
|
417
424
|
}
|
|
418
425
|
|
|
419
426
|
// @public
|
|
@@ -422,6 +429,14 @@ export interface PrivateEndpointConnectionListResult {
|
|
|
422
429
|
value?: PrivateEndpointConnection[];
|
|
423
430
|
}
|
|
424
431
|
|
|
432
|
+
// @public
|
|
433
|
+
export interface PrivateEndpointConnectionProperties {
|
|
434
|
+
groupIds?: string[];
|
|
435
|
+
privateEndpoint?: PrivateEndpoint;
|
|
436
|
+
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
437
|
+
readonly provisioningState?: ProvisioningStates;
|
|
438
|
+
}
|
|
439
|
+
|
|
425
440
|
// @public
|
|
426
441
|
export interface PrivateEndpointConnections {
|
|
427
442
|
beginCreate(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
|
|
@@ -472,9 +487,7 @@ export type PrivateEndpointServiceConnectionStatus = string;
|
|
|
472
487
|
|
|
473
488
|
// @public
|
|
474
489
|
export interface PrivateLinkResource extends Resource {
|
|
475
|
-
|
|
476
|
-
readonly requiredMembers?: string[];
|
|
477
|
-
requiredZoneNames?: string[];
|
|
490
|
+
properties?: PrivateLinkResourceProperties;
|
|
478
491
|
}
|
|
479
492
|
|
|
480
493
|
// @public
|
|
@@ -483,6 +496,13 @@ export interface PrivateLinkResourceListResult {
|
|
|
483
496
|
value?: PrivateLinkResource[];
|
|
484
497
|
}
|
|
485
498
|
|
|
499
|
+
// @public
|
|
500
|
+
export interface PrivateLinkResourceProperties {
|
|
501
|
+
readonly groupId?: string;
|
|
502
|
+
readonly requiredMembers?: string[];
|
|
503
|
+
requiredZoneNames?: string[];
|
|
504
|
+
}
|
|
505
|
+
|
|
486
506
|
// @public
|
|
487
507
|
export interface PrivateLinkResources {
|
|
488
508
|
listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: PrivateLinkResourcesListByElasticSanOptionalParams): Promise<PrivateLinkResourcesListByElasticSanResponse>;
|
|
@@ -575,10 +595,7 @@ export type SkuTier = string;
|
|
|
575
595
|
|
|
576
596
|
// @public
|
|
577
597
|
export interface Snapshot extends ProxyResource {
|
|
578
|
-
|
|
579
|
-
readonly provisioningState?: ProvisioningStates;
|
|
580
|
-
readonly sourceVolumeSizeGiB?: number;
|
|
581
|
-
readonly volumeName?: string;
|
|
598
|
+
properties: SnapshotProperties;
|
|
582
599
|
}
|
|
583
600
|
|
|
584
601
|
// @public
|
|
@@ -592,6 +609,14 @@ export interface SnapshotList {
|
|
|
592
609
|
value?: Snapshot[];
|
|
593
610
|
}
|
|
594
611
|
|
|
612
|
+
// @public
|
|
613
|
+
export interface SnapshotProperties {
|
|
614
|
+
creationData: SnapshotCreationData;
|
|
615
|
+
readonly provisioningState?: ProvisioningStates;
|
|
616
|
+
readonly sourceVolumeSizeGiB?: number;
|
|
617
|
+
readonly volumeName?: string;
|
|
618
|
+
}
|
|
619
|
+
|
|
595
620
|
// @public
|
|
596
621
|
export interface SourceCreationData {
|
|
597
622
|
createSource?: VolumeCreateOption;
|
|
@@ -633,12 +658,7 @@ export interface VirtualNetworkRule {
|
|
|
633
658
|
|
|
634
659
|
// @public
|
|
635
660
|
export interface Volume extends ProxyResource {
|
|
636
|
-
|
|
637
|
-
managedBy?: ManagedByInfo;
|
|
638
|
-
readonly provisioningState?: ProvisioningStates;
|
|
639
|
-
sizeGiB: number;
|
|
640
|
-
readonly storageTarget?: IscsiTargetInfo;
|
|
641
|
-
readonly volumeId?: string;
|
|
661
|
+
properties: VolumeProperties;
|
|
642
662
|
}
|
|
643
663
|
|
|
644
664
|
// @public
|
|
@@ -646,13 +666,8 @@ export type VolumeCreateOption = string;
|
|
|
646
666
|
|
|
647
667
|
// @public
|
|
648
668
|
export interface VolumeGroup extends ProxyResource {
|
|
649
|
-
encryption?: EncryptionType;
|
|
650
|
-
encryptionProperties?: EncryptionProperties;
|
|
651
669
|
identity?: Identity;
|
|
652
|
-
|
|
653
|
-
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
654
|
-
protocolType?: StorageTargetType;
|
|
655
|
-
readonly provisioningState?: ProvisioningStates;
|
|
670
|
+
properties?: VolumeGroupProperties;
|
|
656
671
|
}
|
|
657
672
|
|
|
658
673
|
// @public
|
|
@@ -661,6 +676,16 @@ export interface VolumeGroupList {
|
|
|
661
676
|
value?: VolumeGroup[];
|
|
662
677
|
}
|
|
663
678
|
|
|
679
|
+
// @public
|
|
680
|
+
export interface VolumeGroupProperties {
|
|
681
|
+
encryption?: EncryptionType;
|
|
682
|
+
encryptionProperties?: EncryptionProperties;
|
|
683
|
+
networkAcls?: NetworkRuleSet;
|
|
684
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
685
|
+
protocolType?: StorageTargetType;
|
|
686
|
+
readonly provisioningState?: ProvisioningStates;
|
|
687
|
+
}
|
|
688
|
+
|
|
664
689
|
// @public
|
|
665
690
|
export interface VolumeGroups {
|
|
666
691
|
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
|
|
@@ -732,9 +757,14 @@ export type VolumeGroupsUpdateResponse = VolumeGroup;
|
|
|
732
757
|
|
|
733
758
|
// @public
|
|
734
759
|
export interface VolumeGroupUpdate {
|
|
760
|
+
identity?: Identity;
|
|
761
|
+
properties?: VolumeGroupUpdateProperties;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
// @public
|
|
765
|
+
export interface VolumeGroupUpdateProperties {
|
|
735
766
|
encryption?: EncryptionType;
|
|
736
767
|
encryptionProperties?: EncryptionProperties;
|
|
737
|
-
identity?: Identity;
|
|
738
768
|
networkAcls?: NetworkRuleSet;
|
|
739
769
|
protocolType?: StorageTargetType;
|
|
740
770
|
}
|
|
@@ -745,6 +775,16 @@ export interface VolumeList {
|
|
|
745
775
|
value?: Volume[];
|
|
746
776
|
}
|
|
747
777
|
|
|
778
|
+
// @public
|
|
779
|
+
export interface VolumeProperties {
|
|
780
|
+
creationData?: SourceCreationData;
|
|
781
|
+
managedBy?: ManagedByInfo;
|
|
782
|
+
readonly provisioningState?: ProvisioningStates;
|
|
783
|
+
sizeGiB: number;
|
|
784
|
+
readonly storageTarget?: IscsiTargetInfo;
|
|
785
|
+
readonly volumeId?: string;
|
|
786
|
+
}
|
|
787
|
+
|
|
748
788
|
// @public
|
|
749
789
|
export interface Volumes {
|
|
750
790
|
beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
|
|
@@ -871,6 +911,11 @@ export type VolumesUpdateResponse = Volume;
|
|
|
871
911
|
|
|
872
912
|
// @public
|
|
873
913
|
export interface VolumeUpdate {
|
|
914
|
+
properties?: VolumeUpdateProperties;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// @public
|
|
918
|
+
export interface VolumeUpdateProperties {
|
|
874
919
|
managedBy?: ManagedByInfo;
|
|
875
920
|
sizeGiB?: number;
|
|
876
921
|
}
|
|
@@ -68,7 +68,7 @@ export class ElasticSanManagement extends coreClient.ServiceClient {
|
|
|
68
68
|
credential: credentials
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
const packageDetails = `azsdk-js-arm-elasticsan/1.0.0
|
|
71
|
+
const packageDetails = `azsdk-js-arm-elasticsan/1.0.0`;
|
|
72
72
|
const userAgentPrefix =
|
|
73
73
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
74
74
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|