diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/DataProtectionManager.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/DataProtectionManager.java
index 32b99e7e607c..ae6a9795e131 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/DataProtectionManager.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/DataProtectionManager.java
@@ -35,6 +35,9 @@
import com.azure.resourcemanager.dataprotection.implementation.DppResourceGuardProxiesImpl;
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsImpl;
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsOperationResultsImpl;
+import com.azure.resourcemanager.dataprotection.implementation.FetchCrossRegionRestoreJobsImpl;
+import com.azure.resourcemanager.dataprotection.implementation.FetchCrossRegionRestoreJobsOperationsImpl;
+import com.azure.resourcemanager.dataprotection.implementation.FetchSecondaryRecoveryPointsImpl;
import com.azure.resourcemanager.dataprotection.implementation.JobsImpl;
import com.azure.resourcemanager.dataprotection.implementation.OperationResultsImpl;
import com.azure.resourcemanager.dataprotection.implementation.OperationStatusBackupVaultContextsImpl;
@@ -53,6 +56,9 @@
import com.azure.resourcemanager.dataprotection.models.DppResourceGuardProxies;
import com.azure.resourcemanager.dataprotection.models.ExportJobs;
import com.azure.resourcemanager.dataprotection.models.ExportJobsOperationResults;
+import com.azure.resourcemanager.dataprotection.models.FetchCrossRegionRestoreJobs;
+import com.azure.resourcemanager.dataprotection.models.FetchCrossRegionRestoreJobsOperations;
+import com.azure.resourcemanager.dataprotection.models.FetchSecondaryRecoveryPoints;
import com.azure.resourcemanager.dataprotection.models.Jobs;
import com.azure.resourcemanager.dataprotection.models.OperationResults;
import com.azure.resourcemanager.dataprotection.models.OperationStatus;
@@ -68,7 +74,10 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to DataProtectionManager. Open API 2.0 Specs for Azure Data Protection service. */
+/**
+ * Entry point to DataProtectionManager.
+ * Open API 2.0 Specs for Azure Data Protection service.
+ */
public final class DataProtectionManager {
private BackupVaults backupVaults;
@@ -92,6 +101,12 @@ public final class DataProtectionManager {
private RecoveryPoints recoveryPoints;
+ private FetchSecondaryRecoveryPoints fetchSecondaryRecoveryPoints;
+
+ private FetchCrossRegionRestoreJobs fetchCrossRegionRestoreJobs;
+
+ private FetchCrossRegionRestoreJobsOperations fetchCrossRegionRestoreJobsOperations;
+
private Jobs jobs;
private RestorableTimeRanges restorableTimeRanges;
@@ -111,18 +126,14 @@ public final class DataProtectionManager {
private DataProtectionManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new DataProtectionClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new DataProtectionClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint()).subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval).buildClient();
}
/**
* Creates an instance of DataProtection service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the DataProtection service API instance.
@@ -135,7 +146,7 @@ public static DataProtectionManager authenticate(TokenCredential credential, Azu
/**
* Creates an instance of DataProtection service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the DataProtection service API instance.
@@ -148,14 +159,16 @@ public static DataProtectionManager authenticate(HttpPipeline httpPipeline, Azur
/**
* Gets a Configurable instance that can be used to create DataProtectionManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new DataProtectionManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -227,8 +240,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -245,8 +258,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -266,21 +279,12 @@ public DataProtectionManager authenticate(TokenCredential credential, AzureProfi
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
- .append("-")
- .append("com.azure.resourcemanager.dataprotection")
- .append("/")
- .append("1.1.0");
+ userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.dataprotection")
+ .append("/").append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
- .append(Configuration.getGlobalConfiguration().get("java.version"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.name"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.version"))
- .append("; auto-generated)");
+ userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version")).append("; auto-generated)");
} else {
userAgentBuilder.append(" (auto-generated)");
}
@@ -299,38 +303,25 @@ public DataProtectionManager authenticate(TokenCredential credential, AzureProfi
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY).collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0])).build();
return new DataProtectionManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of BackupVaults. It manages BackupVaultResource.
- *
+ *
* @return Resource collection API of BackupVaults.
*/
public BackupVaults backupVaults() {
@@ -342,7 +333,7 @@ public BackupVaults backupVaults() {
/**
* Gets the resource collection API of OperationResults.
- *
+ *
* @return Resource collection API of OperationResults.
*/
public OperationResults operationResults() {
@@ -354,7 +345,7 @@ public OperationResults operationResults() {
/**
* Gets the resource collection API of OperationStatus.
- *
+ *
* @return Resource collection API of OperationStatus.
*/
public OperationStatus operationStatus() {
@@ -366,47 +357,46 @@ public OperationStatus operationStatus() {
/**
* Gets the resource collection API of OperationStatusBackupVaultContexts.
- *
+ *
* @return Resource collection API of OperationStatusBackupVaultContexts.
*/
public OperationStatusBackupVaultContexts operationStatusBackupVaultContexts() {
if (this.operationStatusBackupVaultContexts == null) {
- this.operationStatusBackupVaultContexts =
- new OperationStatusBackupVaultContextsImpl(clientObject.getOperationStatusBackupVaultContexts(), this);
+ this.operationStatusBackupVaultContexts = new OperationStatusBackupVaultContextsImpl(
+ clientObject.getOperationStatusBackupVaultContexts(), this);
}
return operationStatusBackupVaultContexts;
}
/**
* Gets the resource collection API of OperationStatusResourceGroupContexts.
- *
+ *
* @return Resource collection API of OperationStatusResourceGroupContexts.
*/
public OperationStatusResourceGroupContexts operationStatusResourceGroupContexts() {
if (this.operationStatusResourceGroupContexts == null) {
- this.operationStatusResourceGroupContexts =
- new OperationStatusResourceGroupContextsImpl(
- clientObject.getOperationStatusResourceGroupContexts(), this);
+ this.operationStatusResourceGroupContexts = new OperationStatusResourceGroupContextsImpl(
+ clientObject.getOperationStatusResourceGroupContexts(), this);
}
return operationStatusResourceGroupContexts;
}
/**
* Gets the resource collection API of BackupVaultOperationResults.
- *
+ *
* @return Resource collection API of BackupVaultOperationResults.
*/
public BackupVaultOperationResults backupVaultOperationResults() {
if (this.backupVaultOperationResults == null) {
- this.backupVaultOperationResults =
- new BackupVaultOperationResultsImpl(clientObject.getBackupVaultOperationResults(), this);
+ this.backupVaultOperationResults
+ = new BackupVaultOperationResultsImpl(clientObject.getBackupVaultOperationResults(), this);
}
return backupVaultOperationResults;
}
/**
* Gets the resource collection API of DataProtections.
- *
+ *
* @return Resource collection API of DataProtections.
*/
public DataProtections dataProtections() {
@@ -418,20 +408,20 @@ public DataProtections dataProtections() {
/**
* Gets the resource collection API of DataProtectionOperations.
- *
+ *
* @return Resource collection API of DataProtectionOperations.
*/
public DataProtectionOperations dataProtectionOperations() {
if (this.dataProtectionOperations == null) {
- this.dataProtectionOperations =
- new DataProtectionOperationsImpl(clientObject.getDataProtectionOperations(), this);
+ this.dataProtectionOperations
+ = new DataProtectionOperationsImpl(clientObject.getDataProtectionOperations(), this);
}
return dataProtectionOperations;
}
/**
* Gets the resource collection API of BackupPolicies. It manages BaseBackupPolicyResource.
- *
+ *
* @return Resource collection API of BackupPolicies.
*/
public BackupPolicies backupPolicies() {
@@ -443,7 +433,7 @@ public BackupPolicies backupPolicies() {
/**
* Gets the resource collection API of BackupInstances. It manages BackupInstanceResource.
- *
+ *
* @return Resource collection API of BackupInstances.
*/
public BackupInstances backupInstances() {
@@ -455,7 +445,7 @@ public BackupInstances backupInstances() {
/**
* Gets the resource collection API of RecoveryPoints.
- *
+ *
* @return Resource collection API of RecoveryPoints.
*/
public RecoveryPoints recoveryPoints() {
@@ -465,9 +455,48 @@ public RecoveryPoints recoveryPoints() {
return recoveryPoints;
}
+ /**
+ * Gets the resource collection API of FetchSecondaryRecoveryPoints.
+ *
+ * @return Resource collection API of FetchSecondaryRecoveryPoints.
+ */
+ public FetchSecondaryRecoveryPoints fetchSecondaryRecoveryPoints() {
+ if (this.fetchSecondaryRecoveryPoints == null) {
+ this.fetchSecondaryRecoveryPoints
+ = new FetchSecondaryRecoveryPointsImpl(clientObject.getFetchSecondaryRecoveryPoints(), this);
+ }
+ return fetchSecondaryRecoveryPoints;
+ }
+
+ /**
+ * Gets the resource collection API of FetchCrossRegionRestoreJobs.
+ *
+ * @return Resource collection API of FetchCrossRegionRestoreJobs.
+ */
+ public FetchCrossRegionRestoreJobs fetchCrossRegionRestoreJobs() {
+ if (this.fetchCrossRegionRestoreJobs == null) {
+ this.fetchCrossRegionRestoreJobs
+ = new FetchCrossRegionRestoreJobsImpl(clientObject.getFetchCrossRegionRestoreJobs(), this);
+ }
+ return fetchCrossRegionRestoreJobs;
+ }
+
+ /**
+ * Gets the resource collection API of FetchCrossRegionRestoreJobsOperations.
+ *
+ * @return Resource collection API of FetchCrossRegionRestoreJobsOperations.
+ */
+ public FetchCrossRegionRestoreJobsOperations fetchCrossRegionRestoreJobsOperations() {
+ if (this.fetchCrossRegionRestoreJobsOperations == null) {
+ this.fetchCrossRegionRestoreJobsOperations = new FetchCrossRegionRestoreJobsOperationsImpl(
+ clientObject.getFetchCrossRegionRestoreJobsOperations(), this);
+ }
+ return fetchCrossRegionRestoreJobsOperations;
+ }
+
/**
* Gets the resource collection API of Jobs.
- *
+ *
* @return Resource collection API of Jobs.
*/
public Jobs jobs() {
@@ -479,7 +508,7 @@ public Jobs jobs() {
/**
* Gets the resource collection API of RestorableTimeRanges.
- *
+ *
* @return Resource collection API of RestorableTimeRanges.
*/
public RestorableTimeRanges restorableTimeRanges() {
@@ -491,7 +520,7 @@ public RestorableTimeRanges restorableTimeRanges() {
/**
* Gets the resource collection API of ExportJobs.
- *
+ *
* @return Resource collection API of ExportJobs.
*/
public ExportJobs exportJobs() {
@@ -503,33 +532,33 @@ public ExportJobs exportJobs() {
/**
* Gets the resource collection API of ExportJobsOperationResults.
- *
+ *
* @return Resource collection API of ExportJobsOperationResults.
*/
public ExportJobsOperationResults exportJobsOperationResults() {
if (this.exportJobsOperationResults == null) {
- this.exportJobsOperationResults =
- new ExportJobsOperationResultsImpl(clientObject.getExportJobsOperationResults(), this);
+ this.exportJobsOperationResults
+ = new ExportJobsOperationResultsImpl(clientObject.getExportJobsOperationResults(), this);
}
return exportJobsOperationResults;
}
/**
* Gets the resource collection API of DeletedBackupInstances.
- *
+ *
* @return Resource collection API of DeletedBackupInstances.
*/
public DeletedBackupInstances deletedBackupInstances() {
if (this.deletedBackupInstances == null) {
- this.deletedBackupInstances =
- new DeletedBackupInstancesImpl(clientObject.getDeletedBackupInstances(), this);
+ this.deletedBackupInstances
+ = new DeletedBackupInstancesImpl(clientObject.getDeletedBackupInstances(), this);
}
return deletedBackupInstances;
}
/**
* Gets the resource collection API of ResourceGuards. It manages ResourceGuardResource.
- *
+ *
* @return Resource collection API of ResourceGuards.
*/
public ResourceGuards resourceGuards() {
@@ -541,20 +570,22 @@ public ResourceGuards resourceGuards() {
/**
* Gets the resource collection API of DppResourceGuardProxies. It manages ResourceGuardProxyBaseResource.
- *
+ *
* @return Resource collection API of DppResourceGuardProxies.
*/
public DppResourceGuardProxies dppResourceGuardProxies() {
if (this.dppResourceGuardProxies == null) {
- this.dppResourceGuardProxies =
- new DppResourceGuardProxiesImpl(clientObject.getDppResourceGuardProxies(), this);
+ this.dppResourceGuardProxies
+ = new DppResourceGuardProxiesImpl(clientObject.getDppResourceGuardProxies(), this);
}
return dppResourceGuardProxies;
}
/**
- * @return Wrapped service client DataProtectionClient providing direct access to the underlying auto-generated API
- * implementation, based on Azure REST API.
+ * Gets wrapped service client DataProtectionClient providing direct access to the underlying auto-generated API
+ * implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client DataProtectionClient.
*/
public DataProtectionClient serviceClient() {
return this.clientObject;
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupInstancesClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupInstancesClient.java
index b2b97c863eb4..e5bbb8de7e8d 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupInstancesClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupInstancesClient.java
@@ -15,16 +15,20 @@
import com.azure.resourcemanager.dataprotection.fluent.models.OperationJobExtendedInfoInner;
import com.azure.resourcemanager.dataprotection.models.AzureBackupRehydrationRequest;
import com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest;
+import com.azure.resourcemanager.dataprotection.models.CrossRegionRestoreRequestObject;
import com.azure.resourcemanager.dataprotection.models.SyncBackupInstanceRequest;
import com.azure.resourcemanager.dataprotection.models.TriggerBackupRequest;
+import com.azure.resourcemanager.dataprotection.models.ValidateCrossRegionRestoreRequestObject;
import com.azure.resourcemanager.dataprotection.models.ValidateForBackupRequest;
import com.azure.resourcemanager.dataprotection.models.ValidateRestoreRequestObject;
-/** An instance of this class provides access to all the operations defined in BackupInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in BackupInstancesClient.
+ */
public interface BackupInstancesClient {
/**
* Gets a backup instances belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -37,7 +41,7 @@ public interface BackupInstancesClient {
/**
* Gets a backup instances belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -51,7 +55,7 @@ public interface BackupInstancesClient {
/**
* Gets a backup instance with name in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -62,12 +66,12 @@ public interface BackupInstancesClient {
* @return a backup instance with name in a backup vault along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* Gets a backup instance with name in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -81,7 +85,7 @@ Response getWithResponse(
/**
* Create or update a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -97,7 +101,7 @@ SyncPoller, BackupInstanceResourceInner>
/**
* Create or update a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -110,15 +114,12 @@ SyncPoller, BackupInstanceResourceInner>
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BackupInstanceResourceInner> beginCreateOrUpdate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- BackupInstanceResourceInner parameters,
+ String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters,
Context context);
/**
* Create or update a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -129,12 +130,12 @@ SyncPoller, BackupInstanceResourceInner>
* @return backupInstanceResource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupInstanceResourceInner createOrUpdate(
- String resourceGroupName, String vaultName, String backupInstanceName, BackupInstanceResourceInner parameters);
+ BackupInstanceResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName,
+ BackupInstanceResourceInner parameters);
/**
* Create or update a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -146,16 +147,12 @@ BackupInstanceResourceInner createOrUpdate(
* @return backupInstanceResource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupInstanceResourceInner createOrUpdate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- BackupInstanceResourceInner parameters,
- Context context);
+ BackupInstanceResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupInstanceName,
+ BackupInstanceResourceInner parameters, Context context);
/**
* Delete a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -165,12 +162,12 @@ BackupInstanceResourceInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* Delete a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -181,12 +178,12 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* Delete a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -199,7 +196,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a backup instance in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -213,7 +210,7 @@ SyncPoller, Void> beginDelete(
/**
* Trigger adhoc backup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -229,7 +226,7 @@ SyncPoller, OperationJobExtendedInfoIn
/**
* Trigger adhoc backup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -242,15 +239,12 @@ SyncPoller, OperationJobExtendedInfoIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationJobExtendedInfoInner> beginAdhocBackup(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- TriggerBackupRequest parameters,
+ String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters,
Context context);
/**
* Trigger adhoc backup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -261,12 +255,12 @@ SyncPoller, OperationJobExtendedInfoIn
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner adhocBackup(
- String resourceGroupName, String vaultName, String backupInstanceName, TriggerBackupRequest parameters);
+ OperationJobExtendedInfoInner adhocBackup(String resourceGroupName, String vaultName, String backupInstanceName,
+ TriggerBackupRequest parameters);
/**
* Trigger adhoc backup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -278,16 +272,12 @@ OperationJobExtendedInfoInner adhocBackup(
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner adhocBackup(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- TriggerBackupRequest parameters,
- Context context);
+ OperationJobExtendedInfoInner adhocBackup(String resourceGroupName, String vaultName, String backupInstanceName,
+ TriggerBackupRequest parameters, Context context);
/**
* Validate whether adhoc backup will be successful or not.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -297,12 +287,12 @@ OperationJobExtendedInfoInner adhocBackup(
* @return the {@link SyncPoller} for polling of operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationJobExtendedInfoInner> beginValidateForBackup(
- String resourceGroupName, String vaultName, ValidateForBackupRequest parameters);
+ SyncPoller, OperationJobExtendedInfoInner>
+ beginValidateForBackup(String resourceGroupName, String vaultName, ValidateForBackupRequest parameters);
/**
* Validate whether adhoc backup will be successful or not.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -318,7 +308,7 @@ SyncPoller, OperationJobExtendedInfoIn
/**
* Validate whether adhoc backup will be successful or not.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -328,12 +318,12 @@ SyncPoller, OperationJobExtendedInfoIn
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner validateForBackup(
- String resourceGroupName, String vaultName, ValidateForBackupRequest parameters);
+ OperationJobExtendedInfoInner validateForBackup(String resourceGroupName, String vaultName,
+ ValidateForBackupRequest parameters);
/**
* Validate whether adhoc backup will be successful or not.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -344,12 +334,12 @@ OperationJobExtendedInfoInner validateForBackup(
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner validateForBackup(
- String resourceGroupName, String vaultName, ValidateForBackupRequest parameters, Context context);
+ OperationJobExtendedInfoInner validateForBackup(String resourceGroupName, String vaultName,
+ ValidateForBackupRequest parameters, Context context);
/**
* Get result of backup instance creation operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -361,12 +351,12 @@ OperationJobExtendedInfoInner validateForBackup(
* @return result of backup instance creation operation along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getBackupInstanceOperationResultWithResponse(
- String resourceGroupName, String vaultName, String backupInstanceName, String operationId, Context context);
+ Response getBackupInstanceOperationResultWithResponse(String resourceGroupName,
+ String vaultName, String backupInstanceName, String operationId, Context context);
/**
* Get result of backup instance creation operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -377,12 +367,138 @@ Response getBackupInstanceOperationResultWithRespon
* @return result of backup instance creation operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupInstanceResourceInner getBackupInstanceOperationResult(
- String resourceGroupName, String vaultName, String backupInstanceName, String operationId);
+ BackupInstanceResourceInner getBackupInstanceOperationResult(String resourceGroupName, String vaultName,
+ String backupInstanceName, String operationId);
+
+ /**
+ * Triggers Cross Region Restore for BackupInstance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for trigger CRR operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationJobExtendedInfoInner> beginTriggerCrossRegionRestore(
+ String resourceGroupName, String location, CrossRegionRestoreRequestObject parameters);
+
+ /**
+ * Triggers Cross Region Restore for BackupInstance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for trigger CRR operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationJobExtendedInfoInner> beginTriggerCrossRegionRestore(
+ String resourceGroupName, String location, CrossRegionRestoreRequestObject parameters, Context context);
+
+ /**
+ * Triggers Cross Region Restore for BackupInstance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for trigger CRR operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationJobExtendedInfoInner triggerCrossRegionRestore(String resourceGroupName, String location,
+ CrossRegionRestoreRequestObject parameters);
+
+ /**
+ * Triggers Cross Region Restore for BackupInstance.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for trigger CRR operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationJobExtendedInfoInner triggerCrossRegionRestore(String resourceGroupName, String location,
+ CrossRegionRestoreRequestObject parameters, Context context);
+
+ /**
+ * Validates whether Cross Region Restore can be triggered for DataSource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationJobExtendedInfoInner>
+ beginValidateCrossRegionRestore(String resourceGroupName, String location,
+ ValidateCrossRegionRestoreRequestObject parameters);
+
+ /**
+ * Validates whether Cross Region Restore can be triggered for DataSource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationJobExtendedInfoInner>
+ beginValidateCrossRegionRestore(String resourceGroupName, String location,
+ ValidateCrossRegionRestoreRequestObject parameters, Context context);
+
+ /**
+ * Validates whether Cross Region Restore can be triggered for DataSource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationJobExtendedInfoInner validateCrossRegionRestore(String resourceGroupName, String location,
+ ValidateCrossRegionRestoreRequestObject parameters);
+
+ /**
+ * Validates whether Cross Region Restore can be triggered for DataSource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operationJobExtendedInfo.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationJobExtendedInfoInner validateCrossRegionRestore(String resourceGroupName, String location,
+ ValidateCrossRegionRestoreRequestObject parameters, Context context);
/**
* rehydrate recovery point for restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -393,15 +509,12 @@ BackupInstanceResourceInner getBackupInstanceOperationResult(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginTriggerRehydrate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupRehydrationRequest parameters);
+ SyncPoller, Void> beginTriggerRehydrate(String resourceGroupName, String vaultName,
+ String backupInstanceName, AzureBackupRehydrationRequest parameters);
/**
* rehydrate recovery point for restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -413,16 +526,12 @@ SyncPoller, Void> beginTriggerRehydrate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginTriggerRehydrate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupRehydrationRequest parameters,
- Context context);
+ SyncPoller, Void> beginTriggerRehydrate(String resourceGroupName, String vaultName,
+ String backupInstanceName, AzureBackupRehydrationRequest parameters, Context context);
/**
* rehydrate recovery point for restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -432,15 +541,12 @@ SyncPoller, Void> beginTriggerRehydrate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void triggerRehydrate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
+ void triggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName,
AzureBackupRehydrationRequest parameters);
/**
* rehydrate recovery point for restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -451,16 +557,12 @@ void triggerRehydrate(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void triggerRehydrate(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupRehydrationRequest parameters,
- Context context);
+ void triggerRehydrate(String resourceGroupName, String vaultName, String backupInstanceName,
+ AzureBackupRehydrationRequest parameters, Context context);
/**
* Triggers restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -476,7 +578,7 @@ SyncPoller, OperationJobExtendedInfoIn
/**
* Triggers restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -489,15 +591,12 @@ SyncPoller, OperationJobExtendedInfoIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationJobExtendedInfoInner> beginTriggerRestore(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupRestoreRequest parameters,
+ String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters,
Context context);
/**
* Triggers restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -508,12 +607,12 @@ SyncPoller, OperationJobExtendedInfoIn
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner triggerRestore(
- String resourceGroupName, String vaultName, String backupInstanceName, AzureBackupRestoreRequest parameters);
+ OperationJobExtendedInfoInner triggerRestore(String resourceGroupName, String vaultName, String backupInstanceName,
+ AzureBackupRestoreRequest parameters);
/**
* Triggers restore for a BackupInstance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -525,16 +624,12 @@ OperationJobExtendedInfoInner triggerRestore(
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner triggerRestore(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupRestoreRequest parameters,
- Context context);
+ OperationJobExtendedInfoInner triggerRestore(String resourceGroupName, String vaultName, String backupInstanceName,
+ AzureBackupRestoreRequest parameters, Context context);
/**
* This operation will resume backups for backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -544,12 +639,12 @@ OperationJobExtendedInfoInner triggerRestore(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginResumeBackups(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginResumeBackups(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* This operation will resume backups for backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -560,12 +655,12 @@ SyncPoller, Void> beginResumeBackups(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginResumeBackups(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginResumeBackups(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* This operation will resume backups for backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -578,7 +673,7 @@ SyncPoller, Void> beginResumeBackups(
/**
* This operation will resume backups for backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -592,7 +687,7 @@ SyncPoller, Void> beginResumeBackups(
/**
* This operation will resume protection for a stopped backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -602,12 +697,12 @@ SyncPoller, Void> beginResumeBackups(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginResumeProtection(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginResumeProtection(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* This operation will resume protection for a stopped backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -618,12 +713,12 @@ SyncPoller, Void> beginResumeProtection(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginResumeProtection(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginResumeProtection(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* This operation will resume protection for a stopped backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -636,7 +731,7 @@ SyncPoller, Void> beginResumeProtection(
/**
* This operation will resume protection for a stopped backup instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -650,7 +745,7 @@ SyncPoller, Void> beginResumeProtection(
/**
* This operation will stop protection of a backup instance and data will be held forever.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -660,12 +755,12 @@ SyncPoller, Void> beginResumeProtection(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginStopProtection(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginStopProtection(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* This operation will stop protection of a backup instance and data will be held forever.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -676,12 +771,12 @@ SyncPoller, Void> beginStopProtection(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginStopProtection(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginStopProtection(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* This operation will stop protection of a backup instance and data will be held forever.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -694,7 +789,7 @@ SyncPoller, Void> beginStopProtection(
/**
* This operation will stop protection of a backup instance and data will be held forever.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -709,7 +804,7 @@ SyncPoller, Void> beginStopProtection(
/**
* This operation will stop backup for a backup instance and retains the backup data as per the policy (except
* latest Recovery point, which will be retained forever).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -719,13 +814,13 @@ SyncPoller, Void> beginStopProtection(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSuspendBackups(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginSuspendBackups(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* This operation will stop backup for a backup instance and retains the backup data as per the policy (except
* latest Recovery point, which will be retained forever).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -736,13 +831,13 @@ SyncPoller, Void> beginSuspendBackups(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSuspendBackups(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginSuspendBackups(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* This operation will stop backup for a backup instance and retains the backup data as per the policy (except
* latest Recovery point, which will be retained forever).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -756,7 +851,7 @@ SyncPoller, Void> beginSuspendBackups(
/**
* This operation will stop backup for a backup instance and retains the backup data as per the policy (except
* latest Recovery point, which will be retained forever).
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -769,9 +864,9 @@ SyncPoller, Void> beginSuspendBackups(
void suspendBackups(String resourceGroupName, String vaultName, String backupInstanceName, Context context);
/**
- * Sync backup instance again in case of failure This action will retry last failed operation and will bring backup
- * instance to valid state.
- *
+ * Sync backup instance again in case of failure
+ * This action will retry last failed operation and will bring backup instance to valid state.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -782,13 +877,13 @@ SyncPoller, Void> beginSuspendBackups(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSyncBackupInstance(
- String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters);
+ SyncPoller, Void> beginSyncBackupInstance(String resourceGroupName, String vaultName,
+ String backupInstanceName, SyncBackupInstanceRequest parameters);
/**
- * Sync backup instance again in case of failure This action will retry last failed operation and will bring backup
- * instance to valid state.
- *
+ * Sync backup instance again in case of failure
+ * This action will retry last failed operation and will bring backup instance to valid state.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -800,17 +895,13 @@ SyncPoller, Void> beginSyncBackupInstance(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSyncBackupInstance(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- SyncBackupInstanceRequest parameters,
- Context context);
+ SyncPoller, Void> beginSyncBackupInstance(String resourceGroupName, String vaultName,
+ String backupInstanceName, SyncBackupInstanceRequest parameters, Context context);
/**
- * Sync backup instance again in case of failure This action will retry last failed operation and will bring backup
- * instance to valid state.
- *
+ * Sync backup instance again in case of failure
+ * This action will retry last failed operation and will bring backup instance to valid state.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -820,13 +911,13 @@ SyncPoller, Void> beginSyncBackupInstance(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void syncBackupInstance(
- String resourceGroupName, String vaultName, String backupInstanceName, SyncBackupInstanceRequest parameters);
+ void syncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName,
+ SyncBackupInstanceRequest parameters);
/**
- * Sync backup instance again in case of failure This action will retry last failed operation and will bring backup
- * instance to valid state.
- *
+ * Sync backup instance again in case of failure
+ * This action will retry last failed operation and will bring backup instance to valid state.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -837,16 +928,12 @@ void syncBackupInstance(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void syncBackupInstance(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- SyncBackupInstanceRequest parameters,
- Context context);
+ void syncBackupInstance(String resourceGroupName, String vaultName, String backupInstanceName,
+ SyncBackupInstanceRequest parameters, Context context);
/**
* Validates if Restore can be triggered for a DataSource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -862,7 +949,7 @@ SyncPoller, OperationJobExtendedInfoIn
/**
* Validates if Restore can be triggered for a DataSource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -875,15 +962,12 @@ SyncPoller, OperationJobExtendedInfoIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationJobExtendedInfoInner> beginValidateForRestore(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- ValidateRestoreRequestObject parameters,
+ String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters,
Context context);
/**
* Validates if Restore can be triggered for a DataSource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -894,12 +978,12 @@ SyncPoller, OperationJobExtendedInfoIn
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner validateForRestore(
- String resourceGroupName, String vaultName, String backupInstanceName, ValidateRestoreRequestObject parameters);
+ OperationJobExtendedInfoInner validateForRestore(String resourceGroupName, String vaultName,
+ String backupInstanceName, ValidateRestoreRequestObject parameters);
/**
* Validates if Restore can be triggered for a DataSource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -911,10 +995,6 @@ OperationJobExtendedInfoInner validateForRestore(
* @return operationJobExtendedInfo.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationJobExtendedInfoInner validateForRestore(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- ValidateRestoreRequestObject parameters,
- Context context);
+ OperationJobExtendedInfoInner validateForRestore(String resourceGroupName, String vaultName,
+ String backupInstanceName, ValidateRestoreRequestObject parameters, Context context);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupPoliciesClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupPoliciesClient.java
index 0a7dbeaa89cf..a38d67c9d8fd 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupPoliciesClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupPoliciesClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.BaseBackupPolicyResourceInner;
-/** An instance of this class provides access to all the operations defined in BackupPoliciesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in BackupPoliciesClient.
+ */
public interface BackupPoliciesClient {
/**
* Returns list of backup policies belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -28,7 +30,7 @@ public interface BackupPoliciesClient {
/**
* Returns list of backup policies belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -42,7 +44,7 @@ public interface BackupPoliciesClient {
/**
* Gets a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName The backupPolicyName parameter.
@@ -53,12 +55,12 @@ public interface BackupPoliciesClient {
* @return a backup policy belonging to a backup vault along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String backupPolicyName, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName,
+ String backupPolicyName, Context context);
/**
* Gets a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName The backupPolicyName parameter.
@@ -72,7 +74,7 @@ Response getWithResponse(
/**
* Creates or Updates a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName Name of the policy.
@@ -84,16 +86,12 @@ Response getWithResponse(
* @return baseBackupPolicyResource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String vaultName,
- String backupPolicyName,
- BaseBackupPolicyResourceInner parameters,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String vaultName,
+ String backupPolicyName, BaseBackupPolicyResourceInner parameters, Context context);
/**
* Creates or Updates a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName Name of the policy.
@@ -104,12 +102,12 @@ Response createOrUpdateWithResponse(
* @return baseBackupPolicyResource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BaseBackupPolicyResourceInner createOrUpdate(
- String resourceGroupName, String vaultName, String backupPolicyName, BaseBackupPolicyResourceInner parameters);
+ BaseBackupPolicyResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupPolicyName,
+ BaseBackupPolicyResourceInner parameters);
/**
* Deletes a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName The backupPolicyName parameter.
@@ -120,12 +118,12 @@ BaseBackupPolicyResourceInner createOrUpdate(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String vaultName, String backupPolicyName, Context context);
+ Response deleteWithResponse(String resourceGroupName, String vaultName, String backupPolicyName,
+ Context context);
/**
* Deletes a backup policy belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupPolicyName The backupPolicyName parameter.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultOperationResultsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultOperationResultsClient.java
index 7d574911deb4..976e633d4742 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultOperationResultsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultOperationResultsClient.java
@@ -10,11 +10,13 @@
import com.azure.resourcemanager.dataprotection.fluent.models.BackupVaultResourceInner;
import com.azure.resourcemanager.dataprotection.models.BackupVaultOperationResultsGetResponse;
-/** An instance of this class provides access to all the operations defined in BackupVaultOperationResultsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in BackupVaultOperationResultsClient.
+ */
public interface BackupVaultOperationResultsClient {
/**
* The get operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId The operationId parameter.
@@ -25,12 +27,12 @@ public interface BackupVaultOperationResultsClient {
* @return backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupVaultOperationResultsGetResponse getWithResponse(
- String resourceGroupName, String vaultName, String operationId, Context context);
+ BackupVaultOperationResultsGetResponse getWithResponse(String resourceGroupName, String vaultName,
+ String operationId, Context context);
/**
* The get operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId The operationId parameter.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultsClient.java
index fbaf0ba77f40..abee237e8694 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/BackupVaultsClient.java
@@ -16,11 +16,13 @@
import com.azure.resourcemanager.dataprotection.models.CheckNameAvailabilityRequest;
import com.azure.resourcemanager.dataprotection.models.PatchResourceRequestInput;
-/** An instance of this class provides access to all the operations defined in BackupVaultsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in BackupVaultsClient.
+ */
public interface BackupVaultsClient {
/**
* Returns resource collection belonging to a subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return backupVaultResourceList as paginated response with {@link PagedIterable}.
@@ -30,7 +32,7 @@ public interface BackupVaultsClient {
/**
* Returns resource collection belonging to a subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -42,7 +44,7 @@ public interface BackupVaultsClient {
/**
* Returns resource collection belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -54,7 +56,7 @@ public interface BackupVaultsClient {
/**
* Returns resource collection belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -67,7 +69,7 @@ public interface BackupVaultsClient {
/**
* Returns a resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -77,12 +79,12 @@ public interface BackupVaultsClient {
* @return backupVault Resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String vaultName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String vaultName,
+ Context context);
/**
* Returns a resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -95,7 +97,7 @@ Response getByResourceGroupWithResponse(
/**
* Creates or updates a BackupVault resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -105,12 +107,12 @@ Response getByResourceGroupWithResponse(
* @return the {@link SyncPoller} for polling of backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BackupVaultResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String vaultName, BackupVaultResourceInner parameters);
+ SyncPoller, BackupVaultResourceInner>
+ beginCreateOrUpdate(String resourceGroupName, String vaultName, BackupVaultResourceInner parameters);
/**
* Creates or updates a BackupVault resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -126,7 +128,7 @@ SyncPoller, BackupVaultResourceInner> begin
/**
* Creates or updates a BackupVault resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -136,12 +138,12 @@ SyncPoller, BackupVaultResourceInner> begin
* @return backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupVaultResourceInner createOrUpdate(
- String resourceGroupName, String vaultName, BackupVaultResourceInner parameters);
+ BackupVaultResourceInner createOrUpdate(String resourceGroupName, String vaultName,
+ BackupVaultResourceInner parameters);
/**
* Creates or updates a BackupVault resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -152,12 +154,12 @@ BackupVaultResourceInner createOrUpdate(
* @return backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupVaultResourceInner createOrUpdate(
- String resourceGroupName, String vaultName, BackupVaultResourceInner parameters, Context context);
+ BackupVaultResourceInner createOrUpdate(String resourceGroupName, String vaultName,
+ BackupVaultResourceInner parameters, Context context);
/**
* Deletes a BackupVault resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -170,7 +172,7 @@ BackupVaultResourceInner createOrUpdate(
/**
* Deletes a BackupVault resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -184,7 +186,7 @@ BackupVaultResourceInner createOrUpdate(
/**
* Deletes a BackupVault resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -196,7 +198,7 @@ BackupVaultResourceInner createOrUpdate(
/**
* Deletes a BackupVault resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -209,7 +211,7 @@ BackupVaultResourceInner createOrUpdate(
/**
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -219,12 +221,12 @@ BackupVaultResourceInner createOrUpdate(
* @return the {@link SyncPoller} for polling of backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BackupVaultResourceInner> beginUpdate(
- String resourceGroupName, String vaultName, PatchResourceRequestInput parameters);
+ SyncPoller, BackupVaultResourceInner> beginUpdate(String resourceGroupName,
+ String vaultName, PatchResourceRequestInput parameters);
/**
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -235,12 +237,12 @@ SyncPoller, BackupVaultResourceInner> begin
* @return the {@link SyncPoller} for polling of backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BackupVaultResourceInner> beginUpdate(
- String resourceGroupName, String vaultName, PatchResourceRequestInput parameters, Context context);
+ SyncPoller, BackupVaultResourceInner> beginUpdate(String resourceGroupName,
+ String vaultName, PatchResourceRequestInput parameters, Context context);
/**
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -254,7 +256,7 @@ SyncPoller, BackupVaultResourceInner> begin
/**
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param parameters Request body for operation.
@@ -265,12 +267,12 @@ SyncPoller, BackupVaultResourceInner> begin
* @return backupVault Resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupVaultResourceInner update(
- String resourceGroupName, String vaultName, PatchResourceRequestInput parameters, Context context);
+ BackupVaultResourceInner update(String resourceGroupName, String vaultName, PatchResourceRequestInput parameters,
+ Context context);
/**
* API to check for resource name availability.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param location The location in which uniqueness will be verified.
* @param parameters Check name availability request.
@@ -281,12 +283,12 @@ BackupVaultResourceInner update(
* @return checkNameAvailabilityResult along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String resourceGroupName, String location, CheckNameAvailabilityRequest parameters, Context context);
+ Response checkNameAvailabilityWithResponse(String resourceGroupName,
+ String location, CheckNameAvailabilityRequest parameters, Context context);
/**
* API to check for resource name availability.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param location The location in which uniqueness will be verified.
* @param parameters Check name availability request.
@@ -296,6 +298,6 @@ Response checkNameAvailabilityWithResponse(
* @return checkNameAvailabilityResult.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CheckNameAvailabilityResultInner checkNameAvailability(
- String resourceGroupName, String location, CheckNameAvailabilityRequest parameters);
+ CheckNameAvailabilityResultInner checkNameAvailability(String resourceGroupName, String location,
+ CheckNameAvailabilityRequest parameters);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionClient.java
index 568fbae644c5..c5a234566f85 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionClient.java
@@ -7,165 +7,188 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for DataProtectionClient class. */
+/**
+ * The interface for DataProtectionClient class.
+ */
public interface DataProtectionClient {
/**
* Gets The ID of the target subscription. The value must be an UUID.
- *
+ *
* @return the subscriptionId value.
*/
String getSubscriptionId();
/**
* Gets server parameter.
- *
+ *
* @return the endpoint value.
*/
String getEndpoint();
/**
* Gets Api Version.
- *
+ *
* @return the apiVersion value.
*/
String getApiVersion();
/**
* Gets The HTTP pipeline to send requests through.
- *
+ *
* @return the httpPipeline value.
*/
HttpPipeline getHttpPipeline();
/**
* Gets The default poll interval for long-running operation.
- *
+ *
* @return the defaultPollInterval value.
*/
Duration getDefaultPollInterval();
/**
* Gets the BackupVaultsClient object to access its operations.
- *
+ *
* @return the BackupVaultsClient object.
*/
BackupVaultsClient getBackupVaults();
/**
* Gets the OperationResultsClient object to access its operations.
- *
+ *
* @return the OperationResultsClient object.
*/
OperationResultsClient getOperationResults();
/**
* Gets the OperationStatusClient object to access its operations.
- *
+ *
* @return the OperationStatusClient object.
*/
OperationStatusClient getOperationStatus();
/**
* Gets the OperationStatusBackupVaultContextsClient object to access its operations.
- *
+ *
* @return the OperationStatusBackupVaultContextsClient object.
*/
OperationStatusBackupVaultContextsClient getOperationStatusBackupVaultContexts();
/**
* Gets the OperationStatusResourceGroupContextsClient object to access its operations.
- *
+ *
* @return the OperationStatusResourceGroupContextsClient object.
*/
OperationStatusResourceGroupContextsClient getOperationStatusResourceGroupContexts();
/**
* Gets the BackupVaultOperationResultsClient object to access its operations.
- *
+ *
* @return the BackupVaultOperationResultsClient object.
*/
BackupVaultOperationResultsClient getBackupVaultOperationResults();
/**
* Gets the DataProtectionsClient object to access its operations.
- *
+ *
* @return the DataProtectionsClient object.
*/
DataProtectionsClient getDataProtections();
/**
* Gets the DataProtectionOperationsClient object to access its operations.
- *
+ *
* @return the DataProtectionOperationsClient object.
*/
DataProtectionOperationsClient getDataProtectionOperations();
/**
* Gets the BackupPoliciesClient object to access its operations.
- *
+ *
* @return the BackupPoliciesClient object.
*/
BackupPoliciesClient getBackupPolicies();
/**
* Gets the BackupInstancesClient object to access its operations.
- *
+ *
* @return the BackupInstancesClient object.
*/
BackupInstancesClient getBackupInstances();
/**
* Gets the RecoveryPointsClient object to access its operations.
- *
+ *
* @return the RecoveryPointsClient object.
*/
RecoveryPointsClient getRecoveryPoints();
+ /**
+ * Gets the FetchSecondaryRecoveryPointsClient object to access its operations.
+ *
+ * @return the FetchSecondaryRecoveryPointsClient object.
+ */
+ FetchSecondaryRecoveryPointsClient getFetchSecondaryRecoveryPoints();
+
+ /**
+ * Gets the FetchCrossRegionRestoreJobsClient object to access its operations.
+ *
+ * @return the FetchCrossRegionRestoreJobsClient object.
+ */
+ FetchCrossRegionRestoreJobsClient getFetchCrossRegionRestoreJobs();
+
+ /**
+ * Gets the FetchCrossRegionRestoreJobsOperationsClient object to access its operations.
+ *
+ * @return the FetchCrossRegionRestoreJobsOperationsClient object.
+ */
+ FetchCrossRegionRestoreJobsOperationsClient getFetchCrossRegionRestoreJobsOperations();
+
/**
* Gets the JobsClient object to access its operations.
- *
+ *
* @return the JobsClient object.
*/
JobsClient getJobs();
/**
* Gets the RestorableTimeRangesClient object to access its operations.
- *
+ *
* @return the RestorableTimeRangesClient object.
*/
RestorableTimeRangesClient getRestorableTimeRanges();
/**
* Gets the ExportJobsClient object to access its operations.
- *
+ *
* @return the ExportJobsClient object.
*/
ExportJobsClient getExportJobs();
/**
* Gets the ExportJobsOperationResultsClient object to access its operations.
- *
+ *
* @return the ExportJobsOperationResultsClient object.
*/
ExportJobsOperationResultsClient getExportJobsOperationResults();
/**
* Gets the DeletedBackupInstancesClient object to access its operations.
- *
+ *
* @return the DeletedBackupInstancesClient object.
*/
DeletedBackupInstancesClient getDeletedBackupInstances();
/**
* Gets the ResourceGuardsClient object to access its operations.
- *
+ *
* @return the ResourceGuardsClient object.
*/
ResourceGuardsClient getResourceGuards();
/**
* Gets the DppResourceGuardProxiesClient object to access its operations.
- *
+ *
* @return the DppResourceGuardProxiesClient object.
*/
DppResourceGuardProxiesClient getDppResourceGuardProxies();
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionOperationsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionOperationsClient.java
index 06f1443bbc4f..bbcbdffc96ee 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionOperationsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionOperationsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.ClientDiscoveryValueForSingleApiInner;
-/** An instance of this class provides access to all the operations defined in DataProtectionOperationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in DataProtectionOperationsClient.
+ */
public interface DataProtectionOperationsClient {
/**
* Returns the list of available operations.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return clientDiscoveryResponse as paginated response with {@link PagedIterable}.
@@ -24,7 +26,7 @@ public interface DataProtectionOperationsClient {
/**
* Returns the list of available operations.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionsClient.java
index 63984448d84a..5c7fa78acde9 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DataProtectionsClient.java
@@ -11,11 +11,13 @@
import com.azure.resourcemanager.dataprotection.fluent.models.FeatureValidationResponseBaseInner;
import com.azure.resourcemanager.dataprotection.models.FeatureValidationRequestBase;
-/** An instance of this class provides access to all the operations defined in DataProtectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in DataProtectionsClient.
+ */
public interface DataProtectionsClient {
/**
* Validates if a feature is supported.
- *
+ *
* @param location The location parameter.
* @param parameters Feature support request object.
* @param context The context to associate with this operation.
@@ -25,12 +27,12 @@ public interface DataProtectionsClient {
* @return base class for Backup Feature support along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkFeatureSupportWithResponse(
- String location, FeatureValidationRequestBase parameters, Context context);
+ Response checkFeatureSupportWithResponse(String location,
+ FeatureValidationRequestBase parameters, Context context);
/**
* Validates if a feature is supported.
- *
+ *
* @param location The location parameter.
* @param parameters Feature support request object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DeletedBackupInstancesClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DeletedBackupInstancesClient.java
index 3dc27dcf029d..211d0ca6d7ff 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DeletedBackupInstancesClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DeletedBackupInstancesClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.dataprotection.fluent.models.DeletedBackupInstanceResourceInner;
-/** An instance of this class provides access to all the operations defined in DeletedBackupInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in DeletedBackupInstancesClient.
+ */
public interface DeletedBackupInstancesClient {
/**
* Gets deleted backup instances belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface DeletedBackupInstancesClient {
/**
* Gets deleted backup instances belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -44,7 +46,7 @@ public interface DeletedBackupInstancesClient {
/**
* Gets a deleted backup instance with name in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
@@ -55,12 +57,12 @@ public interface DeletedBackupInstancesClient {
* @return a deleted backup instance with name in a backup vault along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* Gets a deleted backup instance with name in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* The undelete operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
@@ -84,12 +86,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUndelete(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ SyncPoller, Void> beginUndelete(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* The undelete operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
@@ -100,12 +102,12 @@ SyncPoller, Void> beginUndelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginUndelete(
- String resourceGroupName, String vaultName, String backupInstanceName, Context context);
+ SyncPoller, Void> beginUndelete(String resourceGroupName, String vaultName,
+ String backupInstanceName, Context context);
/**
* The undelete operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
@@ -118,7 +120,7 @@ SyncPoller, Void> beginUndelete(
/**
* The undelete operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the deleted backup instance.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DppResourceGuardProxiesClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DppResourceGuardProxiesClient.java
index 0c65348d2f92..742e79684205 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DppResourceGuardProxiesClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/DppResourceGuardProxiesClient.java
@@ -13,11 +13,13 @@
import com.azure.resourcemanager.dataprotection.fluent.models.UnlockDeleteResponseInner;
import com.azure.resourcemanager.dataprotection.models.UnlockDeleteRequest;
-/** An instance of this class provides access to all the operations defined in DppResourceGuardProxiesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in DppResourceGuardProxiesClient.
+ */
public interface DppResourceGuardProxiesClient {
/**
* Returns the list of ResourceGuardProxies associated with the vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface DppResourceGuardProxiesClient {
/**
* Returns the list of ResourceGuardProxies associated with the vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -40,12 +42,12 @@ public interface DppResourceGuardProxiesClient {
* @return list of ResourceGuardProxyBase resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String vaultName, Context context);
+ PagedIterable list(String resourceGroupName, String vaultName,
+ Context context);
/**
* Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -54,15 +56,15 @@ PagedIterable list(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return resourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
- * along with {@link Response}.
+ * along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String resourceGuardProxyName, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName,
+ String resourceGuardProxyName, Context context);
/**
* Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -76,7 +78,7 @@ Response getWithResponse(
/**
* Creates or Updates a ResourceGuardProxy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -86,19 +88,15 @@ Response getWithResponse(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return resourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
- * along with {@link Response}.
+ * along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String vaultName,
- String resourceGuardProxyName,
- ResourceGuardProxyBaseResourceInner parameters,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String vaultName,
+ String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters, Context context);
/**
* Creates or Updates a ResourceGuardProxy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -109,15 +107,12 @@ Response createOrUpdateWithResponse(
* @return resourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ResourceGuardProxyBaseResourceInner createOrUpdate(
- String resourceGroupName,
- String vaultName,
- String resourceGuardProxyName,
- ResourceGuardProxyBaseResourceInner parameters);
+ ResourceGuardProxyBaseResourceInner createOrUpdate(String resourceGroupName, String vaultName,
+ String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters);
/**
* Deletes the ResourceGuardProxy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -128,12 +123,12 @@ ResourceGuardProxyBaseResourceInner createOrUpdate(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String vaultName, String resourceGuardProxyName, Context context);
+ Response deleteWithResponse(String resourceGroupName, String vaultName, String resourceGuardProxyName,
+ Context context);
/**
* Deletes the ResourceGuardProxy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -146,7 +141,7 @@ Response deleteWithResponse(
/**
* UnlockDelete call for ResourceGuardProxy, executed before one can delete it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -158,16 +153,12 @@ Response deleteWithResponse(
* @return response of Unlock Delete API along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response unlockDeleteWithResponse(
- String resourceGroupName,
- String vaultName,
- String resourceGuardProxyName,
- UnlockDeleteRequest parameters,
- Context context);
+ Response unlockDeleteWithResponse(String resourceGroupName, String vaultName,
+ String resourceGuardProxyName, UnlockDeleteRequest parameters, Context context);
/**
* UnlockDelete call for ResourceGuardProxy, executed before one can delete it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param resourceGuardProxyName name of the resource guard proxy.
@@ -178,6 +169,6 @@ Response unlockDeleteWithResponse(
* @return response of Unlock Delete API.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- UnlockDeleteResponseInner unlockDelete(
- String resourceGroupName, String vaultName, String resourceGuardProxyName, UnlockDeleteRequest parameters);
+ UnlockDeleteResponseInner unlockDelete(String resourceGroupName, String vaultName, String resourceGuardProxyName,
+ UnlockDeleteRequest parameters);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsClient.java
index 6ae9fd11a96c..03d2ff799d83 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-/** An instance of this class provides access to all the operations defined in ExportJobsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ExportJobsClient.
+ */
public interface ExportJobsClient {
/**
* Triggers export of jobs and returns an OperationID to track.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -27,7 +29,7 @@ public interface ExportJobsClient {
/**
* Triggers export of jobs and returns an OperationID to track.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -41,7 +43,7 @@ public interface ExportJobsClient {
/**
* Triggers export of jobs and returns an OperationID to track.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -53,7 +55,7 @@ public interface ExportJobsClient {
/**
* Triggers export of jobs and returns an OperationID to track.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsOperationResultsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsOperationResultsClient.java
index 3fe6e43504ed..4285545ca431 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsOperationResultsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ExportJobsOperationResultsClient.java
@@ -10,13 +10,15 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.ExportJobsResultInner;
-/** An instance of this class provides access to all the operations defined in ExportJobsOperationResultsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ExportJobsOperationResultsClient.
+ */
public interface ExportJobsOperationResultsClient {
/**
* Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also
* contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized
* format.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId OperationID which represents the export job.
@@ -27,14 +29,14 @@ public interface ExportJobsOperationResultsClient {
* @return the operation result of operation triggered by Export Jobs API along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String operationId, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName, String operationId,
+ Context context);
/**
* Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also
* contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized
* format.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId OperationID which represents the export job.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsClient.java
new file mode 100644
index 000000000000..a7d006e21b06
--- /dev/null
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsClient.java
@@ -0,0 +1,47 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.dataprotection.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupJobResourceInner;
+import com.azure.resourcemanager.dataprotection.models.CrossRegionRestoreJobRequest;
+
+/**
+ * An instance of this class provides access to all the operations defined in FetchCrossRegionRestoreJobsClient.
+ */
+public interface FetchCrossRegionRestoreJobsClient {
+ /**
+ * Fetches the Cross Region Restore Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azureBackup Job Resource Class along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String location,
+ CrossRegionRestoreJobRequest parameters, Context context);
+
+ /**
+ * Fetches the Cross Region Restore Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azureBackup Job Resource Class.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureBackupJobResourceInner get(String resourceGroupName, String location, CrossRegionRestoreJobRequest parameters);
+}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsOperationsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsOperationsClient.java
new file mode 100644
index 000000000000..80d90fb2a3fa
--- /dev/null
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchCrossRegionRestoreJobsOperationsClient.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.dataprotection.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupJobResourceInner;
+import com.azure.resourcemanager.dataprotection.models.CrossRegionRestoreJobsRequest;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * FetchCrossRegionRestoreJobsOperationsClient.
+ */
+public interface FetchCrossRegionRestoreJobsOperationsClient {
+ /**
+ * Fetches list of Cross Region Restore job belonging to the vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of AzureBackup Job resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String location,
+ CrossRegionRestoreJobsRequest parameters);
+
+ /**
+ * Fetches list of Cross Region Restore job belonging to the vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @param filter OData filter options.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of AzureBackup Job resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String location,
+ CrossRegionRestoreJobsRequest parameters, String filter, Context context);
+}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchSecondaryRecoveryPointsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchSecondaryRecoveryPointsClient.java
new file mode 100644
index 000000000000..fd37b095d21f
--- /dev/null
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/FetchSecondaryRecoveryPointsClient.java
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.dataprotection.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupRecoveryPointResourceInner;
+import com.azure.resourcemanager.dataprotection.models.FetchSecondaryRPsRequestParameters;
+
+/**
+ * An instance of this class provides access to all the operations defined in FetchSecondaryRecoveryPointsClient.
+ */
+public interface FetchSecondaryRecoveryPointsClient {
+ /**
+ * Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region
+ * Restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String location,
+ FetchSecondaryRPsRequestParameters parameters);
+
+ /**
+ * Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region
+ * Restore.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The name of the Azure region.
+ * @param parameters Request body for operation.
+ * @param filter OData filter options.
+ * @param skipToken skipToken Filter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String location,
+ FetchSecondaryRPsRequestParameters parameters, String filter, String skipToken, Context context);
+}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/JobsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/JobsClient.java
index bcac471a3150..b23201dd55ed 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/JobsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/JobsClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupJobResourceInner;
-/** An instance of this class provides access to all the operations defined in JobsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in JobsClient.
+ */
public interface JobsClient {
/**
* Returns list of jobs belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -28,7 +30,7 @@ public interface JobsClient {
/**
* Returns list of jobs belonging to a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param context The context to associate with this operation.
@@ -42,7 +44,7 @@ public interface JobsClient {
/**
* Gets a job with id in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param jobId The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
@@ -53,12 +55,12 @@ public interface JobsClient {
* @return a job with id in a backup vault along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String jobId, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName, String jobId,
+ Context context);
/**
* Gets a job with id in a backup vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param jobId The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationResultsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationResultsClient.java
index b9abb974daf8..e8a72c71cf6e 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationResultsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationResultsClient.java
@@ -10,13 +10,15 @@
import com.azure.resourcemanager.dataprotection.fluent.models.OperationJobExtendedInfoInner;
import com.azure.resourcemanager.dataprotection.models.OperationResultsGetResponse;
-/** An instance of this class provides access to all the operations defined in OperationResultsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationResultsClient.
+ */
public interface OperationResultsClient {
/**
* Gets the operation status for a resource.
- *
- * Gets the operation result for a resource.
- *
+ *
+ * Gets the operation result for a resource.
+ *
* @param operationId The operationId parameter.
* @param location The location parameter.
* @param context The context to associate with this operation.
@@ -30,9 +32,9 @@ public interface OperationResultsClient {
/**
* Gets the operation status for a resource.
- *
- *
Gets the operation result for a resource.
- *
+ *
+ * Gets the operation result for a resource.
+ *
* @param operationId The operationId parameter.
* @param location The location parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusBackupVaultContextsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusBackupVaultContextsClient.java
index 2436b1a3b6e1..dc63b758f30f 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusBackupVaultContextsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusBackupVaultContextsClient.java
@@ -16,7 +16,7 @@
public interface OperationStatusBackupVaultContextsClient {
/**
* Gets the operation status for an operation over a BackupVault's context.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId The operationId parameter.
@@ -27,12 +27,12 @@ public interface OperationStatusBackupVaultContextsClient {
* @return the operation status for an operation over a BackupVault's context along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String operationId, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName, String operationId,
+ Context context);
/**
* Gets the operation status for an operation over a BackupVault's context.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param operationId The operationId parameter.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusClient.java
index 9a726e19a266..c14fbc3fc2c4 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.OperationResourceInner;
-/** An instance of this class provides access to all the operations defined in OperationStatusClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationStatusClient.
+ */
public interface OperationStatusClient {
/**
* Gets the operation status for a resource.
- *
+ *
* @param location The location parameter.
* @param operationId The operationId parameter.
* @param context The context to associate with this operation.
@@ -28,7 +30,7 @@ public interface OperationStatusClient {
/**
* Gets the operation status for a resource.
- *
+ *
* @param location The location parameter.
* @param operationId The operationId parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusResourceGroupContextsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusResourceGroupContextsClient.java
index fd2ad538c69d..9632c598ea35 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusResourceGroupContextsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/OperationStatusResourceGroupContextsClient.java
@@ -17,7 +17,7 @@
public interface OperationStatusResourceGroupContextsClient {
/**
* Gets the operation status for an operation over a ResourceGroup's context.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId The operationId parameter.
* @param context The context to associate with this operation.
@@ -27,12 +27,12 @@ public interface OperationStatusResourceGroupContextsClient {
* @return the operation status for an operation over a ResourceGroup's context along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String operationId, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String operationId,
+ Context context);
/**
* Gets the operation status for an operation over a ResourceGroup's context.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId The operationId parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RecoveryPointsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RecoveryPointsClient.java
index e64aa095ffe8..8e0487d945ee 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RecoveryPointsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RecoveryPointsClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupRecoveryPointResourceInner;
-/** An instance of this class provides access to all the operations defined in RecoveryPointsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in RecoveryPointsClient.
+ */
public interface RecoveryPointsClient {
/**
* Returns a list of Recovery Points for a DataSource in a vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -25,12 +27,12 @@ public interface RecoveryPointsClient {
* @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String vaultName, String backupInstanceName);
+ PagedIterable list(String resourceGroupName, String vaultName,
+ String backupInstanceName);
/**
* Returns a list of Recovery Points for a DataSource in a vault.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -43,17 +45,12 @@ PagedIterable list(
* @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- String filter,
- String skipToken,
- Context context);
+ PagedIterable list(String resourceGroupName, String vaultName,
+ String backupInstanceName, String filter, String skipToken, Context context);
/**
* Gets a Recovery Point using recoveryPointId for a Datasource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -65,12 +62,12 @@ PagedIterable list(
* @return a Recovery Point using recoveryPointId for a Datasource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String vaultName, String backupInstanceName, String recoveryPointId, Context context);
+ Response getWithResponse(String resourceGroupName, String vaultName,
+ String backupInstanceName, String recoveryPointId, Context context);
/**
* Gets a Recovery Point using recoveryPointId for a Datasource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -81,6 +78,6 @@ Response getWithResponse(
* @return a Recovery Point using recoveryPointId for a Datasource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AzureBackupRecoveryPointResourceInner get(
- String resourceGroupName, String vaultName, String backupInstanceName, String recoveryPointId);
+ AzureBackupRecoveryPointResourceInner get(String resourceGroupName, String vaultName, String backupInstanceName,
+ String recoveryPointId);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ResourceGuardsClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ResourceGuardsClient.java
index acd6878d9e87..57d350014f9d 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ResourceGuardsClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/ResourceGuardsClient.java
@@ -13,11 +13,13 @@
import com.azure.resourcemanager.dataprotection.fluent.models.ResourceGuardResourceInner;
import com.azure.resourcemanager.dataprotection.models.PatchResourceGuardInput;
-/** An instance of this class provides access to all the operations defined in ResourceGuardsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ResourceGuardsClient.
+ */
public interface ResourceGuardsClient {
/**
* Returns ResourceGuards collection belonging to a subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of ResourceGuard resources as paginated response with {@link PagedIterable}.
@@ -27,7 +29,7 @@ public interface ResourceGuardsClient {
/**
* Returns ResourceGuards collection belonging to a subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -39,7 +41,7 @@ public interface ResourceGuardsClient {
/**
* Returns ResourceGuards collection belonging to a ResourceGroup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -51,7 +53,7 @@ public interface ResourceGuardsClient {
/**
* Returns ResourceGuards collection belonging to a ResourceGroup.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,7 +66,7 @@ public interface ResourceGuardsClient {
/**
* Creates or updates a ResourceGuard resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param parameters Request body for operation.
@@ -75,12 +77,12 @@ public interface ResourceGuardsClient {
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response putWithResponse(
- String resourceGroupName, String resourceGuardsName, ResourceGuardResourceInner parameters, Context context);
+ Response putWithResponse(String resourceGroupName, String resourceGuardsName,
+ ResourceGuardResourceInner parameters, Context context);
/**
* Creates or updates a ResourceGuard resource belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param parameters Request body for operation.
@@ -90,12 +92,12 @@ Response putWithResponse(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ResourceGuardResourceInner put(
- String resourceGroupName, String resourceGuardsName, ResourceGuardResourceInner parameters);
+ ResourceGuardResourceInner put(String resourceGroupName, String resourceGuardsName,
+ ResourceGuardResourceInner parameters);
/**
* Returns a ResourceGuard belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param context The context to associate with this operation.
@@ -105,12 +107,12 @@ ResourceGuardResourceInner put(
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String resourceGuardsName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns a ResourceGuard belonging to a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -123,7 +125,7 @@ Response getByResourceGroupWithResponse(
/**
* Deletes a ResourceGuard resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param context The context to associate with this operation.
@@ -137,7 +139,7 @@ Response getByResourceGroupWithResponse(
/**
* Deletes a ResourceGuard resource from the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -149,7 +151,7 @@ Response getByResourceGroupWithResponse(
/**
* Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param parameters Request body for operation.
@@ -160,12 +162,12 @@ Response getByResourceGroupWithResponse(
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response patchWithResponse(
- String resourceGroupName, String resourceGuardsName, PatchResourceGuardInput parameters, Context context);
+ Response patchWithResponse(String resourceGroupName, String resourceGuardsName,
+ PatchResourceGuardInput parameters, Context context);
/**
* Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The name of ResourceGuard.
* @param parameters Request body for operation.
@@ -175,13 +177,13 @@ Response patchWithResponse(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ResourceGuardResourceInner patch(
- String resourceGroupName, String resourceGuardsName, PatchResourceGuardInput parameters);
+ ResourceGuardResourceInner patch(String resourceGroupName, String resourceGuardsName,
+ PatchResourceGuardInput parameters);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -190,13 +192,13 @@ ResourceGuardResourceInner patch(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDisableSoftDeleteRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getDisableSoftDeleteRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -206,13 +208,13 @@ PagedIterable getDisableSoftDeleteRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDisableSoftDeleteRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getDisableSoftDeleteRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -221,13 +223,13 @@ PagedIterable getDisableSoftDeleteRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDeleteResourceGuardProxyRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getDeleteResourceGuardProxyRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -237,13 +239,13 @@ PagedIterable getDeleteResourceGuardProxyRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDeleteResourceGuardProxyRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getDeleteResourceGuardProxyRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -252,13 +254,13 @@ PagedIterable getDeleteResourceGuardProxyRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getBackupSecurityPinRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getBackupSecurityPinRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -268,13 +270,13 @@ PagedIterable getBackupSecurityPinRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getBackupSecurityPinRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getBackupSecurityPinRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -283,13 +285,13 @@ PagedIterable getBackupSecurityPinRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDeleteProtectedItemRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getDeleteProtectedItemRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -299,13 +301,13 @@ PagedIterable getDeleteProtectedItemRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getDeleteProtectedItemRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getDeleteProtectedItemRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -314,13 +316,13 @@ PagedIterable getDeleteProtectedItemRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getUpdateProtectionPolicyRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getUpdateProtectionPolicyRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -330,13 +332,13 @@ PagedIterable getUpdateProtectionPolicyRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getUpdateProtectionPolicyRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getUpdateProtectionPolicyRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -345,13 +347,13 @@ PagedIterable getUpdateProtectionPolicyRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getUpdateProtectedItemRequestsObjects(
- String resourceGroupName, String resourceGuardsName);
+ PagedIterable getUpdateProtectedItemRequestsObjects(String resourceGroupName,
+ String resourceGuardsName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param context The context to associate with this operation.
@@ -361,13 +363,13 @@ PagedIterable getUpdateProtectedItemRequestsObjects(
* @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable getUpdateProtectedItemRequestsObjects(
- String resourceGroupName, String resourceGuardsName, Context context);
+ PagedIterable getUpdateProtectedItemRequestsObjects(String resourceGroupName,
+ String resourceGuardsName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -378,13 +380,13 @@ PagedIterable getUpdateProtectedItemRequestsObjects(
* @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDefaultDisableSoftDeleteRequestsObjectWithResponse(
- String resourceGroupName, String resourceGuardsName, String requestName, Context context);
+ Response getDefaultDisableSoftDeleteRequestsObjectWithResponse(String resourceGroupName,
+ String resourceGuardsName, String requestName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -394,13 +396,13 @@ Response getDefaultDisableSoftDeleteRequestsObjectWithResp
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultDisableSoftDeleteRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultDisableSoftDeleteRequestsObject(String resourceGroupName, String resourceGuardsName,
+ String requestName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -417,7 +419,7 @@ Response getDefaultDeleteResourceGuardProxyRequestsObjectW
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -427,13 +429,13 @@ Response getDefaultDeleteResourceGuardProxyRequestsObjectW
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultDeleteResourceGuardProxyRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultDeleteResourceGuardProxyRequestsObject(String resourceGroupName,
+ String resourceGuardsName, String requestName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -444,13 +446,13 @@ DppBaseResourceInner getDefaultDeleteResourceGuardProxyRequestsObject(
* @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDefaultBackupSecurityPinRequestsObjectWithResponse(
- String resourceGroupName, String resourceGuardsName, String requestName, Context context);
+ Response getDefaultBackupSecurityPinRequestsObjectWithResponse(String resourceGroupName,
+ String resourceGuardsName, String requestName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -460,13 +462,13 @@ Response getDefaultBackupSecurityPinRequestsObjectWithResp
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultBackupSecurityPinRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultBackupSecurityPinRequestsObject(String resourceGroupName, String resourceGuardsName,
+ String requestName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -477,13 +479,13 @@ DppBaseResourceInner getDefaultBackupSecurityPinRequestsObject(
* @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDefaultDeleteProtectedItemRequestsObjectWithResponse(
- String resourceGroupName, String resourceGuardsName, String requestName, Context context);
+ Response getDefaultDeleteProtectedItemRequestsObjectWithResponse(String resourceGroupName,
+ String resourceGuardsName, String requestName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -493,13 +495,13 @@ Response getDefaultDeleteProtectedItemRequestsObjectWithRe
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultDeleteProtectedItemRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultDeleteProtectedItemRequestsObject(String resourceGroupName,
+ String resourceGuardsName, String requestName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -510,13 +512,13 @@ DppBaseResourceInner getDefaultDeleteProtectedItemRequestsObject(
* @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDefaultUpdateProtectionPolicyRequestsObjectWithResponse(
- String resourceGroupName, String resourceGuardsName, String requestName, Context context);
+ Response getDefaultUpdateProtectionPolicyRequestsObjectWithResponse(String resourceGroupName,
+ String resourceGuardsName, String requestName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -526,13 +528,13 @@ Response getDefaultUpdateProtectionPolicyRequestsObjectWit
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultUpdateProtectionPolicyRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultUpdateProtectionPolicyRequestsObject(String resourceGroupName,
+ String resourceGuardsName, String requestName);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -543,13 +545,13 @@ DppBaseResourceInner getDefaultUpdateProtectionPolicyRequestsObject(
* @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDefaultUpdateProtectedItemRequestsObjectWithResponse(
- String resourceGroupName, String resourceGuardsName, String requestName, Context context);
+ Response getDefaultUpdateProtectedItemRequestsObjectWithResponse(String resourceGroupName,
+ String resourceGuardsName, String requestName, Context context);
/**
* Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardsName The resourceGuardsName parameter.
* @param requestName The requestName parameter.
@@ -559,6 +561,6 @@ Response getDefaultUpdateProtectedItemRequestsObjectWithRe
* @return base resource under Microsoft.DataProtection provider namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DppBaseResourceInner getDefaultUpdateProtectedItemRequestsObject(
- String resourceGroupName, String resourceGuardsName, String requestName);
+ DppBaseResourceInner getDefaultUpdateProtectedItemRequestsObject(String resourceGroupName,
+ String resourceGuardsName, String requestName);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RestorableTimeRangesClient.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RestorableTimeRangesClient.java
index f23fcf6392b9..bd46e72b002a 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RestorableTimeRangesClient.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/RestorableTimeRangesClient.java
@@ -11,11 +11,13 @@
import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupFindRestorableTimeRangesResponseResourceInner;
import com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesRequest;
-/** An instance of this class provides access to all the operations defined in RestorableTimeRangesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in RestorableTimeRangesClient.
+ */
public interface RestorableTimeRangesClient {
/**
* The find operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -27,16 +29,13 @@ public interface RestorableTimeRangesClient {
* @return list Restore Ranges Response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response findWithResponse(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupFindRestorableTimeRangesRequest parameters,
+ Response findWithResponse(String resourceGroupName,
+ String vaultName, String backupInstanceName, AzureBackupFindRestorableTimeRangesRequest parameters,
Context context);
/**
* The find operation.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
@@ -47,9 +46,6 @@ Response findWithRespo
* @return list Restore Ranges Response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AzureBackupFindRestorableTimeRangesResponseResourceInner find(
- String resourceGroupName,
- String vaultName,
- String backupInstanceName,
- AzureBackupFindRestorableTimeRangesRequest parameters);
+ AzureBackupFindRestorableTimeRangesResponseResourceInner find(String resourceGroupName, String vaultName,
+ String backupInstanceName, AzureBackupFindRestorableTimeRangesRequest parameters);
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupFindRestorableTimeRangesResponseResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupFindRestorableTimeRangesResponseResourceInner.java
index 5d5189d4ce27..7f572e73ee62 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupFindRestorableTimeRangesResponseResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupFindRestorableTimeRangesResponseResourceInner.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.dataprotection.models.DppResource;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** List Restore Ranges Response. */
+/**
+ * List Restore Ranges Response.
+ */
@Fluent
public final class AzureBackupFindRestorableTimeRangesResponseResourceInner extends DppResource {
/*
@@ -18,13 +20,15 @@ public final class AzureBackupFindRestorableTimeRangesResponseResourceInner exte
@JsonProperty(value = "properties")
private AzureBackupFindRestorableTimeRangesResponse properties;
- /** Creates an instance of AzureBackupFindRestorableTimeRangesResponseResourceInner class. */
+ /**
+ * Creates an instance of AzureBackupFindRestorableTimeRangesResponseResourceInner class.
+ */
public AzureBackupFindRestorableTimeRangesResponseResourceInner() {
}
/**
* Get the properties property: AzureBackupFindRestorableTimeRangesResponseResource properties.
- *
+ *
* @return the properties value.
*/
public AzureBackupFindRestorableTimeRangesResponse properties() {
@@ -33,19 +37,19 @@ public AzureBackupFindRestorableTimeRangesResponse properties() {
/**
* Set the properties property: AzureBackupFindRestorableTimeRangesResponseResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the AzureBackupFindRestorableTimeRangesResponseResourceInner object itself.
*/
- public AzureBackupFindRestorableTimeRangesResponseResourceInner withProperties(
- AzureBackupFindRestorableTimeRangesResponse properties) {
+ public AzureBackupFindRestorableTimeRangesResponseResourceInner
+ withProperties(AzureBackupFindRestorableTimeRangesResponse properties) {
this.properties = properties;
return this;
}
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupJobResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupJobResourceInner.java
index 17d703c255ba..12fd5661e9a5 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupJobResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupJobResourceInner.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.dataprotection.models.DppResource;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** AzureBackup Job Resource Class. */
+/**
+ * AzureBackup Job Resource Class.
+ */
@Fluent
public final class AzureBackupJobResourceInner extends DppResource {
/*
@@ -18,13 +20,15 @@ public final class AzureBackupJobResourceInner extends DppResource {
@JsonProperty(value = "properties")
private AzureBackupJob properties;
- /** Creates an instance of AzureBackupJobResourceInner class. */
+ /**
+ * Creates an instance of AzureBackupJobResourceInner class.
+ */
public AzureBackupJobResourceInner() {
}
/**
* Get the properties property: AzureBackupJobResource properties.
- *
+ *
* @return the properties value.
*/
public AzureBackupJob properties() {
@@ -33,7 +37,7 @@ public AzureBackupJob properties() {
/**
* Set the properties property: AzureBackupJobResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the AzureBackupJobResourceInner object itself.
*/
@@ -44,7 +48,7 @@ public AzureBackupJobResourceInner withProperties(AzureBackupJob properties) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupRecoveryPointResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupRecoveryPointResourceInner.java
index 8cb518ce0001..d88335e24416 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupRecoveryPointResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/AzureBackupRecoveryPointResourceInner.java
@@ -11,28 +11,30 @@
/**
* AzureBackupRecoveryPointResource
- *
- * Azure backup recoveryPoint resource.
+ *
+ * Azure backup recoveryPoint resource.
*/
@Fluent
public final class AzureBackupRecoveryPointResourceInner extends DppResource {
/*
* AzureBackupRecoveryPoint
- *
+ *
* AzureBackupRecoveryPointResource properties
*/
@JsonProperty(value = "properties")
private AzureBackupRecoveryPoint properties;
- /** Creates an instance of AzureBackupRecoveryPointResourceInner class. */
+ /**
+ * Creates an instance of AzureBackupRecoveryPointResourceInner class.
+ */
public AzureBackupRecoveryPointResourceInner() {
}
/**
* Get the properties property: AzureBackupRecoveryPoint
- *
- *
AzureBackupRecoveryPointResource properties.
- *
+ *
+ * AzureBackupRecoveryPointResource properties.
+ *
* @return the properties value.
*/
public AzureBackupRecoveryPoint properties() {
@@ -41,9 +43,9 @@ public AzureBackupRecoveryPoint properties() {
/**
* Set the properties property: AzureBackupRecoveryPoint
- *
- *
AzureBackupRecoveryPointResource properties.
- *
+ *
+ * AzureBackupRecoveryPointResource properties.
+ *
* @param properties the properties value to set.
* @return the AzureBackupRecoveryPointResourceInner object itself.
*/
@@ -54,7 +56,7 @@ public AzureBackupRecoveryPointResourceInner withProperties(AzureBackupRecoveryP
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupInstanceResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupInstanceResourceInner.java
index e02f5028b7d1..1af6152b81d0 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupInstanceResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupInstanceResourceInner.java
@@ -12,8 +12,8 @@
/**
* BackupInstanceResource
- *
- *
BackupInstance Resource.
+ *
+ * BackupInstance Resource.
*/
@Fluent
public final class BackupInstanceResourceInner extends DppProxyResource {
@@ -23,13 +23,15 @@ public final class BackupInstanceResourceInner extends DppProxyResource {
@JsonProperty(value = "properties")
private BackupInstance properties;
- /** Creates an instance of BackupInstanceResourceInner class. */
+ /**
+ * Creates an instance of BackupInstanceResourceInner class.
+ */
public BackupInstanceResourceInner() {
}
/**
* Get the properties property: BackupInstanceResource properties.
- *
+ *
* @return the properties value.
*/
public BackupInstance properties() {
@@ -38,7 +40,7 @@ public BackupInstance properties() {
/**
* Set the properties property: BackupInstanceResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the BackupInstanceResourceInner object itself.
*/
@@ -47,7 +49,9 @@ public BackupInstanceResourceInner withProperties(BackupInstance properties) {
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public BackupInstanceResourceInner withTags(Map tags) {
super.withTags(tags);
@@ -56,7 +60,7 @@ public BackupInstanceResourceInner withTags(Map tags) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupVaultResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupVaultResourceInner.java
index 4107c3fd2912..a4880884bf87 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupVaultResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BackupVaultResourceInner.java
@@ -14,28 +14,30 @@
/**
* BackupVault Resource
- *
- * Backup Vault Resource.
+ *
+ * Backup Vault Resource.
*/
@Fluent
public final class BackupVaultResourceInner extends DppTrackedResource {
/*
* BackupVault
- *
+ *
* BackupVaultResource properties
*/
@JsonProperty(value = "properties", required = true)
private BackupVault properties;
- /** Creates an instance of BackupVaultResourceInner class. */
+ /**
+ * Creates an instance of BackupVaultResourceInner class.
+ */
public BackupVaultResourceInner() {
}
/**
* Get the properties property: BackupVault
- *
- *
BackupVaultResource properties.
- *
+ *
+ * BackupVaultResource properties.
+ *
* @return the properties value.
*/
public BackupVault properties() {
@@ -44,9 +46,9 @@ public BackupVault properties() {
/**
* Set the properties property: BackupVault
- *
- *
BackupVaultResource properties.
- *
+ *
+ * BackupVaultResource properties.
+ *
* @param properties the properties value to set.
* @return the BackupVaultResourceInner object itself.
*/
@@ -55,28 +57,36 @@ public BackupVaultResourceInner withProperties(BackupVault properties) {
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public BackupVaultResourceInner withIdentity(DppIdentityDetails identity) {
super.withIdentity(identity);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public BackupVaultResourceInner withEtag(String etag) {
super.withEtag(etag);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public BackupVaultResourceInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public BackupVaultResourceInner withTags(Map tags) {
super.withTags(tags);
@@ -85,17 +95,15 @@ public BackupVaultResourceInner withTags(Map tags) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
if (properties() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property properties in model BackupVaultResourceInner"));
+ throw LOGGER.logExceptionAsError(
+ new IllegalArgumentException("Missing required property properties in model BackupVaultResourceInner"));
} else {
properties().validate();
}
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BaseBackupPolicyResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BaseBackupPolicyResourceInner.java
index 2212727fe07e..5c83a1d54390 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BaseBackupPolicyResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/BaseBackupPolicyResourceInner.java
@@ -11,28 +11,30 @@
/**
* BaseBackupPolicyResource
- *
- * BaseBackupPolicy resource.
+ *
+ * BaseBackupPolicy resource.
*/
@Fluent
public final class BaseBackupPolicyResourceInner extends DppResource {
/*
* BaseBackupPolicy
- *
+ *
* BaseBackupPolicyResource properties
*/
@JsonProperty(value = "properties")
private BaseBackupPolicy properties;
- /** Creates an instance of BaseBackupPolicyResourceInner class. */
+ /**
+ * Creates an instance of BaseBackupPolicyResourceInner class.
+ */
public BaseBackupPolicyResourceInner() {
}
/**
* Get the properties property: BaseBackupPolicy
- *
- *
BaseBackupPolicyResource properties.
- *
+ *
+ * BaseBackupPolicyResource properties.
+ *
* @return the properties value.
*/
public BaseBackupPolicy properties() {
@@ -41,9 +43,9 @@ public BaseBackupPolicy properties() {
/**
* Set the properties property: BaseBackupPolicy
- *
- *
BaseBackupPolicyResource properties.
- *
+ *
+ * BaseBackupPolicyResource properties.
+ *
* @param properties the properties value to set.
* @return the BaseBackupPolicyResourceInner object itself.
*/
@@ -54,7 +56,7 @@ public BaseBackupPolicyResourceInner withProperties(BaseBackupPolicy properties)
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/CheckNameAvailabilityResultInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/CheckNameAvailabilityResultInner.java
index 7adeff1ad143..61c6713c9eaa 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/CheckNameAvailabilityResultInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/CheckNameAvailabilityResultInner.java
@@ -9,8 +9,8 @@
/**
* CheckNameAvailabilityResult
- *
- *
CheckNameAvailability Result.
+ *
+ * CheckNameAvailability Result.
*/
@Fluent
public final class CheckNameAvailabilityResultInner {
@@ -32,13 +32,15 @@ public final class CheckNameAvailabilityResultInner {
@JsonProperty(value = "reason")
private String reason;
- /** Creates an instance of CheckNameAvailabilityResultInner class. */
+ /**
+ * Creates an instance of CheckNameAvailabilityResultInner class.
+ */
public CheckNameAvailabilityResultInner() {
}
/**
* Get the message property: Gets or sets the message.
- *
+ *
* @return the message value.
*/
public String message() {
@@ -47,7 +49,7 @@ public String message() {
/**
* Set the message property: Gets or sets the message.
- *
+ *
* @param message the message value to set.
* @return the CheckNameAvailabilityResultInner object itself.
*/
@@ -58,7 +60,7 @@ public CheckNameAvailabilityResultInner withMessage(String message) {
/**
* Get the nameAvailable property: Gets or sets a value indicating whether [name available].
- *
+ *
* @return the nameAvailable value.
*/
public Boolean nameAvailable() {
@@ -67,7 +69,7 @@ public Boolean nameAvailable() {
/**
* Set the nameAvailable property: Gets or sets a value indicating whether [name available].
- *
+ *
* @param nameAvailable the nameAvailable value to set.
* @return the CheckNameAvailabilityResultInner object itself.
*/
@@ -78,7 +80,7 @@ public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
/**
* Get the reason property: Gets or sets the reason.
- *
+ *
* @return the reason value.
*/
public String reason() {
@@ -87,7 +89,7 @@ public String reason() {
/**
* Set the reason property: Gets or sets the reason.
- *
+ *
* @param reason the reason value to set.
* @return the CheckNameAvailabilityResultInner object itself.
*/
@@ -98,7 +100,7 @@ public CheckNameAvailabilityResultInner withReason(String reason) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ClientDiscoveryValueForSingleApiInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ClientDiscoveryValueForSingleApiInner.java
index b7177303fb6d..8f7f84778999 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ClientDiscoveryValueForSingleApiInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ClientDiscoveryValueForSingleApiInner.java
@@ -11,14 +11,14 @@
/**
* ClientDiscoveryValueForSingleApi
- *
- *
Available operation details.
+ *
+ * Available operation details.
*/
@Fluent
public final class ClientDiscoveryValueForSingleApiInner {
/*
* ClientDiscoveryDisplay
- *
+ *
* Contains the localized display information for this particular operation
*/
@JsonProperty(value = "display")
@@ -44,21 +44,23 @@ public final class ClientDiscoveryValueForSingleApiInner {
/*
* ClientDiscoveryForProperties
- *
+ *
* Properties for the given operation.
*/
@JsonProperty(value = "properties")
private ClientDiscoveryForProperties properties;
- /** Creates an instance of ClientDiscoveryValueForSingleApiInner class. */
+ /**
+ * Creates an instance of ClientDiscoveryValueForSingleApiInner class.
+ */
public ClientDiscoveryValueForSingleApiInner() {
}
/**
* Get the display property: ClientDiscoveryDisplay
- *
- *
Contains the localized display information for this particular operation.
- *
+ *
+ * Contains the localized display information for this particular operation.
+ *
* @return the display value.
*/
public ClientDiscoveryDisplay display() {
@@ -67,9 +69,9 @@ public ClientDiscoveryDisplay display() {
/**
* Set the display property: ClientDiscoveryDisplay
- *
- *
Contains the localized display information for this particular operation.
- *
+ *
+ * Contains the localized display information for this particular operation.
+ *
* @param display the display value to set.
* @return the ClientDiscoveryValueForSingleApiInner object itself.
*/
@@ -80,7 +82,7 @@ public ClientDiscoveryValueForSingleApiInner withDisplay(ClientDiscoveryDisplay
/**
* Get the name property: Name of the Operation.
- *
+ *
* @return the name value.
*/
public String name() {
@@ -89,7 +91,7 @@ public String name() {
/**
* Set the name property: Name of the Operation.
- *
+ *
* @param name the name value to set.
* @return the ClientDiscoveryValueForSingleApiInner object itself.
*/
@@ -100,7 +102,7 @@ public ClientDiscoveryValueForSingleApiInner withName(String name) {
/**
* Get the isDataAction property: Indicates whether the operation is a data action.
- *
+ *
* @return the isDataAction value.
*/
public Boolean isDataAction() {
@@ -109,7 +111,7 @@ public Boolean isDataAction() {
/**
* Set the isDataAction property: Indicates whether the operation is a data action.
- *
+ *
* @param isDataAction the isDataAction value to set.
* @return the ClientDiscoveryValueForSingleApiInner object itself.
*/
@@ -121,7 +123,7 @@ public ClientDiscoveryValueForSingleApiInner withIsDataAction(Boolean isDataActi
/**
* Get the origin property: The intended executor of the operation;governs the display of the operation in the RBAC
* UX and the audit logs UX.
- *
+ *
* @return the origin value.
*/
public String origin() {
@@ -131,7 +133,7 @@ public String origin() {
/**
* Set the origin property: The intended executor of the operation;governs the display of the operation in the RBAC
* UX and the audit logs UX.
- *
+ *
* @param origin the origin value to set.
* @return the ClientDiscoveryValueForSingleApiInner object itself.
*/
@@ -142,9 +144,9 @@ public ClientDiscoveryValueForSingleApiInner withOrigin(String origin) {
/**
* Get the properties property: ClientDiscoveryForProperties
- *
- *
Properties for the given operation.
- *
+ *
+ * Properties for the given operation.
+ *
* @return the properties value.
*/
public ClientDiscoveryForProperties properties() {
@@ -153,9 +155,9 @@ public ClientDiscoveryForProperties properties() {
/**
* Set the properties property: ClientDiscoveryForProperties
- *
- *
Properties for the given operation.
- *
+ *
+ * Properties for the given operation.
+ *
* @param properties the properties value to set.
* @return the ClientDiscoveryValueForSingleApiInner object itself.
*/
@@ -166,7 +168,7 @@ public ClientDiscoveryValueForSingleApiInner withProperties(ClientDiscoveryForPr
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DeletedBackupInstanceResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DeletedBackupInstanceResourceInner.java
index d43cf4218284..0c69137e7a87 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DeletedBackupInstanceResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DeletedBackupInstanceResourceInner.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.dataprotection.models.DppResource;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Deleted Backup Instance. */
+/**
+ * Deleted Backup Instance.
+ */
@Fluent
public final class DeletedBackupInstanceResourceInner extends DppResource {
/*
@@ -18,13 +20,15 @@ public final class DeletedBackupInstanceResourceInner extends DppResource {
@JsonProperty(value = "properties")
private DeletedBackupInstance properties;
- /** Creates an instance of DeletedBackupInstanceResourceInner class. */
+ /**
+ * Creates an instance of DeletedBackupInstanceResourceInner class.
+ */
public DeletedBackupInstanceResourceInner() {
}
/**
* Get the properties property: DeletedBackupInstanceResource properties.
- *
+ *
* @return the properties value.
*/
public DeletedBackupInstance properties() {
@@ -33,7 +37,7 @@ public DeletedBackupInstance properties() {
/**
* Set the properties property: DeletedBackupInstanceResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the DeletedBackupInstanceResourceInner object itself.
*/
@@ -44,7 +48,7 @@ public DeletedBackupInstanceResourceInner withProperties(DeletedBackupInstance p
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DppBaseResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DppBaseResourceInner.java
index 50dd4144fbc8..6ec8b07e0cec 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DppBaseResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/DppBaseResourceInner.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Base resource under Microsoft.DataProtection provider namespace. */
+/**
+ * Base resource under Microsoft.DataProtection provider namespace.
+ */
@Immutable
public final class DppBaseResourceInner {
/*
@@ -28,13 +30,15 @@ public final class DppBaseResourceInner {
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
- /** Creates an instance of DppBaseResourceInner class. */
+ /**
+ * Creates an instance of DppBaseResourceInner class.
+ */
public DppBaseResourceInner() {
}
/**
* Get the id property: Resource Id represents the complete path to the resource.
- *
+ *
* @return the id value.
*/
public String id() {
@@ -43,7 +47,7 @@ public String id() {
/**
* Get the name property: Resource name associated with the resource.
- *
+ *
* @return the name value.
*/
public String name() {
@@ -53,7 +57,7 @@ public String name() {
/**
* Get the type property: Resource type represents the complete path of the form
* Namespace/ResourceType/ResourceType/...
- *
+ *
* @return the type value.
*/
public String type() {
@@ -62,7 +66,7 @@ public String type() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ExportJobsResultInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ExportJobsResultInner.java
index 2f302711c684..4d82a4e2e563 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ExportJobsResultInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ExportJobsResultInner.java
@@ -9,8 +9,8 @@
/**
* ExportJobsResult
- *
- *
The result for export jobs containing blob details.
+ *
+ * The result for export jobs containing blob details.
*/
@Immutable
public final class ExportJobsResultInner {
@@ -38,13 +38,15 @@ public final class ExportJobsResultInner {
@JsonProperty(value = "excelFileBlobSasKey", access = JsonProperty.Access.WRITE_ONLY)
private String excelFileBlobSasKey;
- /** Creates an instance of ExportJobsResultInner class. */
+ /**
+ * Creates an instance of ExportJobsResultInner class.
+ */
public ExportJobsResultInner() {
}
/**
* Get the blobUrl property: URL of the blob into which the serialized string of list of jobs is exported.
- *
+ *
* @return the blobUrl value.
*/
public String blobUrl() {
@@ -53,7 +55,7 @@ public String blobUrl() {
/**
* Get the blobSasKey property: SAS key to access the blob.
- *
+ *
* @return the blobSasKey value.
*/
public String blobSasKey() {
@@ -62,7 +64,7 @@ public String blobSasKey() {
/**
* Get the excelFileBlobUrl property: URL of the blob into which the ExcelFile is uploaded.
- *
+ *
* @return the excelFileBlobUrl value.
*/
public String excelFileBlobUrl() {
@@ -71,7 +73,7 @@ public String excelFileBlobUrl() {
/**
* Get the excelFileBlobSasKey property: SAS key to access the ExcelFile blob.
- *
+ *
* @return the excelFileBlobSasKey value.
*/
public String excelFileBlobSasKey() {
@@ -80,7 +82,7 @@ public String excelFileBlobSasKey() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/FeatureValidationResponseBaseInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/FeatureValidationResponseBaseInner.java
index adea05edb0ae..bcb953128ec5 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/FeatureValidationResponseBaseInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/FeatureValidationResponseBaseInner.java
@@ -10,23 +10,27 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
-/** Base class for Backup Feature support. */
+/**
+ * Base class for Backup Feature support.
+ */
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
property = "objectType",
defaultImpl = FeatureValidationResponseBaseInner.class)
@JsonTypeName("FeatureValidationResponseBase")
-@JsonSubTypes({@JsonSubTypes.Type(name = "FeatureValidationResponse", value = FeatureValidationResponse.class)})
+@JsonSubTypes({ @JsonSubTypes.Type(name = "FeatureValidationResponse", value = FeatureValidationResponse.class) })
@Immutable
public class FeatureValidationResponseBaseInner {
- /** Creates an instance of FeatureValidationResponseBaseInner class. */
+ /**
+ * Creates an instance of FeatureValidationResponseBaseInner class.
+ */
public FeatureValidationResponseBaseInner() {
}
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationJobExtendedInfoInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationJobExtendedInfoInner.java
index 8fcec9539b9e..cc7b3b9ed375 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationJobExtendedInfoInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationJobExtendedInfoInner.java
@@ -12,26 +12,28 @@
/**
* OperationJobExtendedInfo
- *
- *
Operation Job Extended Info.
+ *
+ * Operation Job Extended Info.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("OperationJobExtendedInfo")
@Fluent
public final class OperationJobExtendedInfoInner extends OperationExtendedInfo {
/*
- * Arm Id of the job created for this operation.
+ * Name or Arm Id of the job created for this operation.
*/
@JsonProperty(value = "jobId")
private String jobId;
- /** Creates an instance of OperationJobExtendedInfoInner class. */
+ /**
+ * Creates an instance of OperationJobExtendedInfoInner class.
+ */
public OperationJobExtendedInfoInner() {
}
/**
- * Get the jobId property: Arm Id of the job created for this operation.
- *
+ * Get the jobId property: Name or Arm Id of the job created for this operation.
+ *
* @return the jobId value.
*/
public String jobId() {
@@ -39,8 +41,8 @@ public String jobId() {
}
/**
- * Set the jobId property: Arm Id of the job created for this operation.
- *
+ * Set the jobId property: Name or Arm Id of the job created for this operation.
+ *
* @param jobId the jobId value to set.
* @return the OperationJobExtendedInfoInner object itself.
*/
@@ -51,7 +53,7 @@ public OperationJobExtendedInfoInner withJobId(String jobId) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationResourceInner.java
index b4a756ef7ea3..fc60050308a5 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/OperationResourceInner.java
@@ -12,8 +12,8 @@
/**
* OperationResource
- *
- *
Operation Resource.
+ *
+ * Operation Resource.
*/
@Fluent
public final class OperationResourceInner {
@@ -45,7 +45,7 @@ public final class OperationResourceInner {
/*
* OperationExtendedInfo
- *
+ *
* End time of the operation
*/
@JsonProperty(value = "properties")
@@ -63,13 +63,15 @@ public final class OperationResourceInner {
@JsonProperty(value = "status")
private String status;
- /** Creates an instance of OperationResourceInner class. */
+ /**
+ * Creates an instance of OperationResourceInner class.
+ */
public OperationResourceInner() {
}
/**
* Get the endTime property: End time of the operation.
- *
+ *
* @return the endTime value.
*/
public OffsetDateTime endTime() {
@@ -78,7 +80,7 @@ public OffsetDateTime endTime() {
/**
* Set the endTime property: End time of the operation.
- *
+ *
* @param endTime the endTime value to set.
* @return the OperationResourceInner object itself.
*/
@@ -89,9 +91,9 @@ public OperationResourceInner withEndTime(OffsetDateTime endTime) {
/**
* Get the error property: Required if status == failed or status == canceled. This is the OData v4 error format,
- * used by the RPC and will go into the v2.2 Azure REST API guidelines. The full set of optional properties (e.g.
- * inner errors / details) can be found in the "Error Response" section.
- *
+ * used by the RPC and will go into the v2.2 Azure REST API guidelines.
+ * The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section.
+ *
* @return the error value.
*/
public ManagementError error() {
@@ -100,9 +102,9 @@ public ManagementError error() {
/**
* Set the error property: Required if status == failed or status == canceled. This is the OData v4 error format,
- * used by the RPC and will go into the v2.2 Azure REST API guidelines. The full set of optional properties (e.g.
- * inner errors / details) can be found in the "Error Response" section.
- *
+ * used by the RPC and will go into the v2.2 Azure REST API guidelines.
+ * The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section.
+ *
* @param error the error value to set.
* @return the OperationResourceInner object itself.
*/
@@ -113,7 +115,7 @@ public OperationResourceInner withError(ManagementError error) {
/**
* Get the id property: It should match what is used to GET the operation result.
- *
+ *
* @return the id value.
*/
public String id() {
@@ -122,7 +124,7 @@ public String id() {
/**
* Set the id property: It should match what is used to GET the operation result.
- *
+ *
* @param id the id value to set.
* @return the OperationResourceInner object itself.
*/
@@ -134,7 +136,7 @@ public OperationResourceInner withId(String id) {
/**
* Get the name property: It must match the last segment of the "id" field, and will typically be a GUID / system
* generated value.
- *
+ *
* @return the name value.
*/
public String name() {
@@ -144,7 +146,7 @@ public String name() {
/**
* Set the name property: It must match the last segment of the "id" field, and will typically be a GUID / system
* generated value.
- *
+ *
* @param name the name value to set.
* @return the OperationResourceInner object itself.
*/
@@ -155,9 +157,9 @@ public OperationResourceInner withName(String name) {
/**
* Get the properties property: OperationExtendedInfo
- *
- *
End time of the operation.
- *
+ *
+ * End time of the operation.
+ *
* @return the properties value.
*/
public OperationExtendedInfo properties() {
@@ -166,9 +168,9 @@ public OperationExtendedInfo properties() {
/**
* Set the properties property: OperationExtendedInfo
- *
- *
End time of the operation.
- *
+ *
+ * End time of the operation.
+ *
* @param properties the properties value to set.
* @return the OperationResourceInner object itself.
*/
@@ -179,7 +181,7 @@ public OperationResourceInner withProperties(OperationExtendedInfo properties) {
/**
* Get the startTime property: Start time of the operation.
- *
+ *
* @return the startTime value.
*/
public OffsetDateTime startTime() {
@@ -188,7 +190,7 @@ public OffsetDateTime startTime() {
/**
* Set the startTime property: Start time of the operation.
- *
+ *
* @param startTime the startTime value to set.
* @return the OperationResourceInner object itself.
*/
@@ -199,7 +201,7 @@ public OperationResourceInner withStartTime(OffsetDateTime startTime) {
/**
* Get the status property: The status property.
- *
+ *
* @return the status value.
*/
public String status() {
@@ -208,7 +210,7 @@ public String status() {
/**
* Set the status property: The status property.
- *
+ *
* @param status the status value to set.
* @return the OperationResourceInner object itself.
*/
@@ -219,7 +221,7 @@ public OperationResourceInner withStatus(String status) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardProxyBaseResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardProxyBaseResourceInner.java
index 74f1a3ed9c83..7ce0d4bb50cb 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardProxyBaseResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardProxyBaseResourceInner.java
@@ -9,7 +9,9 @@
import com.azure.resourcemanager.dataprotection.models.ResourceGuardProxyBase;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs. */
+/**
+ * ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs.
+ */
@Fluent
public final class ResourceGuardProxyBaseResourceInner extends DppResource {
/*
@@ -18,13 +20,15 @@ public final class ResourceGuardProxyBaseResourceInner extends DppResource {
@JsonProperty(value = "properties")
private ResourceGuardProxyBase properties;
- /** Creates an instance of ResourceGuardProxyBaseResourceInner class. */
+ /**
+ * Creates an instance of ResourceGuardProxyBaseResourceInner class.
+ */
public ResourceGuardProxyBaseResourceInner() {
}
/**
* Get the properties property: ResourceGuardProxyBaseResource properties.
- *
+ *
* @return the properties value.
*/
public ResourceGuardProxyBase properties() {
@@ -33,7 +37,7 @@ public ResourceGuardProxyBase properties() {
/**
* Set the properties property: ResourceGuardProxyBaseResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the ResourceGuardProxyBaseResourceInner object itself.
*/
@@ -44,7 +48,7 @@ public ResourceGuardProxyBaseResourceInner withProperties(ResourceGuardProxyBase
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
diff --git a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardResourceInner.java b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardResourceInner.java
index fbacaff915a0..76df24be46b1 100644
--- a/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardResourceInner.java
+++ b/sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/fluent/models/ResourceGuardResourceInner.java
@@ -10,7 +10,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** The ResourceGuardResource model. */
+/**
+ * The ResourceGuardResource model.
+ */
@Fluent
public final class ResourceGuardResourceInner extends DppBaseTrackedResource {
/*
@@ -19,13 +21,15 @@ public final class ResourceGuardResourceInner extends DppBaseTrackedResource {
@JsonProperty(value = "properties")
private ResourceGuard properties;
- /** Creates an instance of ResourceGuardResourceInner class. */
+ /**
+ * Creates an instance of ResourceGuardResourceInner class.
+ */
public ResourceGuardResourceInner() {
}
/**
* Get the properties property: ResourceGuardResource properties.
- *
+ *
* @return the properties value.
*/
public ResourceGuard properties() {
@@ -34,7 +38,7 @@ public ResourceGuard properties() {
/**
* Set the properties property: ResourceGuardResource properties.
- *
+ *
* @param properties the properties value to set.
* @return the ResourceGuardResourceInner object itself.
*/
@@ -43,21 +47,27 @@ public ResourceGuardResourceInner withProperties(ResourceGuard properties) {
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public ResourceGuardResourceInner withEtag(String etag) {
super.withEtag(etag);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public ResourceGuardResourceInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public ResourceGuardResourceInner withTags(Map