@azure/arm-netapp 14.3.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/LICENSE.txt +21 -0
- package/README.md +106 -0
- package/dist/arm-netapp.js +7621 -0
- package/dist/arm-netapp.js.map +1 -0
- package/dist/arm-netapp.min.js +1 -0
- package/dist/arm-netapp.min.js.map +1 -0
- package/esm/azureNetAppFilesManagementClient.d.ts +36 -0
- package/esm/azureNetAppFilesManagementClient.d.ts.map +1 -0
- package/esm/azureNetAppFilesManagementClient.js +49 -0
- package/esm/azureNetAppFilesManagementClient.js.map +1 -0
- package/esm/azureNetAppFilesManagementClientContext.d.ts +23 -0
- package/esm/azureNetAppFilesManagementClientContext.d.ts.map +1 -0
- package/esm/azureNetAppFilesManagementClientContext.js +61 -0
- package/esm/azureNetAppFilesManagementClientContext.js.map +1 -0
- package/esm/models/accountBackupsMappers.d.ts +2 -0
- package/esm/models/accountBackupsMappers.d.ts.map +1 -0
- package/esm/models/accountBackupsMappers.js +9 -0
- package/esm/models/accountBackupsMappers.js.map +1 -0
- package/esm/models/accountsMappers.d.ts +2 -0
- package/esm/models/accountsMappers.d.ts.map +1 -0
- package/esm/models/accountsMappers.js +9 -0
- package/esm/models/accountsMappers.js.map +1 -0
- package/esm/models/backupPoliciesMappers.d.ts +2 -0
- package/esm/models/backupPoliciesMappers.d.ts.map +1 -0
- package/esm/models/backupPoliciesMappers.js +9 -0
- package/esm/models/backupPoliciesMappers.js.map +1 -0
- package/esm/models/backupsMappers.d.ts +2 -0
- package/esm/models/backupsMappers.d.ts.map +1 -0
- package/esm/models/backupsMappers.js +9 -0
- package/esm/models/backupsMappers.js.map +1 -0
- package/esm/models/index.d.ts +3402 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +8 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/mappers.d.ts +72 -0
- package/esm/models/mappers.d.ts.map +1 -0
- package/esm/models/mappers.js +3518 -0
- package/esm/models/mappers.js.map +1 -0
- package/esm/models/netAppResourceMappers.d.ts +2 -0
- package/esm/models/netAppResourceMappers.d.ts.map +1 -0
- package/esm/models/netAppResourceMappers.js +9 -0
- package/esm/models/netAppResourceMappers.js.map +1 -0
- package/esm/models/netAppResourceQuotaLimitsMappers.d.ts +2 -0
- package/esm/models/netAppResourceQuotaLimitsMappers.d.ts.map +1 -0
- package/esm/models/netAppResourceQuotaLimitsMappers.js +9 -0
- package/esm/models/netAppResourceQuotaLimitsMappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +2 -0
- package/esm/models/operationsMappers.d.ts.map +1 -0
- package/esm/models/operationsMappers.js +9 -0
- package/esm/models/operationsMappers.js.map +1 -0
- package/esm/models/parameters.d.ts +16 -0
- package/esm/models/parameters.d.ts.map +1 -0
- package/esm/models/parameters.js +168 -0
- package/esm/models/parameters.js.map +1 -0
- package/esm/models/poolsMappers.d.ts +2 -0
- package/esm/models/poolsMappers.d.ts.map +1 -0
- package/esm/models/poolsMappers.js +9 -0
- package/esm/models/poolsMappers.js.map +1 -0
- package/esm/models/snapshotPoliciesMappers.d.ts +2 -0
- package/esm/models/snapshotPoliciesMappers.d.ts.map +1 -0
- package/esm/models/snapshotPoliciesMappers.js +9 -0
- package/esm/models/snapshotPoliciesMappers.js.map +1 -0
- package/esm/models/snapshotsMappers.d.ts +2 -0
- package/esm/models/snapshotsMappers.d.ts.map +1 -0
- package/esm/models/snapshotsMappers.js +9 -0
- package/esm/models/snapshotsMappers.js.map +1 -0
- package/esm/models/vaultsMappers.d.ts +2 -0
- package/esm/models/vaultsMappers.d.ts.map +1 -0
- package/esm/models/vaultsMappers.js +9 -0
- package/esm/models/vaultsMappers.js.map +1 -0
- package/esm/models/volumesMappers.d.ts +2 -0
- package/esm/models/volumesMappers.d.ts.map +1 -0
- package/esm/models/volumesMappers.js +9 -0
- package/esm/models/volumesMappers.js.map +1 -0
- package/esm/operations/accountBackups.d.ts +81 -0
- package/esm/operations/accountBackups.d.ts.map +1 -0
- package/esm/operations/accountBackups.js +145 -0
- package/esm/operations/accountBackups.js.map +1 -0
- package/esm/operations/accounts.d.ts +167 -0
- package/esm/operations/accounts.d.ts.map +1 -0
- package/esm/operations/accounts.js +344 -0
- package/esm/operations/accounts.js.map +1 -0
- package/esm/operations/backupPolicies.d.ts +125 -0
- package/esm/operations/backupPolicies.d.ts.map +1 -0
- package/esm/operations/backupPolicies.js +277 -0
- package/esm/operations/backupPolicies.js.map +1 -0
- package/esm/operations/backups.d.ts +203 -0
- package/esm/operations/backups.d.ts.map +1 -0
- package/esm/operations/backups.js +379 -0
- package/esm/operations/backups.js.map +1 -0
- package/esm/operations/index.d.ts +13 -0
- package/esm/operations/index.d.ts.map +1 -0
- package/esm/operations/index.js +21 -0
- package/esm/operations/index.js.map +1 -0
- package/esm/operations/netAppResource.d.ts +115 -0
- package/esm/operations/netAppResource.d.ts.map +1 -0
- package/esm/operations/netAppResource.js +145 -0
- package/esm/operations/netAppResource.js.map +1 -0
- package/esm/operations/netAppResourceQuotaLimits.d.ts +54 -0
- package/esm/operations/netAppResourceQuotaLimits.d.ts.map +1 -0
- package/esm/operations/netAppResourceQuotaLimits.js +86 -0
- package/esm/operations/netAppResourceQuotaLimits.js.map +1 -0
- package/esm/operations/operations.d.ts +29 -0
- package/esm/operations/operations.d.ts.map +1 -0
- package/esm/operations/operations.js +50 -0
- package/esm/operations/operations.js.map +1 -0
- package/esm/operations/pools.d.ts +144 -0
- package/esm/operations/pools.d.ts.map +1 -0
- package/esm/operations/pools.js +302 -0
- package/esm/operations/pools.js.map +1 -0
- package/esm/operations/snapshotPolicies.d.ts +149 -0
- package/esm/operations/snapshotPolicies.d.ts.map +1 -0
- package/esm/operations/snapshotPolicies.js +281 -0
- package/esm/operations/snapshotPolicies.js.map +1 -0
- package/esm/operations/snapshots.d.ts +149 -0
- package/esm/operations/snapshots.d.ts.map +1 -0
- package/esm/operations/snapshots.js +312 -0
- package/esm/operations/snapshots.js.map +1 -0
- package/esm/operations/vaults.d.ts +35 -0
- package/esm/operations/vaults.d.ts.map +1 -0
- package/esm/operations/vaults.js +57 -0
- package/esm/operations/vaults.js.map +1 -0
- package/esm/operations/volumes.d.ts +344 -0
- package/esm/operations/volumes.d.ts.map +1 -0
- package/esm/operations/volumes.js +800 -0
- package/esm/operations/volumes.js.map +1 -0
- package/package.json +59 -0
- package/rollup.config.js +37 -0
- package/src/azureNetAppFilesManagementClient.ts +70 -0
- package/src/azureNetAppFilesManagementClientContext.ts +68 -0
- package/src/models/accountBackupsMappers.ts +49 -0
- package/src/models/accountsMappers.ts +49 -0
- package/src/models/backupPoliciesMappers.ts +49 -0
- package/src/models/backupsMappers.ts +51 -0
- package/src/models/index.ts +3594 -0
- package/src/models/mappers.ts +3602 -0
- package/src/models/netAppResourceMappers.ts +15 -0
- package/src/models/netAppResourceQuotaLimitsMappers.ts +49 -0
- package/src/models/operationsMappers.ts +18 -0
- package/src/models/parameters.ts +170 -0
- package/src/models/poolsMappers.ts +49 -0
- package/src/models/snapshotPoliciesMappers.ts +51 -0
- package/src/models/snapshotsMappers.ts +49 -0
- package/src/models/vaultsMappers.ts +49 -0
- package/src/models/volumesMappers.ts +54 -0
- package/src/operations/accountBackups.ts +212 -0
- package/src/operations/accounts.ts +491 -0
- package/src/operations/backupPolicies.ts +361 -0
- package/src/operations/backups.ts +538 -0
- package/src/operations/index.ts +21 -0
- package/src/operations/netAppResource.ts +273 -0
- package/src/operations/netAppResourceQuotaLimits.ts +140 -0
- package/src/operations/operations.ts +74 -0
- package/src/operations/pools.ts +410 -0
- package/src/operations/snapshotPolicies.ts +419 -0
- package/src/operations/snapshots.ts +405 -0
- package/src/operations/vaults.ts +87 -0
- package/src/operations/volumes.ts +998 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,410 @@
|
|
|
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
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
12
|
+
import * as Models from "../models";
|
|
13
|
+
import * as Mappers from "../models/poolsMappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { AzureNetAppFilesManagementClientContext } from "../azureNetAppFilesManagementClientContext";
|
|
16
|
+
|
|
17
|
+
/** Class representing a Pools. */
|
|
18
|
+
export class Pools {
|
|
19
|
+
private readonly client: AzureNetAppFilesManagementClientContext;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a Pools.
|
|
23
|
+
* @param {AzureNetAppFilesManagementClientContext} client Reference to the service client.
|
|
24
|
+
*/
|
|
25
|
+
constructor(client: AzureNetAppFilesManagementClientContext) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* List all capacity pools in the NetApp Account
|
|
31
|
+
* @summary Describe all Capacity Pools
|
|
32
|
+
* @param resourceGroupName The name of the resource group.
|
|
33
|
+
* @param accountName The name of the NetApp account
|
|
34
|
+
* @param [options] The optional parameters
|
|
35
|
+
* @returns Promise<Models.PoolsListResponse>
|
|
36
|
+
*/
|
|
37
|
+
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PoolsListResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* @param resourceGroupName The name of the resource group.
|
|
40
|
+
* @param accountName The name of the NetApp account
|
|
41
|
+
* @param callback The callback
|
|
42
|
+
*/
|
|
43
|
+
list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.CapacityPoolList>): void;
|
|
44
|
+
/**
|
|
45
|
+
* @param resourceGroupName The name of the resource group.
|
|
46
|
+
* @param accountName The name of the NetApp account
|
|
47
|
+
* @param options The optional parameters
|
|
48
|
+
* @param callback The callback
|
|
49
|
+
*/
|
|
50
|
+
list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CapacityPoolList>): void;
|
|
51
|
+
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CapacityPoolList>, callback?: msRest.ServiceCallback<Models.CapacityPoolList>): Promise<Models.PoolsListResponse> {
|
|
52
|
+
return this.client.sendOperationRequest(
|
|
53
|
+
{
|
|
54
|
+
resourceGroupName,
|
|
55
|
+
accountName,
|
|
56
|
+
options
|
|
57
|
+
},
|
|
58
|
+
listOperationSpec,
|
|
59
|
+
callback) as Promise<Models.PoolsListResponse>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Get details of the specified capacity pool
|
|
64
|
+
* @summary Describe a Capacity Pool
|
|
65
|
+
* @param resourceGroupName The name of the resource group.
|
|
66
|
+
* @param accountName The name of the NetApp account
|
|
67
|
+
* @param poolName The name of the capacity pool
|
|
68
|
+
* @param [options] The optional parameters
|
|
69
|
+
* @returns Promise<Models.PoolsGetResponse>
|
|
70
|
+
*/
|
|
71
|
+
get(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<Models.PoolsGetResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* @param resourceGroupName The name of the resource group.
|
|
74
|
+
* @param accountName The name of the NetApp account
|
|
75
|
+
* @param poolName The name of the capacity pool
|
|
76
|
+
* @param callback The callback
|
|
77
|
+
*/
|
|
78
|
+
get(resourceGroupName: string, accountName: string, poolName: string, callback: msRest.ServiceCallback<Models.CapacityPool>): void;
|
|
79
|
+
/**
|
|
80
|
+
* @param resourceGroupName The name of the resource group.
|
|
81
|
+
* @param accountName The name of the NetApp account
|
|
82
|
+
* @param poolName The name of the capacity pool
|
|
83
|
+
* @param options The optional parameters
|
|
84
|
+
* @param callback The callback
|
|
85
|
+
*/
|
|
86
|
+
get(resourceGroupName: string, accountName: string, poolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CapacityPool>): void;
|
|
87
|
+
get(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CapacityPool>, callback?: msRest.ServiceCallback<Models.CapacityPool>): Promise<Models.PoolsGetResponse> {
|
|
88
|
+
return this.client.sendOperationRequest(
|
|
89
|
+
{
|
|
90
|
+
resourceGroupName,
|
|
91
|
+
accountName,
|
|
92
|
+
poolName,
|
|
93
|
+
options
|
|
94
|
+
},
|
|
95
|
+
getOperationSpec,
|
|
96
|
+
callback) as Promise<Models.PoolsGetResponse>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Create or Update a capacity pool
|
|
101
|
+
* @summary Create or Update the specified capacity pool within the resource group
|
|
102
|
+
* @param body Capacity pool object supplied in the body of the operation.
|
|
103
|
+
* @param resourceGroupName The name of the resource group.
|
|
104
|
+
* @param accountName The name of the NetApp account
|
|
105
|
+
* @param poolName The name of the capacity pool
|
|
106
|
+
* @param [options] The optional parameters
|
|
107
|
+
* @returns Promise<Models.PoolsCreateOrUpdateResponse>
|
|
108
|
+
*/
|
|
109
|
+
createOrUpdate(body: Models.CapacityPool, resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<Models.PoolsCreateOrUpdateResponse> {
|
|
110
|
+
return this.beginCreateOrUpdate(body,resourceGroupName,accountName,poolName,options)
|
|
111
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.PoolsCreateOrUpdateResponse>;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Patch the specified capacity pool
|
|
116
|
+
* @summary Update a capacity pool
|
|
117
|
+
* @param body Capacity pool object supplied in the body of the operation.
|
|
118
|
+
* @param resourceGroupName The name of the resource group.
|
|
119
|
+
* @param accountName The name of the NetApp account
|
|
120
|
+
* @param poolName The name of the capacity pool
|
|
121
|
+
* @param [options] The optional parameters
|
|
122
|
+
* @returns Promise<Models.PoolsUpdateResponse>
|
|
123
|
+
*/
|
|
124
|
+
update(body: Models.CapacityPoolPatch, resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<Models.PoolsUpdateResponse> {
|
|
125
|
+
return this.beginUpdate(body,resourceGroupName,accountName,poolName,options)
|
|
126
|
+
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.PoolsUpdateResponse>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Delete the specified capacity pool
|
|
131
|
+
* @summary Delete a capacity pool
|
|
132
|
+
* @param resourceGroupName The name of the resource group.
|
|
133
|
+
* @param accountName The name of the NetApp account
|
|
134
|
+
* @param poolName The name of the capacity pool
|
|
135
|
+
* @param [options] The optional parameters
|
|
136
|
+
* @returns Promise<msRest.RestResponse>
|
|
137
|
+
*/
|
|
138
|
+
deleteMethod(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
139
|
+
return this.beginDeleteMethod(resourceGroupName,accountName,poolName,options)
|
|
140
|
+
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Create or Update a capacity pool
|
|
145
|
+
* @summary Create or Update the specified capacity pool within the resource group
|
|
146
|
+
* @param body Capacity pool object supplied in the body of the operation.
|
|
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 [options] The optional parameters
|
|
151
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
152
|
+
*/
|
|
153
|
+
beginCreateOrUpdate(body: Models.CapacityPool, resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
154
|
+
return this.client.sendLRORequest(
|
|
155
|
+
{
|
|
156
|
+
body,
|
|
157
|
+
resourceGroupName,
|
|
158
|
+
accountName,
|
|
159
|
+
poolName,
|
|
160
|
+
options
|
|
161
|
+
},
|
|
162
|
+
beginCreateOrUpdateOperationSpec,
|
|
163
|
+
options);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Patch the specified capacity pool
|
|
168
|
+
* @summary Update a capacity pool
|
|
169
|
+
* @param body Capacity pool object supplied in the body of the operation.
|
|
170
|
+
* @param resourceGroupName The name of the resource group.
|
|
171
|
+
* @param accountName The name of the NetApp account
|
|
172
|
+
* @param poolName The name of the capacity pool
|
|
173
|
+
* @param [options] The optional parameters
|
|
174
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
175
|
+
*/
|
|
176
|
+
beginUpdate(body: Models.CapacityPoolPatch, resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
177
|
+
return this.client.sendLRORequest(
|
|
178
|
+
{
|
|
179
|
+
body,
|
|
180
|
+
resourceGroupName,
|
|
181
|
+
accountName,
|
|
182
|
+
poolName,
|
|
183
|
+
options
|
|
184
|
+
},
|
|
185
|
+
beginUpdateOperationSpec,
|
|
186
|
+
options);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Delete the specified capacity pool
|
|
191
|
+
* @summary Delete a capacity pool
|
|
192
|
+
* @param resourceGroupName The name of the resource group.
|
|
193
|
+
* @param accountName The name of the NetApp account
|
|
194
|
+
* @param poolName The name of the capacity pool
|
|
195
|
+
* @param [options] The optional parameters
|
|
196
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
197
|
+
*/
|
|
198
|
+
beginDeleteMethod(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
199
|
+
return this.client.sendLRORequest(
|
|
200
|
+
{
|
|
201
|
+
resourceGroupName,
|
|
202
|
+
accountName,
|
|
203
|
+
poolName,
|
|
204
|
+
options
|
|
205
|
+
},
|
|
206
|
+
beginDeleteMethodOperationSpec,
|
|
207
|
+
options);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* List all capacity pools in the NetApp Account
|
|
212
|
+
* @summary Describe all Capacity Pools
|
|
213
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
214
|
+
* @param [options] The optional parameters
|
|
215
|
+
* @returns Promise<Models.PoolsListNextResponse>
|
|
216
|
+
*/
|
|
217
|
+
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PoolsListNextResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
220
|
+
* @param callback The callback
|
|
221
|
+
*/
|
|
222
|
+
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.CapacityPoolList>): void;
|
|
223
|
+
/**
|
|
224
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
225
|
+
* @param options The optional parameters
|
|
226
|
+
* @param callback The callback
|
|
227
|
+
*/
|
|
228
|
+
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CapacityPoolList>): void;
|
|
229
|
+
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CapacityPoolList>, callback?: msRest.ServiceCallback<Models.CapacityPoolList>): Promise<Models.PoolsListNextResponse> {
|
|
230
|
+
return this.client.sendOperationRequest(
|
|
231
|
+
{
|
|
232
|
+
nextPageLink,
|
|
233
|
+
options
|
|
234
|
+
},
|
|
235
|
+
listNextOperationSpec,
|
|
236
|
+
callback) as Promise<Models.PoolsListNextResponse>;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// Operation Specifications
|
|
241
|
+
const serializer = new msRest.Serializer(Mappers);
|
|
242
|
+
const listOperationSpec: msRest.OperationSpec = {
|
|
243
|
+
httpMethod: "GET",
|
|
244
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools",
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.subscriptionId,
|
|
247
|
+
Parameters.resourceGroupName,
|
|
248
|
+
Parameters.accountName
|
|
249
|
+
],
|
|
250
|
+
queryParameters: [
|
|
251
|
+
Parameters.apiVersion
|
|
252
|
+
],
|
|
253
|
+
headerParameters: [
|
|
254
|
+
Parameters.acceptLanguage
|
|
255
|
+
],
|
|
256
|
+
responses: {
|
|
257
|
+
200: {
|
|
258
|
+
bodyMapper: Mappers.CapacityPoolList
|
|
259
|
+
},
|
|
260
|
+
default: {
|
|
261
|
+
bodyMapper: Mappers.CloudError
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
serializer
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
const getOperationSpec: msRest.OperationSpec = {
|
|
268
|
+
httpMethod: "GET",
|
|
269
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
270
|
+
urlParameters: [
|
|
271
|
+
Parameters.subscriptionId,
|
|
272
|
+
Parameters.resourceGroupName,
|
|
273
|
+
Parameters.accountName,
|
|
274
|
+
Parameters.poolName
|
|
275
|
+
],
|
|
276
|
+
queryParameters: [
|
|
277
|
+
Parameters.apiVersion
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [
|
|
280
|
+
Parameters.acceptLanguage
|
|
281
|
+
],
|
|
282
|
+
responses: {
|
|
283
|
+
200: {
|
|
284
|
+
bodyMapper: Mappers.CapacityPool
|
|
285
|
+
},
|
|
286
|
+
default: {
|
|
287
|
+
bodyMapper: Mappers.CloudError
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
serializer
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
294
|
+
httpMethod: "PUT",
|
|
295
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
296
|
+
urlParameters: [
|
|
297
|
+
Parameters.subscriptionId,
|
|
298
|
+
Parameters.resourceGroupName,
|
|
299
|
+
Parameters.accountName,
|
|
300
|
+
Parameters.poolName
|
|
301
|
+
],
|
|
302
|
+
queryParameters: [
|
|
303
|
+
Parameters.apiVersion
|
|
304
|
+
],
|
|
305
|
+
headerParameters: [
|
|
306
|
+
Parameters.acceptLanguage
|
|
307
|
+
],
|
|
308
|
+
requestBody: {
|
|
309
|
+
parameterPath: "body",
|
|
310
|
+
mapper: {
|
|
311
|
+
...Mappers.CapacityPool,
|
|
312
|
+
required: true
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
responses: {
|
|
316
|
+
200: {
|
|
317
|
+
bodyMapper: Mappers.CapacityPool
|
|
318
|
+
},
|
|
319
|
+
201: {
|
|
320
|
+
bodyMapper: Mappers.CapacityPool
|
|
321
|
+
},
|
|
322
|
+
default: {
|
|
323
|
+
bodyMapper: Mappers.CloudError
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
serializer
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
330
|
+
httpMethod: "PATCH",
|
|
331
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
332
|
+
urlParameters: [
|
|
333
|
+
Parameters.subscriptionId,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.accountName,
|
|
336
|
+
Parameters.poolName
|
|
337
|
+
],
|
|
338
|
+
queryParameters: [
|
|
339
|
+
Parameters.apiVersion
|
|
340
|
+
],
|
|
341
|
+
headerParameters: [
|
|
342
|
+
Parameters.acceptLanguage
|
|
343
|
+
],
|
|
344
|
+
requestBody: {
|
|
345
|
+
parameterPath: "body",
|
|
346
|
+
mapper: {
|
|
347
|
+
...Mappers.CapacityPoolPatch,
|
|
348
|
+
required: true
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
responses: {
|
|
352
|
+
200: {
|
|
353
|
+
bodyMapper: Mappers.CapacityPool
|
|
354
|
+
},
|
|
355
|
+
202: {},
|
|
356
|
+
default: {
|
|
357
|
+
bodyMapper: Mappers.CloudError
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
serializer
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
364
|
+
httpMethod: "DELETE",
|
|
365
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
366
|
+
urlParameters: [
|
|
367
|
+
Parameters.subscriptionId,
|
|
368
|
+
Parameters.resourceGroupName,
|
|
369
|
+
Parameters.accountName,
|
|
370
|
+
Parameters.poolName
|
|
371
|
+
],
|
|
372
|
+
queryParameters: [
|
|
373
|
+
Parameters.apiVersion
|
|
374
|
+
],
|
|
375
|
+
headerParameters: [
|
|
376
|
+
Parameters.acceptLanguage
|
|
377
|
+
],
|
|
378
|
+
responses: {
|
|
379
|
+
202: {},
|
|
380
|
+
204: {},
|
|
381
|
+
default: {
|
|
382
|
+
bodyMapper: Mappers.CloudError
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
serializer
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
const listNextOperationSpec: msRest.OperationSpec = {
|
|
389
|
+
httpMethod: "GET",
|
|
390
|
+
baseUrl: "https://management.azure.com",
|
|
391
|
+
path: "{nextLink}",
|
|
392
|
+
urlParameters: [
|
|
393
|
+
Parameters.nextPageLink
|
|
394
|
+
],
|
|
395
|
+
queryParameters: [
|
|
396
|
+
Parameters.apiVersion
|
|
397
|
+
],
|
|
398
|
+
headerParameters: [
|
|
399
|
+
Parameters.acceptLanguage
|
|
400
|
+
],
|
|
401
|
+
responses: {
|
|
402
|
+
200: {
|
|
403
|
+
bodyMapper: Mappers.CapacityPoolList
|
|
404
|
+
},
|
|
405
|
+
default: {
|
|
406
|
+
bodyMapper: Mappers.CloudError
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
serializer
|
|
410
|
+
};
|