Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-recoveryservicesbackup] Fixing s360 correctness items #11645

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-12-03)

- Azure Resource Manager RecoveryServicesBackup client library for Java. This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2021-08. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager RecoveryServicesBackup client library for Java.

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2021-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2021-08. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-recoveryservicesbackup</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for RecoveryServicesBackup Management</name>
<description>This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2021-07.</description>
<description>This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2021-08.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
.append("-")
.append("com.azure.resourcemanager.recoveryservicesbackup")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ public ResourceGuardProxyOperationsClient getResourceGuardProxyOperations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2021-07-01";
this.apiVersion = "2021-08-01";
this.backupResourceStorageConfigsNonCrrs = new BackupResourceStorageConfigsNonCrrsClientImpl(this);
this.protectionIntents = new ProtectionIntentsClientImpl(this);
this.backupStatus = new BackupStatusClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,6 @@ public class IaasVMRestoreRequest extends RestoreRequest {
@JsonProperty(value = "identityInfo")
private IdentityInfo identityInfo;

/*
* IaaS VM workload specific restore details for restores using managed
* identity.
*/
@JsonProperty(value = "identityBasedRestoreDetails")
private IdentityBasedRestoreDetails identityBasedRestoreDetails;

/**
* Get the recoveryPointId property: ID of the backup copy to be recovered.
*
Expand Down Expand Up @@ -569,29 +562,6 @@ public IaasVMRestoreRequest withIdentityInfo(IdentityInfo identityInfo) {
return this;
}

/**
* Get the identityBasedRestoreDetails property: IaaS VM workload specific restore details for restores using
* managed identity.
*
* @return the identityBasedRestoreDetails value.
*/
public IdentityBasedRestoreDetails identityBasedRestoreDetails() {
return this.identityBasedRestoreDetails;
}

/**
* Set the identityBasedRestoreDetails property: IaaS VM workload specific restore details for restores using
* managed identity.
*
* @param identityBasedRestoreDetails the identityBasedRestoreDetails value to set.
* @return the IaasVMRestoreRequest object itself.
*/
public IaasVMRestoreRequest withIdentityBasedRestoreDetails(
IdentityBasedRestoreDetails identityBasedRestoreDetails) {
this.identityBasedRestoreDetails = identityBasedRestoreDetails;
return this;
}

/**
* Validates the instance.
*
Expand All @@ -606,8 +576,5 @@ public void validate() {
if (identityInfo() != null) {
identityInfo().validate();
}
if (identityBasedRestoreDetails() != null) {
identityBasedRestoreDetails().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,6 @@ public IaasVMRestoreWithRehydrationRequest withIdentityInfo(IdentityInfo identit
return this;
}

/** {@inheritDoc} */
@Override
public IaasVMRestoreWithRehydrationRequest withIdentityBasedRestoreDetails(
IdentityBasedRestoreDetails identityBasedRestoreDetails) {
super.withIdentityBasedRestoreDetails(identityBasedRestoreDetails);
return this;
}

/**
* Validates the instance.
*
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupEngines Get. */
public final class BackupEnginesGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Dpm/BackupEngines_Get.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Dpm/BackupEngines_Get.json
*/
/**
* Sample code: Get Dpm/AzureBackupServer/Lajolla Backup Engine Details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupEngines List. */
public final class BackupEnginesListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Dpm/BackupEngines_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Dpm/BackupEngines_List.json
*/
/**
* Sample code: List Dpm/AzureBackupServer/Lajolla Backup Engines.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupJobs List. */
public final class BackupJobsListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/ListJobs.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/ListJobs.json
*/
/**
* Sample code: List All Jobs.
Expand All @@ -22,7 +22,7 @@ public static void listAllJobs(
}

/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/ListJobsWithAllSupportedFilters.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/ListJobsWithAllSupportedFilters.json
*/
/**
* Sample code: List Jobs With Filters.
Expand All @@ -43,7 +43,7 @@ public static void listJobsWithFilters(
}

/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
*/
/**
* Sample code: List Jobs With Time Filter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupOperationResults Get. */
public final class BackupOperationResultsGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/ProtectedItem_Delete_OperationResult.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/ProtectedItem_Delete_OperationResult.json
*/
/**
* Sample code: Get Result for Protected Item Delete Operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupOperationStatuses Get. */
public final class BackupOperationStatusesGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
*/
/**
* Sample code: Get Protected Item Delete Operation Status.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupPolicies List. */
public final class BackupPoliciesListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureWorkload/BackupPolicies_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureWorkload/BackupPolicies_List.json
*/
/**
* Sample code: List protection policies with backupManagementType filter as AzureWorkload.
Expand All @@ -24,7 +24,7 @@ public static void listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWo
}

/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureIaasVm/BackupPolicies_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureIaasVm/BackupPolicies_List.json
*/
/**
* Sample code: List protection policies with backupManagementType filter as AzureIaasVm.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupProtectableItems List. */
public final class BackupProtectableItemsListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureIaasVm/BackupProtectableItems_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureIaasVm/BackupProtectableItems_List.json
*/
/**
* Sample code: List protectable items with backupManagementType filter as AzureIaasVm.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupProtectedItems List. */
public final class BackupProtectedItemsListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureIaasVm/BackupProtectedItems_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureIaasVm/BackupProtectedItems_List.json
*/
/**
* Sample code: List protected items with backupManagementType filter as AzureIaasVm.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupProtectionContainers List. */
public final class BackupProtectionContainersListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureStorage/ProtectionContainers_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureStorage/ProtectionContainers_List.json
*/
/**
* Sample code: List Backup Protection Containers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupProtectionIntent List. */
public final class BackupProtectionIntentListSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/AzureWorkload/BackupProtectionIntent_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/AzureWorkload/BackupProtectionIntent_List.json
*/
/**
* Sample code: List protection intent with backupManagementType filter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupResourceEncryptionConfigs Get. */
public final class BackupResourceEncryptionConfigsGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/BackupResourceEncryptionConfig_Get.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/BackupResourceEncryptionConfig_Get.json
*/
/**
* Sample code: Get Vault Encryption Configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/** Samples for BackupResourceEncryptionConfigs Update. */
public final class BackupResourceEncryptionConfigsUpdateSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/BackupResourceEncryptionConfig_Put.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/BackupResourceEncryptionConfig_Put.json
*/
/**
* Sample code: Update Vault Encryption Configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupResourceStorageConfigsNonCrr Get. */
public final class BackupResourceStorageConfigsNonCrrGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupStorageConfig_Get.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupStorageConfig_Get.json
*/
/**
* Sample code: Get Vault Storage Configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/** Samples for BackupResourceStorageConfigsNonCrr Patch. */
public final class BackupResourceStorageConfigsNonCrrPatchSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupStorageConfig_Patch.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupStorageConfig_Patch.json
*/
/**
* Sample code: Update Vault Storage Configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/** Samples for BackupResourceStorageConfigsNonCrr Update. */
public final class BackupResourceStorageConfigsNonCrrUpdateSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupStorageConfig_Put.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupStorageConfig_Put.json
*/
/**
* Sample code: Update Vault Storage Configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for BackupResourceVaultConfigs Get. */
public final class BackupResourceVaultConfigsGetSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupResourceVaultConfigs_Get.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupResourceVaultConfigs_Get.json
*/
/**
* Sample code: Get Vault Security Config.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/** Samples for BackupResourceVaultConfigs Put. */
public final class BackupResourceVaultConfigsPutSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupResourceVaultConfigs_Put.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupResourceVaultConfigs_Put.json
*/
/**
* Sample code: Update Vault Security Config.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/** Samples for BackupResourceVaultConfigs Update. */
public final class BackupResourceVaultConfigsUpdateSamples {
/*
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-07-01/examples/Common/BackupResourceVaultConfigs_Patch.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-08-01/examples/Common/BackupResourceVaultConfigs_Patch.json
*/
/**
* Sample code: Update Vault Security Config.
Expand Down
Loading