@azure/arm-elasticsan 1.0.1-alpha.20240925.1 → 1.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.
Files changed (97) hide show
  1. package/CHANGELOG.md +7 -9
  2. package/dist/index.js +849 -837
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/elasticSansCreateSample.js +6 -6
  7. package/dist-esm/samples-dev/elasticSansDeleteSample.js +2 -2
  8. package/dist-esm/samples-dev/elasticSansGetSample.js +2 -2
  9. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +2 -2
  10. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +2 -2
  11. package/dist-esm/samples-dev/elasticSansUpdateSample.js +4 -4
  12. package/dist-esm/samples-dev/operationsListSample.js +2 -2
  13. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +7 -7
  14. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
  16. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +2 -2
  17. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +2 -2
  18. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +2 -2
  19. package/dist-esm/samples-dev/skusListSample.js +3 -3
  20. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +17 -14
  22. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  23. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +2 -2
  24. package/dist-esm/samples-dev/volumeGroupsGetSample.js +2 -2
  25. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +2 -2
  26. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +16 -13
  27. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +8 -8
  29. package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +2 -2
  30. package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +2 -2
  31. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +3 -3
  32. package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +1 -1
  33. package/dist-esm/samples-dev/volumesCreateSample.js +4 -4
  34. package/dist-esm/samples-dev/volumesDeleteSample.js +4 -4
  35. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
  36. package/dist-esm/samples-dev/volumesGetSample.js +2 -2
  37. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +2 -2
  38. package/dist-esm/samples-dev/volumesUpdateSample.js +2 -2
  39. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
  40. package/dist-esm/src/elasticSanManagement.js +9 -9
  41. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  42. package/dist-esm/src/lroImpl.js +1 -1
  43. package/dist-esm/src/models/index.d.ts +4 -0
  44. package/dist-esm/src/models/index.d.ts.map +1 -1
  45. package/dist-esm/src/models/index.js.map +1 -1
  46. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  47. package/dist-esm/src/models/mappers.js +531 -519
  48. package/dist-esm/src/models/mappers.js.map +1 -1
  49. package/dist-esm/src/models/parameters.js +61 -61
  50. package/dist-esm/src/models/parameters.js.map +1 -1
  51. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -1
  52. package/dist-esm/src/operations/elasticSans.js +59 -59
  53. package/dist-esm/src/operations/elasticSans.js.map +1 -1
  54. package/dist-esm/src/operations/operations.js +5 -5
  55. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  56. package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
  57. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  58. package/dist-esm/src/operations/privateLinkResources.js +5 -5
  59. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  60. package/dist-esm/src/operations/skus.js +5 -5
  61. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -1
  62. package/dist-esm/src/operations/volumeGroups.js +51 -51
  63. package/dist-esm/src/operations/volumeGroups.js.map +1 -1
  64. package/dist-esm/src/operations/volumeSnapshots.d.ts.map +1 -1
  65. package/dist-esm/src/operations/volumeSnapshots.js +40 -40
  66. package/dist-esm/src/operations/volumeSnapshots.js.map +1 -1
  67. package/dist-esm/src/operations/volumes.d.ts.map +1 -1
  68. package/dist-esm/src/operations/volumes.js +54 -54
  69. package/dist-esm/src/operations/volumes.js.map +1 -1
  70. package/dist-esm/test/elasticsan_examples.spec.d.ts.map +1 -1
  71. package/dist-esm/test/elasticsan_examples.spec.js +28 -9
  72. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  73. package/package.json +6 -6
  74. package/review/arm-elasticsan.api.md +2 -0
  75. package/src/elasticSanManagement.ts +18 -17
  76. package/src/lroImpl.ts +3 -3
  77. package/src/models/index.ts +26 -19
  78. package/src/models/mappers.ts +549 -536
  79. package/src/models/parameters.ts +62 -62
  80. package/src/operations/elasticSans.ts +115 -124
  81. package/src/operations/operations.ts +10 -10
  82. package/src/operations/privateEndpointConnections.ts +71 -76
  83. package/src/operations/privateLinkResources.ts +9 -10
  84. package/src/operations/skus.ts +9 -9
  85. package/src/operations/volumeGroups.ts +101 -109
  86. package/src/operations/volumeSnapshots.ts +79 -85
  87. package/src/operations/volumes.ts +104 -112
  88. package/src/operationsInterfaces/elasticSans.ts +10 -10
  89. package/src/operationsInterfaces/operations.ts +1 -1
  90. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  91. package/src/operationsInterfaces/privateLinkResources.ts +2 -2
  92. package/src/operationsInterfaces/skus.ts +1 -1
  93. package/src/operationsInterfaces/volumeGroups.ts +9 -9
  94. package/src/operationsInterfaces/volumeSnapshots.ts +7 -7
  95. package/src/operationsInterfaces/volumes.ts +9 -9
  96. package/src/pagingHelper.ts +1 -1
  97. package/types/arm-elasticsan.d.ts +4 -0
