diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
index a306d36c5e54c..edbd237f91f48 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.7 (Unreleased)
+## 1.0.0-beta.1 (2021-11-16)
+
+- 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-netapp-2021-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md
index 8555f85bc964b..82e1c99d3c3e2 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-netapp-2021-06-01. 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 tag package-netapp-2021-08-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.0.0-beta.6
+ 1.0.0-beta.7
```
[//]: # ({x-version-update-end})
diff --git a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
index f9559dceb1076..bcb296ce88f39 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
@@ -74,6 +74,13 @@
- [List](#vaults_list)
+## VolumeGroups
+
+- [Create](#volumegroups_create)
+- [Delete](#volumegroups_delete)
+- [Get](#volumegroups_get)
+- [ListByNetAppAccount](#volumegroups_listbynetappaccount)
+
## Volumes
- [AuthorizeReplication](#volumes_authorizereplication)
@@ -97,7 +104,7 @@ import com.azure.core.util.Context;
/** Samples for AccountBackups Delete. */
public final class AccountBackupsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Account_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Account_Delete.json
*/
/**
* Sample code: AccountBackups_Delete.
@@ -118,7 +125,7 @@ import com.azure.core.util.Context;
/** Samples for AccountBackups Get. */
public final class AccountBackupsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Account_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Account_Get.json
*/
/**
* Sample code: AccountBackups_Get.
@@ -139,7 +146,7 @@ import com.azure.core.util.Context;
/** Samples for AccountBackups List. */
public final class AccountBackupsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Account_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Account_List.json
*/
/**
* Sample code: AccountBackups_List.
@@ -161,7 +168,7 @@ import java.util.Arrays;
/** Samples for Accounts CreateOrUpdate. */
public final class AccountsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_CreateOrUpdate.json
*/
/**
* Sample code: Accounts_CreateOrUpdate.
@@ -201,7 +208,7 @@ import com.azure.core.util.Context;
/** Samples for Accounts Delete. */
public final class AccountsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_Delete.json
*/
/**
* Sample code: Accounts_Delete.
@@ -222,7 +229,7 @@ import com.azure.core.util.Context;
/** Samples for Accounts GetByResourceGroup. */
public final class AccountsGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_Get.json
*/
/**
* Sample code: Accounts_Get.
@@ -243,7 +250,7 @@ import com.azure.core.util.Context;
/** Samples for Accounts List. */
public final class AccountsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -264,7 +271,7 @@ import com.azure.core.util.Context;
/** Samples for Accounts ListByResourceGroup. */
public final class AccountsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -288,7 +295,7 @@ import java.util.Map;
/** Samples for Accounts Update. */
public final class AccountsUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Accounts_Update.json
*/
/**
* Sample code: Accounts_Update.
@@ -320,7 +327,7 @@ public final class AccountsUpdateSamples {
/** Samples for BackupPolicies Create. */
public final class BackupPoliciesCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/BackupPolicies_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/BackupPolicies_Create.json
*/
/**
* Sample code: BackupPolicies_Create.
@@ -350,7 +357,7 @@ import com.azure.core.util.Context;
/** Samples for BackupPolicies Delete. */
public final class BackupPoliciesDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/BackupPolicies_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/BackupPolicies_Delete.json
*/
/**
* Sample code: Backups_Delete.
@@ -371,7 +378,7 @@ import com.azure.core.util.Context;
/** Samples for BackupPolicies Get. */
public final class BackupPoliciesGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/BackupPolicies_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/BackupPolicies_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -392,7 +399,7 @@ import com.azure.core.util.Context;
/** Samples for BackupPolicies List. */
public final class BackupPoliciesListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/BackupPolicies_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/BackupPolicies_List.json
*/
/**
* Sample code: Backups_List.
@@ -414,7 +421,7 @@ import com.azure.resourcemanager.netapp.models.BackupPolicy;
/** Samples for BackupPolicies Update. */
public final class BackupPoliciesUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/BackupPolicies_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/BackupPolicies_Update.json
*/
/**
* Sample code: BackupPolicies_Update.
@@ -441,7 +448,7 @@ public final class BackupPoliciesUpdateSamples {
/** Samples for Backups Create. */
public final class BackupsCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Create.json
*/
/**
* Sample code: Backups_Create.
@@ -468,7 +475,7 @@ import com.azure.core.util.Context;
/** Samples for Backups Delete. */
public final class BackupsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Delete.json
*/
/**
* Sample code: Backups_Delete.
@@ -489,7 +496,7 @@ import com.azure.core.util.Context;
/** Samples for Backups Get. */
public final class BackupsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -510,7 +517,7 @@ import com.azure.core.util.Context;
/** Samples for Backups GetStatus. */
public final class BackupsGetStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_BackupStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_BackupStatus.json
*/
/**
* Sample code: Volumes_BackupStatus.
@@ -531,7 +538,7 @@ import com.azure.core.util.Context;
/** Samples for Backups GetVolumeRestoreStatus. */
public final class BackupsGetVolumeRestoreStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_RestoreStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_RestoreStatus.json
*/
/**
* Sample code: Volumes_RestoreStatus.
@@ -552,7 +559,7 @@ import com.azure.core.util.Context;
/** Samples for Backups List. */
public final class BackupsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_List.json
*/
/**
* Sample code: Backups_List.
@@ -574,7 +581,7 @@ import com.azure.resourcemanager.netapp.models.Backup;
/** Samples for Backups Update. */
public final class BackupsUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Backups_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Backups_Update.json
*/
/**
* Sample code: Backups_Update.
@@ -601,7 +608,7 @@ import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest;
/** Samples for NetAppResource CheckFilePathAvailability. */
public final class NetAppResourceCheckFilePathAvailabilitySamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/CheckFilePathAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/CheckFilePathAvailability.json
*/
/**
* Sample code: CheckFilePathAvailability.
@@ -632,7 +639,7 @@ import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest;
/** Samples for NetAppResource CheckNameAvailability. */
public final class NetAppResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/CheckNameAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/CheckNameAvailability.json
*/
/**
* Sample code: CheckNameAvailability.
@@ -663,7 +670,7 @@ import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest;
/** Samples for NetAppResource CheckQuotaAvailability. */
public final class NetAppResourceCheckQuotaAvailabilitySamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/CheckQuotaAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/CheckQuotaAvailability.json
*/
/**
* Sample code: CheckQuotaAvailability.
@@ -692,7 +699,7 @@ import com.azure.core.util.Context;
/** Samples for NetAppResourceQuotaLimits Get. */
public final class NetAppResourceQuotaLimitsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/QuotaLimits_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/QuotaLimits_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -715,7 +722,7 @@ import com.azure.core.util.Context;
/** Samples for NetAppResourceQuotaLimits List. */
public final class NetAppResourceQuotaLimitsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/QuotaLimits_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/QuotaLimits_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -737,7 +744,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
/** Samples for Pools CreateOrUpdate. */
public final class PoolsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Pools_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Pools_CreateOrUpdate.json
*/
/**
* Sample code: Pools_CreateOrUpdate.
@@ -766,7 +773,7 @@ import com.azure.core.util.Context;
/** Samples for Pools Delete. */
public final class PoolsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Pools_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Pools_Delete.json
*/
/**
* Sample code: Pools_Delete.
@@ -787,7 +794,7 @@ import com.azure.core.util.Context;
/** Samples for Pools Get. */
public final class PoolsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Pools_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Pools_Get.json
*/
/**
* Sample code: Pools_Get.
@@ -808,7 +815,7 @@ import com.azure.core.util.Context;
/** Samples for Pools List. */
public final class PoolsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Pools_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Pools_List.json
*/
/**
* Sample code: Pools_List.
@@ -830,7 +837,7 @@ import com.azure.resourcemanager.netapp.models.CapacityPool;
/** Samples for Pools Update. */
public final class PoolsUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Pools_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Pools_Update.json
*/
/**
* Sample code: Pools_Update.
@@ -855,7 +862,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
/** Samples for SnapshotPolicies Create. */
public final class SnapshotPoliciesCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_Create.json
*/
/**
* Sample code: SnapshotPolicies_Create.
@@ -887,7 +894,7 @@ import com.azure.core.util.Context;
/** Samples for SnapshotPolicies Delete. */
public final class SnapshotPoliciesDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_Delete.json
*/
/**
* Sample code: SnapshotPolicies_Delete.
@@ -908,7 +915,7 @@ import com.azure.core.util.Context;
/** Samples for SnapshotPolicies Get. */
public final class SnapshotPoliciesGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_Get.json
*/
/**
* Sample code: SnapshotPolicies_Get.
@@ -929,7 +936,7 @@ import com.azure.core.util.Context;
/** Samples for SnapshotPolicies List. */
public final class SnapshotPoliciesListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_List.json
*/
/**
* Sample code: SnapshotPolicies_List.
@@ -950,7 +957,7 @@ import com.azure.core.util.Context;
/** Samples for SnapshotPolicies ListVolumes. */
public final class SnapshotPoliciesListVolumesSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_ListVolumes.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_ListVolumes.json
*/
/**
* Sample code: SnapshotPolicies_ListVolumes.
@@ -976,7 +983,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
/** Samples for SnapshotPolicies Update. */
public final class SnapshotPoliciesUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/SnapshotPolicies_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/SnapshotPolicies_Update.json
*/
/**
* Sample code: SnapshotPolicies_Update.
@@ -1009,7 +1016,7 @@ public final class SnapshotPoliciesUpdateSamples {
/** Samples for Snapshots Create. */
public final class SnapshotsCreateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Snapshots_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Snapshots_Create.json
*/
/**
* Sample code: Snapshots_Create.
@@ -1035,7 +1042,7 @@ import com.azure.core.util.Context;
/** Samples for Snapshots Delete. */
public final class SnapshotsDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Snapshots_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Snapshots_Delete.json
*/
/**
* Sample code: Snapshots_Delete.
@@ -1056,7 +1063,7 @@ import com.azure.core.util.Context;
/** Samples for Snapshots Get. */
public final class SnapshotsGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Snapshots_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Snapshots_Get.json
*/
/**
* Sample code: Snapshots_Get.
@@ -1077,7 +1084,7 @@ import com.azure.core.util.Context;
/** Samples for Snapshots List. */
public final class SnapshotsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Snapshots_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Snapshots_List.json
*/
/**
* Sample code: Snapshots_List.
@@ -1101,7 +1108,7 @@ import java.io.IOException;
/** Samples for Snapshots Update. */
public final class SnapshotsUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Snapshots_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Snapshots_Update.json
*/
/**
* Sample code: Snapshots_Update.
@@ -1133,7 +1140,7 @@ import com.azure.core.util.Context;
/** Samples for Vaults List. */
public final class VaultsListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Vaults_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Vaults_List.json
*/
/**
* Sample code: Vaults_List.
@@ -1146,6 +1153,147 @@ public final class VaultsListSamples {
}
```
+### VolumeGroups_Create
+
+```java
+import com.azure.resourcemanager.netapp.models.ApplicationType;
+import com.azure.resourcemanager.netapp.models.ServiceLevel;
+import com.azure.resourcemanager.netapp.models.VolumeGroupMetadata;
+import com.azure.resourcemanager.netapp.models.VolumeGroupVolumeProperties;
+import java.util.Arrays;
+
+/** Samples for VolumeGroups Create. */
+public final class VolumeGroupsCreateSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/VolumeGroups_Create.json
+ */
+ /**
+ * Sample code: VolumeGroups_Create.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumeGroupsCreate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager
+ .volumeGroups()
+ .define("group1")
+ .withExistingNetAppAccount("myRG", "account1")
+ .withRegion("westus")
+ .withGroupMetadata(
+ new VolumeGroupMetadata()
+ .withGroupDescription("Volume group")
+ .withApplicationType(ApplicationType.SAP_HANA)
+ .withApplicationIdentifier("DEV")
+ .withDeploymentSpecId("fb04dbeb-005d-2703-197e-6208dfadb5d9"))
+ .withVolumes(
+ Arrays
+ .asList(
+ new VolumeGroupVolumeProperties()
+ .withName("testVol1")
+ .withCreationToken("testVol1")
+ .withServiceLevel(ServiceLevel.PREMIUM)
+ .withUsageThreshold(107374182400L)
+ .withSubnetId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withThroughputMibps(10.0f)
+ .withCapacityPoolResourceId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1")
+ .withProximityPlacementGroup(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg")
+ .withVolumeSpecName("data"),
+ new VolumeGroupVolumeProperties()
+ .withName("testVol2")
+ .withCreationToken("testVol2")
+ .withServiceLevel(ServiceLevel.PREMIUM)
+ .withUsageThreshold(107374182400L)
+ .withSubnetId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withThroughputMibps(10.0f)
+ .withCapacityPoolResourceId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1")
+ .withProximityPlacementGroup(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg")
+ .withVolumeSpecName("log"),
+ new VolumeGroupVolumeProperties()
+ .withName("testVol3")
+ .withCreationToken("testVol3")
+ .withServiceLevel(ServiceLevel.PREMIUM)
+ .withUsageThreshold(107374182400L)
+ .withSubnetId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withThroughputMibps(10.0f)
+ .withCapacityPoolResourceId(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1")
+ .withProximityPlacementGroup(
+ "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg")
+ .withVolumeSpecName("shared")))
+ .create();
+ }
+}
+```
+
+### VolumeGroups_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for VolumeGroups Delete. */
+public final class VolumeGroupsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/VolumeGroups_Delete.json
+ */
+ /**
+ * Sample code: VolumeGroups_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumeGroupsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumeGroups().delete("myRG", "account1", "group1", Context.NONE);
+ }
+}
+```
+
+### VolumeGroups_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for VolumeGroups Get. */
+public final class VolumeGroupsGetSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/VolumeGroups_Get.json
+ */
+ /**
+ * Sample code: VolumeGroups_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumeGroupsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumeGroups().getWithResponse("myRG", "account1", "group1", Context.NONE);
+ }
+}
+```
+
+### VolumeGroups_ListByNetAppAccount
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for VolumeGroups ListByNetAppAccount. */
+public final class VolumeGroupsListByNetAppAccountSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/VolumeGroups_List.json
+ */
+ /**
+ * Sample code: VolumeGroups_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumeGroupsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumeGroups().listByNetAppAccount("myRG", "account1", Context.NONE);
+ }
+}
+```
+
### Volumes_AuthorizeReplication
```java
@@ -1155,7 +1303,7 @@ import com.azure.resourcemanager.netapp.models.AuthorizeRequest;
/** Samples for Volumes AuthorizeReplication. */
public final class VolumesAuthorizeReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_AuthorizeReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_AuthorizeReplication.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -1187,7 +1335,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest;
/** Samples for Volumes BreakReplication. */
public final class VolumesBreakReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_BreakReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_BreakReplication.json
*/
/**
* Sample code: Volumes_BreakReplication.
@@ -1216,7 +1364,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
/** Samples for Volumes CreateOrUpdate. */
public final class VolumesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_CreateOrUpdate.json
*/
/**
* Sample code: Volumes_CreateOrUpdate.
@@ -1249,7 +1397,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes Delete. */
public final class VolumesDeleteSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_Delete.json
*/
/**
* Sample code: Volumes_Delete.
@@ -1270,7 +1418,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes DeleteReplication. */
public final class VolumesDeleteReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_DeleteReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_DeleteReplication.json
*/
/**
* Sample code: Volumes_DeleteReplication.
@@ -1291,7 +1439,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes Get. */
public final class VolumesGetSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_Get.json
*/
/**
* Sample code: Volumes_Get.
@@ -1312,7 +1460,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes List. */
public final class VolumesListSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_List.json
*/
/**
* Sample code: Volumes_List.
@@ -1334,7 +1482,7 @@ import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
/** Samples for Volumes PoolChange. */
public final class VolumesPoolChangeSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_PoolChange.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_PoolChange.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -1365,7 +1513,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes ReInitializeReplication. */
public final class VolumesReInitializeReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_ReInitializeReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_ReInitializeReplication.json
*/
/**
* Sample code: Volumes_ReInitializeReplication.
@@ -1386,7 +1534,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes ReplicationStatus. */
public final class VolumesReplicationStatusSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_ReplicationStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_ReplicationStatus.json
*/
/**
* Sample code: Volumes_ReplicationStatus.
@@ -1407,7 +1555,7 @@ import com.azure.core.util.Context;
/** Samples for Volumes ResyncReplication. */
public final class VolumesResyncReplicationSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_ResyncReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_ResyncReplication.json
*/
/**
* Sample code: Volumes_ResyncReplication.
@@ -1429,7 +1577,7 @@ import com.azure.resourcemanager.netapp.models.VolumeRevert;
/** Samples for Volumes Revert. */
public final class VolumesRevertSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_Revert.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/Volumes_Revert.json
*/
/**
* Sample code: Volumes_Revert.
@@ -1461,7 +1609,7 @@ import com.azure.resourcemanager.netapp.models.Volume;
/** Samples for Volumes Update. */
public final class VolumesUpdateSamples {
/*
- * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Volumes_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-08-01/examples/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 84f5ec35a5902..41abf74269c8b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/pom.xml
+++ b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
@@ -13,7 +13,7 @@
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-netapp-2021-06-01.
+ 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-netapp-2021-08-01.
https://github.com/Azure/azure-sdk-for-java
@@ -38,7 +38,10 @@
UTF-8
-
+ true
+ false
+
+
@@ -72,14 +75,6 @@
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.7
-
- true
-
-
org.revapi
revapi-maven-plugin
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 e7072dbe099b6..1cc3d228ab1b4 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
@@ -8,6 +8,7 @@
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
@@ -33,6 +34,7 @@
import com.azure.resourcemanager.netapp.implementation.SnapshotPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotsImpl;
import com.azure.resourcemanager.netapp.implementation.VaultsImpl;
+import com.azure.resourcemanager.netapp.implementation.VolumeGroupsImpl;
import com.azure.resourcemanager.netapp.implementation.VolumesImpl;
import com.azure.resourcemanager.netapp.models.AccountBackups;
import com.azure.resourcemanager.netapp.models.Accounts;
@@ -45,12 +47,14 @@
import com.azure.resourcemanager.netapp.models.SnapshotPolicies;
import com.azure.resourcemanager.netapp.models.Snapshots;
import com.azure.resourcemanager.netapp.models.Vaults;
+import com.azure.resourcemanager.netapp.models.VolumeGroups;
import com.azure.resourcemanager.netapp.models.Volumes;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
+import java.util.stream.Collectors;
/** Entry point to NetAppFilesManager. Microsoft NetApp Files Azure Resource Provider specification. */
public final class NetAppFilesManager {
@@ -78,6 +82,8 @@ public final class NetAppFilesManager {
private Vaults vaults;
+ private VolumeGroups volumeGroups;
+
private final NetAppManagementClient clientObject;
private NetAppFilesManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -214,7 +220,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.netapp")
.append("/")
- .append("1.0.0-beta.6");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -237,11 +243,24 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
List policies = new ArrayList<>();
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new RequestIdPolicy());
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies.addAll(this.policies);
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
HttpPipeline httpPipeline =
@@ -350,6 +369,14 @@ public Vaults vaults() {
return vaults;
}
+ /** @return Resource collection API of VolumeGroups. */
+ public VolumeGroups volumeGroups() {
+ if (this.volumeGroups == null) {
+ this.volumeGroups = new VolumeGroupsImpl(clientObject.getVolumeGroups(), this);
+ }
+ return volumeGroups;
+ }
+
/**
* @return Wrapped service client NetAppManagementClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java
index 1cc9a2256b037..e8e6f27fac636 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java
@@ -83,7 +83,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupName);
/**
@@ -98,7 +98,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String backupName, Context context);
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 837c6d7b6f8ae..983803ff4286a 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
@@ -102,7 +102,7 @@ Response getByResourceGroupWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
String resourceGroupName, String accountName, NetAppAccountInner body);
@@ -118,7 +118,7 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
String resourceGroupName, String accountName, NetAppAccountInner body, Context context);
@@ -162,7 +162,7 @@ NetAppAccountInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName);
/**
@@ -176,7 +176,7 @@ NetAppAccountInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context);
/**
@@ -215,7 +215,7 @@ NetAppAccountInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginUpdate(
String resourceGroupName, String accountName, NetAppAccountPatch body);
@@ -231,7 +231,7 @@ SyncPoller, NetAppAccountInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return netApp account resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginUpdate(
String resourceGroupName, String accountName, NetAppAccountPatch body, Context context);
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 8b03fb87707f0..22a37ebfac990 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
@@ -85,7 +85,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginCreate(
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body);
@@ -102,7 +102,7 @@ SyncPoller, BackupPolicyInner> beginCreate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginCreate(
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body, Context context);
@@ -151,7 +151,7 @@ BackupPolicyInner create(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginUpdate(
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body);
@@ -168,7 +168,7 @@ SyncPoller, BackupPolicyInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginUpdate(
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body, Context context);
@@ -216,7 +216,7 @@ BackupPolicyInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String backupPolicyName);
@@ -232,7 +232,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String backupPolicyName, 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 8365782a0ca6e..7315362cba49f 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
@@ -169,7 +169,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginCreate(
String resourceGroupName,
String accountName,
@@ -193,7 +193,7 @@ SyncPoller, BackupInner> beginCreate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginCreate(
String resourceGroupName,
String accountName,
@@ -265,7 +265,7 @@ BackupInner create(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -289,7 +289,7 @@ SyncPoller, BackupInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backup of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -377,7 +377,7 @@ BackupInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String poolName, String volumeName, String backupName);
@@ -395,7 +395,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName,
String accountName,
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 22a9954a7145b..72180430fb963 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
@@ -128,4 +128,11 @@ public interface NetAppManagementClient {
* @return the VaultsClient object.
*/
VaultsClient getVaults();
+
+ /**
+ * Gets the VolumeGroupsClient object to access its operations.
+ *
+ * @return the VolumeGroupsClient object.
+ */
+ VolumeGroupsClient getVolumeGroups();
}
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 d01a83d6b3a9d..9cf02121a0892 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
@@ -85,7 +85,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return capacity pool resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginCreateOrUpdate(
String resourceGroupName, String accountName, String poolName, CapacityPoolInner body);
@@ -102,7 +102,7 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return capacity pool resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginCreateOrUpdate(
String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context);
@@ -151,7 +151,7 @@ CapacityPoolInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return capacity pool resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginUpdate(
String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body);
@@ -168,7 +168,7 @@ SyncPoller, CapacityPoolInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return capacity pool resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginUpdate(
String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context);
@@ -215,7 +215,7 @@ CapacityPoolInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName);
/**
@@ -230,7 +230,7 @@ CapacityPoolInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String poolName, 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 db35e9b551925..2a2cb79317a7b 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
@@ -123,7 +123,7 @@ Response createWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotPolicyInner> beginUpdate(
String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyPatch body);
@@ -140,7 +140,7 @@ SyncPoller, SnapshotPolicyInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot policy information.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotPolicyInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -196,7 +196,7 @@ SnapshotPolicyInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String snapshotPolicyName);
@@ -212,7 +212,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
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 282ad0364ed76..01063b085d242 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
@@ -101,7 +101,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginCreate(
String resourceGroupName,
String accountName,
@@ -125,7 +125,7 @@ SyncPoller, SnapshotInner> beginCreate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginCreate(
String resourceGroupName,
String accountName,
@@ -197,7 +197,7 @@ SnapshotInner create(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -221,7 +221,7 @@ SyncPoller, SnapshotInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return snapshot of a Volume.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -292,7 +292,7 @@ SnapshotInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
@@ -310,7 +310,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName,
String accountName,
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
new file mode 100644
index 0000000000000..117fc6dbf7260
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java
@@ -0,0 +1,207 @@
+// 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.VolumeGroupDetailsInner;
+import com.azure.resourcemanager.netapp.fluent.models.VolumeGroupInner;
+
+/** An instance of this class provides access to all the operations defined in VolumeGroupsClient. */
+public interface VolumeGroupsClient {
+ /**
+ * List all volume groups for given account.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ */
+ @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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context);
+
+ /**
+ * Get details of the specified volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 volume group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName);
+
+ /**
+ * Get details of the specified volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 volume group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String volumeGroupName, Context context);
+
+ /**
+ * Create a volume group along with specified volumes.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @param body Volume Group 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 volume group resource for create.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, VolumeGroupDetailsInner> beginCreate(
+ String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body);
+
+ /**
+ * Create a volume group along with specified volumes.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @param body Volume Group 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 volume group resource for create.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, VolumeGroupDetailsInner> beginCreate(
+ String resourceGroupName,
+ String accountName,
+ String volumeGroupName,
+ VolumeGroupDetailsInner body,
+ Context context);
+
+ /**
+ * Create a volume group along with specified volumes.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @param body Volume Group 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 volume group resource for create.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ VolumeGroupDetailsInner create(
+ String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body);
+
+ /**
+ * Create a volume group along with specified volumes.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @param body Volume Group 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 volume group resource for create.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ VolumeGroupDetailsInner create(
+ String resourceGroupName,
+ String accountName,
+ String volumeGroupName,
+ VolumeGroupDetailsInner body,
+ Context context);
+
+ /**
+ * Delete the specified volume group only if there are no volumes under volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String accountName, String volumeGroupName);
+
+ /**
+ * Delete the specified volume group only if there are no volumes under volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String accountName, String volumeGroupName, Context context);
+
+ /**
+ * Delete the specified volume group only if there are no volumes under volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 volumeGroupName);
+
+ /**
+ * Delete the specified volume group only if there are no volumes under volume group.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param volumeGroupName The name of the volumeGroup.
+ * @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 volumeGroupName, 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 a847c28d72191..6b6ec426d65b0 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
@@ -95,7 +95,7 @@ Response getWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return volume resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginCreateOrUpdate(
String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body);
@@ -113,7 +113,7 @@ SyncPoller, VolumeInner> beginCreateOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return volume resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginCreateOrUpdate(
String resourceGroupName,
String accountName,
@@ -175,7 +175,7 @@ VolumeInner createOrUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return volume resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginUpdate(
String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body);
@@ -193,7 +193,7 @@ SyncPoller, VolumeInner> beginUpdate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return volume resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginUpdate(
String resourceGroupName,
String accountName,
@@ -254,7 +254,7 @@ VolumeInner update(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String poolName, String volumeName);
@@ -271,7 +271,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
@@ -317,7 +317,7 @@ SyncPoller, Void> beginDelete(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginRevert(
String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body);
@@ -335,7 +335,7 @@ SyncPoller, Void> beginRevert(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginRevert(
String resourceGroupName,
String accountName,
@@ -394,7 +394,7 @@ void revert(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginBreakReplication(
String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body);
@@ -412,7 +412,7 @@ SyncPoller, Void> beginBreakReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginBreakReplication(
String resourceGroupName,
String accountName,
@@ -519,7 +519,7 @@ Response replicationStatusWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginResyncReplication(
String resourceGroupName, String accountName, String poolName, String volumeName);
@@ -537,7 +537,7 @@ SyncPoller, Void> beginResyncReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginResyncReplication(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
@@ -585,7 +585,7 @@ void resyncReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDeleteReplication(
String resourceGroupName, String accountName, String poolName, String volumeName);
@@ -602,7 +602,7 @@ SyncPoller, Void> beginDeleteReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDeleteReplication(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
@@ -649,7 +649,7 @@ void deleteReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginAuthorizeReplication(
String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body);
@@ -667,7 +667,7 @@ SyncPoller, Void> beginAuthorizeReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginAuthorizeReplication(
String resourceGroupName,
String accountName,
@@ -726,7 +726,7 @@ void authorizeReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginReInitializeReplication(
String resourceGroupName, String accountName, String poolName, String volumeName);
@@ -743,7 +743,7 @@ SyncPoller, Void> beginReInitializeReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginReInitializeReplication(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
@@ -790,7 +790,7 @@ void reInitializeReplication(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginPoolChange(
String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body);
@@ -808,7 +808,7 @@ SyncPoller, Void> beginPoolChange(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginPoolChange(
String resourceGroupName,
String accountName,
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java
index 82c18ffb6b236..0c28a037d31f3 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java
@@ -62,15 +62,6 @@ public BackupPolicyInner withTags(Map tags) {
return this;
}
- /**
- * Get the name property: Name of backup policy.
- *
- * @return the name value.
- */
- public String namePropertiesName() {
- return this.innerProperties() == null ? null : this.innerProperties().name();
- }
-
/**
* Get the backupPolicyId property: Backup Policy Resource ID.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
index 3fdb39346bcca..493e91eaa8766 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
@@ -16,12 +16,6 @@
public final class BackupPolicyProperties {
@JsonIgnore private final ClientLogger logger = new ClientLogger(BackupPolicyProperties.class);
- /*
- * Name of backup policy
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private String name;
-
/*
* Backup Policy Resource ID
*/
@@ -70,15 +64,6 @@ public final class BackupPolicyProperties {
@JsonProperty(value = "volumeBackups", access = JsonProperty.Access.WRITE_ONLY)
private List volumeBackups;
- /**
- * Get the name property: Name of backup policy.
- *
- * @return the name value.
- */
- public String name() {
- return this.name;
- }
-
/**
* Get the backupPolicyId property: Backup Policy Resource ID.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
index bddd1d41ee7f8..1424329cf5ced 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
@@ -19,14 +19,14 @@ public final class SnapshotPolicyVolumeListInner {
* List of volumes
*/
@JsonProperty(value = "value")
- private List