diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
index b4460adf91ec..8c639607a33e 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.8 (Unreleased)
+## 1.0.0-beta.1 (2022-02-08)
+
+- 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-10-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 82e1c99d3c3e..107de6ef5521 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-08-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-10-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.7
+ 1.0.0-beta.8
```
[//]: # ({x-version-update-end})
diff --git a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
index bcb296ce88f3..1c816eca8b01 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
@@ -45,6 +45,10 @@
- [Get](#netappresourcequotalimits_get)
- [List](#netappresourcequotalimits_list)
+## Operations
+
+- [List](#operations_list)
+
## Pools
- [CreateOrUpdate](#pools_createorupdate)
@@ -68,8 +72,18 @@
- [Delete](#snapshots_delete)
- [Get](#snapshots_get)
- [List](#snapshots_list)
+- [RestoreFiles](#snapshots_restorefiles)
- [Update](#snapshots_update)
+## Subvolumes
+
+- [Create](#subvolumes_create)
+- [Delete](#subvolumes_delete)
+- [Get](#subvolumes_get)
+- [GetMetadata](#subvolumes_getmetadata)
+- [ListByVolume](#subvolumes_listbyvolume)
+- [Update](#subvolumes_update)
+
## Vaults
- [List](#vaults_list)
@@ -104,7 +118,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-08-01/examples/Backups_Account_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Account_Delete.json
*/
/**
* Sample code: AccountBackups_Delete.
@@ -125,7 +139,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-08-01/examples/Backups_Account_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Account_Get.json
*/
/**
* Sample code: AccountBackups_Get.
@@ -146,7 +160,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-08-01/examples/Backups_Account_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Account_List.json
*/
/**
* Sample code: AccountBackups_List.
@@ -168,7 +182,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-08-01/examples/Accounts_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_CreateOrUpdate.json
*/
/**
* Sample code: Accounts_CreateOrUpdate.
@@ -190,7 +204,7 @@ public final class AccountsCreateOrUpdateSamples {
.withDomain("10.10.10.3")
.withDns("10.10.10.3, 10.10.10.4")
.withSmbServerName("SMBServer")
- .withOrganizationalUnit("Engineering")
+ .withOrganizationalUnit("OU=Engineering")
.withSite("SiteName")
.withAesEncryption(true)
.withLdapSigning(false)
@@ -208,7 +222,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-08-01/examples/Accounts_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_Delete.json
*/
/**
* Sample code: Accounts_Delete.
@@ -229,7 +243,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-08-01/examples/Accounts_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_Get.json
*/
/**
* Sample code: Accounts_Get.
@@ -250,7 +264,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-08-01/examples/Accounts_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -271,7 +285,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-08-01/examples/Accounts_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -295,7 +309,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-08-01/examples/Accounts_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Accounts_Update.json
*/
/**
* Sample code: Accounts_Update.
@@ -327,7 +341,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-08-01/examples/BackupPolicies_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/BackupPolicies_Create.json
*/
/**
* Sample code: BackupPolicies_Create.
@@ -357,7 +371,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-08-01/examples/BackupPolicies_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/BackupPolicies_Delete.json
*/
/**
* Sample code: Backups_Delete.
@@ -378,7 +392,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-08-01/examples/BackupPolicies_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/BackupPolicies_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -399,7 +413,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-08-01/examples/BackupPolicies_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/BackupPolicies_List.json
*/
/**
* Sample code: Backups_List.
@@ -421,7 +435,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-08-01/examples/BackupPolicies_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/BackupPolicies_Update.json
*/
/**
* Sample code: BackupPolicies_Update.
@@ -448,7 +462,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-08-01/examples/Backups_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Create.json
*/
/**
* Sample code: Backups_Create.
@@ -475,7 +489,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-08-01/examples/Backups_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Delete.json
*/
/**
* Sample code: Backups_Delete.
@@ -496,7 +510,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-08-01/examples/Backups_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -517,7 +531,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-08-01/examples/Volumes_BackupStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_BackupStatus.json
*/
/**
* Sample code: Volumes_BackupStatus.
@@ -538,7 +552,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-08-01/examples/Volumes_RestoreStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_RestoreStatus.json
*/
/**
* Sample code: Volumes_RestoreStatus.
@@ -559,7 +573,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-08-01/examples/Backups_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_List.json
*/
/**
* Sample code: Backups_List.
@@ -581,7 +595,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-08-01/examples/Backups_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Backups_Update.json
*/
/**
* Sample code: Backups_Update.
@@ -608,7 +622,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-08-01/examples/CheckFilePathAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/CheckFilePathAvailability.json
*/
/**
* Sample code: CheckFilePathAvailability.
@@ -639,7 +653,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-08-01/examples/CheckNameAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/CheckNameAvailability.json
*/
/**
* Sample code: CheckNameAvailability.
@@ -670,7 +684,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-08-01/examples/CheckQuotaAvailability.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/CheckQuotaAvailability.json
*/
/**
* Sample code: CheckQuotaAvailability.
@@ -699,7 +713,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-08-01/examples/QuotaLimits_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/QuotaLimits_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -722,7 +736,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-08-01/examples/QuotaLimits_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/QuotaLimits_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -735,6 +749,27 @@ public final class NetAppResourceQuotaLimitsListSamples {
}
```
+### Operations_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Operations List. */
+public final class OperationsListSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/OperationList.json
+ */
+ /**
+ * Sample code: OperationList.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void operationList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.operations().list(Context.NONE);
+ }
+}
+```
+
### Pools_CreateOrUpdate
```java
@@ -744,7 +779,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-08-01/examples/Pools_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Pools_CreateOrUpdate.json
*/
/**
* Sample code: Pools_CreateOrUpdate.
@@ -773,7 +808,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-08-01/examples/Pools_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Pools_Delete.json
*/
/**
* Sample code: Pools_Delete.
@@ -794,7 +829,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-08-01/examples/Pools_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Pools_Get.json
*/
/**
* Sample code: Pools_Get.
@@ -815,7 +850,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-08-01/examples/Pools_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Pools_List.json
*/
/**
* Sample code: Pools_List.
@@ -837,7 +872,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-08-01/examples/Pools_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Pools_Update.json
*/
/**
* Sample code: Pools_Update.
@@ -862,7 +897,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-08-01/examples/SnapshotPolicies_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_Create.json
*/
/**
* Sample code: SnapshotPolicies_Create.
@@ -881,6 +916,7 @@ public final class SnapshotPoliciesCreateSamples {
new WeeklySchedule().withSnapshotsToKeep(3).withDay("Wednesday").withHour(14).withMinute(45))
.withMonthlySchedule(
new MonthlySchedule().withSnapshotsToKeep(5).withDaysOfMonth("10,11,12").withHour(14).withMinute(15))
+ .withEnabled(true)
.create();
}
}
@@ -894,7 +930,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-08-01/examples/SnapshotPolicies_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_Delete.json
*/
/**
* Sample code: SnapshotPolicies_Delete.
@@ -915,7 +951,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-08-01/examples/SnapshotPolicies_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_Get.json
*/
/**
* Sample code: SnapshotPolicies_Get.
@@ -936,7 +972,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-08-01/examples/SnapshotPolicies_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_List.json
*/
/**
* Sample code: SnapshotPolicies_List.
@@ -957,7 +993,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-08-01/examples/SnapshotPolicies_ListVolumes.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_ListVolumes.json
*/
/**
* Sample code: SnapshotPolicies_ListVolumes.
@@ -983,7 +1019,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-08-01/examples/SnapshotPolicies_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/SnapshotPolicies_Update.json
*/
/**
* Sample code: SnapshotPolicies_Update.
@@ -1016,7 +1052,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-08-01/examples/Snapshots_Create.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_Create.json
*/
/**
* Sample code: Snapshots_Create.
@@ -1042,7 +1078,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-08-01/examples/Snapshots_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_Delete.json
*/
/**
* Sample code: Snapshots_Delete.
@@ -1063,7 +1099,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-08-01/examples/Snapshots_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_Get.json
*/
/**
* Sample code: Snapshots_Get.
@@ -1084,7 +1120,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-08-01/examples/Snapshots_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_List.json
*/
/**
* Sample code: Snapshots_List.
@@ -1097,6 +1133,38 @@ public final class SnapshotsListSamples {
}
```
+### Snapshots_RestoreFiles
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.models.SnapshotRestoreFiles;
+import java.util.Arrays;
+
+/** Samples for Snapshots RestoreFiles. */
+public final class SnapshotsRestoreFilesSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_SingleFileRestore.json
+ */
+ /**
+ * Sample code: Snapshots_SingleFileRestore.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void snapshotsSingleFileRestore(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager
+ .snapshots()
+ .restoreFiles(
+ "myRG",
+ "account1",
+ "pool1",
+ "volume1",
+ "snapshot1",
+ new SnapshotRestoreFiles().withFilePaths(Arrays.asList("/dir1/customer1.db", "/dir1/customer2.db")),
+ Context.NONE);
+ }
+}
+```
+
### Snapshots_Update
```java
@@ -1108,7 +1176,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-08-01/examples/Snapshots_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Snapshots_Update.json
*/
/**
* Sample code: Snapshots_Update.
@@ -1132,6 +1200,141 @@ public final class SnapshotsUpdateSamples {
}
```
+### Subvolumes_Create
+
+```java
+/** Samples for Subvolumes Create. */
+public final class SubvolumesCreateSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_Create.json
+ */
+ /**
+ * Sample code: Subvolumes_Create.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesCreate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager
+ .subvolumes()
+ .define("subvolume1")
+ .withExistingVolume("myRG", "account1", "pool1", "volume1")
+ .withPath("/subvolumePath")
+ .create();
+ }
+}
+```
+
+### Subvolumes_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Subvolumes Delete. */
+public final class SubvolumesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_Delete.json
+ */
+ /**
+ * Sample code: Subvolumes_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.subvolumes().delete("myRG", "account1", "pool1", "volume1", "subvolume1", Context.NONE);
+ }
+}
+```
+
+### Subvolumes_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Subvolumes Get. */
+public final class SubvolumesGetSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_Get.json
+ */
+ /**
+ * Sample code: Subvolumes_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.subvolumes().getWithResponse("myRG", "account1", "pool1", "volume1", "subvolume1", Context.NONE);
+ }
+}
+```
+
+### Subvolumes_GetMetadata
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Subvolumes GetMetadata. */
+public final class SubvolumesGetMetadataSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_Metadata.json
+ */
+ /**
+ * Sample code: Subvolumes_Metadata.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesMetadata(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.subvolumes().getMetadata("myRG", "account1", "pool1", "volume1", "subvolume1", Context.NONE);
+ }
+}
+```
+
+### Subvolumes_ListByVolume
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Subvolumes ListByVolume. */
+public final class SubvolumesListByVolumeSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_List.json
+ */
+ /**
+ * Sample code: Subvolumes_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.subvolumes().listByVolume("myRG", "account1", "pool1", "volume1", Context.NONE);
+ }
+}
+```
+
+### Subvolumes_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.models.SubvolumeInfo;
+
+/** Samples for Subvolumes Update. */
+public final class SubvolumesUpdateSamples {
+ /*
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Subvolumes_Update.json
+ */
+ /**
+ * Sample code: Subvolumes_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void subvolumesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ SubvolumeInfo resource =
+ manager
+ .subvolumes()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "subvolume1", Context.NONE)
+ .getValue();
+ resource.update().withPath("/subvolumePath").apply();
+ }
+}
+```
+
### Vaults_List
```java
@@ -1140,7 +1343,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-08-01/examples/Vaults_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Vaults_List.json
*/
/**
* Sample code: Vaults_List.
@@ -1165,7 +1368,7 @@ 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
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/VolumeGroups_Create.json
*/
/**
* Sample code: VolumeGroups_Create.
@@ -1239,7 +1442,7 @@ 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
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/VolumeGroups_Delete.json
*/
/**
* Sample code: VolumeGroups_Delete.
@@ -1260,7 +1463,7 @@ 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
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/VolumeGroups_Get.json
*/
/**
* Sample code: VolumeGroups_Get.
@@ -1281,7 +1484,7 @@ 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
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/VolumeGroups_List.json
*/
/**
* Sample code: VolumeGroups_List.
@@ -1303,7 +1506,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-08-01/examples/Volumes_AuthorizeReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_AuthorizeReplication.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -1335,7 +1538,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-08-01/examples/Volumes_BreakReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_BreakReplication.json
*/
/**
* Sample code: Volumes_BreakReplication.
@@ -1364,7 +1567,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-08-01/examples/Volumes_CreateOrUpdate.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_CreateOrUpdate.json
*/
/**
* Sample code: Volumes_CreateOrUpdate.
@@ -1397,7 +1600,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-08-01/examples/Volumes_Delete.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_Delete.json
*/
/**
* Sample code: Volumes_Delete.
@@ -1405,7 +1608,7 @@ public final class VolumesDeleteSamples {
* @param manager Entry point to NetAppFilesManager.
*/
public static void volumesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.volumes().delete("myRG", "account1", "pool1", "volume1", Context.NONE);
+ manager.volumes().delete("myRG", "account1", "pool1", "volume1", null, Context.NONE);
}
}
```
@@ -1418,7 +1621,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-08-01/examples/Volumes_DeleteReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_DeleteReplication.json
*/
/**
* Sample code: Volumes_DeleteReplication.
@@ -1439,7 +1642,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-08-01/examples/Volumes_Get.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_Get.json
*/
/**
* Sample code: Volumes_Get.
@@ -1460,7 +1663,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-08-01/examples/Volumes_List.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_List.json
*/
/**
* Sample code: Volumes_List.
@@ -1482,7 +1685,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-08-01/examples/Volumes_PoolChange.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_PoolChange.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -1513,7 +1716,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-08-01/examples/Volumes_ReInitializeReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_ReInitializeReplication.json
*/
/**
* Sample code: Volumes_ReInitializeReplication.
@@ -1534,7 +1737,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-08-01/examples/Volumes_ReplicationStatus.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_ReplicationStatus.json
*/
/**
* Sample code: Volumes_ReplicationStatus.
@@ -1555,7 +1758,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-08-01/examples/Volumes_ResyncReplication.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_ResyncReplication.json
*/
/**
* Sample code: Volumes_ResyncReplication.
@@ -1577,7 +1780,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-08-01/examples/Volumes_Revert.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-01/examples/Volumes_Revert.json
*/
/**
* Sample code: Volumes_Revert.
@@ -1609,7 +1812,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-08-01/examples/Volumes_Update.json
+ * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-10-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 4d30cf17b368..1f31fd5be713 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-08-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-10-01.
https://github.com/Azure/azure-sdk-for-java
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 0fad865db7de..81a8cb92bdc6 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
@@ -33,6 +33,7 @@
import com.azure.resourcemanager.netapp.implementation.PoolsImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotsImpl;
+import com.azure.resourcemanager.netapp.implementation.SubvolumesImpl;
import com.azure.resourcemanager.netapp.implementation.VaultsImpl;
import com.azure.resourcemanager.netapp.implementation.VolumeGroupsImpl;
import com.azure.resourcemanager.netapp.implementation.VolumesImpl;
@@ -46,6 +47,7 @@
import com.azure.resourcemanager.netapp.models.Pools;
import com.azure.resourcemanager.netapp.models.SnapshotPolicies;
import com.azure.resourcemanager.netapp.models.Snapshots;
+import com.azure.resourcemanager.netapp.models.Subvolumes;
import com.azure.resourcemanager.netapp.models.Vaults;
import com.azure.resourcemanager.netapp.models.VolumeGroups;
import com.azure.resourcemanager.netapp.models.Volumes;
@@ -84,6 +86,8 @@ public final class NetAppFilesManager {
private VolumeGroups volumeGroups;
+ private Subvolumes subvolumes;
+
private final NetAppManagementClient clientObject;
private NetAppFilesManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -220,7 +224,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.netapp")
.append("/")
- .append("1.0.0-beta.7");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -377,6 +381,14 @@ public VolumeGroups volumeGroups() {
return volumeGroups;
}
+ /** @return Resource collection API of Subvolumes. */
+ public Subvolumes subvolumes() {
+ if (this.subvolumes == null) {
+ this.subvolumes = new SubvolumesImpl(clientObject.getSubvolumes(), this);
+ }
+ return subvolumes;
+ }
+
/**
* @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 e8e6f27fac63..6ed350335a8b 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
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.BackupInner;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in AccountBackupsClient. */
public interface AccountBackupsClient {
@@ -66,7 +67,7 @@ public interface AccountBackupsClient {
* @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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -81,7 +82,7 @@ Response getWithResponse(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupName);
@@ -96,7 +97,7 @@ Response getWithResponse(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
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 983803ff4286..4313ed8439a6 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
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner;
import com.azure.resourcemanager.netapp.models.NetAppAccountPatch;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in AccountsClient. */
public interface AccountsClient {
@@ -85,7 +86,7 @@ public interface AccountsClient {
* @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 the NetApp account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(
@@ -100,7 +101,7 @@ Response getByResourceGroupWithResponse(
* @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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
@@ -116,7 +117,7 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda
* @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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
@@ -160,7 +161,7 @@ NetAppAccountInner createOrUpdate(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName);
@@ -174,7 +175,7 @@ NetAppAccountInner createOrUpdate(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context);
@@ -213,7 +214,7 @@ NetAppAccountInner createOrUpdate(
* @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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginUpdate(
@@ -229,7 +230,7 @@ SyncPoller, NetAppAccountInner> beginUpdate(
* @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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, NetAppAccountInner> beginUpdate(
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 22a37ebfac99..3261e87689d2 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
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner;
import com.azure.resourcemanager.netapp.models.BackupPolicyPatch;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in BackupPoliciesClient. */
public interface BackupPoliciesClient {
@@ -67,7 +68,7 @@ public interface BackupPoliciesClient {
* @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 particular backup Policy.
+ * @return a particular backup Policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -83,7 +84,7 @@ Response getWithResponse(
* @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 backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginCreate(
@@ -100,7 +101,7 @@ SyncPoller, BackupPolicyInner> beginCreate(
* @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 backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginCreate(
@@ -149,7 +150,7 @@ BackupPolicyInner create(
* @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 backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginUpdate(
@@ -166,7 +167,7 @@ SyncPoller, BackupPolicyInner> beginUpdate(
* @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 backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupPolicyInner> beginUpdate(
@@ -214,7 +215,7 @@ BackupPolicyInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -230,7 +231,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
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 7315362cba49..41c9d034e5a9 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
@@ -15,6 +15,7 @@
import com.azure.resourcemanager.netapp.fluent.models.BackupStatusInner;
import com.azure.resourcemanager.netapp.fluent.models.RestoreStatusInner;
import com.azure.resourcemanager.netapp.models.BackupPatch;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in BackupsClient. */
public interface BackupsClient {
@@ -44,7 +45,7 @@ public interface BackupsClient {
* @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 status of the backup for a volume.
+ * @return the status of the backup for a volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getStatusWithResponse(
@@ -77,7 +78,7 @@ RestoreStatusInner getVolumeRestoreStatus(
* @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 status of the restore for a volume.
+ * @return the status of the restore for a volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getVolumeRestoreStatusWithResponse(
@@ -144,7 +145,7 @@ BackupInner get(
* @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 specified backup of the volume.
+ * @return the specified backup of the volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -167,7 +168,7 @@ Response getWithResponse(
* @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 backup of a Volume.
+ * @return backup of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginCreate(
@@ -191,7 +192,7 @@ SyncPoller, BackupInner> beginCreate(
* @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 backup of a Volume.
+ * @return backup of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginCreate(
@@ -263,7 +264,7 @@ BackupInner create(
* @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 backup of a Volume.
+ * @return backup of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginUpdate(
@@ -287,7 +288,7 @@ SyncPoller, BackupInner> beginUpdate(
* @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 backup of a Volume.
+ * @return backup of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInner> beginUpdate(
@@ -375,7 +376,7 @@ BackupInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -393,7 +394,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
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 72180430fb96..0c50983ce359 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
@@ -135,4 +135,11 @@ public interface NetAppManagementClient {
* @return the VolumeGroupsClient object.
*/
VolumeGroupsClient getVolumeGroups();
+
+ /**
+ * Gets the SubvolumesClient object to access its operations.
+ *
+ * @return the SubvolumesClient object.
+ */
+ SubvolumesClient getSubvolumes();
}
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 a619a31c0677..d7d820ae8410 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
@@ -60,7 +60,7 @@ public interface NetAppResourceQuotaLimitsClient {
* @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 subscription quota limit along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String location, String quotaLimitName, Context context);
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 70423da8c5bc..cdccd2a85b45 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
@@ -37,7 +37,7 @@ public interface NetAppResourcesClient {
* @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 availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkNameAvailabilityWithResponse(
@@ -65,7 +65,7 @@ Response checkNameAvailabilityWithResponse(
* @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 availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkFilePathAvailabilityWithResponse(
@@ -93,7 +93,7 @@ Response checkFilePathAvailabilityWithResponse(
* @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 availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkQuotaAvailabilityWithResponse(
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 9cf02121a089..e18cd15ef305 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
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.CapacityPoolInner;
import com.azure.resourcemanager.netapp.models.CapacityPoolPatch;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in PoolsClient. */
public interface PoolsClient {
@@ -67,7 +68,7 @@ public interface PoolsClient {
* @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 capacity pool.
+ * @return details of the specified capacity pool along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -83,7 +84,7 @@ Response getWithResponse(
* @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 capacity pool resource.
+ * @return capacity pool resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginCreateOrUpdate(
@@ -100,7 +101,7 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate
* @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 capacity pool resource.
+ * @return capacity pool resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginCreateOrUpdate(
@@ -149,7 +150,7 @@ CapacityPoolInner createOrUpdate(
* @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 capacity pool resource.
+ * @return capacity pool resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginUpdate(
@@ -166,7 +167,7 @@ SyncPoller, CapacityPoolInner> beginUpdate(
* @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 capacity pool resource.
+ * @return capacity pool resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CapacityPoolInner> beginUpdate(
@@ -213,7 +214,7 @@ CapacityPoolInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName);
@@ -228,7 +229,7 @@ CapacityPoolInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
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 2a2cb79317a7..a8ff3464ff30 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
@@ -14,6 +14,7 @@
import com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner;
import com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyVolumeListInner;
import com.azure.resourcemanager.netapp.models.SnapshotPolicyPatch;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in SnapshotPoliciesClient. */
public interface SnapshotPoliciesClient {
@@ -68,7 +69,7 @@ public interface SnapshotPoliciesClient {
* @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 snapshot Policy.
+ * @return a snapshot Policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -101,7 +102,7 @@ SnapshotPolicyInner create(
* @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 policy information.
+ * @return snapshot policy information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createWithResponse(
@@ -121,7 +122,7 @@ Response createWithResponse(
* @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 policy information.
+ * @return snapshot policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotPolicyInner> beginUpdate(
@@ -138,7 +139,7 @@ SyncPoller, SnapshotPolicyInner> beginUpdate(
* @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 policy information.
+ * @return snapshot policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotPolicyInner> beginUpdate(
@@ -194,7 +195,7 @@ SnapshotPolicyInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -210,7 +211,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -267,7 +268,7 @@ SyncPoller, Void> beginDelete(
* @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 volumes associated with snapshot policy.
+ * @return volumes associated with snapshot policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listVolumesWithResponse(
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 01063b085d24..8aee4a87174b 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
@@ -12,6 +12,8 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.SnapshotInner;
+import com.azure.resourcemanager.netapp.models.SnapshotRestoreFiles;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in SnapshotsClient. */
public interface SnapshotsClient {
@@ -76,7 +78,7 @@ SnapshotInner get(
* @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 snapshot.
+ * @return details of the specified snapshot along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -99,7 +101,7 @@ Response getWithResponse(
* @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.
+ * @return snapshot of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginCreate(
@@ -123,7 +125,7 @@ SyncPoller, SnapshotInner> beginCreate(
* @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.
+ * @return snapshot of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginCreate(
@@ -195,7 +197,7 @@ SnapshotInner create(
* @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.
+ * @return snapshot of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginUpdate(
@@ -219,7 +221,7 @@ SyncPoller, SnapshotInner> beginUpdate(
* @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.
+ * @return snapshot of a Volume along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SnapshotInner> beginUpdate(
@@ -290,7 +292,7 @@ SnapshotInner update(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -308,7 +310,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -355,4 +357,98 @@ void delete(
String volumeName,
String snapshotName,
Context context);
+
+ /**
+ * Restore the specified files from the specified snapshot to the active filesystem.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 Restore payload 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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestoreFiles(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ SnapshotRestoreFiles body);
+
+ /**
+ * Restore the specified files from the specified snapshot to the active filesystem.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 Restore payload 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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestoreFiles(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ SnapshotRestoreFiles body,
+ Context context);
+
+ /**
+ * Restore the specified files from the specified snapshot to the active filesystem.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 Restore payload 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restoreFiles(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ SnapshotRestoreFiles body);
+
+ /**
+ * Restore the specified files from the specified snapshot to the active filesystem.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 Restore payload 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restoreFiles(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ SnapshotRestoreFiles body,
+ Context context);
}
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
new file mode 100644
index 000000000000..b3d42553a38a
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
@@ -0,0 +1,442 @@
+// 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.SubvolumeInfoInner;
+import com.azure.resourcemanager.netapp.fluent.models.SubvolumeModelInner;
+import com.azure.resourcemanager.netapp.models.SubvolumePatchRequest;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in SubvolumesClient. */
+public interface SubvolumesClient {
+ /**
+ * Returns a list of the subvolumes in the volume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ */
+ @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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVolume(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+
+ /**
+ * Returns the path associated with the subvolumeName provided.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume Information properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeInfoInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
+
+ /**
+ * Returns the path associated with the subvolumeName provided.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume Information properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context);
+
+ /**
+ * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeInfoInner> beginCreate(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumeInfoInner body);
+
+ /**
+ * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeInfoInner> beginCreate(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumeInfoInner body,
+ Context context);
+
+ /**
+ * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeInfoInner create(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumeInfoInner body);
+
+ /**
+ * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeInfoInner create(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumeInfoInner body,
+ Context context);
+
+ /**
+ * Patch a subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeInfoInner> beginUpdate(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumePatchRequest body);
+
+ /**
+ * Patch a subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeInfoInner> beginUpdate(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumePatchRequest body,
+ Context context);
+
+ /**
+ * Patch a subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeInfoInner update(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumePatchRequest body);
+
+ /**
+ * Patch a subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @param body Subvolume 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 subvolume Information properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeInfoInner update(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ SubvolumePatchRequest body,
+ Context context);
+
+ /**
+ * Delete subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
+
+ /**
+ * Delete subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context);
+
+ /**
+ * Delete subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolumeName);
+
+ /**
+ * Delete subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolumeName,
+ Context context);
+
+ /**
+ * Get details of the specified subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeModelInner> beginGetMetadata(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
+
+ /**
+ * Get details of the specified subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SubvolumeModelInner> beginGetMetadata(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context);
+
+ /**
+ * Get details of the specified subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeModelInner getMetadata(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
+
+ /**
+ * Get details of the specified subvolume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param subvolumeName The name of the subvolume.
+ * @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 subvolume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubvolumeModelInner getMetadata(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context);
+}
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 117fc6dbf726..70fc2232cd5e 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
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.VolumeGroupDetailsInner;
import com.azure.resourcemanager.netapp.fluent.models.VolumeGroupInner;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in VolumeGroupsClient. */
public interface VolumeGroupsClient {
@@ -67,7 +68,7 @@ public interface VolumeGroupsClient {
* @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.
+ * @return details of the specified volume group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -83,7 +84,7 @@ Response getWithResponse(
* @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.
+ * @return volume group resource for create along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeGroupDetailsInner> beginCreate(
@@ -100,7 +101,7 @@ SyncPoller, VolumeGroupDetailsInner> beginCr
* @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.
+ * @return volume group resource for create along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeGroupDetailsInner> beginCreate(
@@ -156,7 +157,7 @@ VolumeGroupDetailsInner create(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
@@ -172,7 +173,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
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 6b6ec426d65b..21ff934bf139 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
@@ -18,6 +18,7 @@
import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
import com.azure.resourcemanager.netapp.models.VolumePatch;
import com.azure.resourcemanager.netapp.models.VolumeRevert;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in VolumesClient. */
public interface VolumesClient {
@@ -76,7 +77,7 @@ public interface VolumesClient {
* @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.
+ * @return the details of the specified volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
@@ -93,7 +94,7 @@ Response getWithResponse(
* @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 volume resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginCreateOrUpdate(
@@ -111,7 +112,7 @@ SyncPoller, VolumeInner> beginCreateOrUpdate(
* @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 volume resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginCreateOrUpdate(
@@ -173,7 +174,7 @@ VolumeInner createOrUpdate(
* @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 volume resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginUpdate(
@@ -191,7 +192,7 @@ SyncPoller, VolumeInner> beginUpdate(
* @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 volume resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, VolumeInner> beginUpdate(
@@ -249,14 +250,16 @@ VolumeInner update(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param forceDelete An option to force delete the volume. Will cleanup resources connected to the particular
+ * 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 completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
- String resourceGroupName, String accountName, String poolName, String volumeName);
+ String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete);
/**
* Delete the specified volume.
@@ -265,15 +268,38 @@ SyncPoller, Void> beginDelete(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param forceDelete An option to force delete the volume. Will cleanup resources connected to the particular
+ * 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 completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ Boolean forceDelete,
+ Context context);
+
+ /**
+ * Delete the specified volume.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param forceDelete An option to force delete the volume. Will cleanup resources connected to the particular
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete);
/**
* Delete the specified volume.
@@ -296,13 +322,21 @@ SyncPoller, Void> beginDelete(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param forceDelete An option to force delete the volume. Will cleanup resources connected to the particular
+ * 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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+ void delete(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ Boolean forceDelete,
+ Context context);
/**
* Revert a volume to the snapshot specified in the body.
@@ -315,7 +349,7 @@ SyncPoller, Void> beginDelete(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginRevert(
@@ -333,7 +367,7 @@ SyncPoller, Void> beginRevert(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginRevert(
@@ -392,7 +426,7 @@ void revert(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginBreakReplication(
@@ -410,7 +444,7 @@ SyncPoller, Void> beginBreakReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginBreakReplication(
@@ -500,7 +534,7 @@ ReplicationStatusInner replicationStatus(
* @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 status of the replication.
+ * @return the status of the replication along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response replicationStatusWithResponse(
@@ -517,7 +551,7 @@ Response replicationStatusWithResponse(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginResyncReplication(
@@ -535,7 +569,7 @@ SyncPoller, Void> beginResyncReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginResyncReplication(
@@ -583,7 +617,7 @@ void resyncReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDeleteReplication(
@@ -600,7 +634,7 @@ SyncPoller, Void> beginDeleteReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDeleteReplication(
@@ -647,7 +681,7 @@ void deleteReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginAuthorizeReplication(
@@ -665,7 +699,7 @@ SyncPoller, Void> beginAuthorizeReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginAuthorizeReplication(
@@ -724,7 +758,7 @@ void authorizeReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginReInitializeReplication(
@@ -741,7 +775,7 @@ SyncPoller, Void> beginReInitializeReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginReInitializeReplication(
@@ -788,7 +822,7 @@ void reInitializeReplication(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginPoolChange(
@@ -806,7 +840,7 @@ SyncPoller, Void> beginPoolChange(
* @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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginPoolChange(
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java
index 0882880be355..159048fd47bd 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java
@@ -68,7 +68,7 @@ public String backupId() {
}
/**
- * Get the creationDate property: name The creation date of the backup.
+ * Get the creationDate property: creationDate The creation date of the backup.
*
* @return the creationDate value.
*/
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 0c28a037d31f..2ab7daad6c93 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
@@ -6,6 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.VolumeBackups;
import com.fasterxml.jackson.annotation.JsonIgnore;
@@ -30,6 +31,12 @@ public final class BackupPolicyInner extends Resource {
@JsonProperty(value = "properties", required = true)
private BackupPolicyProperties innerProperties = new BackupPolicyProperties();
+ /*
+ * The system meta data relating to this resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
@@ -48,6 +55,15 @@ private BackupPolicyProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the systemData property: The system meta data relating to this resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/** {@inheritDoc} */
@Override
public BackupPolicyInner withLocation(String location) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java
index eecf71f5aaa7..5204b90e9f81 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java
@@ -23,7 +23,7 @@ public final class BackupProperties {
private String backupId;
/*
- * name The creation date of the backup
+ * creationDate The creation date of the backup
*/
@JsonProperty(value = "creationDate", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime creationDate;
@@ -81,7 +81,7 @@ public String backupId() {
}
/**
- * Get the creationDate property: name The creation date of the backup.
+ * Get the creationDate property: creationDate The creation date of the backup.
*
* @return the creationDate value.
*/
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
index fb2d1a8a5ddf..b2ad8d776a10 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
@@ -6,6 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.EncryptionType;
import com.azure.resourcemanager.netapp.models.QosType;
@@ -31,6 +32,12 @@ public final class CapacityPoolInner extends Resource {
@JsonProperty(value = "properties", required = true)
private PoolProperties innerProperties = new PoolProperties();
+ /*
+ * The system meta data relating to this resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
@@ -49,6 +56,15 @@ private PoolProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the systemData property: The system meta data relating to this resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/** {@inheritDoc} */
@Override
public CapacityPoolInner withLocation(String location) {
@@ -73,7 +89,7 @@ public String poolId() {
}
/**
- * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @return the size value.
@@ -83,7 +99,7 @@ public long size() {
}
/**
- * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @param size the size value to set.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
index e5675217c122..93b956657415 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
@@ -16,7 +16,7 @@ public final class PoolPatchProperties {
@JsonIgnore private final ClientLogger logger = new ClientLogger(PoolPatchProperties.class);
/*
- * size Provisioned size of the pool (in bytes). Allowed values are in 4TiB
+ * size Provisioned size of the pool (in bytes). Allowed values are in 1TiB
* chunks (value must be multiply of 4398046511104).
*/
@JsonProperty(value = "size")
@@ -29,7 +29,7 @@ public final class PoolPatchProperties {
private QosType qosType;
/**
- * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @return the size value.
@@ -39,7 +39,7 @@ public Long size() {
}
/**
- * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @param size the size value to set.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
index 6efdd5cf566c..45e1af855c68 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
@@ -24,7 +24,7 @@ public final class PoolProperties {
private String poolId;
/*
- * size Provisioned size of the pool (in bytes). Allowed values are in 4TiB
+ * size Provisioned size of the pool (in bytes). Allowed values are in 1TiB
* chunks (value must be multiply of 4398046511104).
*/
@JsonProperty(value = "size", required = true)
@@ -84,7 +84,7 @@ public String poolId() {
}
/**
- * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @return the size value.
@@ -94,7 +94,7 @@ public long size() {
}
/**
- * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value
+ * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value
* must be multiply of 4398046511104).
*
* @param size the size value to set.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java
index 28896810b2be..3292a15b8bcd 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java
@@ -6,6 +6,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.DailySchedule;
import com.azure.resourcemanager.netapp.models.HourlySchedule;
@@ -32,6 +33,12 @@ public final class SnapshotPolicyInner extends Resource {
@JsonProperty(value = "properties", required = true)
private SnapshotPolicyProperties innerProperties = new SnapshotPolicyProperties();
+ /*
+ * The system meta data relating to this resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
@@ -50,6 +57,15 @@ private SnapshotPolicyProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the systemData property: The system meta data relating to this resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/** {@inheritDoc} */
@Override
public SnapshotPolicyInner withLocation(String location) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java
new file mode 100644
index 000000000000..bf4e4d0812fe
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java
@@ -0,0 +1,137 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Subvolume Information properties. */
+@Fluent
+public final class SubvolumeInfoInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SubvolumeInfoInner.class);
+
+ /*
+ * Subvolume Properties
+ */
+ @JsonProperty(value = "properties")
+ private SubvolumeProperties innerProperties;
+
+ /*
+ * The system meta data relating to this resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the innerProperties property: Subvolume Properties.
+ *
+ * @return the innerProperties value.
+ */
+ private SubvolumeProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the systemData property: The system meta data relating to this resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the path property: path Path to the subvolume.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.innerProperties() == null ? null : this.innerProperties().path();
+ }
+
+ /**
+ * Set the path property: path Path to the subvolume.
+ *
+ * @param path the path value to set.
+ * @return the SubvolumeInfoInner object itself.
+ */
+ public SubvolumeInfoInner withPath(String path) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeProperties();
+ }
+ this.innerProperties().withPath(path);
+ return this;
+ }
+
+ /**
+ * Get the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @return the size value.
+ */
+ public Long size() {
+ return this.innerProperties() == null ? null : this.innerProperties().size();
+ }
+
+ /**
+ * Set the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @param size the size value to set.
+ * @return the SubvolumeInfoInner object itself.
+ */
+ public SubvolumeInfoInner withSize(Long size) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeProperties();
+ }
+ this.innerProperties().withSize(size);
+ return this;
+ }
+
+ /**
+ * Get the parentPath property: name parent path to the subvolume.
+ *
+ * @return the parentPath value.
+ */
+ public String parentPath() {
+ return this.innerProperties() == null ? null : this.innerProperties().parentPath();
+ }
+
+ /**
+ * Set the parentPath property: name parent path to the subvolume.
+ *
+ * @param parentPath the parentPath value to set.
+ * @return the SubvolumeInfoInner object itself.
+ */
+ public SubvolumeInfoInner withParentPath(String parentPath) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeProperties();
+ }
+ this.innerProperties().withParentPath(parentPath);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Azure lifecycle management.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java
new file mode 100644
index 000000000000..47490e1d0ef7
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java
@@ -0,0 +1,318 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Result of the post subvolume and action is to get metadata of the subvolume. */
+@Fluent
+public final class SubvolumeModelInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SubvolumeModelInner.class);
+
+ /*
+ * Resource Id
+ */
+ @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
+ private String id;
+
+ /*
+ * Resource name
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /*
+ * Resource type
+ */
+ @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
+ private String type;
+
+ /*
+ * It represents the minimal properties of the subvolume.
+ */
+ @JsonProperty(value = "properties")
+ private SubvolumeModelProperties innerProperties;
+
+ /**
+ * Get the id property: Resource Id.
+ *
+ * @return the id value.
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the name property: Resource name.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the type property: Resource type.
+ *
+ * @return the type value.
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the innerProperties property: It represents the minimal properties of the subvolume.
+ *
+ * @return the innerProperties value.
+ */
+ private SubvolumeModelProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the path property: path Path to the subvolume.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.innerProperties() == null ? null : this.innerProperties().path();
+ }
+
+ /**
+ * Set the path property: path Path to the subvolume.
+ *
+ * @param path the path value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withPath(String path) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withPath(path);
+ return this;
+ }
+
+ /**
+ * Get the parentPath property: parentpath Path to the parent subvolume.
+ *
+ * @return the parentPath value.
+ */
+ public String parentPath() {
+ return this.innerProperties() == null ? null : this.innerProperties().parentPath();
+ }
+
+ /**
+ * Set the parentPath property: parentpath Path to the parent subvolume.
+ *
+ * @param parentPath the parentPath value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withParentPath(String parentPath) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withParentPath(parentPath);
+ return this;
+ }
+
+ /**
+ * Get the size property: size Size of subvolume.
+ *
+ * @return the size value.
+ */
+ public Long size() {
+ return this.innerProperties() == null ? null : this.innerProperties().size();
+ }
+
+ /**
+ * Set the size property: size Size of subvolume.
+ *
+ * @param size the size value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withSize(Long size) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withSize(size);
+ return this;
+ }
+
+ /**
+ * Get the bytesUsed property: bytesUsed Bytes used.
+ *
+ * @return the bytesUsed value.
+ */
+ public Long bytesUsed() {
+ return this.innerProperties() == null ? null : this.innerProperties().bytesUsed();
+ }
+
+ /**
+ * Set the bytesUsed property: bytesUsed Bytes used.
+ *
+ * @param bytesUsed the bytesUsed value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withBytesUsed(Long bytesUsed) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withBytesUsed(bytesUsed);
+ return this;
+ }
+
+ /**
+ * Get the permissions property: permissions Permissions of the subvolume.
+ *
+ * @return the permissions value.
+ */
+ public String permissions() {
+ return this.innerProperties() == null ? null : this.innerProperties().permissions();
+ }
+
+ /**
+ * Set the permissions property: permissions Permissions of the subvolume.
+ *
+ * @param permissions the permissions value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withPermissions(String permissions) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withPermissions(permissions);
+ return this;
+ }
+
+ /**
+ * Get the creationTimestamp property: creationTimeStamp Creation time and date.
+ *
+ * @return the creationTimestamp value.
+ */
+ public OffsetDateTime creationTimestamp() {
+ return this.innerProperties() == null ? null : this.innerProperties().creationTimestamp();
+ }
+
+ /**
+ * Set the creationTimestamp property: creationTimeStamp Creation time and date.
+ *
+ * @param creationTimestamp the creationTimestamp value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withCreationTimestamp(OffsetDateTime creationTimestamp) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withCreationTimestamp(creationTimestamp);
+ return this;
+ }
+
+ /**
+ * Get the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
+ *
+ * @return the accessedTimestamp value.
+ */
+ public OffsetDateTime accessedTimestamp() {
+ return this.innerProperties() == null ? null : this.innerProperties().accessedTimestamp();
+ }
+
+ /**
+ * Set the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
+ *
+ * @param accessedTimestamp the accessedTimestamp value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withAccessedTimestamp(OffsetDateTime accessedTimestamp) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withAccessedTimestamp(accessedTimestamp);
+ return this;
+ }
+
+ /**
+ * Get the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
+ *
+ * @return the modifiedTimestamp value.
+ */
+ public OffsetDateTime modifiedTimestamp() {
+ return this.innerProperties() == null ? null : this.innerProperties().modifiedTimestamp();
+ }
+
+ /**
+ * Set the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
+ *
+ * @param modifiedTimestamp the modifiedTimestamp value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withModifiedTimestamp(OffsetDateTime modifiedTimestamp) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withModifiedTimestamp(modifiedTimestamp);
+ return this;
+ }
+
+ /**
+ * Get the changedTimestamp property: changedTimeStamp Most recent change time and date.
+ *
+ * @return the changedTimestamp value.
+ */
+ public OffsetDateTime changedTimestamp() {
+ return this.innerProperties() == null ? null : this.innerProperties().changedTimestamp();
+ }
+
+ /**
+ * Set the changedTimestamp property: changedTimeStamp Most recent change time and date.
+ *
+ * @param changedTimestamp the changedTimestamp value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withChangedTimestamp(OffsetDateTime changedTimestamp) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withChangedTimestamp(changedTimestamp);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Azure lifecycle management.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Set the provisioningState property: Azure lifecycle management.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the SubvolumeModelInner object itself.
+ */
+ public SubvolumeModelInner withProvisioningState(String provisioningState) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SubvolumeModelProperties();
+ }
+ this.innerProperties().withProvisioningState(provisioningState);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java
new file mode 100644
index 000000000000..1ec95abace80
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java
@@ -0,0 +1,285 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+
+/** Properties which represents actual subvolume model which is stored as a file in the system. */
+@Fluent
+public final class SubvolumeModelProperties {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SubvolumeModelProperties.class);
+
+ /*
+ * path Path to the subvolume
+ */
+ @JsonProperty(value = "path")
+ private String path;
+
+ /*
+ * parentpath Path to the parent subvolume
+ */
+ @JsonProperty(value = "parentPath")
+ private String parentPath;
+
+ /*
+ * size Size of subvolume
+ */
+ @JsonProperty(value = "size")
+ private Long size;
+
+ /*
+ * bytesUsed Bytes used
+ */
+ @JsonProperty(value = "bytesUsed")
+ private Long bytesUsed;
+
+ /*
+ * permissions Permissions of the subvolume
+ */
+ @JsonProperty(value = "permissions")
+ private String permissions;
+
+ /*
+ * creationTimeStamp Creation time and date
+ */
+ @JsonProperty(value = "creationTimeStamp")
+ private OffsetDateTime creationTimestamp;
+
+ /*
+ * accessedTimeStamp Most recent access time and date
+ */
+ @JsonProperty(value = "accessedTimeStamp")
+ private OffsetDateTime accessedTimestamp;
+
+ /*
+ * modifiedTimeStamp Most recent modification time and date
+ */
+ @JsonProperty(value = "modifiedTimeStamp")
+ private OffsetDateTime modifiedTimestamp;
+
+ /*
+ * changedTimeStamp Most recent change time and date
+ */
+ @JsonProperty(value = "changedTimeStamp")
+ private OffsetDateTime changedTimestamp;
+
+ /*
+ * Azure lifecycle management
+ */
+ @JsonProperty(value = "provisioningState")
+ private String provisioningState;
+
+ /**
+ * Get the path property: path Path to the subvolume.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.path;
+ }
+
+ /**
+ * Set the path property: path Path to the subvolume.
+ *
+ * @param path the path value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withPath(String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Get the parentPath property: parentpath Path to the parent subvolume.
+ *
+ * @return the parentPath value.
+ */
+ public String parentPath() {
+ return this.parentPath;
+ }
+
+ /**
+ * Set the parentPath property: parentpath Path to the parent subvolume.
+ *
+ * @param parentPath the parentPath value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withParentPath(String parentPath) {
+ this.parentPath = parentPath;
+ return this;
+ }
+
+ /**
+ * Get the size property: size Size of subvolume.
+ *
+ * @return the size value.
+ */
+ public Long size() {
+ return this.size;
+ }
+
+ /**
+ * Set the size property: size Size of subvolume.
+ *
+ * @param size the size value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withSize(Long size) {
+ this.size = size;
+ return this;
+ }
+
+ /**
+ * Get the bytesUsed property: bytesUsed Bytes used.
+ *
+ * @return the bytesUsed value.
+ */
+ public Long bytesUsed() {
+ return this.bytesUsed;
+ }
+
+ /**
+ * Set the bytesUsed property: bytesUsed Bytes used.
+ *
+ * @param bytesUsed the bytesUsed value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withBytesUsed(Long bytesUsed) {
+ this.bytesUsed = bytesUsed;
+ return this;
+ }
+
+ /**
+ * Get the permissions property: permissions Permissions of the subvolume.
+ *
+ * @return the permissions value.
+ */
+ public String permissions() {
+ return this.permissions;
+ }
+
+ /**
+ * Set the permissions property: permissions Permissions of the subvolume.
+ *
+ * @param permissions the permissions value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withPermissions(String permissions) {
+ this.permissions = permissions;
+ return this;
+ }
+
+ /**
+ * Get the creationTimestamp property: creationTimeStamp Creation time and date.
+ *
+ * @return the creationTimestamp value.
+ */
+ public OffsetDateTime creationTimestamp() {
+ return this.creationTimestamp;
+ }
+
+ /**
+ * Set the creationTimestamp property: creationTimeStamp Creation time and date.
+ *
+ * @param creationTimestamp the creationTimestamp value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withCreationTimestamp(OffsetDateTime creationTimestamp) {
+ this.creationTimestamp = creationTimestamp;
+ return this;
+ }
+
+ /**
+ * Get the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
+ *
+ * @return the accessedTimestamp value.
+ */
+ public OffsetDateTime accessedTimestamp() {
+ return this.accessedTimestamp;
+ }
+
+ /**
+ * Set the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
+ *
+ * @param accessedTimestamp the accessedTimestamp value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withAccessedTimestamp(OffsetDateTime accessedTimestamp) {
+ this.accessedTimestamp = accessedTimestamp;
+ return this;
+ }
+
+ /**
+ * Get the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
+ *
+ * @return the modifiedTimestamp value.
+ */
+ public OffsetDateTime modifiedTimestamp() {
+ return this.modifiedTimestamp;
+ }
+
+ /**
+ * Set the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
+ *
+ * @param modifiedTimestamp the modifiedTimestamp value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withModifiedTimestamp(OffsetDateTime modifiedTimestamp) {
+ this.modifiedTimestamp = modifiedTimestamp;
+ return this;
+ }
+
+ /**
+ * Get the changedTimestamp property: changedTimeStamp Most recent change time and date.
+ *
+ * @return the changedTimestamp value.
+ */
+ public OffsetDateTime changedTimestamp() {
+ return this.changedTimestamp;
+ }
+
+ /**
+ * Set the changedTimestamp property: changedTimeStamp Most recent change time and date.
+ *
+ * @param changedTimestamp the changedTimestamp value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withChangedTimestamp(OffsetDateTime changedTimestamp) {
+ this.changedTimestamp = changedTimestamp;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Azure lifecycle management.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Set the provisioningState property: Azure lifecycle management.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the SubvolumeModelProperties object itself.
+ */
+ public SubvolumeModelProperties withProvisioningState(String provisioningState) {
+ this.provisioningState = provisioningState;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java
new file mode 100644
index 000000000000..f27c617c0d48
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java
@@ -0,0 +1,76 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Parameters with which a subvolume can be updated. */
+@Fluent
+public final class SubvolumePatchParams {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SubvolumePatchParams.class);
+
+ /*
+ * size Truncate subvolume to the provided size in bytes
+ */
+ @JsonProperty(value = "size")
+ private Long size;
+
+ /*
+ * path path to the subvolume
+ */
+ @JsonProperty(value = "path")
+ private String path;
+
+ /**
+ * Get the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @return the size value.
+ */
+ public Long size() {
+ return this.size;
+ }
+
+ /**
+ * Set the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @param size the size value to set.
+ * @return the SubvolumePatchParams object itself.
+ */
+ public SubvolumePatchParams withSize(Long size) {
+ this.size = size;
+ return this;
+ }
+
+ /**
+ * Get the path property: path path to the subvolume.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.path;
+ }
+
+ /**
+ * Set the path property: path path to the subvolume.
+ *
+ * @param path the path value to set.
+ * @return the SubvolumePatchParams object itself.
+ */
+ public SubvolumePatchParams withPath(String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java
new file mode 100644
index 000000000000..a887160fe9b0
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java
@@ -0,0 +1,117 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** This represents path associated with the subvolume. */
+@Fluent
+public final class SubvolumeProperties {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SubvolumeProperties.class);
+
+ /*
+ * path Path to the subvolume
+ */
+ @JsonProperty(value = "path")
+ private String path;
+
+ /*
+ * size Truncate subvolume to the provided size in bytes
+ */
+ @JsonProperty(value = "size")
+ private Long size;
+
+ /*
+ * name parent path to the subvolume
+ */
+ @JsonProperty(value = "parentPath")
+ private String parentPath;
+
+ /*
+ * Azure lifecycle management
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /**
+ * Get the path property: path Path to the subvolume.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.path;
+ }
+
+ /**
+ * Set the path property: path Path to the subvolume.
+ *
+ * @param path the path value to set.
+ * @return the SubvolumeProperties object itself.
+ */
+ public SubvolumeProperties withPath(String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Get the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @return the size value.
+ */
+ public Long size() {
+ return this.size;
+ }
+
+ /**
+ * Set the size property: size Truncate subvolume to the provided size in bytes.
+ *
+ * @param size the size value to set.
+ * @return the SubvolumeProperties object itself.
+ */
+ public SubvolumeProperties withSize(Long size) {
+ this.size = size;
+ return this;
+ }
+
+ /**
+ * Get the parentPath property: name parent path to the subvolume.
+ *
+ * @return the parentPath value.
+ */
+ public String parentPath() {
+ return this.parentPath;
+ }
+
+ /**
+ * Set the parentPath property: name parent path to the subvolume.
+ *
+ * @param parentPath the parentPath value to set.
+ * @return the SubvolumeProperties object itself.
+ */
+ public SubvolumeProperties withParentPath(String parentPath) {
+ this.parentPath = parentPath;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Azure lifecycle management.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
index a6fcefb8ce95..d0cb6d5013d2 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
@@ -6,8 +6,10 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.AvsDataStore;
+import com.azure.resourcemanager.netapp.models.EnableSubvolumes;
import com.azure.resourcemanager.netapp.models.NetworkFeatures;
import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs;
import com.azure.resourcemanager.netapp.models.SecurityStyle;
@@ -37,6 +39,12 @@ public final class VolumeInner extends Resource {
@JsonProperty(value = "properties", required = true)
private VolumeProperties innerProperties = new VolumeProperties();
+ /*
+ * The system meta data relating to this resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
@@ -55,6 +63,15 @@ private VolumeProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the systemData property: The system meta data relating to this resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/** {@inheritDoc} */
@Override
public VolumeInner withLocation(String location) {
@@ -795,6 +812,16 @@ public VolumeInner withDefaultGroupQuotaInKiBs(Long defaultGroupQuotaInKiBs) {
return this;
}
+ /**
+ * Get the maximumNumberOfFiles property: Maximum number of files allowed. Needs a service request in order to be
+ * changed. Only allowed to be changed if volume quota is more than 4TiB.
+ *
+ * @return the maximumNumberOfFiles value.
+ */
+ public Long maximumNumberOfFiles() {
+ return this.innerProperties() == null ? null : this.innerProperties().maximumNumberOfFiles();
+ }
+
/**
* Get the volumeGroupName property: Volume Group Name.
*
@@ -909,6 +936,29 @@ public VolumeInner withPlacementRules(List placementRule
return this;
}
+ /**
+ * Get the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
+ *
+ * @return the enableSubvolumes value.
+ */
+ public EnableSubvolumes enableSubvolumes() {
+ return this.innerProperties() == null ? null : this.innerProperties().enableSubvolumes();
+ }
+
+ /**
+ * Set the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
+ *
+ * @param enableSubvolumes the enableSubvolumes value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withEnableSubvolumes(EnableSubvolumes enableSubvolumes) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withEnableSubvolumes(enableSubvolumes);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
index b3aabd2251ae..3b7b5aad7082 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
@@ -71,6 +71,18 @@ public final class VolumePatchProperties {
@JsonProperty(value = "defaultGroupQuotaInKiBs")
private Long defaultGroupQuotaInKiBs;
+ /*
+ * UNIX permissions for NFS volume accepted in octal 4 digit format. First
+ * digit selects the set user ID(4), set group ID (2) and sticky (1)
+ * attributes. Second digit selects permission for the owner of the file:
+ * read (4), write (2) and execute (1). Third selects permissions for other
+ * users in the same group. the fourth for other users not in the group.
+ * 0755 - gives read/write/execute permissions to owner and read/execute to
+ * group and other users.
+ */
+ @JsonProperty(value = "unixPermissions")
+ private String unixPermissions;
+
/**
* Get the serviceLevel property: serviceLevel The service level of the file system.
*
@@ -241,6 +253,34 @@ public VolumePatchProperties withDefaultGroupQuotaInKiBs(Long defaultGroupQuotaI
return this;
}
+ /**
+ * Get the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format. First digit
+ * selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the
+ * owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same
+ * group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and
+ * read/execute to group and other users.
+ *
+ * @return the unixPermissions value.
+ */
+ public String unixPermissions() {
+ return this.unixPermissions;
+ }
+
+ /**
+ * Set the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format. First digit
+ * selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the
+ * owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same
+ * group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and
+ * read/execute to group and other users.
+ *
+ * @param unixPermissions the unixPermissions value to set.
+ * @return the VolumePatchProperties object itself.
+ */
+ public VolumePatchProperties withUnixPermissions(String unixPermissions) {
+ this.unixPermissions = unixPermissions;
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java
index 2ae7afb4aff1..d3d03fc75db7 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.AvsDataStore;
+import com.azure.resourcemanager.netapp.models.EnableSubvolumes;
import com.azure.resourcemanager.netapp.models.NetworkFeatures;
import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs;
import com.azure.resourcemanager.netapp.models.SecurityStyle;
@@ -259,6 +260,13 @@ public final class VolumeProperties {
@JsonProperty(value = "defaultGroupQuotaInKiBs")
private Long defaultGroupQuotaInKiBs;
+ /*
+ * Maximum number of files allowed. Needs a service request in order to be
+ * changed. Only allowed to be changed if volume quota is more than 4TiB.
+ */
+ @JsonProperty(value = "maximumNumberOfFiles", access = JsonProperty.Access.WRITE_ONLY)
+ private Long maximumNumberOfFiles;
+
/*
* Volume Group Name
*/
@@ -297,6 +305,12 @@ public final class VolumeProperties {
@JsonProperty(value = "placementRules")
private List placementRules;
+ /*
+ * Flag indicating whether subvolume operations are enabled on the volume
+ */
+ @JsonProperty(value = "enableSubvolumes")
+ private EnableSubvolumes enableSubvolumes;
+
/**
* Get the fileSystemId property: FileSystem ID Unique FileSystem Identifier.
*
@@ -942,6 +956,16 @@ public VolumeProperties withDefaultGroupQuotaInKiBs(Long defaultGroupQuotaInKiBs
return this;
}
+ /**
+ * Get the maximumNumberOfFiles property: Maximum number of files allowed. Needs a service request in order to be
+ * changed. Only allowed to be changed if volume quota is more than 4TiB.
+ *
+ * @return the maximumNumberOfFiles value.
+ */
+ public Long maximumNumberOfFiles() {
+ return this.maximumNumberOfFiles;
+ }
+
/**
* Get the volumeGroupName property: Volume Group Name.
*
@@ -1044,6 +1068,26 @@ public VolumeProperties withPlacementRules(List placemen
return this;
}
+ /**
+ * Get the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
+ *
+ * @return the enableSubvolumes value.
+ */
+ public EnableSubvolumes enableSubvolumes() {
+ return this.enableSubvolumes;
+ }
+
+ /**
+ * Set the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
+ *
+ * @param enableSubvolumes the enableSubvolumes value to set.
+ * @return the VolumeProperties object itself.
+ */
+ public VolumeProperties withEnableSubvolumes(EnableSubvolumes enableSubvolumes) {
+ this.enableSubvolumes = enableSubvolumes;
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java
index 3823199cd441..ae32fcb10f48 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java
@@ -120,7 +120,7 @@ Mono>> delete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of Backups along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(String resourceGroupName, String accountName) {
@@ -172,7 +172,7 @@ private Mono> listSinglePageAsync(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of Backups along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(
@@ -284,7 +284,8 @@ public PagedIterable list(String resourceGroupName, String accountN
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -338,7 +339,8 @@ private Mono> getWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -388,7 +390,7 @@ private Mono> getWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAsync(String resourceGroupName, String accountName, String backupName) {
@@ -429,7 +431,7 @@ public BackupInner get(String resourceGroupName, String accountName, String back
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getWithResponse(
@@ -446,7 +448,7 @@ public Response getWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> deleteWithResponseAsync(
@@ -498,7 +500,7 @@ private Mono>> deleteWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> deleteWithResponseAsync(
@@ -546,7 +548,7 @@ private Mono>> deleteWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, Void> beginDeleteAsync(
@@ -568,7 +570,7 @@ private PollerFlux, Void> beginDeleteAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, Void> beginDeleteAsync(
@@ -590,7 +592,7 @@ private PollerFlux, Void> beginDeleteAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
@@ -608,7 +610,7 @@ public SyncPoller, Void> beginDelete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
@@ -625,7 +627,7 @@ public SyncPoller, Void> beginDelete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String accountName, String backupName) {
@@ -644,7 +646,7 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String accountName, String backupName, Context context) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java
index 037e7ae45584..a6a70f3ae5f7 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java
@@ -180,7 +180,8 @@ Mono> listNext(
*
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync() {
@@ -226,7 +227,8 @@ private Mono> listSinglePageAsync() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Context context) {
@@ -323,7 +325,8 @@ public PagedIterable list(Context context) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) {
@@ -375,7 +378,8 @@ private Mono> listByResourceGroupSinglePageAsy
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByResourceGroupSinglePageAsync(
@@ -486,7 +490,7 @@ public PagedIterable listByResourceGroup(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 the NetApp account along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getByResourceGroupWithResponseAsync(
@@ -535,7 +539,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 the NetApp account along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getByResourceGroupWithResponseAsync(
@@ -580,7 +584,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 the NetApp account on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getByResourceGroupAsync(String resourceGroupName, String accountName) {
@@ -619,7 +623,7 @@ public NetAppAccountInner getByResourceGroup(String resourceGroupName, String ac
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 the NetApp account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getByResourceGroupWithResponse(
@@ -636,7 +640,7 @@ public Response getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateWithResponseAsync(
@@ -692,7 +696,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateWithResponseAsync(
@@ -744,7 +748,7 @@ private Mono>> createOrUpdateWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, NetAppAccountInner> beginCreateOrUpdateAsync(
@@ -770,7 +774,7 @@ private PollerFlux, NetAppAccountInner> beginCrea
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, NetAppAccountInner> beginCreateOrUpdateAsync(
@@ -793,7 +797,7 @@ private PollerFlux, NetAppAccountInner> beginCrea
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
@@ -811,7 +815,7 @@ public SyncPoller, NetAppAccountInner> beginCreat
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, NetAppAccountInner> beginCreateOrUpdate(
@@ -828,7 +832,7 @@ public SyncPoller, NetAppAccountInner> beginCreat
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAsync(
@@ -848,7 +852,7 @@ private Mono createOrUpdateAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAsync(
@@ -900,7 +904,7 @@ public NetAppAccountInner createOrUpdate(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> deleteWithResponseAsync(String resourceGroupName, String accountName) {
@@ -946,7 +950,7 @@ private Mono>> deleteWithResponseAsync(String resource
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> deleteWithResponseAsync(
@@ -989,7 +993,7 @@ private Mono>> deleteWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String accountName) {
@@ -1009,7 +1013,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, Void> beginDeleteAsync(
@@ -1029,7 +1033,7 @@ private PollerFlux, Void> beginDeleteAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(String resourceGroupName, String accountName) {
@@ -1045,7 +1049,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName,
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
@@ -1061,7 +1065,7 @@ public SyncPoller, Void> beginDelete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String accountName) {
@@ -1077,7 +1081,7 @@ private Mono deleteAsync(String resourceGroupName, String accountName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String accountName, Context context) {
@@ -1124,7 +1128,7 @@ public void delete(String resourceGroupName, String accountName, Context context
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> updateWithResponseAsync(
@@ -1180,7 +1184,7 @@ private Mono>> updateWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> updateWithResponseAsync(
@@ -1232,7 +1236,7 @@ private Mono>> updateWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, NetAppAccountInner> beginUpdateAsync(
@@ -1258,7 +1262,7 @@ private PollerFlux, NetAppAccountInner> beginUpda
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, NetAppAccountInner> beginUpdateAsync(
@@ -1280,7 +1284,7 @@ private PollerFlux, NetAppAccountInner> beginUpda
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, NetAppAccountInner> beginUpdate(
@@ -1298,7 +1302,7 @@ public SyncPoller, NetAppAccountInner> beginUpdat
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, NetAppAccountInner> beginUpdate(
@@ -1315,7 +1319,7 @@ public SyncPoller, NetAppAccountInner> beginUpdat
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono updateAsync(
@@ -1335,7 +1339,7 @@ private Mono updateAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 netApp account resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono updateAsync(
@@ -1386,7 +1390,8 @@ public NetAppAccountInner update(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) {
@@ -1423,7 +1428,8 @@ private Mono> listBySubscriptionNextSinglePage
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listBySubscriptionNextSinglePageAsync(
@@ -1459,7 +1465,8 @@ private Mono> listBySubscriptionNextSinglePage
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink) {
@@ -1495,7 +1502,8 @@ private Mono> listNextSinglePageAsync(String n
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of NetApp account resources along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink, Context context) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java
index dab0938483a1..4cbac0fa0b86 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java
@@ -158,7 +158,7 @@ Mono>> delete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of Backup Policies along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(String resourceGroupName, String accountName) {
@@ -210,7 +210,7 @@ private Mono> listSinglePageAsync(String resour
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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.
+ * @return list of Backup Policies along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(
@@ -322,7 +322,7 @@ public PagedIterable list(String resourceGroupName, String ac
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 particular backup Policy.
+ * @return a particular backup Policy along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -377,7 +377,7 @@ private Mono> getWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 particular backup Policy.
+ * @return a particular backup Policy along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -428,7 +428,7 @@ private Mono> getWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 particular backup Policy.
+ * @return a particular backup Policy on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAsync(String resourceGroupName, String accountName, String backupPolicyName) {
@@ -469,7 +469,7 @@ public BackupPolicyInner get(String resourceGroupName, String accountName, Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 particular backup Policy.
+ * @return a particular backup Policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getWithResponse(
@@ -487,7 +487,7 @@ public Response getWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createWithResponseAsync(
@@ -549,7 +549,7 @@ private Mono>> createWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createWithResponseAsync(
@@ -611,7 +611,7 @@ private Mono>> createWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, BackupPolicyInner> beginCreateAsync(
@@ -639,7 +639,7 @@ private PollerFlux, BackupPolicyInner> beginCreate
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, BackupPolicyInner> beginCreateAsync(
@@ -667,7 +667,7 @@ private PollerFlux, BackupPolicyInner> beginCreate
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return backup policy information.
+ * @return backup policy information along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, BackupPolicyInner> beginCreate(
@@ -686,7 +686,7 @@ public SyncPoller