@azure/arm-netapp 15.0.0 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +11 -0
- package/dist/index.js +1277 -216
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accountBackupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountBackupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountBackupsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/accountBackupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accountBackupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountBackupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountBackupsGetSample.js +32 -0
- package/dist-esm/samples-dev/accountBackupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accountBackupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountBackupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountBackupsListSample.js +45 -0
- package/dist-esm/samples-dev/accountBackupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +48 -0
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsGetSample.js +31 -0
- package/dist-esm/samples-dev/accountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsListSample.js +44 -0
- package/dist-esm/samples-dev/accountsListSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsUpdateSample.js +32 -0
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesCreateSample.js +39 -0
- package/dist-esm/samples-dev/backupPoliciesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +32 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.js +45 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.js +39 -0
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsCreateSample.js +35 -0
- package/dist-esm/samples-dev/backupsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsDeleteSample.js +34 -0
- package/dist-esm/samples-dev/backupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsGetSample.js +34 -0
- package/dist-esm/samples-dev/backupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsGetStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsGetStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsGetStatusSample.js +33 -0
- package/dist-esm/samples-dev/backupsGetStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsGetVolumeRestoreStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsGetVolumeRestoreStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsGetVolumeRestoreStatusSample.js +33 -0
- package/dist-esm/samples-dev/backupsGetVolumeRestoreStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsListSample.js +47 -0
- package/dist-esm/samples-dev/backupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsUpdateSample.js +36 -0
- package/dist-esm/samples-dev/backupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.js +32 -0
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.js +33 -0
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.js +33 -0
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.js +31 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.js +44 -0
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/poolsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsGetSample.js +32 -0
- package/dist-esm/samples-dev/poolsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsListSample.js +45 -0
- package/dist-esm/samples-dev/poolsListSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsUpdateSample.js +33 -0
- package/dist-esm/samples-dev/poolsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.js +50 -0
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.js +32 -0
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesListSample.js +45 -0
- package/dist-esm/samples-dev/snapshotPoliciesListSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.js +32 -0
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.js +50 -0
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsCreateSample.js +35 -0
- package/dist-esm/samples-dev/snapshotsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsDeleteSample.js +34 -0
- package/dist-esm/samples-dev/snapshotsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsGetSample.js +34 -0
- package/dist-esm/samples-dev/snapshotsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsListSample.js +47 -0
- package/dist-esm/samples-dev/snapshotsListSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.js +37 -0
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/snapshotsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/snapshotsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesCreateSample.js +35 -0
- package/dist-esm/samples-dev/subvolumesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesDeleteSample.js +34 -0
- package/dist-esm/samples-dev/subvolumesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.js +34 -0
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesGetSample.js +34 -0
- package/dist-esm/samples-dev/subvolumesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.js +47 -0
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.js.map +1 -0
- package/dist-esm/samples-dev/subvolumesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/subvolumesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/subvolumesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/subvolumesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/vaultsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/vaultsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vaultsListSample.js +45 -0
- package/dist-esm/samples-dev/vaultsListSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +76 -0
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +32 -0
- package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.js +45 -0
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.js +36 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesBreakReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesBreakReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesBreakReplicationSample.js +35 -0
- package/dist-esm/samples-dev/volumesBreakReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js +42 -0
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.js +33 -0
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesDeleteSample.js +33 -0
- package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesGetSample.js +33 -0
- package/dist-esm/samples-dev/volumesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesListSample.js +46 -0
- package/dist-esm/samples-dev/volumesListSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesPoolChangeSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesPoolChangeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesPoolChangeSample.js +36 -0
- package/dist-esm/samples-dev/volumesPoolChangeSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.js +33 -0
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesReplicationStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesReplicationStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesReplicationStatusSample.js +33 -0
- package/dist-esm/samples-dev/volumesReplicationStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesResyncReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesResyncReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesResyncReplicationSample.js +33 -0
- package/dist-esm/samples-dev/volumesResyncReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesRevertSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesRevertSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesRevertSample.js +36 -0
- package/dist-esm/samples-dev/volumesRevertSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesUpdateSample.js +34 -0
- package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +201 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +316 -8
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +9 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +45 -9
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/netAppManagementClient.d.ts +2 -1
- package/dist-esm/src/netAppManagementClient.d.ts.map +1 -1
- package/dist-esm/src/netAppManagementClient.js +4 -3
- package/dist-esm/src/netAppManagementClient.js.map +1 -1
- package/dist-esm/src/operations/backupPolicies.js +2 -2
- package/dist-esm/src/operations/backups.js +2 -2
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/snapshotPolicies.js +2 -2
- package/dist-esm/src/operations/snapshots.d.ts +23 -1
- package/dist-esm/src/operations/snapshots.d.ts.map +1 -1
- package/dist-esm/src/operations/snapshots.js +84 -0
- package/dist-esm/src/operations/snapshots.js.map +1 -1
- package/dist-esm/src/operations/subvolumes.d.ts +139 -0
- package/dist-esm/src/operations/subvolumes.d.ts.map +1 -0
- package/dist-esm/src/operations/subvolumes.js +564 -0
- package/dist-esm/src/operations/subvolumes.js.map +1 -0
- package/dist-esm/src/operations/volumeGroups.js +1 -1
- package/dist-esm/src/operations/volumes.js +1 -1
- package/dist-esm/src/operations/volumes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts +23 -1
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/subvolumes.d.ts +110 -0
- package/dist-esm/src/operationsInterfaces/subvolumes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subvolumes.js +9 -0
- package/dist-esm/src/operationsInterfaces/subvolumes.js.map +1 -0
- package/package.json +33 -12
- package/review/arm-netapp.api.md +149 -0
- package/rollup.config.js +6 -72
- package/src/models/index.ts +228 -2
- package/src/models/mappers.ts +329 -8
- package/src/models/parameters.ts +53 -9
- package/src/netAppManagementClient.ts +8 -4
- package/src/operations/backupPolicies.ts +2 -2
- package/src/operations/backups.ts +2 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/snapshotPolicies.ts +2 -2
- package/src/operations/snapshots.ts +131 -1
- package/src/operations/subvolumes.ts +843 -0
- package/src/operations/volumeGroups.ts +1 -1
- package/src/operations/volumes.ts +1 -1
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/snapshots.ts +41 -1
- package/src/operationsInterfaces/subvolumes.ts +220 -0
- package/tsconfig.json +19 -5
- package/types/arm-netapp.d.ts +353 -2
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,31 +33,43 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link MetricAggregationType} that the service accepts. */
|
|
37
|
+
exports.KnownMetricAggregationType = void 0;
|
|
16
38
|
(function (KnownMetricAggregationType) {
|
|
17
39
|
KnownMetricAggregationType["Average"] = "Average";
|
|
18
40
|
})(exports.KnownMetricAggregationType || (exports.KnownMetricAggregationType = {}));
|
|
41
|
+
/** Known values of {@link CheckNameResourceTypes} that the service accepts. */
|
|
42
|
+
exports.KnownCheckNameResourceTypes = void 0;
|
|
19
43
|
(function (KnownCheckNameResourceTypes) {
|
|
20
44
|
KnownCheckNameResourceTypes["MicrosoftNetAppNetAppAccounts"] = "Microsoft.NetApp/netAppAccounts";
|
|
21
45
|
KnownCheckNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPools"] = "Microsoft.NetApp/netAppAccounts/capacityPools";
|
|
22
46
|
KnownCheckNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPoolsVolumes"] = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes";
|
|
23
47
|
KnownCheckNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshots"] = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots";
|
|
24
48
|
})(exports.KnownCheckNameResourceTypes || (exports.KnownCheckNameResourceTypes = {}));
|
|
49
|
+
/** Known values of {@link InAvailabilityReasonType} that the service accepts. */
|
|
50
|
+
exports.KnownInAvailabilityReasonType = void 0;
|
|
25
51
|
(function (KnownInAvailabilityReasonType) {
|
|
26
52
|
KnownInAvailabilityReasonType["Invalid"] = "Invalid";
|
|
27
53
|
KnownInAvailabilityReasonType["AlreadyExists"] = "AlreadyExists";
|
|
28
54
|
})(exports.KnownInAvailabilityReasonType || (exports.KnownInAvailabilityReasonType = {}));
|
|
55
|
+
/** Known values of {@link CheckQuotaNameResourceTypes} that the service accepts. */
|
|
56
|
+
exports.KnownCheckQuotaNameResourceTypes = void 0;
|
|
29
57
|
(function (KnownCheckQuotaNameResourceTypes) {
|
|
30
58
|
KnownCheckQuotaNameResourceTypes["MicrosoftNetAppNetAppAccounts"] = "Microsoft.NetApp/netAppAccounts";
|
|
31
59
|
KnownCheckQuotaNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPools"] = "Microsoft.NetApp/netAppAccounts/capacityPools";
|
|
32
60
|
KnownCheckQuotaNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPoolsVolumes"] = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes";
|
|
33
61
|
KnownCheckQuotaNameResourceTypes["MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshots"] = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots";
|
|
34
62
|
})(exports.KnownCheckQuotaNameResourceTypes || (exports.KnownCheckQuotaNameResourceTypes = {}));
|
|
63
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
64
|
+
exports.KnownCreatedByType = void 0;
|
|
35
65
|
(function (KnownCreatedByType) {
|
|
36
66
|
KnownCreatedByType["User"] = "User";
|
|
37
67
|
KnownCreatedByType["Application"] = "Application";
|
|
38
68
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
39
69
|
KnownCreatedByType["Key"] = "Key";
|
|
40
70
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
71
|
+
/** Known values of {@link ActiveDirectoryStatus} that the service accepts. */
|
|
72
|
+
exports.KnownActiveDirectoryStatus = void 0;
|
|
41
73
|
(function (KnownActiveDirectoryStatus) {
|
|
42
74
|
/** Active Directory created but not in use */
|
|
43
75
|
KnownActiveDirectoryStatus["Created"] = "Created";
|
|
@@ -50,6 +82,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
50
82
|
/** Active Directory Updating */
|
|
51
83
|
KnownActiveDirectoryStatus["Updating"] = "Updating";
|
|
52
84
|
})(exports.KnownActiveDirectoryStatus || (exports.KnownActiveDirectoryStatus = {}));
|
|
85
|
+
/** Known values of {@link ServiceLevel} that the service accepts. */
|
|
86
|
+
exports.KnownServiceLevel = void 0;
|
|
53
87
|
(function (KnownServiceLevel) {
|
|
54
88
|
/** Standard service level */
|
|
55
89
|
KnownServiceLevel["Standard"] = "Standard";
|
|
@@ -60,28 +94,38 @@ var coreLro = require('@azure/core-lro');
|
|
|
60
94
|
/** Zone redundant storage service level */
|
|
61
95
|
KnownServiceLevel["StandardZRS"] = "StandardZRS";
|
|
62
96
|
})(exports.KnownServiceLevel || (exports.KnownServiceLevel = {}));
|
|
97
|
+
/** Known values of {@link QosType} that the service accepts. */
|
|
98
|
+
exports.KnownQosType = void 0;
|
|
63
99
|
(function (KnownQosType) {
|
|
64
100
|
/** qos type Auto */
|
|
65
101
|
KnownQosType["Auto"] = "Auto";
|
|
66
102
|
/** qos type Manual */
|
|
67
103
|
KnownQosType["Manual"] = "Manual";
|
|
68
104
|
})(exports.KnownQosType || (exports.KnownQosType = {}));
|
|
105
|
+
/** Known values of {@link EncryptionType} that the service accepts. */
|
|
106
|
+
exports.KnownEncryptionType = void 0;
|
|
69
107
|
(function (KnownEncryptionType) {
|
|
70
108
|
/** EncryptionType Single, volumes will use single encryption at rest */
|
|
71
109
|
KnownEncryptionType["Single"] = "Single";
|
|
72
110
|
/** EncryptionType Double, volumes will use double encryption at rest */
|
|
73
111
|
KnownEncryptionType["Double"] = "Double";
|
|
74
112
|
})(exports.KnownEncryptionType || (exports.KnownEncryptionType = {}));
|
|
113
|
+
/** Known values of {@link ChownMode} that the service accepts. */
|
|
114
|
+
exports.KnownChownMode = void 0;
|
|
75
115
|
(function (KnownChownMode) {
|
|
76
116
|
KnownChownMode["Restricted"] = "Restricted";
|
|
77
117
|
KnownChownMode["Unrestricted"] = "Unrestricted";
|
|
78
118
|
})(exports.KnownChownMode || (exports.KnownChownMode = {}));
|
|
119
|
+
/** Known values of {@link NetworkFeatures} that the service accepts. */
|
|
120
|
+
exports.KnownNetworkFeatures = void 0;
|
|
79
121
|
(function (KnownNetworkFeatures) {
|
|
80
122
|
/** Basic network feature. */
|
|
81
123
|
KnownNetworkFeatures["Basic"] = "Basic";
|
|
82
124
|
/** Standard network feature. */
|
|
83
125
|
KnownNetworkFeatures["Standard"] = "Standard";
|
|
84
126
|
})(exports.KnownNetworkFeatures || (exports.KnownNetworkFeatures = {}));
|
|
127
|
+
/** Known values of {@link VolumeStorageToNetworkProximity} that the service accepts. */
|
|
128
|
+
exports.KnownVolumeStorageToNetworkProximity = void 0;
|
|
85
129
|
(function (KnownVolumeStorageToNetworkProximity) {
|
|
86
130
|
/** Basic storage to network connectivity. */
|
|
87
131
|
KnownVolumeStorageToNetworkProximity["Default"] = "Default";
|
|
@@ -90,40 +134,64 @@ var coreLro = require('@azure/core-lro');
|
|
|
90
134
|
/** Standard T2 storage to network connectivity. */
|
|
91
135
|
KnownVolumeStorageToNetworkProximity["T2"] = "T2";
|
|
92
136
|
})(exports.KnownVolumeStorageToNetworkProximity || (exports.KnownVolumeStorageToNetworkProximity = {}));
|
|
137
|
+
/** Known values of {@link EndpointType} that the service accepts. */
|
|
138
|
+
exports.KnownEndpointType = void 0;
|
|
93
139
|
(function (KnownEndpointType) {
|
|
94
140
|
KnownEndpointType["Src"] = "src";
|
|
95
141
|
KnownEndpointType["Dst"] = "dst";
|
|
96
142
|
})(exports.KnownEndpointType || (exports.KnownEndpointType = {}));
|
|
143
|
+
/** Known values of {@link ReplicationSchedule} that the service accepts. */
|
|
144
|
+
exports.KnownReplicationSchedule = void 0;
|
|
97
145
|
(function (KnownReplicationSchedule) {
|
|
98
146
|
KnownReplicationSchedule["10Minutely"] = "_10minutely";
|
|
99
147
|
KnownReplicationSchedule["Hourly"] = "hourly";
|
|
100
148
|
KnownReplicationSchedule["Daily"] = "daily";
|
|
101
149
|
})(exports.KnownReplicationSchedule || (exports.KnownReplicationSchedule = {}));
|
|
150
|
+
/** Known values of {@link SecurityStyle} that the service accepts. */
|
|
151
|
+
exports.KnownSecurityStyle = void 0;
|
|
102
152
|
(function (KnownSecurityStyle) {
|
|
103
153
|
KnownSecurityStyle["Ntfs"] = "ntfs";
|
|
104
154
|
KnownSecurityStyle["Unix"] = "unix";
|
|
105
155
|
})(exports.KnownSecurityStyle || (exports.KnownSecurityStyle = {}));
|
|
156
|
+
/** Known values of {@link AvsDataStore} that the service accepts. */
|
|
157
|
+
exports.KnownAvsDataStore = void 0;
|
|
106
158
|
(function (KnownAvsDataStore) {
|
|
107
159
|
/** avsDataStore is enabled */
|
|
108
160
|
KnownAvsDataStore["Enabled"] = "Enabled";
|
|
109
161
|
/** avsDataStore is disabled */
|
|
110
162
|
KnownAvsDataStore["Disabled"] = "Disabled";
|
|
111
163
|
})(exports.KnownAvsDataStore || (exports.KnownAvsDataStore = {}));
|
|
164
|
+
/** Known values of {@link EnableSubvolumes} that the service accepts. */
|
|
165
|
+
exports.KnownEnableSubvolumes = void 0;
|
|
166
|
+
(function (KnownEnableSubvolumes) {
|
|
167
|
+
/** subvolumes are enabled */
|
|
168
|
+
KnownEnableSubvolumes["Enabled"] = "Enabled";
|
|
169
|
+
/** subvolumes are not enabled */
|
|
170
|
+
KnownEnableSubvolumes["Disabled"] = "Disabled";
|
|
171
|
+
})(exports.KnownEnableSubvolumes || (exports.KnownEnableSubvolumes = {}));
|
|
172
|
+
/** Known values of {@link RelationshipStatus} that the service accepts. */
|
|
173
|
+
exports.KnownRelationshipStatus = void 0;
|
|
112
174
|
(function (KnownRelationshipStatus) {
|
|
113
175
|
KnownRelationshipStatus["Idle"] = "Idle";
|
|
114
176
|
KnownRelationshipStatus["Transferring"] = "Transferring";
|
|
115
177
|
})(exports.KnownRelationshipStatus || (exports.KnownRelationshipStatus = {}));
|
|
178
|
+
/** Known values of {@link MirrorState} that the service accepts. */
|
|
179
|
+
exports.KnownMirrorState = void 0;
|
|
116
180
|
(function (KnownMirrorState) {
|
|
117
181
|
KnownMirrorState["Uninitialized"] = "Uninitialized";
|
|
118
182
|
KnownMirrorState["Mirrored"] = "Mirrored";
|
|
119
183
|
KnownMirrorState["Broken"] = "Broken";
|
|
120
184
|
})(exports.KnownMirrorState || (exports.KnownMirrorState = {}));
|
|
185
|
+
/** Known values of {@link BackupType} that the service accepts. */
|
|
186
|
+
exports.KnownBackupType = void 0;
|
|
121
187
|
(function (KnownBackupType) {
|
|
122
188
|
/** Manual backup */
|
|
123
189
|
KnownBackupType["Manual"] = "Manual";
|
|
124
190
|
/** Scheduled backup */
|
|
125
191
|
KnownBackupType["Scheduled"] = "Scheduled";
|
|
126
192
|
})(exports.KnownBackupType || (exports.KnownBackupType = {}));
|
|
193
|
+
/** Known values of {@link ApplicationType} that the service accepts. */
|
|
194
|
+
exports.KnownApplicationType = void 0;
|
|
127
195
|
(function (KnownApplicationType) {
|
|
128
196
|
KnownApplicationType["SAPHana"] = "SAP-HANA";
|
|
129
197
|
})(exports.KnownApplicationType || (exports.KnownApplicationType = {}));
|
|
@@ -896,6 +964,48 @@ const ActiveDirectory = {
|
|
|
896
964
|
type: {
|
|
897
965
|
name: "Boolean"
|
|
898
966
|
}
|
|
967
|
+
},
|
|
968
|
+
ldapSearchScope: {
|
|
969
|
+
serializedName: "ldapSearchScope",
|
|
970
|
+
type: {
|
|
971
|
+
name: "Composite",
|
|
972
|
+
className: "LdapSearchScopeOpt"
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
};
|
|
978
|
+
const LdapSearchScopeOpt = {
|
|
979
|
+
type: {
|
|
980
|
+
name: "Composite",
|
|
981
|
+
className: "LdapSearchScopeOpt",
|
|
982
|
+
modelProperties: {
|
|
983
|
+
userDN: {
|
|
984
|
+
constraints: {
|
|
985
|
+
MaxLength: 255
|
|
986
|
+
},
|
|
987
|
+
serializedName: "userDN",
|
|
988
|
+
type: {
|
|
989
|
+
name: "String"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
groupDN: {
|
|
993
|
+
constraints: {
|
|
994
|
+
MaxLength: 255
|
|
995
|
+
},
|
|
996
|
+
serializedName: "groupDN",
|
|
997
|
+
type: {
|
|
998
|
+
name: "String"
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
groupMembershipFilter: {
|
|
1002
|
+
constraints: {
|
|
1003
|
+
MaxLength: 255
|
|
1004
|
+
},
|
|
1005
|
+
serializedName: "groupMembershipFilter",
|
|
1006
|
+
type: {
|
|
1007
|
+
name: "String"
|
|
1008
|
+
}
|
|
899
1009
|
}
|
|
900
1010
|
}
|
|
901
1011
|
}
|
|
@@ -1090,6 +1200,13 @@ const CapacityPool = {
|
|
|
1090
1200
|
value: { type: { name: "String" } }
|
|
1091
1201
|
}
|
|
1092
1202
|
},
|
|
1203
|
+
systemData: {
|
|
1204
|
+
serializedName: "systemData",
|
|
1205
|
+
type: {
|
|
1206
|
+
name: "Composite",
|
|
1207
|
+
className: "SystemData"
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1093
1210
|
poolId: {
|
|
1094
1211
|
constraints: {
|
|
1095
1212
|
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
@@ -1103,10 +1220,7 @@ const CapacityPool = {
|
|
|
1103
1220
|
}
|
|
1104
1221
|
},
|
|
1105
1222
|
size: {
|
|
1106
|
-
|
|
1107
|
-
InclusiveMaximum: 549755813888000,
|
|
1108
|
-
InclusiveMinimum: 4398046511104
|
|
1109
|
-
},
|
|
1223
|
+
defaultValue: 4398046511104,
|
|
1110
1224
|
serializedName: "properties.size",
|
|
1111
1225
|
required: true,
|
|
1112
1226
|
type: {
|
|
@@ -1207,10 +1321,6 @@ const CapacityPoolPatch = {
|
|
|
1207
1321
|
},
|
|
1208
1322
|
size: {
|
|
1209
1323
|
defaultValue: 4398046511104,
|
|
1210
|
-
constraints: {
|
|
1211
|
-
InclusiveMaximum: 549755813888000,
|
|
1212
|
-
InclusiveMinimum: 4398046511104
|
|
1213
|
-
},
|
|
1214
1324
|
serializedName: "properties.size",
|
|
1215
1325
|
type: {
|
|
1216
1326
|
name: "Number"
|
|
@@ -1298,6 +1408,13 @@ const Volume = {
|
|
|
1298
1408
|
value: { type: { name: "String" } }
|
|
1299
1409
|
}
|
|
1300
1410
|
},
|
|
1411
|
+
systemData: {
|
|
1412
|
+
serializedName: "systemData",
|
|
1413
|
+
type: {
|
|
1414
|
+
name: "Composite",
|
|
1415
|
+
className: "SystemData"
|
|
1416
|
+
}
|
|
1417
|
+
},
|
|
1301
1418
|
fileSystemId: {
|
|
1302
1419
|
constraints: {
|
|
1303
1420
|
Pattern: new RegExp("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"),
|
|
@@ -1582,6 +1699,13 @@ const Volume = {
|
|
|
1582
1699
|
name: "Number"
|
|
1583
1700
|
}
|
|
1584
1701
|
},
|
|
1702
|
+
maximumNumberOfFiles: {
|
|
1703
|
+
serializedName: "properties.maximumNumberOfFiles",
|
|
1704
|
+
readOnly: true,
|
|
1705
|
+
type: {
|
|
1706
|
+
name: "Number"
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1585
1709
|
volumeGroupName: {
|
|
1586
1710
|
serializedName: "properties.volumeGroupName",
|
|
1587
1711
|
readOnly: true,
|
|
@@ -1625,6 +1749,13 @@ const Volume = {
|
|
|
1625
1749
|
}
|
|
1626
1750
|
}
|
|
1627
1751
|
}
|
|
1752
|
+
},
|
|
1753
|
+
enableSubvolumes: {
|
|
1754
|
+
defaultValue: "Disabled",
|
|
1755
|
+
serializedName: "properties.enableSubvolumes",
|
|
1756
|
+
type: {
|
|
1757
|
+
name: "String"
|
|
1758
|
+
}
|
|
1628
1759
|
}
|
|
1629
1760
|
}
|
|
1630
1761
|
}
|
|
@@ -2034,6 +2165,17 @@ const VolumePatch = {
|
|
|
2034
2165
|
type: {
|
|
2035
2166
|
name: "Number"
|
|
2036
2167
|
}
|
|
2168
|
+
},
|
|
2169
|
+
unixPermissions: {
|
|
2170
|
+
constraints: {
|
|
2171
|
+
MaxLength: 4,
|
|
2172
|
+
MinLength: 4
|
|
2173
|
+
},
|
|
2174
|
+
serializedName: "properties.unixPermissions",
|
|
2175
|
+
nullable: true,
|
|
2176
|
+
type: {
|
|
2177
|
+
name: "String"
|
|
2178
|
+
}
|
|
2037
2179
|
}
|
|
2038
2180
|
}
|
|
2039
2181
|
}
|
|
@@ -2257,6 +2399,40 @@ const Snapshot = {
|
|
|
2257
2399
|
}
|
|
2258
2400
|
}
|
|
2259
2401
|
};
|
|
2402
|
+
const SnapshotRestoreFiles = {
|
|
2403
|
+
type: {
|
|
2404
|
+
name: "Composite",
|
|
2405
|
+
className: "SnapshotRestoreFiles",
|
|
2406
|
+
modelProperties: {
|
|
2407
|
+
filePaths: {
|
|
2408
|
+
constraints: {
|
|
2409
|
+
MinItems: 1,
|
|
2410
|
+
MaxItems: 10
|
|
2411
|
+
},
|
|
2412
|
+
serializedName: "filePaths",
|
|
2413
|
+
required: true,
|
|
2414
|
+
type: {
|
|
2415
|
+
name: "Sequence",
|
|
2416
|
+
element: {
|
|
2417
|
+
constraints: {
|
|
2418
|
+
MaxLength: 1024,
|
|
2419
|
+
MinLength: 1
|
|
2420
|
+
},
|
|
2421
|
+
type: {
|
|
2422
|
+
name: "String"
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
destinationPath: {
|
|
2428
|
+
serializedName: "destinationPath",
|
|
2429
|
+
type: {
|
|
2430
|
+
name: "String"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
};
|
|
2260
2436
|
const SnapshotPoliciesList = {
|
|
2261
2437
|
type: {
|
|
2262
2438
|
name: "Composite",
|
|
@@ -2324,6 +2500,13 @@ const SnapshotPolicy = {
|
|
|
2324
2500
|
value: { type: { name: "String" } }
|
|
2325
2501
|
}
|
|
2326
2502
|
},
|
|
2503
|
+
systemData: {
|
|
2504
|
+
serializedName: "systemData",
|
|
2505
|
+
type: {
|
|
2506
|
+
name: "Composite",
|
|
2507
|
+
className: "SystemData"
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2327
2510
|
hourlySchedule: {
|
|
2328
2511
|
serializedName: "properties.hourlySchedule",
|
|
2329
2512
|
type: {
|
|
@@ -2991,6 +3174,13 @@ const BackupPolicy = {
|
|
|
2991
3174
|
value: { type: { name: "String" } }
|
|
2992
3175
|
}
|
|
2993
3176
|
},
|
|
3177
|
+
systemData: {
|
|
3178
|
+
serializedName: "systemData",
|
|
3179
|
+
type: {
|
|
3180
|
+
name: "Composite",
|
|
3181
|
+
className: "SystemData"
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
2994
3184
|
backupPolicyId: {
|
|
2995
3185
|
serializedName: "properties.backupPolicyId",
|
|
2996
3186
|
readOnly: true,
|
|
@@ -3751,6 +3941,13 @@ const VolumeGroupVolumeProperties = {
|
|
|
3751
3941
|
name: "Number"
|
|
3752
3942
|
}
|
|
3753
3943
|
},
|
|
3944
|
+
maximumNumberOfFiles: {
|
|
3945
|
+
serializedName: "properties.maximumNumberOfFiles",
|
|
3946
|
+
readOnly: true,
|
|
3947
|
+
type: {
|
|
3948
|
+
name: "Number"
|
|
3949
|
+
}
|
|
3950
|
+
},
|
|
3754
3951
|
volumeGroupName: {
|
|
3755
3952
|
serializedName: "properties.volumeGroupName",
|
|
3756
3953
|
readOnly: true,
|
|
@@ -3794,6 +3991,149 @@ const VolumeGroupVolumeProperties = {
|
|
|
3794
3991
|
}
|
|
3795
3992
|
}
|
|
3796
3993
|
}
|
|
3994
|
+
},
|
|
3995
|
+
enableSubvolumes: {
|
|
3996
|
+
defaultValue: "Disabled",
|
|
3997
|
+
serializedName: "properties.enableSubvolumes",
|
|
3998
|
+
type: {
|
|
3999
|
+
name: "String"
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
};
|
|
4005
|
+
const SubvolumesList = {
|
|
4006
|
+
type: {
|
|
4007
|
+
name: "Composite",
|
|
4008
|
+
className: "SubvolumesList",
|
|
4009
|
+
modelProperties: {
|
|
4010
|
+
value: {
|
|
4011
|
+
serializedName: "value",
|
|
4012
|
+
type: {
|
|
4013
|
+
name: "Sequence",
|
|
4014
|
+
element: {
|
|
4015
|
+
type: {
|
|
4016
|
+
name: "Composite",
|
|
4017
|
+
className: "SubvolumeInfo"
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
},
|
|
4022
|
+
nextLink: {
|
|
4023
|
+
serializedName: "nextLink",
|
|
4024
|
+
type: {
|
|
4025
|
+
name: "String"
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
};
|
|
4031
|
+
const SubvolumePatchRequest = {
|
|
4032
|
+
type: {
|
|
4033
|
+
name: "Composite",
|
|
4034
|
+
className: "SubvolumePatchRequest",
|
|
4035
|
+
modelProperties: {
|
|
4036
|
+
size: {
|
|
4037
|
+
serializedName: "properties.size",
|
|
4038
|
+
nullable: true,
|
|
4039
|
+
type: {
|
|
4040
|
+
name: "Number"
|
|
4041
|
+
}
|
|
4042
|
+
},
|
|
4043
|
+
path: {
|
|
4044
|
+
serializedName: "properties.path",
|
|
4045
|
+
type: {
|
|
4046
|
+
name: "String"
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
};
|
|
4052
|
+
const SubvolumeModel = {
|
|
4053
|
+
type: {
|
|
4054
|
+
name: "Composite",
|
|
4055
|
+
className: "SubvolumeModel",
|
|
4056
|
+
modelProperties: {
|
|
4057
|
+
id: {
|
|
4058
|
+
serializedName: "id",
|
|
4059
|
+
readOnly: true,
|
|
4060
|
+
type: {
|
|
4061
|
+
name: "String"
|
|
4062
|
+
}
|
|
4063
|
+
},
|
|
4064
|
+
name: {
|
|
4065
|
+
serializedName: "name",
|
|
4066
|
+
readOnly: true,
|
|
4067
|
+
type: {
|
|
4068
|
+
name: "String"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
type: {
|
|
4072
|
+
serializedName: "type",
|
|
4073
|
+
readOnly: true,
|
|
4074
|
+
type: {
|
|
4075
|
+
name: "String"
|
|
4076
|
+
}
|
|
4077
|
+
},
|
|
4078
|
+
path: {
|
|
4079
|
+
serializedName: "properties.path",
|
|
4080
|
+
type: {
|
|
4081
|
+
name: "String"
|
|
4082
|
+
}
|
|
4083
|
+
},
|
|
4084
|
+
parentPath: {
|
|
4085
|
+
serializedName: "properties.parentPath",
|
|
4086
|
+
type: {
|
|
4087
|
+
name: "String"
|
|
4088
|
+
}
|
|
4089
|
+
},
|
|
4090
|
+
size: {
|
|
4091
|
+
serializedName: "properties.size",
|
|
4092
|
+
type: {
|
|
4093
|
+
name: "Number"
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
bytesUsed: {
|
|
4097
|
+
serializedName: "properties.bytesUsed",
|
|
4098
|
+
type: {
|
|
4099
|
+
name: "Number"
|
|
4100
|
+
}
|
|
4101
|
+
},
|
|
4102
|
+
permissions: {
|
|
4103
|
+
serializedName: "properties.permissions",
|
|
4104
|
+
type: {
|
|
4105
|
+
name: "String"
|
|
4106
|
+
}
|
|
4107
|
+
},
|
|
4108
|
+
creationTimeStamp: {
|
|
4109
|
+
serializedName: "properties.creationTimeStamp",
|
|
4110
|
+
type: {
|
|
4111
|
+
name: "DateTime"
|
|
4112
|
+
}
|
|
4113
|
+
},
|
|
4114
|
+
accessedTimeStamp: {
|
|
4115
|
+
serializedName: "properties.accessedTimeStamp",
|
|
4116
|
+
type: {
|
|
4117
|
+
name: "DateTime"
|
|
4118
|
+
}
|
|
4119
|
+
},
|
|
4120
|
+
modifiedTimeStamp: {
|
|
4121
|
+
serializedName: "properties.modifiedTimeStamp",
|
|
4122
|
+
type: {
|
|
4123
|
+
name: "DateTime"
|
|
4124
|
+
}
|
|
4125
|
+
},
|
|
4126
|
+
changedTimeStamp: {
|
|
4127
|
+
serializedName: "properties.changedTimeStamp",
|
|
4128
|
+
type: {
|
|
4129
|
+
name: "DateTime"
|
|
4130
|
+
}
|
|
4131
|
+
},
|
|
4132
|
+
provisioningState: {
|
|
4133
|
+
serializedName: "properties.provisioningState",
|
|
4134
|
+
type: {
|
|
4135
|
+
name: "String"
|
|
4136
|
+
}
|
|
3797
4137
|
}
|
|
3798
4138
|
}
|
|
3799
4139
|
}
|
|
@@ -4121,28 +4461,65 @@ const SubscriptionQuotaItem = {
|
|
|
4121
4461
|
} })
|
|
4122
4462
|
}
|
|
4123
4463
|
};
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4464
|
+
const SubvolumeInfo = {
|
|
4465
|
+
type: {
|
|
4466
|
+
name: "Composite",
|
|
4467
|
+
className: "SubvolumeInfo",
|
|
4468
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { systemData: {
|
|
4469
|
+
serializedName: "systemData",
|
|
4470
|
+
type: {
|
|
4471
|
+
name: "Composite",
|
|
4472
|
+
className: "SystemData"
|
|
4473
|
+
}
|
|
4474
|
+
}, path: {
|
|
4475
|
+
serializedName: "properties.path",
|
|
4476
|
+
type: {
|
|
4477
|
+
name: "String"
|
|
4478
|
+
}
|
|
4479
|
+
}, size: {
|
|
4480
|
+
serializedName: "properties.size",
|
|
4481
|
+
nullable: true,
|
|
4482
|
+
type: {
|
|
4483
|
+
name: "Number"
|
|
4484
|
+
}
|
|
4485
|
+
}, parentPath: {
|
|
4486
|
+
serializedName: "properties.parentPath",
|
|
4487
|
+
nullable: true,
|
|
4488
|
+
type: {
|
|
4489
|
+
name: "String"
|
|
4490
|
+
}
|
|
4491
|
+
}, provisioningState: {
|
|
4492
|
+
serializedName: "properties.provisioningState",
|
|
4493
|
+
readOnly: true,
|
|
4494
|
+
type: {
|
|
4495
|
+
name: "String"
|
|
4496
|
+
}
|
|
4497
|
+
} })
|
|
4498
|
+
}
|
|
4499
|
+
};
|
|
4500
|
+
|
|
4501
|
+
var Mappers = /*#__PURE__*/Object.freeze({
|
|
4502
|
+
__proto__: null,
|
|
4503
|
+
OperationListResult: OperationListResult,
|
|
4504
|
+
Operation: Operation,
|
|
4505
|
+
OperationDisplay: OperationDisplay,
|
|
4506
|
+
ServiceSpecification: ServiceSpecification,
|
|
4507
|
+
MetricSpecification: MetricSpecification,
|
|
4508
|
+
Dimension: Dimension,
|
|
4509
|
+
LogSpecification: LogSpecification,
|
|
4510
|
+
ResourceNameAvailabilityRequest: ResourceNameAvailabilityRequest,
|
|
4511
|
+
CheckAvailabilityResponse: CheckAvailabilityResponse,
|
|
4512
|
+
FilePathAvailabilityRequest: FilePathAvailabilityRequest,
|
|
4513
|
+
QuotaAvailabilityRequest: QuotaAvailabilityRequest,
|
|
4514
|
+
SubscriptionQuotaItemList: SubscriptionQuotaItemList,
|
|
4515
|
+
SystemData: SystemData,
|
|
4516
|
+
Resource: Resource,
|
|
4517
|
+
NetAppAccountList: NetAppAccountList,
|
|
4518
|
+
NetAppAccount: NetAppAccount,
|
|
4519
|
+
ActiveDirectory: ActiveDirectory,
|
|
4520
|
+
LdapSearchScopeOpt: LdapSearchScopeOpt,
|
|
4521
|
+
AccountEncryption: AccountEncryption,
|
|
4522
|
+
NetAppAccountPatch: NetAppAccountPatch,
|
|
4146
4523
|
CloudError: CloudError,
|
|
4147
4524
|
CloudErrorBody: CloudErrorBody,
|
|
4148
4525
|
CapacityPoolList: CapacityPoolList,
|
|
@@ -4168,6 +4545,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4168
4545
|
PoolChangeRequest: PoolChangeRequest,
|
|
4169
4546
|
SnapshotsList: SnapshotsList,
|
|
4170
4547
|
Snapshot: Snapshot,
|
|
4548
|
+
SnapshotRestoreFiles: SnapshotRestoreFiles,
|
|
4171
4549
|
SnapshotPoliciesList: SnapshotPoliciesList,
|
|
4172
4550
|
SnapshotPolicy: SnapshotPolicy,
|
|
4173
4551
|
HourlySchedule: HourlySchedule,
|
|
@@ -4192,12 +4570,16 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4192
4570
|
VolumeGroupMetaData: VolumeGroupMetaData,
|
|
4193
4571
|
VolumeGroupDetails: VolumeGroupDetails,
|
|
4194
4572
|
VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
|
|
4573
|
+
SubvolumesList: SubvolumesList,
|
|
4574
|
+
SubvolumePatchRequest: SubvolumePatchRequest,
|
|
4575
|
+
SubvolumeModel: SubvolumeModel,
|
|
4195
4576
|
ResourceIdentity: ResourceIdentity,
|
|
4196
4577
|
MountTarget: MountTarget,
|
|
4197
4578
|
SnapshotPolicyDetails: SnapshotPolicyDetails,
|
|
4198
4579
|
BackupPolicyDetails: BackupPolicyDetails,
|
|
4199
4580
|
ProxyResource: ProxyResource,
|
|
4200
|
-
SubscriptionQuotaItem: SubscriptionQuotaItem
|
|
4581
|
+
SubscriptionQuotaItem: SubscriptionQuotaItem,
|
|
4582
|
+
SubvolumeInfo: SubvolumeInfo
|
|
4201
4583
|
});
|
|
4202
4584
|
|
|
4203
4585
|
/*
|
|
@@ -4232,7 +4614,7 @@ const $host = {
|
|
|
4232
4614
|
const apiVersion = {
|
|
4233
4615
|
parameterPath: "apiVersion",
|
|
4234
4616
|
mapper: {
|
|
4235
|
-
defaultValue: "2021-
|
|
4617
|
+
defaultValue: "2021-10-01",
|
|
4236
4618
|
isConstant: true,
|
|
4237
4619
|
serializedName: "api-version",
|
|
4238
4620
|
type: {
|
|
@@ -4371,6 +4753,15 @@ const body8 = {
|
|
|
4371
4753
|
parameterPath: "body",
|
|
4372
4754
|
mapper: VolumePatch
|
|
4373
4755
|
};
|
|
4756
|
+
const forceDelete = {
|
|
4757
|
+
parameterPath: ["options", "forceDelete"],
|
|
4758
|
+
mapper: {
|
|
4759
|
+
serializedName: "forceDelete",
|
|
4760
|
+
type: {
|
|
4761
|
+
name: "Boolean"
|
|
4762
|
+
}
|
|
4763
|
+
}
|
|
4764
|
+
};
|
|
4374
4765
|
const body9 = {
|
|
4375
4766
|
parameterPath: "body",
|
|
4376
4767
|
mapper: VolumeRevert
|
|
@@ -4412,6 +4803,10 @@ const body14 = {
|
|
|
4412
4803
|
}
|
|
4413
4804
|
}
|
|
4414
4805
|
};
|
|
4806
|
+
const body15 = {
|
|
4807
|
+
parameterPath: "body",
|
|
4808
|
+
mapper: SnapshotRestoreFiles
|
|
4809
|
+
};
|
|
4415
4810
|
const snapshotPolicyName = {
|
|
4416
4811
|
parameterPath: "snapshotPolicyName",
|
|
4417
4812
|
mapper: {
|
|
@@ -4422,11 +4817,11 @@ const snapshotPolicyName = {
|
|
|
4422
4817
|
}
|
|
4423
4818
|
}
|
|
4424
4819
|
};
|
|
4425
|
-
const
|
|
4820
|
+
const body16 = {
|
|
4426
4821
|
parameterPath: "body",
|
|
4427
4822
|
mapper: SnapshotPolicy
|
|
4428
4823
|
};
|
|
4429
|
-
const
|
|
4824
|
+
const body17 = {
|
|
4430
4825
|
parameterPath: "body",
|
|
4431
4826
|
mapper: SnapshotPolicyPatch
|
|
4432
4827
|
};
|
|
@@ -4440,11 +4835,11 @@ const backupName = {
|
|
|
4440
4835
|
}
|
|
4441
4836
|
}
|
|
4442
4837
|
};
|
|
4443
|
-
const
|
|
4838
|
+
const body18 = {
|
|
4444
4839
|
parameterPath: "body",
|
|
4445
4840
|
mapper: Backup
|
|
4446
4841
|
};
|
|
4447
|
-
const
|
|
4842
|
+
const body19 = {
|
|
4448
4843
|
parameterPath: ["options", "body"],
|
|
4449
4844
|
mapper: BackupPatch
|
|
4450
4845
|
};
|
|
@@ -4458,11 +4853,11 @@ const backupPolicyName = {
|
|
|
4458
4853
|
}
|
|
4459
4854
|
}
|
|
4460
4855
|
};
|
|
4461
|
-
const
|
|
4856
|
+
const body20 = {
|
|
4462
4857
|
parameterPath: "body",
|
|
4463
4858
|
mapper: BackupPolicy
|
|
4464
4859
|
};
|
|
4465
|
-
const
|
|
4860
|
+
const body21 = {
|
|
4466
4861
|
parameterPath: "body",
|
|
4467
4862
|
mapper: BackupPolicyPatch
|
|
4468
4863
|
};
|
|
@@ -4481,10 +4876,33 @@ const volumeGroupName = {
|
|
|
4481
4876
|
}
|
|
4482
4877
|
}
|
|
4483
4878
|
};
|
|
4484
|
-
const
|
|
4879
|
+
const body22 = {
|
|
4485
4880
|
parameterPath: "body",
|
|
4486
4881
|
mapper: VolumeGroupDetails
|
|
4487
4882
|
};
|
|
4883
|
+
const subvolumeName = {
|
|
4884
|
+
parameterPath: "subvolumeName",
|
|
4885
|
+
mapper: {
|
|
4886
|
+
constraints: {
|
|
4887
|
+
Pattern: new RegExp("^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$"),
|
|
4888
|
+
MaxLength: 64,
|
|
4889
|
+
MinLength: 1
|
|
4890
|
+
},
|
|
4891
|
+
serializedName: "subvolumeName",
|
|
4892
|
+
required: true,
|
|
4893
|
+
type: {
|
|
4894
|
+
name: "String"
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4897
|
+
};
|
|
4898
|
+
const body23 = {
|
|
4899
|
+
parameterPath: "body",
|
|
4900
|
+
mapper: SubvolumeInfo
|
|
4901
|
+
};
|
|
4902
|
+
const body24 = {
|
|
4903
|
+
parameterPath: "body",
|
|
4904
|
+
mapper: SubvolumePatchRequest
|
|
4905
|
+
};
|
|
4488
4906
|
|
|
4489
4907
|
/*
|
|
4490
4908
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4550,12 +4968,12 @@ class OperationsImpl {
|
|
|
4550
4968
|
* @param options The options parameters.
|
|
4551
4969
|
*/
|
|
4552
4970
|
_list(options) {
|
|
4553
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
4971
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$a);
|
|
4554
4972
|
}
|
|
4555
4973
|
}
|
|
4556
4974
|
// Operation Specifications
|
|
4557
|
-
const serializer =
|
|
4558
|
-
const listOperationSpec = {
|
|
4975
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4976
|
+
const listOperationSpec$a = {
|
|
4559
4977
|
path: "/providers/Microsoft.NetApp/operations",
|
|
4560
4978
|
httpMethod: "GET",
|
|
4561
4979
|
responses: {
|
|
@@ -4567,7 +4985,7 @@ const listOperationSpec = {
|
|
|
4567
4985
|
queryParameters: [apiVersion],
|
|
4568
4986
|
urlParameters: [$host],
|
|
4569
4987
|
headerParameters: [accept],
|
|
4570
|
-
serializer
|
|
4988
|
+
serializer: serializer$d
|
|
4571
4989
|
};
|
|
4572
4990
|
|
|
4573
4991
|
/*
|
|
@@ -4621,7 +5039,7 @@ class NetAppResourceImpl {
|
|
|
4621
5039
|
}
|
|
4622
5040
|
}
|
|
4623
5041
|
// Operation Specifications
|
|
4624
|
-
const serializer$
|
|
5042
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4625
5043
|
const checkNameAvailabilityOperationSpec = {
|
|
4626
5044
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability",
|
|
4627
5045
|
httpMethod: "POST",
|
|
@@ -4647,7 +5065,7 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
4647
5065
|
],
|
|
4648
5066
|
headerParameters: [accept, contentType],
|
|
4649
5067
|
mediaType: "json",
|
|
4650
|
-
serializer: serializer$
|
|
5068
|
+
serializer: serializer$c
|
|
4651
5069
|
};
|
|
4652
5070
|
const checkFilePathAvailabilityOperationSpec = {
|
|
4653
5071
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability",
|
|
@@ -4670,7 +5088,7 @@ const checkFilePathAvailabilityOperationSpec = {
|
|
|
4670
5088
|
],
|
|
4671
5089
|
headerParameters: [accept, contentType],
|
|
4672
5090
|
mediaType: "json",
|
|
4673
|
-
serializer: serializer$
|
|
5091
|
+
serializer: serializer$c
|
|
4674
5092
|
};
|
|
4675
5093
|
const checkQuotaAvailabilityOperationSpec = {
|
|
4676
5094
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability",
|
|
@@ -4697,7 +5115,7 @@ const checkQuotaAvailabilityOperationSpec = {
|
|
|
4697
5115
|
],
|
|
4698
5116
|
headerParameters: [accept, contentType],
|
|
4699
5117
|
mediaType: "json",
|
|
4700
|
-
serializer: serializer$
|
|
5118
|
+
serializer: serializer$c
|
|
4701
5119
|
};
|
|
4702
5120
|
|
|
4703
5121
|
/*
|
|
@@ -4766,7 +5184,7 @@ class NetAppResourceQuotaLimitsImpl {
|
|
|
4766
5184
|
* @param options The options parameters.
|
|
4767
5185
|
*/
|
|
4768
5186
|
_list(location, options) {
|
|
4769
|
-
return this.client.sendOperationRequest({ location, options }, listOperationSpec$
|
|
5187
|
+
return this.client.sendOperationRequest({ location, options }, listOperationSpec$9);
|
|
4770
5188
|
}
|
|
4771
5189
|
/**
|
|
4772
5190
|
* Get the default and current subscription quota limit
|
|
@@ -4775,12 +5193,12 @@ class NetAppResourceQuotaLimitsImpl {
|
|
|
4775
5193
|
* @param options The options parameters.
|
|
4776
5194
|
*/
|
|
4777
5195
|
get(location, quotaLimitName, options) {
|
|
4778
|
-
return this.client.sendOperationRequest({ location, quotaLimitName, options }, getOperationSpec);
|
|
5196
|
+
return this.client.sendOperationRequest({ location, quotaLimitName, options }, getOperationSpec$a);
|
|
4779
5197
|
}
|
|
4780
5198
|
}
|
|
4781
5199
|
// Operation Specifications
|
|
4782
|
-
const serializer$
|
|
4783
|
-
const listOperationSpec$
|
|
5200
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5201
|
+
const listOperationSpec$9 = {
|
|
4784
5202
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits",
|
|
4785
5203
|
httpMethod: "GET",
|
|
4786
5204
|
responses: {
|
|
@@ -4796,9 +5214,9 @@ const listOperationSpec$1 = {
|
|
|
4796
5214
|
location
|
|
4797
5215
|
],
|
|
4798
5216
|
headerParameters: [accept],
|
|
4799
|
-
serializer: serializer$
|
|
5217
|
+
serializer: serializer$b
|
|
4800
5218
|
};
|
|
4801
|
-
const getOperationSpec = {
|
|
5219
|
+
const getOperationSpec$a = {
|
|
4802
5220
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}",
|
|
4803
5221
|
httpMethod: "GET",
|
|
4804
5222
|
responses: {
|
|
@@ -4815,7 +5233,7 @@ const getOperationSpec = {
|
|
|
4815
5233
|
quotaLimitName
|
|
4816
5234
|
],
|
|
4817
5235
|
headerParameters: [accept],
|
|
4818
|
-
serializer: serializer$
|
|
5236
|
+
serializer: serializer$b
|
|
4819
5237
|
};
|
|
4820
5238
|
|
|
4821
5239
|
/*
|
|
@@ -4973,7 +5391,7 @@ class AccountsImpl {
|
|
|
4973
5391
|
* @param options The options parameters.
|
|
4974
5392
|
*/
|
|
4975
5393
|
_list(resourceGroupName, options) {
|
|
4976
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec$
|
|
5394
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec$8);
|
|
4977
5395
|
}
|
|
4978
5396
|
/**
|
|
4979
5397
|
* Get the NetApp account
|
|
@@ -4982,7 +5400,7 @@ class AccountsImpl {
|
|
|
4982
5400
|
* @param options The options parameters.
|
|
4983
5401
|
*/
|
|
4984
5402
|
get(resourceGroupName, accountName, options) {
|
|
4985
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$
|
|
5403
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$9);
|
|
4986
5404
|
}
|
|
4987
5405
|
/**
|
|
4988
5406
|
* Create or update the specified NetApp account within the resource group
|
|
@@ -5015,7 +5433,7 @@ class AccountsImpl {
|
|
|
5015
5433
|
}
|
|
5016
5434
|
};
|
|
5017
5435
|
});
|
|
5018
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, body, options }, createOrUpdateOperationSpec);
|
|
5436
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, body, options }, createOrUpdateOperationSpec$2);
|
|
5019
5437
|
return new coreLro.LroEngine(lro, {
|
|
5020
5438
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5021
5439
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5066,7 +5484,7 @@ class AccountsImpl {
|
|
|
5066
5484
|
}
|
|
5067
5485
|
};
|
|
5068
5486
|
});
|
|
5069
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec);
|
|
5487
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$9);
|
|
5070
5488
|
return new coreLro.LroEngine(lro, {
|
|
5071
5489
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5072
5490
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5117,7 +5535,7 @@ class AccountsImpl {
|
|
|
5117
5535
|
}
|
|
5118
5536
|
};
|
|
5119
5537
|
});
|
|
5120
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, body, options }, updateOperationSpec);
|
|
5538
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, body, options }, updateOperationSpec$7);
|
|
5121
5539
|
return new coreLro.LroEngine(lro, {
|
|
5122
5540
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5123
5541
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5153,11 +5571,11 @@ class AccountsImpl {
|
|
|
5153
5571
|
* @param options The options parameters.
|
|
5154
5572
|
*/
|
|
5155
5573
|
_listNext(resourceGroupName, nextLink, options) {
|
|
5156
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec);
|
|
5574
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec$2);
|
|
5157
5575
|
}
|
|
5158
5576
|
}
|
|
5159
5577
|
// Operation Specifications
|
|
5160
|
-
const serializer$
|
|
5578
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5161
5579
|
const listBySubscriptionOperationSpec = {
|
|
5162
5580
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts",
|
|
5163
5581
|
httpMethod: "GET",
|
|
@@ -5170,9 +5588,9 @@ const listBySubscriptionOperationSpec = {
|
|
|
5170
5588
|
queryParameters: [apiVersion],
|
|
5171
5589
|
urlParameters: [$host, subscriptionId],
|
|
5172
5590
|
headerParameters: [accept],
|
|
5173
|
-
serializer: serializer$
|
|
5591
|
+
serializer: serializer$a
|
|
5174
5592
|
};
|
|
5175
|
-
const listOperationSpec$
|
|
5593
|
+
const listOperationSpec$8 = {
|
|
5176
5594
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts",
|
|
5177
5595
|
httpMethod: "GET",
|
|
5178
5596
|
responses: {
|
|
@@ -5188,9 +5606,9 @@ const listOperationSpec$2 = {
|
|
|
5188
5606
|
resourceGroupName
|
|
5189
5607
|
],
|
|
5190
5608
|
headerParameters: [accept],
|
|
5191
|
-
serializer: serializer$
|
|
5609
|
+
serializer: serializer$a
|
|
5192
5610
|
};
|
|
5193
|
-
const getOperationSpec$
|
|
5611
|
+
const getOperationSpec$9 = {
|
|
5194
5612
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}",
|
|
5195
5613
|
httpMethod: "GET",
|
|
5196
5614
|
responses: {
|
|
@@ -5207,9 +5625,9 @@ const getOperationSpec$1 = {
|
|
|
5207
5625
|
accountName
|
|
5208
5626
|
],
|
|
5209
5627
|
headerParameters: [accept],
|
|
5210
|
-
serializer: serializer$
|
|
5628
|
+
serializer: serializer$a
|
|
5211
5629
|
};
|
|
5212
|
-
const createOrUpdateOperationSpec = {
|
|
5630
|
+
const createOrUpdateOperationSpec$2 = {
|
|
5213
5631
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}",
|
|
5214
5632
|
httpMethod: "PUT",
|
|
5215
5633
|
responses: {
|
|
@@ -5237,9 +5655,9 @@ const createOrUpdateOperationSpec = {
|
|
|
5237
5655
|
],
|
|
5238
5656
|
headerParameters: [accept, contentType],
|
|
5239
5657
|
mediaType: "json",
|
|
5240
|
-
serializer: serializer$
|
|
5658
|
+
serializer: serializer$a
|
|
5241
5659
|
};
|
|
5242
|
-
const deleteOperationSpec = {
|
|
5660
|
+
const deleteOperationSpec$9 = {
|
|
5243
5661
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}",
|
|
5244
5662
|
httpMethod: "DELETE",
|
|
5245
5663
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -5250,9 +5668,9 @@ const deleteOperationSpec = {
|
|
|
5250
5668
|
resourceGroupName,
|
|
5251
5669
|
accountName
|
|
5252
5670
|
],
|
|
5253
|
-
serializer: serializer$
|
|
5671
|
+
serializer: serializer$a
|
|
5254
5672
|
};
|
|
5255
|
-
const updateOperationSpec = {
|
|
5673
|
+
const updateOperationSpec$7 = {
|
|
5256
5674
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}",
|
|
5257
5675
|
httpMethod: "PATCH",
|
|
5258
5676
|
responses: {
|
|
@@ -5282,7 +5700,7 @@ const updateOperationSpec = {
|
|
|
5282
5700
|
],
|
|
5283
5701
|
headerParameters: [accept, contentType],
|
|
5284
5702
|
mediaType: "json",
|
|
5285
|
-
serializer: serializer$
|
|
5703
|
+
serializer: serializer$a
|
|
5286
5704
|
};
|
|
5287
5705
|
const listBySubscriptionNextOperationSpec = {
|
|
5288
5706
|
path: "{nextLink}",
|
|
@@ -5300,9 +5718,9 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
5300
5718
|
nextLink
|
|
5301
5719
|
],
|
|
5302
5720
|
headerParameters: [accept],
|
|
5303
|
-
serializer: serializer$
|
|
5721
|
+
serializer: serializer$a
|
|
5304
5722
|
};
|
|
5305
|
-
const listNextOperationSpec = {
|
|
5723
|
+
const listNextOperationSpec$2 = {
|
|
5306
5724
|
path: "{nextLink}",
|
|
5307
5725
|
httpMethod: "GET",
|
|
5308
5726
|
responses: {
|
|
@@ -5319,7 +5737,7 @@ const listNextOperationSpec = {
|
|
|
5319
5737
|
nextLink
|
|
5320
5738
|
],
|
|
5321
5739
|
headerParameters: [accept],
|
|
5322
|
-
serializer: serializer$
|
|
5740
|
+
serializer: serializer$a
|
|
5323
5741
|
};
|
|
5324
5742
|
|
|
5325
5743
|
/*
|
|
@@ -5396,7 +5814,7 @@ class PoolsImpl {
|
|
|
5396
5814
|
* @param options The options parameters.
|
|
5397
5815
|
*/
|
|
5398
5816
|
_list(resourceGroupName, accountName, options) {
|
|
5399
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
5817
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$7);
|
|
5400
5818
|
}
|
|
5401
5819
|
/**
|
|
5402
5820
|
* Get details of the specified capacity pool
|
|
@@ -5406,7 +5824,7 @@ class PoolsImpl {
|
|
|
5406
5824
|
* @param options The options parameters.
|
|
5407
5825
|
*/
|
|
5408
5826
|
get(resourceGroupName, accountName, poolName, options) {
|
|
5409
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, getOperationSpec$
|
|
5827
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, getOperationSpec$8);
|
|
5410
5828
|
}
|
|
5411
5829
|
/**
|
|
5412
5830
|
* Create or Update a capacity pool
|
|
@@ -5494,7 +5912,7 @@ class PoolsImpl {
|
|
|
5494
5912
|
}
|
|
5495
5913
|
};
|
|
5496
5914
|
});
|
|
5497
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, body, options }, updateOperationSpec$
|
|
5915
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, body, options }, updateOperationSpec$6);
|
|
5498
5916
|
return new coreLro.LroEngine(lro, {
|
|
5499
5917
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5500
5918
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5547,7 +5965,7 @@ class PoolsImpl {
|
|
|
5547
5965
|
}
|
|
5548
5966
|
};
|
|
5549
5967
|
});
|
|
5550
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec$
|
|
5968
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec$8);
|
|
5551
5969
|
return new coreLro.LroEngine(lro, {
|
|
5552
5970
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5553
5971
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5580,8 +5998,8 @@ class PoolsImpl {
|
|
|
5580
5998
|
}
|
|
5581
5999
|
}
|
|
5582
6000
|
// Operation Specifications
|
|
5583
|
-
const serializer$
|
|
5584
|
-
const listOperationSpec$
|
|
6001
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6002
|
+
const listOperationSpec$7 = {
|
|
5585
6003
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools",
|
|
5586
6004
|
httpMethod: "GET",
|
|
5587
6005
|
responses: {
|
|
@@ -5598,9 +6016,9 @@ const listOperationSpec$3 = {
|
|
|
5598
6016
|
accountName
|
|
5599
6017
|
],
|
|
5600
6018
|
headerParameters: [accept],
|
|
5601
|
-
serializer: serializer$
|
|
6019
|
+
serializer: serializer$9
|
|
5602
6020
|
};
|
|
5603
|
-
const getOperationSpec$
|
|
6021
|
+
const getOperationSpec$8 = {
|
|
5604
6022
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
5605
6023
|
httpMethod: "GET",
|
|
5606
6024
|
responses: {
|
|
@@ -5618,7 +6036,7 @@ const getOperationSpec$2 = {
|
|
|
5618
6036
|
poolName
|
|
5619
6037
|
],
|
|
5620
6038
|
headerParameters: [accept],
|
|
5621
|
-
serializer: serializer$
|
|
6039
|
+
serializer: serializer$9
|
|
5622
6040
|
};
|
|
5623
6041
|
const createOrUpdateOperationSpec$1 = {
|
|
5624
6042
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
@@ -5649,9 +6067,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
5649
6067
|
],
|
|
5650
6068
|
headerParameters: [accept, contentType],
|
|
5651
6069
|
mediaType: "json",
|
|
5652
|
-
serializer: serializer$
|
|
6070
|
+
serializer: serializer$9
|
|
5653
6071
|
};
|
|
5654
|
-
const updateOperationSpec$
|
|
6072
|
+
const updateOperationSpec$6 = {
|
|
5655
6073
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
5656
6074
|
httpMethod: "PATCH",
|
|
5657
6075
|
responses: {
|
|
@@ -5680,9 +6098,9 @@ const updateOperationSpec$1 = {
|
|
|
5680
6098
|
],
|
|
5681
6099
|
headerParameters: [accept, contentType],
|
|
5682
6100
|
mediaType: "json",
|
|
5683
|
-
serializer: serializer$
|
|
6101
|
+
serializer: serializer$9
|
|
5684
6102
|
};
|
|
5685
|
-
const deleteOperationSpec$
|
|
6103
|
+
const deleteOperationSpec$8 = {
|
|
5686
6104
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}",
|
|
5687
6105
|
httpMethod: "DELETE",
|
|
5688
6106
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -5694,7 +6112,7 @@ const deleteOperationSpec$1 = {
|
|
|
5694
6112
|
accountName,
|
|
5695
6113
|
poolName
|
|
5696
6114
|
],
|
|
5697
|
-
serializer: serializer$
|
|
6115
|
+
serializer: serializer$9
|
|
5698
6116
|
};
|
|
5699
6117
|
const listNextOperationSpec$1 = {
|
|
5700
6118
|
path: "{nextLink}",
|
|
@@ -5714,7 +6132,7 @@ const listNextOperationSpec$1 = {
|
|
|
5714
6132
|
nextLink
|
|
5715
6133
|
],
|
|
5716
6134
|
headerParameters: [accept],
|
|
5717
|
-
serializer: serializer$
|
|
6135
|
+
serializer: serializer$9
|
|
5718
6136
|
};
|
|
5719
6137
|
|
|
5720
6138
|
/*
|
|
@@ -5793,7 +6211,7 @@ class VolumesImpl {
|
|
|
5793
6211
|
* @param options The options parameters.
|
|
5794
6212
|
*/
|
|
5795
6213
|
_list(resourceGroupName, accountName, poolName, options) {
|
|
5796
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, listOperationSpec$
|
|
6214
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, options }, listOperationSpec$6);
|
|
5797
6215
|
}
|
|
5798
6216
|
/**
|
|
5799
6217
|
* Get the details of the specified volume
|
|
@@ -5804,7 +6222,7 @@ class VolumesImpl {
|
|
|
5804
6222
|
* @param options The options parameters.
|
|
5805
6223
|
*/
|
|
5806
6224
|
get(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
5807
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, volumeName, options }, getOperationSpec$
|
|
6225
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, volumeName, options }, getOperationSpec$7);
|
|
5808
6226
|
}
|
|
5809
6227
|
/**
|
|
5810
6228
|
* Create or update the specified volume within the capacity pool
|
|
@@ -5839,7 +6257,7 @@ class VolumesImpl {
|
|
|
5839
6257
|
}
|
|
5840
6258
|
};
|
|
5841
6259
|
});
|
|
5842
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, body, options }, createOrUpdateOperationSpec
|
|
6260
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, body, options }, createOrUpdateOperationSpec);
|
|
5843
6261
|
return new coreLro.LroEngine(lro, {
|
|
5844
6262
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5845
6263
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5895,7 +6313,7 @@ class VolumesImpl {
|
|
|
5895
6313
|
}
|
|
5896
6314
|
};
|
|
5897
6315
|
});
|
|
5898
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, body, options }, updateOperationSpec$
|
|
6316
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, body, options }, updateOperationSpec$5);
|
|
5899
6317
|
return new coreLro.LroEngine(lro, {
|
|
5900
6318
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5901
6319
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -5950,7 +6368,7 @@ class VolumesImpl {
|
|
|
5950
6368
|
}
|
|
5951
6369
|
};
|
|
5952
6370
|
});
|
|
5953
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, options }, deleteOperationSpec$
|
|
6371
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, volumeName, options }, deleteOperationSpec$7);
|
|
5954
6372
|
return new coreLro.LroEngine(lro, {
|
|
5955
6373
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5956
6374
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6380,12 +6798,12 @@ class VolumesImpl {
|
|
|
6380
6798
|
* @param options The options parameters.
|
|
6381
6799
|
*/
|
|
6382
6800
|
_listNext(resourceGroupName, accountName, poolName, nextLink, options) {
|
|
6383
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, nextLink, options }, listNextOperationSpec
|
|
6801
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, nextLink, options }, listNextOperationSpec);
|
|
6384
6802
|
}
|
|
6385
6803
|
}
|
|
6386
6804
|
// Operation Specifications
|
|
6387
|
-
const serializer$
|
|
6388
|
-
const listOperationSpec$
|
|
6805
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6806
|
+
const listOperationSpec$6 = {
|
|
6389
6807
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes",
|
|
6390
6808
|
httpMethod: "GET",
|
|
6391
6809
|
responses: {
|
|
@@ -6403,9 +6821,9 @@ const listOperationSpec$4 = {
|
|
|
6403
6821
|
poolName
|
|
6404
6822
|
],
|
|
6405
6823
|
headerParameters: [accept],
|
|
6406
|
-
serializer: serializer$
|
|
6824
|
+
serializer: serializer$8
|
|
6407
6825
|
};
|
|
6408
|
-
const getOperationSpec$
|
|
6826
|
+
const getOperationSpec$7 = {
|
|
6409
6827
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}",
|
|
6410
6828
|
httpMethod: "GET",
|
|
6411
6829
|
responses: {
|
|
@@ -6424,9 +6842,9 @@ const getOperationSpec$3 = {
|
|
|
6424
6842
|
volumeName
|
|
6425
6843
|
],
|
|
6426
6844
|
headerParameters: [accept],
|
|
6427
|
-
serializer: serializer$
|
|
6845
|
+
serializer: serializer$8
|
|
6428
6846
|
};
|
|
6429
|
-
const createOrUpdateOperationSpec
|
|
6847
|
+
const createOrUpdateOperationSpec = {
|
|
6430
6848
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}",
|
|
6431
6849
|
httpMethod: "PUT",
|
|
6432
6850
|
responses: {
|
|
@@ -6456,9 +6874,9 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
6456
6874
|
],
|
|
6457
6875
|
headerParameters: [accept, contentType],
|
|
6458
6876
|
mediaType: "json",
|
|
6459
|
-
serializer: serializer$
|
|
6877
|
+
serializer: serializer$8
|
|
6460
6878
|
};
|
|
6461
|
-
const updateOperationSpec$
|
|
6879
|
+
const updateOperationSpec$5 = {
|
|
6462
6880
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}",
|
|
6463
6881
|
httpMethod: "PATCH",
|
|
6464
6882
|
responses: {
|
|
@@ -6490,13 +6908,13 @@ const updateOperationSpec$2 = {
|
|
|
6490
6908
|
],
|
|
6491
6909
|
headerParameters: [accept, contentType],
|
|
6492
6910
|
mediaType: "json",
|
|
6493
|
-
serializer: serializer$
|
|
6911
|
+
serializer: serializer$8
|
|
6494
6912
|
};
|
|
6495
|
-
const deleteOperationSpec$
|
|
6913
|
+
const deleteOperationSpec$7 = {
|
|
6496
6914
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}",
|
|
6497
6915
|
httpMethod: "DELETE",
|
|
6498
6916
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
6499
|
-
queryParameters: [apiVersion],
|
|
6917
|
+
queryParameters: [apiVersion, forceDelete],
|
|
6500
6918
|
urlParameters: [
|
|
6501
6919
|
$host,
|
|
6502
6920
|
subscriptionId,
|
|
@@ -6505,7 +6923,7 @@ const deleteOperationSpec$2 = {
|
|
|
6505
6923
|
poolName,
|
|
6506
6924
|
volumeName
|
|
6507
6925
|
],
|
|
6508
|
-
serializer: serializer$
|
|
6926
|
+
serializer: serializer$8
|
|
6509
6927
|
};
|
|
6510
6928
|
const revertOperationSpec = {
|
|
6511
6929
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert",
|
|
@@ -6523,7 +6941,7 @@ const revertOperationSpec = {
|
|
|
6523
6941
|
],
|
|
6524
6942
|
headerParameters: [contentType],
|
|
6525
6943
|
mediaType: "json",
|
|
6526
|
-
serializer: serializer$
|
|
6944
|
+
serializer: serializer$8
|
|
6527
6945
|
};
|
|
6528
6946
|
const breakReplicationOperationSpec = {
|
|
6529
6947
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication",
|
|
@@ -6541,7 +6959,7 @@ const breakReplicationOperationSpec = {
|
|
|
6541
6959
|
],
|
|
6542
6960
|
headerParameters: [contentType],
|
|
6543
6961
|
mediaType: "json",
|
|
6544
|
-
serializer: serializer$
|
|
6962
|
+
serializer: serializer$8
|
|
6545
6963
|
};
|
|
6546
6964
|
const replicationStatusOperationSpec = {
|
|
6547
6965
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus",
|
|
@@ -6562,7 +6980,7 @@ const replicationStatusOperationSpec = {
|
|
|
6562
6980
|
volumeName
|
|
6563
6981
|
],
|
|
6564
6982
|
headerParameters: [accept],
|
|
6565
|
-
serializer: serializer$
|
|
6983
|
+
serializer: serializer$8
|
|
6566
6984
|
};
|
|
6567
6985
|
const resyncReplicationOperationSpec = {
|
|
6568
6986
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication",
|
|
@@ -6577,7 +6995,7 @@ const resyncReplicationOperationSpec = {
|
|
|
6577
6995
|
poolName,
|
|
6578
6996
|
volumeName
|
|
6579
6997
|
],
|
|
6580
|
-
serializer: serializer$
|
|
6998
|
+
serializer: serializer$8
|
|
6581
6999
|
};
|
|
6582
7000
|
const deleteReplicationOperationSpec = {
|
|
6583
7001
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication",
|
|
@@ -6592,7 +7010,7 @@ const deleteReplicationOperationSpec = {
|
|
|
6592
7010
|
poolName,
|
|
6593
7011
|
volumeName
|
|
6594
7012
|
],
|
|
6595
|
-
serializer: serializer$
|
|
7013
|
+
serializer: serializer$8
|
|
6596
7014
|
};
|
|
6597
7015
|
const authorizeReplicationOperationSpec = {
|
|
6598
7016
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication",
|
|
@@ -6610,7 +7028,7 @@ const authorizeReplicationOperationSpec = {
|
|
|
6610
7028
|
],
|
|
6611
7029
|
headerParameters: [contentType],
|
|
6612
7030
|
mediaType: "json",
|
|
6613
|
-
serializer: serializer$
|
|
7031
|
+
serializer: serializer$8
|
|
6614
7032
|
};
|
|
6615
7033
|
const reInitializeReplicationOperationSpec = {
|
|
6616
7034
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication",
|
|
@@ -6625,7 +7043,7 @@ const reInitializeReplicationOperationSpec = {
|
|
|
6625
7043
|
poolName,
|
|
6626
7044
|
volumeName
|
|
6627
7045
|
],
|
|
6628
|
-
serializer: serializer$
|
|
7046
|
+
serializer: serializer$8
|
|
6629
7047
|
};
|
|
6630
7048
|
const poolChangeOperationSpec = {
|
|
6631
7049
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange",
|
|
@@ -6643,9 +7061,9 @@ const poolChangeOperationSpec = {
|
|
|
6643
7061
|
],
|
|
6644
7062
|
headerParameters: [contentType],
|
|
6645
7063
|
mediaType: "json",
|
|
6646
|
-
serializer: serializer$
|
|
7064
|
+
serializer: serializer$8
|
|
6647
7065
|
};
|
|
6648
|
-
const listNextOperationSpec
|
|
7066
|
+
const listNextOperationSpec = {
|
|
6649
7067
|
path: "{nextLink}",
|
|
6650
7068
|
httpMethod: "GET",
|
|
6651
7069
|
responses: {
|
|
@@ -6664,7 +7082,7 @@ const listNextOperationSpec$2 = {
|
|
|
6664
7082
|
poolName
|
|
6665
7083
|
],
|
|
6666
7084
|
headerParameters: [accept],
|
|
6667
|
-
serializer: serializer$
|
|
7085
|
+
serializer: serializer$8
|
|
6668
7086
|
};
|
|
6669
7087
|
|
|
6670
7088
|
/*
|
|
@@ -6758,7 +7176,7 @@ class SnapshotsImpl {
|
|
|
6758
7176
|
volumeName,
|
|
6759
7177
|
snapshotName,
|
|
6760
7178
|
options
|
|
6761
|
-
}, getOperationSpec$
|
|
7179
|
+
}, getOperationSpec$6);
|
|
6762
7180
|
}
|
|
6763
7181
|
/**
|
|
6764
7182
|
* Create the specified snapshot within the given volume
|
|
@@ -6802,7 +7220,7 @@ class SnapshotsImpl {
|
|
|
6802
7220
|
snapshotName,
|
|
6803
7221
|
body,
|
|
6804
7222
|
options
|
|
6805
|
-
}, createOperationSpec);
|
|
7223
|
+
}, createOperationSpec$5);
|
|
6806
7224
|
return new coreLro.LroEngine(lro, {
|
|
6807
7225
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6808
7226
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6868,7 +7286,7 @@ class SnapshotsImpl {
|
|
|
6868
7286
|
snapshotName,
|
|
6869
7287
|
body,
|
|
6870
7288
|
options
|
|
6871
|
-
}, updateOperationSpec$
|
|
7289
|
+
}, updateOperationSpec$4);
|
|
6872
7290
|
return new coreLro.LroEngine(lro, {
|
|
6873
7291
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6874
7292
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6932,7 +7350,7 @@ class SnapshotsImpl {
|
|
|
6932
7350
|
volumeName,
|
|
6933
7351
|
snapshotName,
|
|
6934
7352
|
options
|
|
6935
|
-
}, deleteOperationSpec$
|
|
7353
|
+
}, deleteOperationSpec$6);
|
|
6936
7354
|
return new coreLro.LroEngine(lro, {
|
|
6937
7355
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6938
7356
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -6955,9 +7373,74 @@ class SnapshotsImpl {
|
|
|
6955
7373
|
return poller.pollUntilDone();
|
|
6956
7374
|
});
|
|
6957
7375
|
}
|
|
7376
|
+
/**
|
|
7377
|
+
* Restore the specified files from the specified snapshot to the active filesystem
|
|
7378
|
+
* @param resourceGroupName The name of the resource group.
|
|
7379
|
+
* @param accountName The name of the NetApp account
|
|
7380
|
+
* @param poolName The name of the capacity pool
|
|
7381
|
+
* @param volumeName The name of the volume
|
|
7382
|
+
* @param snapshotName The name of the snapshot
|
|
7383
|
+
* @param body Restore payload supplied in the body of the operation.
|
|
7384
|
+
* @param options The options parameters.
|
|
7385
|
+
*/
|
|
7386
|
+
beginRestoreFiles(resourceGroupName, accountName, poolName, volumeName, snapshotName, body, options) {
|
|
7387
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7388
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7389
|
+
return this.client.sendOperationRequest(args, spec);
|
|
7390
|
+
});
|
|
7391
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7392
|
+
var _a;
|
|
7393
|
+
let currentRawResponse = undefined;
|
|
7394
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7395
|
+
const callback = (rawResponse, flatResponse) => {
|
|
7396
|
+
currentRawResponse = rawResponse;
|
|
7397
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7398
|
+
};
|
|
7399
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7400
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
7401
|
+
return {
|
|
7402
|
+
flatResponse,
|
|
7403
|
+
rawResponse: {
|
|
7404
|
+
statusCode: currentRawResponse.status,
|
|
7405
|
+
body: currentRawResponse.parsedBody,
|
|
7406
|
+
headers: currentRawResponse.headers.toJSON()
|
|
7407
|
+
}
|
|
7408
|
+
};
|
|
7409
|
+
});
|
|
7410
|
+
const lro = new LroImpl(sendOperation, {
|
|
7411
|
+
resourceGroupName,
|
|
7412
|
+
accountName,
|
|
7413
|
+
poolName,
|
|
7414
|
+
volumeName,
|
|
7415
|
+
snapshotName,
|
|
7416
|
+
body,
|
|
7417
|
+
options
|
|
7418
|
+
}, restoreFilesOperationSpec);
|
|
7419
|
+
return new coreLro.LroEngine(lro, {
|
|
7420
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7421
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
7422
|
+
});
|
|
7423
|
+
});
|
|
7424
|
+
}
|
|
7425
|
+
/**
|
|
7426
|
+
* Restore the specified files from the specified snapshot to the active filesystem
|
|
7427
|
+
* @param resourceGroupName The name of the resource group.
|
|
7428
|
+
* @param accountName The name of the NetApp account
|
|
7429
|
+
* @param poolName The name of the capacity pool
|
|
7430
|
+
* @param volumeName The name of the volume
|
|
7431
|
+
* @param snapshotName The name of the snapshot
|
|
7432
|
+
* @param body Restore payload supplied in the body of the operation.
|
|
7433
|
+
* @param options The options parameters.
|
|
7434
|
+
*/
|
|
7435
|
+
beginRestoreFilesAndWait(resourceGroupName, accountName, poolName, volumeName, snapshotName, body, options) {
|
|
7436
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7437
|
+
const poller = yield this.beginRestoreFiles(resourceGroupName, accountName, poolName, volumeName, snapshotName, body, options);
|
|
7438
|
+
return poller.pollUntilDone();
|
|
7439
|
+
});
|
|
7440
|
+
}
|
|
6958
7441
|
}
|
|
6959
7442
|
// Operation Specifications
|
|
6960
|
-
const serializer$
|
|
7443
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6961
7444
|
const listOperationSpec$5 = {
|
|
6962
7445
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots",
|
|
6963
7446
|
httpMethod: "GET",
|
|
@@ -6977,9 +7460,9 @@ const listOperationSpec$5 = {
|
|
|
6977
7460
|
volumeName
|
|
6978
7461
|
],
|
|
6979
7462
|
headerParameters: [accept],
|
|
6980
|
-
serializer: serializer$
|
|
7463
|
+
serializer: serializer$7
|
|
6981
7464
|
};
|
|
6982
|
-
const getOperationSpec$
|
|
7465
|
+
const getOperationSpec$6 = {
|
|
6983
7466
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}",
|
|
6984
7467
|
httpMethod: "GET",
|
|
6985
7468
|
responses: {
|
|
@@ -6999,9 +7482,9 @@ const getOperationSpec$4 = {
|
|
|
6999
7482
|
snapshotName
|
|
7000
7483
|
],
|
|
7001
7484
|
headerParameters: [accept],
|
|
7002
|
-
serializer: serializer$
|
|
7485
|
+
serializer: serializer$7
|
|
7003
7486
|
};
|
|
7004
|
-
const createOperationSpec = {
|
|
7487
|
+
const createOperationSpec$5 = {
|
|
7005
7488
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}",
|
|
7006
7489
|
httpMethod: "PUT",
|
|
7007
7490
|
responses: {
|
|
@@ -7032,9 +7515,9 @@ const createOperationSpec = {
|
|
|
7032
7515
|
],
|
|
7033
7516
|
headerParameters: [accept, contentType],
|
|
7034
7517
|
mediaType: "json",
|
|
7035
|
-
serializer: serializer$
|
|
7518
|
+
serializer: serializer$7
|
|
7036
7519
|
};
|
|
7037
|
-
const updateOperationSpec$
|
|
7520
|
+
const updateOperationSpec$4 = {
|
|
7038
7521
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}",
|
|
7039
7522
|
httpMethod: "PATCH",
|
|
7040
7523
|
responses: {
|
|
@@ -7065,9 +7548,9 @@ const updateOperationSpec$3 = {
|
|
|
7065
7548
|
],
|
|
7066
7549
|
headerParameters: [accept, contentType],
|
|
7067
7550
|
mediaType: "json",
|
|
7068
|
-
serializer: serializer$
|
|
7551
|
+
serializer: serializer$7
|
|
7069
7552
|
};
|
|
7070
|
-
const deleteOperationSpec$
|
|
7553
|
+
const deleteOperationSpec$6 = {
|
|
7071
7554
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}",
|
|
7072
7555
|
httpMethod: "DELETE",
|
|
7073
7556
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -7081,7 +7564,26 @@ const deleteOperationSpec$3 = {
|
|
|
7081
7564
|
volumeName,
|
|
7082
7565
|
snapshotName
|
|
7083
7566
|
],
|
|
7084
|
-
serializer: serializer$
|
|
7567
|
+
serializer: serializer$7
|
|
7568
|
+
};
|
|
7569
|
+
const restoreFilesOperationSpec = {
|
|
7570
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles",
|
|
7571
|
+
httpMethod: "POST",
|
|
7572
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
7573
|
+
requestBody: body15,
|
|
7574
|
+
queryParameters: [apiVersion],
|
|
7575
|
+
urlParameters: [
|
|
7576
|
+
$host,
|
|
7577
|
+
subscriptionId,
|
|
7578
|
+
resourceGroupName,
|
|
7579
|
+
accountName,
|
|
7580
|
+
poolName,
|
|
7581
|
+
volumeName,
|
|
7582
|
+
snapshotName
|
|
7583
|
+
],
|
|
7584
|
+
headerParameters: [contentType],
|
|
7585
|
+
mediaType: "json",
|
|
7586
|
+
serializer: serializer$7
|
|
7085
7587
|
};
|
|
7086
7588
|
|
|
7087
7589
|
/*
|
|
@@ -7152,7 +7654,7 @@ class SnapshotPoliciesImpl {
|
|
|
7152
7654
|
* @param options The options parameters.
|
|
7153
7655
|
*/
|
|
7154
7656
|
_list(resourceGroupName, accountName, options) {
|
|
7155
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
7657
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$4);
|
|
7156
7658
|
}
|
|
7157
7659
|
/**
|
|
7158
7660
|
* Get a snapshot Policy
|
|
@@ -7173,7 +7675,7 @@ class SnapshotPoliciesImpl {
|
|
|
7173
7675
|
* @param options The options parameters.
|
|
7174
7676
|
*/
|
|
7175
7677
|
create(resourceGroupName, accountName, snapshotPolicyName, body, options) {
|
|
7176
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, snapshotPolicyName, body, options }, createOperationSpec$
|
|
7678
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, snapshotPolicyName, body, options }, createOperationSpec$4);
|
|
7177
7679
|
}
|
|
7178
7680
|
/**
|
|
7179
7681
|
* Patch a snapshot policy
|
|
@@ -7207,7 +7709,7 @@ class SnapshotPoliciesImpl {
|
|
|
7207
7709
|
}
|
|
7208
7710
|
};
|
|
7209
7711
|
});
|
|
7210
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, snapshotPolicyName, body, options }, updateOperationSpec$
|
|
7712
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, snapshotPolicyName, body, options }, updateOperationSpec$3);
|
|
7211
7713
|
return new coreLro.LroEngine(lro, {
|
|
7212
7714
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7213
7715
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -7260,7 +7762,7 @@ class SnapshotPoliciesImpl {
|
|
|
7260
7762
|
}
|
|
7261
7763
|
};
|
|
7262
7764
|
});
|
|
7263
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, snapshotPolicyName, options }, deleteOperationSpec$
|
|
7765
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, snapshotPolicyName, options }, deleteOperationSpec$5);
|
|
7264
7766
|
return new coreLro.LroEngine(lro, {
|
|
7265
7767
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7266
7768
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -7293,8 +7795,8 @@ class SnapshotPoliciesImpl {
|
|
|
7293
7795
|
}
|
|
7294
7796
|
}
|
|
7295
7797
|
// Operation Specifications
|
|
7296
|
-
const serializer$
|
|
7297
|
-
const listOperationSpec$
|
|
7798
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7799
|
+
const listOperationSpec$4 = {
|
|
7298
7800
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies",
|
|
7299
7801
|
httpMethod: "GET",
|
|
7300
7802
|
responses: {
|
|
@@ -7311,7 +7813,7 @@ const listOperationSpec$6 = {
|
|
|
7311
7813
|
accountName
|
|
7312
7814
|
],
|
|
7313
7815
|
headerParameters: [accept],
|
|
7314
|
-
serializer: serializer$
|
|
7816
|
+
serializer: serializer$6
|
|
7315
7817
|
};
|
|
7316
7818
|
const getOperationSpec$5 = {
|
|
7317
7819
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}",
|
|
@@ -7331,9 +7833,9 @@ const getOperationSpec$5 = {
|
|
|
7331
7833
|
snapshotPolicyName
|
|
7332
7834
|
],
|
|
7333
7835
|
headerParameters: [accept],
|
|
7334
|
-
serializer: serializer$
|
|
7836
|
+
serializer: serializer$6
|
|
7335
7837
|
};
|
|
7336
|
-
const createOperationSpec$
|
|
7838
|
+
const createOperationSpec$4 = {
|
|
7337
7839
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}",
|
|
7338
7840
|
httpMethod: "PUT",
|
|
7339
7841
|
responses: {
|
|
@@ -7345,7 +7847,7 @@ const createOperationSpec$1 = {
|
|
|
7345
7847
|
},
|
|
7346
7848
|
default: {}
|
|
7347
7849
|
},
|
|
7348
|
-
requestBody:
|
|
7850
|
+
requestBody: body16,
|
|
7349
7851
|
queryParameters: [apiVersion],
|
|
7350
7852
|
urlParameters: [
|
|
7351
7853
|
$host,
|
|
@@ -7356,9 +7858,9 @@ const createOperationSpec$1 = {
|
|
|
7356
7858
|
],
|
|
7357
7859
|
headerParameters: [accept, contentType],
|
|
7358
7860
|
mediaType: "json",
|
|
7359
|
-
serializer: serializer$
|
|
7861
|
+
serializer: serializer$6
|
|
7360
7862
|
};
|
|
7361
|
-
const updateOperationSpec$
|
|
7863
|
+
const updateOperationSpec$3 = {
|
|
7362
7864
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}",
|
|
7363
7865
|
httpMethod: "PATCH",
|
|
7364
7866
|
responses: {
|
|
@@ -7376,7 +7878,7 @@ const updateOperationSpec$4 = {
|
|
|
7376
7878
|
},
|
|
7377
7879
|
default: {}
|
|
7378
7880
|
},
|
|
7379
|
-
requestBody:
|
|
7881
|
+
requestBody: body17,
|
|
7380
7882
|
queryParameters: [apiVersion],
|
|
7381
7883
|
urlParameters: [
|
|
7382
7884
|
$host,
|
|
@@ -7387,9 +7889,9 @@ const updateOperationSpec$4 = {
|
|
|
7387
7889
|
],
|
|
7388
7890
|
headerParameters: [accept, contentType],
|
|
7389
7891
|
mediaType: "json",
|
|
7390
|
-
serializer: serializer$
|
|
7892
|
+
serializer: serializer$6
|
|
7391
7893
|
};
|
|
7392
|
-
const deleteOperationSpec$
|
|
7894
|
+
const deleteOperationSpec$5 = {
|
|
7393
7895
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}",
|
|
7394
7896
|
httpMethod: "DELETE",
|
|
7395
7897
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -7401,7 +7903,7 @@ const deleteOperationSpec$4 = {
|
|
|
7401
7903
|
accountName,
|
|
7402
7904
|
snapshotPolicyName
|
|
7403
7905
|
],
|
|
7404
|
-
serializer: serializer$
|
|
7906
|
+
serializer: serializer$6
|
|
7405
7907
|
};
|
|
7406
7908
|
const listVolumesOperationSpec = {
|
|
7407
7909
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes",
|
|
@@ -7421,7 +7923,7 @@ const listVolumesOperationSpec = {
|
|
|
7421
7923
|
snapshotPolicyName
|
|
7422
7924
|
],
|
|
7423
7925
|
headerParameters: [accept],
|
|
7424
|
-
serializer: serializer$
|
|
7926
|
+
serializer: serializer$6
|
|
7425
7927
|
};
|
|
7426
7928
|
|
|
7427
7929
|
/*
|
|
@@ -7518,7 +8020,7 @@ class BackupsImpl {
|
|
|
7518
8020
|
* @param options The options parameters.
|
|
7519
8021
|
*/
|
|
7520
8022
|
_list(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
7521
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, volumeName, options }, listOperationSpec$
|
|
8023
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, volumeName, options }, listOperationSpec$3);
|
|
7522
8024
|
}
|
|
7523
8025
|
/**
|
|
7524
8026
|
* Gets the specified backup of the volume
|
|
@@ -7537,7 +8039,7 @@ class BackupsImpl {
|
|
|
7537
8039
|
volumeName,
|
|
7538
8040
|
backupName,
|
|
7539
8041
|
options
|
|
7540
|
-
}, getOperationSpec$
|
|
8042
|
+
}, getOperationSpec$4);
|
|
7541
8043
|
}
|
|
7542
8044
|
/**
|
|
7543
8045
|
* Create a backup for the volume
|
|
@@ -7581,7 +8083,7 @@ class BackupsImpl {
|
|
|
7581
8083
|
backupName,
|
|
7582
8084
|
body,
|
|
7583
8085
|
options
|
|
7584
|
-
}, createOperationSpec$
|
|
8086
|
+
}, createOperationSpec$3);
|
|
7585
8087
|
return new coreLro.LroEngine(lro, {
|
|
7586
8088
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7587
8089
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -7645,7 +8147,7 @@ class BackupsImpl {
|
|
|
7645
8147
|
volumeName,
|
|
7646
8148
|
backupName,
|
|
7647
8149
|
options
|
|
7648
|
-
}, updateOperationSpec$
|
|
8150
|
+
}, updateOperationSpec$2);
|
|
7649
8151
|
return new coreLro.LroEngine(lro, {
|
|
7650
8152
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7651
8153
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -7708,7 +8210,7 @@ class BackupsImpl {
|
|
|
7708
8210
|
volumeName,
|
|
7709
8211
|
backupName,
|
|
7710
8212
|
options
|
|
7711
|
-
}, deleteOperationSpec$
|
|
8213
|
+
}, deleteOperationSpec$4);
|
|
7712
8214
|
return new coreLro.LroEngine(lro, {
|
|
7713
8215
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7714
8216
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -7733,7 +8235,7 @@ class BackupsImpl {
|
|
|
7733
8235
|
}
|
|
7734
8236
|
}
|
|
7735
8237
|
// Operation Specifications
|
|
7736
|
-
const serializer$
|
|
8238
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7737
8239
|
const getStatusOperationSpec = {
|
|
7738
8240
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus",
|
|
7739
8241
|
httpMethod: "GET",
|
|
@@ -7753,7 +8255,7 @@ const getStatusOperationSpec = {
|
|
|
7753
8255
|
volumeName
|
|
7754
8256
|
],
|
|
7755
8257
|
headerParameters: [accept],
|
|
7756
|
-
serializer: serializer$
|
|
8258
|
+
serializer: serializer$5
|
|
7757
8259
|
};
|
|
7758
8260
|
const getVolumeRestoreStatusOperationSpec = {
|
|
7759
8261
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/restoreStatus",
|
|
@@ -7774,9 +8276,9 @@ const getVolumeRestoreStatusOperationSpec = {
|
|
|
7774
8276
|
volumeName
|
|
7775
8277
|
],
|
|
7776
8278
|
headerParameters: [accept],
|
|
7777
|
-
serializer: serializer$
|
|
8279
|
+
serializer: serializer$5
|
|
7778
8280
|
};
|
|
7779
|
-
const listOperationSpec$
|
|
8281
|
+
const listOperationSpec$3 = {
|
|
7780
8282
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups",
|
|
7781
8283
|
httpMethod: "GET",
|
|
7782
8284
|
responses: {
|
|
@@ -7795,9 +8297,9 @@ const listOperationSpec$7 = {
|
|
|
7795
8297
|
volumeName
|
|
7796
8298
|
],
|
|
7797
8299
|
headerParameters: [accept],
|
|
7798
|
-
serializer: serializer$
|
|
8300
|
+
serializer: serializer$5
|
|
7799
8301
|
};
|
|
7800
|
-
const getOperationSpec$
|
|
8302
|
+
const getOperationSpec$4 = {
|
|
7801
8303
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}",
|
|
7802
8304
|
httpMethod: "GET",
|
|
7803
8305
|
responses: {
|
|
@@ -7817,9 +8319,9 @@ const getOperationSpec$6 = {
|
|
|
7817
8319
|
backupName
|
|
7818
8320
|
],
|
|
7819
8321
|
headerParameters: [accept],
|
|
7820
|
-
serializer: serializer$
|
|
8322
|
+
serializer: serializer$5
|
|
7821
8323
|
};
|
|
7822
|
-
const createOperationSpec$
|
|
8324
|
+
const createOperationSpec$3 = {
|
|
7823
8325
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}",
|
|
7824
8326
|
httpMethod: "PUT",
|
|
7825
8327
|
responses: {
|
|
@@ -7837,7 +8339,7 @@ const createOperationSpec$2 = {
|
|
|
7837
8339
|
},
|
|
7838
8340
|
default: {}
|
|
7839
8341
|
},
|
|
7840
|
-
requestBody:
|
|
8342
|
+
requestBody: body18,
|
|
7841
8343
|
queryParameters: [apiVersion],
|
|
7842
8344
|
urlParameters: [
|
|
7843
8345
|
$host,
|
|
@@ -7850,9 +8352,9 @@ const createOperationSpec$2 = {
|
|
|
7850
8352
|
],
|
|
7851
8353
|
headerParameters: [accept, contentType],
|
|
7852
8354
|
mediaType: "json",
|
|
7853
|
-
serializer: serializer$
|
|
8355
|
+
serializer: serializer$5
|
|
7854
8356
|
};
|
|
7855
|
-
const updateOperationSpec$
|
|
8357
|
+
const updateOperationSpec$2 = {
|
|
7856
8358
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}",
|
|
7857
8359
|
httpMethod: "PATCH",
|
|
7858
8360
|
responses: {
|
|
@@ -7870,7 +8372,7 @@ const updateOperationSpec$5 = {
|
|
|
7870
8372
|
},
|
|
7871
8373
|
default: {}
|
|
7872
8374
|
},
|
|
7873
|
-
requestBody:
|
|
8375
|
+
requestBody: body19,
|
|
7874
8376
|
queryParameters: [apiVersion],
|
|
7875
8377
|
urlParameters: [
|
|
7876
8378
|
$host,
|
|
@@ -7883,9 +8385,9 @@ const updateOperationSpec$5 = {
|
|
|
7883
8385
|
],
|
|
7884
8386
|
headerParameters: [accept, contentType],
|
|
7885
8387
|
mediaType: "json",
|
|
7886
|
-
serializer: serializer$
|
|
8388
|
+
serializer: serializer$5
|
|
7887
8389
|
};
|
|
7888
|
-
const deleteOperationSpec$
|
|
8390
|
+
const deleteOperationSpec$4 = {
|
|
7889
8391
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backups/{backupName}",
|
|
7890
8392
|
httpMethod: "DELETE",
|
|
7891
8393
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -7899,7 +8401,7 @@ const deleteOperationSpec$5 = {
|
|
|
7899
8401
|
volumeName,
|
|
7900
8402
|
backupName
|
|
7901
8403
|
],
|
|
7902
|
-
serializer: serializer$
|
|
8404
|
+
serializer: serializer$5
|
|
7903
8405
|
};
|
|
7904
8406
|
|
|
7905
8407
|
/*
|
|
@@ -7970,7 +8472,7 @@ class AccountBackupsImpl {
|
|
|
7970
8472
|
* @param options The options parameters.
|
|
7971
8473
|
*/
|
|
7972
8474
|
_list(resourceGroupName, accountName, options) {
|
|
7973
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
8475
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$2);
|
|
7974
8476
|
}
|
|
7975
8477
|
/**
|
|
7976
8478
|
* Gets the specified backup for a Netapp Account
|
|
@@ -7980,7 +8482,7 @@ class AccountBackupsImpl {
|
|
|
7980
8482
|
* @param options The options parameters.
|
|
7981
8483
|
*/
|
|
7982
8484
|
get(resourceGroupName, accountName, backupName, options) {
|
|
7983
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, backupName, options }, getOperationSpec$
|
|
8485
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, backupName, options }, getOperationSpec$3);
|
|
7984
8486
|
}
|
|
7985
8487
|
/**
|
|
7986
8488
|
* Delete the specified Backup for a Netapp Account
|
|
@@ -8013,7 +8515,7 @@ class AccountBackupsImpl {
|
|
|
8013
8515
|
}
|
|
8014
8516
|
};
|
|
8015
8517
|
});
|
|
8016
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupName, options }, deleteOperationSpec$
|
|
8518
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupName, options }, deleteOperationSpec$3);
|
|
8017
8519
|
return new coreLro.LroEngine(lro, {
|
|
8018
8520
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8019
8521
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -8036,8 +8538,8 @@ class AccountBackupsImpl {
|
|
|
8036
8538
|
}
|
|
8037
8539
|
}
|
|
8038
8540
|
// Operation Specifications
|
|
8039
|
-
const serializer$
|
|
8040
|
-
const listOperationSpec$
|
|
8541
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8542
|
+
const listOperationSpec$2 = {
|
|
8041
8543
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups",
|
|
8042
8544
|
httpMethod: "GET",
|
|
8043
8545
|
responses: {
|
|
@@ -8054,9 +8556,9 @@ const listOperationSpec$8 = {
|
|
|
8054
8556
|
accountName
|
|
8055
8557
|
],
|
|
8056
8558
|
headerParameters: [accept],
|
|
8057
|
-
serializer: serializer$
|
|
8559
|
+
serializer: serializer$4
|
|
8058
8560
|
};
|
|
8059
|
-
const getOperationSpec$
|
|
8561
|
+
const getOperationSpec$3 = {
|
|
8060
8562
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups/{backupName}",
|
|
8061
8563
|
httpMethod: "GET",
|
|
8062
8564
|
responses: {
|
|
@@ -8074,9 +8576,9 @@ const getOperationSpec$7 = {
|
|
|
8074
8576
|
backupName
|
|
8075
8577
|
],
|
|
8076
8578
|
headerParameters: [accept],
|
|
8077
|
-
serializer: serializer$
|
|
8579
|
+
serializer: serializer$4
|
|
8078
8580
|
};
|
|
8079
|
-
const deleteOperationSpec$
|
|
8581
|
+
const deleteOperationSpec$3 = {
|
|
8080
8582
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups/{backupName}",
|
|
8081
8583
|
httpMethod: "DELETE",
|
|
8082
8584
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -8088,7 +8590,7 @@ const deleteOperationSpec$6 = {
|
|
|
8088
8590
|
accountName,
|
|
8089
8591
|
backupName
|
|
8090
8592
|
],
|
|
8091
|
-
serializer: serializer$
|
|
8593
|
+
serializer: serializer$4
|
|
8092
8594
|
};
|
|
8093
8595
|
|
|
8094
8596
|
/*
|
|
@@ -8159,7 +8661,7 @@ class BackupPoliciesImpl {
|
|
|
8159
8661
|
* @param options The options parameters.
|
|
8160
8662
|
*/
|
|
8161
8663
|
_list(resourceGroupName, accountName, options) {
|
|
8162
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$
|
|
8664
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec$1);
|
|
8163
8665
|
}
|
|
8164
8666
|
/**
|
|
8165
8667
|
* Get a particular backup Policy
|
|
@@ -8169,7 +8671,7 @@ class BackupPoliciesImpl {
|
|
|
8169
8671
|
* @param options The options parameters.
|
|
8170
8672
|
*/
|
|
8171
8673
|
get(resourceGroupName, accountName, backupPolicyName, options) {
|
|
8172
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, backupPolicyName, options }, getOperationSpec$
|
|
8674
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, backupPolicyName, options }, getOperationSpec$2);
|
|
8173
8675
|
}
|
|
8174
8676
|
/**
|
|
8175
8677
|
* Create a backup policy for Netapp Account
|
|
@@ -8203,7 +8705,7 @@ class BackupPoliciesImpl {
|
|
|
8203
8705
|
}
|
|
8204
8706
|
};
|
|
8205
8707
|
});
|
|
8206
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, body, options }, createOperationSpec$
|
|
8708
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, body, options }, createOperationSpec$2);
|
|
8207
8709
|
return new coreLro.LroEngine(lro, {
|
|
8208
8710
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8209
8711
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -8257,7 +8759,7 @@ class BackupPoliciesImpl {
|
|
|
8257
8759
|
}
|
|
8258
8760
|
};
|
|
8259
8761
|
});
|
|
8260
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, body, options }, updateOperationSpec$
|
|
8762
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, body, options }, updateOperationSpec$1);
|
|
8261
8763
|
return new coreLro.LroEngine(lro, {
|
|
8262
8764
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8263
8765
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -8310,7 +8812,7 @@ class BackupPoliciesImpl {
|
|
|
8310
8812
|
}
|
|
8311
8813
|
};
|
|
8312
8814
|
});
|
|
8313
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, options }, deleteOperationSpec$
|
|
8815
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, backupPolicyName, options }, deleteOperationSpec$2);
|
|
8314
8816
|
return new coreLro.LroEngine(lro, {
|
|
8315
8817
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8316
8818
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
@@ -8333,8 +8835,8 @@ class BackupPoliciesImpl {
|
|
|
8333
8835
|
}
|
|
8334
8836
|
}
|
|
8335
8837
|
// Operation Specifications
|
|
8336
|
-
const serializer$
|
|
8337
|
-
const listOperationSpec$
|
|
8838
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8839
|
+
const listOperationSpec$1 = {
|
|
8338
8840
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies",
|
|
8339
8841
|
httpMethod: "GET",
|
|
8340
8842
|
responses: {
|
|
@@ -8351,9 +8853,9 @@ const listOperationSpec$9 = {
|
|
|
8351
8853
|
accountName
|
|
8352
8854
|
],
|
|
8353
8855
|
headerParameters: [accept],
|
|
8354
|
-
serializer: serializer$
|
|
8856
|
+
serializer: serializer$3
|
|
8355
8857
|
};
|
|
8356
|
-
const getOperationSpec$
|
|
8858
|
+
const getOperationSpec$2 = {
|
|
8357
8859
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}",
|
|
8358
8860
|
httpMethod: "GET",
|
|
8359
8861
|
responses: {
|
|
@@ -8371,9 +8873,9 @@ const getOperationSpec$8 = {
|
|
|
8371
8873
|
backupPolicyName
|
|
8372
8874
|
],
|
|
8373
8875
|
headerParameters: [accept],
|
|
8374
|
-
serializer: serializer$
|
|
8876
|
+
serializer: serializer$3
|
|
8375
8877
|
};
|
|
8376
|
-
const createOperationSpec$
|
|
8878
|
+
const createOperationSpec$2 = {
|
|
8377
8879
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}",
|
|
8378
8880
|
httpMethod: "PUT",
|
|
8379
8881
|
responses: {
|
|
@@ -8391,7 +8893,7 @@ const createOperationSpec$3 = {
|
|
|
8391
8893
|
},
|
|
8392
8894
|
default: {}
|
|
8393
8895
|
},
|
|
8394
|
-
requestBody:
|
|
8896
|
+
requestBody: body20,
|
|
8395
8897
|
queryParameters: [apiVersion],
|
|
8396
8898
|
urlParameters: [
|
|
8397
8899
|
$host,
|
|
@@ -8402,9 +8904,9 @@ const createOperationSpec$3 = {
|
|
|
8402
8904
|
],
|
|
8403
8905
|
headerParameters: [accept, contentType],
|
|
8404
8906
|
mediaType: "json",
|
|
8405
|
-
serializer: serializer$
|
|
8907
|
+
serializer: serializer$3
|
|
8406
8908
|
};
|
|
8407
|
-
const updateOperationSpec$
|
|
8909
|
+
const updateOperationSpec$1 = {
|
|
8408
8910
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}",
|
|
8409
8911
|
httpMethod: "PATCH",
|
|
8410
8912
|
responses: {
|
|
@@ -8422,7 +8924,7 @@ const updateOperationSpec$6 = {
|
|
|
8422
8924
|
},
|
|
8423
8925
|
default: {}
|
|
8424
8926
|
},
|
|
8425
|
-
requestBody:
|
|
8927
|
+
requestBody: body21,
|
|
8426
8928
|
queryParameters: [apiVersion],
|
|
8427
8929
|
urlParameters: [
|
|
8428
8930
|
$host,
|
|
@@ -8433,9 +8935,9 @@ const updateOperationSpec$6 = {
|
|
|
8433
8935
|
],
|
|
8434
8936
|
headerParameters: [accept, contentType],
|
|
8435
8937
|
mediaType: "json",
|
|
8436
|
-
serializer: serializer$
|
|
8938
|
+
serializer: serializer$3
|
|
8437
8939
|
};
|
|
8438
|
-
const deleteOperationSpec$
|
|
8940
|
+
const deleteOperationSpec$2 = {
|
|
8439
8941
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}",
|
|
8440
8942
|
httpMethod: "DELETE",
|
|
8441
8943
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -8447,7 +8949,7 @@ const deleteOperationSpec$7 = {
|
|
|
8447
8949
|
accountName,
|
|
8448
8950
|
backupPolicyName
|
|
8449
8951
|
],
|
|
8450
|
-
serializer: serializer$
|
|
8952
|
+
serializer: serializer$3
|
|
8451
8953
|
};
|
|
8452
8954
|
|
|
8453
8955
|
/*
|
|
@@ -8518,12 +9020,12 @@ class VaultsImpl {
|
|
|
8518
9020
|
* @param options The options parameters.
|
|
8519
9021
|
*/
|
|
8520
9022
|
_list(resourceGroupName, accountName, options) {
|
|
8521
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec
|
|
9023
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
8522
9024
|
}
|
|
8523
9025
|
}
|
|
8524
9026
|
// Operation Specifications
|
|
8525
|
-
const serializer$
|
|
8526
|
-
const listOperationSpec
|
|
9027
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9028
|
+
const listOperationSpec = {
|
|
8527
9029
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/vaults",
|
|
8528
9030
|
httpMethod: "GET",
|
|
8529
9031
|
responses: {
|
|
@@ -8540,7 +9042,7 @@ const listOperationSpec$a = {
|
|
|
8540
9042
|
accountName
|
|
8541
9043
|
],
|
|
8542
9044
|
headerParameters: [accept],
|
|
8543
|
-
serializer: serializer$
|
|
9045
|
+
serializer: serializer$2
|
|
8544
9046
|
};
|
|
8545
9047
|
|
|
8546
9048
|
/*
|
|
@@ -8621,7 +9123,7 @@ class VolumeGroupsImpl {
|
|
|
8621
9123
|
* @param options The options parameters.
|
|
8622
9124
|
*/
|
|
8623
9125
|
get(resourceGroupName, accountName, volumeGroupName, options) {
|
|
8624
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, volumeGroupName, options }, getOperationSpec$
|
|
9126
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, volumeGroupName, options }, getOperationSpec$1);
|
|
8625
9127
|
}
|
|
8626
9128
|
/**
|
|
8627
9129
|
* Create a volume group along with specified volumes
|
|
@@ -8655,7 +9157,7 @@ class VolumeGroupsImpl {
|
|
|
8655
9157
|
}
|
|
8656
9158
|
};
|
|
8657
9159
|
});
|
|
8658
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, volumeGroupName, body, options }, createOperationSpec$
|
|
9160
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, volumeGroupName, body, options }, createOperationSpec$1);
|
|
8659
9161
|
return new coreLro.LroEngine(lro, {
|
|
8660
9162
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8661
9163
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -8707,7 +9209,7 @@ class VolumeGroupsImpl {
|
|
|
8707
9209
|
}
|
|
8708
9210
|
};
|
|
8709
9211
|
});
|
|
8710
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, volumeGroupName, options }, deleteOperationSpec$
|
|
9212
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, volumeGroupName, options }, deleteOperationSpec$1);
|
|
8711
9213
|
return new coreLro.LroEngine(lro, {
|
|
8712
9214
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8713
9215
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -8729,7 +9231,7 @@ class VolumeGroupsImpl {
|
|
|
8729
9231
|
}
|
|
8730
9232
|
}
|
|
8731
9233
|
// Operation Specifications
|
|
8732
|
-
const serializer$
|
|
9234
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8733
9235
|
const listByNetAppAccountOperationSpec = {
|
|
8734
9236
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups",
|
|
8735
9237
|
httpMethod: "GET",
|
|
@@ -8747,9 +9249,9 @@ const listByNetAppAccountOperationSpec = {
|
|
|
8747
9249
|
accountName
|
|
8748
9250
|
],
|
|
8749
9251
|
headerParameters: [accept],
|
|
8750
|
-
serializer: serializer$
|
|
9252
|
+
serializer: serializer$1
|
|
8751
9253
|
};
|
|
8752
|
-
const getOperationSpec$
|
|
9254
|
+
const getOperationSpec$1 = {
|
|
8753
9255
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
|
|
8754
9256
|
httpMethod: "GET",
|
|
8755
9257
|
responses: {
|
|
@@ -8767,9 +9269,9 @@ const getOperationSpec$9 = {
|
|
|
8767
9269
|
volumeGroupName
|
|
8768
9270
|
],
|
|
8769
9271
|
headerParameters: [accept],
|
|
8770
|
-
serializer: serializer$
|
|
9272
|
+
serializer: serializer$1
|
|
8771
9273
|
};
|
|
8772
|
-
const createOperationSpec$
|
|
9274
|
+
const createOperationSpec$1 = {
|
|
8773
9275
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
|
|
8774
9276
|
httpMethod: "PUT",
|
|
8775
9277
|
responses: {
|
|
@@ -8787,7 +9289,7 @@ const createOperationSpec$4 = {
|
|
|
8787
9289
|
},
|
|
8788
9290
|
default: {}
|
|
8789
9291
|
},
|
|
8790
|
-
requestBody:
|
|
9292
|
+
requestBody: body22,
|
|
8791
9293
|
queryParameters: [apiVersion],
|
|
8792
9294
|
urlParameters: [
|
|
8793
9295
|
$host,
|
|
@@ -8798,9 +9300,9 @@ const createOperationSpec$4 = {
|
|
|
8798
9300
|
],
|
|
8799
9301
|
headerParameters: [accept, contentType],
|
|
8800
9302
|
mediaType: "json",
|
|
8801
|
-
serializer: serializer$
|
|
9303
|
+
serializer: serializer$1
|
|
8802
9304
|
};
|
|
8803
|
-
const deleteOperationSpec$
|
|
9305
|
+
const deleteOperationSpec$1 = {
|
|
8804
9306
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
|
|
8805
9307
|
httpMethod: "DELETE",
|
|
8806
9308
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -8812,7 +9314,565 @@ const deleteOperationSpec$8 = {
|
|
|
8812
9314
|
accountName,
|
|
8813
9315
|
volumeGroupName
|
|
8814
9316
|
],
|
|
8815
|
-
serializer: serializer$
|
|
9317
|
+
serializer: serializer$1
|
|
9318
|
+
};
|
|
9319
|
+
|
|
9320
|
+
/*
|
|
9321
|
+
* Copyright (c) Microsoft Corporation.
|
|
9322
|
+
* Licensed under the MIT License.
|
|
9323
|
+
*
|
|
9324
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
9325
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9326
|
+
*/
|
|
9327
|
+
/// <reference lib="esnext.asynciterable" />
|
|
9328
|
+
/** Class containing Subvolumes operations. */
|
|
9329
|
+
class SubvolumesImpl {
|
|
9330
|
+
/**
|
|
9331
|
+
* Initialize a new instance of the class Subvolumes class.
|
|
9332
|
+
* @param client Reference to the service client
|
|
9333
|
+
*/
|
|
9334
|
+
constructor(client) {
|
|
9335
|
+
this.client = client;
|
|
9336
|
+
}
|
|
9337
|
+
/**
|
|
9338
|
+
* Returns a list of the subvolumes in the volume
|
|
9339
|
+
* @param resourceGroupName The name of the resource group.
|
|
9340
|
+
* @param accountName The name of the NetApp account
|
|
9341
|
+
* @param poolName The name of the capacity pool
|
|
9342
|
+
* @param volumeName The name of the volume
|
|
9343
|
+
* @param options The options parameters.
|
|
9344
|
+
*/
|
|
9345
|
+
listByVolume(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9346
|
+
const iter = this.listByVolumePagingAll(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9347
|
+
return {
|
|
9348
|
+
next() {
|
|
9349
|
+
return iter.next();
|
|
9350
|
+
},
|
|
9351
|
+
[Symbol.asyncIterator]() {
|
|
9352
|
+
return this;
|
|
9353
|
+
},
|
|
9354
|
+
byPage: () => {
|
|
9355
|
+
return this.listByVolumePagingPage(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9356
|
+
}
|
|
9357
|
+
};
|
|
9358
|
+
}
|
|
9359
|
+
listByVolumePagingPage(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9360
|
+
return tslib.__asyncGenerator(this, arguments, function* listByVolumePagingPage_1() {
|
|
9361
|
+
let result = yield tslib.__await(this._listByVolume(resourceGroupName, accountName, poolName, volumeName, options));
|
|
9362
|
+
yield yield tslib.__await(result.value || []);
|
|
9363
|
+
let continuationToken = result.nextLink;
|
|
9364
|
+
while (continuationToken) {
|
|
9365
|
+
result = yield tslib.__await(this._listByVolumeNext(resourceGroupName, accountName, poolName, volumeName, continuationToken, options));
|
|
9366
|
+
continuationToken = result.nextLink;
|
|
9367
|
+
yield yield tslib.__await(result.value || []);
|
|
9368
|
+
}
|
|
9369
|
+
});
|
|
9370
|
+
}
|
|
9371
|
+
listByVolumePagingAll(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9372
|
+
return tslib.__asyncGenerator(this, arguments, function* listByVolumePagingAll_1() {
|
|
9373
|
+
var e_1, _a;
|
|
9374
|
+
try {
|
|
9375
|
+
for (var _b = tslib.__asyncValues(this.listByVolumePagingPage(resourceGroupName, accountName, poolName, volumeName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
9376
|
+
const page = _c.value;
|
|
9377
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9378
|
+
}
|
|
9379
|
+
}
|
|
9380
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
9381
|
+
finally {
|
|
9382
|
+
try {
|
|
9383
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
9384
|
+
}
|
|
9385
|
+
finally { if (e_1) throw e_1.error; }
|
|
9386
|
+
}
|
|
9387
|
+
});
|
|
9388
|
+
}
|
|
9389
|
+
/**
|
|
9390
|
+
* Returns a list of the subvolumes in the volume
|
|
9391
|
+
* @param resourceGroupName The name of the resource group.
|
|
9392
|
+
* @param accountName The name of the NetApp account
|
|
9393
|
+
* @param poolName The name of the capacity pool
|
|
9394
|
+
* @param volumeName The name of the volume
|
|
9395
|
+
* @param options The options parameters.
|
|
9396
|
+
*/
|
|
9397
|
+
_listByVolume(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9398
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, volumeName, options }, listByVolumeOperationSpec);
|
|
9399
|
+
}
|
|
9400
|
+
/**
|
|
9401
|
+
* Returns the path associated with the subvolumeName provided
|
|
9402
|
+
* @param resourceGroupName The name of the resource group.
|
|
9403
|
+
* @param accountName The name of the NetApp account
|
|
9404
|
+
* @param poolName The name of the capacity pool
|
|
9405
|
+
* @param volumeName The name of the volume
|
|
9406
|
+
* @param subvolumeName The name of the subvolume.
|
|
9407
|
+
* @param options The options parameters.
|
|
9408
|
+
*/
|
|
9409
|
+
get(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options) {
|
|
9410
|
+
return this.client.sendOperationRequest({
|
|
9411
|
+
resourceGroupName,
|
|
9412
|
+
accountName,
|
|
9413
|
+
poolName,
|
|
9414
|
+
volumeName,
|
|
9415
|
+
subvolumeName,
|
|
9416
|
+
options
|
|
9417
|
+
}, getOperationSpec);
|
|
9418
|
+
}
|
|
9419
|
+
/**
|
|
9420
|
+
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath
|
|
9421
|
+
* @param resourceGroupName The name of the resource group.
|
|
9422
|
+
* @param accountName The name of the NetApp account
|
|
9423
|
+
* @param poolName The name of the capacity pool
|
|
9424
|
+
* @param volumeName The name of the volume
|
|
9425
|
+
* @param subvolumeName The name of the subvolume.
|
|
9426
|
+
* @param body Subvolume object supplied in the body of the operation.
|
|
9427
|
+
* @param options The options parameters.
|
|
9428
|
+
*/
|
|
9429
|
+
beginCreate(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options) {
|
|
9430
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9431
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9432
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9433
|
+
});
|
|
9434
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9435
|
+
var _a;
|
|
9436
|
+
let currentRawResponse = undefined;
|
|
9437
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9438
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9439
|
+
currentRawResponse = rawResponse;
|
|
9440
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9441
|
+
};
|
|
9442
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9443
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9444
|
+
return {
|
|
9445
|
+
flatResponse,
|
|
9446
|
+
rawResponse: {
|
|
9447
|
+
statusCode: currentRawResponse.status,
|
|
9448
|
+
body: currentRawResponse.parsedBody,
|
|
9449
|
+
headers: currentRawResponse.headers.toJSON()
|
|
9450
|
+
}
|
|
9451
|
+
};
|
|
9452
|
+
});
|
|
9453
|
+
const lro = new LroImpl(sendOperation, {
|
|
9454
|
+
resourceGroupName,
|
|
9455
|
+
accountName,
|
|
9456
|
+
poolName,
|
|
9457
|
+
volumeName,
|
|
9458
|
+
subvolumeName,
|
|
9459
|
+
body,
|
|
9460
|
+
options
|
|
9461
|
+
}, createOperationSpec);
|
|
9462
|
+
return new coreLro.LroEngine(lro, {
|
|
9463
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9464
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9465
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
9466
|
+
});
|
|
9467
|
+
});
|
|
9468
|
+
}
|
|
9469
|
+
/**
|
|
9470
|
+
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath
|
|
9471
|
+
* @param resourceGroupName The name of the resource group.
|
|
9472
|
+
* @param accountName The name of the NetApp account
|
|
9473
|
+
* @param poolName The name of the capacity pool
|
|
9474
|
+
* @param volumeName The name of the volume
|
|
9475
|
+
* @param subvolumeName The name of the subvolume.
|
|
9476
|
+
* @param body Subvolume object supplied in the body of the operation.
|
|
9477
|
+
* @param options The options parameters.
|
|
9478
|
+
*/
|
|
9479
|
+
beginCreateAndWait(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options) {
|
|
9480
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9481
|
+
const poller = yield this.beginCreate(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options);
|
|
9482
|
+
return poller.pollUntilDone();
|
|
9483
|
+
});
|
|
9484
|
+
}
|
|
9485
|
+
/**
|
|
9486
|
+
* Patch a subvolume
|
|
9487
|
+
* @param resourceGroupName The name of the resource group.
|
|
9488
|
+
* @param accountName The name of the NetApp account
|
|
9489
|
+
* @param poolName The name of the capacity pool
|
|
9490
|
+
* @param volumeName The name of the volume
|
|
9491
|
+
* @param subvolumeName The name of the subvolume.
|
|
9492
|
+
* @param body Subvolume object supplied in the body of the operation.
|
|
9493
|
+
* @param options The options parameters.
|
|
9494
|
+
*/
|
|
9495
|
+
beginUpdate(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options) {
|
|
9496
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9497
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9498
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9499
|
+
});
|
|
9500
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9501
|
+
var _a;
|
|
9502
|
+
let currentRawResponse = undefined;
|
|
9503
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9504
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9505
|
+
currentRawResponse = rawResponse;
|
|
9506
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9507
|
+
};
|
|
9508
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9509
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9510
|
+
return {
|
|
9511
|
+
flatResponse,
|
|
9512
|
+
rawResponse: {
|
|
9513
|
+
statusCode: currentRawResponse.status,
|
|
9514
|
+
body: currentRawResponse.parsedBody,
|
|
9515
|
+
headers: currentRawResponse.headers.toJSON()
|
|
9516
|
+
}
|
|
9517
|
+
};
|
|
9518
|
+
});
|
|
9519
|
+
const lro = new LroImpl(sendOperation, {
|
|
9520
|
+
resourceGroupName,
|
|
9521
|
+
accountName,
|
|
9522
|
+
poolName,
|
|
9523
|
+
volumeName,
|
|
9524
|
+
subvolumeName,
|
|
9525
|
+
body,
|
|
9526
|
+
options
|
|
9527
|
+
}, updateOperationSpec);
|
|
9528
|
+
return new coreLro.LroEngine(lro, {
|
|
9529
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9530
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9531
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
9532
|
+
});
|
|
9533
|
+
});
|
|
9534
|
+
}
|
|
9535
|
+
/**
|
|
9536
|
+
* Patch a subvolume
|
|
9537
|
+
* @param resourceGroupName The name of the resource group.
|
|
9538
|
+
* @param accountName The name of the NetApp account
|
|
9539
|
+
* @param poolName The name of the capacity pool
|
|
9540
|
+
* @param volumeName The name of the volume
|
|
9541
|
+
* @param subvolumeName The name of the subvolume.
|
|
9542
|
+
* @param body Subvolume object supplied in the body of the operation.
|
|
9543
|
+
* @param options The options parameters.
|
|
9544
|
+
*/
|
|
9545
|
+
beginUpdateAndWait(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options) {
|
|
9546
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9547
|
+
const poller = yield this.beginUpdate(resourceGroupName, accountName, poolName, volumeName, subvolumeName, body, options);
|
|
9548
|
+
return poller.pollUntilDone();
|
|
9549
|
+
});
|
|
9550
|
+
}
|
|
9551
|
+
/**
|
|
9552
|
+
* Delete subvolume
|
|
9553
|
+
* @param resourceGroupName The name of the resource group.
|
|
9554
|
+
* @param accountName The name of the NetApp account
|
|
9555
|
+
* @param poolName The name of the capacity pool
|
|
9556
|
+
* @param volumeName The name of the volume
|
|
9557
|
+
* @param subvolumeName The name of the subvolume.
|
|
9558
|
+
* @param options The options parameters.
|
|
9559
|
+
*/
|
|
9560
|
+
beginDelete(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options) {
|
|
9561
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9562
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9563
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9564
|
+
});
|
|
9565
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9566
|
+
var _a;
|
|
9567
|
+
let currentRawResponse = undefined;
|
|
9568
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9569
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9570
|
+
currentRawResponse = rawResponse;
|
|
9571
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9572
|
+
};
|
|
9573
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9574
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9575
|
+
return {
|
|
9576
|
+
flatResponse,
|
|
9577
|
+
rawResponse: {
|
|
9578
|
+
statusCode: currentRawResponse.status,
|
|
9579
|
+
body: currentRawResponse.parsedBody,
|
|
9580
|
+
headers: currentRawResponse.headers.toJSON()
|
|
9581
|
+
}
|
|
9582
|
+
};
|
|
9583
|
+
});
|
|
9584
|
+
const lro = new LroImpl(sendOperation, {
|
|
9585
|
+
resourceGroupName,
|
|
9586
|
+
accountName,
|
|
9587
|
+
poolName,
|
|
9588
|
+
volumeName,
|
|
9589
|
+
subvolumeName,
|
|
9590
|
+
options
|
|
9591
|
+
}, deleteOperationSpec);
|
|
9592
|
+
return new coreLro.LroEngine(lro, {
|
|
9593
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9594
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9595
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
9596
|
+
});
|
|
9597
|
+
});
|
|
9598
|
+
}
|
|
9599
|
+
/**
|
|
9600
|
+
* Delete subvolume
|
|
9601
|
+
* @param resourceGroupName The name of the resource group.
|
|
9602
|
+
* @param accountName The name of the NetApp account
|
|
9603
|
+
* @param poolName The name of the capacity pool
|
|
9604
|
+
* @param volumeName The name of the volume
|
|
9605
|
+
* @param subvolumeName The name of the subvolume.
|
|
9606
|
+
* @param options The options parameters.
|
|
9607
|
+
*/
|
|
9608
|
+
beginDeleteAndWait(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options) {
|
|
9609
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9610
|
+
const poller = yield this.beginDelete(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options);
|
|
9611
|
+
return poller.pollUntilDone();
|
|
9612
|
+
});
|
|
9613
|
+
}
|
|
9614
|
+
/**
|
|
9615
|
+
* Get details of the specified subvolume
|
|
9616
|
+
* @param resourceGroupName The name of the resource group.
|
|
9617
|
+
* @param accountName The name of the NetApp account
|
|
9618
|
+
* @param poolName The name of the capacity pool
|
|
9619
|
+
* @param volumeName The name of the volume
|
|
9620
|
+
* @param subvolumeName The name of the subvolume.
|
|
9621
|
+
* @param options The options parameters.
|
|
9622
|
+
*/
|
|
9623
|
+
beginGetMetadata(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options) {
|
|
9624
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9625
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9626
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9627
|
+
});
|
|
9628
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9629
|
+
var _a;
|
|
9630
|
+
let currentRawResponse = undefined;
|
|
9631
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9632
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9633
|
+
currentRawResponse = rawResponse;
|
|
9634
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9635
|
+
};
|
|
9636
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9637
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9638
|
+
return {
|
|
9639
|
+
flatResponse,
|
|
9640
|
+
rawResponse: {
|
|
9641
|
+
statusCode: currentRawResponse.status,
|
|
9642
|
+
body: currentRawResponse.parsedBody,
|
|
9643
|
+
headers: currentRawResponse.headers.toJSON()
|
|
9644
|
+
}
|
|
9645
|
+
};
|
|
9646
|
+
});
|
|
9647
|
+
const lro = new LroImpl(sendOperation, {
|
|
9648
|
+
resourceGroupName,
|
|
9649
|
+
accountName,
|
|
9650
|
+
poolName,
|
|
9651
|
+
volumeName,
|
|
9652
|
+
subvolumeName,
|
|
9653
|
+
options
|
|
9654
|
+
}, getMetadataOperationSpec);
|
|
9655
|
+
return new coreLro.LroEngine(lro, {
|
|
9656
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9657
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9658
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
9659
|
+
});
|
|
9660
|
+
});
|
|
9661
|
+
}
|
|
9662
|
+
/**
|
|
9663
|
+
* Get details of the specified subvolume
|
|
9664
|
+
* @param resourceGroupName The name of the resource group.
|
|
9665
|
+
* @param accountName The name of the NetApp account
|
|
9666
|
+
* @param poolName The name of the capacity pool
|
|
9667
|
+
* @param volumeName The name of the volume
|
|
9668
|
+
* @param subvolumeName The name of the subvolume.
|
|
9669
|
+
* @param options The options parameters.
|
|
9670
|
+
*/
|
|
9671
|
+
beginGetMetadataAndWait(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options) {
|
|
9672
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9673
|
+
const poller = yield this.beginGetMetadata(resourceGroupName, accountName, poolName, volumeName, subvolumeName, options);
|
|
9674
|
+
return poller.pollUntilDone();
|
|
9675
|
+
});
|
|
9676
|
+
}
|
|
9677
|
+
/**
|
|
9678
|
+
* ListByVolumeNext
|
|
9679
|
+
* @param resourceGroupName The name of the resource group.
|
|
9680
|
+
* @param accountName The name of the NetApp account
|
|
9681
|
+
* @param poolName The name of the capacity pool
|
|
9682
|
+
* @param volumeName The name of the volume
|
|
9683
|
+
* @param nextLink The nextLink from the previous successful call to the ListByVolume method.
|
|
9684
|
+
* @param options The options parameters.
|
|
9685
|
+
*/
|
|
9686
|
+
_listByVolumeNext(resourceGroupName, accountName, poolName, volumeName, nextLink, options) {
|
|
9687
|
+
return this.client.sendOperationRequest({
|
|
9688
|
+
resourceGroupName,
|
|
9689
|
+
accountName,
|
|
9690
|
+
poolName,
|
|
9691
|
+
volumeName,
|
|
9692
|
+
nextLink,
|
|
9693
|
+
options
|
|
9694
|
+
}, listByVolumeNextOperationSpec);
|
|
9695
|
+
}
|
|
9696
|
+
}
|
|
9697
|
+
// Operation Specifications
|
|
9698
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9699
|
+
const listByVolumeOperationSpec = {
|
|
9700
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes",
|
|
9701
|
+
httpMethod: "GET",
|
|
9702
|
+
responses: {
|
|
9703
|
+
200: {
|
|
9704
|
+
bodyMapper: SubvolumesList
|
|
9705
|
+
},
|
|
9706
|
+
default: {}
|
|
9707
|
+
},
|
|
9708
|
+
queryParameters: [apiVersion],
|
|
9709
|
+
urlParameters: [
|
|
9710
|
+
$host,
|
|
9711
|
+
subscriptionId,
|
|
9712
|
+
resourceGroupName,
|
|
9713
|
+
accountName,
|
|
9714
|
+
poolName,
|
|
9715
|
+
volumeName
|
|
9716
|
+
],
|
|
9717
|
+
headerParameters: [accept],
|
|
9718
|
+
serializer
|
|
9719
|
+
};
|
|
9720
|
+
const getOperationSpec = {
|
|
9721
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}",
|
|
9722
|
+
httpMethod: "GET",
|
|
9723
|
+
responses: {
|
|
9724
|
+
200: {
|
|
9725
|
+
bodyMapper: SubvolumeInfo
|
|
9726
|
+
},
|
|
9727
|
+
default: {}
|
|
9728
|
+
},
|
|
9729
|
+
queryParameters: [apiVersion],
|
|
9730
|
+
urlParameters: [
|
|
9731
|
+
$host,
|
|
9732
|
+
subscriptionId,
|
|
9733
|
+
resourceGroupName,
|
|
9734
|
+
accountName,
|
|
9735
|
+
poolName,
|
|
9736
|
+
volumeName,
|
|
9737
|
+
subvolumeName
|
|
9738
|
+
],
|
|
9739
|
+
headerParameters: [accept],
|
|
9740
|
+
serializer
|
|
9741
|
+
};
|
|
9742
|
+
const createOperationSpec = {
|
|
9743
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}",
|
|
9744
|
+
httpMethod: "PUT",
|
|
9745
|
+
responses: {
|
|
9746
|
+
200: {
|
|
9747
|
+
bodyMapper: SubvolumeInfo
|
|
9748
|
+
},
|
|
9749
|
+
201: {
|
|
9750
|
+
bodyMapper: SubvolumeInfo
|
|
9751
|
+
},
|
|
9752
|
+
202: {
|
|
9753
|
+
bodyMapper: SubvolumeInfo
|
|
9754
|
+
},
|
|
9755
|
+
204: {
|
|
9756
|
+
bodyMapper: SubvolumeInfo
|
|
9757
|
+
},
|
|
9758
|
+
default: {}
|
|
9759
|
+
},
|
|
9760
|
+
requestBody: body23,
|
|
9761
|
+
queryParameters: [apiVersion],
|
|
9762
|
+
urlParameters: [
|
|
9763
|
+
$host,
|
|
9764
|
+
subscriptionId,
|
|
9765
|
+
resourceGroupName,
|
|
9766
|
+
accountName,
|
|
9767
|
+
poolName,
|
|
9768
|
+
volumeName,
|
|
9769
|
+
subvolumeName
|
|
9770
|
+
],
|
|
9771
|
+
headerParameters: [accept, contentType],
|
|
9772
|
+
mediaType: "json",
|
|
9773
|
+
serializer
|
|
9774
|
+
};
|
|
9775
|
+
const updateOperationSpec = {
|
|
9776
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}",
|
|
9777
|
+
httpMethod: "PATCH",
|
|
9778
|
+
responses: {
|
|
9779
|
+
200: {
|
|
9780
|
+
bodyMapper: SubvolumeInfo
|
|
9781
|
+
},
|
|
9782
|
+
201: {
|
|
9783
|
+
bodyMapper: SubvolumeInfo
|
|
9784
|
+
},
|
|
9785
|
+
202: {
|
|
9786
|
+
bodyMapper: SubvolumeInfo
|
|
9787
|
+
},
|
|
9788
|
+
204: {
|
|
9789
|
+
bodyMapper: SubvolumeInfo
|
|
9790
|
+
},
|
|
9791
|
+
default: {}
|
|
9792
|
+
},
|
|
9793
|
+
requestBody: body24,
|
|
9794
|
+
queryParameters: [apiVersion],
|
|
9795
|
+
urlParameters: [
|
|
9796
|
+
$host,
|
|
9797
|
+
subscriptionId,
|
|
9798
|
+
resourceGroupName,
|
|
9799
|
+
accountName,
|
|
9800
|
+
poolName,
|
|
9801
|
+
volumeName,
|
|
9802
|
+
subvolumeName
|
|
9803
|
+
],
|
|
9804
|
+
headerParameters: [accept, contentType],
|
|
9805
|
+
mediaType: "json",
|
|
9806
|
+
serializer
|
|
9807
|
+
};
|
|
9808
|
+
const deleteOperationSpec = {
|
|
9809
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}",
|
|
9810
|
+
httpMethod: "DELETE",
|
|
9811
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
9812
|
+
queryParameters: [apiVersion],
|
|
9813
|
+
urlParameters: [
|
|
9814
|
+
$host,
|
|
9815
|
+
subscriptionId,
|
|
9816
|
+
resourceGroupName,
|
|
9817
|
+
accountName,
|
|
9818
|
+
poolName,
|
|
9819
|
+
volumeName,
|
|
9820
|
+
subvolumeName
|
|
9821
|
+
],
|
|
9822
|
+
serializer
|
|
9823
|
+
};
|
|
9824
|
+
const getMetadataOperationSpec = {
|
|
9825
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata",
|
|
9826
|
+
httpMethod: "POST",
|
|
9827
|
+
responses: {
|
|
9828
|
+
200: {
|
|
9829
|
+
bodyMapper: SubvolumeModel
|
|
9830
|
+
},
|
|
9831
|
+
201: {
|
|
9832
|
+
bodyMapper: SubvolumeModel
|
|
9833
|
+
},
|
|
9834
|
+
202: {
|
|
9835
|
+
bodyMapper: SubvolumeModel
|
|
9836
|
+
},
|
|
9837
|
+
204: {
|
|
9838
|
+
bodyMapper: SubvolumeModel
|
|
9839
|
+
},
|
|
9840
|
+
default: {}
|
|
9841
|
+
},
|
|
9842
|
+
queryParameters: [apiVersion],
|
|
9843
|
+
urlParameters: [
|
|
9844
|
+
$host,
|
|
9845
|
+
subscriptionId,
|
|
9846
|
+
resourceGroupName,
|
|
9847
|
+
accountName,
|
|
9848
|
+
poolName,
|
|
9849
|
+
volumeName,
|
|
9850
|
+
subvolumeName
|
|
9851
|
+
],
|
|
9852
|
+
headerParameters: [accept],
|
|
9853
|
+
serializer
|
|
9854
|
+
};
|
|
9855
|
+
const listByVolumeNextOperationSpec = {
|
|
9856
|
+
path: "{nextLink}",
|
|
9857
|
+
httpMethod: "GET",
|
|
9858
|
+
responses: {
|
|
9859
|
+
200: {
|
|
9860
|
+
bodyMapper: SubvolumesList
|
|
9861
|
+
},
|
|
9862
|
+
default: {}
|
|
9863
|
+
},
|
|
9864
|
+
queryParameters: [apiVersion],
|
|
9865
|
+
urlParameters: [
|
|
9866
|
+
$host,
|
|
9867
|
+
subscriptionId,
|
|
9868
|
+
resourceGroupName,
|
|
9869
|
+
accountName,
|
|
9870
|
+
nextLink,
|
|
9871
|
+
poolName,
|
|
9872
|
+
volumeName
|
|
9873
|
+
],
|
|
9874
|
+
headerParameters: [accept],
|
|
9875
|
+
serializer
|
|
8816
9876
|
};
|
|
8817
9877
|
|
|
8818
9878
|
/*
|
|
@@ -8822,7 +9882,7 @@ const deleteOperationSpec$8 = {
|
|
|
8822
9882
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8823
9883
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8824
9884
|
*/
|
|
8825
|
-
class NetAppManagementClient extends
|
|
9885
|
+
class NetAppManagementClient extends coreClient__namespace.ServiceClient {
|
|
8826
9886
|
/**
|
|
8827
9887
|
* Initializes a new instance of the NetAppManagementClient class.
|
|
8828
9888
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -8845,7 +9905,7 @@ class NetAppManagementClient extends coreClient.ServiceClient {
|
|
|
8845
9905
|
requestContentType: "application/json; charset=utf-8",
|
|
8846
9906
|
credential: credentials
|
|
8847
9907
|
};
|
|
8848
|
-
const packageDetails = `azsdk-js-arm-netapp/15.
|
|
9908
|
+
const packageDetails = `azsdk-js-arm-netapp/15.1.0`;
|
|
8849
9909
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
8850
9910
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
8851
9911
|
: `${packageDetails}`;
|
|
@@ -8860,7 +9920,7 @@ class NetAppManagementClient extends coreClient.ServiceClient {
|
|
|
8860
9920
|
this.subscriptionId = subscriptionId;
|
|
8861
9921
|
// Assigning values to Constant parameters
|
|
8862
9922
|
this.$host = options.$host || "https://management.azure.com";
|
|
8863
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
9923
|
+
this.apiVersion = options.apiVersion || "2021-10-01";
|
|
8864
9924
|
this.operations = new OperationsImpl(this);
|
|
8865
9925
|
this.netAppResource = new NetAppResourceImpl(this);
|
|
8866
9926
|
this.netAppResourceQuotaLimits = new NetAppResourceQuotaLimitsImpl(this);
|
|
@@ -8874,6 +9934,7 @@ class NetAppManagementClient extends coreClient.ServiceClient {
|
|
|
8874
9934
|
this.backupPolicies = new BackupPoliciesImpl(this);
|
|
8875
9935
|
this.vaults = new VaultsImpl(this);
|
|
8876
9936
|
this.volumeGroups = new VolumeGroupsImpl(this);
|
|
9937
|
+
this.subvolumes = new SubvolumesImpl(this);
|
|
8877
9938
|
}
|
|
8878
9939
|
}
|
|
8879
9940
|
|