, BackupInner> beginUpdate(
BackupPatch body,
Context context);
- /**
- * Patch a backup
- *
- * Patch a backup for 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 backupName The name of the backup.
- * @param body Backup 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 backup of a Volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BackupInner update(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String backupName,
- BackupPatch body);
-
/**
* Patch a backup
*
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 b1e9dcb3f61c..9df466f5f186 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
@@ -49,13 +49,14 @@ public interface NetAppResourceQuotaLimitsClient {
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current subscription quota limit.
+ * @return the default and current subscription quota limit along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SubscriptionQuotaItemInner get(String location, String quotaLimitName);
+ Response getWithResponse(String location, String quotaLimitName, Context context);
/**
* Get quota limits
@@ -64,12 +65,11 @@ public interface NetAppResourceQuotaLimitsClient {
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current subscription quota limit along with {@link Response}.
+ * @return the default and current subscription quota limit.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String quotaLimitName, Context context);
+ SubscriptionQuotaItemInner get(String location, String quotaLimitName);
}
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 4b546040dece..a0524820da4c 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
@@ -23,13 +23,15 @@ public interface NetAppResourcesClient {
*
* @param location The location.
* @param body Name availability request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CheckAvailabilityResponseInner checkNameAvailability(String location, ResourceNameAvailabilityRequest body);
+ Response checkNameAvailabilityWithResponse(
+ String location, ResourceNameAvailabilityRequest body, Context context);
/**
* Check resource name availability
@@ -38,15 +40,13 @@ public interface NetAppResourcesClient {
*
* @param location The location.
* @param body Name availability request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String location, ResourceNameAvailabilityRequest body, Context context);
+ CheckAvailabilityResponseInner checkNameAvailability(String location, ResourceNameAvailabilityRequest body);
/**
* Check file path availability
@@ -55,13 +55,15 @@ Response checkNameAvailabilityWithResponse(
*
* @param location The location.
* @param body File path availability request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CheckAvailabilityResponseInner checkFilePathAvailability(String location, FilePathAvailabilityRequest body);
+ Response checkFilePathAvailabilityWithResponse(
+ String location, FilePathAvailabilityRequest body, Context context);
/**
* Check file path availability
@@ -70,15 +72,13 @@ Response checkNameAvailabilityWithResponse(
*
* @param location The location.
* @param body File path availability request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkFilePathAvailabilityWithResponse(
- String location, FilePathAvailabilityRequest body, Context context);
+ CheckAvailabilityResponseInner checkFilePathAvailability(String location, FilePathAvailabilityRequest body);
/**
* Check quota availability
@@ -87,13 +87,15 @@ Response checkFilePathAvailabilityWithResponse(
*
* @param location The location.
* @param body Quota availability request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CheckAvailabilityResponseInner checkQuotaAvailability(String location, QuotaAvailabilityRequest body);
+ Response checkQuotaAvailabilityWithResponse(
+ String location, QuotaAvailabilityRequest body, Context context);
/**
* Check quota availability
@@ -102,15 +104,13 @@ Response checkFilePathAvailabilityWithResponse(
*
* @param location The location.
* @param body Quota availability request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkQuotaAvailabilityWithResponse(
- String location, QuotaAvailabilityRequest body, Context context);
+ CheckAvailabilityResponseInner checkQuotaAvailability(String location, QuotaAvailabilityRequest body);
/**
* Describes region specific information.
@@ -118,13 +118,14 @@ Response checkQuotaAvailabilityWithResponse(
* Provides storage to network proximity and logical zone mapping information.
*
* @param location The location.
+ * @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 provides region specific information.
+ * @return provides region specific information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- RegionInfoInner queryRegionInfo(String location);
+ Response queryRegionInfoWithResponse(String location, Context context);
/**
* Describes region specific information.
@@ -132,12 +133,11 @@ Response checkQuotaAvailabilityWithResponse(
* Provides storage to network proximity and logical zone mapping information.
*
* @param location The location.
- * @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 provides region specific information along with {@link Response}.
+ * @return provides region specific information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response queryRegionInfoWithResponse(String location, Context context);
+ RegionInfoInner queryRegionInfo(String location);
}
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 7c96ea805bf1..4f5f22c6b020 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
@@ -55,13 +55,15 @@ public interface PoolsClient {
* @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 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 capacity pool.
+ * @return details of the specified capacity pool along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CapacityPoolInner get(String resourceGroupName, String accountName, String poolName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String poolName, Context context);
/**
* Describe a Capacity Pool
@@ -71,15 +73,13 @@ public interface PoolsClient {
* @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 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 capacity pool along with {@link Response}.
+ * @return details of the specified capacity pool.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String poolName, Context context);
+ CapacityPoolInner get(String resourceGroupName, String accountName, String poolName);
/**
* Create or Update the specified capacity pool within the resource group
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 3d8aa38a8d3f..2efdba0af2ce 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
@@ -50,13 +50,15 @@ public interface SnapshotPoliciesClient {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a snapshot Policy.
+ * @return a snapshot Policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotPolicyInner get(String resourceGroupName, String accountName, String snapshotPolicyName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
/**
* Get a snapshot Policy.
@@ -64,15 +66,13 @@ public interface SnapshotPoliciesClient {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a snapshot Policy along with {@link Response}.
+ * @return a snapshot Policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
+ SnapshotPolicyInner get(String resourceGroupName, String accountName, String snapshotPolicyName);
/**
* Create a snapshot policy.
@@ -81,14 +81,19 @@ Response getWithResponse(
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
* @param body Snapshot policy object supplied in the body of the operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return snapshot policy information.
+ * @return snapshot policy information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotPolicyInner create(
- String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyInner body);
+ Response createWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String snapshotPolicyName,
+ SnapshotPolicyInner body,
+ Context context);
/**
* Create a snapshot policy.
@@ -97,19 +102,14 @@ SnapshotPolicyInner create(
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
* @param body Snapshot policy object supplied in the body of the operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return snapshot policy information along with {@link Response}.
+ * @return snapshot policy information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName,
- String accountName,
- String snapshotPolicyName,
- SnapshotPolicyInner body,
- Context context);
+ SnapshotPolicyInner create(
+ String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyInner body);
/**
* Patch a snapshot policy.
@@ -251,13 +251,15 @@ SyncPoller, Void> beginDelete(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
+ * @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 volumes associated with snapshot policy.
+ * @return volumes associated with snapshot policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotPolicyVolumeListInner listVolumes(String resourceGroupName, String accountName, String snapshotPolicyName);
+ Response listVolumesWithResponse(
+ String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
/**
* Get volumes for snapshot policy
@@ -267,13 +269,11 @@ SyncPoller, Void> beginDelete(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
- * @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 volumes associated with snapshot policy along with {@link Response}.
+ * @return volumes associated with snapshot policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listVolumesWithResponse(
- String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
+ SnapshotPolicyVolumeListInner listVolumes(String resourceGroupName, String accountName, String snapshotPolicyName);
}
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 7637b1788c6e..2ff3c112691f 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
@@ -62,14 +62,20 @@ PagedIterable list(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified snapshot.
+ * @return details of the specified snapshot along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SnapshotInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
+ Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ Context context);
/**
* Describe a snapshot
@@ -81,20 +87,14 @@ SnapshotInner get(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified snapshot along with {@link Response}.
+ * @return details of the specified snapshot.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String snapshotName,
- Context context);
+ SnapshotInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
/**
* Create a snapshot
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
index 77e85357240a..97948a951321 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java
@@ -64,14 +64,20 @@ PagedIterable listByVolume(
* @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.
+ * @return subvolume Information properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SubvolumeInfoInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
+ Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context);
/**
* Get the path associated with the subvolumeName
@@ -83,20 +89,14 @@ SubvolumeInfoInner get(
* @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}.
+ * @return subvolume Information properties.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String subvolumeName,
- Context context);
+ SubvolumeInfoInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName);
/**
* Create or clone a new subvolume
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 1e019e7fcab6..58e9de055fa3 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
@@ -55,13 +55,15 @@ public interface VolumeGroupsClient {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param volumeGroupName The name of the volumeGroup.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified volume group.
+ * @return details of the specified volume group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String volumeGroupName, Context context);
/**
* Describe a Volume Group
@@ -71,15 +73,13 @@ public interface VolumeGroupsClient {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param volumeGroupName The name of the volumeGroup.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of the specified volume group along with {@link Response}.
+ * @return details of the specified volume group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String volumeGroupName, Context context);
+ VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName);
/**
* Create the specified volume group and volumes. Creating volume group will create all the volumes specified in
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
index f72182325895..980ce92325dc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java
@@ -63,14 +63,20 @@ PagedIterable listByVolume(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param volumeQuotaRuleName The name of volume quota rule.
+ * @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 quota rule.
+ * @return details of the specified quota rule along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- VolumeQuotaRuleInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName);
+ Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String volumeQuotaRuleName,
+ Context context);
/**
* Describe a quota rule
@@ -82,20 +88,14 @@ VolumeQuotaRuleInner get(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param volumeQuotaRuleName The name of volume quota rule.
- * @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 quota rule along with {@link Response}.
+ * @return details of the specified quota rule.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String volumeQuotaRuleName,
- Context context);
+ VolumeQuotaRuleInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName);
/**
* Create a quota rule
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 d40a33f804af..6f41b7d0aef7 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
@@ -66,13 +66,15 @@ public interface VolumesClient {
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of the specified volume.
+ * @return the details of the specified volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
/**
* Describe a volume
@@ -83,15 +85,13 @@ public interface VolumesClient {
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of the specified volume along with {@link Response}.
+ * @return the details of the specified volume.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+ VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName);
/**
* Create or Update a volume
@@ -278,8 +278,6 @@ 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.
@@ -287,7 +285,7 @@ VolumeInner update(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(
- String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete);
+ String resourceGroupName, String accountName, String poolName, String volumeName);
/**
* Delete a volume
@@ -315,24 +313,6 @@ SyncPoller, Void> beginDelete(
Boolean forceDelete,
Context context);
- /**
- * Delete a volume
- *
- * 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 a volume
*
@@ -539,7 +519,6 @@ void resetCifsPassword(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param body Optional body to force break the replication.
* @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.
@@ -547,7 +526,7 @@ void resetCifsPassword(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginBreakReplication(
- String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body);
+ String resourceGroupName, String accountName, String poolName, String volumeName);
/**
* Break volume replication
@@ -574,24 +553,6 @@ SyncPoller, Void> beginBreakReplication(
BreakReplicationRequest body,
Context context);
- /**
- * Break volume replication
- *
- * Break the replication connection on the destination 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 body Optional body to force break the replication.
- * @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 breakReplication(
- String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body);
-
/**
* Break volume replication
*
@@ -739,14 +700,15 @@ void reestablishReplication(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of the replication.
+ * @return the status of the replication along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ReplicationStatusInner replicationStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName);
+ Response replicationStatusWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
/**
* Get volume replication status
@@ -757,15 +719,14 @@ ReplicationStatusInner replicationStatus(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of the replication along with {@link Response}.
+ * @return the status of the replication.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response replicationStatusWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+ ReplicationStatusInner replicationStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName);
/**
* List replications for volume
@@ -1202,7 +1163,6 @@ void poolChange(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param body Relocate volume request.
* @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.
@@ -1210,7 +1170,7 @@ void poolChange(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginRelocate(
- String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body);
+ String resourceGroupName, String accountName, String poolName, String volumeName);
/**
* Relocate volume
@@ -1237,24 +1197,6 @@ SyncPoller, Void> beginRelocate(
RelocateVolumeRequest body,
Context context);
- /**
- * Relocate volume
- *
- * Relocates volume to a new stamp.
- *
- * @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 body Relocate volume request.
- * @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 relocate(
- String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body);
-
/**
* Relocate volume
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
index 438681c784b4..7372c2be67ab 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
@@ -37,6 +37,10 @@ public final class AccountProperties {
@JsonProperty(value = "disableShowmount", access = JsonProperty.Access.WRITE_ONLY)
private Boolean disableShowmount;
+ /** Creates an instance of AccountProperties class. */
+ public AccountProperties() {
+ }
+
/**
* Get the provisioningState property: Azure lifecycle management.
*
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 aebc97b88693..03fc07358b83 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
@@ -26,6 +26,10 @@ public final class BackupInner extends ProxyResource {
@JsonProperty(value = "properties", required = true)
private BackupProperties innerProperties = new BackupProperties();
+ /** Creates an instance of BackupInner class. */
+ public BackupInner() {
+ }
+
/**
* Get the location property: Resource location.
*
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 57577aa4f21d..fc87966ddd9b 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
@@ -34,6 +34,10 @@ public final class BackupPolicyInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of BackupPolicyInner class. */
+ public BackupPolicyInner() {
+ }
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
index d52f6bc85dc0..71216b2c0a56 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyProperties.java
@@ -60,6 +60,10 @@ public final class BackupPolicyProperties {
@JsonProperty(value = "volumeBackups", access = JsonProperty.Access.WRITE_ONLY)
private List volumeBackups;
+ /** Creates an instance of BackupPolicyProperties class. */
+ public BackupPolicyProperties() {
+ }
+
/**
* Get the backupPolicyId property: Backup Policy Resource ID.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java
index 47e6ab529c15..5aa1d35d4942 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
@@ -73,6 +73,10 @@ public final class BackupProperties {
@JsonProperty(value = "useExistingSnapshot")
private Boolean useExistingSnapshot;
+ /** Creates an instance of BackupProperties class. */
+ public BackupProperties() {
+ }
+
/**
* Get the backupId property: backupId
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupStatusInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupStatusInner.java
index 46054e55e5f0..feb5b91c8478 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupStatusInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupStatusInner.java
@@ -60,6 +60,10 @@ public final class BackupStatusInner {
@JsonProperty(value = "totalTransferBytes", access = JsonProperty.Access.WRITE_ONLY)
private Long totalTransferBytes;
+ /** Creates an instance of BackupStatusInner class. */
+ public BackupStatusInner() {
+ }
+
/**
* Get the healthy property: Backup health status.
*
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 c7532860ac1c..2a2fbe5c3845 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
@@ -35,6 +35,10 @@ public final class CapacityPoolInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of CapacityPoolInner class. */
+ public CapacityPoolInner() {
+ }
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java
index 8ac2e4a1054b..9e062cb9c6c9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java
@@ -33,6 +33,10 @@ public final class CheckAvailabilityResponseInner {
@JsonProperty(value = "message")
private String message;
+ /** Creates an instance of CheckAvailabilityResponseInner class. */
+ public CheckAvailabilityResponseInner() {
+ }
+
/**
* Get the isAvailable property: <code>true</code> indicates name is valid and available.
* <code>false</code> indicates the name is invalid, unavailable, or both.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java
index a1efd0ef7b3c..277f0c00f31e 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java
@@ -43,6 +43,10 @@ public final class MountTargetProperties {
@JsonProperty(value = "smbServerFqdn")
private String smbServerFqdn;
+ /** Creates an instance of MountTargetProperties class. */
+ public MountTargetProperties() {
+ }
+
/**
* Get the mountTargetId property: mountTargetId
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java
index 2db669ff0c2f..0ac43651883a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.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.resourcemanager.netapp.models.AccountEncryption;
import com.azure.resourcemanager.netapp.models.ActiveDirectory;
import com.azure.resourcemanager.netapp.models.Identity;
@@ -34,6 +35,16 @@ public final class NetAppAccountInner extends Resource {
@JsonProperty(value = "identity")
private Identity identity;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of NetAppAccountInner class. */
+ public NetAppAccountInner() {
+ }
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
@@ -72,6 +83,15 @@ public NetAppAccountInner withIdentity(Identity identity) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/** {@inheritDoc} */
@Override
public NetAppAccountInner withLocation(String location) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationInner.java
index 8d4b210a0797..18b961640a3c 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationInner.java
@@ -36,6 +36,10 @@ public final class OperationInner {
@JsonProperty(value = "properties")
private OperationProperties innerProperties;
+ /** Creates an instance of OperationInner class. */
+ public OperationInner() {
+ }
+
/**
* Get the name property: Operation name: {provider}/{resource}/{operation}.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationProperties.java
index 41cf61910a9e..16117c4ef51a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/OperationProperties.java
@@ -17,6 +17,10 @@ public final class OperationProperties {
@JsonProperty(value = "serviceSpecification")
private ServiceSpecification serviceSpecification;
+ /** Creates an instance of OperationProperties class. */
+ public OperationProperties() {
+ }
+
/**
* Get the serviceSpecification property: One property of operation, include metric specifications.
*
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 d40f3adce2ee..7867a3794d46 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
@@ -32,6 +32,10 @@ public final class PoolPatchProperties {
@JsonProperty(value = "coolAccess")
private Boolean coolAccess;
+ /** Creates an instance of PoolPatchProperties class. */
+ public PoolPatchProperties() {
+ }
+
/**
* Get the size property: size
*
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 171aafa0ad5d..dd3aa2f9c20b 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
@@ -78,6 +78,10 @@ public final class PoolProperties {
@JsonProperty(value = "encryptionType")
private EncryptionType encryptionType;
+ /** Creates an instance of PoolProperties class. */
+ public PoolProperties() {
+ }
+
/**
* Get the poolId property: poolId
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java
index e2658a04b55e..32f78d24a9b6 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java
@@ -29,6 +29,10 @@ public final class RegionInfoInner {
@JsonProperty(value = "availabilityZoneMappings")
private List availabilityZoneMappings;
+ /** Creates an instance of RegionInfoInner class. */
+ public RegionInfoInner() {
+ }
+
/**
* Get the storageToNetworkProximity property: Storage to Network Proximity
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java
index 0fafec427ba4..bd1d78b8969b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java
@@ -37,6 +37,10 @@ public final class ReplicationInner {
@JsonProperty(value = "remoteVolumeRegion")
private String remoteVolumeRegion;
+ /** Creates an instance of ReplicationInner class. */
+ public ReplicationInner() {
+ }
+
/**
* Get the endpointType property: Indicates whether the local volume is the source or destination for the Volume
* Replication.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationStatusInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationStatusInner.java
index 6c401681ee63..a1cbe4b0bed4 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationStatusInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationStatusInner.java
@@ -42,6 +42,10 @@ public final class ReplicationStatusInner {
@JsonProperty(value = "errorMessage")
private String errorMessage;
+ /** Creates an instance of ReplicationStatusInner class. */
+ public ReplicationStatusInner() {
+ }
+
/**
* Get the healthy property: Replication health check.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RestoreStatusInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RestoreStatusInner.java
index 248084df03e3..370222b6de4e 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RestoreStatusInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RestoreStatusInner.java
@@ -48,6 +48,10 @@ public final class RestoreStatusInner {
@JsonProperty(value = "totalTransferBytes", access = JsonProperty.Access.WRITE_ONLY)
private Long totalTransferBytes;
+ /** Creates an instance of RestoreStatusInner class. */
+ public RestoreStatusInner() {
+ }
+
/**
* Get the healthy property: Restore health status.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java
index 3cf9b6d34d67..90c185489de3 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java
@@ -25,6 +25,10 @@ public final class SnapshotInner extends ProxyResource {
@JsonProperty(value = "properties")
private SnapshotProperties innerProperties;
+ /** Creates an instance of SnapshotInner class. */
+ public SnapshotInner() {
+ }
+
/**
* Get the location property: Resource location.
*
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 36968f3582a1..83870dbae025 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
@@ -36,6 +36,10 @@ public final class SnapshotPolicyInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SnapshotPolicyInner class. */
+ public SnapshotPolicyInner() {
+ }
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyProperties.java
index b991388d7101..aa9ace19ad48 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyProperties.java
@@ -50,6 +50,10 @@ public final class SnapshotPolicyProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
+ /** Creates an instance of SnapshotPolicyProperties class. */
+ public SnapshotPolicyProperties() {
+ }
+
/**
* Get the hourlySchedule property: Schedule for hourly snapshots.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
index 85f34c9ae377..a125b2b8d4cc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyVolumeListInner.java
@@ -17,6 +17,10 @@ public final class SnapshotPolicyVolumeListInner {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of SnapshotPolicyVolumeListInner class. */
+ public SnapshotPolicyVolumeListInner() {
+ }
+
/**
* Get the value property: List of volumes.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java
index 3c9f188dbc8f..1eedf96e7a27 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java
@@ -33,6 +33,10 @@ public final class SnapshotProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
+ /** Creates an instance of SnapshotProperties class. */
+ public SnapshotProperties() {
+ }
+
/**
* Get the snapshotId property: snapshotId
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java
index 70e2995762f1..c108c0baf9bd 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java
@@ -4,12 +4,13 @@
package com.azure.resourcemanager.netapp.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Information regarding Subscription Quota Item. */
-@Fluent
+@Immutable
public final class SubscriptionQuotaItemInner extends ProxyResource {
/*
* SubscriptionQuotaItem properties
@@ -17,6 +18,16 @@ public final class SubscriptionQuotaItemInner extends ProxyResource {
@JsonProperty(value = "properties")
private SubscriptionQuotaItemProperties innerProperties;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of SubscriptionQuotaItemInner class. */
+ public SubscriptionQuotaItemInner() {
+ }
+
/**
* Get the innerProperties property: SubscriptionQuotaItem properties.
*
@@ -26,6 +37,15 @@ private SubscriptionQuotaItemProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the current property: The current quota value.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemProperties.java
index 503b16294bab..de58ea6b10d8 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemProperties.java
@@ -22,6 +22,10 @@ public final class SubscriptionQuotaItemProperties {
@JsonProperty(value = "default", access = JsonProperty.Access.WRITE_ONLY)
private Integer defaultProperty;
+ /** Creates an instance of SubscriptionQuotaItemProperties class. */
+ public SubscriptionQuotaItemProperties() {
+ }
+
/**
* Get the current property: The current quota value.
*
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
index 7434e120eaba..5ec2d4e2fdb9 100644
--- 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
@@ -24,6 +24,10 @@ public final class SubvolumeInfoInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SubvolumeInfoInner class. */
+ public SubvolumeInfoInner() {
+ }
+
/**
* Get the innerProperties property: Subvolume Properties.
*
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
index 43eed355a1b8..e0b51d40618a 100644
--- 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
@@ -35,6 +35,10 @@ public final class SubvolumeModelInner {
@JsonProperty(value = "properties")
private SubvolumeModelProperties innerProperties;
+ /** Creates an instance of SubvolumeModelInner class. */
+ public SubvolumeModelInner() {
+ }
+
/**
* Get the id property: Resource Id.
*
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
index 1885be3c0c20..46788f1818cc 100644
--- 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
@@ -89,6 +89,10 @@ public final class SubvolumeModelProperties {
@JsonProperty(value = "provisioningState")
private String provisioningState;
+ /** Creates an instance of SubvolumeModelProperties class. */
+ public SubvolumeModelProperties() {
+ }
+
/**
* Get the path property: path
*
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
index 9e1943b0020c..b983189bedfd 100644
--- 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
@@ -26,6 +26,10 @@ public final class SubvolumePatchParams {
@JsonProperty(value = "path")
private String path;
+ /** Creates an instance of SubvolumePatchParams class. */
+ public SubvolumePatchParams() {
+ }
+
/**
* Get the size property: size
*
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
index c2dd240f5286..bcc05b1b27e6 100644
--- 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
@@ -40,6 +40,10 @@ public final class SubvolumeProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
+ /** Creates an instance of SubvolumeProperties class. */
+ public SubvolumeProperties() {
+ }
+
/**
* Get the path property: path
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java
index 1674295c1526..64dcb4278d5a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java
@@ -18,6 +18,10 @@ public final class VaultInner extends ProxyResource {
@JsonProperty(value = "properties", required = true)
private VaultProperties innerProperties = new VaultProperties();
+ /** Creates an instance of VaultInner class. */
+ public VaultInner() {
+ }
+
/**
* Get the innerProperties property: Vault Properties.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultProperties.java
index 53cd65c38aad..22b18d019fe5 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultProperties.java
@@ -16,6 +16,10 @@ public final class VaultProperties {
@JsonProperty(value = "vaultName")
private String vaultName;
+ /** Creates an instance of VaultProperties class. */
+ public VaultProperties() {
+ }
+
/**
* Get the vaultName property: Vault Name.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupDetailsInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupDetailsInner.java
index eead110c345d..d9955f4ac7c2 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupDetailsInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupDetailsInner.java
@@ -43,6 +43,10 @@ public final class VolumeGroupDetailsInner {
@JsonProperty(value = "properties")
private VolumeGroupProperties innerProperties;
+ /** Creates an instance of VolumeGroupDetailsInner class. */
+ public VolumeGroupDetailsInner() {
+ }
+
/**
* Get the location property: Resource location.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupInner.java
index 3ee07597cecc..d9b71c7976d9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupInner.java
@@ -41,6 +41,10 @@ public final class VolumeGroupInner {
@JsonProperty(value = "properties")
private VolumeGroupListProperties innerProperties;
+ /** Creates an instance of VolumeGroupInner class. */
+ public VolumeGroupInner() {
+ }
+
/**
* Get the location property: Resource location.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupListProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupListProperties.java
index 1d67a3966eed..2d075f0fb95f 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupListProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupListProperties.java
@@ -23,6 +23,10 @@ public final class VolumeGroupListProperties {
@JsonProperty(value = "groupMetaData")
private VolumeGroupMetadata groupMetadata;
+ /** Creates an instance of VolumeGroupListProperties class. */
+ public VolumeGroupListProperties() {
+ }
+
/**
* Get the provisioningState property: Azure lifecycle management.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupProperties.java
index 7fbdd123f2cf..bd9547ef4d1a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeGroupProperties.java
@@ -31,6 +31,10 @@ public final class VolumeGroupProperties {
@JsonProperty(value = "volumes")
private List volumes;
+ /** Creates an instance of VolumeGroupProperties class. */
+ public VolumeGroupProperties() {
+ }
+
/**
* Get the provisioningState property: Azure lifecycle management.
*
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 ea01a5a10d5d..874e175a98b8 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
@@ -51,6 +51,10 @@ public final class VolumeInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of VolumeInner class. */
+ public VolumeInner() {
+ }
+
/**
* Get the etag property: A unique read-only string that changes whenever the resource is updated.
*
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 c8b40ca2a949..4db2172d36e4 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
@@ -93,6 +93,10 @@ public final class VolumePatchProperties {
@JsonProperty(value = "coolnessPeriod")
private Integer coolnessPeriod;
+ /** Creates an instance of VolumePatchProperties class. */
+ public VolumePatchProperties() {
+ }
+
/**
* Get the serviceLevel property: serviceLevel
*
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 4718a6c1a1da..47542b3ae0e1 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
@@ -357,6 +357,10 @@ public final class VolumeProperties {
@JsonProperty(value = "enableSubvolumes")
private EnableSubvolumes enableSubvolumes;
+ /** Creates an instance of VolumeProperties class. */
+ public VolumeProperties() {
+ }
+
/**
* Get the fileSystemId property: FileSystem ID
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java
index 287e929f86c5..afc4ead0ddfa 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java
@@ -27,6 +27,10 @@ public final class VolumeQuotaRuleInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of VolumeQuotaRuleInner class. */
+ public VolumeQuotaRuleInner() {
+ }
+
/**
* Get the innerProperties property: Volume Quota Rule Properties.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java
index c1b86dd6ab9c..49f04c0fcc63 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java
@@ -39,6 +39,10 @@ public final class VolumeQuotaRulesProperties {
@JsonProperty(value = "quotaTarget")
private String quotaTarget;
+ /** Creates an instance of VolumeQuotaRulesProperties class. */
+ public VolumeQuotaRulesProperties() {
+ }
+
/**
* Get the provisioningState property: Gets the status of the VolumeQuotaRule at the time the operation was called.
*
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 0ccfde96c28a..ea8a86472c6f 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
@@ -421,14 +421,16 @@ private Mono getAsync(String resourceGroupName, String accountName,
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupName The name of the backup.
+ * @param context The context to associate with this operation.
* @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 BackupInner get(String resourceGroupName, String accountName, String backupName) {
- return getAsync(resourceGroupName, accountName, backupName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String backupName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, backupName, context).block();
}
/**
@@ -439,16 +441,14 @@ public BackupInner get(String resourceGroupName, String accountName, String back
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupName The name of the backup.
- * @param context The context to associate with this operation.
* @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 along with {@link Response}.
+ * @return the specified backup for a Netapp Account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String backupName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, backupName, context).block();
+ public BackupInner get(String resourceGroupName, String accountName, String backupName) {
+ return getWithResponse(resourceGroupName, accountName, backupName, Context.NONE).getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsImpl.java
index bc060d9d9ff8..290758306449 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsImpl.java
@@ -37,15 +37,6 @@ public PagedIterable list(String resourceGroupName, String accountName,
return Utils.mapPage(inner, inner1 -> new BackupImpl(inner1, this.manager()));
}
- public Backup get(String resourceGroupName, String accountName, String backupName) {
- BackupInner inner = this.serviceClient().get(resourceGroupName, accountName, backupName);
- if (inner != null) {
- return new BackupImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String backupName, Context context) {
Response inner =
@@ -61,6 +52,15 @@ public Response getWithResponse(
}
}
+ public Backup get(String resourceGroupName, String accountName, String backupName) {
+ BackupInner inner = this.serviceClient().get(resourceGroupName, accountName, backupName);
+ if (inner != null) {
+ return new BackupImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String accountName, String backupName) {
this.serviceClient().delete(resourceGroupName, accountName, backupName);
}
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 24fb5520004b..73cbff2c60e7 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
@@ -163,6 +163,7 @@ Mono>> renewCredentials(
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("accountName") String accountName,
+ @QueryParam("api-version") String apiVersion,
Context context);
@Headers({"Content-Type: application/json"})
@@ -640,14 +641,16 @@ private Mono getByResourceGroupAsync(String resourceGroupNam
*
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 NetAppAccountInner getByResourceGroup(String resourceGroupName, String accountName) {
- return getByResourceGroupAsync(resourceGroupName, accountName).block();
+ public Response getByResourceGroupWithResponse(
+ String resourceGroupName, String accountName, Context context) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, accountName, context).block();
}
/**
@@ -657,16 +660,14 @@ public NetAppAccountInner getByResourceGroup(String resourceGroupName, String ac
*
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the NetApp account along with {@link Response}.
+ * @return the NetApp account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getByResourceGroupWithResponse(
- String resourceGroupName, String accountName, Context context) {
- return getByResourceGroupWithResponseAsync(resourceGroupName, accountName, context).block();
+ public NetAppAccountInner getByResourceGroup(String resourceGroupName, String accountName) {
+ return getByResourceGroupWithResponse(resourceGroupName, accountName, Context.NONE).getValue();
}
/**
@@ -1525,6 +1526,7 @@ private Mono>> renewCredentialsWithResponseAsync(
this.client.getSubscriptionId(),
resourceGroupName,
accountName,
+ this.client.getApiVersion(),
context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
@@ -1568,7 +1570,12 @@ private Mono>> renewCredentialsWithResponseAsync(
context = this.client.mergeContext(context);
return service
.renewCredentials(
- this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, accountName, context);
+ this.client.getEndpoint(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ accountName,
+ this.client.getApiVersion(),
+ context);
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java
index 6ad43ff830c2..6c0dc6565422 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java
@@ -47,15 +47,6 @@ public PagedIterable listByResourceGroup(String resourceGroupName
return Utils.mapPage(inner, inner1 -> new NetAppAccountImpl(inner1, this.manager()));
}
- public NetAppAccount getByResourceGroup(String resourceGroupName, String accountName) {
- NetAppAccountInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, accountName);
- if (inner != null) {
- return new NetAppAccountImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getByResourceGroupWithResponse(
String resourceGroupName, String accountName, Context context) {
Response inner =
@@ -71,6 +62,15 @@ public Response getByResourceGroupWithResponse(
}
}
+ public NetAppAccount getByResourceGroup(String resourceGroupName, String accountName) {
+ NetAppAccountInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, accountName);
+ if (inner != null) {
+ return new NetAppAccountImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void deleteByResourceGroup(String resourceGroupName, String accountName) {
this.serviceClient().delete(resourceGroupName, accountName);
}
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 ac282d74f99a..62ead63cbcb4 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
@@ -459,14 +459,16 @@ private Mono getAsync(String resourceGroupName, String accoun
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
+ * @param context The context to associate with this operation.
* @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 BackupPolicyInner get(String resourceGroupName, String accountName, String backupPolicyName) {
- return getAsync(resourceGroupName, accountName, backupPolicyName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String backupPolicyName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, backupPolicyName, context).block();
}
/**
@@ -477,16 +479,14 @@ public BackupPolicyInner get(String resourceGroupName, String accountName, Strin
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
- * @param context The context to associate with this operation.
* @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 along with {@link Response}.
+ * @return a particular backup Policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String backupPolicyName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, backupPolicyName, context).block();
+ public BackupPolicyInner get(String resourceGroupName, String accountName, String backupPolicyName) {
+ return getWithResponse(resourceGroupName, accountName, backupPolicyName, Context.NONE).getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesImpl.java
index 8ed1aa144eee..9a7dba4da525 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesImpl.java
@@ -37,15 +37,6 @@ public PagedIterable list(String resourceGroupName, String account
return Utils.mapPage(inner, inner1 -> new BackupPolicyImpl(inner1, this.manager()));
}
- public BackupPolicy get(String resourceGroupName, String accountName, String backupPolicyName) {
- BackupPolicyInner inner = this.serviceClient().get(resourceGroupName, accountName, backupPolicyName);
- if (inner != null) {
- return new BackupPolicyImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String backupPolicyName, Context context) {
Response inner =
@@ -61,6 +52,15 @@ public Response getWithResponse(
}
}
+ public BackupPolicy get(String resourceGroupName, String accountName, String backupPolicyName) {
+ BackupPolicyInner inner = this.serviceClient().get(resourceGroupName, accountName, backupPolicyName);
+ if (inner != null) {
+ return new BackupPolicyImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String accountName, String backupPolicyName) {
this.serviceClient().delete(resourceGroupName, accountName, backupPolicyName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java
index 89a8ef72a75e..abf7fea95352 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java
@@ -342,15 +342,16 @@ private Mono getStatusAsync(
* @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 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)
- public BackupStatusInner getStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName) {
- return getStatusAsync(resourceGroupName, accountName, poolName, volumeName).block();
+ public Response getStatusWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
+ return getStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context).block();
}
/**
@@ -362,16 +363,15 @@ public BackupStatusInner getStatus(
* @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 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 along with {@link Response}.
+ * @return the status of the backup for a volume.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getStatusWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
- return getStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context).block();
+ public BackupStatusInner getStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ return getStatusWithResponse(resourceGroupName, accountName, poolName, volumeName, Context.NONE).getValue();
}
/**
@@ -524,15 +524,17 @@ private Mono getVolumeRestoreStatusAsync(
* @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 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)
- public RestoreStatusInner getVolumeRestoreStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName) {
- return getVolumeRestoreStatusAsync(resourceGroupName, accountName, poolName, volumeName).block();
+ public Response getVolumeRestoreStatusWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
+ return getVolumeRestoreStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context)
+ .block();
}
/**
@@ -544,17 +546,16 @@ public RestoreStatusInner getVolumeRestoreStatus(
* @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 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 along with {@link Response}.
+ * @return the status of the restore for a volume.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getVolumeRestoreStatusWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
- return getVolumeRestoreStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context)
- .block();
+ public RestoreStatusInner getVolumeRestoreStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ return getVolumeRestoreStatusWithResponse(resourceGroupName, accountName, poolName, volumeName, Context.NONE)
+ .getValue();
}
/**
@@ -931,15 +932,21 @@ private Mono getAsync(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param backupName The name of the backup.
+ * @param context The context to associate with this operation.
* @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 of the volume.
+ * @return the specified backup of the volume along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public BackupInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
- return getAsync(resourceGroupName, accountName, poolName, volumeName, backupName).block();
+ public Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String backupName,
+ Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, backupName, context).block();
}
/**
@@ -952,21 +959,16 @@ public BackupInner get(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param backupName The name of the backup.
- * @param context The context to associate with this operation.
* @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 of the volume along with {@link Response}.
+ * @return the specified backup of the volume.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String backupName,
- Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, backupName, context).block();
+ public BackupInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, volumeName, backupName, Context.NONE)
+ .getValue();
}
/**
@@ -1543,6 +1545,33 @@ private PollerFlux, BackupInner> beginUpdateAsync(
mono, this.client.getHttpPipeline(), BackupInner.class, BackupInner.class, this.client.getContext());
}
+ /**
+ * Patch a backup
+ *
+ * Patch a backup for 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 backupName The name of the backup.
+ * @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 {@link PollerFlux} for polling of backup of a Volume.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, BackupInner> beginUpdateAsync(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
+ final BackupPatch body = null;
+ Mono>> mono =
+ updateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, backupName, body);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), BackupInner.class, BackupInner.class, this.client.getContext());
+ }
+
/**
* Patch a backup
*
@@ -1588,7 +1617,6 @@ private PollerFlux, BackupInner> beginUpdateAsync(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param backupName The name of the backup.
- * @param body Backup object supplied in the body of the operation.
* @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.
@@ -1596,12 +1624,8 @@ private PollerFlux, BackupInner> beginUpdateAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, BackupInner> beginUpdate(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String backupName,
- BackupPatch body) {
+ String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
+ final BackupPatch body = null;
return beginUpdateAsync(resourceGroupName, accountName, poolName, volumeName, backupName, body).getSyncPoller();
}
@@ -1719,33 +1743,6 @@ private Mono updateAsync(
.flatMap(this.client::getLroFinalResultOrError);
}
- /**
- * Patch a backup
- *
- * Patch a backup for 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 backupName The name of the backup.
- * @param body Backup object supplied in the body of the operation.
- * @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 of a Volume.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public BackupInner update(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String backupName,
- BackupPatch body) {
- return updateAsync(resourceGroupName, accountName, poolName, volumeName, backupName, body).block();
- }
-
/**
* Patch a backup
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsImpl.java
index 1e170be3bf53..d0f6a579c430 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsImpl.java
@@ -30,15 +30,6 @@ public BackupsImpl(BackupsClient innerClient, com.azure.resourcemanager.netapp.N
this.serviceManager = serviceManager;
}
- public BackupStatus getStatus(String resourceGroupName, String accountName, String poolName, String volumeName) {
- BackupStatusInner inner = this.serviceClient().getStatus(resourceGroupName, accountName, poolName, volumeName);
- if (inner != null) {
- return new BackupStatusImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getStatusWithResponse(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
Response inner =
@@ -54,12 +45,10 @@ public Response getStatusWithResponse(
}
}
- public RestoreStatus getVolumeRestoreStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName) {
- RestoreStatusInner inner =
- this.serviceClient().getVolumeRestoreStatus(resourceGroupName, accountName, poolName, volumeName);
+ public BackupStatus getStatus(String resourceGroupName, String accountName, String poolName, String volumeName) {
+ BackupStatusInner inner = this.serviceClient().getStatus(resourceGroupName, accountName, poolName, volumeName);
if (inner != null) {
- return new RestoreStatusImpl(inner, this.manager());
+ return new BackupStatusImpl(inner, this.manager());
} else {
return null;
}
@@ -82,6 +71,17 @@ public Response getVolumeRestoreStatusWithResponse(
}
}
+ public RestoreStatus getVolumeRestoreStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ RestoreStatusInner inner =
+ this.serviceClient().getVolumeRestoreStatus(resourceGroupName, accountName, poolName, volumeName);
+ if (inner != null) {
+ return new RestoreStatusImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public PagedIterable list(
String resourceGroupName, String accountName, String poolName, String volumeName) {
PagedIterable inner =
@@ -96,16 +96,6 @@ public PagedIterable list(
return Utils.mapPage(inner, inner1 -> new BackupImpl(inner1, this.manager()));
}
- public Backup get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
- BackupInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, backupName);
- if (inner != null) {
- return new BackupImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName,
String accountName,
@@ -128,6 +118,16 @@ public Response getWithResponse(
}
}
+ public Backup get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
+ BackupInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, backupName);
+ if (inner != null) {
+ return new BackupImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(
String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) {
this.serviceClient().delete(resourceGroupName, accountName, poolName, volumeName, backupName);
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java
index 41073e6d330f..fd91623117f9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java
@@ -5,6 +5,7 @@
package com.azure.resourcemanager.netapp.implementation;
import com.azure.core.management.Region;
+import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner;
import com.azure.resourcemanager.netapp.models.AccountEncryption;
@@ -54,6 +55,10 @@ public Identity identity() {
return this.innerModel().identity();
}
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
public String provisioningState() {
return this.innerModel().provisioningState();
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java
index 695b1fa59418..adaebbeda866 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java
@@ -367,14 +367,16 @@ private Mono getAsync(String location, String quotaL
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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)
- public SubscriptionQuotaItemInner get(String location, String quotaLimitName) {
- return getAsync(location, quotaLimitName).block();
+ public Response getWithResponse(
+ String location, String quotaLimitName, Context context) {
+ return getWithResponseAsync(location, quotaLimitName, context).block();
}
/**
@@ -384,15 +386,13 @@ public SubscriptionQuotaItemInner get(String location, String quotaLimitName) {
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the default and current subscription quota limit along with {@link Response}.
+ * @return the default and current subscription quota limit.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String location, String quotaLimitName, Context context) {
- return getWithResponseAsync(location, quotaLimitName, context).block();
+ public SubscriptionQuotaItemInner get(String location, String quotaLimitName) {
+ return getWithResponse(location, quotaLimitName, Context.NONE).getValue();
}
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsImpl.java
index 0d7e1ca3a842..9f0869613f85 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsImpl.java
@@ -38,15 +38,6 @@ public PagedIterable list(String location, Context contex
return Utils.mapPage(inner, inner1 -> new SubscriptionQuotaItemImpl(inner1, this.manager()));
}
- public SubscriptionQuotaItem get(String location, String quotaLimitName) {
- SubscriptionQuotaItemInner inner = this.serviceClient().get(location, quotaLimitName);
- if (inner != null) {
- return new SubscriptionQuotaItemImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(String location, String quotaLimitName, Context context) {
Response inner =
this.serviceClient().getWithResponse(location, quotaLimitName, context);
@@ -61,6 +52,15 @@ public Response getWithResponse(String location, String q
}
}
+ public SubscriptionQuotaItem get(String location, String quotaLimitName) {
+ SubscriptionQuotaItemInner inner = this.serviceClient().get(location, quotaLimitName);
+ if (inner != null) {
+ return new SubscriptionQuotaItemImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
private NetAppResourceQuotaLimitsClient serviceClient() {
return this.innerClient;
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java
index 01e362502983..907051e5b7c3 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java
@@ -237,14 +237,16 @@ private Mono checkNameAvailabilityAsync(
*
* @param location The location.
* @param body Name availability request.
+ * @param context The context to associate with this operation.
* @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 information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CheckAvailabilityResponseInner checkNameAvailability(String location, ResourceNameAvailabilityRequest body) {
- return checkNameAvailabilityAsync(location, body).block();
+ public Response checkNameAvailabilityWithResponse(
+ String location, ResourceNameAvailabilityRequest body, Context context) {
+ return checkNameAvailabilityWithResponseAsync(location, body, context).block();
}
/**
@@ -254,16 +256,14 @@ public CheckAvailabilityResponseInner checkNameAvailability(String location, Res
*
* @param location The location.
* @param body Name availability request.
- * @param context The context to associate with this operation.
* @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 information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response checkNameAvailabilityWithResponse(
- String location, ResourceNameAvailabilityRequest body, Context context) {
- return checkNameAvailabilityWithResponseAsync(location, body, context).block();
+ public CheckAvailabilityResponseInner checkNameAvailability(String location, ResourceNameAvailabilityRequest body) {
+ return checkNameAvailabilityWithResponse(location, body, Context.NONE).getValue();
}
/**
@@ -394,14 +394,16 @@ private Mono checkFilePathAvailabilityAsync(
*
* @param location The location.
* @param body File path availability request.
+ * @param context The context to associate with this operation.
* @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 information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CheckAvailabilityResponseInner checkFilePathAvailability(String location, FilePathAvailabilityRequest body) {
- return checkFilePathAvailabilityAsync(location, body).block();
+ public Response checkFilePathAvailabilityWithResponse(
+ String location, FilePathAvailabilityRequest body, Context context) {
+ return checkFilePathAvailabilityWithResponseAsync(location, body, context).block();
}
/**
@@ -411,16 +413,14 @@ public CheckAvailabilityResponseInner checkFilePathAvailability(String location,
*
* @param location The location.
* @param body File path availability request.
- * @param context The context to associate with this operation.
* @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 information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response checkFilePathAvailabilityWithResponse(
- String location, FilePathAvailabilityRequest body, Context context) {
- return checkFilePathAvailabilityWithResponseAsync(location, body, context).block();
+ public CheckAvailabilityResponseInner checkFilePathAvailability(String location, FilePathAvailabilityRequest body) {
+ return checkFilePathAvailabilityWithResponse(location, body, Context.NONE).getValue();
}
/**
@@ -550,14 +550,16 @@ private Mono checkQuotaAvailabilityAsync(
*
* @param location The location.
* @param body Quota availability request.
+ * @param context The context to associate with this operation.
* @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 information regarding availability of a resource.
+ * @return information regarding availability of a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CheckAvailabilityResponseInner checkQuotaAvailability(String location, QuotaAvailabilityRequest body) {
- return checkQuotaAvailabilityAsync(location, body).block();
+ public Response checkQuotaAvailabilityWithResponse(
+ String location, QuotaAvailabilityRequest body, Context context) {
+ return checkQuotaAvailabilityWithResponseAsync(location, body, context).block();
}
/**
@@ -567,16 +569,14 @@ public CheckAvailabilityResponseInner checkQuotaAvailability(String location, Qu
*
* @param location The location.
* @param body Quota availability request.
- * @param context The context to associate with this operation.
* @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 information regarding availability of a resource along with {@link Response}.
+ * @return information regarding availability of a resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response checkQuotaAvailabilityWithResponse(
- String location, QuotaAvailabilityRequest body, Context context) {
- return checkQuotaAvailabilityWithResponseAsync(location, body, context).block();
+ public CheckAvailabilityResponseInner checkQuotaAvailability(String location, QuotaAvailabilityRequest body) {
+ return checkQuotaAvailabilityWithResponse(location, body, Context.NONE).getValue();
}
/**
@@ -687,14 +687,15 @@ private Mono queryRegionInfoAsync(String location) {
* Provides storage to network proximity and logical zone mapping information.
*
* @param location The location.
+ * @param context The context to associate with this operation.
* @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 provides region specific information.
+ * @return provides region specific information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public RegionInfoInner queryRegionInfo(String location) {
- return queryRegionInfoAsync(location).block();
+ public Response queryRegionInfoWithResponse(String location, Context context) {
+ return queryRegionInfoWithResponseAsync(location, context).block();
}
/**
@@ -703,14 +704,13 @@ public RegionInfoInner queryRegionInfo(String location) {
* Provides storage to network proximity and logical zone mapping information.
*
* @param location The location.
- * @param context The context to associate with this operation.
* @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 provides region specific information along with {@link Response}.
+ * @return provides region specific information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response queryRegionInfoWithResponse(String location, Context context) {
- return queryRegionInfoWithResponseAsync(location, context).block();
+ public RegionInfoInner queryRegionInfo(String location) {
+ return queryRegionInfoWithResponse(location, Context.NONE).getValue();
}
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java
index 38ab975e18c9..282a6de812cc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java
@@ -31,15 +31,6 @@ public NetAppResourcesImpl(
this.serviceManager = serviceManager;
}
- public CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body) {
- CheckAvailabilityResponseInner inner = this.serviceClient().checkNameAvailability(location, body);
- if (inner != null) {
- return new CheckAvailabilityResponseImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response checkNameAvailabilityWithResponse(
String location, ResourceNameAvailabilityRequest body, Context context) {
Response inner =
@@ -55,8 +46,8 @@ public Response checkNameAvailabilityWithResponse(
}
}
- public CheckAvailabilityResponse checkFilePathAvailability(String location, FilePathAvailabilityRequest body) {
- CheckAvailabilityResponseInner inner = this.serviceClient().checkFilePathAvailability(location, body);
+ public CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body) {
+ CheckAvailabilityResponseInner inner = this.serviceClient().checkNameAvailability(location, body);
if (inner != null) {
return new CheckAvailabilityResponseImpl(inner, this.manager());
} else {
@@ -79,8 +70,8 @@ public Response checkFilePathAvailabilityWithResponse
}
}
- public CheckAvailabilityResponse checkQuotaAvailability(String location, QuotaAvailabilityRequest body) {
- CheckAvailabilityResponseInner inner = this.serviceClient().checkQuotaAvailability(location, body);
+ public CheckAvailabilityResponse checkFilePathAvailability(String location, FilePathAvailabilityRequest body) {
+ CheckAvailabilityResponseInner inner = this.serviceClient().checkFilePathAvailability(location, body);
if (inner != null) {
return new CheckAvailabilityResponseImpl(inner, this.manager());
} else {
@@ -103,10 +94,10 @@ public Response checkQuotaAvailabilityWithResponse(
}
}
- public RegionInfo queryRegionInfo(String location) {
- RegionInfoInner inner = this.serviceClient().queryRegionInfo(location);
+ public CheckAvailabilityResponse checkQuotaAvailability(String location, QuotaAvailabilityRequest body) {
+ CheckAvailabilityResponseInner inner = this.serviceClient().checkQuotaAvailability(location, body);
if (inner != null) {
- return new RegionInfoImpl(inner, this.manager());
+ return new CheckAvailabilityResponseImpl(inner, this.manager());
} else {
return null;
}
@@ -125,6 +116,15 @@ public Response queryRegionInfoWithResponse(String location, Context
}
}
+ public RegionInfo queryRegionInfo(String location) {
+ RegionInfoInner inner = this.serviceClient().queryRegionInfo(location);
+ if (inner != null) {
+ return new RegionInfoImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
private NetAppResourcesClient serviceClient() {
return this.innerClient;
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java
index b6b6cb1b0be1..c4551c8f273c 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java
@@ -483,14 +483,16 @@ private Mono getAsync(String resourceGroupName, String accoun
* @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 context The context to associate with this operation.
* @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 details of the specified capacity pool.
+ * @return details of the specified capacity pool along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public CapacityPoolInner get(String resourceGroupName, String accountName, String poolName) {
- return getAsync(resourceGroupName, accountName, poolName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String poolName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, context).block();
}
/**
@@ -501,16 +503,14 @@ public CapacityPoolInner get(String resourceGroupName, String accountName, Strin
* @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 context The context to associate with this operation.
* @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 details of the specified capacity pool along with {@link Response}.
+ * @return details of the specified capacity pool.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String poolName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, context).block();
+ public CapacityPoolInner get(String resourceGroupName, String accountName, String poolName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, Context.NONE).getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsImpl.java
index 184fc6421d7b..cb9280c6f6d8 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsImpl.java
@@ -36,15 +36,6 @@ public PagedIterable list(String resourceGroupName, String account
return Utils.mapPage(inner, inner1 -> new CapacityPoolImpl(inner1, this.manager()));
}
- public CapacityPool get(String resourceGroupName, String accountName, String poolName) {
- CapacityPoolInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName);
- if (inner != null) {
- return new CapacityPoolImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String poolName, Context context) {
Response inner =
@@ -60,6 +51,15 @@ public Response getWithResponse(
}
}
+ public CapacityPool get(String resourceGroupName, String accountName, String poolName) {
+ CapacityPoolInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName);
+ if (inner != null) {
+ return new CapacityPoolImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String accountName, String poolName) {
this.serviceClient().delete(resourceGroupName, accountName, poolName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java
index fb95149c9d99..02146860b4cc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java
@@ -457,14 +457,16 @@ private Mono getAsync(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
+ * @param context The context to associate with this operation.
* @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 snapshot Policy.
+ * @return a snapshot Policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public SnapshotPolicyInner get(String resourceGroupName, String accountName, String snapshotPolicyName) {
- return getAsync(resourceGroupName, accountName, snapshotPolicyName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, context).block();
}
/**
@@ -473,16 +475,14 @@ public SnapshotPolicyInner get(String resourceGroupName, String accountName, Str
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
- * @param context The context to associate with this operation.
* @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 snapshot Policy along with {@link Response}.
+ * @return a snapshot Policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, context).block();
+ public SnapshotPolicyInner get(String resourceGroupName, String accountName, String snapshotPolicyName) {
+ return getWithResponse(resourceGroupName, accountName, snapshotPolicyName, Context.NONE).getValue();
}
/**
@@ -635,15 +635,20 @@ private Mono createAsync(
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
* @param body Snapshot policy 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 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)
- public SnapshotPolicyInner create(
- String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyInner body) {
- return createAsync(resourceGroupName, accountName, snapshotPolicyName, body).block();
+ public Response createWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String snapshotPolicyName,
+ SnapshotPolicyInner body,
+ Context context) {
+ return createWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, body, context).block();
}
/**
@@ -653,20 +658,15 @@ public SnapshotPolicyInner create(
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
* @param body Snapshot policy 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 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 along with {@link Response}.
+ * @return snapshot policy information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response createWithResponse(
- String resourceGroupName,
- String accountName,
- String snapshotPolicyName,
- SnapshotPolicyInner body,
- Context context) {
- return createWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, body, context).block();
+ public SnapshotPolicyInner create(
+ String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyInner body) {
+ return createWithResponse(resourceGroupName, accountName, snapshotPolicyName, body, Context.NONE).getValue();
}
/**
@@ -1367,15 +1367,16 @@ private Mono listVolumesAsync(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
+ * @param context The context to associate with this operation.
* @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 volumes associated with snapshot policy.
+ * @return volumes associated with snapshot policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public SnapshotPolicyVolumeListInner listVolumes(
- String resourceGroupName, String accountName, String snapshotPolicyName) {
- return listVolumesAsync(resourceGroupName, accountName, snapshotPolicyName).block();
+ public Response listVolumesWithResponse(
+ String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
+ return listVolumesWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, context).block();
}
/**
@@ -1386,15 +1387,14 @@ public SnapshotPolicyVolumeListInner listVolumes(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param snapshotPolicyName The name of the snapshot policy.
- * @param context The context to associate with this operation.
* @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 volumes associated with snapshot policy along with {@link Response}.
+ * @return volumes associated with snapshot policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response listVolumesWithResponse(
- String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
- return listVolumesWithResponseAsync(resourceGroupName, accountName, snapshotPolicyName, context).block();
+ public SnapshotPolicyVolumeListInner listVolumes(
+ String resourceGroupName, String accountName, String snapshotPolicyName) {
+ return listVolumesWithResponse(resourceGroupName, accountName, snapshotPolicyName, Context.NONE).getValue();
}
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesImpl.java
index 7850ef99f35b..f17a12eb82d5 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesImpl.java
@@ -39,15 +39,6 @@ public PagedIterable list(String resourceGroupName, String accou
return Utils.mapPage(inner, inner1 -> new SnapshotPolicyImpl(inner1, this.manager()));
}
- public SnapshotPolicy get(String resourceGroupName, String accountName, String snapshotPolicyName) {
- SnapshotPolicyInner inner = this.serviceClient().get(resourceGroupName, accountName, snapshotPolicyName);
- if (inner != null) {
- return new SnapshotPolicyImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
Response inner =
@@ -63,6 +54,15 @@ public Response getWithResponse(
}
}
+ public SnapshotPolicy get(String resourceGroupName, String accountName, String snapshotPolicyName) {
+ SnapshotPolicyInner inner = this.serviceClient().get(resourceGroupName, accountName, snapshotPolicyName);
+ if (inner != null) {
+ return new SnapshotPolicyImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String accountName, String snapshotPolicyName) {
this.serviceClient().delete(resourceGroupName, accountName, snapshotPolicyName);
}
@@ -71,17 +71,6 @@ public void delete(String resourceGroupName, String accountName, String snapshot
this.serviceClient().delete(resourceGroupName, accountName, snapshotPolicyName, context);
}
- public SnapshotPolicyVolumeList listVolumes(
- String resourceGroupName, String accountName, String snapshotPolicyName) {
- SnapshotPolicyVolumeListInner inner =
- this.serviceClient().listVolumes(resourceGroupName, accountName, snapshotPolicyName);
- if (inner != null) {
- return new SnapshotPolicyVolumeListImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response listVolumesWithResponse(
String resourceGroupName, String accountName, String snapshotPolicyName, Context context) {
Response inner =
@@ -97,6 +86,17 @@ public Response listVolumesWithResponse(
}
}
+ public SnapshotPolicyVolumeList listVolumes(
+ String resourceGroupName, String accountName, String snapshotPolicyName) {
+ SnapshotPolicyVolumeListInner inner =
+ this.serviceClient().listVolumes(resourceGroupName, accountName, snapshotPolicyName);
+ if (inner != null) {
+ return new SnapshotPolicyVolumeListImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public SnapshotPolicy getById(String id) {
String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java
index d343ba43cffd..ec9d8dedfb99 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java
@@ -555,15 +555,22 @@ private Mono getAsync(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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)
- public SnapshotInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) {
- return getAsync(resourceGroupName, accountName, poolName, volumeName, snapshotName).block();
+ public Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String snapshotName,
+ Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, snapshotName, context)
+ .block();
}
/**
@@ -576,22 +583,16 @@ public SnapshotInner get(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param snapshotName The name of the snapshot.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 along with {@link Response}.
+ * @return details of the specified snapshot.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String snapshotName,
- Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, snapshotName, context)
- .block();
+ public SnapshotInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, volumeName, snapshotName, Context.NONE)
+ .getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsImpl.java
index b7c632d42aef..41a09b710fe6 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsImpl.java
@@ -42,17 +42,6 @@ public PagedIterable list(
return Utils.mapPage(inner, inner1 -> new SnapshotImpl(inner1, this.manager()));
}
- public Snapshot get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) {
- SnapshotInner inner =
- this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, snapshotName);
- if (inner != null) {
- return new SnapshotImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName,
String accountName,
@@ -75,6 +64,17 @@ public Response getWithResponse(
}
}
+ public Snapshot get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) {
+ SnapshotInner inner =
+ this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, snapshotName);
+ if (inner != null) {
+ return new SnapshotImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public Snapshot update(
String resourceGroupName,
String accountName,
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubscriptionQuotaItemImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubscriptionQuotaItemImpl.java
index 9afda4725120..3960f0d4352b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubscriptionQuotaItemImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubscriptionQuotaItemImpl.java
@@ -4,6 +4,7 @@
package com.azure.resourcemanager.netapp.implementation;
+import com.azure.core.management.SystemData;
import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;
import com.azure.resourcemanager.netapp.models.SubscriptionQuotaItem;
@@ -30,6 +31,10 @@ public String type() {
return this.innerModel().type();
}
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
public Integer current() {
return this.innerModel().current();
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java
index d1278cba29e6..4463ac328ffb 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java
@@ -579,15 +579,22 @@ private Mono getAsync(
* @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 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.
+ * @return subvolume Information properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public SubvolumeInfoInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) {
- return getAsync(resourceGroupName, accountName, poolName, volumeName, subvolumeName).block();
+ public Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String subvolumeName,
+ Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, subvolumeName, context)
+ .block();
}
/**
@@ -600,22 +607,16 @@ public SubvolumeInfoInner get(
* @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 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}.
+ * @return subvolume Information properties.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String subvolumeName,
- Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, subvolumeName, context)
- .block();
+ public SubvolumeInfoInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, volumeName, subvolumeName, Context.NONE)
+ .getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesImpl.java
index d5ed31cd0d17..bebea0d77813 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesImpl.java
@@ -43,17 +43,6 @@ public PagedIterable listByVolume(
return Utils.mapPage(inner, inner1 -> new SubvolumeInfoImpl(inner1, this.manager()));
}
- public SubvolumeInfo get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) {
- SubvolumeInfoInner inner =
- this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, subvolumeName);
- if (inner != null) {
- return new SubvolumeInfoImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName,
String accountName,
@@ -76,6 +65,17 @@ public Response getWithResponse(
}
}
+ public SubvolumeInfo get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) {
+ SubvolumeInfoInner inner =
+ this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, subvolumeName);
+ if (inner != null) {
+ return new SubvolumeInfoImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(
String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName) {
this.serviceClient().delete(resourceGroupName, accountName, poolName, volumeName, subvolumeName);
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java
index 716a4dcc5b74..74fcf31657cc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java
@@ -447,14 +447,16 @@ private Mono getAsync(
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param volumeGroupName The name of the volumeGroup.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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)
- public VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName) {
- return getAsync(resourceGroupName, accountName, volumeGroupName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String volumeGroupName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, volumeGroupName, context).block();
}
/**
@@ -465,16 +467,14 @@ public VolumeGroupDetailsInner get(String resourceGroupName, String accountName,
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param volumeGroupName The name of the volumeGroup.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws 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 along with {@link Response}.
+ * @return details of the specified volume group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String volumeGroupName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, volumeGroupName, context).block();
+ public VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName) {
+ return getWithResponse(resourceGroupName, accountName, volumeGroupName, Context.NONE).getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsImpl.java
index 59cf36c16030..e77b6ef18517 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsImpl.java
@@ -42,15 +42,6 @@ public PagedIterable listByNetAppAccount(
return Utils.mapPage(inner, inner1 -> new VolumeGroupImpl(inner1, this.manager()));
}
- public VolumeGroupDetails get(String resourceGroupName, String accountName, String volumeGroupName) {
- VolumeGroupDetailsInner inner = this.serviceClient().get(resourceGroupName, accountName, volumeGroupName);
- if (inner != null) {
- return new VolumeGroupDetailsImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String volumeGroupName, Context context) {
Response inner =
@@ -66,6 +57,15 @@ public Response getWithResponse(
}
}
+ public VolumeGroupDetails get(String resourceGroupName, String accountName, String volumeGroupName) {
+ VolumeGroupDetailsInner inner = this.serviceClient().get(resourceGroupName, accountName, volumeGroupName);
+ if (inner != null) {
+ return new VolumeGroupDetailsImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(String resourceGroupName, String accountName, String volumeGroupName) {
this.serviceClient().delete(resourceGroupName, accountName, volumeGroupName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java
index 2a155feba609..40544750eb65 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java
@@ -416,10 +416,6 @@ public void resetCifsPassword(Context context) {
serviceManager.volumes().resetCifsPassword(resourceGroupName, accountName, poolName, volumeName, context);
}
- public void breakReplication(BreakReplicationRequest body) {
- serviceManager.volumes().breakReplication(resourceGroupName, accountName, poolName, volumeName, body);
- }
-
public void breakReplication() {
serviceManager.volumes().breakReplication(resourceGroupName, accountName, poolName, volumeName);
}
@@ -488,10 +484,6 @@ public void poolChange(PoolChangeRequest body, Context context) {
serviceManager.volumes().poolChange(resourceGroupName, accountName, poolName, volumeName, body, context);
}
- public void relocate(RelocateVolumeRequest body) {
- serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName, body);
- }
-
public void relocate() {
serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java
index 2302baf0243b..75ed34038be4 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java
@@ -537,15 +537,22 @@ private Mono getAsync(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param volumeQuotaRuleName The name of volume quota rule.
+ * @param context The context to associate with this operation.
* @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 details of the specified quota rule.
+ * @return details of the specified quota rule along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public VolumeQuotaRuleInner get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) {
- return getAsync(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName).block();
+ public Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String poolName,
+ String volumeName,
+ String volumeQuotaRuleName,
+ Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName, context)
+ .block();
}
/**
@@ -558,22 +565,16 @@ public VolumeQuotaRuleInner get(
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
* @param volumeQuotaRuleName The name of volume quota rule.
- * @param context The context to associate with this operation.
* @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 details of the specified quota rule along with {@link Response}.
+ * @return details of the specified quota rule.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- String volumeQuotaRuleName,
- Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName, context)
- .block();
+ public VolumeQuotaRuleInner get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName, Context.NONE)
+ .getValue();
}
/**
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesImpl.java
index a529136f59e0..f9a7d722283a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesImpl.java
@@ -41,17 +41,6 @@ public PagedIterable listByVolume(
return Utils.mapPage(inner, inner1 -> new VolumeQuotaRuleImpl(inner1, this.manager()));
}
- public VolumeQuotaRule get(
- String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) {
- VolumeQuotaRuleInner inner =
- this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName);
- if (inner != null) {
- return new VolumeQuotaRuleImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName,
String accountName,
@@ -74,6 +63,17 @@ public Response getWithResponse(
}
}
+ public VolumeQuotaRule get(
+ String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) {
+ VolumeQuotaRuleInner inner =
+ this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName);
+ if (inner != null) {
+ return new VolumeQuotaRuleImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public void delete(
String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) {
this.serviceClient().delete(resourceGroupName, accountName, poolName, volumeName, volumeQuotaRuleName);
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java
index 0f5693b3e716..6d2d1d6d5602 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java
@@ -758,14 +758,16 @@ private Mono getAsync(
* @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 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)
- public VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName) {
- return getAsync(resourceGroupName, accountName, poolName, volumeName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context).block();
}
/**
@@ -777,16 +779,14 @@ public VolumeInner get(String resourceGroupName, String accountName, String pool
* @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 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 along with {@link Response}.
+ * @return the details of the specified volume.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context).block();
+ public VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName) {
+ return getWithResponse(resourceGroupName, accountName, poolName, volumeName, Context.NONE).getValue();
}
/**
@@ -1630,6 +1630,32 @@ private PollerFlux, Void> beginDeleteAsync(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}
+ /**
+ * Delete a volume
+ *
+ * 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.
+ * @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 {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginDeleteAsync(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final Boolean forceDelete = null;
+ Mono>> mono =
+ deleteWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, forceDelete);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
+ }
+
/**
* Delete a volume
*
@@ -1672,8 +1698,6 @@ private PollerFlux, Void> beginDeleteAsync(
* @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 ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1681,7 +1705,8 @@ private PollerFlux, Void> beginDeleteAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginDelete(
- String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete) {
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final Boolean forceDelete = null;
return beginDeleteAsync(resourceGroupName, accountName, poolName, volumeName, forceDelete).getSyncPoller();
}
@@ -1790,27 +1815,6 @@ private Mono deleteAsync(
.flatMap(this.client::getLroFinalResultOrError);
}
- /**
- * Delete a volume
- *
- * 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 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)
- public void delete(
- String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete) {
- deleteAsync(resourceGroupName, accountName, poolName, volumeName, forceDelete).block();
- }
-
/**
* Delete a volume
*
@@ -2647,6 +2651,32 @@ private PollerFlux, Void> beginBreakReplicationAsync(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}
+ /**
+ * Break volume replication
+ *
+ * Break the replication connection on the destination 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 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 PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginBreakReplicationAsync(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final BreakReplicationRequest body = null;
+ Mono>> mono =
+ breakReplicationWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, body);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
+ }
+
/**
* Break volume replication
*
@@ -2688,7 +2718,6 @@ private PollerFlux, Void> beginBreakReplicationAsync(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param body Optional body to force break the replication.
* @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.
@@ -2696,11 +2725,8 @@ private PollerFlux, Void> beginBreakReplicationAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginBreakReplication(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- BreakReplicationRequest body) {
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final BreakReplicationRequest body = null;
return beginBreakReplicationAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller();
}
@@ -2811,30 +2837,6 @@ private Mono breakReplicationAsync(
.flatMap(this.client::getLroFinalResultOrError);
}
- /**
- * Break volume replication
- *
- * Break the replication connection on the destination 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 body Optional body to force break the replication.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public void breakReplication(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- BreakReplicationRequest body) {
- breakReplicationAsync(resourceGroupName, accountName, poolName, volumeName, body).block();
- }
-
/**
* Break volume replication
*
@@ -3398,15 +3400,17 @@ private Mono replicationStatusAsync(
* @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 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)
- public ReplicationStatusInner replicationStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName) {
- return replicationStatusAsync(resourceGroupName, accountName, poolName, volumeName).block();
+ public Response replicationStatusWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
+ return replicationStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context)
+ .block();
}
/**
@@ -3418,17 +3422,16 @@ public ReplicationStatusInner replicationStatus(
* @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 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 along with {@link Response}.
+ * @return the status of the replication.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response replicationStatusWithResponse(
- String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
- return replicationStatusWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context)
- .block();
+ public ReplicationStatusInner replicationStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ return replicationStatusWithResponse(resourceGroupName, accountName, poolName, volumeName, Context.NONE)
+ .getValue();
}
/**
@@ -5355,6 +5358,32 @@ private PollerFlux, Void> beginRelocateAsync(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}
+ /**
+ * Relocate volume
+ *
+ * Relocates volume to a new stamp.
+ *
+ * @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 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 PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginRelocateAsync(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final RelocateVolumeRequest body = null;
+ Mono>> mono =
+ relocateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, body);
+ return this
+ .client
+ .getLroResult(
+ mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
+ }
+
/**
* Relocate volume
*
@@ -5396,7 +5425,6 @@ private PollerFlux, Void> beginRelocateAsync(
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param body Relocate volume request.
* @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.
@@ -5404,7 +5432,8 @@ private PollerFlux, Void> beginRelocateAsync(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, Void> beginRelocate(
- String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) {
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ final RelocateVolumeRequest body = null;
return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller();
}
@@ -5509,26 +5538,6 @@ private Mono relocateAsync(
.flatMap(this.client::getLroFinalResultOrError);
}
- /**
- * Relocate volume
- *
- * Relocates volume to a new stamp.
- *
- * @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 body Relocate volume request.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public void relocate(
- String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) {
- relocateAsync(resourceGroupName, accountName, poolName, volumeName, body).block();
- }
-
/**
* Relocate volume
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java
index db1bf029cf16..4f744d19aaaa 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java
@@ -46,15 +46,6 @@ public PagedIterable list(String resourceGroupName, String accountName,
return Utils.mapPage(inner, inner1 -> new VolumeImpl(inner1, this.manager()));
}
- public Volume get(String resourceGroupName, String accountName, String poolName, String volumeName) {
- VolumeInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName);
- if (inner != null) {
- return new VolumeImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
Response inner =
@@ -70,9 +61,13 @@ public Response getWithResponse(
}
}
- public void delete(
- String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete) {
- this.serviceClient().delete(resourceGroupName, accountName, poolName, volumeName, forceDelete);
+ public Volume get(String resourceGroupName, String accountName, String poolName, String volumeName) {
+ VolumeInner inner = this.serviceClient().get(resourceGroupName, accountName, poolName, volumeName);
+ if (inner != null) {
+ return new VolumeImpl(inner, this.manager());
+ } else {
+ return null;
+ }
}
public void delete(String resourceGroupName, String accountName, String poolName, String volumeName) {
@@ -113,15 +108,6 @@ public void resetCifsPassword(
this.serviceClient().resetCifsPassword(resourceGroupName, accountName, poolName, volumeName, context);
}
- public void breakReplication(
- String resourceGroupName,
- String accountName,
- String poolName,
- String volumeName,
- BreakReplicationRequest body) {
- this.serviceClient().breakReplication(resourceGroupName, accountName, poolName, volumeName, body);
- }
-
public void breakReplication(String resourceGroupName, String accountName, String poolName, String volumeName) {
this.serviceClient().breakReplication(resourceGroupName, accountName, poolName, volumeName);
}
@@ -157,17 +143,6 @@ public void reestablishReplication(
.reestablishReplication(resourceGroupName, accountName, poolName, volumeName, body, context);
}
- public ReplicationStatus replicationStatus(
- String resourceGroupName, String accountName, String poolName, String volumeName) {
- ReplicationStatusInner inner =
- this.serviceClient().replicationStatus(resourceGroupName, accountName, poolName, volumeName);
- if (inner != null) {
- return new ReplicationStatusImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response replicationStatusWithResponse(
String resourceGroupName, String accountName, String poolName, String volumeName, Context context) {
Response inner =
@@ -185,6 +160,17 @@ public Response replicationStatusWithResponse(
}
}
+ public ReplicationStatus replicationStatus(
+ String resourceGroupName, String accountName, String poolName, String volumeName) {
+ ReplicationStatusInner inner =
+ this.serviceClient().replicationStatus(resourceGroupName, accountName, poolName, volumeName);
+ if (inner != null) {
+ return new ReplicationStatusImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public PagedIterable listReplications(
String resourceGroupName, String accountName, String poolName, String volumeName) {
PagedIterable inner =
@@ -257,11 +243,6 @@ public void poolChange(
this.serviceClient().poolChange(resourceGroupName, accountName, poolName, volumeName, body, context);
}
- public void relocate(
- String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) {
- this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName, body);
- }
-
public void relocate(String resourceGroupName, String accountName, String poolName, String volumeName) {
this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName);
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java
index 1f9e89da929e..ba345637d9ef 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java
@@ -47,12 +47,13 @@ public interface AccountBackups {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupName The name of the backup.
+ * @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 specified backup for a Netapp Account.
+ * @return the specified backup for a Netapp Account along with {@link Response}.
*/
- Backup get(String resourceGroupName, String accountName, String backupName);
+ Response getWithResponse(String resourceGroupName, String accountName, String backupName, Context context);
/**
* Get Backup for a Netapp Account
@@ -62,13 +63,12 @@ public interface AccountBackups {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupName The name of the backup.
- * @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 specified backup for a Netapp Account along with {@link Response}.
+ * @return the specified backup for a Netapp Account.
*/
- Response getWithResponse(String resourceGroupName, String accountName, String backupName, Context context);
+ Backup get(String resourceGroupName, String accountName, String backupName);
/**
* Delete Backup for a Netapp Account
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java
index 8181150db722..740ac1053d1c 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java
@@ -28,6 +28,10 @@ public final class AccountEncryption {
@JsonProperty(value = "identity")
private EncryptionIdentity identity;
+ /** Creates an instance of AccountEncryption class. */
+ public AccountEncryption() {
+ }
+
/**
* Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive):
* Microsoft.NetApp, Microsoft.KeyVault.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java
index b35518c3af6c..49c4e95d0b3d 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java
@@ -68,12 +68,14 @@ public interface Accounts {
*
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the NetApp account.
+ * @return the NetApp account along with {@link Response}.
*/
- NetAppAccount getByResourceGroup(String resourceGroupName, String accountName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String accountName, Context context);
/**
* Describe a NetApp Account
@@ -82,14 +84,12 @@ public interface Accounts {
*
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the NetApp account along with {@link Response}.
+ * @return the NetApp account.
*/
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String accountName, Context context);
+ NetAppAccount getByResourceGroup(String resourceGroupName, String accountName);
/**
* Delete a NetApp account
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java
index 509cece615d7..3ef81aa8da72 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java
@@ -150,6 +150,10 @@ public final class ActiveDirectory {
@JsonProperty(value = "ldapSearchScope")
private LdapSearchScopeOpt ldapSearchScope;
+ /** Creates an instance of ActiveDirectory class. */
+ public ActiveDirectory() {
+ }
+
/**
* Get the activeDirectoryId property: Id of the Active Directory.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AuthorizeRequest.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AuthorizeRequest.java
index 014c4f46ee58..8df4ad87c090 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AuthorizeRequest.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AuthorizeRequest.java
@@ -16,6 +16,10 @@ public final class AuthorizeRequest {
@JsonProperty(value = "remoteVolumeResourceId")
private String remoteVolumeResourceId;
+ /** Creates an instance of AuthorizeRequest class. */
+ public AuthorizeRequest() {
+ }
+
/**
* Get the remoteVolumeResourceId property: Resource id of the remote volume.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java
index 7d2cf94b0811..ceaab0b68462 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java
@@ -27,6 +27,10 @@ public final class BackupPatch {
@JsonProperty(value = "properties")
private BackupProperties innerProperties;
+ /** Creates an instance of BackupPatch class. */
+ public BackupPatch() {
+ }
+
/**
* Get the tags property: Resource tags.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java
index 4c1d6763e432..eb74a4ce4b61 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java
@@ -47,12 +47,14 @@ public interface BackupPolicies {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a particular backup Policy.
+ * @return a particular backup Policy along with {@link Response}.
*/
- BackupPolicy get(String resourceGroupName, String accountName, String backupPolicyName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String backupPolicyName, Context context);
/**
* Get a backup Policy
@@ -62,14 +64,12 @@ public interface BackupPolicies {
* @param resourceGroupName The name of the resource group.
* @param accountName The name of the NetApp account.
* @param backupPolicyName Backup policy Name which uniquely identify backup policy.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a particular backup Policy along with {@link Response}.
+ * @return a particular backup Policy.
*/
- Response getWithResponse(
- String resourceGroupName, String accountName, String backupPolicyName, Context context);
+ BackupPolicy get(String resourceGroupName, String accountName, String backupPolicyName);
/**
* Delete a backup policy
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPoliciesList.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPoliciesList.java
index 85136b4b6be5..ea183dd7e6dc 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPoliciesList.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPoliciesList.java
@@ -18,6 +18,10 @@ public final class BackupPoliciesList {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of BackupPoliciesList class. */
+ public BackupPoliciesList() {
+ }
+
/**
* Get the value property: A list of backup policies.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicyPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicyPatch.java
index cbd70c629637..4284e807afd6 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicyPatch.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicyPatch.java
@@ -20,6 +20,10 @@ public final class BackupPolicyPatch extends Resource {
@JsonProperty(value = "properties")
private BackupPolicyProperties innerProperties;
+ /** Creates an instance of BackupPolicyPatch class. */
+ public BackupPolicyPatch() {
+ }
+
/**
* Get the innerProperties property: Backup policy Properties.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java
index 11d0b685d1ba..a6f0ff4bf7e1 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java
@@ -19,12 +19,14 @@ public interface Backups {
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of the backup for a volume.
+ * @return the status of the backup for a volume along with {@link Response}.
*/
- BackupStatus getStatus(String resourceGroupName, String accountName, String poolName, String volumeName);
+ Response getStatusWithResponse(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
/**
* Get volume's backup status
@@ -35,14 +37,12 @@ public interface Backups {
* @param accountName The name of the NetApp account.
* @param poolName The name of the capacity pool.
* @param volumeName The name of the volume.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of the backup for a volume along with {@link Response}.
+ * @return the status of the backup for a volume.
*/
- Response