diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md index a306d36c5e54c..a5e5be92a288d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md +++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.7 (Unreleased) +## 1.0.0-beta.1 (2021-10-13) + +- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2021-06-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md index 8555f85bc964b..8d6abaaf9990d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/README.md +++ b/sdk/netapp/azure-resourcemanager-netapp/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-netapp - 1.0.0-beta.6 + 1.0.0-beta.7 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java index e7072dbe099b6..c0e04d246d307 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java @@ -214,7 +214,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.netapp") .append("/") - .append("1.0.0-beta.6"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java index 1cc9a2256b037..e8e6f27fac636 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java @@ -83,7 +83,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupName); /** @@ -98,7 +98,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupName, Context context); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java index 837c6d7b6f8ae..983803ff4286a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java @@ -102,7 +102,7 @@ Response getByResourceGroupWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetAppAccountInner> beginCreateOrUpdate( String resourceGroupName, String accountName, NetAppAccountInner body); @@ -118,7 +118,7 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetAppAccountInner> beginCreateOrUpdate( String resourceGroupName, String accountName, NetAppAccountInner body, Context context); @@ -162,7 +162,7 @@ NetAppAccountInner createOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete(String resourceGroupName, String accountName); /** @@ -176,7 +176,7 @@ NetAppAccountInner createOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context); /** @@ -215,7 +215,7 @@ NetAppAccountInner createOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body); @@ -231,7 +231,7 @@ SyncPoller, NetAppAccountInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body, Context context); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java index 8b03fb87707f0..22a37ebfac990 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java @@ -85,7 +85,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body); @@ -102,7 +102,7 @@ SyncPoller, BackupPolicyInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body, Context context); @@ -151,7 +151,7 @@ BackupPolicyInner create( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body); @@ -168,7 +168,7 @@ SyncPoller, BackupPolicyInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body, Context context); @@ -216,7 +216,7 @@ BackupPolicyInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName); @@ -232,7 +232,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName, Context context); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java index 8365782a0ca6e..7315362cba49f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java @@ -169,7 +169,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupInner> beginCreate( String resourceGroupName, String accountName, @@ -193,7 +193,7 @@ SyncPoller, BackupInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupInner> beginCreate( String resourceGroupName, String accountName, @@ -265,7 +265,7 @@ BackupInner create( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupInner> beginUpdate( String resourceGroupName, String accountName, @@ -289,7 +289,7 @@ SyncPoller, BackupInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BackupInner> beginUpdate( String resourceGroupName, String accountName, @@ -377,7 +377,7 @@ BackupInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); @@ -395,7 +395,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java index d01a83d6b3a9d..9cf02121a0892 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java @@ -85,7 +85,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, CapacityPoolInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body); @@ -102,7 +102,7 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, CapacityPoolInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context); @@ -151,7 +151,7 @@ CapacityPoolInner createOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body); @@ -168,7 +168,7 @@ SyncPoller, CapacityPoolInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context); @@ -215,7 +215,7 @@ CapacityPoolInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName); /** @@ -230,7 +230,7 @@ CapacityPoolInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, Context context); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java index db35e9b551925..2a2cb79317a7b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java @@ -123,7 +123,7 @@ Response createWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotPolicyInner> beginUpdate( String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyPatch body); @@ -140,7 +140,7 @@ SyncPoller, SnapshotPolicyInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotPolicyInner> beginUpdate( String resourceGroupName, String accountName, @@ -196,7 +196,7 @@ SnapshotPolicyInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String snapshotPolicyName); @@ -212,7 +212,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String snapshotPolicyName, Context context); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java index 282ad0364ed76..01063b085d242 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java @@ -101,7 +101,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotInner> beginCreate( String resourceGroupName, String accountName, @@ -125,7 +125,7 @@ SyncPoller, SnapshotInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotInner> beginCreate( String resourceGroupName, String accountName, @@ -197,7 +197,7 @@ SnapshotInner create( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotInner> beginUpdate( String resourceGroupName, String accountName, @@ -221,7 +221,7 @@ SyncPoller, SnapshotInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, SnapshotInner> beginUpdate( String resourceGroupName, String accountName, @@ -292,7 +292,7 @@ SnapshotInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); @@ -310,7 +310,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java index a847c28d72191..6b6ec426d65b0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java @@ -95,7 +95,7 @@ Response getWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VolumeInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body); @@ -113,7 +113,7 @@ SyncPoller, VolumeInner> beginCreateOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VolumeInner> beginCreateOrUpdate( String resourceGroupName, String accountName, @@ -175,7 +175,7 @@ VolumeInner createOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VolumeInner> beginUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body); @@ -193,7 +193,7 @@ SyncPoller, VolumeInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VolumeInner> beginUpdate( String resourceGroupName, String accountName, @@ -254,7 +254,7 @@ VolumeInner update( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName); @@ -271,7 +271,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); @@ -317,7 +317,7 @@ SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginRevert( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body); @@ -335,7 +335,7 @@ SyncPoller, Void> beginRevert( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginRevert( String resourceGroupName, String accountName, @@ -394,7 +394,7 @@ void revert( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginBreakReplication( String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body); @@ -412,7 +412,7 @@ SyncPoller, Void> beginBreakReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginBreakReplication( String resourceGroupName, String accountName, @@ -519,7 +519,7 @@ Response replicationStatusWithResponse( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName); @@ -537,7 +537,7 @@ SyncPoller, Void> beginResyncReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); @@ -585,7 +585,7 @@ void resyncReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName); @@ -602,7 +602,7 @@ SyncPoller, Void> beginDeleteReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); @@ -649,7 +649,7 @@ void deleteReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginAuthorizeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body); @@ -667,7 +667,7 @@ SyncPoller, Void> beginAuthorizeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginAuthorizeReplication( String resourceGroupName, String accountName, @@ -726,7 +726,7 @@ void authorizeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName); @@ -743,7 +743,7 @@ SyncPoller, Void> beginReInitializeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); @@ -790,7 +790,7 @@ void reInitializeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginPoolChange( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body); @@ -808,7 +808,7 @@ SyncPoller, Void> beginPoolChange( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginPoolChange( String resourceGroupName, String accountName, diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubscriptionQuotaItemInner.java index 0c45f8a468b81..50bfde34117e4 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 @@ -46,15 +46,6 @@ public SystemData systemData() { return this.systemData; } - /** - * Get the name property: Quota Item name. - * - * @return the name value. - */ - public String namePropertiesName() { - return this.innerProperties() == null ? null : this.innerProperties().name(); - } - /** * 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 7662aa414f972..b6d4675311652 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 @@ -14,12 +14,6 @@ public final class SubscriptionQuotaItemProperties { @JsonIgnore private final ClientLogger logger = new ClientLogger(SubscriptionQuotaItemProperties.class); - /* - * Quota Item name - */ - @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) - private String name; - /* * The current quota value. */ @@ -32,15 +26,6 @@ public final class SubscriptionQuotaItemProperties { @JsonProperty(value = "default", access = JsonProperty.Access.WRITE_ONLY) private Integer defaultProperty; - /** - * Get the name property: Quota Item name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - /** * 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/VolumeInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java index ba39628675666..5749e288b9c0f 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 @@ -536,7 +536,8 @@ public VolumeInner withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable } /** - * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @return the throughputMibps value. */ @@ -545,7 +546,8 @@ public Float throughputMibps() { } /** - * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @param throughputMibps the throughputMibps value to set. * @return the VolumeInner object itself. 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 0466b061aa8df..b3aabd2251ae9 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 @@ -38,7 +38,8 @@ public final class VolumePatchProperties { private VolumePatchPropertiesExportPolicy exportPolicy; /* - * Maximum throughput in Mibps that can be achieved by this volume + * Maximum throughput in Mibps that can be achieved by this volume and this + * will be accepted as input only for manual qosType volume */ @JsonProperty(value = "throughputMibps") private Float throughputMibps; @@ -133,7 +134,8 @@ public VolumePatchProperties withExportPolicy(VolumePatchPropertiesExportPolicy } /** - * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @return the throughputMibps value. */ @@ -142,7 +144,8 @@ public Float throughputMibps() { } /** - * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @param throughputMibps the throughputMibps value to set. * @return the VolumePatchProperties object itself. 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 1d77e38f61a04..637d0919312b8 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 @@ -179,7 +179,8 @@ public final class VolumeProperties { private Boolean smbContinuouslyAvailable; /* - * Maximum throughput in Mibps that can be achieved by this volume + * Maximum throughput in Mibps that can be achieved by this volume and this + * will be accepted as input only for manual qosType volume */ @JsonProperty(value = "throughputMibps") private Float throughputMibps; @@ -674,7 +675,8 @@ public VolumeProperties withSmbContinuouslyAvailable(Boolean smbContinuouslyAvai } /** - * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @return the throughputMibps value. */ @@ -683,7 +685,8 @@ public Float throughputMibps() { } /** - * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @param throughputMibps the throughputMibps value to set. * @return the VolumeProperties object itself. 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 25a750b1ad61b..3748485ba13f4 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 @@ -548,7 +548,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String backupName) { Mono>> mono = deleteWithResponseAsync(resourceGroupName, accountName, backupName); @@ -569,7 +569,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String backupName, Context context) { context = this.client.mergeContext(context); @@ -591,7 +591,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupName) { return beginDeleteAsync(resourceGroupName, accountName, backupName).getSyncPoller(); @@ -609,7 +609,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, backupName, context).getSyncPoller(); 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 18ad24f3fe9bd..a2e0ae5bdac1b 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 @@ -746,7 +746,7 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetAppAccountInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, NetAppAccountInner body) { Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, accountName, body); @@ -768,7 +768,7 @@ private PollerFlux, NetAppAccountInner> beginCrea * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetAppAccountInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, NetAppAccountInner body, Context context) { context = this.client.mergeContext(context); @@ -791,7 +791,7 @@ private PollerFlux, NetAppAccountInner> beginCrea * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetAppAccountInner> beginCreateOrUpdate( String resourceGroupName, String accountName, NetAppAccountInner body) { return beginCreateOrUpdateAsync(resourceGroupName, accountName, body).getSyncPoller(); @@ -809,7 +809,7 @@ public SyncPoller, NetAppAccountInner> beginCreat * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetAppAccountInner> beginCreateOrUpdate( String resourceGroupName, String accountName, NetAppAccountInner body, Context context) { return beginCreateOrUpdateAsync(resourceGroupName, accountName, body, context).getSyncPoller(); @@ -987,7 +987,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String accountName) { Mono>> mono = deleteWithResponseAsync(resourceGroupName, accountName); return this @@ -1006,7 +1006,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, Context context) { context = this.client.mergeContext(context); @@ -1026,7 +1026,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete(String resourceGroupName, String accountName) { return beginDeleteAsync(resourceGroupName, accountName).getSyncPoller(); } @@ -1042,7 +1042,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, context).getSyncPoller(); @@ -1229,7 +1229,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetAppAccountInner> beginUpdateAsync( String resourceGroupName, String accountName, NetAppAccountPatch body) { Mono>> mono = updateWithResponseAsync(resourceGroupName, accountName, body); @@ -1251,7 +1251,7 @@ private PollerFlux, NetAppAccountInner> beginUpda * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetAppAccountInner> beginUpdateAsync( String resourceGroupName, String accountName, NetAppAccountPatch body, Context context) { context = this.client.mergeContext(context); @@ -1273,7 +1273,7 @@ private PollerFlux, NetAppAccountInner> beginUpda * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body) { return beginUpdateAsync(resourceGroupName, accountName, body).getSyncPoller(); @@ -1291,7 +1291,7 @@ public SyncPoller, NetAppAccountInner> beginUpdat * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return netApp account resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body, Context context) { return beginUpdateAsync(resourceGroupName, accountName, body, context).getSyncPoller(); 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 b5710d52ad1d9..808d496706625 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 @@ -613,7 +613,7 @@ private Mono>> createWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupPolicyInner> beginCreateAsync( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body) { Mono>> mono = @@ -637,7 +637,7 @@ private PollerFlux, BackupPolicyInner> beginCreate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupPolicyInner> beginCreateAsync( String resourceGroupName, String accountName, @@ -665,7 +665,7 @@ private PollerFlux, BackupPolicyInner> beginCreate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body) { return beginCreateAsync(resourceGroupName, accountName, backupPolicyName, body).getSyncPoller(); @@ -684,7 +684,7 @@ public SyncPoller, BackupPolicyInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, @@ -916,7 +916,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupPolicyInner> beginUpdateAsync( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body) { Mono>> mono = @@ -940,7 +940,7 @@ private PollerFlux, BackupPolicyInner> beginUpdate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupPolicyInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -968,7 +968,7 @@ private PollerFlux, BackupPolicyInner> beginUpdate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body) { return beginUpdateAsync(resourceGroupName, accountName, backupPolicyName, body).getSyncPoller(); @@ -987,7 +987,7 @@ public SyncPoller, BackupPolicyInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, @@ -1196,7 +1196,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String backupPolicyName) { Mono>> mono = @@ -1218,7 +1218,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String backupPolicyName, Context context) { context = this.client.mergeContext(context); @@ -1240,7 +1240,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName) { return beginDeleteAsync(resourceGroupName, accountName, backupPolicyName).getSyncPoller(); @@ -1258,7 +1258,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, backupPolicyName, context).getSyncPoller(); 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 38085556edfe3..c88f6658d1991 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 @@ -1110,7 +1110,7 @@ private Mono>> createWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupInner> beginCreateAsync( String resourceGroupName, String accountName, @@ -1141,7 +1141,7 @@ private PollerFlux, BackupInner> beginCreateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupInner> beginCreateAsync( String resourceGroupName, String accountName, @@ -1173,7 +1173,7 @@ private PollerFlux, BackupInner> beginCreateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupInner> beginCreate( String resourceGroupName, String accountName, @@ -1199,7 +1199,7 @@ public SyncPoller, BackupInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupInner> beginCreate( String resourceGroupName, String accountName, @@ -1479,7 +1479,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -1510,7 +1510,7 @@ private PollerFlux, BackupInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BackupInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -1542,7 +1542,7 @@ private PollerFlux, BackupInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupInner> beginUpdate( String resourceGroupName, String accountName, @@ -1568,7 +1568,7 @@ public SyncPoller, BackupInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return backup of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BackupInner> beginUpdate( String resourceGroupName, String accountName, @@ -1869,7 +1869,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) { Mono>> mono = @@ -1893,7 +1893,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, @@ -1922,7 +1922,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName) { return beginDeleteAsync(resourceGroupName, accountName, poolName, volumeName, backupName).getSyncPoller(); @@ -1942,7 +1942,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, 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 435bfed7cce34..c0d718d5278c0 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 @@ -627,7 +627,7 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, CapacityPoolInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) { Mono>> mono = @@ -651,7 +651,7 @@ private PollerFlux, CapacityPoolInner> beginCreate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, CapacityPoolInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context) { context = this.client.mergeContext(context); @@ -675,7 +675,7 @@ private PollerFlux, CapacityPoolInner> beginCreate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CapacityPoolInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) { return beginCreateOrUpdateAsync(resourceGroupName, accountName, poolName, body).getSyncPoller(); @@ -694,7 +694,7 @@ public SyncPoller, CapacityPoolInner> beginCreateO * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CapacityPoolInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context) { return beginCreateOrUpdateAsync(resourceGroupName, accountName, poolName, body, context).getSyncPoller(); @@ -908,7 +908,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, CapacityPoolInner> beginUpdateAsync( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) { Mono>> mono = updateWithResponseAsync(resourceGroupName, accountName, poolName, body); @@ -931,7 +931,7 @@ private PollerFlux, CapacityPoolInner> beginUpdate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, CapacityPoolInner> beginUpdateAsync( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context) { context = this.client.mergeContext(context); @@ -955,7 +955,7 @@ private PollerFlux, CapacityPoolInner> beginUpdate * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) { return beginUpdateAsync(resourceGroupName, accountName, poolName, body).getSyncPoller(); @@ -974,7 +974,7 @@ public SyncPoller, CapacityPoolInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return capacity pool resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context) { return beginUpdateAsync(resourceGroupName, accountName, poolName, body, context).getSyncPoller(); @@ -1169,7 +1169,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName) { Mono>> mono = deleteWithResponseAsync(resourceGroupName, accountName, poolName); @@ -1190,7 +1190,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName, Context context) { context = this.client.mergeContext(context); @@ -1212,7 +1212,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName) { return beginDeleteAsync(resourceGroupName, accountName, poolName).getSyncPoller(); @@ -1230,7 +1230,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, poolName, context).getSyncPoller(); 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 4b7da2b9bedbd..e3131864f577b 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 @@ -822,7 +822,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotPolicyInner> beginUpdateAsync( String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyPatch body) { Mono>> mono = @@ -850,7 +850,7 @@ private PollerFlux, SnapshotPolicyInner> beginUp * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotPolicyInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -878,7 +878,7 @@ private PollerFlux, SnapshotPolicyInner> beginUp * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotPolicyInner> beginUpdate( String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyPatch body) { return beginUpdateAsync(resourceGroupName, accountName, snapshotPolicyName, body).getSyncPoller(); @@ -897,7 +897,7 @@ public SyncPoller, SnapshotPolicyInner> beginUpd * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot policy information. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotPolicyInner> beginUpdate( String resourceGroupName, String accountName, @@ -1106,7 +1106,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String snapshotPolicyName) { Mono>> mono = @@ -1128,7 +1128,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String snapshotPolicyName, Context context) { context = this.client.mergeContext(context); @@ -1150,7 +1150,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String snapshotPolicyName) { return beginDeleteAsync(resourceGroupName, accountName, snapshotPolicyName).getSyncPoller(); @@ -1168,7 +1168,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String snapshotPolicyName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, snapshotPolicyName, context).getSyncPoller(); 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 647d002b95496..957491ec48e8f 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 @@ -724,7 +724,7 @@ private Mono>> createWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotInner> beginCreateAsync( String resourceGroupName, String accountName, @@ -755,7 +755,7 @@ private PollerFlux, SnapshotInner> beginCreateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotInner> beginCreateAsync( String resourceGroupName, String accountName, @@ -787,7 +787,7 @@ private PollerFlux, SnapshotInner> beginCreateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotInner> beginCreate( String resourceGroupName, String accountName, @@ -814,7 +814,7 @@ public SyncPoller, SnapshotInner> beginCreate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotInner> beginCreate( String resourceGroupName, String accountName, @@ -1094,7 +1094,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -1125,7 +1125,7 @@ private PollerFlux, SnapshotInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, SnapshotInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -1157,7 +1157,7 @@ private PollerFlux, SnapshotInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotInner> beginUpdate( String resourceGroupName, String accountName, @@ -1184,7 +1184,7 @@ public SyncPoller, SnapshotInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return snapshot of a Volume. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, SnapshotInner> beginUpdate( String resourceGroupName, String accountName, @@ -1443,7 +1443,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) { Mono>> mono = @@ -1467,7 +1467,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, @@ -1496,7 +1496,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName) { return beginDeleteAsync(resourceGroupName, accountName, poolName, volumeName, snapshotName).getSyncPoller(); @@ -1516,7 +1516,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( 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 819270bfa065f..3960f0d4352b6 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 @@ -35,10 +35,6 @@ public SystemData systemData() { return this.innerModel().systemData(); } - public String namePropertiesName() { - return this.innerModel().namePropertiesName(); - } - public Integer current() { return this.innerModel().current(); } 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 f131c2b687f47..8736955b57ffe 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 @@ -819,7 +819,7 @@ private Mono>> createOrUpdateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VolumeInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) { Mono>> mono = @@ -844,7 +844,7 @@ private PollerFlux, VolumeInner> beginCreateOrUpdateAsyn * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VolumeInner> beginCreateOrUpdateAsync( String resourceGroupName, String accountName, @@ -874,7 +874,7 @@ private PollerFlux, VolumeInner> beginCreateOrUpdateAsyn * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VolumeInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) { return beginCreateOrUpdateAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller(); @@ -894,7 +894,7 @@ public SyncPoller, VolumeInner> beginCreateOrUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VolumeInner> beginCreateOrUpdate( String resourceGroupName, String accountName, @@ -1144,7 +1144,7 @@ private Mono>> updateWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VolumeInner> beginUpdateAsync( String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) { Mono>> mono = @@ -1169,7 +1169,7 @@ private PollerFlux, VolumeInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VolumeInner> beginUpdateAsync( String resourceGroupName, String accountName, @@ -1199,7 +1199,7 @@ private PollerFlux, VolumeInner> beginUpdateAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VolumeInner> beginUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) { return beginUpdateAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller(); @@ -1219,7 +1219,7 @@ public SyncPoller, VolumeInner> beginUpdate( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return volume resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VolumeInner> beginUpdate( String resourceGroupName, String accountName, @@ -1444,7 +1444,7 @@ private Mono>> deleteWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName, String volumeName) { Mono>> mono = @@ -1467,7 +1467,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteAsync( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { context = this.client.mergeContext(context); @@ -1490,7 +1490,7 @@ private PollerFlux, Void> beginDeleteAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName) { return beginDeleteAsync(resourceGroupName, accountName, poolName, volumeName).getSyncPoller(); @@ -1509,7 +1509,7 @@ public SyncPoller, Void> beginDelete( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { return beginDeleteAsync(resourceGroupName, accountName, poolName, volumeName, context).getSyncPoller(); @@ -1731,7 +1731,7 @@ private Mono>> revertWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginRevertAsync( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) { Mono>> mono = @@ -1755,7 +1755,7 @@ private PollerFlux, Void> beginRevertAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginRevertAsync( String resourceGroupName, String accountName, @@ -1784,7 +1784,7 @@ private PollerFlux, Void> beginRevertAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRevert( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) { return beginRevertAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller(); @@ -1804,7 +1804,7 @@ public SyncPoller, Void> beginRevert( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRevert( String resourceGroupName, String accountName, @@ -2047,7 +2047,7 @@ private Mono>> breakReplicationWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginBreakReplicationAsync( String resourceGroupName, String accountName, @@ -2075,7 +2075,7 @@ private PollerFlux, Void> beginBreakReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginBreakReplicationAsync( String resourceGroupName, String accountName, @@ -2104,7 +2104,7 @@ private PollerFlux, Void> beginBreakReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginBreakReplication( String resourceGroupName, String accountName, @@ -2128,7 +2128,7 @@ public SyncPoller, Void> beginBreakReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginBreakReplication( String resourceGroupName, String accountName, @@ -2579,7 +2579,7 @@ private Mono>> resyncReplicationWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginResyncReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName) { Mono>> mono = @@ -2603,7 +2603,7 @@ private PollerFlux, Void> beginResyncReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginResyncReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { context = this.client.mergeContext(context); @@ -2627,7 +2627,7 @@ private PollerFlux, Void> beginResyncReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName) { return beginResyncReplicationAsync(resourceGroupName, accountName, poolName, volumeName).getSyncPoller(); @@ -2647,7 +2647,7 @@ public SyncPoller, Void> beginResyncReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { return beginResyncReplicationAsync(resourceGroupName, accountName, poolName, volumeName, context) @@ -2855,7 +2855,7 @@ private Mono>> deleteReplicationWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName) { Mono>> mono = @@ -2878,7 +2878,7 @@ private PollerFlux, Void> beginDeleteReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginDeleteReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { context = this.client.mergeContext(context); @@ -2901,7 +2901,7 @@ private PollerFlux, Void> beginDeleteReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName) { return beginDeleteReplicationAsync(resourceGroupName, accountName, poolName, volumeName).getSyncPoller(); @@ -2920,7 +2920,7 @@ public SyncPoller, Void> beginDeleteReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { return beginDeleteReplicationAsync(resourceGroupName, accountName, poolName, volumeName, context) @@ -3144,7 +3144,7 @@ private Mono>> authorizeReplicationWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginAuthorizeReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) { Mono>> mono = @@ -3168,7 +3168,7 @@ private PollerFlux, Void> beginAuthorizeReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginAuthorizeReplicationAsync( String resourceGroupName, String accountName, @@ -3197,7 +3197,7 @@ private PollerFlux, Void> beginAuthorizeReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginAuthorizeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) { return beginAuthorizeReplicationAsync(resourceGroupName, accountName, poolName, volumeName, body) @@ -3218,7 +3218,7 @@ public SyncPoller, Void> beginAuthorizeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginAuthorizeReplication( String resourceGroupName, String accountName, @@ -3442,7 +3442,7 @@ private Mono>> reInitializeReplicationWithResponseAsyn * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginReInitializeReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName) { Mono>> mono = @@ -3465,7 +3465,7 @@ private PollerFlux, Void> beginReInitializeReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginReInitializeReplicationAsync( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { context = this.client.mergeContext(context); @@ -3488,7 +3488,7 @@ private PollerFlux, Void> beginReInitializeReplicationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName) { return beginReInitializeReplicationAsync(resourceGroupName, accountName, poolName, volumeName).getSyncPoller(); @@ -3507,7 +3507,7 @@ public SyncPoller, Void> beginReInitializeReplication( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { return beginReInitializeReplicationAsync(resourceGroupName, accountName, poolName, volumeName, context) @@ -3732,7 +3732,7 @@ private Mono>> poolChangeWithResponseAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginPoolChangeAsync( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) { Mono>> mono = @@ -3756,7 +3756,7 @@ private PollerFlux, Void> beginPoolChangeAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginPoolChangeAsync( String resourceGroupName, String accountName, @@ -3785,7 +3785,7 @@ private PollerFlux, Void> beginPoolChangeAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginPoolChange( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) { return beginPoolChangeAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller(); @@ -3805,7 +3805,7 @@ public SyncPoller, Void> beginPoolChange( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ - @ServiceMethod(returns = ReturnType.SINGLE) + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginPoolChange( String resourceGroupName, String accountName, diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LogSpecification.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LogSpecification.java index 81b024e827582..68ef6cc2b7d35 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LogSpecification.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LogSpecification.java @@ -15,19 +15,19 @@ public final class LogSpecification { @JsonIgnore private final ClientLogger logger = new ClientLogger(LogSpecification.class); /* - * The name property. + * Name of log specification. */ @JsonProperty(value = "name") private String name; /* - * The displayName property. + * Display name of log specification. */ @JsonProperty(value = "displayName") private String displayName; /** - * Get the name property: The name property. + * Get the name property: Name of log specification. * * @return the name value. */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name property: The name property. + * Set the name property: Name of log specification. * * @param name the name value to set. * @return the LogSpecification object itself. @@ -47,7 +47,7 @@ public LogSpecification withName(String name) { } /** - * Get the displayName property: The displayName property. + * Get the displayName property: Display name of log specification. * * @return the displayName value. */ @@ -56,7 +56,7 @@ public String displayName() { } /** - * Set the displayName property: The displayName property. + * Set the displayName property: Display name of log specification. * * @param displayName the displayName value to set. * @return the LogSpecification object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceSpecification.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceSpecification.java index 368ab9b943a0f..2bebb9ff204cc 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceSpecification.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceSpecification.java @@ -22,7 +22,7 @@ public final class ServiceSpecification { private List metricSpecifications; /* - * The logSpecifications property. + * Log specification of operation. */ @JsonProperty(value = "logSpecifications") private List logSpecifications; @@ -48,7 +48,7 @@ public ServiceSpecification withMetricSpecifications(List m } /** - * Get the logSpecifications property: The logSpecifications property. + * Get the logSpecifications property: Log specification of operation. * * @return the logSpecifications value. */ @@ -57,7 +57,7 @@ public List logSpecifications() { } /** - * Set the logSpecifications property: The logSpecifications property. + * Set the logSpecifications property: Log specification of operation. * * @param logSpecifications the logSpecifications value to set. * @return the ServiceSpecification object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubscriptionQuotaItem.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubscriptionQuotaItem.java index 95dee6c6b5897..29796abf20371 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubscriptionQuotaItem.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubscriptionQuotaItem.java @@ -37,13 +37,6 @@ public interface SubscriptionQuotaItem { */ SystemData systemData(); - /** - * Gets the namePropertiesName property: Quota Item name. - * - * @return the namePropertiesName value. - */ - String namePropertiesName(); - /** * Gets the current property: The current quota value. * diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java index a074640cf29bf..dc66662cf2c6c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java @@ -229,7 +229,8 @@ public interface Volume { Boolean smbContinuouslyAvailable(); /** - * Gets the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Gets the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @return the throughputMibps value. */ @@ -634,9 +635,11 @@ interface WithSmbContinuouslyAvailable { /** The stage of the Volume definition allowing to specify throughputMibps. */ interface WithThroughputMibps { /** - * Specifies the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Specifies the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume + * and this will be accepted as input only for manual qosType volume. * - * @param throughputMibps Maximum throughput in Mibps that can be achieved by this volume. + * @param throughputMibps Maximum throughput in Mibps that can be achieved by this volume and this will be + * accepted as input only for manual qosType volume. * @return the next definition stage. */ WithCreate withThroughputMibps(Float throughputMibps); @@ -831,9 +834,11 @@ interface WithExportPolicy { /** The stage of the Volume update allowing to specify throughputMibps. */ interface WithThroughputMibps { /** - * Specifies the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Specifies the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume + * and this will be accepted as input only for manual qosType volume. * - * @param throughputMibps Maximum throughput in Mibps that can be achieved by this volume. + * @param throughputMibps Maximum throughput in Mibps that can be achieved by this volume and this will be + * accepted as input only for manual qosType volume. * @return the next definition stage. */ Update withThroughputMibps(Float throughputMibps); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java index ab342b98dd212..7890f939392a8 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java @@ -118,7 +118,8 @@ public VolumePatch withExportPolicy(VolumePatchPropertiesExportPolicy exportPoli } /** - * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @return the throughputMibps value. */ @@ -127,7 +128,8 @@ public Float throughputMibps() { } /** - * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume. + * Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will + * be accepted as input only for manual qosType volume. * * @param throughputMibps the throughputMibps value to set. * @return the VolumePatch object itself.