@azure/arm-netapp 21.2.1-alpha.20241024.1 → 21.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -9
- package/dist/index.js +680 -117
- 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/accountsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/accountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accountsGetSample.js +1 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/accountsListSample.js +1 -1
- package/dist-esm/samples-dev/accountsRenewCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesCreateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsListByNetAppAccountSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupsCreateSample.js +1 -1
- package/dist-esm/samples-dev/backupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetLatestStatusSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetVolumeLatestRestoreStatusSample.js +1 -1
- package/dist-esm/samples-dev/backupsListByVaultSample.js +1 -1
- package/dist-esm/samples-dev/backupsUnderAccountMigrateBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupsUnderBackupVaultRestoreFilesSample.js +1 -1
- package/dist-esm/samples-dev/backupsUnderVolumeMigrateBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.js +7 -3
- package/dist-esm/samples-dev/netAppResourceCheckFilePathAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceCheckQuotaAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQueryNetworkSiblingSetSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQueryRegionInfoSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsGetSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceQuotaLimitsListSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceRegionInfosGetSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceRegionInfosListSample.js +1 -1
- package/dist-esm/samples-dev/netAppResourceUpdateNetworkSiblingSetSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/poolsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolsGetSample.js +1 -1
- package/dist-esm/samples-dev/poolsListSample.js +1 -1
- package/dist-esm/samples-dev/poolsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesCreateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesListVolumesSample.js +1 -1
- package/dist-esm/samples-dev/snapshotPoliciesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsCreateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsGetSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsListSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsRestoreFilesSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesCreateSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesGetMetadataSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesGetSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesListByVolumeSample.js +1 -1
- package/dist-esm/samples-dev/subvolumesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +2 -2
- package/dist-esm/samples-dev/volumeGroupsListByNetAppAccountSample.js +2 -2
- package/dist-esm/samples-dev/volumeQuotaRulesCreateSample.js +1 -1
- package/dist-esm/samples-dev/volumeQuotaRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumeQuotaRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/volumeQuotaRulesListByVolumeSample.js +1 -1
- package/dist-esm/samples-dev/volumeQuotaRulesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesAuthorizeExternalReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesAuthorizeExternalReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesAuthorizeExternalReplicationSample.js +41 -0
- package/dist-esm/samples-dev/volumesAuthorizeExternalReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesAuthorizeReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesBreakFileLocksSample.js +1 -1
- package/dist-esm/samples-dev/volumesBreakReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesDeleteReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumesFinalizeExternalReplicationSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesFinalizeExternalReplicationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesFinalizeExternalReplicationSample.js +41 -0
- package/dist-esm/samples-dev/volumesFinalizeExternalReplicationSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesFinalizeRelocationSample.js +1 -1
- package/dist-esm/samples-dev/volumesGetSample.js +1 -1
- package/dist-esm/samples-dev/volumesListGetGroupIdListForLdapUserSample.js +1 -1
- package/dist-esm/samples-dev/volumesListReplicationsSample.js +1 -1
- package/dist-esm/samples-dev/volumesListSample.js +1 -1
- package/dist-esm/samples-dev/volumesPeerExternalClusterSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesPeerExternalClusterSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesPeerExternalClusterSample.js +51 -0
- package/dist-esm/samples-dev/volumesPeerExternalClusterSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesPerformReplicationTransferSample.d.ts +2 -0
- package/dist-esm/samples-dev/volumesPerformReplicationTransferSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/volumesPerformReplicationTransferSample.js +41 -0
- package/dist-esm/samples-dev/volumesPerformReplicationTransferSample.js.map +1 -0
- package/dist-esm/samples-dev/volumesPoolChangeSample.js +1 -1
- package/dist-esm/samples-dev/volumesPopulateAvailabilityZoneSample.js +1 -1
- package/dist-esm/samples-dev/volumesReInitializeReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesReestablishReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesRelocateSample.js +1 -1
- package/dist-esm/samples-dev/volumesReplicationStatusSample.js +1 -1
- package/dist-esm/samples-dev/volumesResetCifsPasswordSample.js +1 -1
- package/dist-esm/samples-dev/volumesResyncReplicationSample.js +1 -1
- package/dist-esm/samples-dev/volumesRevertRelocationSample.js +1 -1
- package/dist-esm/samples-dev/volumesRevertSample.js +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +99 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +8 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +166 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +9 -7
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +29 -21
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/netAppManagementClient.js +2 -2
- package/dist-esm/src/operations/backupPolicies.js +2 -2
- package/dist-esm/src/operations/backupVaults.js +2 -2
- package/dist-esm/src/operations/backups.js +2 -2
- package/dist-esm/src/operations/backupsUnderAccount.js +1 -1
- package/dist-esm/src/operations/backupsUnderBackupVault.js +1 -1
- package/dist-esm/src/operations/backupsUnderVolume.js +1 -1
- package/dist-esm/src/operations/netAppResource.js +5 -1
- package/dist-esm/src/operations/netAppResource.js.map +1 -1
- package/dist-esm/src/operations/snapshotPolicies.js +2 -2
- package/dist-esm/src/operations/snapshots.js +3 -3
- package/dist-esm/src/operations/subvolumes.js +2 -2
- package/dist-esm/src/operations/volumeGroups.js +1 -1
- package/dist-esm/src/operations/volumeQuotaRules.js +2 -2
- package/dist-esm/src/operations/volumes.d.ts +79 -1
- package/dist-esm/src/operations/volumes.d.ts.map +1 -1
- package/dist-esm/src/operations/volumes.js +385 -2
- package/dist-esm/src/operations/volumes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/volumes.d.ts +79 -1
- package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -1
- package/package.json +28 -29
- package/review/arm-netapp.api.md +96 -1
- package/src/models/index.ts +170 -54
- package/src/models/mappers.ts +179 -2
- package/src/models/parameters.ts +31 -20
- package/src/netAppManagementClient.ts +2 -2
- package/src/operations/backupPolicies.ts +2 -2
- package/src/operations/backupVaults.ts +2 -2
- package/src/operations/backups.ts +2 -2
- package/src/operations/backupsUnderAccount.ts +1 -1
- package/src/operations/backupsUnderBackupVault.ts +1 -1
- package/src/operations/backupsUnderVolume.ts +1 -1
- package/src/operations/netAppResource.ts +5 -1
- package/src/operations/snapshotPolicies.ts +2 -2
- package/src/operations/snapshots.ts +3 -3
- package/src/operations/subvolumes.ts +2 -2
- package/src/operations/volumeGroups.ts +1 -1
- package/src/operations/volumeQuotaRules.ts +2 -2
- package/src/operations/volumes.ts +557 -2
- package/src/operationsInterfaces/volumes.ts +157 -0
- package/types/arm-netapp.d.ts +193 -7
package/dist/index.js
CHANGED
|
@@ -843,6 +843,13 @@ const FilePathAvailabilityRequest = {
|
|
|
843
843
|
name: "String",
|
|
844
844
|
},
|
|
845
845
|
},
|
|
846
|
+
availabilityZone: {
|
|
847
|
+
serializedName: "availabilityZone",
|
|
848
|
+
nullable: true,
|
|
849
|
+
type: {
|
|
850
|
+
name: "String",
|
|
851
|
+
},
|
|
852
|
+
},
|
|
846
853
|
},
|
|
847
854
|
},
|
|
848
855
|
};
|
|
@@ -1332,7 +1339,7 @@ const ActiveDirectory = {
|
|
|
1332
1339
|
},
|
|
1333
1340
|
kdcIP: {
|
|
1334
1341
|
constraints: {
|
|
1335
|
-
Pattern: new RegExp("^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
|
|
1342
|
+
Pattern: new RegExp("^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"),
|
|
1336
1343
|
},
|
|
1337
1344
|
serializedName: "kdcIP",
|
|
1338
1345
|
type: {
|
|
@@ -2071,11 +2078,17 @@ const ReplicationObject = {
|
|
|
2071
2078
|
},
|
|
2072
2079
|
remoteVolumeResourceId: {
|
|
2073
2080
|
serializedName: "remoteVolumeResourceId",
|
|
2074
|
-
required: true,
|
|
2075
2081
|
type: {
|
|
2076
2082
|
name: "String",
|
|
2077
2083
|
},
|
|
2078
2084
|
},
|
|
2085
|
+
remotePath: {
|
|
2086
|
+
serializedName: "remotePath",
|
|
2087
|
+
type: {
|
|
2088
|
+
name: "Composite",
|
|
2089
|
+
className: "RemotePath",
|
|
2090
|
+
},
|
|
2091
|
+
},
|
|
2079
2092
|
remoteVolumeRegion: {
|
|
2080
2093
|
serializedName: "remoteVolumeRegion",
|
|
2081
2094
|
type: {
|
|
@@ -2085,6 +2098,35 @@ const ReplicationObject = {
|
|
|
2085
2098
|
},
|
|
2086
2099
|
},
|
|
2087
2100
|
};
|
|
2101
|
+
const RemotePath = {
|
|
2102
|
+
type: {
|
|
2103
|
+
name: "Composite",
|
|
2104
|
+
className: "RemotePath",
|
|
2105
|
+
modelProperties: {
|
|
2106
|
+
externalHostName: {
|
|
2107
|
+
serializedName: "externalHostName",
|
|
2108
|
+
required: true,
|
|
2109
|
+
type: {
|
|
2110
|
+
name: "String",
|
|
2111
|
+
},
|
|
2112
|
+
},
|
|
2113
|
+
serverName: {
|
|
2114
|
+
serializedName: "serverName",
|
|
2115
|
+
required: true,
|
|
2116
|
+
type: {
|
|
2117
|
+
name: "String",
|
|
2118
|
+
},
|
|
2119
|
+
},
|
|
2120
|
+
volumeName: {
|
|
2121
|
+
serializedName: "volumeName",
|
|
2122
|
+
required: true,
|
|
2123
|
+
type: {
|
|
2124
|
+
name: "String",
|
|
2125
|
+
},
|
|
2126
|
+
},
|
|
2127
|
+
},
|
|
2128
|
+
},
|
|
2129
|
+
};
|
|
2088
2130
|
const VolumeSnapshotProperties = {
|
|
2089
2131
|
type: {
|
|
2090
2132
|
name: "Composite",
|
|
@@ -2569,6 +2611,57 @@ const AuthorizeRequest = {
|
|
|
2569
2611
|
},
|
|
2570
2612
|
},
|
|
2571
2613
|
};
|
|
2614
|
+
const PeerClusterForVolumeMigrationRequest = {
|
|
2615
|
+
type: {
|
|
2616
|
+
name: "Composite",
|
|
2617
|
+
className: "PeerClusterForVolumeMigrationRequest",
|
|
2618
|
+
modelProperties: {
|
|
2619
|
+
peerIpAddresses: {
|
|
2620
|
+
constraints: {
|
|
2621
|
+
MinItems: 1,
|
|
2622
|
+
},
|
|
2623
|
+
serializedName: "peerIpAddresses",
|
|
2624
|
+
required: true,
|
|
2625
|
+
type: {
|
|
2626
|
+
name: "Sequence",
|
|
2627
|
+
element: {
|
|
2628
|
+
type: {
|
|
2629
|
+
name: "String",
|
|
2630
|
+
},
|
|
2631
|
+
},
|
|
2632
|
+
},
|
|
2633
|
+
},
|
|
2634
|
+
},
|
|
2635
|
+
},
|
|
2636
|
+
};
|
|
2637
|
+
const ClusterPeerCommandResponse = {
|
|
2638
|
+
type: {
|
|
2639
|
+
name: "Composite",
|
|
2640
|
+
className: "ClusterPeerCommandResponse",
|
|
2641
|
+
modelProperties: {
|
|
2642
|
+
peerAcceptCommand: {
|
|
2643
|
+
serializedName: "peerAcceptCommand",
|
|
2644
|
+
type: {
|
|
2645
|
+
name: "String",
|
|
2646
|
+
},
|
|
2647
|
+
},
|
|
2648
|
+
},
|
|
2649
|
+
},
|
|
2650
|
+
};
|
|
2651
|
+
const SvmPeerCommandResponse = {
|
|
2652
|
+
type: {
|
|
2653
|
+
name: "Composite",
|
|
2654
|
+
className: "SvmPeerCommandResponse",
|
|
2655
|
+
modelProperties: {
|
|
2656
|
+
svmPeeringCommand: {
|
|
2657
|
+
serializedName: "svmPeeringCommand",
|
|
2658
|
+
type: {
|
|
2659
|
+
name: "String",
|
|
2660
|
+
},
|
|
2661
|
+
},
|
|
2662
|
+
},
|
|
2663
|
+
},
|
|
2664
|
+
};
|
|
2572
2665
|
const PoolChangeRequest = {
|
|
2573
2666
|
type: {
|
|
2574
2667
|
name: "Composite",
|
|
@@ -3461,6 +3554,14 @@ const VolumeGroupVolumeProperties = {
|
|
|
3461
3554
|
name: "String",
|
|
3462
3555
|
},
|
|
3463
3556
|
},
|
|
3557
|
+
effectiveNetworkFeatures: {
|
|
3558
|
+
defaultValue: "Basic",
|
|
3559
|
+
serializedName: "properties.effectiveNetworkFeatures",
|
|
3560
|
+
readOnly: true,
|
|
3561
|
+
type: {
|
|
3562
|
+
name: "String",
|
|
3563
|
+
},
|
|
3564
|
+
},
|
|
3464
3565
|
networkSiblingSetId: {
|
|
3465
3566
|
constraints: {
|
|
3466
3567
|
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}$"),
|
|
@@ -4851,6 +4952,13 @@ const Volume = {
|
|
|
4851
4952
|
type: {
|
|
4852
4953
|
name: "String",
|
|
4853
4954
|
},
|
|
4955
|
+
}, effectiveNetworkFeatures: {
|
|
4956
|
+
defaultValue: "Basic",
|
|
4957
|
+
serializedName: "properties.effectiveNetworkFeatures",
|
|
4958
|
+
readOnly: true,
|
|
4959
|
+
type: {
|
|
4960
|
+
name: "String",
|
|
4961
|
+
},
|
|
4854
4962
|
}, networkSiblingSetId: {
|
|
4855
4963
|
constraints: {
|
|
4856
4964
|
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}$"),
|
|
@@ -5355,6 +5463,62 @@ const VolumesListGetGroupIdListForLdapUserHeaders = {
|
|
|
5355
5463
|
},
|
|
5356
5464
|
},
|
|
5357
5465
|
};
|
|
5466
|
+
const VolumesPeerExternalClusterHeaders = {
|
|
5467
|
+
type: {
|
|
5468
|
+
name: "Composite",
|
|
5469
|
+
className: "VolumesPeerExternalClusterHeaders",
|
|
5470
|
+
modelProperties: {
|
|
5471
|
+
location: {
|
|
5472
|
+
serializedName: "location",
|
|
5473
|
+
type: {
|
|
5474
|
+
name: "String",
|
|
5475
|
+
},
|
|
5476
|
+
},
|
|
5477
|
+
},
|
|
5478
|
+
},
|
|
5479
|
+
};
|
|
5480
|
+
const VolumesAuthorizeExternalReplicationHeaders = {
|
|
5481
|
+
type: {
|
|
5482
|
+
name: "Composite",
|
|
5483
|
+
className: "VolumesAuthorizeExternalReplicationHeaders",
|
|
5484
|
+
modelProperties: {
|
|
5485
|
+
location: {
|
|
5486
|
+
serializedName: "location",
|
|
5487
|
+
type: {
|
|
5488
|
+
name: "String",
|
|
5489
|
+
},
|
|
5490
|
+
},
|
|
5491
|
+
},
|
|
5492
|
+
},
|
|
5493
|
+
};
|
|
5494
|
+
const VolumesFinalizeExternalReplicationHeaders = {
|
|
5495
|
+
type: {
|
|
5496
|
+
name: "Composite",
|
|
5497
|
+
className: "VolumesFinalizeExternalReplicationHeaders",
|
|
5498
|
+
modelProperties: {
|
|
5499
|
+
location: {
|
|
5500
|
+
serializedName: "location",
|
|
5501
|
+
type: {
|
|
5502
|
+
name: "String",
|
|
5503
|
+
},
|
|
5504
|
+
},
|
|
5505
|
+
},
|
|
5506
|
+
},
|
|
5507
|
+
};
|
|
5508
|
+
const VolumesPerformReplicationTransferHeaders = {
|
|
5509
|
+
type: {
|
|
5510
|
+
name: "Composite",
|
|
5511
|
+
className: "VolumesPerformReplicationTransferHeaders",
|
|
5512
|
+
modelProperties: {
|
|
5513
|
+
location: {
|
|
5514
|
+
serializedName: "location",
|
|
5515
|
+
type: {
|
|
5516
|
+
name: "String",
|
|
5517
|
+
},
|
|
5518
|
+
},
|
|
5519
|
+
},
|
|
5520
|
+
},
|
|
5521
|
+
};
|
|
5358
5522
|
const BackupsUpdateHeaders = {
|
|
5359
5523
|
type: {
|
|
5360
5524
|
name: "Composite",
|
|
@@ -5486,6 +5650,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5486
5650
|
CheckAvailabilityResponse: CheckAvailabilityResponse,
|
|
5487
5651
|
CloudError: CloudError,
|
|
5488
5652
|
CloudErrorBody: CloudErrorBody,
|
|
5653
|
+
ClusterPeerCommandResponse: ClusterPeerCommandResponse,
|
|
5489
5654
|
DailySchedule: DailySchedule,
|
|
5490
5655
|
Dimension: Dimension,
|
|
5491
5656
|
EncryptionIdentity: EncryptionIdentity,
|
|
@@ -5515,6 +5680,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5515
5680
|
Operation: Operation,
|
|
5516
5681
|
OperationDisplay: OperationDisplay,
|
|
5517
5682
|
OperationListResult: OperationListResult,
|
|
5683
|
+
PeerClusterForVolumeMigrationRequest: PeerClusterForVolumeMigrationRequest,
|
|
5518
5684
|
PlacementKeyValuePairs: PlacementKeyValuePairs,
|
|
5519
5685
|
PoolChangeRequest: PoolChangeRequest,
|
|
5520
5686
|
ProxyResource: ProxyResource,
|
|
@@ -5526,6 +5692,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5526
5692
|
RegionInfoResource: RegionInfoResource,
|
|
5527
5693
|
RegionInfosList: RegionInfosList,
|
|
5528
5694
|
RelocateVolumeRequest: RelocateVolumeRequest,
|
|
5695
|
+
RemotePath: RemotePath,
|
|
5529
5696
|
Replication: Replication,
|
|
5530
5697
|
ReplicationObject: ReplicationObject,
|
|
5531
5698
|
ReplicationStatus: ReplicationStatus,
|
|
@@ -5548,6 +5715,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5548
5715
|
SubvolumeModel: SubvolumeModel,
|
|
5549
5716
|
SubvolumePatchRequest: SubvolumePatchRequest,
|
|
5550
5717
|
SubvolumesList: SubvolumesList,
|
|
5718
|
+
SvmPeerCommandResponse: SvmPeerCommandResponse,
|
|
5551
5719
|
SystemData: SystemData,
|
|
5552
5720
|
TrackedResource: TrackedResource,
|
|
5553
5721
|
UpdateNetworkSiblingSetRequest: UpdateNetworkSiblingSetRequest,
|
|
@@ -5572,8 +5740,12 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
5572
5740
|
VolumeRelocationProperties: VolumeRelocationProperties,
|
|
5573
5741
|
VolumeRevert: VolumeRevert,
|
|
5574
5742
|
VolumeSnapshotProperties: VolumeSnapshotProperties,
|
|
5743
|
+
VolumesAuthorizeExternalReplicationHeaders: VolumesAuthorizeExternalReplicationHeaders,
|
|
5575
5744
|
VolumesBreakFileLocksHeaders: VolumesBreakFileLocksHeaders,
|
|
5745
|
+
VolumesFinalizeExternalReplicationHeaders: VolumesFinalizeExternalReplicationHeaders,
|
|
5576
5746
|
VolumesListGetGroupIdListForLdapUserHeaders: VolumesListGetGroupIdListForLdapUserHeaders,
|
|
5747
|
+
VolumesPeerExternalClusterHeaders: VolumesPeerExternalClusterHeaders,
|
|
5748
|
+
VolumesPerformReplicationTransferHeaders: VolumesPerformReplicationTransferHeaders,
|
|
5577
5749
|
VolumesPopulateAvailabilityZoneHeaders: VolumesPopulateAvailabilityZoneHeaders,
|
|
5578
5750
|
VolumesResetCifsPasswordHeaders: VolumesResetCifsPasswordHeaders,
|
|
5579
5751
|
WeeklySchedule: WeeklySchedule
|
|
@@ -5611,7 +5783,7 @@ const $host = {
|
|
|
5611
5783
|
const apiVersion = {
|
|
5612
5784
|
parameterPath: "apiVersion",
|
|
5613
5785
|
mapper: {
|
|
5614
|
-
defaultValue: "2024-
|
|
5786
|
+
defaultValue: "2024-07-01",
|
|
5615
5787
|
isConstant: true,
|
|
5616
5788
|
serializedName: "api-version",
|
|
5617
5789
|
type: {
|
|
@@ -5790,9 +5962,13 @@ const body16 = {
|
|
|
5790
5962
|
};
|
|
5791
5963
|
const body17 = {
|
|
5792
5964
|
parameterPath: "body",
|
|
5793
|
-
mapper:
|
|
5965
|
+
mapper: PeerClusterForVolumeMigrationRequest,
|
|
5794
5966
|
};
|
|
5795
5967
|
const body18 = {
|
|
5968
|
+
parameterPath: "body",
|
|
5969
|
+
mapper: PoolChangeRequest,
|
|
5970
|
+
};
|
|
5971
|
+
const body19 = {
|
|
5796
5972
|
parameterPath: ["options", "body"],
|
|
5797
5973
|
mapper: RelocateVolumeRequest,
|
|
5798
5974
|
};
|
|
@@ -5806,11 +5982,11 @@ const snapshotName = {
|
|
|
5806
5982
|
},
|
|
5807
5983
|
},
|
|
5808
5984
|
};
|
|
5809
|
-
const
|
|
5985
|
+
const body20 = {
|
|
5810
5986
|
parameterPath: "body",
|
|
5811
5987
|
mapper: Snapshot,
|
|
5812
5988
|
};
|
|
5813
|
-
const
|
|
5989
|
+
const body21 = {
|
|
5814
5990
|
parameterPath: "body",
|
|
5815
5991
|
mapper: {
|
|
5816
5992
|
serializedName: "body",
|
|
@@ -5821,7 +5997,7 @@ const body20 = {
|
|
|
5821
5997
|
},
|
|
5822
5998
|
},
|
|
5823
5999
|
};
|
|
5824
|
-
const
|
|
6000
|
+
const body22 = {
|
|
5825
6001
|
parameterPath: "body",
|
|
5826
6002
|
mapper: SnapshotRestoreFiles,
|
|
5827
6003
|
};
|
|
@@ -5835,11 +6011,11 @@ const snapshotPolicyName = {
|
|
|
5835
6011
|
},
|
|
5836
6012
|
},
|
|
5837
6013
|
};
|
|
5838
|
-
const
|
|
6014
|
+
const body23 = {
|
|
5839
6015
|
parameterPath: "body",
|
|
5840
6016
|
mapper: SnapshotPolicy,
|
|
5841
6017
|
};
|
|
5842
|
-
const
|
|
6018
|
+
const body24 = {
|
|
5843
6019
|
parameterPath: "body",
|
|
5844
6020
|
mapper: SnapshotPolicyPatch,
|
|
5845
6021
|
};
|
|
@@ -5853,11 +6029,11 @@ const backupPolicyName = {
|
|
|
5853
6029
|
},
|
|
5854
6030
|
},
|
|
5855
6031
|
};
|
|
5856
|
-
const
|
|
6032
|
+
const body25 = {
|
|
5857
6033
|
parameterPath: "body",
|
|
5858
6034
|
mapper: BackupPolicy,
|
|
5859
6035
|
};
|
|
5860
|
-
const
|
|
6036
|
+
const body26 = {
|
|
5861
6037
|
parameterPath: "body",
|
|
5862
6038
|
mapper: BackupPolicyPatch,
|
|
5863
6039
|
};
|
|
@@ -5871,11 +6047,11 @@ const volumeQuotaRuleName = {
|
|
|
5871
6047
|
},
|
|
5872
6048
|
},
|
|
5873
6049
|
};
|
|
5874
|
-
const
|
|
6050
|
+
const body27 = {
|
|
5875
6051
|
parameterPath: "body",
|
|
5876
6052
|
mapper: VolumeQuotaRule,
|
|
5877
6053
|
};
|
|
5878
|
-
const
|
|
6054
|
+
const body28 = {
|
|
5879
6055
|
parameterPath: "body",
|
|
5880
6056
|
mapper: VolumeQuotaRulePatch,
|
|
5881
6057
|
};
|
|
@@ -5894,7 +6070,7 @@ const volumeGroupName = {
|
|
|
5894
6070
|
},
|
|
5895
6071
|
},
|
|
5896
6072
|
};
|
|
5897
|
-
const
|
|
6073
|
+
const body29 = {
|
|
5898
6074
|
parameterPath: "body",
|
|
5899
6075
|
mapper: VolumeGroupDetails,
|
|
5900
6076
|
};
|
|
@@ -5913,11 +6089,11 @@ const subvolumeName = {
|
|
|
5913
6089
|
},
|
|
5914
6090
|
},
|
|
5915
6091
|
};
|
|
5916
|
-
const
|
|
6092
|
+
const body30 = {
|
|
5917
6093
|
parameterPath: "body",
|
|
5918
6094
|
mapper: SubvolumeInfo,
|
|
5919
6095
|
};
|
|
5920
|
-
const
|
|
6096
|
+
const body31 = {
|
|
5921
6097
|
parameterPath: "body",
|
|
5922
6098
|
mapper: SubvolumePatchRequest,
|
|
5923
6099
|
};
|
|
@@ -5956,27 +6132,27 @@ const backupName = {
|
|
|
5956
6132
|
},
|
|
5957
6133
|
},
|
|
5958
6134
|
};
|
|
5959
|
-
const
|
|
6135
|
+
const body32 = {
|
|
5960
6136
|
parameterPath: "body",
|
|
5961
6137
|
mapper: Backup,
|
|
5962
6138
|
};
|
|
5963
|
-
const
|
|
6139
|
+
const body33 = {
|
|
5964
6140
|
parameterPath: ["options", "body"],
|
|
5965
6141
|
mapper: BackupPatch,
|
|
5966
6142
|
};
|
|
5967
|
-
const
|
|
6143
|
+
const body34 = {
|
|
5968
6144
|
parameterPath: "body",
|
|
5969
6145
|
mapper: BackupVault,
|
|
5970
6146
|
};
|
|
5971
|
-
const
|
|
6147
|
+
const body35 = {
|
|
5972
6148
|
parameterPath: "body",
|
|
5973
6149
|
mapper: BackupVaultPatch,
|
|
5974
6150
|
};
|
|
5975
|
-
const
|
|
6151
|
+
const body36 = {
|
|
5976
6152
|
parameterPath: "body",
|
|
5977
6153
|
mapper: BackupRestoreFiles,
|
|
5978
6154
|
};
|
|
5979
|
-
const
|
|
6155
|
+
const body37 = {
|
|
5980
6156
|
parameterPath: "body",
|
|
5981
6157
|
mapper: BackupsMigrationRequest,
|
|
5982
6158
|
};
|
|
@@ -6284,7 +6460,11 @@ const checkFilePathAvailabilityOperationSpec = {
|
|
|
6284
6460
|
},
|
|
6285
6461
|
},
|
|
6286
6462
|
requestBody: {
|
|
6287
|
-
parameterPath: {
|
|
6463
|
+
parameterPath: {
|
|
6464
|
+
name: ["name"],
|
|
6465
|
+
subnetId: ["subnetId"],
|
|
6466
|
+
availabilityZone: ["options", "availabilityZone"],
|
|
6467
|
+
},
|
|
6288
6468
|
mapper: Object.assign(Object.assign({}, FilePathAvailabilityRequest), { required: true }),
|
|
6289
6469
|
},
|
|
6290
6470
|
queryParameters: [apiVersion],
|
|
@@ -8851,15 +9031,15 @@ class VolumesImpl {
|
|
|
8851
9031
|
});
|
|
8852
9032
|
}
|
|
8853
9033
|
/**
|
|
8854
|
-
*
|
|
9034
|
+
* Starts peering the external cluster for this migration volume
|
|
8855
9035
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8856
9036
|
* @param accountName The name of the NetApp account
|
|
8857
9037
|
* @param poolName The name of the capacity pool
|
|
8858
9038
|
* @param volumeName The name of the volume
|
|
8859
|
-
* @param body
|
|
9039
|
+
* @param body Cluster peer request object supplied in the body of the operation.
|
|
8860
9040
|
* @param options The options parameters.
|
|
8861
9041
|
*/
|
|
8862
|
-
|
|
9042
|
+
beginPeerExternalCluster(resourceGroupName, accountName, poolName, volumeName, body, options) {
|
|
8863
9043
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8864
9044
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8865
9045
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -8893,7 +9073,7 @@ class VolumesImpl {
|
|
|
8893
9073
|
body,
|
|
8894
9074
|
options,
|
|
8895
9075
|
},
|
|
8896
|
-
spec:
|
|
9076
|
+
spec: peerExternalClusterOperationSpec,
|
|
8897
9077
|
});
|
|
8898
9078
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8899
9079
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
@@ -8905,29 +9085,30 @@ class VolumesImpl {
|
|
|
8905
9085
|
});
|
|
8906
9086
|
}
|
|
8907
9087
|
/**
|
|
8908
|
-
*
|
|
9088
|
+
* Starts peering the external cluster for this migration volume
|
|
8909
9089
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8910
9090
|
* @param accountName The name of the NetApp account
|
|
8911
9091
|
* @param poolName The name of the capacity pool
|
|
8912
9092
|
* @param volumeName The name of the volume
|
|
8913
|
-
* @param body
|
|
9093
|
+
* @param body Cluster peer request object supplied in the body of the operation.
|
|
8914
9094
|
* @param options The options parameters.
|
|
8915
9095
|
*/
|
|
8916
|
-
|
|
9096
|
+
beginPeerExternalClusterAndWait(resourceGroupName, accountName, poolName, volumeName, body, options) {
|
|
8917
9097
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8918
|
-
const poller = yield this.
|
|
9098
|
+
const poller = yield this.beginPeerExternalCluster(resourceGroupName, accountName, poolName, volumeName, body, options);
|
|
8919
9099
|
return poller.pollUntilDone();
|
|
8920
9100
|
});
|
|
8921
9101
|
}
|
|
8922
9102
|
/**
|
|
8923
|
-
*
|
|
9103
|
+
* Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM
|
|
9104
|
+
* have been peered a SnapMirror will be created
|
|
8924
9105
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8925
9106
|
* @param accountName The name of the NetApp account
|
|
8926
9107
|
* @param poolName The name of the capacity pool
|
|
8927
9108
|
* @param volumeName The name of the volume
|
|
8928
9109
|
* @param options The options parameters.
|
|
8929
9110
|
*/
|
|
8930
|
-
|
|
9111
|
+
beginAuthorizeExternalReplication(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
8931
9112
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8932
9113
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8933
9114
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -8954,39 +9135,42 @@ class VolumesImpl {
|
|
|
8954
9135
|
const lro = createLroSpec({
|
|
8955
9136
|
sendOperationFn,
|
|
8956
9137
|
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
8957
|
-
spec:
|
|
9138
|
+
spec: authorizeExternalReplicationOperationSpec,
|
|
8958
9139
|
});
|
|
8959
9140
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8960
9141
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8961
9142
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9143
|
+
resourceLocationConfig: "location",
|
|
8962
9144
|
});
|
|
8963
9145
|
yield poller.poll();
|
|
8964
9146
|
return poller;
|
|
8965
9147
|
});
|
|
8966
9148
|
}
|
|
8967
9149
|
/**
|
|
8968
|
-
*
|
|
9150
|
+
* Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM
|
|
9151
|
+
* have been peered a SnapMirror will be created
|
|
8969
9152
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8970
9153
|
* @param accountName The name of the NetApp account
|
|
8971
9154
|
* @param poolName The name of the capacity pool
|
|
8972
9155
|
* @param volumeName The name of the volume
|
|
8973
9156
|
* @param options The options parameters.
|
|
8974
9157
|
*/
|
|
8975
|
-
|
|
9158
|
+
beginAuthorizeExternalReplicationAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
8976
9159
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8977
|
-
const poller = yield this.
|
|
9160
|
+
const poller = yield this.beginAuthorizeExternalReplication(resourceGroupName, accountName, poolName, volumeName, options);
|
|
8978
9161
|
return poller.pollUntilDone();
|
|
8979
9162
|
});
|
|
8980
9163
|
}
|
|
8981
9164
|
/**
|
|
8982
|
-
* Finalizes the
|
|
9165
|
+
* Finalizes the migration of an external volume by releasing the replication and breaking the external
|
|
9166
|
+
* cluster peering if no other migration is active.
|
|
8983
9167
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8984
9168
|
* @param accountName The name of the NetApp account
|
|
8985
9169
|
* @param poolName The name of the capacity pool
|
|
8986
9170
|
* @param volumeName The name of the volume
|
|
8987
9171
|
* @param options The options parameters.
|
|
8988
9172
|
*/
|
|
8989
|
-
|
|
9173
|
+
beginFinalizeExternalReplication(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
8990
9174
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8991
9175
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8992
9176
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -9013,40 +9197,41 @@ class VolumesImpl {
|
|
|
9013
9197
|
const lro = createLroSpec({
|
|
9014
9198
|
sendOperationFn,
|
|
9015
9199
|
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
9016
|
-
spec:
|
|
9200
|
+
spec: finalizeExternalReplicationOperationSpec,
|
|
9017
9201
|
});
|
|
9018
9202
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9019
9203
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9020
9204
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9205
|
+
resourceLocationConfig: "location",
|
|
9021
9206
|
});
|
|
9022
9207
|
yield poller.poll();
|
|
9023
9208
|
return poller;
|
|
9024
9209
|
});
|
|
9025
9210
|
}
|
|
9026
9211
|
/**
|
|
9027
|
-
* Finalizes the
|
|
9212
|
+
* Finalizes the migration of an external volume by releasing the replication and breaking the external
|
|
9213
|
+
* cluster peering if no other migration is active.
|
|
9028
9214
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9029
9215
|
* @param accountName The name of the NetApp account
|
|
9030
9216
|
* @param poolName The name of the capacity pool
|
|
9031
9217
|
* @param volumeName The name of the volume
|
|
9032
9218
|
* @param options The options parameters.
|
|
9033
9219
|
*/
|
|
9034
|
-
|
|
9220
|
+
beginFinalizeExternalReplicationAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9035
9221
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9036
|
-
const poller = yield this.
|
|
9222
|
+
const poller = yield this.beginFinalizeExternalReplication(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9037
9223
|
return poller.pollUntilDone();
|
|
9038
9224
|
});
|
|
9039
9225
|
}
|
|
9040
9226
|
/**
|
|
9041
|
-
*
|
|
9042
|
-
* volume.
|
|
9227
|
+
* Performs an adhoc replication transfer on a volume with volumeType Migration
|
|
9043
9228
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9044
9229
|
* @param accountName The name of the NetApp account
|
|
9045
9230
|
* @param poolName The name of the capacity pool
|
|
9046
9231
|
* @param volumeName The name of the volume
|
|
9047
9232
|
* @param options The options parameters.
|
|
9048
9233
|
*/
|
|
9049
|
-
|
|
9234
|
+
beginPerformReplicationTransfer(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9050
9235
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9051
9236
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9052
9237
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -9073,80 +9258,328 @@ class VolumesImpl {
|
|
|
9073
9258
|
const lro = createLroSpec({
|
|
9074
9259
|
sendOperationFn,
|
|
9075
9260
|
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
9076
|
-
spec:
|
|
9261
|
+
spec: performReplicationTransferOperationSpec,
|
|
9077
9262
|
});
|
|
9078
9263
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9079
9264
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9080
9265
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9266
|
+
resourceLocationConfig: "location",
|
|
9081
9267
|
});
|
|
9082
9268
|
yield poller.poll();
|
|
9083
9269
|
return poller;
|
|
9084
9270
|
});
|
|
9085
9271
|
}
|
|
9086
9272
|
/**
|
|
9087
|
-
*
|
|
9088
|
-
* volume.
|
|
9273
|
+
* Performs an adhoc replication transfer on a volume with volumeType Migration
|
|
9089
9274
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9090
9275
|
* @param accountName The name of the NetApp account
|
|
9091
9276
|
* @param poolName The name of the capacity pool
|
|
9092
9277
|
* @param volumeName The name of the volume
|
|
9093
9278
|
* @param options The options parameters.
|
|
9094
9279
|
*/
|
|
9095
|
-
|
|
9280
|
+
beginPerformReplicationTransferAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9096
9281
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9097
|
-
const poller = yield this.
|
|
9282
|
+
const poller = yield this.beginPerformReplicationTransfer(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9098
9283
|
return poller.pollUntilDone();
|
|
9099
9284
|
});
|
|
9100
9285
|
}
|
|
9101
9286
|
/**
|
|
9102
|
-
*
|
|
9287
|
+
* Moves volume to another pool
|
|
9103
9288
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9104
9289
|
* @param accountName The name of the NetApp account
|
|
9105
9290
|
* @param poolName The name of the capacity pool
|
|
9106
|
-
* @param
|
|
9291
|
+
* @param volumeName The name of the volume
|
|
9292
|
+
* @param body Move volume to the pool supplied in the body of the operation.
|
|
9107
9293
|
* @param options The options parameters.
|
|
9108
9294
|
*/
|
|
9109
|
-
|
|
9110
|
-
return
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
const
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9295
|
+
beginPoolChange(resourceGroupName, accountName, poolName, volumeName, body, options) {
|
|
9296
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9297
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9298
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9299
|
+
});
|
|
9300
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9301
|
+
var _a;
|
|
9302
|
+
let currentRawResponse = undefined;
|
|
9303
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9304
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9305
|
+
currentRawResponse = rawResponse;
|
|
9306
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9307
|
+
};
|
|
9308
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9309
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9310
|
+
return {
|
|
9311
|
+
flatResponse,
|
|
9312
|
+
rawResponse: {
|
|
9313
|
+
statusCode: currentRawResponse.status,
|
|
9314
|
+
body: currentRawResponse.parsedBody,
|
|
9315
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
9316
|
+
},
|
|
9317
|
+
};
|
|
9318
|
+
});
|
|
9319
|
+
const lro = createLroSpec({
|
|
9320
|
+
sendOperationFn,
|
|
9321
|
+
args: {
|
|
9322
|
+
resourceGroupName,
|
|
9323
|
+
accountName,
|
|
9324
|
+
poolName,
|
|
9325
|
+
volumeName,
|
|
9326
|
+
body,
|
|
9327
|
+
options,
|
|
9328
|
+
},
|
|
9329
|
+
spec: poolChangeOperationSpec,
|
|
9330
|
+
});
|
|
9331
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9332
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9333
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9334
|
+
resourceLocationConfig: "location",
|
|
9335
|
+
});
|
|
9336
|
+
yield poller.poll();
|
|
9337
|
+
return poller;
|
|
9338
|
+
});
|
|
9339
|
+
}
|
|
9340
|
+
/**
|
|
9341
|
+
* Moves volume to another pool
|
|
9342
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9343
|
+
* @param accountName The name of the NetApp account
|
|
9344
|
+
* @param poolName The name of the capacity pool
|
|
9345
|
+
* @param volumeName The name of the volume
|
|
9346
|
+
* @param body Move volume to the pool supplied in the body of the operation.
|
|
9347
|
+
* @param options The options parameters.
|
|
9348
|
+
*/
|
|
9349
|
+
beginPoolChangeAndWait(resourceGroupName, accountName, poolName, volumeName, body, options) {
|
|
9350
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9351
|
+
const poller = yield this.beginPoolChange(resourceGroupName, accountName, poolName, volumeName, body, options);
|
|
9352
|
+
return poller.pollUntilDone();
|
|
9353
|
+
});
|
|
9354
|
+
}
|
|
9355
|
+
/**
|
|
9356
|
+
* Relocates volume to a new stamp
|
|
9357
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9358
|
+
* @param accountName The name of the NetApp account
|
|
9359
|
+
* @param poolName The name of the capacity pool
|
|
9360
|
+
* @param volumeName The name of the volume
|
|
9361
|
+
* @param options The options parameters.
|
|
9362
|
+
*/
|
|
9363
|
+
beginRelocate(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9364
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9365
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9366
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9367
|
+
});
|
|
9368
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9369
|
+
var _a;
|
|
9370
|
+
let currentRawResponse = undefined;
|
|
9371
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9372
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9373
|
+
currentRawResponse = rawResponse;
|
|
9374
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9375
|
+
};
|
|
9376
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9377
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9378
|
+
return {
|
|
9379
|
+
flatResponse,
|
|
9380
|
+
rawResponse: {
|
|
9381
|
+
statusCode: currentRawResponse.status,
|
|
9382
|
+
body: currentRawResponse.parsedBody,
|
|
9383
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
9384
|
+
},
|
|
9385
|
+
};
|
|
9386
|
+
});
|
|
9387
|
+
const lro = createLroSpec({
|
|
9388
|
+
sendOperationFn,
|
|
9389
|
+
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
9390
|
+
spec: relocateOperationSpec,
|
|
9391
|
+
});
|
|
9392
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9393
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9394
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9395
|
+
});
|
|
9396
|
+
yield poller.poll();
|
|
9397
|
+
return poller;
|
|
9398
|
+
});
|
|
9399
|
+
}
|
|
9400
|
+
/**
|
|
9401
|
+
* Relocates volume to a new stamp
|
|
9402
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
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 options The options parameters.
|
|
9407
|
+
*/
|
|
9408
|
+
beginRelocateAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9409
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9410
|
+
const poller = yield this.beginRelocate(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9411
|
+
return poller.pollUntilDone();
|
|
9412
|
+
});
|
|
9413
|
+
}
|
|
9414
|
+
/**
|
|
9415
|
+
* Finalizes the relocation of the volume and cleans up the old volume.
|
|
9416
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9417
|
+
* @param accountName The name of the NetApp account
|
|
9418
|
+
* @param poolName The name of the capacity pool
|
|
9419
|
+
* @param volumeName The name of the volume
|
|
9420
|
+
* @param options The options parameters.
|
|
9421
|
+
*/
|
|
9422
|
+
beginFinalizeRelocation(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9423
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9424
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9425
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9426
|
+
});
|
|
9427
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9428
|
+
var _a;
|
|
9429
|
+
let currentRawResponse = undefined;
|
|
9430
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9431
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9432
|
+
currentRawResponse = rawResponse;
|
|
9433
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9434
|
+
};
|
|
9435
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9436
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9437
|
+
return {
|
|
9438
|
+
flatResponse,
|
|
9439
|
+
rawResponse: {
|
|
9440
|
+
statusCode: currentRawResponse.status,
|
|
9441
|
+
body: currentRawResponse.parsedBody,
|
|
9442
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
9443
|
+
},
|
|
9444
|
+
};
|
|
9445
|
+
});
|
|
9446
|
+
const lro = createLroSpec({
|
|
9447
|
+
sendOperationFn,
|
|
9448
|
+
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
9449
|
+
spec: finalizeRelocationOperationSpec,
|
|
9450
|
+
});
|
|
9451
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9452
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9453
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9454
|
+
});
|
|
9455
|
+
yield poller.poll();
|
|
9456
|
+
return poller;
|
|
9457
|
+
});
|
|
9458
|
+
}
|
|
9459
|
+
/**
|
|
9460
|
+
* Finalizes the relocation of the volume and cleans up the old volume.
|
|
9461
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9462
|
+
* @param accountName The name of the NetApp account
|
|
9463
|
+
* @param poolName The name of the capacity pool
|
|
9464
|
+
* @param volumeName The name of the volume
|
|
9465
|
+
* @param options The options parameters.
|
|
9466
|
+
*/
|
|
9467
|
+
beginFinalizeRelocationAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9468
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9469
|
+
const poller = yield this.beginFinalizeRelocation(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9470
|
+
return poller.pollUntilDone();
|
|
9471
|
+
});
|
|
9472
|
+
}
|
|
9473
|
+
/**
|
|
9474
|
+
* Reverts the volume relocation process, cleans up the new volume and starts using the former-existing
|
|
9475
|
+
* volume.
|
|
9476
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9477
|
+
* @param accountName The name of the NetApp account
|
|
9478
|
+
* @param poolName The name of the capacity pool
|
|
9479
|
+
* @param volumeName The name of the volume
|
|
9480
|
+
* @param options The options parameters.
|
|
9481
|
+
*/
|
|
9482
|
+
beginRevertRelocation(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9483
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9484
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9485
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9486
|
+
});
|
|
9487
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9488
|
+
var _a;
|
|
9489
|
+
let currentRawResponse = undefined;
|
|
9490
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9491
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9492
|
+
currentRawResponse = rawResponse;
|
|
9493
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9494
|
+
};
|
|
9495
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9496
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9497
|
+
return {
|
|
9498
|
+
flatResponse,
|
|
9499
|
+
rawResponse: {
|
|
9500
|
+
statusCode: currentRawResponse.status,
|
|
9501
|
+
body: currentRawResponse.parsedBody,
|
|
9502
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
9503
|
+
},
|
|
9504
|
+
};
|
|
9505
|
+
});
|
|
9506
|
+
const lro = createLroSpec({
|
|
9507
|
+
sendOperationFn,
|
|
9508
|
+
args: { resourceGroupName, accountName, poolName, volumeName, options },
|
|
9509
|
+
spec: revertRelocationOperationSpec,
|
|
9510
|
+
});
|
|
9511
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9512
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9513
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9514
|
+
});
|
|
9515
|
+
yield poller.poll();
|
|
9516
|
+
return poller;
|
|
9517
|
+
});
|
|
9518
|
+
}
|
|
9519
|
+
/**
|
|
9520
|
+
* Reverts the volume relocation process, cleans up the new volume and starts using the former-existing
|
|
9521
|
+
* volume.
|
|
9522
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9523
|
+
* @param accountName The name of the NetApp account
|
|
9524
|
+
* @param poolName The name of the capacity pool
|
|
9525
|
+
* @param volumeName The name of the volume
|
|
9526
|
+
* @param options The options parameters.
|
|
9527
|
+
*/
|
|
9528
|
+
beginRevertRelocationAndWait(resourceGroupName, accountName, poolName, volumeName, options) {
|
|
9529
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9530
|
+
const poller = yield this.beginRevertRelocation(resourceGroupName, accountName, poolName, volumeName, options);
|
|
9531
|
+
return poller.pollUntilDone();
|
|
9532
|
+
});
|
|
9533
|
+
}
|
|
9534
|
+
/**
|
|
9535
|
+
* ListNext
|
|
9536
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9537
|
+
* @param accountName The name of the NetApp account
|
|
9538
|
+
* @param poolName The name of the capacity pool
|
|
9539
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
9540
|
+
* @param options The options parameters.
|
|
9541
|
+
*/
|
|
9542
|
+
_listNext(resourceGroupName, accountName, poolName, nextLink, options) {
|
|
9543
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, poolName, nextLink, options }, listNextOperationSpec);
|
|
9544
|
+
}
|
|
9545
|
+
}
|
|
9546
|
+
// Operation Specifications
|
|
9547
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9548
|
+
const listOperationSpec$3 = {
|
|
9549
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes",
|
|
9550
|
+
httpMethod: "GET",
|
|
9551
|
+
responses: {
|
|
9552
|
+
200: {
|
|
9553
|
+
bodyMapper: VolumeList,
|
|
9554
|
+
},
|
|
9555
|
+
default: {
|
|
9556
|
+
bodyMapper: ErrorResponse,
|
|
9557
|
+
},
|
|
9558
|
+
},
|
|
9559
|
+
queryParameters: [apiVersion],
|
|
9560
|
+
urlParameters: [
|
|
9561
|
+
$host,
|
|
9562
|
+
subscriptionId,
|
|
9563
|
+
resourceGroupName,
|
|
9564
|
+
accountName,
|
|
9565
|
+
poolName,
|
|
9566
|
+
],
|
|
9567
|
+
headerParameters: [accept],
|
|
9568
|
+
serializer: serializer$b,
|
|
9569
|
+
};
|
|
9570
|
+
const getOperationSpec$8 = {
|
|
9571
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}",
|
|
9572
|
+
httpMethod: "GET",
|
|
9573
|
+
responses: {
|
|
9574
|
+
200: {
|
|
9575
|
+
bodyMapper: Volume,
|
|
9576
|
+
},
|
|
9577
|
+
default: {
|
|
9578
|
+
bodyMapper: ErrorResponse,
|
|
9579
|
+
},
|
|
9580
|
+
},
|
|
9581
|
+
queryParameters: [apiVersion],
|
|
9582
|
+
urlParameters: [
|
|
9150
9583
|
$host,
|
|
9151
9584
|
subscriptionId,
|
|
9152
9585
|
resourceGroupName,
|
|
@@ -9595,6 +10028,136 @@ const reInitializeReplicationOperationSpec = {
|
|
|
9595
10028
|
headerParameters: [accept],
|
|
9596
10029
|
serializer: serializer$b,
|
|
9597
10030
|
};
|
|
10031
|
+
const peerExternalClusterOperationSpec = {
|
|
10032
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster",
|
|
10033
|
+
httpMethod: "POST",
|
|
10034
|
+
responses: {
|
|
10035
|
+
200: {
|
|
10036
|
+
bodyMapper: ClusterPeerCommandResponse,
|
|
10037
|
+
},
|
|
10038
|
+
201: {
|
|
10039
|
+
bodyMapper: ClusterPeerCommandResponse,
|
|
10040
|
+
},
|
|
10041
|
+
202: {
|
|
10042
|
+
bodyMapper: ClusterPeerCommandResponse,
|
|
10043
|
+
},
|
|
10044
|
+
204: {
|
|
10045
|
+
bodyMapper: ClusterPeerCommandResponse,
|
|
10046
|
+
},
|
|
10047
|
+
default: {
|
|
10048
|
+
bodyMapper: ErrorResponse,
|
|
10049
|
+
},
|
|
10050
|
+
},
|
|
10051
|
+
requestBody: body17,
|
|
10052
|
+
queryParameters: [apiVersion],
|
|
10053
|
+
urlParameters: [
|
|
10054
|
+
$host,
|
|
10055
|
+
subscriptionId,
|
|
10056
|
+
resourceGroupName,
|
|
10057
|
+
accountName,
|
|
10058
|
+
poolName,
|
|
10059
|
+
volumeName,
|
|
10060
|
+
],
|
|
10061
|
+
headerParameters: [accept, contentType],
|
|
10062
|
+
mediaType: "json",
|
|
10063
|
+
serializer: serializer$b,
|
|
10064
|
+
};
|
|
10065
|
+
const authorizeExternalReplicationOperationSpec = {
|
|
10066
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication",
|
|
10067
|
+
httpMethod: "POST",
|
|
10068
|
+
responses: {
|
|
10069
|
+
200: {
|
|
10070
|
+
bodyMapper: SvmPeerCommandResponse,
|
|
10071
|
+
},
|
|
10072
|
+
201: {
|
|
10073
|
+
bodyMapper: SvmPeerCommandResponse,
|
|
10074
|
+
},
|
|
10075
|
+
202: {
|
|
10076
|
+
bodyMapper: SvmPeerCommandResponse,
|
|
10077
|
+
},
|
|
10078
|
+
204: {
|
|
10079
|
+
bodyMapper: SvmPeerCommandResponse,
|
|
10080
|
+
},
|
|
10081
|
+
default: {
|
|
10082
|
+
bodyMapper: ErrorResponse,
|
|
10083
|
+
},
|
|
10084
|
+
},
|
|
10085
|
+
queryParameters: [apiVersion],
|
|
10086
|
+
urlParameters: [
|
|
10087
|
+
$host,
|
|
10088
|
+
subscriptionId,
|
|
10089
|
+
resourceGroupName,
|
|
10090
|
+
accountName,
|
|
10091
|
+
poolName,
|
|
10092
|
+
volumeName,
|
|
10093
|
+
],
|
|
10094
|
+
headerParameters: [accept],
|
|
10095
|
+
serializer: serializer$b,
|
|
10096
|
+
};
|
|
10097
|
+
const finalizeExternalReplicationOperationSpec = {
|
|
10098
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication",
|
|
10099
|
+
httpMethod: "POST",
|
|
10100
|
+
responses: {
|
|
10101
|
+
200: {
|
|
10102
|
+
headersMapper: VolumesFinalizeExternalReplicationHeaders,
|
|
10103
|
+
},
|
|
10104
|
+
201: {
|
|
10105
|
+
headersMapper: VolumesFinalizeExternalReplicationHeaders,
|
|
10106
|
+
},
|
|
10107
|
+
202: {
|
|
10108
|
+
headersMapper: VolumesFinalizeExternalReplicationHeaders,
|
|
10109
|
+
},
|
|
10110
|
+
204: {
|
|
10111
|
+
headersMapper: VolumesFinalizeExternalReplicationHeaders,
|
|
10112
|
+
},
|
|
10113
|
+
default: {
|
|
10114
|
+
bodyMapper: ErrorResponse,
|
|
10115
|
+
},
|
|
10116
|
+
},
|
|
10117
|
+
queryParameters: [apiVersion],
|
|
10118
|
+
urlParameters: [
|
|
10119
|
+
$host,
|
|
10120
|
+
subscriptionId,
|
|
10121
|
+
resourceGroupName,
|
|
10122
|
+
accountName,
|
|
10123
|
+
poolName,
|
|
10124
|
+
volumeName,
|
|
10125
|
+
],
|
|
10126
|
+
headerParameters: [accept],
|
|
10127
|
+
serializer: serializer$b,
|
|
10128
|
+
};
|
|
10129
|
+
const performReplicationTransferOperationSpec = {
|
|
10130
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer",
|
|
10131
|
+
httpMethod: "POST",
|
|
10132
|
+
responses: {
|
|
10133
|
+
200: {
|
|
10134
|
+
headersMapper: VolumesPerformReplicationTransferHeaders,
|
|
10135
|
+
},
|
|
10136
|
+
201: {
|
|
10137
|
+
headersMapper: VolumesPerformReplicationTransferHeaders,
|
|
10138
|
+
},
|
|
10139
|
+
202: {
|
|
10140
|
+
headersMapper: VolumesPerformReplicationTransferHeaders,
|
|
10141
|
+
},
|
|
10142
|
+
204: {
|
|
10143
|
+
headersMapper: VolumesPerformReplicationTransferHeaders,
|
|
10144
|
+
},
|
|
10145
|
+
default: {
|
|
10146
|
+
bodyMapper: ErrorResponse,
|
|
10147
|
+
},
|
|
10148
|
+
},
|
|
10149
|
+
queryParameters: [apiVersion],
|
|
10150
|
+
urlParameters: [
|
|
10151
|
+
$host,
|
|
10152
|
+
subscriptionId,
|
|
10153
|
+
resourceGroupName,
|
|
10154
|
+
accountName,
|
|
10155
|
+
poolName,
|
|
10156
|
+
volumeName,
|
|
10157
|
+
],
|
|
10158
|
+
headerParameters: [accept],
|
|
10159
|
+
serializer: serializer$b,
|
|
10160
|
+
};
|
|
9598
10161
|
const poolChangeOperationSpec = {
|
|
9599
10162
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange",
|
|
9600
10163
|
httpMethod: "POST",
|
|
@@ -9607,7 +10170,7 @@ const poolChangeOperationSpec = {
|
|
|
9607
10170
|
bodyMapper: ErrorResponse,
|
|
9608
10171
|
},
|
|
9609
10172
|
},
|
|
9610
|
-
requestBody:
|
|
10173
|
+
requestBody: body18,
|
|
9611
10174
|
queryParameters: [apiVersion],
|
|
9612
10175
|
urlParameters: [
|
|
9613
10176
|
$host,
|
|
@@ -9633,7 +10196,7 @@ const relocateOperationSpec = {
|
|
|
9633
10196
|
bodyMapper: ErrorResponse,
|
|
9634
10197
|
},
|
|
9635
10198
|
},
|
|
9636
|
-
requestBody:
|
|
10199
|
+
requestBody: body19,
|
|
9637
10200
|
queryParameters: [apiVersion],
|
|
9638
10201
|
urlParameters: [
|
|
9639
10202
|
$host,
|
|
@@ -10172,7 +10735,7 @@ const createOperationSpec$6 = {
|
|
|
10172
10735
|
bodyMapper: ErrorResponse,
|
|
10173
10736
|
},
|
|
10174
10737
|
},
|
|
10175
|
-
requestBody:
|
|
10738
|
+
requestBody: body20,
|
|
10176
10739
|
queryParameters: [apiVersion],
|
|
10177
10740
|
urlParameters: [
|
|
10178
10741
|
$host,
|
|
@@ -10207,7 +10770,7 @@ const updateOperationSpec$6 = {
|
|
|
10207
10770
|
bodyMapper: ErrorResponse,
|
|
10208
10771
|
},
|
|
10209
10772
|
},
|
|
10210
|
-
requestBody:
|
|
10773
|
+
requestBody: body21,
|
|
10211
10774
|
queryParameters: [apiVersion],
|
|
10212
10775
|
urlParameters: [
|
|
10213
10776
|
$host,
|
|
@@ -10259,7 +10822,7 @@ const restoreFilesOperationSpec$1 = {
|
|
|
10259
10822
|
bodyMapper: ErrorResponse,
|
|
10260
10823
|
},
|
|
10261
10824
|
},
|
|
10262
|
-
requestBody:
|
|
10825
|
+
requestBody: body22,
|
|
10263
10826
|
queryParameters: [apiVersion],
|
|
10264
10827
|
urlParameters: [
|
|
10265
10828
|
$host,
|
|
@@ -10566,7 +11129,7 @@ const createOperationSpec$5 = {
|
|
|
10566
11129
|
bodyMapper: ErrorResponse,
|
|
10567
11130
|
},
|
|
10568
11131
|
},
|
|
10569
|
-
requestBody:
|
|
11132
|
+
requestBody: body23,
|
|
10570
11133
|
queryParameters: [apiVersion],
|
|
10571
11134
|
urlParameters: [
|
|
10572
11135
|
$host,
|
|
@@ -10599,7 +11162,7 @@ const updateOperationSpec$5 = {
|
|
|
10599
11162
|
bodyMapper: ErrorResponse,
|
|
10600
11163
|
},
|
|
10601
11164
|
},
|
|
10602
|
-
requestBody:
|
|
11165
|
+
requestBody: body24,
|
|
10603
11166
|
queryParameters: [apiVersion],
|
|
10604
11167
|
urlParameters: [
|
|
10605
11168
|
$host,
|
|
@@ -10988,7 +11551,7 @@ const createOperationSpec$4 = {
|
|
|
10988
11551
|
bodyMapper: ErrorResponse,
|
|
10989
11552
|
},
|
|
10990
11553
|
},
|
|
10991
|
-
requestBody:
|
|
11554
|
+
requestBody: body25,
|
|
10992
11555
|
queryParameters: [apiVersion],
|
|
10993
11556
|
urlParameters: [
|
|
10994
11557
|
$host,
|
|
@@ -11021,7 +11584,7 @@ const updateOperationSpec$4 = {
|
|
|
11021
11584
|
bodyMapper: ErrorResponse,
|
|
11022
11585
|
},
|
|
11023
11586
|
},
|
|
11024
|
-
requestBody:
|
|
11587
|
+
requestBody: body26,
|
|
11025
11588
|
queryParameters: [apiVersion],
|
|
11026
11589
|
urlParameters: [
|
|
11027
11590
|
$host,
|
|
@@ -11440,7 +12003,7 @@ const createOperationSpec$3 = {
|
|
|
11440
12003
|
bodyMapper: ErrorResponse,
|
|
11441
12004
|
},
|
|
11442
12005
|
},
|
|
11443
|
-
requestBody:
|
|
12006
|
+
requestBody: body27,
|
|
11444
12007
|
queryParameters: [apiVersion],
|
|
11445
12008
|
urlParameters: [
|
|
11446
12009
|
$host,
|
|
@@ -11475,7 +12038,7 @@ const updateOperationSpec$3 = {
|
|
|
11475
12038
|
bodyMapper: ErrorResponse,
|
|
11476
12039
|
},
|
|
11477
12040
|
},
|
|
11478
|
-
requestBody:
|
|
12041
|
+
requestBody: body28,
|
|
11479
12042
|
queryParameters: [apiVersion],
|
|
11480
12043
|
urlParameters: [
|
|
11481
12044
|
$host,
|
|
@@ -11784,7 +12347,7 @@ const createOperationSpec$2 = {
|
|
|
11784
12347
|
bodyMapper: ErrorResponse,
|
|
11785
12348
|
},
|
|
11786
12349
|
},
|
|
11787
|
-
requestBody:
|
|
12350
|
+
requestBody: body29,
|
|
11788
12351
|
queryParameters: [apiVersion],
|
|
11789
12352
|
urlParameters: [
|
|
11790
12353
|
$host,
|
|
@@ -12304,7 +12867,7 @@ const createOperationSpec$1 = {
|
|
|
12304
12867
|
bodyMapper: ErrorResponse,
|
|
12305
12868
|
},
|
|
12306
12869
|
},
|
|
12307
|
-
requestBody:
|
|
12870
|
+
requestBody: body30,
|
|
12308
12871
|
queryParameters: [apiVersion],
|
|
12309
12872
|
urlParameters: [
|
|
12310
12873
|
$host,
|
|
@@ -12339,7 +12902,7 @@ const updateOperationSpec$2 = {
|
|
|
12339
12902
|
bodyMapper: ErrorResponse,
|
|
12340
12903
|
},
|
|
12341
12904
|
},
|
|
12342
|
-
requestBody:
|
|
12905
|
+
requestBody: body31,
|
|
12343
12906
|
queryParameters: [apiVersion],
|
|
12344
12907
|
urlParameters: [
|
|
12345
12908
|
$host,
|
|
@@ -12886,7 +13449,7 @@ const createOperationSpec = {
|
|
|
12886
13449
|
bodyMapper: ErrorResponse,
|
|
12887
13450
|
},
|
|
12888
13451
|
},
|
|
12889
|
-
requestBody:
|
|
13452
|
+
requestBody: body32,
|
|
12890
13453
|
queryParameters: [apiVersion],
|
|
12891
13454
|
urlParameters: [
|
|
12892
13455
|
$host,
|
|
@@ -12920,7 +13483,7 @@ const updateOperationSpec$1 = {
|
|
|
12920
13483
|
bodyMapper: ErrorResponse,
|
|
12921
13484
|
},
|
|
12922
13485
|
},
|
|
12923
|
-
requestBody:
|
|
13486
|
+
requestBody: body33,
|
|
12924
13487
|
queryParameters: [apiVersion],
|
|
12925
13488
|
urlParameters: [
|
|
12926
13489
|
$host,
|
|
@@ -13342,7 +13905,7 @@ const createOrUpdateOperationSpec = {
|
|
|
13342
13905
|
bodyMapper: ErrorResponse,
|
|
13343
13906
|
},
|
|
13344
13907
|
},
|
|
13345
|
-
requestBody:
|
|
13908
|
+
requestBody: body34,
|
|
13346
13909
|
queryParameters: [apiVersion],
|
|
13347
13910
|
urlParameters: [
|
|
13348
13911
|
$host,
|
|
@@ -13375,7 +13938,7 @@ const updateOperationSpec = {
|
|
|
13375
13938
|
bodyMapper: ErrorResponse,
|
|
13376
13939
|
},
|
|
13377
13940
|
},
|
|
13378
|
-
requestBody:
|
|
13941
|
+
requestBody: body35,
|
|
13379
13942
|
queryParameters: [apiVersion],
|
|
13380
13943
|
urlParameters: [
|
|
13381
13944
|
$host,
|
|
@@ -13549,7 +14112,7 @@ const restoreFilesOperationSpec = {
|
|
|
13549
14112
|
bodyMapper: ErrorResponse,
|
|
13550
14113
|
},
|
|
13551
14114
|
},
|
|
13552
|
-
requestBody:
|
|
14115
|
+
requestBody: body36,
|
|
13553
14116
|
queryParameters: [apiVersion],
|
|
13554
14117
|
urlParameters: [
|
|
13555
14118
|
$host,
|
|
@@ -13672,7 +14235,7 @@ const migrateBackupsOperationSpec$1 = {
|
|
|
13672
14235
|
bodyMapper: ErrorResponse,
|
|
13673
14236
|
},
|
|
13674
14237
|
},
|
|
13675
|
-
requestBody:
|
|
14238
|
+
requestBody: body37,
|
|
13676
14239
|
queryParameters: [apiVersion],
|
|
13677
14240
|
urlParameters: [
|
|
13678
14241
|
$host,
|
|
@@ -13784,7 +14347,7 @@ const migrateBackupsOperationSpec = {
|
|
|
13784
14347
|
bodyMapper: ErrorResponse,
|
|
13785
14348
|
},
|
|
13786
14349
|
},
|
|
13787
|
-
requestBody:
|
|
14350
|
+
requestBody: body37,
|
|
13788
14351
|
queryParameters: [apiVersion],
|
|
13789
14352
|
urlParameters: [
|
|
13790
14353
|
$host,
|
|
@@ -13827,7 +14390,7 @@ class NetAppManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
13827
14390
|
requestContentType: "application/json; charset=utf-8",
|
|
13828
14391
|
credential: credentials,
|
|
13829
14392
|
};
|
|
13830
|
-
const packageDetails = `azsdk-js-arm-netapp/21.
|
|
14393
|
+
const packageDetails = `azsdk-js-arm-netapp/21.3.0`;
|
|
13831
14394
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
13832
14395
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
13833
14396
|
: `${packageDetails}`;
|
|
@@ -13860,7 +14423,7 @@ class NetAppManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
13860
14423
|
this.subscriptionId = subscriptionId;
|
|
13861
14424
|
// Assigning values to Constant parameters
|
|
13862
14425
|
this.$host = options.$host || "https://management.azure.com";
|
|
13863
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
14426
|
+
this.apiVersion = options.apiVersion || "2024-07-01";
|
|
13864
14427
|
this.operations = new OperationsImpl(this);
|
|
13865
14428
|
this.netAppResource = new NetAppResourceImpl(this);
|
|
13866
14429
|
this.netAppResourceQuotaLimits = new NetAppResourceQuotaLimitsImpl(this);
|