@azure/arm-netapp 15.1.1 → 16.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 +57 -0
- package/dist/index.js +3787 -3016
- 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/accountBackupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accountBackupsGetSample.js +1 -1
- package/dist-esm/samples-dev/accountBackupsListSample.js +1 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accountsGetSample.js +1 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/accountsListSample.js +1 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesCreateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupsCreateSample.js +1 -1
- package/dist-esm/samples-dev/backupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetStatusSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetVolumeRestoreStatusSample.js +1 -1
- package/dist-esm/samples-dev/backupsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/poolsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolsGetSample.js +1 -1
- package/dist-esm/samples-dev/poolsListSample.js +1 -1
- package/dist-esm/samples-dev/poolsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsCreateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsGetSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsListSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesCreateSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesGetSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/vaultsListSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.js +1 -1
- package/dist-esm/samples-dev/volumeQuotaRulesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeQuotaRulesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesCreateSample.js +40 -0
- package/dist-esm/samples-dev/volumeQuotaRulesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeQuotaRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesDeleteSample.js +34 -0
- package/dist-esm/samples-dev/volumeQuotaRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeQuotaRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesGetSample.js +34 -0
- package/dist-esm/samples-dev/volumeQuotaRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesListByVolumeSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeQuotaRulesListByVolumeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesListByVolumeSample.js +47 -0
- package/dist-esm/samples-dev/volumeQuotaRulesListByVolumeSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeQuotaRulesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeQuotaRulesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/volumeQuotaRulesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesBreakReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumesFinalizeRelocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesFinalizeRelocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesFinalizeRelocationSample.js +33 -0
- package/dist-esm/samples-dev/volumesFinalizeRelocationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesGetSample.js +1 -1
- package/dist-esm/samples-dev/volumesListReplicationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesListReplicationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesListReplicationsSample.js +47 -0
- package/dist-esm/samples-dev/volumesListReplicationsSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesListSample.js +1 -1
- package/dist-esm/samples-dev/volumesPoolChangeSample.js +1 -1
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesRelocateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesRelocateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesRelocateSample.js +33 -0
- package/dist-esm/samples-dev/volumesRelocateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesReplicationStatusSample.js +1 -1
- package/dist-esm/samples-dev/volumesResetCifsPasswordSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesResetCifsPasswordSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesResetCifsPasswordSample.js +33 -0
- package/dist-esm/samples-dev/volumesResetCifsPasswordSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesResyncReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesRevertRelocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesRevertRelocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesRevertRelocationSample.js +33 -0
- package/dist-esm/samples-dev/volumesRevertRelocationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesRevertSample.js +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +788 -747
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +18 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +13 -6
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1839 -1923
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +23 -5
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/netAppManagementClient.d.ts +4 -1
- package/dist-esm/src/netAppManagementClient.d.ts.map +1 -1
- package/dist-esm/src/netAppManagementClient.js +33 -3
- package/dist-esm/src/netAppManagementClient.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/subvolumes.js +2 -2
- package/dist-esm/src/operations/volumeGroups.js +1 -1
- package/dist-esm/src/operations/volumeQuotaRules.d.ts +109 -0
- package/dist-esm/src/operations/volumeQuotaRules.d.ts.map +1 -0
- package/dist-esm/src/operations/volumeQuotaRules.js +429 -0
- package/dist-esm/src/operations/volumeQuotaRules.js.map +1 -0
- package/dist-esm/src/operations/volumes.d.ts +95 -1
- package/dist-esm/src/operations/volumes.d.ts.map +1 -1
- package/dist-esm/src/operations/volumes.js +360 -0
- 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/volumeQuotaRules.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/volumeQuotaRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumeQuotaRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/volumeQuotaRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumes.d.ts +84 -1
- package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +9 -5
- package/review/arm-netapp.api.md +226 -107
- package/src/models/index.ts +903 -810
- package/src/models/mappers.ts +1977 -1961
- package/src/models/parameters.ts +27 -4
- package/src/netAppManagementClient.ts +40 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/subvolumes.ts +2 -2
- package/src/operations/volumeGroups.ts +1 -1
- package/src/operations/volumeQuotaRules.ts +640 -0
- package/src/operations/volumes.ts +560 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/volumeQuotaRules.ts +179 -0
- package/src/operationsInterfaces/volumes.ts +144 -1
- package/types/arm-netapp.d.ts +404 -163
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
VolumeQuotaRule,
|
|
13
|
+
VolumeQuotaRulesListByVolumeOptionalParams,
|
|
14
|
+
VolumeQuotaRulesGetOptionalParams,
|
|
15
|
+
VolumeQuotaRulesGetResponse,
|
|
16
|
+
VolumeQuotaRulesCreateOptionalParams,
|
|
17
|
+
VolumeQuotaRulesCreateResponse,
|
|
18
|
+
VolumeQuotaRulePatch,
|
|
19
|
+
VolumeQuotaRulesUpdateOptionalParams,
|
|
20
|
+
VolumeQuotaRulesUpdateResponse,
|
|
21
|
+
VolumeQuotaRulesDeleteOptionalParams
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a VolumeQuotaRules. */
|
|
26
|
+
export interface VolumeQuotaRules {
|
|
27
|
+
/**
|
|
28
|
+
* List all quota rules associated with the volume
|
|
29
|
+
* @param resourceGroupName The name of the resource group.
|
|
30
|
+
* @param accountName The name of the NetApp account
|
|
31
|
+
* @param poolName The name of the capacity pool
|
|
32
|
+
* @param volumeName The name of the volume
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
listByVolume(
|
|
36
|
+
resourceGroupName: string,
|
|
37
|
+
accountName: string,
|
|
38
|
+
poolName: string,
|
|
39
|
+
volumeName: string,
|
|
40
|
+
options?: VolumeQuotaRulesListByVolumeOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<VolumeQuotaRule>;
|
|
42
|
+
/**
|
|
43
|
+
* Get details of the specified quota rule
|
|
44
|
+
* @param resourceGroupName The name of the resource group.
|
|
45
|
+
* @param accountName The name of the NetApp account
|
|
46
|
+
* @param poolName The name of the capacity pool
|
|
47
|
+
* @param volumeName The name of the volume
|
|
48
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
get(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
accountName: string,
|
|
54
|
+
poolName: string,
|
|
55
|
+
volumeName: string,
|
|
56
|
+
volumeQuotaRuleName: string,
|
|
57
|
+
options?: VolumeQuotaRulesGetOptionalParams
|
|
58
|
+
): Promise<VolumeQuotaRulesGetResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Create the specified quota rule within the given volume
|
|
61
|
+
* @param resourceGroupName The name of the resource group.
|
|
62
|
+
* @param accountName The name of the NetApp account
|
|
63
|
+
* @param poolName The name of the capacity pool
|
|
64
|
+
* @param volumeName The name of the volume
|
|
65
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
66
|
+
* @param body Quota rule object supplied in the body of the operation.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginCreate(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
accountName: string,
|
|
72
|
+
poolName: string,
|
|
73
|
+
volumeName: string,
|
|
74
|
+
volumeQuotaRuleName: string,
|
|
75
|
+
body: VolumeQuotaRule,
|
|
76
|
+
options?: VolumeQuotaRulesCreateOptionalParams
|
|
77
|
+
): Promise<
|
|
78
|
+
PollerLike<
|
|
79
|
+
PollOperationState<VolumeQuotaRulesCreateResponse>,
|
|
80
|
+
VolumeQuotaRulesCreateResponse
|
|
81
|
+
>
|
|
82
|
+
>;
|
|
83
|
+
/**
|
|
84
|
+
* Create the specified quota rule within the given volume
|
|
85
|
+
* @param resourceGroupName The name of the resource group.
|
|
86
|
+
* @param accountName The name of the NetApp account
|
|
87
|
+
* @param poolName The name of the capacity pool
|
|
88
|
+
* @param volumeName The name of the volume
|
|
89
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
90
|
+
* @param body Quota rule object supplied in the body of the operation.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
beginCreateAndWait(
|
|
94
|
+
resourceGroupName: string,
|
|
95
|
+
accountName: string,
|
|
96
|
+
poolName: string,
|
|
97
|
+
volumeName: string,
|
|
98
|
+
volumeQuotaRuleName: string,
|
|
99
|
+
body: VolumeQuotaRule,
|
|
100
|
+
options?: VolumeQuotaRulesCreateOptionalParams
|
|
101
|
+
): Promise<VolumeQuotaRulesCreateResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* Patch a quota rule
|
|
104
|
+
* @param resourceGroupName The name of the resource group.
|
|
105
|
+
* @param accountName The name of the NetApp account
|
|
106
|
+
* @param poolName The name of the capacity pool
|
|
107
|
+
* @param volumeName The name of the volume
|
|
108
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
109
|
+
* @param body Quota rule object supplied in the body of the operation.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
beginUpdate(
|
|
113
|
+
resourceGroupName: string,
|
|
114
|
+
accountName: string,
|
|
115
|
+
poolName: string,
|
|
116
|
+
volumeName: string,
|
|
117
|
+
volumeQuotaRuleName: string,
|
|
118
|
+
body: VolumeQuotaRulePatch,
|
|
119
|
+
options?: VolumeQuotaRulesUpdateOptionalParams
|
|
120
|
+
): Promise<
|
|
121
|
+
PollerLike<
|
|
122
|
+
PollOperationState<VolumeQuotaRulesUpdateResponse>,
|
|
123
|
+
VolumeQuotaRulesUpdateResponse
|
|
124
|
+
>
|
|
125
|
+
>;
|
|
126
|
+
/**
|
|
127
|
+
* Patch a quota rule
|
|
128
|
+
* @param resourceGroupName The name of the resource group.
|
|
129
|
+
* @param accountName The name of the NetApp account
|
|
130
|
+
* @param poolName The name of the capacity pool
|
|
131
|
+
* @param volumeName The name of the volume
|
|
132
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
133
|
+
* @param body Quota rule object supplied in the body of the operation.
|
|
134
|
+
* @param options The options parameters.
|
|
135
|
+
*/
|
|
136
|
+
beginUpdateAndWait(
|
|
137
|
+
resourceGroupName: string,
|
|
138
|
+
accountName: string,
|
|
139
|
+
poolName: string,
|
|
140
|
+
volumeName: string,
|
|
141
|
+
volumeQuotaRuleName: string,
|
|
142
|
+
body: VolumeQuotaRulePatch,
|
|
143
|
+
options?: VolumeQuotaRulesUpdateOptionalParams
|
|
144
|
+
): Promise<VolumeQuotaRulesUpdateResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Delete quota rule
|
|
147
|
+
* @param resourceGroupName The name of the resource group.
|
|
148
|
+
* @param accountName The name of the NetApp account
|
|
149
|
+
* @param poolName The name of the capacity pool
|
|
150
|
+
* @param volumeName The name of the volume
|
|
151
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
beginDelete(
|
|
155
|
+
resourceGroupName: string,
|
|
156
|
+
accountName: string,
|
|
157
|
+
poolName: string,
|
|
158
|
+
volumeName: string,
|
|
159
|
+
volumeQuotaRuleName: string,
|
|
160
|
+
options?: VolumeQuotaRulesDeleteOptionalParams
|
|
161
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
162
|
+
/**
|
|
163
|
+
* Delete quota rule
|
|
164
|
+
* @param resourceGroupName The name of the resource group.
|
|
165
|
+
* @param accountName The name of the NetApp account
|
|
166
|
+
* @param poolName The name of the capacity pool
|
|
167
|
+
* @param volumeName The name of the volume
|
|
168
|
+
* @param volumeQuotaRuleName The name of volume quota rule
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
beginDeleteAndWait(
|
|
172
|
+
resourceGroupName: string,
|
|
173
|
+
accountName: string,
|
|
174
|
+
poolName: string,
|
|
175
|
+
volumeName: string,
|
|
176
|
+
volumeQuotaRuleName: string,
|
|
177
|
+
options?: VolumeQuotaRulesDeleteOptionalParams
|
|
178
|
+
): Promise<void>;
|
|
179
|
+
}
|
|
@@ -11,6 +11,8 @@ import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
|
11
11
|
import {
|
|
12
12
|
Volume,
|
|
13
13
|
VolumesListOptionalParams,
|
|
14
|
+
Replication,
|
|
15
|
+
VolumesListReplicationsOptionalParams,
|
|
14
16
|
VolumesGetOptionalParams,
|
|
15
17
|
VolumesGetResponse,
|
|
16
18
|
VolumesCreateOrUpdateOptionalParams,
|
|
@@ -21,6 +23,7 @@ import {
|
|
|
21
23
|
VolumesDeleteOptionalParams,
|
|
22
24
|
VolumeRevert,
|
|
23
25
|
VolumesRevertOptionalParams,
|
|
26
|
+
VolumesResetCifsPasswordOptionalParams,
|
|
24
27
|
VolumesBreakReplicationOptionalParams,
|
|
25
28
|
VolumesReplicationStatusOptionalParams,
|
|
26
29
|
VolumesReplicationStatusResponse,
|
|
@@ -30,7 +33,10 @@ import {
|
|
|
30
33
|
VolumesAuthorizeReplicationOptionalParams,
|
|
31
34
|
VolumesReInitializeReplicationOptionalParams,
|
|
32
35
|
PoolChangeRequest,
|
|
33
|
-
VolumesPoolChangeOptionalParams
|
|
36
|
+
VolumesPoolChangeOptionalParams,
|
|
37
|
+
VolumesRelocateOptionalParams,
|
|
38
|
+
VolumesFinalizeRelocationOptionalParams,
|
|
39
|
+
VolumesRevertRelocationOptionalParams
|
|
34
40
|
} from "../models";
|
|
35
41
|
|
|
36
42
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -49,6 +55,21 @@ export interface Volumes {
|
|
|
49
55
|
poolName: string,
|
|
50
56
|
options?: VolumesListOptionalParams
|
|
51
57
|
): PagedAsyncIterableIterator<Volume>;
|
|
58
|
+
/**
|
|
59
|
+
* List all replications for a specified volume
|
|
60
|
+
* @param resourceGroupName The name of the resource group.
|
|
61
|
+
* @param accountName The name of the NetApp account
|
|
62
|
+
* @param poolName The name of the capacity pool
|
|
63
|
+
* @param volumeName The name of the volume
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
listReplications(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
accountName: string,
|
|
69
|
+
poolName: string,
|
|
70
|
+
volumeName: string,
|
|
71
|
+
options?: VolumesListReplicationsOptionalParams
|
|
72
|
+
): PagedAsyncIterableIterator<Replication>;
|
|
52
73
|
/**
|
|
53
74
|
* Get the details of the specified volume
|
|
54
75
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -203,6 +224,36 @@ export interface Volumes {
|
|
|
203
224
|
body: VolumeRevert,
|
|
204
225
|
options?: VolumesRevertOptionalParams
|
|
205
226
|
): Promise<void>;
|
|
227
|
+
/**
|
|
228
|
+
* Reset cifs password from volume
|
|
229
|
+
* @param resourceGroupName The name of the resource group.
|
|
230
|
+
* @param accountName The name of the NetApp account
|
|
231
|
+
* @param poolName The name of the capacity pool
|
|
232
|
+
* @param volumeName The name of the volume
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
beginResetCifsPassword(
|
|
236
|
+
resourceGroupName: string,
|
|
237
|
+
accountName: string,
|
|
238
|
+
poolName: string,
|
|
239
|
+
volumeName: string,
|
|
240
|
+
options?: VolumesResetCifsPasswordOptionalParams
|
|
241
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
242
|
+
/**
|
|
243
|
+
* Reset cifs password from volume
|
|
244
|
+
* @param resourceGroupName The name of the resource group.
|
|
245
|
+
* @param accountName The name of the NetApp account
|
|
246
|
+
* @param poolName The name of the capacity pool
|
|
247
|
+
* @param volumeName The name of the volume
|
|
248
|
+
* @param options The options parameters.
|
|
249
|
+
*/
|
|
250
|
+
beginResetCifsPasswordAndWait(
|
|
251
|
+
resourceGroupName: string,
|
|
252
|
+
accountName: string,
|
|
253
|
+
poolName: string,
|
|
254
|
+
volumeName: string,
|
|
255
|
+
options?: VolumesResetCifsPasswordOptionalParams
|
|
256
|
+
): Promise<void>;
|
|
206
257
|
/**
|
|
207
258
|
* Break the replication connection on the destination volume
|
|
208
259
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -410,4 +461,96 @@ export interface Volumes {
|
|
|
410
461
|
body: PoolChangeRequest,
|
|
411
462
|
options?: VolumesPoolChangeOptionalParams
|
|
412
463
|
): Promise<void>;
|
|
464
|
+
/**
|
|
465
|
+
* Relocates volume to a new stamp
|
|
466
|
+
* @param resourceGroupName The name of the resource group.
|
|
467
|
+
* @param accountName The name of the NetApp account
|
|
468
|
+
* @param poolName The name of the capacity pool
|
|
469
|
+
* @param volumeName The name of the volume
|
|
470
|
+
* @param options The options parameters.
|
|
471
|
+
*/
|
|
472
|
+
beginRelocate(
|
|
473
|
+
resourceGroupName: string,
|
|
474
|
+
accountName: string,
|
|
475
|
+
poolName: string,
|
|
476
|
+
volumeName: string,
|
|
477
|
+
options?: VolumesRelocateOptionalParams
|
|
478
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
479
|
+
/**
|
|
480
|
+
* Relocates volume to a new stamp
|
|
481
|
+
* @param resourceGroupName The name of the resource group.
|
|
482
|
+
* @param accountName The name of the NetApp account
|
|
483
|
+
* @param poolName The name of the capacity pool
|
|
484
|
+
* @param volumeName The name of the volume
|
|
485
|
+
* @param options The options parameters.
|
|
486
|
+
*/
|
|
487
|
+
beginRelocateAndWait(
|
|
488
|
+
resourceGroupName: string,
|
|
489
|
+
accountName: string,
|
|
490
|
+
poolName: string,
|
|
491
|
+
volumeName: string,
|
|
492
|
+
options?: VolumesRelocateOptionalParams
|
|
493
|
+
): Promise<void>;
|
|
494
|
+
/**
|
|
495
|
+
* Finalizes the relocation of the volume and cleans up the old volume.
|
|
496
|
+
* @param resourceGroupName The name of the resource group.
|
|
497
|
+
* @param accountName The name of the NetApp account
|
|
498
|
+
* @param poolName The name of the capacity pool
|
|
499
|
+
* @param volumeName The name of the volume
|
|
500
|
+
* @param options The options parameters.
|
|
501
|
+
*/
|
|
502
|
+
beginFinalizeRelocation(
|
|
503
|
+
resourceGroupName: string,
|
|
504
|
+
accountName: string,
|
|
505
|
+
poolName: string,
|
|
506
|
+
volumeName: string,
|
|
507
|
+
options?: VolumesFinalizeRelocationOptionalParams
|
|
508
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
509
|
+
/**
|
|
510
|
+
* Finalizes the relocation of the volume and cleans up the old volume.
|
|
511
|
+
* @param resourceGroupName The name of the resource group.
|
|
512
|
+
* @param accountName The name of the NetApp account
|
|
513
|
+
* @param poolName The name of the capacity pool
|
|
514
|
+
* @param volumeName The name of the volume
|
|
515
|
+
* @param options The options parameters.
|
|
516
|
+
*/
|
|
517
|
+
beginFinalizeRelocationAndWait(
|
|
518
|
+
resourceGroupName: string,
|
|
519
|
+
accountName: string,
|
|
520
|
+
poolName: string,
|
|
521
|
+
volumeName: string,
|
|
522
|
+
options?: VolumesFinalizeRelocationOptionalParams
|
|
523
|
+
): Promise<void>;
|
|
524
|
+
/**
|
|
525
|
+
* Reverts the volume relocation process, cleans up the new volume and starts using the former-existing
|
|
526
|
+
* volume.
|
|
527
|
+
* @param resourceGroupName The name of the resource group.
|
|
528
|
+
* @param accountName The name of the NetApp account
|
|
529
|
+
* @param poolName The name of the capacity pool
|
|
530
|
+
* @param volumeName The name of the volume
|
|
531
|
+
* @param options The options parameters.
|
|
532
|
+
*/
|
|
533
|
+
beginRevertRelocation(
|
|
534
|
+
resourceGroupName: string,
|
|
535
|
+
accountName: string,
|
|
536
|
+
poolName: string,
|
|
537
|
+
volumeName: string,
|
|
538
|
+
options?: VolumesRevertRelocationOptionalParams
|
|
539
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
540
|
+
/**
|
|
541
|
+
* Reverts the volume relocation process, cleans up the new volume and starts using the former-existing
|
|
542
|
+
* volume.
|
|
543
|
+
* @param resourceGroupName The name of the resource group.
|
|
544
|
+
* @param accountName The name of the NetApp account
|
|
545
|
+
* @param poolName The name of the capacity pool
|
|
546
|
+
* @param volumeName The name of the volume
|
|
547
|
+
* @param options The options parameters.
|
|
548
|
+
*/
|
|
549
|
+
beginRevertRelocationAndWait(
|
|
550
|
+
resourceGroupName: string,
|
|
551
|
+
accountName: string,
|
|
552
|
+
poolName: string,
|
|
553
|
+
volumeName: string,
|
|
554
|
+
options?: VolumesRevertRelocationOptionalParams
|
|
555
|
+
): Promise<void>;
|
|
413
556
|
}
|