@azure/arm-netapp 14.4.0 → 15.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 +11 -0
- package/LICENSE +21 -0
- package/README.md +70 -78
- package/dist/index.js +8881 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/netAppResourceMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2374 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +162 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +76 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1505 -1644
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +46 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +319 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/netAppManagementClient.d.ts +31 -0
- package/dist-esm/src/netAppManagementClient.d.ts.map +1 -0
- package/dist-esm/src/netAppManagementClient.js +64 -0
- package/dist-esm/src/netAppManagementClient.js.map +1 -0
- package/dist-esm/src/operations/accountBackups.d.ts +55 -0
- package/dist-esm/src/operations/accountBackups.d.ts.map +1 -0
- package/dist-esm/src/operations/accountBackups.js +195 -0
- package/dist-esm/src/operations/accountBackups.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +107 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +482 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/backupPolicies.d.ts +91 -0
- package/dist-esm/src/operations/backupPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/backupPolicies.js +365 -0
- package/dist-esm/src/operations/backupPolicies.js.map +1 -0
- package/dist-esm/src/operations/backups.d.ts +125 -0
- package/dist-esm/src/operations/backups.d.ts.map +1 -0
- package/dist-esm/src/operations/backups.js +484 -0
- package/dist-esm/src/operations/backups.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/netAppResource.d.ts +40 -0
- package/dist-esm/src/operations/netAppResource.d.ts.map +1 -0
- package/dist-esm/src/operations/netAppResource.js +133 -0
- package/dist-esm/src/operations/netAppResource.js.map +1 -0
- package/dist-esm/src/operations/netAppResourceQuotaLimits.d.ts +35 -0
- package/dist-esm/src/operations/netAppResourceQuotaLimits.d.ts.map +1 -0
- package/dist-esm/src/operations/netAppResourceQuotaLimits.js +122 -0
- package/dist-esm/src/operations/netAppResourceQuotaLimits.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +88 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/pools.d.ts +99 -0
- package/dist-esm/src/operations/pools.d.ts.map +1 -0
- package/dist-esm/src/operations/pools.js +401 -0
- package/dist-esm/src/operations/pools.js.map +1 -0
- package/dist-esm/src/operations/snapshotPolicies.d.ts +90 -0
- package/dist-esm/src/operations/snapshotPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/snapshotPolicies.js +346 -0
- package/dist-esm/src/operations/snapshotPolicies.js.map +1 -0
- package/dist-esm/src/operations/snapshots.d.ts +109 -0
- package/dist-esm/src/operations/snapshots.d.ts.map +1 -0
- package/dist-esm/src/operations/snapshots.js +423 -0
- package/dist-esm/src/operations/snapshots.js.map +1 -0
- package/dist-esm/src/operations/vaults.d.ts +30 -0
- package/dist-esm/src/operations/vaults.d.ts.map +1 -0
- package/dist-esm/src/operations/vaults.js +97 -0
- package/dist-esm/src/operations/vaults.js.map +1 -0
- package/dist-esm/src/operations/volumeGroups.d.ts +73 -0
- package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/volumeGroups.js +278 -0
- package/dist-esm/src/operations/volumeGroups.js.map +1 -0
- package/dist-esm/src/operations/volumes.d.ts +254 -0
- package/dist-esm/src/operations/volumes.d.ts.map +1 -0
- package/dist-esm/src/operations/volumes.js +956 -0
- package/dist-esm/src/operations/volumes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accountBackups.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/accountBackups.d.ts.map +1 -0
- package/{src/models/netAppResourceMappers.ts → dist-esm/src/operationsInterfaces/accountBackups.js} +2 -8
- package/dist-esm/src/operationsInterfaces/accountBackups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backups.d.ts +106 -0
- package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backups.js +9 -0
- package/dist-esm/src/operationsInterfaces/backups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +21 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/netAppResource.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/netAppResource.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/netAppResource.js +9 -0
- package/dist-esm/src/operationsInterfaces/netAppResource.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.js +9 -0
- package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/pools.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/pools.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/pools.js} +2 -1
- package/dist-esm/src/operationsInterfaces/pools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshotPolicies.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/snapshotPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshotPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/snapshotPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshots.js +9 -0
- package/dist-esm/src/operationsInterfaces/snapshots.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/vaults.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vaults.js +9 -0
- package/dist-esm/src/operationsInterfaces/vaults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumeGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumes.d.ts +227 -0
- package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volumes.js +9 -0
- package/dist-esm/src/operationsInterfaces/volumes.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +70 -32
- package/review/arm-netapp.api.md +1681 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -10
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1888 -3345
- package/src/models/mappers.ts +1542 -1652
- package/src/models/parameters.ts +271 -66
- package/src/netAppManagementClient.ts +128 -0
- package/src/operations/accountBackups.ts +187 -132
- package/src/operations/accounts.ts +487 -325
- package/src/operations/backupPolicies.ts +390 -223
- package/src/operations/backups.ts +486 -313
- package/src/operations/index.ts +1 -2
- package/src/operations/netAppResource.ts +112 -204
- package/src/operations/netAppResourceQuotaLimits.ts +100 -90
- package/src/operations/operations.ts +65 -43
- package/src/operations/pools.ts +430 -263
- package/src/operations/snapshotPolicies.ts +345 -275
- package/src/operations/snapshots.ts +454 -226
- package/src/operations/vaults.ts +81 -51
- package/src/operations/volumeGroups.ts +303 -182
- package/src/operations/volumes.ts +1101 -637
- package/src/operationsInterfaces/accountBackups.ts +72 -0
- package/src/operationsInterfaces/accounts.ts +139 -0
- package/src/operationsInterfaces/backupPolicies.ts +147 -0
- package/src/operationsInterfaces/backups.ts +202 -0
- package/src/operationsInterfaces/index.ts +21 -0
- package/src/operationsInterfaces/netAppResource.ts +66 -0
- package/src/operationsInterfaces/netAppResourceQuotaLimits.ts +40 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/pools.ts +144 -0
- package/src/operationsInterfaces/snapshotPolicies.ts +142 -0
- package/src/operationsInterfaces/snapshots.ts +178 -0
- package/src/operationsInterfaces/vaults.ts +26 -0
- package/src/operationsInterfaces/volumeGroups.ts +110 -0
- package/src/operationsInterfaces/volumes.ts +413 -0
- package/tsconfig.json +3 -3
- package/types/arm-netapp.d.ts +3485 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-netapp.js +0 -8542
- package/dist/arm-netapp.js.map +0 -1
- package/dist/arm-netapp.min.js +0 -1
- package/dist/arm-netapp.min.js.map +0 -1
- package/esm/azureNetAppFilesManagementClient.d.ts +0 -37
- package/esm/azureNetAppFilesManagementClient.d.ts.map +0 -1
- package/esm/azureNetAppFilesManagementClient.js +0 -50
- package/esm/azureNetAppFilesManagementClient.js.map +0 -1
- package/esm/azureNetAppFilesManagementClientContext.d.ts +0 -23
- package/esm/azureNetAppFilesManagementClientContext.d.ts.map +0 -1
- package/esm/azureNetAppFilesManagementClientContext.js +0 -61
- package/esm/azureNetAppFilesManagementClientContext.js.map +0 -1
- package/esm/models/accountBackupsMappers.d.ts +0 -2
- package/esm/models/accountBackupsMappers.d.ts.map +0 -1
- package/esm/models/accountBackupsMappers.js +0 -9
- package/esm/models/accountBackupsMappers.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -9
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/backupPoliciesMappers.d.ts +0 -2
- package/esm/models/backupPoliciesMappers.d.ts.map +0 -1
- package/esm/models/backupPoliciesMappers.js +0 -9
- package/esm/models/backupPoliciesMappers.js.map +0 -1
- package/esm/models/backupsMappers.d.ts +0 -2
- package/esm/models/backupsMappers.d.ts.map +0 -1
- package/esm/models/backupsMappers.js +0 -9
- package/esm/models/backupsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3856
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -78
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/netAppResourceMappers.d.ts +0 -2
- package/esm/models/netAppResourceMappers.d.ts.map +0 -1
- package/esm/models/netAppResourceMappers.js.map +0 -1
- package/esm/models/netAppResourceQuotaLimitsMappers.d.ts +0 -2
- package/esm/models/netAppResourceQuotaLimitsMappers.d.ts.map +0 -1
- package/esm/models/netAppResourceQuotaLimitsMappers.js +0 -9
- package/esm/models/netAppResourceQuotaLimitsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -183
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/poolsMappers.d.ts +0 -2
- package/esm/models/poolsMappers.d.ts.map +0 -1
- package/esm/models/poolsMappers.js +0 -9
- package/esm/models/poolsMappers.js.map +0 -1
- package/esm/models/snapshotPoliciesMappers.d.ts +0 -2
- package/esm/models/snapshotPoliciesMappers.d.ts.map +0 -1
- package/esm/models/snapshotPoliciesMappers.js +0 -9
- package/esm/models/snapshotPoliciesMappers.js.map +0 -1
- package/esm/models/snapshotsMappers.d.ts +0 -2
- package/esm/models/snapshotsMappers.d.ts.map +0 -1
- package/esm/models/snapshotsMappers.js +0 -9
- package/esm/models/snapshotsMappers.js.map +0 -1
- package/esm/models/vaultsMappers.d.ts +0 -2
- package/esm/models/vaultsMappers.d.ts.map +0 -1
- package/esm/models/vaultsMappers.js +0 -9
- package/esm/models/vaultsMappers.js.map +0 -1
- package/esm/models/volumeGroupsMappers.d.ts +0 -2
- package/esm/models/volumeGroupsMappers.d.ts.map +0 -1
- package/esm/models/volumeGroupsMappers.js +0 -9
- package/esm/models/volumeGroupsMappers.js.map +0 -1
- package/esm/models/volumesMappers.d.ts +0 -2
- package/esm/models/volumesMappers.d.ts.map +0 -1
- package/esm/models/volumesMappers.js +0 -9
- package/esm/models/volumesMappers.js.map +0 -1
- package/esm/operations/accountBackups.d.ts +0 -81
- package/esm/operations/accountBackups.d.ts.map +0 -1
- package/esm/operations/accountBackups.js +0 -145
- package/esm/operations/accountBackups.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -167
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -344
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/backupPolicies.d.ts +0 -125
- package/esm/operations/backupPolicies.d.ts.map +0 -1
- package/esm/operations/backupPolicies.js +0 -277
- package/esm/operations/backupPolicies.js.map +0 -1
- package/esm/operations/backups.d.ts +0 -203
- package/esm/operations/backups.d.ts.map +0 -1
- package/esm/operations/backups.js +0 -379
- package/esm/operations/backups.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/netAppResource.d.ts +0 -115
- package/esm/operations/netAppResource.d.ts.map +0 -1
- package/esm/operations/netAppResource.js +0 -145
- package/esm/operations/netAppResource.js.map +0 -1
- package/esm/operations/netAppResourceQuotaLimits.d.ts +0 -54
- package/esm/operations/netAppResourceQuotaLimits.d.ts.map +0 -1
- package/esm/operations/netAppResourceQuotaLimits.js +0 -86
- package/esm/operations/netAppResourceQuotaLimits.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/pools.d.ts +0 -144
- package/esm/operations/pools.d.ts.map +0 -1
- package/esm/operations/pools.js +0 -302
- package/esm/operations/pools.js.map +0 -1
- package/esm/operations/snapshotPolicies.d.ts +0 -149
- package/esm/operations/snapshotPolicies.d.ts.map +0 -1
- package/esm/operations/snapshotPolicies.js +0 -281
- package/esm/operations/snapshotPolicies.js.map +0 -1
- package/esm/operations/snapshots.d.ts +0 -149
- package/esm/operations/snapshots.d.ts.map +0 -1
- package/esm/operations/snapshots.js +0 -312
- package/esm/operations/snapshots.js.map +0 -1
- package/esm/operations/vaults.d.ts +0 -35
- package/esm/operations/vaults.d.ts.map +0 -1
- package/esm/operations/vaults.js +0 -57
- package/esm/operations/vaults.js.map +0 -1
- package/esm/operations/volumeGroups.d.ts +0 -107
- package/esm/operations/volumeGroups.d.ts.map +0 -1
- package/esm/operations/volumeGroups.js +0 -212
- package/esm/operations/volumeGroups.js.map +0 -1
- package/esm/operations/volumes.d.ts +0 -344
- package/esm/operations/volumes.d.ts.map +0 -1
- package/esm/operations/volumes.js +0 -800
- package/esm/operations/volumes.js.map +0 -1
- package/src/azureNetAppFilesManagementClient.ts +0 -72
- package/src/azureNetAppFilesManagementClientContext.ts +0 -68
- package/src/models/accountBackupsMappers.ts +0 -51
- package/src/models/accountsMappers.ts +0 -51
- package/src/models/backupPoliciesMappers.ts +0 -51
- package/src/models/backupsMappers.ts +0 -53
- package/src/models/netAppResourceQuotaLimitsMappers.ts +0 -51
- package/src/models/poolsMappers.ts +0 -51
- package/src/models/snapshotPoliciesMappers.ts +0 -53
- package/src/models/snapshotsMappers.ts +0 -51
- package/src/models/vaultsMappers.ts +0 -51
- package/src/models/volumeGroupsMappers.ts +0 -54
- package/src/models/volumesMappers.ts +0 -56
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
Backup,
|
|
13
|
+
AccountBackupsListOptionalParams,
|
|
14
|
+
AccountBackupsGetOptionalParams,
|
|
15
|
+
AccountBackupsGetResponse,
|
|
16
|
+
AccountBackupsDeleteOptionalParams
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/// <reference lib="esnext.asynciterable" />
|
|
20
|
+
/** Interface representing a AccountBackups. */
|
|
21
|
+
export interface AccountBackups {
|
|
22
|
+
/**
|
|
23
|
+
* List all Backups for a Netapp Account
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param accountName The name of the NetApp account
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(
|
|
29
|
+
resourceGroupName: string,
|
|
30
|
+
accountName: string,
|
|
31
|
+
options?: AccountBackupsListOptionalParams
|
|
32
|
+
): PagedAsyncIterableIterator<Backup>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the specified backup for a Netapp Account
|
|
35
|
+
* @param resourceGroupName The name of the resource group.
|
|
36
|
+
* @param accountName The name of the NetApp account
|
|
37
|
+
* @param backupName The name of the backup
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
accountName: string,
|
|
43
|
+
backupName: string,
|
|
44
|
+
options?: AccountBackupsGetOptionalParams
|
|
45
|
+
): Promise<AccountBackupsGetResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete the specified Backup for a Netapp Account
|
|
48
|
+
* @param resourceGroupName The name of the resource group.
|
|
49
|
+
* @param accountName The name of the NetApp account
|
|
50
|
+
* @param backupName The name of the backup
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginDelete(
|
|
54
|
+
resourceGroupName: string,
|
|
55
|
+
accountName: string,
|
|
56
|
+
backupName: string,
|
|
57
|
+
options?: AccountBackupsDeleteOptionalParams
|
|
58
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete the specified Backup for a Netapp Account
|
|
61
|
+
* @param resourceGroupName The name of the resource group.
|
|
62
|
+
* @param accountName The name of the NetApp account
|
|
63
|
+
* @param backupName The name of the backup
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginDeleteAndWait(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
accountName: string,
|
|
69
|
+
backupName: string,
|
|
70
|
+
options?: AccountBackupsDeleteOptionalParams
|
|
71
|
+
): Promise<void>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
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
|
+
NetAppAccount,
|
|
13
|
+
AccountsListBySubscriptionOptionalParams,
|
|
14
|
+
AccountsListOptionalParams,
|
|
15
|
+
AccountsGetOptionalParams,
|
|
16
|
+
AccountsGetResponse,
|
|
17
|
+
AccountsCreateOrUpdateOptionalParams,
|
|
18
|
+
AccountsCreateOrUpdateResponse,
|
|
19
|
+
AccountsDeleteOptionalParams,
|
|
20
|
+
NetAppAccountPatch,
|
|
21
|
+
AccountsUpdateOptionalParams,
|
|
22
|
+
AccountsUpdateResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a Accounts. */
|
|
27
|
+
export interface Accounts {
|
|
28
|
+
/**
|
|
29
|
+
* List and describe all NetApp accounts in the subscription.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listBySubscription(
|
|
33
|
+
options?: AccountsListBySubscriptionOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<NetAppAccount>;
|
|
35
|
+
/**
|
|
36
|
+
* List and describe all NetApp accounts in the resource group.
|
|
37
|
+
* @param resourceGroupName The name of the resource group.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
list(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
options?: AccountsListOptionalParams
|
|
43
|
+
): PagedAsyncIterableIterator<NetAppAccount>;
|
|
44
|
+
/**
|
|
45
|
+
* Get the NetApp account
|
|
46
|
+
* @param resourceGroupName The name of the resource group.
|
|
47
|
+
* @param accountName The name of the NetApp account
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
get(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
accountName: string,
|
|
53
|
+
options?: AccountsGetOptionalParams
|
|
54
|
+
): Promise<AccountsGetResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Create or update the specified NetApp account within the resource group
|
|
57
|
+
* @param resourceGroupName The name of the resource group.
|
|
58
|
+
* @param accountName The name of the NetApp account
|
|
59
|
+
* @param body NetApp Account object supplied in the body of the operation.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginCreateOrUpdate(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
accountName: string,
|
|
65
|
+
body: NetAppAccount,
|
|
66
|
+
options?: AccountsCreateOrUpdateOptionalParams
|
|
67
|
+
): Promise<
|
|
68
|
+
PollerLike<
|
|
69
|
+
PollOperationState<AccountsCreateOrUpdateResponse>,
|
|
70
|
+
AccountsCreateOrUpdateResponse
|
|
71
|
+
>
|
|
72
|
+
>;
|
|
73
|
+
/**
|
|
74
|
+
* Create or update the specified NetApp account within the resource group
|
|
75
|
+
* @param resourceGroupName The name of the resource group.
|
|
76
|
+
* @param accountName The name of the NetApp account
|
|
77
|
+
* @param body NetApp Account object supplied in the body of the operation.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginCreateOrUpdateAndWait(
|
|
81
|
+
resourceGroupName: string,
|
|
82
|
+
accountName: string,
|
|
83
|
+
body: NetAppAccount,
|
|
84
|
+
options?: AccountsCreateOrUpdateOptionalParams
|
|
85
|
+
): Promise<AccountsCreateOrUpdateResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Delete the specified NetApp account
|
|
88
|
+
* @param resourceGroupName The name of the resource group.
|
|
89
|
+
* @param accountName The name of the NetApp account
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginDelete(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
accountName: string,
|
|
95
|
+
options?: AccountsDeleteOptionalParams
|
|
96
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
97
|
+
/**
|
|
98
|
+
* Delete the specified NetApp account
|
|
99
|
+
* @param resourceGroupName The name of the resource group.
|
|
100
|
+
* @param accountName The name of the NetApp account
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
beginDeleteAndWait(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
accountName: string,
|
|
106
|
+
options?: AccountsDeleteOptionalParams
|
|
107
|
+
): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Patch the specified NetApp account
|
|
110
|
+
* @param resourceGroupName The name of the resource group.
|
|
111
|
+
* @param accountName The name of the NetApp account
|
|
112
|
+
* @param body NetApp Account object supplied in the body of the operation.
|
|
113
|
+
* @param options The options parameters.
|
|
114
|
+
*/
|
|
115
|
+
beginUpdate(
|
|
116
|
+
resourceGroupName: string,
|
|
117
|
+
accountName: string,
|
|
118
|
+
body: NetAppAccountPatch,
|
|
119
|
+
options?: AccountsUpdateOptionalParams
|
|
120
|
+
): Promise<
|
|
121
|
+
PollerLike<
|
|
122
|
+
PollOperationState<AccountsUpdateResponse>,
|
|
123
|
+
AccountsUpdateResponse
|
|
124
|
+
>
|
|
125
|
+
>;
|
|
126
|
+
/**
|
|
127
|
+
* Patch the specified NetApp account
|
|
128
|
+
* @param resourceGroupName The name of the resource group.
|
|
129
|
+
* @param accountName The name of the NetApp account
|
|
130
|
+
* @param body NetApp Account object supplied in the body of the operation.
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
beginUpdateAndWait(
|
|
134
|
+
resourceGroupName: string,
|
|
135
|
+
accountName: string,
|
|
136
|
+
body: NetAppAccountPatch,
|
|
137
|
+
options?: AccountsUpdateOptionalParams
|
|
138
|
+
): Promise<AccountsUpdateResponse>;
|
|
139
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
BackupPolicy,
|
|
13
|
+
BackupPoliciesListOptionalParams,
|
|
14
|
+
BackupPoliciesGetOptionalParams,
|
|
15
|
+
BackupPoliciesGetResponse,
|
|
16
|
+
BackupPoliciesCreateOptionalParams,
|
|
17
|
+
BackupPoliciesCreateResponse,
|
|
18
|
+
BackupPolicyPatch,
|
|
19
|
+
BackupPoliciesUpdateOptionalParams,
|
|
20
|
+
BackupPoliciesUpdateResponse,
|
|
21
|
+
BackupPoliciesDeleteOptionalParams
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a BackupPolicies. */
|
|
26
|
+
export interface BackupPolicies {
|
|
27
|
+
/**
|
|
28
|
+
* List backup policies for Netapp Account
|
|
29
|
+
* @param resourceGroupName The name of the resource group.
|
|
30
|
+
* @param accountName The name of the NetApp account
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
list(
|
|
34
|
+
resourceGroupName: string,
|
|
35
|
+
accountName: string,
|
|
36
|
+
options?: BackupPoliciesListOptionalParams
|
|
37
|
+
): PagedAsyncIterableIterator<BackupPolicy>;
|
|
38
|
+
/**
|
|
39
|
+
* Get a particular backup Policy
|
|
40
|
+
* @param resourceGroupName The name of the resource group.
|
|
41
|
+
* @param accountName The name of the NetApp account
|
|
42
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
get(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
accountName: string,
|
|
48
|
+
backupPolicyName: string,
|
|
49
|
+
options?: BackupPoliciesGetOptionalParams
|
|
50
|
+
): Promise<BackupPoliciesGetResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a backup policy for Netapp Account
|
|
53
|
+
* @param resourceGroupName The name of the resource group.
|
|
54
|
+
* @param accountName The name of the NetApp account
|
|
55
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
56
|
+
* @param body Backup policy object supplied in the body of the operation.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginCreate(
|
|
60
|
+
resourceGroupName: string,
|
|
61
|
+
accountName: string,
|
|
62
|
+
backupPolicyName: string,
|
|
63
|
+
body: BackupPolicy,
|
|
64
|
+
options?: BackupPoliciesCreateOptionalParams
|
|
65
|
+
): Promise<
|
|
66
|
+
PollerLike<
|
|
67
|
+
PollOperationState<BackupPoliciesCreateResponse>,
|
|
68
|
+
BackupPoliciesCreateResponse
|
|
69
|
+
>
|
|
70
|
+
>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a backup policy for Netapp Account
|
|
73
|
+
* @param resourceGroupName The name of the resource group.
|
|
74
|
+
* @param accountName The name of the NetApp account
|
|
75
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
76
|
+
* @param body Backup policy object supplied in the body of the operation.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
beginCreateAndWait(
|
|
80
|
+
resourceGroupName: string,
|
|
81
|
+
accountName: string,
|
|
82
|
+
backupPolicyName: string,
|
|
83
|
+
body: BackupPolicy,
|
|
84
|
+
options?: BackupPoliciesCreateOptionalParams
|
|
85
|
+
): Promise<BackupPoliciesCreateResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Patch a backup policy for Netapp Account
|
|
88
|
+
* @param resourceGroupName The name of the resource group.
|
|
89
|
+
* @param accountName The name of the NetApp account
|
|
90
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
91
|
+
* @param body Backup policy object supplied in the body of the operation.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
beginUpdate(
|
|
95
|
+
resourceGroupName: string,
|
|
96
|
+
accountName: string,
|
|
97
|
+
backupPolicyName: string,
|
|
98
|
+
body: BackupPolicyPatch,
|
|
99
|
+
options?: BackupPoliciesUpdateOptionalParams
|
|
100
|
+
): Promise<
|
|
101
|
+
PollerLike<
|
|
102
|
+
PollOperationState<BackupPoliciesUpdateResponse>,
|
|
103
|
+
BackupPoliciesUpdateResponse
|
|
104
|
+
>
|
|
105
|
+
>;
|
|
106
|
+
/**
|
|
107
|
+
* Patch a backup policy for Netapp Account
|
|
108
|
+
* @param resourceGroupName The name of the resource group.
|
|
109
|
+
* @param accountName The name of the NetApp account
|
|
110
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
111
|
+
* @param body Backup policy object supplied in the body of the operation.
|
|
112
|
+
* @param options The options parameters.
|
|
113
|
+
*/
|
|
114
|
+
beginUpdateAndWait(
|
|
115
|
+
resourceGroupName: string,
|
|
116
|
+
accountName: string,
|
|
117
|
+
backupPolicyName: string,
|
|
118
|
+
body: BackupPolicyPatch,
|
|
119
|
+
options?: BackupPoliciesUpdateOptionalParams
|
|
120
|
+
): Promise<BackupPoliciesUpdateResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* Delete backup policy
|
|
123
|
+
* @param resourceGroupName The name of the resource group.
|
|
124
|
+
* @param accountName The name of the NetApp account
|
|
125
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
beginDelete(
|
|
129
|
+
resourceGroupName: string,
|
|
130
|
+
accountName: string,
|
|
131
|
+
backupPolicyName: string,
|
|
132
|
+
options?: BackupPoliciesDeleteOptionalParams
|
|
133
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
134
|
+
/**
|
|
135
|
+
* Delete backup policy
|
|
136
|
+
* @param resourceGroupName The name of the resource group.
|
|
137
|
+
* @param accountName The name of the NetApp account
|
|
138
|
+
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
beginDeleteAndWait(
|
|
142
|
+
resourceGroupName: string,
|
|
143
|
+
accountName: string,
|
|
144
|
+
backupPolicyName: string,
|
|
145
|
+
options?: BackupPoliciesDeleteOptionalParams
|
|
146
|
+
): Promise<void>;
|
|
147
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
Backup,
|
|
13
|
+
BackupsListOptionalParams,
|
|
14
|
+
BackupsGetStatusOptionalParams,
|
|
15
|
+
BackupsGetStatusResponse,
|
|
16
|
+
BackupsGetVolumeRestoreStatusOptionalParams,
|
|
17
|
+
BackupsGetVolumeRestoreStatusResponse,
|
|
18
|
+
BackupsGetOptionalParams,
|
|
19
|
+
BackupsGetResponse,
|
|
20
|
+
BackupsCreateOptionalParams,
|
|
21
|
+
BackupsCreateResponse,
|
|
22
|
+
BackupsUpdateOptionalParams,
|
|
23
|
+
BackupsUpdateResponse,
|
|
24
|
+
BackupsDeleteOptionalParams
|
|
25
|
+
} from "../models";
|
|
26
|
+
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
|
+
/** Interface representing a Backups. */
|
|
29
|
+
export interface Backups {
|
|
30
|
+
/**
|
|
31
|
+
* List all backups for a volume
|
|
32
|
+
* @param resourceGroupName The name of the resource group.
|
|
33
|
+
* @param accountName The name of the NetApp account
|
|
34
|
+
* @param poolName The name of the capacity pool
|
|
35
|
+
* @param volumeName The name of the volume
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
list(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
accountName: string,
|
|
41
|
+
poolName: string,
|
|
42
|
+
volumeName: string,
|
|
43
|
+
options?: BackupsListOptionalParams
|
|
44
|
+
): PagedAsyncIterableIterator<Backup>;
|
|
45
|
+
/**
|
|
46
|
+
* Get the status of the backup for a volume
|
|
47
|
+
* @param resourceGroupName The name of the resource group.
|
|
48
|
+
* @param accountName The name of the NetApp account
|
|
49
|
+
* @param poolName The name of the capacity pool
|
|
50
|
+
* @param volumeName The name of the volume
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
getStatus(
|
|
54
|
+
resourceGroupName: string,
|
|
55
|
+
accountName: string,
|
|
56
|
+
poolName: string,
|
|
57
|
+
volumeName: string,
|
|
58
|
+
options?: BackupsGetStatusOptionalParams
|
|
59
|
+
): Promise<BackupsGetStatusResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Get the status of the restore for a volume
|
|
62
|
+
* @param resourceGroupName The name of the resource group.
|
|
63
|
+
* @param accountName The name of the NetApp account
|
|
64
|
+
* @param poolName The name of the capacity pool
|
|
65
|
+
* @param volumeName The name of the volume
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
getVolumeRestoreStatus(
|
|
69
|
+
resourceGroupName: string,
|
|
70
|
+
accountName: string,
|
|
71
|
+
poolName: string,
|
|
72
|
+
volumeName: string,
|
|
73
|
+
options?: BackupsGetVolumeRestoreStatusOptionalParams
|
|
74
|
+
): Promise<BackupsGetVolumeRestoreStatusResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Gets the specified backup of the volume
|
|
77
|
+
* @param resourceGroupName The name of the resource group.
|
|
78
|
+
* @param accountName The name of the NetApp account
|
|
79
|
+
* @param poolName The name of the capacity pool
|
|
80
|
+
* @param volumeName The name of the volume
|
|
81
|
+
* @param backupName The name of the backup
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
get(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
accountName: string,
|
|
87
|
+
poolName: string,
|
|
88
|
+
volumeName: string,
|
|
89
|
+
backupName: string,
|
|
90
|
+
options?: BackupsGetOptionalParams
|
|
91
|
+
): Promise<BackupsGetResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a backup for the volume
|
|
94
|
+
* @param resourceGroupName The name of the resource group.
|
|
95
|
+
* @param accountName The name of the NetApp account
|
|
96
|
+
* @param poolName The name of the capacity pool
|
|
97
|
+
* @param volumeName The name of the volume
|
|
98
|
+
* @param backupName The name of the backup
|
|
99
|
+
* @param body Backup object supplied in the body of the operation.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
beginCreate(
|
|
103
|
+
resourceGroupName: string,
|
|
104
|
+
accountName: string,
|
|
105
|
+
poolName: string,
|
|
106
|
+
volumeName: string,
|
|
107
|
+
backupName: string,
|
|
108
|
+
body: Backup,
|
|
109
|
+
options?: BackupsCreateOptionalParams
|
|
110
|
+
): Promise<
|
|
111
|
+
PollerLike<PollOperationState<BackupsCreateResponse>, BackupsCreateResponse>
|
|
112
|
+
>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a backup for the volume
|
|
115
|
+
* @param resourceGroupName The name of the resource group.
|
|
116
|
+
* @param accountName The name of the NetApp account
|
|
117
|
+
* @param poolName The name of the capacity pool
|
|
118
|
+
* @param volumeName The name of the volume
|
|
119
|
+
* @param backupName The name of the backup
|
|
120
|
+
* @param body Backup object supplied in the body of the operation.
|
|
121
|
+
* @param options The options parameters.
|
|
122
|
+
*/
|
|
123
|
+
beginCreateAndWait(
|
|
124
|
+
resourceGroupName: string,
|
|
125
|
+
accountName: string,
|
|
126
|
+
poolName: string,
|
|
127
|
+
volumeName: string,
|
|
128
|
+
backupName: string,
|
|
129
|
+
body: Backup,
|
|
130
|
+
options?: BackupsCreateOptionalParams
|
|
131
|
+
): Promise<BackupsCreateResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Patch a backup for the volume
|
|
134
|
+
* @param resourceGroupName The name of the resource group.
|
|
135
|
+
* @param accountName The name of the NetApp account
|
|
136
|
+
* @param poolName The name of the capacity pool
|
|
137
|
+
* @param volumeName The name of the volume
|
|
138
|
+
* @param backupName The name of the backup
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
beginUpdate(
|
|
142
|
+
resourceGroupName: string,
|
|
143
|
+
accountName: string,
|
|
144
|
+
poolName: string,
|
|
145
|
+
volumeName: string,
|
|
146
|
+
backupName: string,
|
|
147
|
+
options?: BackupsUpdateOptionalParams
|
|
148
|
+
): Promise<
|
|
149
|
+
PollerLike<PollOperationState<BackupsUpdateResponse>, BackupsUpdateResponse>
|
|
150
|
+
>;
|
|
151
|
+
/**
|
|
152
|
+
* Patch a backup for the volume
|
|
153
|
+
* @param resourceGroupName The name of the resource group.
|
|
154
|
+
* @param accountName The name of the NetApp account
|
|
155
|
+
* @param poolName The name of the capacity pool
|
|
156
|
+
* @param volumeName The name of the volume
|
|
157
|
+
* @param backupName The name of the backup
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
beginUpdateAndWait(
|
|
161
|
+
resourceGroupName: string,
|
|
162
|
+
accountName: string,
|
|
163
|
+
poolName: string,
|
|
164
|
+
volumeName: string,
|
|
165
|
+
backupName: string,
|
|
166
|
+
options?: BackupsUpdateOptionalParams
|
|
167
|
+
): Promise<BackupsUpdateResponse>;
|
|
168
|
+
/**
|
|
169
|
+
* Delete a backup of the volume
|
|
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 volumeName The name of the volume
|
|
174
|
+
* @param backupName The name of the backup
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
beginDelete(
|
|
178
|
+
resourceGroupName: string,
|
|
179
|
+
accountName: string,
|
|
180
|
+
poolName: string,
|
|
181
|
+
volumeName: string,
|
|
182
|
+
backupName: string,
|
|
183
|
+
options?: BackupsDeleteOptionalParams
|
|
184
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
185
|
+
/**
|
|
186
|
+
* Delete a backup of the volume
|
|
187
|
+
* @param resourceGroupName The name of the resource group.
|
|
188
|
+
* @param accountName The name of the NetApp account
|
|
189
|
+
* @param poolName The name of the capacity pool
|
|
190
|
+
* @param volumeName The name of the volume
|
|
191
|
+
* @param backupName The name of the backup
|
|
192
|
+
* @param options The options parameters.
|
|
193
|
+
*/
|
|
194
|
+
beginDeleteAndWait(
|
|
195
|
+
resourceGroupName: string,
|
|
196
|
+
accountName: string,
|
|
197
|
+
poolName: string,
|
|
198
|
+
volumeName: string,
|
|
199
|
+
backupName: string,
|
|
200
|
+
options?: BackupsDeleteOptionalParams
|
|
201
|
+
): Promise<void>;
|
|
202
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 * from "./operations";
|
|
10
|
+
export * from "./netAppResource";
|
|
11
|
+
export * from "./netAppResourceQuotaLimits";
|
|
12
|
+
export * from "./accounts";
|
|
13
|
+
export * from "./pools";
|
|
14
|
+
export * from "./volumes";
|
|
15
|
+
export * from "./snapshots";
|
|
16
|
+
export * from "./snapshotPolicies";
|
|
17
|
+
export * from "./backups";
|
|
18
|
+
export * from "./accountBackups";
|
|
19
|
+
export * from "./backupPolicies";
|
|
20
|
+
export * from "./vaults";
|
|
21
|
+
export * from "./volumeGroups";
|
|
@@ -0,0 +1,66 @@
|
|
|
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 {
|
|
10
|
+
CheckNameResourceTypes,
|
|
11
|
+
NetAppResourceCheckNameAvailabilityOptionalParams,
|
|
12
|
+
NetAppResourceCheckNameAvailabilityResponse,
|
|
13
|
+
NetAppResourceCheckFilePathAvailabilityOptionalParams,
|
|
14
|
+
NetAppResourceCheckFilePathAvailabilityResponse,
|
|
15
|
+
CheckQuotaNameResourceTypes,
|
|
16
|
+
NetAppResourceCheckQuotaAvailabilityOptionalParams,
|
|
17
|
+
NetAppResourceCheckQuotaAvailabilityResponse
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/** Interface representing a NetAppResource. */
|
|
21
|
+
export interface NetAppResource {
|
|
22
|
+
/**
|
|
23
|
+
* Check if a resource name is available.
|
|
24
|
+
* @param location The location
|
|
25
|
+
* @param name Resource name to verify.
|
|
26
|
+
* @param resourceGroup Resource group name.
|
|
27
|
+
* @param typeParam Resource type used for verification.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
checkNameAvailability(
|
|
31
|
+
location: string,
|
|
32
|
+
name: string,
|
|
33
|
+
resourceGroup: string,
|
|
34
|
+
typeParam: CheckNameResourceTypes,
|
|
35
|
+
options?: NetAppResourceCheckNameAvailabilityOptionalParams
|
|
36
|
+
): Promise<NetAppResourceCheckNameAvailabilityResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Check if a file path is available.
|
|
39
|
+
* @param location The location
|
|
40
|
+
* @param name File path to verify.
|
|
41
|
+
* @param subnetId The Azure Resource URI for a delegated subnet. Must have the delegation
|
|
42
|
+
* Microsoft.NetApp/volumes
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
checkFilePathAvailability(
|
|
46
|
+
location: string,
|
|
47
|
+
name: string,
|
|
48
|
+
subnetId: string,
|
|
49
|
+
options?: NetAppResourceCheckFilePathAvailabilityOptionalParams
|
|
50
|
+
): Promise<NetAppResourceCheckFilePathAvailabilityResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Check if a quota is available.
|
|
53
|
+
* @param location The location
|
|
54
|
+
* @param name Name of the resource to verify.
|
|
55
|
+
* @param resourceGroup Resource group name.
|
|
56
|
+
* @param typeParam Resource type used for verification.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
checkQuotaAvailability(
|
|
60
|
+
location: string,
|
|
61
|
+
name: string,
|
|
62
|
+
resourceGroup: string,
|
|
63
|
+
typeParam: CheckQuotaNameResourceTypes,
|
|
64
|
+
options?: NetAppResourceCheckQuotaAvailabilityOptionalParams
|
|
65
|
+
): Promise<NetAppResourceCheckQuotaAvailabilityResponse>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 {
|
|
11
|
+
SubscriptionQuotaItem,
|
|
12
|
+
NetAppResourceQuotaLimitsListOptionalParams,
|
|
13
|
+
NetAppResourceQuotaLimitsGetOptionalParams,
|
|
14
|
+
NetAppResourceQuotaLimitsGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a NetAppResourceQuotaLimits. */
|
|
19
|
+
export interface NetAppResourceQuotaLimits {
|
|
20
|
+
/**
|
|
21
|
+
* Get the default and current limits for quotas
|
|
22
|
+
* @param location The location
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(
|
|
26
|
+
location: string,
|
|
27
|
+
options?: NetAppResourceQuotaLimitsListOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<SubscriptionQuotaItem>;
|
|
29
|
+
/**
|
|
30
|
+
* Get the default and current subscription quota limit
|
|
31
|
+
* @param location The location
|
|
32
|
+
* @param quotaLimitName The name of the Quota Limit
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
get(
|
|
36
|
+
location: string,
|
|
37
|
+
quotaLimitName: string,
|
|
38
|
+
options?: NetAppResourceQuotaLimitsGetOptionalParams
|
|
39
|
+
): Promise<NetAppResourceQuotaLimitsGetResponse>;
|
|
40
|
+
}
|