@@ -17,6 +17,6 @@ export interface Operations {
17
17
  * @param options The options parameters.
18
18
  */
19
19
  list(
20
- options?: OperationsListOptionalParams
20
+ options?: OperationsListOptionalParams,
21
21
  ): PagedAsyncIterableIterator<Operation>;
22
22
  }
@@ -15,7 +15,7 @@ import {
15
15
  PrivateEndpointConnectionsCreateResponse,
16
16
  PrivateEndpointConnectionsGetOptionalParams,
17
17
  PrivateEndpointConnectionsGetResponse,
18
- PrivateEndpointConnectionsDeleteOptionalParams
18
+ PrivateEndpointConnectionsDeleteOptionalParams,
19
19
  } from "../models";
20
20
 
21
21
  /// <reference lib="esnext.asynciterable" />
@@ -30,7 +30,7 @@ export interface PrivateEndpointConnections {
30
30
  list(
31
31
  resourceGroupName: string,
32
32
  elasticSanName: string,
33
- options?: PrivateEndpointConnectionsListOptionalParams
33
+ options?: PrivateEndpointConnectionsListOptionalParams,
34
34
  ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
35
  /**
36
36
  * Update the state of specified private endpoint connection associated with the Elastic San
@@ -45,7 +45,7 @@ export interface PrivateEndpointConnections {
45
45
  elasticSanName: string,
46
46
  privateEndpointConnectionName: string,
47
47
  parameters: PrivateEndpointConnection,
48
- options?: PrivateEndpointConnectionsCreateOptionalParams
48
+ options?: PrivateEndpointConnectionsCreateOptionalParams,
49
49
  ): Promise<
50
50
  SimplePollerLike<
51
51
  OperationState<PrivateEndpointConnectionsCreateResponse>,
@@ -65,7 +65,7 @@ export interface PrivateEndpointConnections {
65
65
  elasticSanName: string,
66
66
  privateEndpointConnectionName: string,
67
67
  parameters: PrivateEndpointConnection,
68
- options?: PrivateEndpointConnectionsCreateOptionalParams
68
+ options?: PrivateEndpointConnectionsCreateOptionalParams,
69
69
  ): Promise<PrivateEndpointConnectionsCreateResponse>;
70
70
  /**
71
71
  * Gets the specified private endpoint connection associated with the Elastic San
@@ -78,7 +78,7 @@ export interface PrivateEndpointConnections {
78
78
  resourceGroupName: string,
79
79
  elasticSanName: string,
80
80
  privateEndpointConnectionName: string,
81
- options?: PrivateEndpointConnectionsGetOptionalParams
81
+ options?: PrivateEndpointConnectionsGetOptionalParams,
82
82
  ): Promise<PrivateEndpointConnectionsGetResponse>;
83
83
  /**
84
84
  * Deletes the specified private endpoint connection associated with the Elastic San
@@ -91,7 +91,7 @@ export interface PrivateEndpointConnections {
91
91
  resourceGroupName: string,
92
92
  elasticSanName: string,
93
93
  privateEndpointConnectionName: string,
94
- options?: PrivateEndpointConnectionsDeleteOptionalParams
94
+ options?: PrivateEndpointConnectionsDeleteOptionalParams,
95
95
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
96
96
  /**
97
97
  * Deletes the specified private endpoint connection associated with the Elastic San
@@ -104,6 +104,6 @@ export interface PrivateEndpointConnections {
104
104
  resourceGroupName: string,
105
105
  elasticSanName: string,
106
106
  privateEndpointConnectionName: string,
107
- options?: PrivateEndpointConnectionsDeleteOptionalParams
107
+ options?: PrivateEndpointConnectionsDeleteOptionalParams,
108
108
  ): Promise<void>;
109
109
  }
@@ -8,7 +8,7 @@
8
8
 
9
9
  import {
10
10
  PrivateLinkResourcesListByElasticSanOptionalParams,
11
- PrivateLinkResourcesListByElasticSanResponse
11
+ PrivateLinkResourcesListByElasticSanResponse,
12
12
  } from "../models";
13
13
 
14
14
  /** Interface representing a PrivateLinkResources. */
@@ -22,6 +22,6 @@ export interface PrivateLinkResources {
22
22
  listByElasticSan(
23
23
  resourceGroupName: string,
24
24
  elasticSanName: string,
25
- options?: PrivateLinkResourcesListByElasticSanOptionalParams
25
+ options?: PrivateLinkResourcesListByElasticSanOptionalParams,
26
26
  ): Promise<PrivateLinkResourcesListByElasticSanResponse>;
27
27
  }
@@ -17,6 +17,6 @@ export interface Skus {
17
17
  * @param options The options parameters.
18
18
  */
19
19
  list(
20
- options?: SkusListOptionalParams
20
+ options?: SkusListOptionalParams,
21
21
  ): PagedAsyncIterableIterator<SkuInformation>;
22
22
  }
@@ -18,7 +18,7 @@ import {
18
18
  VolumeGroupsUpdateResponse,
19
19
  VolumeGroupsDeleteOptionalParams,
20
20
  VolumeGroupsGetOptionalParams,
21
- VolumeGroupsGetResponse
21
+ VolumeGroupsGetResponse,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -33,7 +33,7 @@ export interface VolumeGroups {
33
33
  listByElasticSan(
34
34
  resourceGroupName: string,
35
35
  elasticSanName: string,
36
- options?: VolumeGroupsListByElasticSanOptionalParams
36
+ options?: VolumeGroupsListByElasticSanOptionalParams,
37
37
  ): PagedAsyncIterableIterator<VolumeGroup>;
38
38
  /**
39
39
  * Create a Volume Group.
@@ -48,7 +48,7 @@ export interface VolumeGroups {
48
48
  elasticSanName: string,
49
49
  volumeGroupName: string,
50
50
  parameters: VolumeGroup,
51
- options?: VolumeGroupsCreateOptionalParams
51
+ options?: VolumeGroupsCreateOptionalParams,
52
52
  ): Promise<
53
53
  SimplePollerLike<
54
54
  OperationState<VolumeGroupsCreateResponse>,
@@ -68,7 +68,7 @@ export interface VolumeGroups {
68
68
  elasticSanName: string,
69
69
  volumeGroupName: string,
70
70
  parameters: VolumeGroup,
71
- options?: VolumeGroupsCreateOptionalParams
71
+ options?: VolumeGroupsCreateOptionalParams,
72
72
  ): Promise<VolumeGroupsCreateResponse>;
73
73
  /**
74
74
  * Update an VolumeGroup.
@@ -83,7 +83,7 @@ export interface VolumeGroups {
83
83
  elasticSanName: string,
84
84
  volumeGroupName: string,
85
85
  parameters: VolumeGroupUpdate,
86
- options?: VolumeGroupsUpdateOptionalParams
86
+ options?: VolumeGroupsUpdateOptionalParams,
87
87
  ): Promise<
88
88
  SimplePollerLike<
89
89
  OperationState<VolumeGroupsUpdateResponse>,
@@ -103,7 +103,7 @@ export interface VolumeGroups {
103
103
  elasticSanName: string,
104
104
  volumeGroupName: string,
105
105
  parameters: VolumeGroupUpdate,
106
- options?: VolumeGroupsUpdateOptionalParams
106
+ options?: VolumeGroupsUpdateOptionalParams,
107
107
  ): Promise<VolumeGroupsUpdateResponse>;
108
108
  /**
109
109
  * Delete an VolumeGroup.
@@ -116,7 +116,7 @@ export interface VolumeGroups {
116
116
  resourceGroupName: string,
117
117
  elasticSanName: string,
118
118
  volumeGroupName: string,
119
- options?: VolumeGroupsDeleteOptionalParams
119
+ options?: VolumeGroupsDeleteOptionalParams,
120
120
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
121
121
  /**
122
122
  * Delete an VolumeGroup.
@@ -129,7 +129,7 @@ export interface VolumeGroups {
129
129
  resourceGroupName: string,
130
130
  elasticSanName: string,
131
131
  volumeGroupName: string,
132
- options?: VolumeGroupsDeleteOptionalParams
132
+ options?: VolumeGroupsDeleteOptionalParams,
133
133
  ): Promise<void>;
134
134
  /**
135
135
  * Get an VolumeGroups.
@@ -142,6 +142,6 @@ export interface VolumeGroups {
142
142
  resourceGroupName: string,
143
143
  elasticSanName: string,
144
144
  volumeGroupName: string,
145
- options?: VolumeGroupsGetOptionalParams
145
+ options?: VolumeGroupsGetOptionalParams,
146
146
  ): Promise<VolumeGroupsGetResponse>;
147
147
  }
@@ -15,7 +15,7 @@ import {
15
15
  VolumeSnapshotsCreateResponse,
16
16
  VolumeSnapshotsDeleteOptionalParams,
17
17
  VolumeSnapshotsGetOptionalParams,
18
- VolumeSnapshotsGetResponse
18
+ VolumeSnapshotsGetResponse,
19
19
  } from "../models";
20
20
 
21
21
  /// <reference lib="esnext.asynciterable" />
@@ -32,7 +32,7 @@ export interface VolumeSnapshots {
32
32
  resourceGroupName: string,
33
33
  elasticSanName: string,
34
34
  volumeGroupName: string,
35
- options?: VolumeSnapshotsListByVolumeGroupOptionalParams
35
+ options?: VolumeSnapshotsListByVolumeGroupOptionalParams,
36
36
  ): PagedAsyncIterableIterator<Snapshot>;
37
37
  /**
38
38
  * Create a Volume Snapshot.
@@ -49,7 +49,7 @@ export interface VolumeSnapshots {
49
49
  volumeGroupName: string,
50
50
  snapshotName: string,
51
51
  parameters: Snapshot,
52
- options?: VolumeSnapshotsCreateOptionalParams
52
+ options?: VolumeSnapshotsCreateOptionalParams,
53
53
  ): Promise<
54
54
  SimplePollerLike<
55
55
  OperationState<VolumeSnapshotsCreateResponse>,
@@ -71,7 +71,7 @@ export interface VolumeSnapshots {
71
71
  volumeGroupName: string,
72
72
  snapshotName: string,
73
73
  parameters: Snapshot,
74
- options?: VolumeSnapshotsCreateOptionalParams
74
+ options?: VolumeSnapshotsCreateOptionalParams,
75
75
  ): Promise<VolumeSnapshotsCreateResponse>;
76
76
  /**
77
77
  * Delete a Volume Snapshot.
@@ -86,7 +86,7 @@ export interface VolumeSnapshots {
86
86
  elasticSanName: string,
87
87
  volumeGroupName: string,
88
88
  snapshotName: string,
89
- options?: VolumeSnapshotsDeleteOptionalParams
89
+ options?: VolumeSnapshotsDeleteOptionalParams,
90
90
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
91
91
  /**
92
92
  * Delete a Volume Snapshot.
@@ -101,7 +101,7 @@ export interface VolumeSnapshots {
101
101
  elasticSanName: string,
102
102
  volumeGroupName: string,
103
103
  snapshotName: string,
104
- options?: VolumeSnapshotsDeleteOptionalParams
104
+ options?: VolumeSnapshotsDeleteOptionalParams,
105
105
  ): Promise<void>;
106
106
  /**
107
107
  * Get a Volume Snapshot.
@@ -116,6 +116,6 @@ export interface VolumeSnapshots {
116
116
  elasticSanName: string,
117
117
  volumeGroupName: string,
118
118
  snapshotName: string,
119
- options?: VolumeSnapshotsGetOptionalParams
119
+ options?: VolumeSnapshotsGetOptionalParams,
120
120
  ): Promise<VolumeSnapshotsGetResponse>;
121
121
  }
@@ -18,7 +18,7 @@ import {
18
18
  VolumesUpdateResponse,
19
19
  VolumesDeleteOptionalParams,
20
20
  VolumesGetOptionalParams,
21
- VolumesGetResponse
21
+ VolumesGetResponse,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -35,7 +35,7 @@ export interface Volumes {
35
35
  resourceGroupName: string,
36
36
  elasticSanName: string,
37
37
  volumeGroupName: string,
38
- options?: VolumesListByVolumeGroupOptionalParams
38
+ options?: VolumesListByVolumeGroupOptionalParams,
39
39
  ): PagedAsyncIterableIterator<Volume>;
40
40
  /**
41
41
  * Create a Volume.
@@ -52,7 +52,7 @@ export interface Volumes {
52
52
  volumeGroupName: string,
53
53
  volumeName: string,
54
54
  parameters: Volume,
55
- options?: VolumesCreateOptionalParams
55
+ options?: VolumesCreateOptionalParams,
56
56
  ): Promise<
57
57
  SimplePollerLike<
58
58
  OperationState<VolumesCreateResponse>,
@@ -74,7 +74,7 @@ export interface Volumes {
74
74
  volumeGroupName: string,
75
75
  volumeName: string,
76
76
  parameters: Volume,
77
- options?: VolumesCreateOptionalParams
77
+ options?: VolumesCreateOptionalParams,
78
78
  ): Promise<VolumesCreateResponse>;
79
79
  /**
80
80
  * Update an Volume.
@@ -91,7 +91,7 @@ export interface Volumes {
91
91
  volumeGroupName: string,
92
92
  volumeName: string,
93
93
  parameters: VolumeUpdate,
94
- options?: VolumesUpdateOptionalParams
94
+ options?: VolumesUpdateOptionalParams,
95
95
  ): Promise<
96
96
  SimplePollerLike<
97
97
  OperationState<VolumesUpdateResponse>,
@@ -113,7 +113,7 @@ export interface Volumes {
113
113
  volumeGroupName: string,
114
114
  volumeName: string,
115
115
  parameters: VolumeUpdate,
116
- options?: VolumesUpdateOptionalParams
116
+ options?: VolumesUpdateOptionalParams,
117
117
  ): Promise<VolumesUpdateResponse>;
118
118
  /**
119
119
  * Delete an Volume.
@@ -128,7 +128,7 @@ export interface Volumes {
128
128
  elasticSanName: string,
129
129
  volumeGroupName: string,
130
130
  volumeName: string,
131
- options?: VolumesDeleteOptionalParams
131
+ options?: VolumesDeleteOptionalParams,
132
132
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
133
133
  /**
134
134
  * Delete an Volume.
@@ -143,7 +143,7 @@ export interface Volumes {
143
143
  elasticSanName: string,
144
144
  volumeGroupName: string,
145
145
  volumeName: string,
146
- options?: VolumesDeleteOptionalParams
146
+ options?: VolumesDeleteOptionalParams,
147
147
  ): Promise<void>;
148
148
  /**
149
149
  * Get an Volume.
@@ -158,6 +158,6 @@ export interface Volumes {
158
158
  elasticSanName: string,
159
159
  volumeGroupName: string,
160
160
  volumeName: string,
161
- options?: VolumesGetOptionalParams
161
+ options?: VolumesGetOptionalParams,
162
162
  ): Promise<VolumesGetResponse>;
163
163
  }
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
28
28
 
29
29
  export function setContinuationToken(
30
30
  page: unknown,
31
- continuationToken: string | undefined
31
+ continuationToken: string | undefined,
32
32
  ): void {
33
33
  if (typeof page !== "object" || page === null || !continuationToken) {
34
34
  return;
@@ -1285,6 +1285,8 @@ export declare interface VolumeGroupProperties {
1285
1285
  * NOTE: This property will not be serialized. It can only be populated by the server.
1286
1286
  */
1287
1287
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
1288
+ /** A boolean indicating whether or not Data Integrity Check is enabled */
1289
+ enforceDataIntegrityCheckForIscsi?: boolean;
1288
1290
  }
1289
1291
 
1290
1292
  /** Interface representing a VolumeGroups. */
@@ -1437,6 +1439,8 @@ export declare interface VolumeGroupUpdateProperties {
1437
1439
  encryptionProperties?: EncryptionProperties;
1438
1440
  /** A collection of rules governing the accessibility from specific network locations. */
1439
1441
  networkAcls?: NetworkRuleSet;
1442
+ /** A boolean indicating whether or not Data Integrity Check is enabled */
1443
+ enforceDataIntegrityCheckForIscsi?: boolean;
1440
1444
  }
1441
1445
 
1442
1446
  /** List of Volumes */