diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 0f16931be4ae..39208ee85174 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -312,7 +312,7 @@ com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.2.0;1.3.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-confluent;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.3.0;1.4.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-netapp;1.9.0;1.10.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-netapp;1.9.0;1.10.0
com.azure.resourcemanager:azure-resourcemanager-storagecache;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-redisenterprise;2.1.0;2.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-hybridkubernetes;1.0.0;1.1.0-beta.2
diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
index ed4ec6b158c0..867f24449807 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
@@ -1,14 +1,269 @@
# Release History
-## 1.10.0-beta.2 (Unreleased)
+## 1.10.0 (2025-11-14)
-### Features Added
+- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2025-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.SnapshotPoliciesList` was removed
-### Other Changes
+#### `models.VolumeQuotaRulesList` was removed
+
+#### `models.BackupPoliciesList` was removed
+
+#### `models.SnapshotsList` was removed
+
+#### `models.VolumeGroupList` was removed
+
+#### `models.RelationshipStatus` was removed
+
+#### `models.UsagesListResult` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.BackupsList` was removed
+
+#### `models.BackupVaultsList` was removed
+
+#### `models.SubscriptionQuotaItemList` was removed
+
+#### `models.RegionInfosList` was removed
+
+#### `models.VolumeList` was removed
+
+#### `models.CapacityPoolList` was removed
+
+#### `models.SubvolumesList` was removed
+
+#### `models.ListReplications` was removed
+
+#### `models.NetAppAccountList` was removed
+
+#### `models.ServiceSpecification` was modified
+
+* `ServiceSpecification()` was changed to private access
+* `withLogSpecifications(java.util.List)` was removed
+* `withMetricSpecifications(java.util.List)` was removed
+
+#### `models.MetricSpecification` was modified
+
+* `MetricSpecification()` was changed to private access
+* `withAggregationType(java.lang.String)` was removed
+* `withInternalMetricName(java.lang.String)` was removed
+* `withSourceMdmNamespace(java.lang.String)` was removed
+* `withDimensions(java.util.List)` was removed
+* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed
+* `withDisplayDescription(java.lang.String)` was removed
+* `withSupportedAggregationTypes(java.util.List)` was removed
+* `withUnit(java.lang.String)` was removed
+* `withSourceMdmAccount(java.lang.String)` was removed
+* `withFillGapWithZero(java.lang.Boolean)` was removed
+* `withIsInternal(java.lang.Boolean)` was removed
+* `withCategory(java.lang.String)` was removed
+* `withResourceIdDimensionNameOverride(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+* `withSupportedTimeGrainTypes(java.util.List)` was removed
+* `withName(java.lang.String)` was removed
+
+#### `models.BackupStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeBackupRelationshipStatus relationshipStatus()`
+
+#### `models.ReplicationStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeReplicationRelationshipStatus relationshipStatus()`
+
+#### `models.Volume` was modified
+
+* `listReplications(com.azure.core.util.Context)` was removed
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `withProvider(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+
+#### `models.VolumePatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.CapacityPool$Definition` was modified
+
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+
+#### `models.UsageName` was modified
+
+* `UsageName()` was changed to private access
+* `withLocalizedValue(java.lang.String)` was removed
+* `withValue(java.lang.String)` was removed
+
+#### `models.LogSpecification` was modified
+
+* `LogSpecification()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.CapacityPool$Update` was modified
+
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+
+#### `models.CapacityPool` was modified
+
+* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
+
+#### `models.ProvisioningState` was modified
+
+* `models.ProvisioningState[] values()` -> `java.util.Collection values()`
+* `valueOf(java.lang.String)` was removed
+* `toString()` was removed
+
+#### `models.NicInfo` was modified
+
+* `NicInfo()` was changed to private access
+* `withVolumeResourceIds(java.util.List)` was removed
+
+#### `models.VolumeBackups` was modified
+
+* `VolumeBackups()` was changed to private access
+* `withBackupsCount(java.lang.Integer)` was removed
+* `withPolicyEnabled(java.lang.Boolean)` was removed
+* `withVolumeName(java.lang.String)` was removed
+* `withVolumeResourceId(java.lang.String)` was removed
+
+#### `models.DestinationReplication` was modified
+
+* `DestinationReplication()` was changed to private access
+* `withResourceId(java.lang.String)` was removed
+* `withRegion(java.lang.String)` was removed
+* `withReplicationType(models.ReplicationType)` was removed
+* `withZone(java.lang.String)` was removed
+
+#### `models.RestoreStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeRestoreRelationshipStatus relationshipStatus()`
+
+#### `models.BackupPolicyPatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.Volumes` was modified
+
+* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.NetAppAccountPatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.RegionInfoAvailabilityZoneMappingsItem` was modified
+
+* `RegionInfoAvailabilityZoneMappingsItem()` was changed to private access
+* `withAvailabilityZone(java.lang.String)` was removed
+* `withIsAvailable(java.lang.Boolean)` was removed
+
+#### `models.CapacityPoolPatch` was modified
+
+* `withLocation(java.lang.String)` was removed
+* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+* `withTags(java.util.Map)` was removed
+
+#### `models.Dimension` was modified
+
+* `Dimension()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.Snapshots` was modified
+
+* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object)` was removed
+* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object,com.azure.core.util.Context)` was removed
+
+### Features Added
+
+* `models.NetAppResourceQuotaLimitsAccounts` was added
+
+* `models.MountTargetProperties` was added
+
+* `models.ReplicationMirrorState` was added
+
+* `models.ListReplicationsRequest` was added
+
+* `models.VolumeReplicationRelationshipStatus` was added
+
+* `models.Exclude` was added
+
+* `models.VolumeBackupRelationshipStatus` was added
+
+* `models.VolumeRestoreRelationshipStatus` was added
+
+#### `models.SnapshotPolicyVolumeList` was modified
+
+* `nextLink()` was added
+
+#### `models.Volume` was modified
+
+* `listReplications(models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+
+#### `models.VolumePatch` was modified
+
+* `tags()` was added
+* `location()` was added
+
+#### `models.CapacityPool$Definition` was modified
+
+* `withCustomThroughputMibps(java.lang.Integer)` was added
+
+#### `models.CapacityPool$Update` was modified
+
+* `withCustomThroughputMibps(java.lang.Integer)` was added
+
+#### `NetAppFilesManager` was modified
+
+* `netAppResourceQuotaLimitsAccounts()` was added
+
+#### `models.VolumeGroupDetails` was modified
+
+* `systemData()` was added
+
+#### `models.ProvisioningState` was modified
+
+* `ProvisioningState()` was added
+
+#### `models.BackupPolicyPatch` was modified
+
+* `tags()` was added
+* `location()` was added
+
+#### `models.Volumes` was modified
+
+* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+
+#### `models.NetAppAccountPatch` was modified
+
+* `location()` was added
+* `tags()` was added
+
+#### `models.CapacityPoolPatch` was modified
+
+* `withCustomThroughputMibps(java.lang.Integer)` was added
+* `tags()` was added
+* `location()` was added
+
+#### `models.Replication` was modified
+
+* `replicationCreationTime()` was added
+* `mirrorState()` was added
+* `replicationDeletionTime()` was added
+
+#### `models.SubscriptionQuotaItem` was modified
+
+* `usage()` was added
## 1.10.0-beta.1 (2025-10-15)
diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md
index ace1f13b15ca..d74b89947811 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/README.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager NetAppFiles client library for Java.
-This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2025-07-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2025-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-netapp
- 1.10.0-beta.1
+ 1.10.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
index a3c9de643e67..9efb1f0e562a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
@@ -52,15 +52,6 @@
- [MigrateBackups](#backupsundervolume_migratebackups)
-## Buckets
-
-- [CreateOrUpdate](#buckets_createorupdate)
-- [Delete](#buckets_delete)
-- [GenerateCredentials](#buckets_generatecredentials)
-- [Get](#buckets_get)
-- [List](#buckets_list)
-- [Update](#buckets_update)
-
## NetAppResource
- [CheckFilePathAvailability](#netappresource_checkfilepathavailability)
@@ -118,7 +109,6 @@
- [Get](#snapshots_get)
- [List](#snapshots_list)
- [RestoreFiles](#snapshots_restorefiles)
-- [Update](#snapshots_update)
## Subvolumes
@@ -158,7 +148,6 @@
- [Get](#volumes_get)
- [List](#volumes_list)
- [ListGetGroupIdListForLdapUser](#volumes_listgetgroupidlistforldapuser)
-- [ListQuotaReport](#volumes_listquotareport)
- [ListReplications](#volumes_listreplications)
- [PeerExternalCluster](#volumes_peerexternalcluster)
- [PerformReplicationTransfer](#volumes_performreplicationtransfer)
@@ -186,8 +175,7 @@ import java.util.Arrays;
*/
public final class AccountsChangeKeyVaultSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_ChangeKeyVault.json
+ * x-ms-original-file: 2025-09-01/Accounts_ChangeKeyVault.json
*/
/**
* Sample code: Accounts_ChangeKeyVault.
@@ -219,8 +207,7 @@ import java.util.Arrays;
*/
public final class AccountsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_CreateOrUpdate.json
+ * x-ms-original-file: 2025-09-01/Accounts_CreateOrUpdate.json
*/
/**
* Sample code: Accounts_CreateOrUpdate.
@@ -232,8 +219,7 @@ public final class AccountsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_CreateOrUpdateAD.json
+ * x-ms-original-file: 2025-09-01/Accounts_CreateOrUpdateAD.json
*/
/**
* Sample code: Accounts_CreateOrUpdateWithActiveDirectory.
@@ -269,8 +255,7 @@ public final class AccountsCreateOrUpdateSamples {
*/
public final class AccountsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Accounts_Delete.json
+ * x-ms-original-file: 2025-09-01/Accounts_Delete.json
*/
/**
* Sample code: Accounts_Delete.
@@ -291,8 +276,7 @@ public final class AccountsDeleteSamples {
*/
public final class AccountsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Accounts_Get.json
+ * x-ms-original-file: 2025-09-01/Accounts_Get.json
*/
/**
* Sample code: Accounts_Get.
@@ -313,8 +297,7 @@ public final class AccountsGetByResourceGroupSamples {
*/
public final class AccountsGetChangeKeyVaultInformationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_GetChangeKeyVaultInformation.json
+ * x-ms-original-file: 2025-09-01/Accounts_GetChangeKeyVaultInformation.json
*/
/**
* Sample code: Accounts_GetChangeKeyVaultInformation.
@@ -336,15 +319,14 @@ public final class AccountsGetChangeKeyVaultInformationSamples {
*/
public final class AccountsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_ListBySubscription.json
+ * x-ms-original-file: 2025-09-01/Accounts_ListBySubscription.json
*/
/**
- * Sample code: Accounts_List.
+ * Sample code: Accounts_ListBySubscription.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void accountsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ public static void accountsListBySubscription(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
manager.accounts().list(com.azure.core.util.Context.NONE);
}
}
@@ -358,8 +340,7 @@ public final class AccountsListSamples {
*/
public final class AccountsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Accounts_List.json
+ * x-ms-original-file: 2025-09-01/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -380,8 +361,7 @@ public final class AccountsListByResourceGroupSamples {
*/
public final class AccountsRenewCredentialsSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_RenewCredentials.json
+ * x-ms-original-file: 2025-09-01/Accounts_RenewCredentials.json
*/
/**
* Sample code: Accounts_RenewCredentials.
@@ -404,8 +384,7 @@ import com.azure.resourcemanager.netapp.models.EncryptionTransitionRequest;
*/
public final class AccountsTransitionToCmkSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Accounts_TransitionEncryptionKey.json
+ * x-ms-original-file: 2025-09-01/Accounts_TransitionEncryptionKey.json
*/
/**
* Sample code: Accounts_MigrateEncryptionKey.
@@ -435,8 +414,7 @@ import java.util.Map;
*/
public final class AccountsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Accounts_Update.json
+ * x-ms-original-file: 2025-09-01/Accounts_Update.json
*/
/**
* Sample code: Accounts_Update.
@@ -472,9 +450,7 @@ public final class AccountsUpdateSamples {
*/
public final class BackupPoliciesCreateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupPolicies_Create.
- * json
+ * x-ms-original-file: 2025-09-01/BackupPolicies_Create.json
*/
/**
* Sample code: BackupPolicies_Create.
@@ -503,9 +479,7 @@ public final class BackupPoliciesCreateSamples {
*/
public final class BackupPoliciesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupPolicies_Delete.
- * json
+ * x-ms-original-file: 2025-09-01/BackupPolicies_Delete.json
*/
/**
* Sample code: BackupPolicies_Delete.
@@ -527,9 +501,7 @@ public final class BackupPoliciesDeleteSamples {
*/
public final class BackupPoliciesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupPolicies_Get.
- * json
+ * x-ms-original-file: 2025-09-01/BackupPolicies_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -551,9 +523,7 @@ public final class BackupPoliciesGetSamples {
*/
public final class BackupPoliciesListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupPolicies_List.
- * json
+ * x-ms-original-file: 2025-09-01/BackupPolicies_List.json
*/
/**
* Sample code: BackupPolicies_List.
@@ -576,9 +546,7 @@ import com.azure.resourcemanager.netapp.models.BackupPolicy;
*/
public final class BackupPoliciesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupPolicies_Update.
- * json
+ * x-ms-original-file: 2025-09-01/BackupPolicies_Update.json
*/
/**
* Sample code: BackupPolicies_Update.
@@ -607,9 +575,7 @@ public final class BackupPoliciesUpdateSamples {
*/
public final class BackupVaultsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupVaults_Create.
- * json
+ * x-ms-original-file: 2025-09-01/BackupVaults_Create.json
*/
/**
* Sample code: BackupVault_CreateOrUpdate.
@@ -634,9 +600,7 @@ public final class BackupVaultsCreateOrUpdateSamples {
*/
public final class BackupVaultsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupVaults_Delete.
- * json
+ * x-ms-original-file: 2025-09-01/BackupVaults_Delete.json
*/
/**
* Sample code: BackupVaults_Delete.
@@ -657,8 +621,7 @@ public final class BackupVaultsDeleteSamples {
*/
public final class BackupVaultsGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupVaults_Get.json
+ * x-ms-original-file: 2025-09-01/BackupVaults_Get.json
*/
/**
* Sample code: BackupVaults_Get.
@@ -679,8 +642,7 @@ public final class BackupVaultsGetSamples {
*/
public final class BackupVaultsListByNetAppAccountSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupVaults_List.json
+ * x-ms-original-file: 2025-09-01/BackupVaults_List.json
*/
/**
* Sample code: BackupVaults_List.
@@ -705,9 +667,7 @@ import java.util.Map;
*/
public final class BackupVaultsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/BackupVaults_Update.
- * json
+ * x-ms-original-file: 2025-09-01/BackupVaults_Update.json
*/
/**
* Sample code: BackupVaults_Update.
@@ -743,8 +703,7 @@ public final class BackupVaultsUpdateSamples {
*/
public final class BackupsCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_Create.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Create.json
*/
/**
* Sample code: BackupsUnderBackupVault_Create.
@@ -771,8 +730,7 @@ public final class BackupsCreateSamples {
*/
public final class BackupsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_Delete.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Delete.json
*/
/**
* Sample code: BackupsUnderBackupVault_Delete.
@@ -794,8 +752,7 @@ public final class BackupsDeleteSamples {
*/
public final class BackupsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_Get.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Get.json
*/
/**
* Sample code: BackupsUnderBackupVault_Get.
@@ -817,8 +774,7 @@ public final class BackupsGetSamples {
*/
public final class BackupsGetLatestStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_LatestBackupStatus.json
+ * x-ms-original-file: 2025-09-01/Volumes_LatestBackupStatus.json
*/
/**
* Sample code: Volumes_BackupStatus.
@@ -840,8 +796,7 @@ public final class BackupsGetLatestStatusSamples {
*/
public final class BackupsGetVolumeLatestRestoreStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_LatestRestoreStatus.json
+ * x-ms-original-file: 2025-09-01/Volumes_LatestRestoreStatus.json
*/
/**
* Sample code: Volumes_RestoreStatus.
@@ -864,8 +819,7 @@ public final class BackupsGetVolumeLatestRestoreStatusSamples {
*/
public final class BackupsListByVaultSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_List.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_List.json
*/
/**
* Sample code: Backups_List.
@@ -888,8 +842,7 @@ import com.azure.resourcemanager.netapp.models.Backup;
*/
public final class BackupsUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_Update.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Update.json
*/
/**
* Sample code: BackupsUnderBackupVault_Update.
@@ -915,8 +868,7 @@ import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
*/
public final class BackupsUnderAccountMigrateBackupsSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderAccount_Migrate.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderAccount_Migrate.json
*/
/**
* Sample code: BackupsUnderAccount_Migrate.
@@ -943,8 +895,7 @@ import java.util.Arrays;
*/
public final class BackupsUnderBackupVaultRestoreFilesSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderBackupVault_SingleFileRestore.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json
*/
/**
* Sample code: Backups_SingleFileRestore.
@@ -972,8 +923,7 @@ import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
*/
public final class BackupsUnderVolumeMigrateBackupsSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * BackupsUnderVolume_Migrate.json
+ * x-ms-original-file: 2025-09-01/BackupsUnderVolume_Migrate.json
*/
/**
* Sample code: BackupsUnderVolume_Migrate.
@@ -989,168 +939,6 @@ public final class BackupsUnderVolumeMigrateBackupsSamples {
}
```
-### Buckets_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.netapp.models.BucketPermissions;
-import com.azure.resourcemanager.netapp.models.BucketServerProperties;
-import com.azure.resourcemanager.netapp.models.FileSystemUser;
-import com.azure.resourcemanager.netapp.models.NfsUser;
-
-/**
- * Samples for Buckets CreateOrUpdate.
- */
-public final class BucketsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Buckets_CreateOrUpdate
- * .json
- */
- /**
- * Sample code: Buckets_CreateOrUpdate.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .define("bucket1")
- .withExistingVolume("myRG", "account1", "pool1", "volume1")
- .withPath("/path")
- .withFileSystemUser(new FileSystemUser().withNfsUser(new NfsUser().withUserId(1001L).withGroupId(1000L)))
- .withServer(new BucketServerProperties().withFqdn("fullyqualified.domainname.com")
- .withCertificateObject(""))
- .withPermissions(BucketPermissions.READ_ONLY)
- .create();
- }
-}
-```
-
-### Buckets_Delete
-
-```java
-/**
- * Samples for Buckets Delete.
- */
-public final class BucketsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Buckets_Delete.json
- */
- /**
- * Sample code: Buckets_Delete.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets().delete("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Buckets_GenerateCredentials
-
-```java
-import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
-
-/**
- * Samples for Buckets GenerateCredentials.
- */
-public final class BucketsGenerateCredentialsSamples {
- /*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Buckets_GenerateCredentials.json
- */
- /**
- * Sample code: Buckets_GenerateCredentials.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsGenerateCredentials(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .generateCredentialsWithResponse("myRG", "account1", "pool1", "volume1", "bucket1",
- new BucketCredentialsExpiry().withKeyPairExpiryDays(3), com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Buckets_Get
-
-```java
-/**
- * Samples for Buckets Get.
- */
-public final class BucketsGetSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Buckets_Get.json
- */
- /**
- * Sample code: Buckets_Get.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Buckets_List
-
-```java
-/**
- * Samples for Buckets List.
- */
-public final class BucketsListSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Buckets_List.json
- */
- /**
- * Sample code: Buckets_List.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets().list("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Buckets_Update
-
-```java
-import com.azure.resourcemanager.netapp.models.Bucket;
-import com.azure.resourcemanager.netapp.models.BucketPatchPermissions;
-import com.azure.resourcemanager.netapp.models.BucketServerPatchProperties;
-
-/**
- * Samples for Buckets Update.
- */
-public final class BucketsUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Buckets_Update.json
- */
- /**
- * Sample code: Buckets_Update.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void bucketsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- Bucket resource = manager.buckets()
- .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withServer(new BucketServerPatchProperties().withFqdn("fullyqualified.domainname.com")
- .withCertificateObject(""))
- .withPermissions(BucketPatchPermissions.READ_WRITE)
- .apply();
- }
-}
-```
-
### NetAppResource_CheckFilePathAvailability
```java
@@ -1161,8 +949,7 @@ import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest;
*/
public final class NetAppResourceCheckFilePathAvailabilitySamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * CheckFilePathAvailability.json
+ * x-ms-original-file: 2025-09-01/CheckFilePathAvailability.json
*/
/**
* Sample code: CheckFilePathAvailability.
@@ -1174,7 +961,7 @@ public final class NetAppResourceCheckFilePathAvailabilitySamples {
.checkFilePathAvailabilityWithResponse("eastus", new FilePathAvailabilityRequest()
.withName("my-exact-filepth")
.withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"),
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"),
com.azure.core.util.Context.NONE);
}
}
@@ -1191,9 +978,7 @@ import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest;
*/
public final class NetAppResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/CheckNameAvailability.
- * json
+ * x-ms-original-file: 2025-09-01/CheckNameAvailability.json
*/
/**
* Sample code: CheckNameAvailability.
@@ -1222,9 +1007,7 @@ import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest;
*/
public final class NetAppResourceCheckQuotaAvailabilitySamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/CheckQuotaAvailability
- * .json
+ * x-ms-original-file: 2025-09-01/CheckQuotaAvailability.json
*/
/**
* Sample code: CheckQuotaAvailability.
@@ -1252,8 +1035,7 @@ import com.azure.resourcemanager.netapp.models.QueryNetworkSiblingSetRequest;
*/
public final class NetAppResourceQueryNetworkSiblingSetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * NetworkSiblingSet_Query.json
+ * x-ms-original-file: 2025-09-01/NetworkSiblingSet_Query.json
*/
/**
* Sample code: NetworkSiblingSet_Query.
@@ -1265,7 +1047,7 @@ public final class NetAppResourceQueryNetworkSiblingSetSamples {
.queryNetworkSiblingSetWithResponse("eastus", new QueryNetworkSiblingSetRequest()
.withNetworkSiblingSetId("9760acf5-4638-11e7-9bdb-020073ca3333")
.withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"),
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"),
com.azure.core.util.Context.NONE);
}
}
@@ -1279,8 +1061,7 @@ public final class NetAppResourceQueryNetworkSiblingSetSamples {
*/
public final class NetAppResourceQueryRegionInfoSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/RegionInfo.json
+ * x-ms-original-file: 2025-09-01/RegionInfo.json
*/
/**
* Sample code: RegionInfo_Query.
@@ -1304,8 +1085,7 @@ import com.azure.resourcemanager.netapp.models.UpdateNetworkSiblingSetRequest;
*/
public final class NetAppResourceUpdateNetworkSiblingSetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * NetworkSiblingSet_Update.json
+ * x-ms-original-file: 2025-09-01/NetworkSiblingSet_Update.json
*/
/**
* Sample code: NetworkFeatures_Update.
@@ -1317,7 +1097,7 @@ public final class NetAppResourceUpdateNetworkSiblingSetSamples {
.updateNetworkSiblingSet("eastus", new UpdateNetworkSiblingSetRequest()
.withNetworkSiblingSetId("9760acf5-4638-11e7-9bdb-020073ca3333")
.withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet")
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet")
.withNetworkSiblingSetStateId("12345_44420.8001578125")
.withNetworkFeatures(NetworkFeatures.STANDARD), com.azure.core.util.Context.NONE);
}
@@ -1332,8 +1112,7 @@ public final class NetAppResourceUpdateNetworkSiblingSetSamples {
*/
public final class NetAppResourceQuotaLimitsGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/QuotaLimits_Get.json
+ * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimits_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -1355,8 +1134,7 @@ public final class NetAppResourceQuotaLimitsGetSamples {
*/
public final class NetAppResourceQuotaLimitsListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/QuotaLimits_List.json
+ * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimits_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -1377,16 +1155,14 @@ public final class NetAppResourceQuotaLimitsListSamples {
*/
public final class NetAppResourceQuotaLimitsAccountGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/QuotaLimitsAccount_Get
- * .json
+ * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json
*/
/**
- * Sample code: Volumes_RestoreStatus.
+ * Sample code: QuotaLimits.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void volumesRestoreStatus(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ public static void quotaLimits(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
manager.netAppResourceQuotaLimitsAccounts()
.getWithResponse("myRG", "myAccount", "poolsPerAccount", com.azure.core.util.Context.NONE);
}
@@ -1401,15 +1177,14 @@ public final class NetAppResourceQuotaLimitsAccountGetSamples {
*/
public final class NetAppResourceQuotaLimitsAccountListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * QuotaLimitsAccount_List.json
+ * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimitsAccount_List.json
*/
/**
- * Sample code: QuotaLimitsAccount_List.
+ * Sample code: QuotaLimits.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void quotaLimitsAccountList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ public static void quotaLimits(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
manager.netAppResourceQuotaLimitsAccounts().list("myRG", "myAccount", com.azure.core.util.Context.NONE);
}
}
@@ -1423,8 +1198,7 @@ public final class NetAppResourceQuotaLimitsAccountListSamples {
*/
public final class NetAppResourceRegionInfosGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/RegionInfos_Get.json
+ * x-ms-original-file: 2025-09-01/RegionInfos_Get.json
*/
/**
* Sample code: RegionInfos_Get.
@@ -1445,8 +1219,7 @@ public final class NetAppResourceRegionInfosGetSamples {
*/
public final class NetAppResourceRegionInfosListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/RegionInfos_List.json
+ * x-ms-original-file: 2025-09-01/RegionInfos_List.json
*/
/**
* Sample code: RegionInfos_List.
@@ -1467,8 +1240,7 @@ public final class NetAppResourceRegionInfosListSamples {
*/
public final class NetAppResourceUsagesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Usages_Get.json
+ * x-ms-original-file: 2025-09-01/Usages_Get.json
*/
/**
* Sample code: Usages_Get.
@@ -1490,8 +1262,7 @@ public final class NetAppResourceUsagesGetSamples {
*/
public final class NetAppResourceUsagesListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Usages_List.json
+ * x-ms-original-file: 2025-09-01/Usages_List.json
*/
/**
* Sample code: Usages_List.
@@ -1512,8 +1283,7 @@ public final class NetAppResourceUsagesListSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/OperationList.json
+ * x-ms-original-file: 2025-09-01/OperationList.json
*/
/**
* Sample code: OperationList.
@@ -1537,9 +1307,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
*/
public final class PoolsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Pools_CreateOrUpdate.
- * json
+ * x-ms-original-file: 2025-09-01/Pools_CreateOrUpdate.json
*/
/**
* Sample code: Pools_CreateOrUpdate.
@@ -1558,8 +1326,7 @@ public final class PoolsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Pools_CreateOrUpdate_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json
*/
/**
* Sample code: Pools_CreateOrUpdate_CustomThroughput.
@@ -1574,7 +1341,7 @@ public final class PoolsCreateOrUpdateSamples {
.withExistingNetAppAccount("myRG", "account1")
.withSize(4398046511104L)
.withServiceLevel(ServiceLevel.FLEXIBLE)
- .withCustomThroughputMibps(128.0F)
+ .withCustomThroughputMibps(128)
.withQosType(QosType.MANUAL)
.create();
}
@@ -1589,8 +1356,7 @@ public final class PoolsCreateOrUpdateSamples {
*/
public final class PoolsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Pools_Delete.json
+ * x-ms-original-file: 2025-09-01/Pools_Delete.json
*/
/**
* Sample code: Pools_Delete.
@@ -1611,8 +1377,7 @@ public final class PoolsDeleteSamples {
*/
public final class PoolsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Pools_Get_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01/Pools_Get_CustomThroughput.json
*/
/**
* Sample code: Pools_Get_CustomThroughput.
@@ -1624,8 +1389,7 @@ public final class PoolsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Pools_Get.json
+ * x-ms-original-file: 2025-09-01/Pools_Get.json
*/
/**
* Sample code: Pools_Get.
@@ -1646,8 +1410,7 @@ public final class PoolsGetSamples {
*/
public final class PoolsListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Pools_List.json
+ * x-ms-original-file: 2025-09-01/Pools_List.json
*/
/**
* Sample code: Pools_List.
@@ -1670,8 +1433,7 @@ import com.azure.resourcemanager.netapp.models.CapacityPool;
*/
public final class PoolsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Pools_Update.json
+ * x-ms-original-file: 2025-09-01/Pools_Update.json
*/
/**
* Sample code: Pools_Update.
@@ -1685,8 +1447,7 @@ public final class PoolsUpdateSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Pools_Update_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01/Pools_Update_CustomThroughput.json
*/
/**
* Sample code: Pools_Update_CustomThroughput.
@@ -1715,8 +1476,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * SnapshotPolicies_Create.json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_Create.json
*/
/**
* Sample code: SnapshotPolicies_Create.
@@ -1748,8 +1508,7 @@ public final class SnapshotPoliciesCreateSamples {
*/
public final class SnapshotPoliciesDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * SnapshotPolicies_Delete.json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_Delete.json
*/
/**
* Sample code: SnapshotPolicies_Delete.
@@ -1771,9 +1530,7 @@ public final class SnapshotPoliciesDeleteSamples {
*/
public final class SnapshotPoliciesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_Get.
- * json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_Get.json
*/
/**
* Sample code: SnapshotPolicies_Get.
@@ -1795,9 +1552,7 @@ public final class SnapshotPoliciesGetSamples {
*/
public final class SnapshotPoliciesListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_List.
- * json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_List.json
*/
/**
* Sample code: SnapshotPolicies_List.
@@ -1818,8 +1573,7 @@ public final class SnapshotPoliciesListSamples {
*/
public final class SnapshotPoliciesListVolumesSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * SnapshotPolicies_ListVolumes.json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_ListVolumes.json
*/
/**
* Sample code: SnapshotPolicies_ListVolumes.
@@ -1847,8 +1601,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * SnapshotPolicies_Update.json
+ * x-ms-original-file: 2025-09-01/SnapshotPolicies_Update.json
*/
/**
* Sample code: SnapshotPolicies_Update.
@@ -1880,8 +1633,7 @@ public final class SnapshotPoliciesUpdateSamples {
*/
public final class SnapshotsCreateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Snapshots_Create.json
+ * x-ms-original-file: 2025-09-01/Snapshots_Create.json
*/
/**
* Sample code: Snapshots_Create.
@@ -1906,8 +1658,7 @@ public final class SnapshotsCreateSamples {
*/
public final class SnapshotsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Snapshots_Delete.json
+ * x-ms-original-file: 2025-09-01/Snapshots_Delete.json
*/
/**
* Sample code: Snapshots_Delete.
@@ -1929,8 +1680,7 @@ public final class SnapshotsDeleteSamples {
*/
public final class SnapshotsGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Snapshots_Get.json
+ * x-ms-original-file: 2025-09-01/Snapshots_Get.json
*/
/**
* Sample code: Snapshots_Get.
@@ -1952,8 +1702,7 @@ public final class SnapshotsGetSamples {
*/
public final class SnapshotsListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Snapshots_List.json
+ * x-ms-original-file: 2025-09-01/Snapshots_List.json
*/
/**
* Sample code: Snapshots_List.
@@ -1977,8 +1726,7 @@ import java.util.Arrays;
*/
public final class SnapshotsRestoreFilesSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Snapshots_SingleFileRestore.json
+ * x-ms-original-file: 2025-09-01/Snapshots_SingleFileRestore.json
*/
/**
* Sample code: Snapshots_SingleFileRestore.
@@ -1994,36 +1742,6 @@ public final class SnapshotsRestoreFilesSamples {
}
```
-### Snapshots_Update
-
-```java
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerEncoding;
-import java.io.IOException;
-
-/**
- * Samples for Snapshots Update.
- */
-public final class SnapshotsUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Snapshots_Update.json
- */
- /**
- * Sample code: Snapshots_Update.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void snapshotsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) throws IOException {
- manager.snapshots()
- .update("myRG", "account1", "pool1", "volume1", "snapshot1",
- SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("{}", Object.class, SerializerEncoding.JSON),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
### Subvolumes_Create
```java
@@ -2032,8 +1750,7 @@ public final class SnapshotsUpdateSamples {
*/
public final class SubvolumesCreateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_Create.json
+ * x-ms-original-file: 2025-09-01/Subvolumes_Create.json
*/
/**
* Sample code: Subvolumes_Create.
@@ -2058,8 +1775,7 @@ public final class SubvolumesCreateSamples {
*/
public final class SubvolumesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_Delete.json
+ * x-ms-original-file: 2025-09-01/Subvolumes_Delete.json
*/
/**
* Sample code: Subvolumes_Delete.
@@ -2081,8 +1797,7 @@ public final class SubvolumesDeleteSamples {
*/
public final class SubvolumesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_Get.json
+ * x-ms-original-file: 2025-09-01/Subvolumes_Get.json
*/
/**
* Sample code: Subvolumes_Get.
@@ -2104,9 +1819,7 @@ public final class SubvolumesGetSamples {
*/
public final class SubvolumesGetMetadataSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_Metadata.
- * json
+ * x-ms-original-file: 2025-09-01/Subvolumes_Metadata.json
*/
/**
* Sample code: Subvolumes_Metadata.
@@ -2128,8 +1841,7 @@ public final class SubvolumesGetMetadataSamples {
*/
public final class SubvolumesListByVolumeSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_List.json
+ * x-ms-original-file: 2025-09-01/Subvolumes_List.json
*/
/**
* Sample code: Subvolumes_List.
@@ -2152,8 +1864,7 @@ import com.azure.resourcemanager.netapp.models.SubvolumeInfo;
*/
public final class SubvolumesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Subvolumes_Update.json
+ * x-ms-original-file: 2025-09-01/Subvolumes_Update.json
*/
/**
* Sample code: Subvolumes_Update.
@@ -2185,8 +1896,7 @@ import java.util.Arrays;
*/
public final class VolumeGroupsCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_Create_SapHana.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_Create_SapHana.json
*/
/**
* Sample code: VolumeGroups_Create_SapHana.
@@ -2346,8 +2056,7 @@ public final class VolumeGroupsCreateSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_Create_Oracle.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_Create_Oracle.json
*/
/**
* Sample code: VolumeGroups_Create_Oracle.
@@ -2700,9 +2409,7 @@ public final class VolumeGroupsCreateSamples {
*/
public final class VolumeGroupsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/VolumeGroups_Delete.
- * json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_Delete.json
*/
/**
* Sample code: VolumeGroups_Delete.
@@ -2723,8 +2430,7 @@ public final class VolumeGroupsDeleteSamples {
*/
public final class VolumeGroupsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_Get_SapHana.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_Get_SapHana.json
*/
/**
* Sample code: VolumeGroups_Get_SapHana.
@@ -2736,8 +2442,7 @@ public final class VolumeGroupsGetSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_Get_Oracle.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_Get_Oracle.json
*/
/**
* Sample code: VolumeGroups_Get_Oracle.
@@ -2758,8 +2463,7 @@ public final class VolumeGroupsGetSamples {
*/
public final class VolumeGroupsListByNetAppAccountSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_List_Oracle.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_List_Oracle.json
*/
/**
* Sample code: VolumeGroups_List_Oracle.
@@ -2771,8 +2475,7 @@ public final class VolumeGroupsListByNetAppAccountSamples {
}
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeGroups_List_SapHana.json
+ * x-ms-original-file: 2025-09-01/VolumeGroups_List_SapHana.json
*/
/**
* Sample code: VolumeGroups_List_SapHana.
@@ -2795,8 +2498,7 @@ import com.azure.resourcemanager.netapp.models.Type;
*/
public final class VolumeQuotaRulesCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeQuotaRules_Create.json
+ * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Create.json
*/
/**
* Sample code: VolumeQuotaRules_Create.
@@ -2824,8 +2526,7 @@ public final class VolumeQuotaRulesCreateSamples {
*/
public final class VolumeQuotaRulesDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeQuotaRules_Delete.json
+ * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Delete.json
*/
/**
* Sample code: VolumeQuotaRules_Delete.
@@ -2847,9 +2548,7 @@ public final class VolumeQuotaRulesDeleteSamples {
*/
public final class VolumeQuotaRulesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/VolumeQuotaRules_Get.
- * json
+ * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Get.json
*/
/**
* Sample code: VolumeQuotaRules_Get.
@@ -2872,9 +2571,7 @@ public final class VolumeQuotaRulesGetSamples {
*/
public final class VolumeQuotaRulesListByVolumeSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/VolumeQuotaRules_List.
- * json
+ * x-ms-original-file: 2025-09-01/VolumeQuotaRules_List.json
*/
/**
* Sample code: VolumeQuotaRules_List.
@@ -2898,8 +2595,7 @@ import com.azure.resourcemanager.netapp.models.VolumeQuotaRule;
*/
public final class VolumeQuotaRulesUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * VolumeQuotaRules_Update.json
+ * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Update.json
*/
/**
* Sample code: VolumeQuotaRules_Update.
@@ -2924,8 +2620,7 @@ public final class VolumeQuotaRulesUpdateSamples {
*/
public final class VolumesAuthorizeExternalReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_AuthorizeExternalReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_AuthorizeExternalReplication.json
*/
/**
* Sample code: Volumes_AuthorizeExternalReplication.
@@ -2950,8 +2645,7 @@ import com.azure.resourcemanager.netapp.models.AuthorizeRequest;
*/
public final class VolumesAuthorizeReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_AuthorizeReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_AuthorizeReplication.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -2978,9 +2672,7 @@ import com.azure.resourcemanager.netapp.models.BreakFileLocksRequest;
*/
public final class VolumesBreakFileLocksSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_BreakFileLocks
- * .json
+ * x-ms-original-file: 2025-09-01/Volumes_BreakFileLocks.json
*/
/**
* Sample code: Volumes_BreakFileLocks.
@@ -3006,8 +2698,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest;
*/
public final class VolumesBreakReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_BreakReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_BreakReplication.json
*/
/**
* Sample code: Volumes_BreakReplication.
@@ -3032,9 +2723,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
*/
public final class VolumesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_CreateOrUpdate
- * .json
+ * x-ms-original-file: 2025-09-01/Volumes_CreateOrUpdate.json
*/
/**
* Sample code: Volumes_CreateOrUpdate.
@@ -3049,7 +2738,7 @@ public final class VolumesCreateOrUpdateSamples {
.withCreationToken("my-unique-file-path")
.withUsageThreshold(107374182400L)
.withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
.withServiceLevel(ServiceLevel.PREMIUM)
.create();
}
@@ -3064,8 +2753,7 @@ public final class VolumesCreateOrUpdateSamples {
*/
public final class VolumesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_Delete.json
+ * x-ms-original-file: 2025-09-01/Volumes_Delete.json
*/
/**
* Sample code: Volumes_Delete.
@@ -3086,8 +2774,7 @@ public final class VolumesDeleteSamples {
*/
public final class VolumesDeleteReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_DeleteReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_DeleteReplication.json
*/
/**
* Sample code: Volumes_DeleteReplication.
@@ -3108,8 +2795,7 @@ public final class VolumesDeleteReplicationSamples {
*/
public final class VolumesFinalizeExternalReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_FinalizeExternalReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_FinalizeExternalReplication.json
*/
/**
* Sample code: Volumes_FinalizeExternalReplication.
@@ -3131,8 +2817,7 @@ public final class VolumesFinalizeExternalReplicationSamples {
*/
public final class VolumesFinalizeRelocationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_FinalizeRelocation.json
+ * x-ms-original-file: 2025-09-01/Volumes_FinalizeRelocation.json
*/
/**
* Sample code: Volumes_FinalizeRelocation.
@@ -3153,8 +2838,7 @@ public final class VolumesFinalizeRelocationSamples {
*/
public final class VolumesGetSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_Get.json
+ * x-ms-original-file: 2025-09-01/Volumes_Get.json
*/
/**
* Sample code: Volumes_Get.
@@ -3175,8 +2859,7 @@ public final class VolumesGetSamples {
*/
public final class VolumesListSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_List.json
+ * x-ms-original-file: 2025-09-01/Volumes_List.json
*/
/**
* Sample code: Volumes_List.
@@ -3199,9 +2882,7 @@ import com.azure.resourcemanager.netapp.models.GetGroupIdListForLdapUserRequest;
*/
public final class VolumesListGetGroupIdListForLdapUserSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/GroupIdListForLDAPUser
- * .json
+ * x-ms-original-file: 2025-09-01/GroupIdListForLDAPUser.json
*/
/**
* Sample code: GetGroupIdListForUser.
@@ -3216,38 +2897,18 @@ public final class VolumesListGetGroupIdListForLdapUserSamples {
}
```
-### Volumes_ListQuotaReport
-
-```java
-/**
- * Samples for Volumes ListQuotaReport.
- */
-public final class VolumesListQuotaReportSamples {
- /*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ListQuotaReport.json
- */
- /**
- * Sample code: ListQuotaReport.
- *
- * @param manager Entry point to NetAppFilesManager.
- */
- public static void listQuotaReport(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.volumes().listQuotaReport("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
### Volumes_ListReplications
```java
+import com.azure.resourcemanager.netapp.models.Exclude;
+import com.azure.resourcemanager.netapp.models.ListReplicationsRequest;
+
/**
* Samples for Volumes ListReplications.
*/
public final class VolumesListReplicationsSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ListReplications.json
+ * x-ms-original-file: 2025-09-01/Volumes_ListReplications.json
*/
/**
* Sample code: Volumes_ListReplications.
@@ -3255,7 +2916,9 @@ public final class VolumesListReplicationsSamples {
* @param manager Entry point to NetAppFilesManager.
*/
public static void volumesListReplications(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.volumes().listReplications("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ manager.volumes()
+ .listReplications("myRG", "account1", "pool1", "volume1",
+ new ListReplicationsRequest().withExclude(Exclude.NONE), com.azure.core.util.Context.NONE);
}
}
```
@@ -3271,8 +2934,7 @@ import java.util.Arrays;
*/
public final class VolumesPeerExternalClusterSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_PeerExternalCluster.json
+ * x-ms-original-file: 2025-09-01/Volumes_PeerExternalCluster.json
*/
/**
* Sample code: Volumes_PeerExternalCluster.
@@ -3297,8 +2959,7 @@ public final class VolumesPeerExternalClusterSamples {
*/
public final class VolumesPerformReplicationTransferSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_PerformReplicationTransfer.json
+ * x-ms-original-file: 2025-09-01/Volumes_PerformReplicationTransfer.json
*/
/**
* Sample code: Volumes_PerformReplicationTransfer.
@@ -3322,9 +2983,7 @@ import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
*/
public final class VolumesPoolChangeSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_PoolChange.
- * json
+ * x-ms-original-file: 2025-09-01/Volumes_PoolChange.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -3348,8 +3007,7 @@ public final class VolumesPoolChangeSamples {
*/
public final class VolumesPopulateAvailabilityZoneSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_PopulateAvailabilityZones.json
+ * x-ms-original-file: 2025-09-01/Volumes_PopulateAvailabilityZones.json
*/
/**
* Sample code: Volumes_PopulateAvailabilityZones.
@@ -3371,8 +3029,7 @@ public final class VolumesPopulateAvailabilityZoneSamples {
*/
public final class VolumesReInitializeReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ReInitializeReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_ReInitializeReplication.json
*/
/**
* Sample code: Volumes_ReInitializeReplication.
@@ -3396,8 +3053,7 @@ import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest;
*/
public final class VolumesReestablishReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ReestablishReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_ReestablishReplication.json
*/
/**
* Sample code: Volumes_ReestablishReplication.
@@ -3424,8 +3080,7 @@ import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest;
*/
public final class VolumesRelocateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_Relocate.json
+ * x-ms-original-file: 2025-09-01/Volumes_Relocate.json
*/
/**
* Sample code: Volumes_Relocate.
@@ -3448,8 +3103,7 @@ public final class VolumesRelocateSamples {
*/
public final class VolumesReplicationStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ReplicationStatus.json
+ * x-ms-original-file: 2025-09-01/Volumes_ReplicationStatus.json
*/
/**
* Sample code: Volumes_ReplicationStatus.
@@ -3471,8 +3125,7 @@ public final class VolumesReplicationStatusSamples {
*/
public final class VolumesResetCifsPasswordSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ResetCifsPassword.json
+ * x-ms-original-file: 2025-09-01/Volumes_ResetCifsPassword.json
*/
/**
* Sample code: Volumes_ResetCifsPassword.
@@ -3493,8 +3146,7 @@ public final class VolumesResetCifsPasswordSamples {
*/
public final class VolumesResyncReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_ResyncReplication.json
+ * x-ms-original-file: 2025-09-01/Volumes_ResyncReplication.json
*/
/**
* Sample code: Volumes_ResyncReplication.
@@ -3517,8 +3169,7 @@ import com.azure.resourcemanager.netapp.models.VolumeRevert;
*/
public final class VolumesRevertSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_Revert.json
+ * x-ms-original-file: 2025-09-01/Volumes_Revert.json
*/
/**
* Sample code: Volumes_Revert.
@@ -3542,8 +3193,7 @@ public final class VolumesRevertSamples {
*/
public final class VolumesRevertRelocationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/
- * Volumes_RevertRelocation.json
+ * x-ms-original-file: 2025-09-01/Volumes_RevertRelocation.json
*/
/**
* Sample code: Volumes_RevertRelocation.
@@ -3564,9 +3214,7 @@ public final class VolumesRevertRelocationSamples {
*/
public final class VolumesSplitCloneFromParentSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_SplitClone.
- * json
+ * x-ms-original-file: 2025-09-01/Volumes_SplitClone.json
*/
/**
* Sample code: Volumes_SplitClone.
@@ -3590,8 +3238,7 @@ import com.azure.resourcemanager.netapp.models.Volume;
*/
public final class VolumesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/netapp/resource-manager/Microsoft.NetApp/preview/2025-07-01-preview/examples/Volumes_Update.json
+ * x-ms-original-file: 2025-09-01/Volumes_Update.json
*/
/**
* Sample code: Volumes_Update.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/pom.xml b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
index 2e2dda077556..3a8a0cf08244 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/pom.xml
+++ b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
@@ -1,7 +1,7 @@
4.0.0
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-netapp
- 1.10.0-beta.2
+ 1.10.0
jar
Microsoft Azure SDK for NetAppFiles Management
- This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2025-07-01-preview.
+ This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2025-09-01.
https://github.com/Azure/azure-sdk-for-java
@@ -45,7 +45,6 @@
UTF-8
0
0
- true
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
index 49115ed7ffa9..75a5d99763eb 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp;
@@ -32,7 +32,6 @@
import com.azure.resourcemanager.netapp.implementation.BackupsUnderAccountsImpl;
import com.azure.resourcemanager.netapp.implementation.BackupsUnderBackupVaultsImpl;
import com.azure.resourcemanager.netapp.implementation.BackupsUnderVolumesImpl;
-import com.azure.resourcemanager.netapp.implementation.BucketsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppManagementClientBuilder;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsAccountsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsImpl;
@@ -54,7 +53,6 @@
import com.azure.resourcemanager.netapp.models.BackupsUnderAccounts;
import com.azure.resourcemanager.netapp.models.BackupsUnderBackupVaults;
import com.azure.resourcemanager.netapp.models.BackupsUnderVolumes;
-import com.azure.resourcemanager.netapp.models.Buckets;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimits;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimitsAccounts;
import com.azure.resourcemanager.netapp.models.NetAppResourceRegionInfos;
@@ -83,17 +81,11 @@
public final class NetAppFilesManager {
private Operations operations;
- private NetAppResources netAppResources;
-
- private NetAppResourceUsages netAppResourceUsages;
-
- private NetAppResourceQuotaLimits netAppResourceQuotaLimits;
-
- private NetAppResourceRegionInfos netAppResourceRegionInfos;
+ private NetAppResourceQuotaLimitsAccounts netAppResourceQuotaLimitsAccounts;
- private Accounts accounts;
+ private VolumeGroups volumeGroups;
- private Pools pools;
+ private Backups backups;
private Volumes volumes;
@@ -105,23 +97,27 @@ public final class NetAppFilesManager {
private VolumeQuotaRules volumeQuotaRules;
- private VolumeGroups volumeGroups;
+ private BackupVaults backupVaults;
- private Subvolumes subvolumes;
+ private NetAppResourceQuotaLimits netAppResourceQuotaLimits;
- private Backups backups;
+ private NetAppResourceRegionInfos netAppResourceRegionInfos;
- private NetAppResourceQuotaLimitsAccounts netAppResourceQuotaLimitsAccounts;
+ private Accounts accounts;
- private BackupVaults backupVaults;
+ private BackupsUnderAccounts backupsUnderAccounts;
+
+ private Pools pools;
private BackupsUnderBackupVaults backupsUnderBackupVaults;
private BackupsUnderVolumes backupsUnderVolumes;
- private BackupsUnderAccounts backupsUnderAccounts;
+ private Subvolumes subvolumes;
- private Buckets buckets;
+ private NetAppResources netAppResources;
+
+ private NetAppResourceUsages netAppResourceUsages;
private final NetAppManagementClient clientObject;
@@ -351,77 +347,40 @@ public Operations operations() {
}
/**
- * Gets the resource collection API of NetAppResources.
- *
- * @return Resource collection API of NetAppResources.
- */
- public NetAppResources netAppResources() {
- if (this.netAppResources == null) {
- this.netAppResources = new NetAppResourcesImpl(clientObject.getNetAppResources(), this);
- }
- return netAppResources;
- }
-
- /**
- * Gets the resource collection API of NetAppResourceUsages.
- *
- * @return Resource collection API of NetAppResourceUsages.
- */
- public NetAppResourceUsages netAppResourceUsages() {
- if (this.netAppResourceUsages == null) {
- this.netAppResourceUsages = new NetAppResourceUsagesImpl(clientObject.getNetAppResourceUsages(), this);
- }
- return netAppResourceUsages;
- }
-
- /**
- * Gets the resource collection API of NetAppResourceQuotaLimits.
- *
- * @return Resource collection API of NetAppResourceQuotaLimits.
- */
- public NetAppResourceQuotaLimits netAppResourceQuotaLimits() {
- if (this.netAppResourceQuotaLimits == null) {
- this.netAppResourceQuotaLimits
- = new NetAppResourceQuotaLimitsImpl(clientObject.getNetAppResourceQuotaLimits(), this);
- }
- return netAppResourceQuotaLimits;
- }
-
- /**
- * Gets the resource collection API of NetAppResourceRegionInfos.
+ * Gets the resource collection API of NetAppResourceQuotaLimitsAccounts.
*
- * @return Resource collection API of NetAppResourceRegionInfos.
+ * @return Resource collection API of NetAppResourceQuotaLimitsAccounts.
*/
- public NetAppResourceRegionInfos netAppResourceRegionInfos() {
- if (this.netAppResourceRegionInfos == null) {
- this.netAppResourceRegionInfos
- = new NetAppResourceRegionInfosImpl(clientObject.getNetAppResourceRegionInfos(), this);
+ public NetAppResourceQuotaLimitsAccounts netAppResourceQuotaLimitsAccounts() {
+ if (this.netAppResourceQuotaLimitsAccounts == null) {
+ this.netAppResourceQuotaLimitsAccounts
+ = new NetAppResourceQuotaLimitsAccountsImpl(clientObject.getNetAppResourceQuotaLimitsAccounts(), this);
}
- return netAppResourceRegionInfos;
+ return netAppResourceQuotaLimitsAccounts;
}
/**
- * Gets the resource collection API of Accounts. It manages NetAppAccount.
+ * Gets the resource collection API of VolumeGroups. It manages VolumeGroupDetails.
*
- * @return Resource collection API of Accounts.
+ * @return Resource collection API of VolumeGroups.
*/
- public Accounts accounts() {
- if (this.accounts == null) {
- this.accounts = new AccountsImpl(clientObject.getAccounts(), this);
+ public VolumeGroups volumeGroups() {
+ if (this.volumeGroups == null) {
+ this.volumeGroups = new VolumeGroupsImpl(clientObject.getVolumeGroups(), this);
}
- return accounts;
+ return volumeGroups;
}
/**
- * Gets the resource collection API of Pools. It manages CapacityPool.
+ * Gets the resource collection API of Backups. It manages Backup.
*
- * @return Resource collection API of Pools.
+ * @return Resource collection API of Backups.
*/
- public Pools pools() {
- if (this.pools == null) {
- this.pools = new PoolsImpl(clientObject.getPools(), this);
+ public Backups backups() {
+ if (this.backups == null) {
+ this.backups = new BackupsImpl(clientObject.getBackups(), this);
}
- return pools;
+ return backups;
}
/**
@@ -485,64 +444,77 @@ public VolumeQuotaRules volumeQuotaRules() {
}
/**
- * Gets the resource collection API of VolumeGroups. It manages VolumeGroupDetails.
+ * Gets the resource collection API of BackupVaults. It manages BackupVault.
*
- * @return Resource collection API of VolumeGroups.
+ * @return Resource collection API of BackupVaults.
*/
- public VolumeGroups volumeGroups() {
- if (this.volumeGroups == null) {
- this.volumeGroups = new VolumeGroupsImpl(clientObject.getVolumeGroups(), this);
+ public BackupVaults backupVaults() {
+ if (this.backupVaults == null) {
+ this.backupVaults = new BackupVaultsImpl(clientObject.getBackupVaults(), this);
}
- return volumeGroups;
+ return backupVaults;
}
/**
- * Gets the resource collection API of Subvolumes. It manages SubvolumeInfo.
+ * Gets the resource collection API of NetAppResourceQuotaLimits.
*
- * @return Resource collection API of Subvolumes.
+ * @return Resource collection API of NetAppResourceQuotaLimits.
*/
- public Subvolumes subvolumes() {
- if (this.subvolumes == null) {
- this.subvolumes = new SubvolumesImpl(clientObject.getSubvolumes(), this);
+ public NetAppResourceQuotaLimits netAppResourceQuotaLimits() {
+ if (this.netAppResourceQuotaLimits == null) {
+ this.netAppResourceQuotaLimits
+ = new NetAppResourceQuotaLimitsImpl(clientObject.getNetAppResourceQuotaLimits(), this);
}
- return subvolumes;
+ return netAppResourceQuotaLimits;
}
/**
- * Gets the resource collection API of Backups. It manages Backup.
+ * Gets the resource collection API of NetAppResourceRegionInfos.
*
- * @return Resource collection API of Backups.
+ * @return Resource collection API of NetAppResourceRegionInfos.
*/
- public Backups backups() {
- if (this.backups == null) {
- this.backups = new BackupsImpl(clientObject.getBackups(), this);
+ public NetAppResourceRegionInfos netAppResourceRegionInfos() {
+ if (this.netAppResourceRegionInfos == null) {
+ this.netAppResourceRegionInfos
+ = new NetAppResourceRegionInfosImpl(clientObject.getNetAppResourceRegionInfos(), this);
}
- return backups;
+ return netAppResourceRegionInfos;
}
/**
- * Gets the resource collection API of NetAppResourceQuotaLimitsAccounts.
+ * Gets the resource collection API of Accounts. It manages NetAppAccount.
*
- * @return Resource collection API of NetAppResourceQuotaLimitsAccounts.
+ * @return Resource collection API of Accounts.
*/
- public NetAppResourceQuotaLimitsAccounts netAppResourceQuotaLimitsAccounts() {
- if (this.netAppResourceQuotaLimitsAccounts == null) {
- this.netAppResourceQuotaLimitsAccounts
- = new NetAppResourceQuotaLimitsAccountsImpl(clientObject.getNetAppResourceQuotaLimitsAccounts(), this);
+ public Accounts accounts() {
+ if (this.accounts == null) {
+ this.accounts = new AccountsImpl(clientObject.getAccounts(), this);
}
- return netAppResourceQuotaLimitsAccounts;
+ return accounts;
}
/**
- * Gets the resource collection API of BackupVaults. It manages BackupVault.
+ * Gets the resource collection API of BackupsUnderAccounts.
*
- * @return Resource collection API of BackupVaults.
+ * @return Resource collection API of BackupsUnderAccounts.
*/
- public BackupVaults backupVaults() {
- if (this.backupVaults == null) {
- this.backupVaults = new BackupVaultsImpl(clientObject.getBackupVaults(), this);
+ public BackupsUnderAccounts backupsUnderAccounts() {
+ if (this.backupsUnderAccounts == null) {
+ this.backupsUnderAccounts = new BackupsUnderAccountsImpl(clientObject.getBackupsUnderAccounts(), this);
}
- return backupVaults;
+ return backupsUnderAccounts;
+ }
+
+ /**
+ * Gets the resource collection API of Pools. It manages CapacityPool.
+ *
+ * @return Resource collection API of Pools.
+ */
+ public Pools pools() {
+ if (this.pools == null) {
+ this.pools = new PoolsImpl(clientObject.getPools(), this);
+ }
+ return pools;
}
/**
@@ -571,27 +543,39 @@ public BackupsUnderVolumes backupsUnderVolumes() {
}
/**
- * Gets the resource collection API of BackupsUnderAccounts.
+ * Gets the resource collection API of Subvolumes. It manages SubvolumeInfo.
*
- * @return Resource collection API of BackupsUnderAccounts.
+ * @return Resource collection API of Subvolumes.
*/
- public BackupsUnderAccounts backupsUnderAccounts() {
- if (this.backupsUnderAccounts == null) {
- this.backupsUnderAccounts = new BackupsUnderAccountsImpl(clientObject.getBackupsUnderAccounts(), this);
+ public Subvolumes subvolumes() {
+ if (this.subvolumes == null) {
+ this.subvolumes = new SubvolumesImpl(clientObject.getSubvolumes(), this);
}
- return backupsUnderAccounts;
+ return subvolumes;
+ }
+
+ /**
+ * Gets the resource collection API of NetAppResources.
+ *
+ * @return Resource collection API of NetAppResources.
+ */
+ public NetAppResources netAppResources() {
+ if (this.netAppResources == null) {
+ this.netAppResources = new NetAppResourcesImpl(clientObject.getNetAppResources(), this);
+ }
+ return netAppResources;
}
/**
- * Gets the resource collection API of Buckets. It manages Bucket.
+ * Gets the resource collection API of NetAppResourceUsages.
*
- * @return Resource collection API of Buckets.
+ * @return Resource collection API of NetAppResourceUsages.
*/
- public Buckets buckets() {
- if (this.buckets == null) {
- this.buckets = new BucketsImpl(clientObject.getBuckets(), this);
+ public NetAppResourceUsages netAppResourceUsages() {
+ if (this.netAppResourceUsages == null) {
+ this.netAppResourceUsages = new NetAppResourceUsagesImpl(clientObject.getNetAppResourceUsages(), this);
}
- return buckets;
+ return netAppResourceUsages;
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java
index 442bcdf9d465..0ce6e2c81f77 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -22,96 +22,96 @@
*/
public interface AccountsClient {
/**
- * Describe all NetApp Accounts in a subscription
- *
- * List and describe all NetApp accounts in the subscription.
+ * Get the NetApp account.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
+ * @return the NetApp account along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String accountName,
+ Context context);
/**
- * Describe all NetApp Accounts in a subscription
- *
- * List and describe all NetApp accounts in the subscription.
+ * Get the NetApp account.
*
- * @param context The context to associate with this operation.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
+ * @return the NetApp account.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NetAppAccountInner getByResourceGroup(String resourceGroupName, String accountName);
/**
- * Describe all NetApp Accounts in a resource group
- *
- * List and describe all NetApp accounts in the resource group.
+ * Create or update the specified NetApp account within the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param body NetApp Account object supplied in the body of the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, NetAppAccountInner body);
/**
- * Describe all NetApp Accounts in a resource group
- *
- * List and describe all NetApp accounts in the resource group.
+ * Create or update the specified NetApp account within the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param body NetApp Account object supplied in the body of the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, NetAppAccountInner body, Context context);
/**
- * Describe a NetApp Account
- *
- * Get the NetApp account.
+ * Create or update the specified NetApp account within the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
+ * @param body NetApp Account object supplied in the body of the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the NetApp account along with {@link Response}.
+ * @return netApp account resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String accountName,
- Context context);
+ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body);
/**
- * Describe a NetApp Account
- *
- * Get the NetApp account.
+ * Create or update the specified NetApp account within the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
+ * @param body NetApp Account object supplied in the body of the operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the NetApp account.
+ * @return netApp account resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NetAppAccountInner getByResourceGroup(String resourceGroupName, String accountName);
+ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body,
+ Context context);
/**
- * Create or update a NetApp account
- *
- * Create or update the specified NetApp account within the resource group.
+ * Patch the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
@@ -122,13 +122,11 @@ Response getByResourceGroupWithResponse(String resourceGroup
* @return the {@link SyncPoller} for polling of netApp account resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName,
- String accountName, NetAppAccountInner body);
+ SyncPoller, NetAppAccountInner> beginUpdate(String resourceGroupName,
+ String accountName, NetAppAccountPatch body);
/**
- * Create or update a NetApp account
- *
- * Create or update the specified NetApp account within the resource group.
+ * Patch the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
@@ -140,13 +138,11 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda
* @return the {@link SyncPoller} for polling of netApp account resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName,
- String accountName, NetAppAccountInner body, Context context);
+ SyncPoller, NetAppAccountInner> beginUpdate(String resourceGroupName,
+ String accountName, NetAppAccountPatch body, Context context);
/**
- * Create or update a NetApp account
- *
- * Create or update the specified NetApp account within the resource group.
+ * Patch the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
@@ -157,12 +153,10 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda
* @return netApp account resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body);
+ NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body);
/**
- * Create or update a NetApp account
- *
- * Create or update the specified NetApp account within the resource group.
+ * Patch the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
@@ -174,12 +168,9 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda
* @return netApp account resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body,
- Context context);
+ NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body, Context context);
/**
- * Delete a NetApp account
- *
* Delete the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -193,8 +184,6 @@ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName,
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName);
/**
- * Delete a NetApp account
- *
* Delete the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -209,8 +198,6 @@ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName,
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context);
/**
- * Delete a NetApp account
- *
* Delete the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -223,8 +210,6 @@ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName,
void delete(String resourceGroupName, String accountName);
/**
- * Delete a NetApp account
- *
* Delete the specified NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -238,76 +223,53 @@ NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName,
void delete(String resourceGroupName, String accountName, Context context);
/**
- * Update a NetApp account
- *
- * Patch the specified NetApp account.
+ * List and describe all NetApp accounts in the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param body NetApp Account object supplied in the body of the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of netApp account resource.
+ * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NetAppAccountInner> beginUpdate(String resourceGroupName,
- String accountName, NetAppAccountPatch body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Update a NetApp account
- *
- * Patch the specified NetApp account.
+ * List and describe all NetApp accounts in the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param body NetApp Account object supplied in the body of the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of netApp account resource.
+ * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NetAppAccountInner> beginUpdate(String resourceGroupName,
- String accountName, NetAppAccountPatch body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Update a NetApp account
- *
- * Patch the specified NetApp account.
+ * List and describe all NetApp accounts in the subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param body NetApp Account object supplied in the body of the operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return netApp account resource.
+ * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
/**
- * Update a NetApp account
- *
- * Patch the specified NetApp account.
+ * List and describe all NetApp accounts in the subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param body NetApp Account object supplied in the body of the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return netApp account resource.
+ * @return list of NetApp account resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
/**
- * Renew identity credentials
- *
* Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If
* encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
*
@@ -322,8 +284,6 @@ SyncPoller, NetAppAccountInner> beginUpdate(Strin
SyncPoller, Void> beginRenewCredentials(String resourceGroupName, String accountName);
/**
- * Renew identity credentials
- *
* Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If
* encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
*
@@ -340,8 +300,6 @@ SyncPoller, Void> beginRenewCredentials(String resourceGroupNam
Context context);
/**
- * Renew identity credentials
- *
* Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If
* encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
*
@@ -355,8 +313,6 @@ SyncPoller, Void> beginRenewCredentials(String resourceGroupNam
void renewCredentials(String resourceGroupName, String accountName);
/**
- * Renew identity credentials
- *
* Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If
* encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
*
@@ -371,8 +327,6 @@ SyncPoller, Void> beginRenewCredentials(String resourceGroupNam
void renewCredentials(String resourceGroupName, String accountName, Context context);
/**
- * Transition volumes encryption from PMK to CMK.
- *
* Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key
* Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.
*
@@ -387,8 +341,6 @@ SyncPoller, Void> beginRenewCredentials(String resourceGroupNam
SyncPoller, Void> beginTransitionToCmk(String resourceGroupName, String accountName);
/**
- * Transition volumes encryption from PMK to CMK.
- *
* Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key
* Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.
*
@@ -406,8 +358,6 @@ SyncPoller, Void> beginTransitionToCmk(String resourceGroupName
EncryptionTransitionRequest body, Context context);
/**
- * Transition volumes encryption from PMK to CMK.
- *
* Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key
* Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.
*
@@ -421,8 +371,6 @@ SyncPoller, Void> beginTransitionToCmk(String resourceGroupName
void transitionToCmk(String resourceGroupName, String accountName);
/**
- * Transition volumes encryption from PMK to CMK.
- *
* Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key
* Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.
*
@@ -439,8 +387,6 @@ void transitionToCmk(String resourceGroupName, String accountName, EncryptionTra
Context context);
/**
- * Get information about how volumes under NetApp account are encrypted.
- *
* Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by
* each encryption sibling set. Response from this endpoint can be modified and used as request body for POST
* request.
@@ -450,16 +396,13 @@ void transitionToCmk(String resourceGroupName, String accountName, EncryptionTra
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of result of getKeyVaultStatus with information about how volumes
- * under NetApp account are encrypted.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GetKeyVaultStatusResponseInner>
beginGetChangeKeyVaultInformation(String resourceGroupName, String accountName);
/**
- * Get information about how volumes under NetApp account are encrypted.
- *
* Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by
* each encryption sibling set. Response from this endpoint can be modified and used as request body for POST
* request.
@@ -470,16 +413,13 @@ void transitionToCmk(String resourceGroupName, String accountName, EncryptionTra
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of result of getKeyVaultStatus with information about how volumes
- * under NetApp account are encrypted.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GetKeyVaultStatusResponseInner>
beginGetChangeKeyVaultInformation(String resourceGroupName, String accountName, Context context);
/**
- * Get information about how volumes under NetApp account are encrypted.
- *
* Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by
* each encryption sibling set. Response from this endpoint can be modified and used as request body for POST
* request.
@@ -489,14 +429,12 @@ void transitionToCmk(String resourceGroupName, String accountName, EncryptionTra
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetKeyVaultStatusResponseInner getChangeKeyVaultInformation(String resourceGroupName, String accountName);
/**
- * Get information about how volumes under NetApp account are encrypted.
- *
* Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by
* each encryption sibling set. Response from this endpoint can be modified and used as request body for POST
* request.
@@ -507,15 +445,13 @@ void transitionToCmk(String resourceGroupName, String accountName, EncryptionTra
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetKeyVaultStatusResponseInner getChangeKeyVaultInformation(String resourceGroupName, String accountName,
Context context);
/**
- * Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.
- *
* Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key
* Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.
*
@@ -530,8 +466,6 @@ GetKeyVaultStatusResponseInner getChangeKeyVaultInformation(String resourceGroup
SyncPoller, Void> beginChangeKeyVault(String resourceGroupName, String accountName);
/**
- * Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.
- *
* Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key
* Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.
*
@@ -549,8 +483,6 @@ SyncPoller, Void> beginChangeKeyVault(String resourceGroupName,
ChangeKeyVault body, Context context);
/**
- * Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.
- *
* Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key
* Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.
*
@@ -564,8 +496,6 @@ SyncPoller, Void> beginChangeKeyVault(String resourceGroupName,
void changeKeyVault(String resourceGroupName, String accountName);
/**
- * Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.
- *
* Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key
* Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java
index 757269fa8ad2..27a3641788f9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,39 +19,6 @@
*/
public interface BackupPoliciesClient {
/**
- * List backup policies
- *
- * List backup policies for Netapp Account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backup Policies as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName);
-
- /**
- * List backup policies
- *
- * List backup policies for Netapp Account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backup Policies as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, Context context);
-
- /**
- * Get a backup Policy
- *
* Get a particular backup Policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -68,8 +35,6 @@ Response getWithResponse(String resourceGroupName, String acc
Context context);
/**
- * Get a backup Policy
- *
* Get a particular backup Policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -84,8 +49,6 @@ Response getWithResponse(String resourceGroupName, String acc
BackupPolicyInner get(String resourceGroupName, String accountName, String backupPolicyName);
/**
- * Create a backup policy
- *
* Create a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -102,8 +65,6 @@ SyncPoller, BackupPolicyInner> beginCreate(String
String accountName, String backupPolicyName, BackupPolicyInner body);
/**
- * Create a backup policy
- *
* Create a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -121,8 +82,6 @@ SyncPoller, BackupPolicyInner> beginCreate(String
String accountName, String backupPolicyName, BackupPolicyInner body, Context context);
/**
- * Create a backup policy
- *
* Create a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -139,8 +98,6 @@ BackupPolicyInner create(String resourceGroupName, String accountName, String ba
BackupPolicyInner body);
/**
- * Create a backup policy
- *
* Create a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -158,8 +115,6 @@ BackupPolicyInner create(String resourceGroupName, String accountName, String ba
BackupPolicyInner body, Context context);
/**
- * Patch a backup policy
- *
* Patch a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -176,8 +131,6 @@ SyncPoller, BackupPolicyInner> beginUpdate(String
String accountName, String backupPolicyName, BackupPolicyPatch body);
/**
- * Patch a backup policy
- *
* Patch a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -195,8 +148,6 @@ SyncPoller, BackupPolicyInner> beginUpdate(String
String accountName, String backupPolicyName, BackupPolicyPatch body, Context context);
/**
- * Patch a backup policy
- *
* Patch a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -213,8 +164,6 @@ BackupPolicyInner update(String resourceGroupName, String accountName, String ba
BackupPolicyPatch body);
/**
- * Patch a backup policy
- *
* Patch a backup policy for Netapp Account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -232,8 +181,6 @@ BackupPolicyInner update(String resourceGroupName, String accountName, String ba
BackupPolicyPatch body, Context context);
/**
- * Delete a backup policy
- *
* Delete backup policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -249,8 +196,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String backupPolicyName);
/**
- * Delete a backup policy
- *
* Delete backup policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -267,8 +212,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String backupPolicyName, Context context);
/**
- * Delete a backup policy
- *
* Delete backup policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -282,8 +225,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String backupPolicyName);
/**
- * Delete a backup policy
- *
* Delete backup policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -296,4 +237,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String backupPolicyName, Context context);
+
+ /**
+ * List backup policies for Netapp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backup Policies as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
+
+ /**
+ * List backup policies for Netapp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backup Policies as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupVaultsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupVaultsClient.java
index 0abfd494ddcd..460f82a46aa1 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupVaultsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupVaultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,39 +19,6 @@
*/
public interface BackupVaultsClient {
/**
- * Describe all Backup Vaults
- *
- * List and describe all Backup Vaults in the NetApp account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backup Vaults as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByNetAppAccount(String resourceGroupName, String accountName);
-
- /**
- * Describe all Backup Vaults
- *
- * List and describe all Backup Vaults in the NetApp account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backup Vaults as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context);
-
- /**
- * Describe the Backup Vault
- *
* Get the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -68,8 +35,6 @@ Response getWithResponse(String resourceGroupName, String acco
Context context);
/**
- * Describe the Backup Vault
- *
* Get the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -84,8 +49,6 @@ Response getWithResponse(String resourceGroupName, String acco
BackupVaultInner get(String resourceGroupName, String accountName, String backupVaultName);
/**
- * Create or Update a Backup Vault
- *
* Create or update the specified Backup Vault in the NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -102,8 +65,6 @@ SyncPoller, BackupVaultInner> beginCreateOrUpdate(S
String accountName, String backupVaultName, BackupVaultInner body);
/**
- * Create or Update a Backup Vault
- *
* Create or update the specified Backup Vault in the NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -121,8 +82,6 @@ SyncPoller, BackupVaultInner> beginCreateOrUpdate(S
String accountName, String backupVaultName, BackupVaultInner body, Context context);
/**
- * Create or Update a Backup Vault
- *
* Create or update the specified Backup Vault in the NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -139,8 +98,6 @@ BackupVaultInner createOrUpdate(String resourceGroupName, String accountName, St
BackupVaultInner body);
/**
- * Create or Update a Backup Vault
- *
* Create or update the specified Backup Vault in the NetApp account.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -158,8 +115,6 @@ BackupVaultInner createOrUpdate(String resourceGroupName, String accountName, St
BackupVaultInner body, Context context);
/**
- * Update NetApp Backup Vault
- *
* Patch the specified NetApp Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -176,8 +131,6 @@ SyncPoller, BackupVaultInner> beginUpdate(String re
String backupVaultName, BackupVaultPatch body);
/**
- * Update NetApp Backup Vault
- *
* Patch the specified NetApp Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -195,8 +148,6 @@ SyncPoller, BackupVaultInner> beginUpdate(String re
String backupVaultName, BackupVaultPatch body, Context context);
/**
- * Update NetApp Backup Vault
- *
* Patch the specified NetApp Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -213,8 +164,6 @@ BackupVaultInner update(String resourceGroupName, String accountName, String bac
BackupVaultPatch body);
/**
- * Update NetApp Backup Vault
- *
* Patch the specified NetApp Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -232,8 +181,6 @@ BackupVaultInner update(String resourceGroupName, String accountName, String bac
Context context);
/**
- * Delete NetApp Backup Vault
- *
* Delete the specified Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -249,8 +196,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String backupVaultName);
/**
- * Delete NetApp Backup Vault
- *
* Delete the specified Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -267,8 +212,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Delete NetApp Backup Vault
- *
* Delete the specified Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -282,8 +225,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String backupVaultName);
/**
- * Delete NetApp Backup Vault
- *
* Delete the specified Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -296,4 +237,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String backupVaultName, Context context);
+
+ /**
+ * List and describe all Backup Vaults in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backup Vaults as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByNetAppAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List and describe all Backup Vaults in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backup Vaults as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java
index 05de10aa11ad..c8063c0db64c 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -21,117 +21,6 @@
*/
public interface BackupsClient {
/**
- * Get the latest backup status of a volume
- *
- * Get the latest status of the backup for a volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the latest status of the backup for a volume along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getLatestStatusWithResponse(String resourceGroupName, String accountName,
- String poolName, String volumeName, Context context);
-
- /**
- * Get the latest backup status of a volume
- *
- * Get the latest status of the backup for a volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the latest status of the backup for a volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BackupStatusInner getLatestStatus(String resourceGroupName, String accountName, String poolName, String volumeName);
-
- /**
- * Get the latest restore status of a volume
- *
- * Get the latest status of the restore for a volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the latest status of the restore for a volume along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getVolumeLatestRestoreStatusWithResponse(String resourceGroupName, String accountName,
- String poolName, String volumeName, Context context);
-
- /**
- * Get the latest restore status of a volume
- *
- * Get the latest status of the restore for a volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the latest status of the restore for a volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RestoreStatusInner getVolumeLatestRestoreStatus(String resourceGroupName, String accountName, String poolName,
- String volumeName);
-
- /**
- * List Backups
- *
- * List all backups Under a Backup Vault.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param backupVaultName The name of the Backup Vault.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backups as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName);
-
- /**
- * List Backups
- *
- * List all backups Under a Backup Vault.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param backupVaultName The name of the Backup Vault.
- * @param filter An option to specify the VolumeResourceId. If present, then only returns the backups under the
- * specified volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Backups as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName,
- String filter, Context context);
-
- /**
- * Describe the Backup under Backup Vault
- *
* Get the specified Backup under Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -149,8 +38,6 @@ Response getWithResponse(String resourceGroupName, String accountNa
String backupName, Context context);
/**
- * Describe the Backup under Backup Vault
- *
* Get the specified Backup under Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -166,8 +53,6 @@ Response getWithResponse(String resourceGroupName, String accountNa
BackupInner get(String resourceGroupName, String accountName, String backupVaultName, String backupName);
/**
- * Create a backup
- *
* Create a backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -185,8 +70,6 @@ SyncPoller, BackupInner> beginCreate(String resourceGrou
String backupVaultName, String backupName, BackupInner body);
/**
- * Create a backup
- *
* Create a backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -205,8 +88,6 @@ SyncPoller, BackupInner> beginCreate(String resourceGrou
String backupVaultName, String backupName, BackupInner body, Context context);
/**
- * Create a backup
- *
* Create a backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -224,8 +105,6 @@ BackupInner create(String resourceGroupName, String accountName, String backupVa
BackupInner body);
/**
- * Create a backup
- *
* Create a backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -244,8 +123,6 @@ BackupInner create(String resourceGroupName, String accountName, String backupVa
BackupInner body, Context context);
/**
- * Patch a backup
- *
* Patch a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -262,8 +139,6 @@ SyncPoller, BackupInner> beginUpdate(String resourceGrou
String backupVaultName, String backupName);
/**
- * Patch a backup
- *
* Patch a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -282,8 +157,6 @@ SyncPoller, BackupInner> beginUpdate(String resourceGrou
String backupVaultName, String backupName, BackupPatch body, Context context);
/**
- * Patch a backup
- *
* Patch a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -299,8 +172,6 @@ SyncPoller, BackupInner> beginUpdate(String resourceGrou
BackupInner update(String resourceGroupName, String accountName, String backupVaultName, String backupName);
/**
- * Patch a backup
- *
* Patch a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -319,8 +190,6 @@ BackupInner update(String resourceGroupName, String accountName, String backupVa
BackupPatch body, Context context);
/**
- * Delete backup
- *
* Delete a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -337,8 +206,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String backupName);
/**
- * Delete backup
- *
* Delete a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -356,8 +223,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String backupName, Context context);
/**
- * Delete backup
- *
* Delete a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -372,8 +237,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String backupVaultName, String backupName);
/**
- * Delete backup
- *
* Delete a Backup under the Backup Vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -388,4 +251,101 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String backupVaultName, String backupName,
Context context);
+
+ /**
+ * List all backups Under a Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param backupVaultName The name of the Backup Vault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backups as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName);
+
+ /**
+ * List all backups Under a Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param backupVaultName The name of the Backup Vault.
+ * @param filter An option to specify the VolumeResourceId. If present, then only returns the backups under the
+ * specified volume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Backups as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName,
+ String filter, Context context);
+
+ /**
+ * Get the latest status of the backup for a volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the latest status of the backup for a volume along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getLatestStatusWithResponse(String resourceGroupName, String accountName,
+ String poolName, String volumeName, Context context);
+
+ /**
+ * Get the latest status of the backup for a volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the latest status of the backup for a volume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BackupStatusInner getLatestStatus(String resourceGroupName, String accountName, String poolName, String volumeName);
+
+ /**
+ * Get the latest status of the restore for a volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the latest status of the restore for a volume along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getVolumeLatestRestoreStatusWithResponse(String resourceGroupName, String accountName,
+ String poolName, String volumeName, Context context);
+
+ /**
+ * Get the latest status of the restore for a volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the latest status of the restore for a volume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RestoreStatusInner getVolumeLatestRestoreStatus(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderAccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderAccountsClient.java
index c6c412209142..0d83cf5a9c43 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderAccountsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderAccountsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -16,8 +16,6 @@
*/
public interface BackupsUnderAccountsClient {
/**
- * Create a new migrate request for backups under account
- *
* Migrate the backups under a NetApp account to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -33,8 +31,6 @@ SyncPoller, Void> beginMigrateBackups(String resourceGroupName,
BackupsMigrationRequest body);
/**
- * Create a new migrate request for backups under account
- *
* Migrate the backups under a NetApp account to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -51,8 +47,6 @@ SyncPoller, Void> beginMigrateBackups(String resourceGroupName,
BackupsMigrationRequest body, Context context);
/**
- * Create a new migrate request for backups under account
- *
* Migrate the backups under a NetApp account to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -66,8 +60,6 @@ SyncPoller, Void> beginMigrateBackups(String resourceGroupName,
void migrateBackups(String resourceGroupName, String accountName, BackupsMigrationRequest body);
/**
- * Create a new migrate request for backups under account
- *
* Migrate the backups under a NetApp account to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderBackupVaultsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderBackupVaultsClient.java
index 590bf356e98e..64eff53622cc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderBackupVaultsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderBackupVaultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -16,8 +16,6 @@
*/
public interface BackupsUnderBackupVaultsClient {
/**
- * Create a new Backup Restore Files request
- *
* Restore the specified files from the specified backup to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -35,8 +33,6 @@ SyncPoller, Void> beginRestoreFiles(String resourceGroupName, S
String backupVaultName, String backupName, BackupRestoreFiles body);
/**
- * Create a new Backup Restore Files request
- *
* Restore the specified files from the specified backup to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -55,8 +51,6 @@ SyncPoller, Void> beginRestoreFiles(String resourceGroupName, S
String backupVaultName, String backupName, BackupRestoreFiles body, Context context);
/**
- * Create a new Backup Restore Files request
- *
* Restore the specified files from the specified backup to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -73,8 +67,6 @@ void restoreFiles(String resourceGroupName, String accountName, String backupVau
BackupRestoreFiles body);
/**
- * Create a new Backup Restore Files request
- *
* Restore the specified files from the specified backup to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderVolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderVolumesClient.java
index 6f8b97e2af64..ebf94d686b6b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderVolumesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsUnderVolumesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -16,8 +16,6 @@
*/
public interface BackupsUnderVolumesClient {
/**
- * Create a new migrate request for backups under volume
- *
* Migrate the backups under volume to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -35,8 +33,6 @@ SyncPoller, Void> beginMigrateBackups(String resourceGroupName,
String poolName, String volumeName, BackupsMigrationRequest body);
/**
- * Create a new migrate request for backups under volume
- *
* Migrate the backups under volume to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -55,8 +51,6 @@ SyncPoller, Void> beginMigrateBackups(String resourceGroupName,
String poolName, String volumeName, BackupsMigrationRequest body, Context context);
/**
- * Create a new migrate request for backups under volume
- *
* Migrate the backups under volume to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -73,8 +67,6 @@ void migrateBackups(String resourceGroupName, String accountName, String poolNam
BackupsMigrationRequest body);
/**
- * Create a new migrate request for backups under volume
- *
* Migrate the backups under volume to backup vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BucketsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BucketsClient.java
deleted file mode 100644
index d2166a52158d..000000000000
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BucketsClient.java
+++ /dev/null
@@ -1,396 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.netapp.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.netapp.fluent.models.BucketGenerateCredentialsInner;
-import com.azure.resourcemanager.netapp.fluent.models.BucketInner;
-import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
-import com.azure.resourcemanager.netapp.models.BucketPatch;
-
-/**
- * An instance of this class provides access to all the operations defined in BucketsClient.
- */
-public interface BucketsClient {
- /**
- * Describes all buckets belonging to a volume
- *
- * Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume bucket resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName);
-
- /**
- * Describes all buckets belonging to a volume
- *
- * Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume bucket resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName,
- Context context);
-
- /**
- * Describe a volume's bucket
- *
- * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services,
- * connect to the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of the specified volume's bucket along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String accountName, String poolName,
- String volumeName, String bucketName, Context context);
-
- /**
- * Describe a volume's bucket
- *
- * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services,
- * connect to the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of the specified volume's bucket.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketInner get(String resourceGroupName, String accountName, String poolName, String volumeName,
- String bucketName);
-
- /**
- * Creates or updates a bucket for a volume
- *
- * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of bucket resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BucketInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String bucketName, BucketInner body);
-
- /**
- * Creates or updates a bucket for a volume
- *
- * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of bucket resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BucketInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String bucketName, BucketInner body, Context context);
-
- /**
- * Creates or updates a bucket for a volume
- *
- * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
- String bucketName, BucketInner body);
-
- /**
- * Creates or updates a bucket for a volume
- *
- * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
- * the volume data contained in those buckets.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
- String bucketName, BucketInner body, Context context);
-
- /**
- * Updates a bucket for a volume
- *
- * Updates the details of a volume bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of bucket resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BucketInner> beginUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String bucketName, BucketPatch body);
-
- /**
- * Updates a bucket for a volume
- *
- * Updates the details of a volume bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of bucket resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BucketInner> beginUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String bucketName, BucketPatch body, Context context);
-
- /**
- * Updates a bucket for a volume
- *
- * Updates the details of a volume bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
- String bucketName, BucketPatch body);
-
- /**
- * Updates a bucket for a volume
- *
- * Updates the details of a volume bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket details including user details, and the volume path that should be mounted inside the
- * bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
- String bucketName, BucketPatch body, Context context);
-
- /**
- * Delete a volume's bucket
- *
- * Delete a volume's bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
- String volumeName, String bucketName);
-
- /**
- * Delete a volume's bucket
- *
- * Delete a volume's bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
- String volumeName, String bucketName, Context context);
-
- /**
- * Delete a volume's bucket
- *
- * Delete a volume's bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String bucketName);
-
- /**
- * Delete a volume's bucket
- *
- * Delete a volume's bucket.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String bucketName,
- Context context);
-
- /**
- * Generate bucket access credentials
- *
- * Generate the access key and secret key used for accessing the specified volume bucket. Also return expiry date
- * and time of key pair (in UTC).
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket's Access and Secret key pair expiry time expressed as the number of days from now.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket Access Key, Secret Key, and Expiry date and time of the key pair along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response generateCredentialsWithResponse(String resourceGroupName,
- String accountName, String poolName, String volumeName, String bucketName, BucketCredentialsExpiry body,
- Context context);
-
- /**
- * Generate bucket access credentials
- *
- * Generate the access key and secret key used for accessing the specified volume bucket. Also return expiry date
- * and time of key pair (in UTC).
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param bucketName The name of the bucket.
- * @param body The bucket's Access and Secret key pair expiry time expressed as the number of days from now.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return bucket Access Key, Secret Key, and Expiry date and time of the key pair.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BucketGenerateCredentialsInner generateCredentials(String resourceGroupName, String accountName, String poolName,
- String volumeName, String bucketName, BucketCredentialsExpiry body);
-}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
index 290eba0adb2b..9dc942a052a9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -12,26 +12,26 @@
*/
public interface NetAppManagementClient {
/**
- * Gets The ID of the target subscription. The value must be an UUID.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
+ * Gets Service host.
*
* @return the endpoint value.
*/
String getEndpoint();
/**
- * Gets Api Version.
+ * Gets Version parameter.
*
* @return the apiVersion value.
*/
String getApiVersion();
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -54,46 +54,25 @@ public interface NetAppManagementClient {
OperationsClient getOperations();
/**
- * Gets the NetAppResourcesClient object to access its operations.
- *
- * @return the NetAppResourcesClient object.
- */
- NetAppResourcesClient getNetAppResources();
-
- /**
- * Gets the NetAppResourceUsagesClient object to access its operations.
- *
- * @return the NetAppResourceUsagesClient object.
- */
- NetAppResourceUsagesClient getNetAppResourceUsages();
-
- /**
- * Gets the NetAppResourceQuotaLimitsClient object to access its operations.
- *
- * @return the NetAppResourceQuotaLimitsClient object.
- */
- NetAppResourceQuotaLimitsClient getNetAppResourceQuotaLimits();
-
- /**
- * Gets the NetAppResourceRegionInfosClient object to access its operations.
+ * Gets the NetAppResourceQuotaLimitsAccountsClient object to access its operations.
*
- * @return the NetAppResourceRegionInfosClient object.
+ * @return the NetAppResourceQuotaLimitsAccountsClient object.
*/
- NetAppResourceRegionInfosClient getNetAppResourceRegionInfos();
+ NetAppResourceQuotaLimitsAccountsClient getNetAppResourceQuotaLimitsAccounts();
/**
- * Gets the AccountsClient object to access its operations.
+ * Gets the VolumeGroupsClient object to access its operations.
*
- * @return the AccountsClient object.
+ * @return the VolumeGroupsClient object.
*/
- AccountsClient getAccounts();
+ VolumeGroupsClient getVolumeGroups();
/**
- * Gets the PoolsClient object to access its operations.
+ * Gets the BackupsClient object to access its operations.
*
- * @return the PoolsClient object.
+ * @return the BackupsClient object.
*/
- PoolsClient getPools();
+ BackupsClient getBackups();
/**
* Gets the VolumesClient object to access its operations.
@@ -131,39 +110,46 @@ public interface NetAppManagementClient {
VolumeQuotaRulesClient getVolumeQuotaRules();
/**
- * Gets the VolumeGroupsClient object to access its operations.
+ * Gets the BackupVaultsClient object to access its operations.
*
- * @return the VolumeGroupsClient object.
+ * @return the BackupVaultsClient object.
*/
- VolumeGroupsClient getVolumeGroups();
+ BackupVaultsClient getBackupVaults();
/**
- * Gets the SubvolumesClient object to access its operations.
+ * Gets the NetAppResourceQuotaLimitsClient object to access its operations.
*
- * @return the SubvolumesClient object.
+ * @return the NetAppResourceQuotaLimitsClient object.
*/
- SubvolumesClient getSubvolumes();
+ NetAppResourceQuotaLimitsClient getNetAppResourceQuotaLimits();
/**
- * Gets the BackupsClient object to access its operations.
+ * Gets the NetAppResourceRegionInfosClient object to access its operations.
*
- * @return the BackupsClient object.
+ * @return the NetAppResourceRegionInfosClient object.
*/
- BackupsClient getBackups();
+ NetAppResourceRegionInfosClient getNetAppResourceRegionInfos();
/**
- * Gets the NetAppResourceQuotaLimitsAccountsClient object to access its operations.
+ * Gets the AccountsClient object to access its operations.
*
- * @return the NetAppResourceQuotaLimitsAccountsClient object.
+ * @return the AccountsClient object.
*/
- NetAppResourceQuotaLimitsAccountsClient getNetAppResourceQuotaLimitsAccounts();
+ AccountsClient getAccounts();
/**
- * Gets the BackupVaultsClient object to access its operations.
+ * Gets the BackupsUnderAccountsClient object to access its operations.
*
- * @return the BackupVaultsClient object.
+ * @return the BackupsUnderAccountsClient object.
*/
- BackupVaultsClient getBackupVaults();
+ BackupsUnderAccountsClient getBackupsUnderAccounts();
+
+ /**
+ * Gets the PoolsClient object to access its operations.
+ *
+ * @return the PoolsClient object.
+ */
+ PoolsClient getPools();
/**
* Gets the BackupsUnderBackupVaultsClient object to access its operations.
@@ -180,16 +166,23 @@ public interface NetAppManagementClient {
BackupsUnderVolumesClient getBackupsUnderVolumes();
/**
- * Gets the BackupsUnderAccountsClient object to access its operations.
+ * Gets the SubvolumesClient object to access its operations.
*
- * @return the BackupsUnderAccountsClient object.
+ * @return the SubvolumesClient object.
*/
- BackupsUnderAccountsClient getBackupsUnderAccounts();
+ SubvolumesClient getSubvolumes();
/**
- * Gets the BucketsClient object to access its operations.
+ * Gets the NetAppResourcesClient object to access its operations.
*
- * @return the BucketsClient object.
+ * @return the NetAppResourcesClient object.
*/
- BucketsClient getBuckets();
+ NetAppResourcesClient getNetAppResources();
+
+ /**
+ * Gets the NetAppResourceUsagesClient object to access its operations.
+ *
+ * @return the NetAppResourceUsagesClient object.
+ */
+ NetAppResourceUsagesClient getNetAppResourceUsages();
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsAccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsAccountsClient.java
index 4168cf6268f0..745fd6ec2b75 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsAccountsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsAccountsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -9,76 +9,68 @@
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
-import com.azure.resourcemanager.netapp.fluent.models.QuotaItemInner;
+import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;
/**
* An instance of this class provides access to all the operations defined in NetAppResourceQuotaLimitsAccountsClient.
*/
public interface NetAppResourceQuotaLimitsAccountsClient {
/**
- * Gets a list of quota limits for all quotas that are under account.
- *
- * Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.
+ * Get the default, current and usages account quota limit.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
+ * @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of quota limits for all quotas that are under account as paginated response with
- * {@link PagedIterable}.
+ * @return the default, current and usages account quota limit along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String quotaLimitName, Context context);
/**
- * Gets a list of quota limits for all quotas that are under account.
- *
- * Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.
+ * Get the default, current and usages account quota limit.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
+ * @param quotaLimitName The name of the Quota Limit.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of quota limits for all quotas that are under account as paginated response with
- * {@link PagedIterable}.
+ * @return the default, current and usages account quota limit.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubscriptionQuotaItemInner get(String resourceGroupName, String accountName, String quotaLimitName);
/**
- * Gets the quota limits for the specific quota that is provided under the account.
- *
- * Get the default, current and usages account quota limit.
+ * Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
- * @param quotaLimitName The name of the Quota Limit.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default, current and usages account quota limit along with {@link Response}.
+ * @return a list of quota limits for all quotas that are under account as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String accountName, String quotaLimitName,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
/**
- * Gets the quota limits for the specific quota that is provided under the account.
- *
- * Get the default, current and usages account quota limit.
+ * Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
- * @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default, current and usages account quota limit.
+ * @return a list of quota limits for all quotas that are under account as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- QuotaItemInner get(String resourceGroupName, String accountName, String quotaLimitName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java
index 9c46cb25b567..a4d3f0f34ca0 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -9,69 +9,61 @@
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
-import com.azure.resourcemanager.netapp.fluent.models.QuotaItemInner;
+import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;
/**
* An instance of this class provides access to all the operations defined in NetAppResourceQuotaLimitsClient.
*/
public interface NetAppResourceQuotaLimitsClient {
/**
- * Get quota limits
- *
- * Get the default and current limits for quotas.
+ * Get the default and current quota limit.
*
* @param location The name of the Azure region.
+ * @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current limits for quotas as paginated response with {@link PagedIterable}.
+ * @return the default and current quota limit along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String quotaLimitName, Context context);
/**
- * Get quota limits
- *
- * Get the default and current limits for quotas.
+ * Get the default and current quota limit.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param quotaLimitName The name of the Quota Limit.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current limits for quotas as paginated response with {@link PagedIterable}.
+ * @return the default and current quota limit.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubscriptionQuotaItemInner get(String location, String quotaLimitName);
/**
- * Get quota limits
- *
- * Get the default and current subscription quota limit.
+ * Get the default and current limits for quotas.
*
* @param location The name of the Azure region.
- * @param quotaLimitName The name of the Quota Limit.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current subscription quota limit along with {@link Response}.
+ * @return the default and current limits for quotas as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String quotaLimitName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location);
/**
- * Get quota limits
- *
- * Get the default and current subscription quota limit.
+ * Get the default and current limits for quotas.
*
* @param location The name of the Azure region.
- * @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current subscription quota limit.
+ * @return the default and current limits for quotas as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- QuotaItemInner get(String location, String quotaLimitName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceRegionInfosClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceRegionInfosClient.java
index d1077d2c2671..62504a072652 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceRegionInfosClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceRegionInfosClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -16,60 +16,52 @@
*/
public interface NetAppResourceRegionInfosClient {
/**
- * Describes region specific information.
- *
- * Provides region specific information.
+ * Provides storage to network proximity and logical zone mapping information.
*
* @param location The name of the Azure region.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of regionInfo resources as paginated response with {@link PagedIterable}.
+ * @return information regarding regionInfo Item along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, Context context);
/**
- * Describes region specific information.
- *
- * Provides region specific information.
+ * Provides storage to network proximity and logical zone mapping information.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of regionInfo resources as paginated response with {@link PagedIterable}.
+ * @return information regarding regionInfo Item.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RegionInfoResourceInner get(String location);
/**
- * Describes region specific information.
- *
- * Provides storage to network proximity and logical zone mapping information.
+ * Provides region specific information.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding regionInfo Item along with {@link Response}.
+ * @return list of regionInfo resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location);
/**
- * Describes region specific information.
- *
- * Provides storage to network proximity and logical zone mapping information.
+ * Provides region specific information.
*
* @param location The name of the Azure region.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding regionInfo Item.
+ * @return list of regionInfo resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- RegionInfoResourceInner get(String location);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceUsagesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceUsagesClient.java
index 7016d2184f1c..13c0723473f1 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceUsagesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceUsagesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -20,11 +20,13 @@ public interface NetAppResourceUsagesClient {
*
* Get current subscription usages.
*
- * @param location The name of the Azure region.
+ * @param location The location name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return current subscription usages as paginated response with {@link PagedIterable}.
+ * @return usages
+ *
+ * Get current subscription usages as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location);
@@ -34,12 +36,14 @@ public interface NetAppResourceUsagesClient {
*
* Get current subscription usages.
*
- * @param location The name of the Azure region.
+ * @param location The location name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return current subscription usages as paginated response with {@link PagedIterable}.
+ * @return usages
+ *
+ * Get current subscription usages as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String location, Context context);
@@ -55,7 +59,9 @@ public interface NetAppResourceUsagesClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return current subscription usage of the specific type along with {@link Response}.
+ * @return specific type of usage
+ *
+ * Get current subscription usage of the specific type along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String location, String usageType, Context context);
@@ -70,7 +76,9 @@ public interface NetAppResourceUsagesClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return current subscription usage of the specific type.
+ * @return specific type of usage
+ *
+ * Get current subscription usage of the specific type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
UsageResultInner get(String location, String usageType);
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java
index a1f1ed54b7a0..23e2ffb36e63 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -28,8 +28,8 @@ public interface NetAppResourcesClient {
*
* Check if a resource name is available.
*
- * @param location The name of the Azure region.
- * @param body Name availability request.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -45,8 +45,8 @@ Response checkNameAvailabilityWithResponse(Strin
*
* Check if a resource name is available.
*
- * @param location The name of the Azure region.
- * @param body Name availability request.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -60,8 +60,8 @@ Response checkNameAvailabilityWithResponse(Strin
*
* Check if a file path is available.
*
- * @param location The name of the Azure region.
- * @param body File path availability request.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -77,8 +77,8 @@ Response checkFilePathAvailabilityWithResponse(S
*
* Check if a file path is available.
*
- * @param location The name of the Azure region.
- * @param body File path availability request.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -92,8 +92,8 @@ Response checkFilePathAvailabilityWithResponse(S
*
* Check if a quota is available.
*
- * @param location The name of the Azure region.
- * @param body Quota availability request.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -109,8 +109,8 @@ Response checkQuotaAvailabilityWithResponse(Stri
*
* Check if a quota is available.
*
- * @param location The name of the Azure region.
- * @param body Quota availability request.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -124,7 +124,7 @@ Response checkQuotaAvailabilityWithResponse(Stri
*
* Provides storage to network proximity and logical zone mapping information.
*
- * @param location The name of the Azure region.
+ * @param location The location name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -139,7 +139,7 @@ Response checkQuotaAvailabilityWithResponse(Stri
*
* Provides storage to network proximity and logical zone mapping information.
*
- * @param location The name of the Azure region.
+ * @param location The location name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -153,13 +153,13 @@ Response checkQuotaAvailabilityWithResponse(Stri
*
* Get details of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Network sibling set to query.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified network sibling set along with {@link Response}.
+ * @return describes the contents of a network sibling set along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response queryNetworkSiblingSetWithResponse(String location,
@@ -170,12 +170,12 @@ Response queryNetworkSiblingSetWithResponse(String locat
*
* Get details of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Network sibling set to query.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified network sibling set.
+ * @return describes the contents of a network sibling set.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NetworkSiblingSetInner queryNetworkSiblingSet(String location, QueryNetworkSiblingSetRequest body);
@@ -185,12 +185,12 @@ Response queryNetworkSiblingSetWithResponse(String locat
*
* Update the network features of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Update for the specified network sibling set.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of network sibling set.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetworkSiblingSetInner> beginUpdateNetworkSiblingSet(String location,
@@ -201,13 +201,13 @@ SyncPoller, NetworkSiblingSetInner> beginUpda
*
* Update the network features of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Update for the specified network sibling set.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of network sibling set.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetworkSiblingSetInner> beginUpdateNetworkSiblingSet(String location,
@@ -218,12 +218,12 @@ SyncPoller, NetworkSiblingSetInner> beginUpda
*
* Update the network features of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Update for the specified network sibling set.
+ * @param location The location name.
+ * @param body The request body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return network sibling set.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NetworkSiblingSetInner updateNetworkSiblingSet(String location, UpdateNetworkSiblingSetRequest body);
@@ -233,13 +233,13 @@ SyncPoller, NetworkSiblingSetInner> beginUpda
*
* Update the network features of the specified network sibling set.
*
- * @param location The name of the Azure region.
- * @param body Update for the specified network sibling set.
+ * @param location The location name.
+ * @param body The request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return network sibling set.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NetworkSiblingSetInner updateNetworkSiblingSet(String location, UpdateNetworkSiblingSetRequest body,
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java
index 0bfc9a564a96..5aaee7dbf486 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -15,27 +15,25 @@
*/
public interface OperationsClient {
/**
- * Describes the Resource Provider
- *
- * Lists all of the available Microsoft.NetApp Rest API operations.
+ * List the operations for the provider.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list Cloud Volume operations as paginated response with {@link PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * Describes the Resource Provider
- *
- * Lists all of the available Microsoft.NetApp Rest API operations.
+ * List the operations for the provider.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list Cloud Volume operations as paginated response with {@link PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java
index 6a5d0105cb74..ef3633bab84f 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,39 +19,6 @@
*/
public interface PoolsClient {
/**
- * Describe all Capacity Pools
- *
- * List all capacity pools in the NetApp Account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of capacity pool resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName);
-
- /**
- * Describe all Capacity Pools
- *
- * List all capacity pools in the NetApp Account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of capacity pool resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, Context context);
-
- /**
- * Describe a Capacity Pool
- *
* Get details of the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -68,8 +35,6 @@ Response getWithResponse(String resourceGroupName, String acc
Context context);
/**
- * Describe a Capacity Pool
- *
* Get details of the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -84,8 +49,6 @@ Response getWithResponse(String resourceGroupName, String acc
CapacityPoolInner get(String resourceGroupName, String accountName, String poolName);
/**
- * Create or Update the specified capacity pool within the resource group
- *
* Create or Update a capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -102,8 +65,6 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate
String accountName, String poolName, CapacityPoolInner body);
/**
- * Create or Update the specified capacity pool within the resource group
- *
* Create or Update a capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -121,8 +82,6 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate
String accountName, String poolName, CapacityPoolInner body, Context context);
/**
- * Create or Update the specified capacity pool within the resource group
- *
* Create or Update a capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -139,8 +98,6 @@ CapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, S
CapacityPoolInner body);
/**
- * Create or Update the specified capacity pool within the resource group
- *
* Create or Update a capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -158,8 +115,6 @@ CapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, S
CapacityPoolInner body, Context context);
/**
- * Update a capacity pool
- *
* Patch the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -176,8 +131,6 @@ SyncPoller, CapacityPoolInner> beginUpdate(String
String accountName, String poolName, CapacityPoolPatch body);
/**
- * Update a capacity pool
- *
* Patch the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -195,8 +148,6 @@ SyncPoller, CapacityPoolInner> beginUpdate(String
String accountName, String poolName, CapacityPoolPatch body, Context context);
/**
- * Update a capacity pool
- *
* Patch the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -212,8 +163,6 @@ SyncPoller, CapacityPoolInner> beginUpdate(String
CapacityPoolInner update(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body);
/**
- * Update a capacity pool
- *
* Patch the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -231,8 +180,6 @@ CapacityPoolInner update(String resourceGroupName, String accountName, String po
Context context);
/**
- * Delete a capacity pool
- *
* Delete the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -247,8 +194,6 @@ CapacityPoolInner update(String resourceGroupName, String accountName, String po
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName);
/**
- * Delete a capacity pool
- *
* Delete the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -265,8 +210,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Delete a capacity pool
- *
* Delete the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -280,8 +223,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String poolName);
/**
- * Delete a capacity pool
- *
* Delete the specified capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -294,4 +235,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String poolName, Context context);
+
+ /**
+ * List all capacity pools in the NetApp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of capacity pool resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
+
+ /**
+ * List all capacity pools in the NetApp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of capacity pool resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java
index 8a1402bba486..57cc9fc7fb0f 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,33 +19,6 @@
* An instance of this class provides access to all the operations defined in SnapshotPoliciesClient.
*/
public interface SnapshotPoliciesClient {
- /**
- * List snapshot policy.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Snapshot Policies as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName);
-
- /**
- * List snapshot policy.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Snapshot Policies as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, Context context);
-
/**
* Get a snapshot Policy.
*
@@ -234,8 +207,33 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
/**
- * Get volumes for snapshot policy
+ * List snapshot policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Snapshot Policies as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName);
+
+ /**
+ * List snapshot policy.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Snapshot Policies as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, Context context);
+
+ /**
* Get volumes associated with snapshot policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -252,8 +250,6 @@ Response listVolumesWithResponse(String resourceG
String snapshotPolicyName, Context context);
/**
- * Get volumes for snapshot policy
- *
* Get volumes associated with snapshot policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java
index 6872d4d486e9..a895756a149f 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,44 +19,6 @@
*/
public interface SnapshotsClient {
/**
- * Describe all snapshots
- *
- * List all snapshots associated with the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Snapshots as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName);
-
- /**
- * Describe all snapshots
- *
- * List all snapshots associated with the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Snapshots as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName,
- Context context);
-
- /**
- * Describe a snapshot
- *
* Get details of the specified snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -75,8 +37,6 @@ Response getWithResponse(String resourceGroupName, String account
String volumeName, String snapshotName, Context context);
/**
- * Describe a snapshot
- *
* Get details of the specified snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -94,8 +54,6 @@ SnapshotInner get(String resourceGroupName, String accountName, String poolName,
String snapshotName);
/**
- * Create a snapshot
- *
* Create the specified snapshot within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -114,8 +72,6 @@ SyncPoller, SnapshotInner> beginCreate(String resource
String poolName, String volumeName, String snapshotName, SnapshotInner body);
/**
- * Create a snapshot
- *
* Create the specified snapshot within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -135,8 +91,6 @@ SyncPoller, SnapshotInner> beginCreate(String resource
String poolName, String volumeName, String snapshotName, SnapshotInner body, Context context);
/**
- * Create a snapshot
- *
* Create the specified snapshot within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -155,8 +109,6 @@ SnapshotInner create(String resourceGroupName, String accountName, String poolNa
String snapshotName, SnapshotInner body);
/**
- * Create a snapshot
- *
* Create the specified snapshot within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -176,90 +128,41 @@ SnapshotInner create(String resourceGroupName, String accountName, String poolNa
String snapshotName, SnapshotInner body, Context context);
/**
- * Update a snapshot
- *
- * Patch a snapshot.
+ * Delete snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
- * @param body Snapshot object supplied in the body of the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of snapshot of a Volume.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SnapshotInner> beginUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String snapshotName, Object body);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName);
/**
- * Update a snapshot
- *
- * Patch a snapshot.
+ * Delete snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
- * @param body Snapshot object supplied in the body of the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of snapshot of a Volume.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SnapshotInner> beginUpdate(String resourceGroupName, String accountName,
- String poolName, String volumeName, String snapshotName, Object body, Context context);
-
- /**
- * Update a snapshot
- *
- * Patch a snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param snapshotName The name of the snapshot.
- * @param body Snapshot object supplied in the body of the operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return snapshot of a Volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
- String snapshotName, Object body);
-
- /**
- * Update a snapshot
- *
- * Patch a snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param snapshotName The name of the snapshot.
- * @param body Snapshot object supplied in the body of the operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return snapshot of a Volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
- String snapshotName, Object body, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName, Context context);
/**
- * Delete a snapshot
- *
* Delete snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -270,15 +173,11 @@ SnapshotInner update(String resourceGroupName, String accountName, String poolNa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
- String volumeName, String snapshotName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
/**
- * Delete a snapshot
- *
* Delete snapshot.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -290,51 +189,44 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
- String volumeName, String snapshotName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName,
+ Context context);
/**
- * Delete a snapshot
- *
- * Delete snapshot.
+ * List all snapshots associated with the volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param snapshotName The name of the snapshot.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Snapshots as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Delete a snapshot
- *
- * Delete snapshot.
+ * List all snapshots associated with the volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param snapshotName The name of the snapshot.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Snapshots as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName,
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName,
Context context);
/**
- * Create a new Snapshot Restore Files request
- *
* Restore the specified files from the specified snapshot to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -353,8 +245,6 @@ SyncPoller, Void> beginRestoreFiles(String resourceGroupName, S
String volumeName, String snapshotName, SnapshotRestoreFiles body);
/**
- * Create a new Snapshot Restore Files request
- *
* Restore the specified files from the specified snapshot to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -374,8 +264,6 @@ SyncPoller, Void> beginRestoreFiles(String resourceGroupName, S
String volumeName, String snapshotName, SnapshotRestoreFiles body, Context context);
/**
- * Create a new Snapshot Restore Files request
- *
* Restore the specified files from the specified snapshot to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -393,8 +281,6 @@ void restoreFiles(String resourceGroupName, String accountName, String poolName,
String snapshotName, SnapshotRestoreFiles body);
/**
- * Create a new Snapshot Restore Files request
- *
* Restore the specified files from the specified snapshot to the active filesystem.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
index d320098fb0f6..b352be15c93a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -20,45 +20,6 @@
*/
public interface SubvolumesClient {
/**
- * List of all the subvolumes
- *
- * Returns a list of the subvolumes in the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Subvolumes as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
- String volumeName);
-
- /**
- * List of all the subvolumes
- *
- * Returns a list of the subvolumes in the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Subvolumes as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
- String volumeName, Context context);
-
- /**
- * Get the path associated with the subvolumeName
- *
* Returns the path associated with the subvolumeName provided.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -77,8 +38,6 @@ Response getWithResponse(String resourceGroupName, String ac
String volumeName, String subvolumeName, Context context);
/**
- * Get the path associated with the subvolumeName
- *
* Returns the path associated with the subvolumeName provided.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -96,8 +55,6 @@ SubvolumeInfoInner get(String resourceGroupName, String accountName, String pool
String subvolumeName);
/**
- * Create or clone a new subvolume
- *
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -116,8 +73,6 @@ SyncPoller, SubvolumeInfoInner> beginCreate(Strin
String accountName, String poolName, String volumeName, String subvolumeName, SubvolumeInfoInner body);
/**
- * Create or clone a new subvolume
- *
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -138,8 +93,6 @@ SyncPoller, SubvolumeInfoInner> beginCreate(Strin
Context context);
/**
- * Create or clone a new subvolume
- *
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -158,8 +111,6 @@ SubvolumeInfoInner create(String resourceGroupName, String accountName, String p
String subvolumeName, SubvolumeInfoInner body);
/**
- * Create or clone a new subvolume
- *
* Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -179,8 +130,6 @@ SubvolumeInfoInner create(String resourceGroupName, String accountName, String p
String subvolumeName, SubvolumeInfoInner body, Context context);
/**
- * Update a subvolume
- *
* Patch a subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -199,8 +148,6 @@ SyncPoller, SubvolumeInfoInner> beginUpdate(Strin
String accountName, String poolName, String volumeName, String subvolumeName, SubvolumePatchRequest body);
/**
- * Update a subvolume
- *
* Patch a subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -221,8 +168,6 @@ SyncPoller, SubvolumeInfoInner> beginUpdate(Strin
Context context);
/**
- * Update a subvolume
- *
* Patch a subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -241,8 +186,6 @@ SubvolumeInfoInner update(String resourceGroupName, String accountName, String p
String subvolumeName, SubvolumePatchRequest body);
/**
- * Update a subvolume
- *
* Patch a subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -262,8 +205,6 @@ SubvolumeInfoInner update(String resourceGroupName, String accountName, String p
String subvolumeName, SubvolumePatchRequest body, Context context);
/**
- * Delete a subvolume
- *
* Delete subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -281,8 +222,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName, String subvolumeName);
/**
- * Delete a subvolume
- *
* Delete subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -301,8 +240,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName, String subvolumeName, Context context);
/**
- * Delete a subvolume
- *
* Delete subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -318,8 +255,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
/**
- * Delete a subvolume
- *
* Delete subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -337,8 +272,39 @@ void delete(String resourceGroupName, String accountName, String poolName, Strin
Context context);
/**
- * Describe a subvolume
+ * Returns a list of the subvolumes in the volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Subvolumes as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
+
+ /**
+ * Returns a list of the subvolumes in the volume.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Subvolumes as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
+ String volumeName, Context context);
+
+ /**
* Get details of the specified subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -356,8 +322,6 @@ SyncPoller, SubvolumeModelInner> beginGetMetadat
String accountName, String poolName, String volumeName, String subvolumeName);
/**
- * Describe a subvolume
- *
* Get details of the specified subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -376,8 +340,6 @@ SyncPoller, SubvolumeModelInner> beginGetMetadat
String accountName, String poolName, String volumeName, String subvolumeName, Context context);
/**
- * Describe a subvolume
- *
* Get details of the specified subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -395,8 +357,6 @@ SubvolumeModelInner getMetadata(String resourceGroupName, String accountName, St
String subvolumeName);
/**
- * Describe a subvolume
- *
* Get details of the specified subvolume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java
index 422ec67089fd..631a981af253 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,39 +19,6 @@
*/
public interface VolumeGroupsClient {
/**
- * Describe all volume groups
- *
- * List all volume groups for given account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume group resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByNetAppAccount(String resourceGroupName, String accountName);
-
- /**
- * Describe all volume groups
- *
- * List all volume groups for given account.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume group resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context);
-
- /**
- * Describe a Volume Group
- *
* Get details of the specified volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -68,8 +35,6 @@ Response getWithResponse(String resourceGroupName, Stri
String volumeGroupName, Context context);
/**
- * Describe a Volume Group
- *
* Get details of the specified volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -84,10 +49,6 @@ Response getWithResponse(String resourceGroupName, Stri
VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName);
/**
- * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in
- * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes
- * thereafter.
- *
* Create a volume group along with specified volumes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -104,10 +65,6 @@ SyncPoller, VolumeGroupDetailsInner> beginCr
String accountName, String volumeGroupName, VolumeGroupDetailsInner body);
/**
- * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in
- * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes
- * thereafter.
- *
* Create a volume group along with specified volumes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -125,10 +82,6 @@ SyncPoller, VolumeGroupDetailsInner> beginCr
String accountName, String volumeGroupName, VolumeGroupDetailsInner body, Context context);
/**
- * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in
- * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes
- * thereafter.
- *
* Create a volume group along with specified volumes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -145,10 +98,6 @@ VolumeGroupDetailsInner create(String resourceGroupName, String accountName, Str
VolumeGroupDetailsInner body);
/**
- * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in
- * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes
- * thereafter.
- *
* Create a volume group along with specified volumes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -166,8 +115,6 @@ VolumeGroupDetailsInner create(String resourceGroupName, String accountName, Str
VolumeGroupDetailsInner body, Context context);
/**
- * Delete a volume group
- *
* Delete the specified volume group only if there are no volumes under volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -183,8 +130,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeGroupName);
/**
- * Delete a volume group
- *
* Delete the specified volume group only if there are no volumes under volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -201,8 +146,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Delete a volume group
- *
* Delete the specified volume group only if there are no volumes under volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -216,8 +159,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String volumeGroupName);
/**
- * Delete a volume group
- *
* Delete the specified volume group only if there are no volumes under volume group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -230,4 +171,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String volumeGroupName, Context context);
+
+ /**
+ * List all volume groups for given account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of volume group resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByNetAppAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List all volume groups for given account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of volume group resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
index 8f7220266fc5..eb7956740041 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -19,45 +19,6 @@
*/
public interface VolumeQuotaRulesClient {
/**
- * Get all quota rules for a volume
- *
- * List all quota rules associated with the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Volume Quota Rules as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
- String volumeName);
-
- /**
- * Get all quota rules for a volume
- *
- * List all quota rules associated with the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Volume Quota Rules as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
- String volumeName, Context context);
-
- /**
- * Describe a quota rule
- *
* Get details of the specified quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -76,8 +37,6 @@ Response getWithResponse(String resourceGroupName, String
String volumeName, String volumeQuotaRuleName, Context context);
/**
- * Describe a quota rule
- *
* Get details of the specified quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -95,8 +54,6 @@ VolumeQuotaRuleInner get(String resourceGroupName, String accountName, String po
String volumeQuotaRuleName);
/**
- * Create a quota rule
- *
* Create the specified quota rule within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -115,8 +72,6 @@ SyncPoller, VolumeQuotaRuleInner> beginCreate(S
String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body);
/**
- * Create a quota rule
- *
* Create the specified quota rule within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -137,8 +92,6 @@ SyncPoller, VolumeQuotaRuleInner> beginCreate(S
Context context);
/**
- * Create a quota rule
- *
* Create the specified quota rule within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -157,8 +110,6 @@ VolumeQuotaRuleInner create(String resourceGroupName, String accountName, String
String volumeQuotaRuleName, VolumeQuotaRuleInner body);
/**
- * Create a quota rule
- *
* Create the specified quota rule within the given volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -178,8 +129,6 @@ VolumeQuotaRuleInner create(String resourceGroupName, String accountName, String
String volumeQuotaRuleName, VolumeQuotaRuleInner body, Context context);
/**
- * Update a quota rule
- *
* Patch a quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -198,8 +147,6 @@ SyncPoller, VolumeQuotaRuleInner> beginUpdate(S
String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body);
/**
- * Update a quota rule
- *
* Patch a quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -220,8 +167,6 @@ SyncPoller, VolumeQuotaRuleInner> beginUpdate(S
Context context);
/**
- * Update a quota rule
- *
* Patch a quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -240,8 +185,6 @@ VolumeQuotaRuleInner update(String resourceGroupName, String accountName, String
String volumeQuotaRuleName, VolumeQuotaRulePatch body);
/**
- * Update a quota rule
- *
* Patch a quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -261,8 +204,6 @@ VolumeQuotaRuleInner update(String resourceGroupName, String accountName, String
String volumeQuotaRuleName, VolumeQuotaRulePatch body, Context context);
/**
- * Delete a quota rule
- *
* Delete quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -280,8 +221,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName, String volumeQuotaRuleName);
/**
- * Delete a quota rule
- *
* Delete quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -300,8 +239,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName, String volumeQuotaRuleName, Context context);
/**
- * Delete a quota rule
- *
* Delete quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -318,8 +255,6 @@ void delete(String resourceGroupName, String accountName, String poolName, Strin
String volumeQuotaRuleName);
/**
- * Delete a quota rule
- *
* Delete quota rule.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -335,4 +270,37 @@ void delete(String resourceGroupName, String accountName, String poolName, Strin
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String accountName, String poolName, String volumeName,
String volumeQuotaRuleName, Context context);
+
+ /**
+ * List all quota rules associated with the volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Volume Quota Rules as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
+
+ /**
+ * List all quota rules associated with the volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of Volume Quota Rules as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVolume(String resourceGroupName, String accountName, String poolName,
+ String volumeName, Context context);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
index 17b32ccf48a2..4d0e89ff44f0 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.netapp.fluent;
@@ -13,7 +13,6 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.ClusterPeerCommandResponseInner;
import com.azure.resourcemanager.netapp.fluent.models.GetGroupIdListForLdapUserResponseInner;
-import com.azure.resourcemanager.netapp.fluent.models.ListQuotaReportResponseInner;
import com.azure.resourcemanager.netapp.fluent.models.ReplicationInner;
import com.azure.resourcemanager.netapp.fluent.models.ReplicationStatusInner;
import com.azure.resourcemanager.netapp.fluent.models.SvmPeerCommandResponseInner;
@@ -22,6 +21,7 @@
import com.azure.resourcemanager.netapp.models.BreakFileLocksRequest;
import com.azure.resourcemanager.netapp.models.BreakReplicationRequest;
import com.azure.resourcemanager.netapp.models.GetGroupIdListForLdapUserRequest;
+import com.azure.resourcemanager.netapp.models.ListReplicationsRequest;
import com.azure.resourcemanager.netapp.models.PeerClusterForVolumeMigrationRequest;
import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest;
@@ -34,41 +34,6 @@
*/
public interface VolumesClient {
/**
- * Describe all volumes
- *
- * List all volumes within the capacity pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName);
-
- /**
- * Describe all volumes
- *
- * List all volumes within the capacity pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of volume resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String accountName, String poolName, Context context);
-
- /**
- * Describe a volume
- *
* Get the details of the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -86,8 +51,6 @@ Response getWithResponse(String resourceGroupName, String accountNa
String volumeName, Context context);
/**
- * Describe a volume
- *
* Get the details of the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -103,8 +66,6 @@ Response getWithResponse(String resourceGroupName, String accountNa
VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Create or Update a volume
- *
* Create or update the specified volume within the capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -122,8 +83,6 @@ SyncPoller, VolumeInner> beginCreateOrUpdate(String reso
String poolName, String volumeName, VolumeInner body);
/**
- * Create or Update a volume
- *
* Create or update the specified volume within the capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -142,8 +101,6 @@ SyncPoller, VolumeInner> beginCreateOrUpdate(String reso
String poolName, String volumeName, VolumeInner body, Context context);
/**
- * Create or Update a volume
- *
* Create or update the specified volume within the capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -161,8 +118,6 @@ VolumeInner createOrUpdate(String resourceGroupName, String accountName, String
VolumeInner body);
/**
- * Create or Update a volume
- *
* Create or update the specified volume within the capacity pool.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -181,8 +136,6 @@ VolumeInner createOrUpdate(String resourceGroupName, String accountName, String
VolumeInner body, Context context);
/**
- * Update a volume
- *
* Patch the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -200,8 +153,6 @@ SyncPoller, VolumeInner> beginUpdate(String resourceGrou
String poolName, String volumeName, VolumePatch body);
/**
- * Update a volume
- *
* Patch the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -220,8 +171,6 @@ SyncPoller, VolumeInner> beginUpdate(String resourceGrou
String poolName, String volumeName, VolumePatch body, Context context);
/**
- * Update a volume
- *
* Patch the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -239,8 +188,6 @@ VolumeInner update(String resourceGroupName, String accountName, String poolName
VolumePatch body);
/**
- * Update a volume
- *
* Patch the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -259,8 +206,6 @@ VolumeInner update(String resourceGroupName, String accountName, String poolName
VolumePatch body, Context context);
/**
- * Delete a volume
- *
* Delete the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -277,8 +222,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName);
/**
- * Delete a volume
- *
* Delete the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -298,8 +241,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String volumeName, Boolean forceDelete, Context context);
/**
- * Delete a volume
- *
* Delete the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -314,8 +255,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Delete a volume
- *
* Delete the specified volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -334,8 +273,35 @@ void delete(String resourceGroupName, String accountName, String poolName, Strin
Context context);
/**
- * Populate Availability Zone
+ * List all volumes within the capacity pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of volume resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * List all volumes within the capacity pool.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of volume resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName, Context context);
+
+ /**
* This operation will populate availability zone information for a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -345,15 +311,13 @@ void delete(String resourceGroupName, String accountName, String poolName, Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of volume resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginPopulateAvailabilityZone(String resourceGroupName,
String accountName, String poolName, String volumeName);
/**
- * Populate Availability Zone
- *
* This operation will populate availability zone information for a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -364,15 +328,13 @@ SyncPoller, VolumeInner> beginPopulateAvailabilityZone(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of volume resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginPopulateAvailabilityZone(String resourceGroupName,
String accountName, String poolName, String volumeName, Context context);
/**
- * Populate Availability Zone
- *
* This operation will populate availability zone information for a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -382,15 +344,13 @@ SyncPoller, VolumeInner> beginPopulateAvailabilityZone(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return volume resource.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
VolumeInner populateAvailabilityZone(String resourceGroupName, String accountName, String poolName,
String volumeName);
/**
- * Populate Availability Zone
- *
* This operation will populate availability zone information for a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -401,15 +361,13 @@ VolumeInner populateAvailabilityZone(String resourceGroupName, String accountNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return volume resource.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
VolumeInner populateAvailabilityZone(String resourceGroupName, String accountName, String poolName,
String volumeName, Context context);
/**
- * Revert a volume to one of its snapshots
- *
* Revert a volume to the snapshot specified in the body.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -427,8 +385,6 @@ SyncPoller, Void> beginRevert(String resourceGroupName, String
String volumeName, VolumeRevert body);
/**
- * Revert a volume to one of its snapshots
- *
* Revert a volume to the snapshot specified in the body.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -447,8 +403,6 @@ SyncPoller, Void> beginRevert(String resourceGroupName, String
String volumeName, VolumeRevert body, Context context);
/**
- * Revert a volume to one of its snapshots
- *
* Revert a volume to the snapshot specified in the body.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -464,8 +418,6 @@ SyncPoller, Void> beginRevert(String resourceGroupName, String
void revert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body);
/**
- * Revert a volume to one of its snapshots
- *
* Revert a volume to the snapshot specified in the body.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -483,8 +435,6 @@ void revert(String resourceGroupName, String accountName, String poolName, Strin
Context context);
/**
- * Reset cifs password
- *
* Reset cifs password from volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -501,8 +451,6 @@ SyncPoller, Void> beginResetCifsPassword(String resourceGroupNa
String poolName, String volumeName);
/**
- * Reset cifs password
- *
* Reset cifs password from volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -520,8 +468,6 @@ SyncPoller, Void> beginResetCifsPassword(String resourceGroupNa
String poolName, String volumeName, Context context);
/**
- * Reset cifs password
- *
* Reset cifs password from volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -536,8 +482,6 @@ SyncPoller, Void> beginResetCifsPassword(String resourceGroupNa
void resetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Reset cifs password
- *
* Reset cifs password from volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -554,8 +498,6 @@ void resetCifsPassword(String resourceGroupName, String accountName, String pool
Context context);
/**
- * Split clone from parent volume
- *
* Split operation to convert clone volume to an independent volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -565,15 +507,13 @@ void resetCifsPassword(String resourceGroupName, String accountName, String pool
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of volume resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginSplitCloneFromParent(String resourceGroupName,
String accountName, String poolName, String volumeName);
/**
- * Split clone from parent volume
- *
* Split operation to convert clone volume to an independent volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -584,15 +524,13 @@ SyncPoller, VolumeInner> beginSplitCloneFromParent(Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of volume resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginSplitCloneFromParent(String resourceGroupName,
String accountName, String poolName, String volumeName, Context context);
/**
- * Split clone from parent volume
- *
* Split operation to convert clone volume to an independent volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -602,14 +540,12 @@ SyncPoller, VolumeInner> beginSplitCloneFromParent(Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return volume resource.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
VolumeInner splitCloneFromParent(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Split clone from parent volume
- *
* Split operation to convert clone volume to an independent volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -620,15 +556,13 @@ SyncPoller, VolumeInner> beginSplitCloneFromParent(Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return volume resource.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
VolumeInner splitCloneFromParent(String resourceGroupName, String accountName, String poolName, String volumeName,
Context context);
/**
- * Break file locks
- *
* Break all the file locks on a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -645,8 +579,6 @@ SyncPoller, Void> beginBreakFileLocks(String resourceGroupName,
String poolName, String volumeName);
/**
- * Break file locks
- *
* Break all the file locks on a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -665,8 +597,6 @@ SyncPoller, Void> beginBreakFileLocks(String resourceGroupName,
String poolName, String volumeName, BreakFileLocksRequest body, Context context);
/**
- * Break file locks
- *
* Break all the file locks on a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -681,8 +611,6 @@ SyncPoller, Void> beginBreakFileLocks(String resourceGroupName,
void breakFileLocks(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
- * Break file locks
- *
* Break all the file locks on a volume.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -700,8 +628,6 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
BreakFileLocksRequest body, Context context);
/**
- * Get Group Id List for LDAP User
- *
* Returns the list of group Ids for a specific LDAP User.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -712,7 +638,7 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of group Id list for Ldap user.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GetGroupIdListForLdapUserResponseInner>
@@ -720,8 +646,6 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
String volumeName, GetGroupIdListForLdapUserRequest body);
/**
- * Get Group Id List for LDAP User
- *
* Returns the list of group Ids for a specific LDAP User.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -733,7 +657,7 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of group Id list for Ldap user.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, GetGroupIdListForLdapUserResponseInner>
@@ -741,8 +665,6 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
String volumeName, GetGroupIdListForLdapUserRequest body, Context context);
/**
- * Get Group Id List for LDAP User
- *
* Returns the list of group Ids for a specific LDAP User.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -753,15 +675,13 @@ void breakFileLocks(String resourceGroupName, String accountName, String poolNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return group Id list for Ldap user.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetGroupIdListForLdapUserResponseInner listGetGroupIdListForLdapUser(String resourceGroupName, String accountName,
String poolName, String volumeName, GetGroupIdListForLdapUserRequest body);
/**
- * Get Group Id List for LDAP User
- *
* Returns the list of group Ids for a specific LDAP User.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -773,89 +693,13 @@ GetGroupIdListForLdapUserResponseInner listGetGroupIdListForLdapUser(String reso
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return group Id list for Ldap user.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetGroupIdListForLdapUserResponseInner listGetGroupIdListForLdapUser(String resourceGroupName, String accountName,
String poolName, String volumeName, GetGroupIdListForLdapUserRequest body, Context context);
/**
- * Lists Quota Report for the volume
- *
- * Returns report of quotas for the volume.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param accountName The name of the NetApp account.
- * @param poolName The name of the capacity pool.
- * @param volumeName The name of the volume.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of quota Report for volume.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller