@azure/arm-netapp 14.1.0 → 14.4.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/README.md +2 -2
- package/dist/arm-netapp.js +1861 -335
- package/dist/arm-netapp.js.map +1 -1
- package/dist/arm-netapp.min.js +1 -1
- package/dist/arm-netapp.min.js.map +1 -1
- package/esm/azureNetAppFilesManagementClient.d.ts +2 -0
- package/esm/azureNetAppFilesManagementClient.d.ts.map +1 -1
- package/esm/azureNetAppFilesManagementClient.js +2 -0
- package/esm/azureNetAppFilesManagementClient.js.map +1 -1
- package/esm/azureNetAppFilesManagementClientContext.js +2 -2
- package/esm/models/accountBackupsMappers.d.ts +1 -1
- package/esm/models/accountBackupsMappers.d.ts.map +1 -1
- package/esm/models/accountBackupsMappers.js +1 -1
- package/esm/models/accountBackupsMappers.js.map +1 -1
- package/esm/models/accountsMappers.d.ts +1 -1
- package/esm/models/accountsMappers.d.ts.map +1 -1
- package/esm/models/accountsMappers.js +1 -1
- package/esm/models/accountsMappers.js.map +1 -1
- package/esm/models/backupPoliciesMappers.d.ts +1 -1
- package/esm/models/backupPoliciesMappers.d.ts.map +1 -1
- package/esm/models/backupPoliciesMappers.js +1 -1
- package/esm/models/backupPoliciesMappers.js.map +1 -1
- package/esm/models/backupsMappers.d.ts +1 -1
- package/esm/models/backupsMappers.d.ts.map +1 -1
- package/esm/models/backupsMappers.js +1 -1
- package/esm/models/backupsMappers.js.map +1 -1
- package/esm/models/index.d.ts +913 -127
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/mappers.d.ts +14 -1
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +1123 -156
- package/esm/models/mappers.js.map +1 -1
- 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 +1 -1
- package/esm/models/operationsMappers.d.ts.map +1 -1
- package/esm/models/operationsMappers.js +1 -1
- package/esm/models/operationsMappers.js.map +1 -1
- package/esm/models/parameters.d.ts +2 -0
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +25 -0
- package/esm/models/parameters.js.map +1 -1
- package/esm/models/poolsMappers.d.ts +1 -1
- package/esm/models/poolsMappers.d.ts.map +1 -1
- package/esm/models/poolsMappers.js +1 -1
- package/esm/models/poolsMappers.js.map +1 -1
- package/esm/models/snapshotPoliciesMappers.d.ts +1 -1
- package/esm/models/snapshotPoliciesMappers.d.ts.map +1 -1
- package/esm/models/snapshotPoliciesMappers.js +1 -1
- package/esm/models/snapshotPoliciesMappers.js.map +1 -1
- package/esm/models/snapshotsMappers.d.ts +1 -1
- package/esm/models/snapshotsMappers.d.ts.map +1 -1
- package/esm/models/snapshotsMappers.js +1 -1
- package/esm/models/snapshotsMappers.js.map +1 -1
- package/esm/models/vaultsMappers.d.ts +1 -1
- package/esm/models/vaultsMappers.d.ts.map +1 -1
- package/esm/models/vaultsMappers.js +1 -1
- package/esm/models/vaultsMappers.js.map +1 -1
- package/esm/models/volumeGroupsMappers.d.ts +2 -0
- package/esm/models/volumeGroupsMappers.d.ts.map +1 -0
- package/esm/models/volumeGroupsMappers.js +9 -0
- package/esm/models/volumeGroupsMappers.js.map +1 -0
- package/esm/models/volumesMappers.d.ts +1 -1
- package/esm/models/volumesMappers.d.ts.map +1 -1
- package/esm/models/volumesMappers.js +1 -1
- package/esm/models/volumesMappers.js.map +1 -1
- package/esm/operations/accounts.d.ts +35 -0
- package/esm/operations/accounts.d.ts.map +1 -1
- package/esm/operations/accounts.js +56 -0
- package/esm/operations/accounts.js.map +1 -1
- package/esm/operations/index.d.ts +2 -0
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +2 -0
- package/esm/operations/index.js.map +1 -1
- 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/snapshotPolicies.d.ts +13 -13
- package/esm/operations/snapshotPolicies.js +4 -4
- package/esm/operations/snapshots.d.ts +9 -9
- package/esm/operations/snapshots.js +6 -6
- package/esm/operations/volumeGroups.d.ts +107 -0
- package/esm/operations/volumeGroups.d.ts.map +1 -0
- package/esm/operations/volumeGroups.js +212 -0
- package/esm/operations/volumeGroups.js.map +1 -0
- package/package.json +2 -2
- package/src/azureNetAppFilesManagementClient.ts +4 -0
- package/src/azureNetAppFilesManagementClientContext.ts +2 -2
- package/src/models/accountBackupsMappers.ts +7 -0
- package/src/models/accountsMappers.ts +7 -0
- package/src/models/backupPoliciesMappers.ts +7 -0
- package/src/models/backupsMappers.ts +7 -0
- package/src/models/index.ts +938 -125
- package/src/models/mappers.ts +1164 -171
- package/src/models/netAppResourceQuotaLimitsMappers.ts +51 -0
- package/src/models/operationsMappers.ts +1 -0
- package/src/models/parameters.ts +25 -0
- package/src/models/poolsMappers.ts +7 -0
- package/src/models/snapshotPoliciesMappers.ts +7 -0
- package/src/models/snapshotsMappers.ts +7 -0
- package/src/models/vaultsMappers.ts +7 -0
- package/src/models/volumeGroupsMappers.ts +54 -0
- package/src/models/volumesMappers.ts +7 -0
- package/src/operations/accounts.ts +101 -0
- package/src/operations/index.ts +2 -0
- package/src/operations/netAppResourceQuotaLimits.ts +140 -0
- package/src/operations/snapshotPolicies.ts +13 -13
- package/src/operations/snapshots.ts +9 -9
- package/src/operations/volumeGroups.ts +287 -0
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
export {
|
|
10
|
+
AccountEncryption,
|
|
11
|
+
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
13
|
+
Backup,
|
|
14
|
+
BackupPatch,
|
|
15
|
+
BackupPolicy,
|
|
16
|
+
BackupPolicyDetails,
|
|
17
|
+
BackupPolicyPatch,
|
|
18
|
+
BaseResource,
|
|
19
|
+
CapacityPool,
|
|
20
|
+
CapacityPoolPatch,
|
|
21
|
+
CloudError,
|
|
22
|
+
DailySchedule,
|
|
23
|
+
ExportPolicyRule,
|
|
24
|
+
HourlySchedule,
|
|
25
|
+
MonthlySchedule,
|
|
26
|
+
MountTargetProperties,
|
|
27
|
+
NetAppAccount,
|
|
28
|
+
NetAppAccountPatch,
|
|
29
|
+
PlacementKeyValuePairs,
|
|
30
|
+
ProxyResource,
|
|
31
|
+
ReplicationObject,
|
|
32
|
+
Resource,
|
|
33
|
+
Snapshot,
|
|
34
|
+
SnapshotPolicy,
|
|
35
|
+
SubscriptionQuotaItem,
|
|
36
|
+
SubscriptionQuotaItemList,
|
|
37
|
+
SystemData,
|
|
38
|
+
TrackedResource,
|
|
39
|
+
Vault,
|
|
40
|
+
Volume,
|
|
41
|
+
VolumeBackupProperties,
|
|
42
|
+
VolumeBackups,
|
|
43
|
+
VolumeGroupVolumeProperties,
|
|
44
|
+
VolumePatch,
|
|
45
|
+
VolumePatchPropertiesDataProtection,
|
|
46
|
+
VolumePatchPropertiesExportPolicy,
|
|
47
|
+
VolumePropertiesDataProtection,
|
|
48
|
+
VolumePropertiesExportPolicy,
|
|
49
|
+
VolumeSnapshotProperties,
|
|
50
|
+
WeeklySchedule
|
|
51
|
+
} from "../models/mappers";
|
package/src/models/parameters.ts
CHANGED
|
@@ -98,6 +98,16 @@ export const poolName: msRest.OperationURLParameter = {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
+
export const quotaLimitName: msRest.OperationURLParameter = {
|
|
102
|
+
parameterPath: "quotaLimitName",
|
|
103
|
+
mapper: {
|
|
104
|
+
required: true,
|
|
105
|
+
serializedName: "quotaLimitName",
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
101
111
|
export const resourceGroupName: msRest.OperationURLParameter = {
|
|
102
112
|
parameterPath: "resourceGroupName",
|
|
103
113
|
mapper: {
|
|
@@ -143,6 +153,21 @@ export const subscriptionId: msRest.OperationURLParameter = {
|
|
|
143
153
|
}
|
|
144
154
|
}
|
|
145
155
|
};
|
|
156
|
+
export const volumeGroupName: msRest.OperationURLParameter = {
|
|
157
|
+
parameterPath: "volumeGroupName",
|
|
158
|
+
mapper: {
|
|
159
|
+
required: true,
|
|
160
|
+
serializedName: "volumeGroupName",
|
|
161
|
+
constraints: {
|
|
162
|
+
MaxLength: 64,
|
|
163
|
+
MinLength: 1,
|
|
164
|
+
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$/
|
|
165
|
+
},
|
|
166
|
+
type: {
|
|
167
|
+
name: "String"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
};
|
|
146
171
|
export const volumeName: msRest.OperationURLParameter = {
|
|
147
172
|
parameterPath: "volumeName",
|
|
148
173
|
mapper: {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export {
|
|
10
10
|
AccountEncryption,
|
|
11
11
|
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
12
13
|
Backup,
|
|
13
14
|
BackupPatch,
|
|
14
15
|
BackupPolicy,
|
|
@@ -26,14 +27,20 @@ export {
|
|
|
26
27
|
MountTargetProperties,
|
|
27
28
|
NetAppAccount,
|
|
28
29
|
NetAppAccountPatch,
|
|
30
|
+
PlacementKeyValuePairs,
|
|
31
|
+
ProxyResource,
|
|
29
32
|
ReplicationObject,
|
|
33
|
+
Resource,
|
|
30
34
|
Snapshot,
|
|
31
35
|
SnapshotPolicy,
|
|
36
|
+
SubscriptionQuotaItem,
|
|
32
37
|
SystemData,
|
|
38
|
+
TrackedResource,
|
|
33
39
|
Vault,
|
|
34
40
|
Volume,
|
|
35
41
|
VolumeBackupProperties,
|
|
36
42
|
VolumeBackups,
|
|
43
|
+
VolumeGroupVolumeProperties,
|
|
37
44
|
VolumePatch,
|
|
38
45
|
VolumePatchPropertiesDataProtection,
|
|
39
46
|
VolumePatchPropertiesExportPolicy,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export {
|
|
10
10
|
AccountEncryption,
|
|
11
11
|
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
12
13
|
Backup,
|
|
13
14
|
BackupPatch,
|
|
14
15
|
BackupPolicy,
|
|
@@ -25,17 +26,23 @@ export {
|
|
|
25
26
|
MountTargetProperties,
|
|
26
27
|
NetAppAccount,
|
|
27
28
|
NetAppAccountPatch,
|
|
29
|
+
PlacementKeyValuePairs,
|
|
30
|
+
ProxyResource,
|
|
28
31
|
ReplicationObject,
|
|
32
|
+
Resource,
|
|
29
33
|
Snapshot,
|
|
30
34
|
SnapshotPoliciesList,
|
|
31
35
|
SnapshotPolicy,
|
|
32
36
|
SnapshotPolicyPatch,
|
|
33
37
|
SnapshotPolicyVolumeList,
|
|
38
|
+
SubscriptionQuotaItem,
|
|
34
39
|
SystemData,
|
|
40
|
+
TrackedResource,
|
|
35
41
|
Vault,
|
|
36
42
|
Volume,
|
|
37
43
|
VolumeBackupProperties,
|
|
38
44
|
VolumeBackups,
|
|
45
|
+
VolumeGroupVolumeProperties,
|
|
39
46
|
VolumePatch,
|
|
40
47
|
VolumePatchPropertiesDataProtection,
|
|
41
48
|
VolumePatchPropertiesExportPolicy,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export {
|
|
10
10
|
AccountEncryption,
|
|
11
11
|
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
12
13
|
Backup,
|
|
13
14
|
BackupPatch,
|
|
14
15
|
BackupPolicy,
|
|
@@ -25,15 +26,21 @@ export {
|
|
|
25
26
|
MountTargetProperties,
|
|
26
27
|
NetAppAccount,
|
|
27
28
|
NetAppAccountPatch,
|
|
29
|
+
PlacementKeyValuePairs,
|
|
30
|
+
ProxyResource,
|
|
28
31
|
ReplicationObject,
|
|
32
|
+
Resource,
|
|
29
33
|
Snapshot,
|
|
30
34
|
SnapshotPolicy,
|
|
31
35
|
SnapshotsList,
|
|
36
|
+
SubscriptionQuotaItem,
|
|
32
37
|
SystemData,
|
|
38
|
+
TrackedResource,
|
|
33
39
|
Vault,
|
|
34
40
|
Volume,
|
|
35
41
|
VolumeBackupProperties,
|
|
36
42
|
VolumeBackups,
|
|
43
|
+
VolumeGroupVolumeProperties,
|
|
37
44
|
VolumePatch,
|
|
38
45
|
VolumePatchPropertiesDataProtection,
|
|
39
46
|
VolumePatchPropertiesExportPolicy,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export {
|
|
10
10
|
AccountEncryption,
|
|
11
11
|
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
12
13
|
Backup,
|
|
13
14
|
BackupPatch,
|
|
14
15
|
BackupPolicy,
|
|
@@ -25,15 +26,21 @@ export {
|
|
|
25
26
|
MountTargetProperties,
|
|
26
27
|
NetAppAccount,
|
|
27
28
|
NetAppAccountPatch,
|
|
29
|
+
PlacementKeyValuePairs,
|
|
30
|
+
ProxyResource,
|
|
28
31
|
ReplicationObject,
|
|
32
|
+
Resource,
|
|
29
33
|
Snapshot,
|
|
30
34
|
SnapshotPolicy,
|
|
35
|
+
SubscriptionQuotaItem,
|
|
31
36
|
SystemData,
|
|
37
|
+
TrackedResource,
|
|
32
38
|
Vault,
|
|
33
39
|
VaultList,
|
|
34
40
|
Volume,
|
|
35
41
|
VolumeBackupProperties,
|
|
36
42
|
VolumeBackups,
|
|
43
|
+
VolumeGroupVolumeProperties,
|
|
37
44
|
VolumePatch,
|
|
38
45
|
VolumePatchPropertiesDataProtection,
|
|
39
46
|
VolumePatchPropertiesExportPolicy,
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
export {
|
|
10
|
+
AccountEncryption,
|
|
11
|
+
ActiveDirectory,
|
|
12
|
+
AzureEntityResource,
|
|
13
|
+
Backup,
|
|
14
|
+
BackupPatch,
|
|
15
|
+
BackupPolicy,
|
|
16
|
+
BackupPolicyDetails,
|
|
17
|
+
BackupPolicyPatch,
|
|
18
|
+
BaseResource,
|
|
19
|
+
CapacityPool,
|
|
20
|
+
CapacityPoolPatch,
|
|
21
|
+
CloudError,
|
|
22
|
+
DailySchedule,
|
|
23
|
+
ExportPolicyRule,
|
|
24
|
+
HourlySchedule,
|
|
25
|
+
MonthlySchedule,
|
|
26
|
+
MountTargetProperties,
|
|
27
|
+
NetAppAccount,
|
|
28
|
+
NetAppAccountPatch,
|
|
29
|
+
PlacementKeyValuePairs,
|
|
30
|
+
ProxyResource,
|
|
31
|
+
ReplicationObject,
|
|
32
|
+
Resource,
|
|
33
|
+
Snapshot,
|
|
34
|
+
SnapshotPolicy,
|
|
35
|
+
SubscriptionQuotaItem,
|
|
36
|
+
SystemData,
|
|
37
|
+
TrackedResource,
|
|
38
|
+
Vault,
|
|
39
|
+
Volume,
|
|
40
|
+
VolumeBackupProperties,
|
|
41
|
+
VolumeBackups,
|
|
42
|
+
VolumeGroup,
|
|
43
|
+
VolumeGroupDetails,
|
|
44
|
+
VolumeGroupList,
|
|
45
|
+
VolumeGroupMetaData,
|
|
46
|
+
VolumeGroupVolumeProperties,
|
|
47
|
+
VolumePatch,
|
|
48
|
+
VolumePatchPropertiesDataProtection,
|
|
49
|
+
VolumePatchPropertiesExportPolicy,
|
|
50
|
+
VolumePropertiesDataProtection,
|
|
51
|
+
VolumePropertiesExportPolicy,
|
|
52
|
+
VolumeSnapshotProperties,
|
|
53
|
+
WeeklySchedule
|
|
54
|
+
} from "../models/mappers";
|
|
@@ -10,6 +10,7 @@ export {
|
|
|
10
10
|
AccountEncryption,
|
|
11
11
|
ActiveDirectory,
|
|
12
12
|
AuthorizeRequest,
|
|
13
|
+
AzureEntityResource,
|
|
13
14
|
Backup,
|
|
14
15
|
BackupPatch,
|
|
15
16
|
BackupPolicy,
|
|
@@ -27,16 +28,22 @@ export {
|
|
|
27
28
|
MountTargetProperties,
|
|
28
29
|
NetAppAccount,
|
|
29
30
|
NetAppAccountPatch,
|
|
31
|
+
PlacementKeyValuePairs,
|
|
30
32
|
PoolChangeRequest,
|
|
33
|
+
ProxyResource,
|
|
31
34
|
ReplicationObject,
|
|
32
35
|
ReplicationStatus,
|
|
36
|
+
Resource,
|
|
33
37
|
Snapshot,
|
|
34
38
|
SnapshotPolicy,
|
|
39
|
+
SubscriptionQuotaItem,
|
|
35
40
|
SystemData,
|
|
41
|
+
TrackedResource,
|
|
36
42
|
Vault,
|
|
37
43
|
Volume,
|
|
38
44
|
VolumeBackupProperties,
|
|
39
45
|
VolumeBackups,
|
|
46
|
+
VolumeGroupVolumeProperties,
|
|
40
47
|
VolumeList,
|
|
41
48
|
VolumePatch,
|
|
42
49
|
VolumePatchPropertiesDataProtection,
|
|
@@ -26,6 +26,31 @@ export class Accounts {
|
|
|
26
26
|
this.client = client;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* List and describe all NetApp accounts in the subscription.
|
|
31
|
+
* @summary Describe all NetApp Accounts in a subscription
|
|
32
|
+
* @param [options] The optional parameters
|
|
33
|
+
* @returns Promise<Models.AccountsListBySubscriptionResponse>
|
|
34
|
+
*/
|
|
35
|
+
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.AccountsListBySubscriptionResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* @param callback The callback
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(callback: msRest.ServiceCallback<Models.NetAppAccountList>): void;
|
|
40
|
+
/**
|
|
41
|
+
* @param options The optional parameters
|
|
42
|
+
* @param callback The callback
|
|
43
|
+
*/
|
|
44
|
+
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.NetAppAccountList>): void;
|
|
45
|
+
listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.NetAppAccountList>, callback?: msRest.ServiceCallback<Models.NetAppAccountList>): Promise<Models.AccountsListBySubscriptionResponse> {
|
|
46
|
+
return this.client.sendOperationRequest(
|
|
47
|
+
{
|
|
48
|
+
options
|
|
49
|
+
},
|
|
50
|
+
listBySubscriptionOperationSpec,
|
|
51
|
+
callback) as Promise<Models.AccountsListBySubscriptionResponse>;
|
|
52
|
+
}
|
|
53
|
+
|
|
29
54
|
/**
|
|
30
55
|
* List and describe all NetApp accounts in the resource group.
|
|
31
56
|
* @summary Describe all NetApp Accounts in a resource group
|
|
@@ -190,6 +215,35 @@ export class Accounts {
|
|
|
190
215
|
options);
|
|
191
216
|
}
|
|
192
217
|
|
|
218
|
+
/**
|
|
219
|
+
* List and describe all NetApp accounts in the subscription.
|
|
220
|
+
* @summary Describe all NetApp Accounts in a subscription
|
|
221
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
222
|
+
* @param [options] The optional parameters
|
|
223
|
+
* @returns Promise<Models.AccountsListBySubscriptionNextResponse>
|
|
224
|
+
*/
|
|
225
|
+
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListBySubscriptionNextResponse>;
|
|
226
|
+
/**
|
|
227
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
228
|
+
* @param callback The callback
|
|
229
|
+
*/
|
|
230
|
+
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.NetAppAccountList>): void;
|
|
231
|
+
/**
|
|
232
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
233
|
+
* @param options The optional parameters
|
|
234
|
+
* @param callback The callback
|
|
235
|
+
*/
|
|
236
|
+
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.NetAppAccountList>): void;
|
|
237
|
+
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.NetAppAccountList>, callback?: msRest.ServiceCallback<Models.NetAppAccountList>): Promise<Models.AccountsListBySubscriptionNextResponse> {
|
|
238
|
+
return this.client.sendOperationRequest(
|
|
239
|
+
{
|
|
240
|
+
nextPageLink,
|
|
241
|
+
options
|
|
242
|
+
},
|
|
243
|
+
listBySubscriptionNextOperationSpec,
|
|
244
|
+
callback) as Promise<Models.AccountsListBySubscriptionNextResponse>;
|
|
245
|
+
}
|
|
246
|
+
|
|
193
247
|
/**
|
|
194
248
|
* List and describe all NetApp accounts in the resource group.
|
|
195
249
|
* @summary Describe all NetApp Accounts in a resource group
|
|
@@ -222,6 +276,29 @@ export class Accounts {
|
|
|
222
276
|
|
|
223
277
|
// Operation Specifications
|
|
224
278
|
const serializer = new msRest.Serializer(Mappers);
|
|
279
|
+
const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
280
|
+
httpMethod: "GET",
|
|
281
|
+
path: "subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts",
|
|
282
|
+
urlParameters: [
|
|
283
|
+
Parameters.subscriptionId
|
|
284
|
+
],
|
|
285
|
+
queryParameters: [
|
|
286
|
+
Parameters.apiVersion
|
|
287
|
+
],
|
|
288
|
+
headerParameters: [
|
|
289
|
+
Parameters.acceptLanguage
|
|
290
|
+
],
|
|
291
|
+
responses: {
|
|
292
|
+
200: {
|
|
293
|
+
bodyMapper: Mappers.NetAppAccountList
|
|
294
|
+
},
|
|
295
|
+
default: {
|
|
296
|
+
bodyMapper: Mappers.CloudError
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
serializer
|
|
300
|
+
};
|
|
301
|
+
|
|
225
302
|
const listOperationSpec: msRest.OperationSpec = {
|
|
226
303
|
httpMethod: "GET",
|
|
227
304
|
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts",
|
|
@@ -365,6 +442,30 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
365
442
|
serializer
|
|
366
443
|
};
|
|
367
444
|
|
|
445
|
+
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
446
|
+
httpMethod: "GET",
|
|
447
|
+
baseUrl: "https://management.azure.com",
|
|
448
|
+
path: "{nextLink}",
|
|
449
|
+
urlParameters: [
|
|
450
|
+
Parameters.nextPageLink
|
|
451
|
+
],
|
|
452
|
+
queryParameters: [
|
|
453
|
+
Parameters.apiVersion
|
|
454
|
+
],
|
|
455
|
+
headerParameters: [
|
|
456
|
+
Parameters.acceptLanguage
|
|
457
|
+
],
|
|
458
|
+
responses: {
|
|
459
|
+
200: {
|
|
460
|
+
bodyMapper: Mappers.NetAppAccountList
|
|
461
|
+
},
|
|
462
|
+
default: {
|
|
463
|
+
bodyMapper: Mappers.CloudError
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
serializer
|
|
467
|
+
};
|
|
468
|
+
|
|
368
469
|
const listNextOperationSpec: msRest.OperationSpec = {
|
|
369
470
|
httpMethod: "GET",
|
|
370
471
|
baseUrl: "https://management.azure.com",
|
package/src/operations/index.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
export * from "./operations";
|
|
11
11
|
export * from "./netAppResource";
|
|
12
|
+
export * from "./netAppResourceQuotaLimits";
|
|
12
13
|
export * from "./accounts";
|
|
13
14
|
export * from "./pools";
|
|
14
15
|
export * from "./volumes";
|
|
@@ -18,3 +19,4 @@ export * from "./backups";
|
|
|
18
19
|
export * from "./accountBackups";
|
|
19
20
|
export * from "./backupPolicies";
|
|
20
21
|
export * from "./vaults";
|
|
22
|
+
export * from "./volumeGroups";
|
|
@@ -0,0 +1,140 @@
|
|
|
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 Models from "../models";
|
|
12
|
+
import * as Mappers from "../models/netAppResourceQuotaLimitsMappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { AzureNetAppFilesManagementClientContext } from "../azureNetAppFilesManagementClientContext";
|
|
15
|
+
|
|
16
|
+
/** Class representing a NetAppResourceQuotaLimits. */
|
|
17
|
+
export class NetAppResourceQuotaLimits {
|
|
18
|
+
private readonly client: AzureNetAppFilesManagementClientContext;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Create a NetAppResourceQuotaLimits.
|
|
22
|
+
* @param {AzureNetAppFilesManagementClientContext} client Reference to the service client.
|
|
23
|
+
*/
|
|
24
|
+
constructor(client: AzureNetAppFilesManagementClientContext) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Get the default and current limits for quotas
|
|
30
|
+
* @summary Get quota limits
|
|
31
|
+
* @param location The location
|
|
32
|
+
* @param [options] The optional parameters
|
|
33
|
+
* @returns Promise<Models.NetAppResourceQuotaLimitsListResponse>
|
|
34
|
+
*/
|
|
35
|
+
list(location: string, options?: msRest.RequestOptionsBase): Promise<Models.NetAppResourceQuotaLimitsListResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* @param location The location
|
|
38
|
+
* @param callback The callback
|
|
39
|
+
*/
|
|
40
|
+
list(location: string, callback: msRest.ServiceCallback<Models.SubscriptionQuotaItemList>): void;
|
|
41
|
+
/**
|
|
42
|
+
* @param location The location
|
|
43
|
+
* @param options The optional parameters
|
|
44
|
+
* @param callback The callback
|
|
45
|
+
*/
|
|
46
|
+
list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SubscriptionQuotaItemList>): void;
|
|
47
|
+
list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SubscriptionQuotaItemList>, callback?: msRest.ServiceCallback<Models.SubscriptionQuotaItemList>): Promise<Models.NetAppResourceQuotaLimitsListResponse> {
|
|
48
|
+
return this.client.sendOperationRequest(
|
|
49
|
+
{
|
|
50
|
+
location,
|
|
51
|
+
options
|
|
52
|
+
},
|
|
53
|
+
listOperationSpec,
|
|
54
|
+
callback) as Promise<Models.NetAppResourceQuotaLimitsListResponse>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Get the default and current subscription quota limit
|
|
59
|
+
* @summary Get quota limits
|
|
60
|
+
* @param location The location
|
|
61
|
+
* @param quotaLimitName The name of the Quota Limit
|
|
62
|
+
* @param [options] The optional parameters
|
|
63
|
+
* @returns Promise<Models.NetAppResourceQuotaLimitsGetResponse>
|
|
64
|
+
*/
|
|
65
|
+
get(location: string, quotaLimitName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetAppResourceQuotaLimitsGetResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* @param location The location
|
|
68
|
+
* @param quotaLimitName The name of the Quota Limit
|
|
69
|
+
* @param callback The callback
|
|
70
|
+
*/
|
|
71
|
+
get(location: string, quotaLimitName: string, callback: msRest.ServiceCallback<Models.SubscriptionQuotaItem>): void;
|
|
72
|
+
/**
|
|
73
|
+
* @param location The location
|
|
74
|
+
* @param quotaLimitName The name of the Quota Limit
|
|
75
|
+
* @param options The optional parameters
|
|
76
|
+
* @param callback The callback
|
|
77
|
+
*/
|
|
78
|
+
get(location: string, quotaLimitName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SubscriptionQuotaItem>): void;
|
|
79
|
+
get(location: string, quotaLimitName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SubscriptionQuotaItem>, callback?: msRest.ServiceCallback<Models.SubscriptionQuotaItem>): Promise<Models.NetAppResourceQuotaLimitsGetResponse> {
|
|
80
|
+
return this.client.sendOperationRequest(
|
|
81
|
+
{
|
|
82
|
+
location,
|
|
83
|
+
quotaLimitName,
|
|
84
|
+
options
|
|
85
|
+
},
|
|
86
|
+
getOperationSpec,
|
|
87
|
+
callback) as Promise<Models.NetAppResourceQuotaLimitsGetResponse>;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Operation Specifications
|
|
92
|
+
const serializer = new msRest.Serializer(Mappers);
|
|
93
|
+
const listOperationSpec: msRest.OperationSpec = {
|
|
94
|
+
httpMethod: "GET",
|
|
95
|
+
path: "subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits",
|
|
96
|
+
urlParameters: [
|
|
97
|
+
Parameters.subscriptionId,
|
|
98
|
+
Parameters.location
|
|
99
|
+
],
|
|
100
|
+
queryParameters: [
|
|
101
|
+
Parameters.apiVersion
|
|
102
|
+
],
|
|
103
|
+
headerParameters: [
|
|
104
|
+
Parameters.acceptLanguage
|
|
105
|
+
],
|
|
106
|
+
responses: {
|
|
107
|
+
200: {
|
|
108
|
+
bodyMapper: Mappers.SubscriptionQuotaItemList
|
|
109
|
+
},
|
|
110
|
+
default: {
|
|
111
|
+
bodyMapper: Mappers.CloudError
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
serializer
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const getOperationSpec: msRest.OperationSpec = {
|
|
118
|
+
httpMethod: "GET",
|
|
119
|
+
path: "subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}",
|
|
120
|
+
urlParameters: [
|
|
121
|
+
Parameters.subscriptionId,
|
|
122
|
+
Parameters.location,
|
|
123
|
+
Parameters.quotaLimitName
|
|
124
|
+
],
|
|
125
|
+
queryParameters: [
|
|
126
|
+
Parameters.apiVersion
|
|
127
|
+
],
|
|
128
|
+
headerParameters: [
|
|
129
|
+
Parameters.acceptLanguage
|
|
130
|
+
],
|
|
131
|
+
responses: {
|
|
132
|
+
200: {
|
|
133
|
+
bodyMapper: Mappers.SubscriptionQuotaItem
|
|
134
|
+
},
|
|
135
|
+
default: {
|
|
136
|
+
bodyMapper: Mappers.CloudError
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
serializer
|
|
140
|
+
};
|