Skip to content

[AutoPR azure-resourcemanager-recoveryservicesbackup] Swagger update for 2022-06-01-preview version for recoveryservices-ba… #745

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

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.6 (Unreleased)
## 1.0.0-beta.1 (2022-06-21)

- 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-2022-06-01-preview. 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-2022-02. 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-2022-06-01-preview. 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.5</version>
<version>1.0.0-beta.6</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-2022-02.</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-2022-06-01-preview.</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 @@ -397,7 +397,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
.append("-")
.append("com.azure.resourcemanager.recoveryservicesbackup")
.append("/")
.append("1.0.0-beta.5");
.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 @@ -766,7 +766,7 @@ public ResourceGuardProxyOperationsClient getResourceGuardProxyOperations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2022-02-01";
this.apiVersion = "2022-06-01-preview";
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 @@ -201,20 +201,6 @@ public AzureFileshareProtectedItem withExtendedInfo(AzureFileshareProtectedItemE
return this;
}

/** {@inheritDoc} */
@Override
public AzureFileshareProtectedItem withBackupManagementType(BackupManagementType backupManagementType) {
super.withBackupManagementType(backupManagementType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureFileshareProtectedItem withWorkloadType(DataSourceType workloadType) {
super.withWorkloadType(workloadType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureFileshareProtectedItem withContainerName(String containerName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@
@JsonTypeName("Microsoft.ClassicCompute/virtualMachines")
@Fluent
public final class AzureIaaSClassicComputeVMProtectedItem extends AzureIaaSvmProtectedItem {
/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withFriendlyName(String friendlyName) {
super.withFriendlyName(friendlyName);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withVirtualMachineId(String virtualMachineId) {
super.withVirtualMachineId(virtualMachineId);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withProtectionStatus(String protectionStatus) {
Expand All @@ -44,13 +30,6 @@ public AzureIaaSClassicComputeVMProtectedItem withProtectionState(ProtectionStat
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withHealthStatus(HealthStatus healthStatus) {
super.withHealthStatus(healthStatus);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withHealthDetails(List<AzureIaaSvmHealthDetails> healthDetails) {
Expand All @@ -72,20 +51,6 @@ public AzureIaaSClassicComputeVMProtectedItem withLastBackupStatus(String lastBa
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withLastBackupTime(OffsetDateTime lastBackupTime) {
super.withLastBackupTime(lastBackupTime);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withProtectedItemDataId(String protectedItemDataId) {
super.withProtectedItemDataId(protectedItemDataId);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withExtendedInfo(AzureIaaSvmProtectedItemExtendedInfo extendedInfo) {
Expand All @@ -100,20 +65,6 @@ public AzureIaaSClassicComputeVMProtectedItem withExtendedProperties(ExtendedPro
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withBackupManagementType(BackupManagementType backupManagementType) {
super.withBackupManagementType(backupManagementType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withWorkloadType(DataSourceType workloadType) {
super.withWorkloadType(workloadType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withContainerName(String containerName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@
@JsonTypeName("Microsoft.Compute/virtualMachines")
@Fluent
public final class AzureIaaSComputeVMProtectedItem extends AzureIaaSvmProtectedItem {
/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withFriendlyName(String friendlyName) {
super.withFriendlyName(friendlyName);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withVirtualMachineId(String virtualMachineId) {
super.withVirtualMachineId(virtualMachineId);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withProtectionStatus(String protectionStatus) {
Expand All @@ -44,13 +30,6 @@ public AzureIaaSComputeVMProtectedItem withProtectionState(ProtectionState prote
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withHealthStatus(HealthStatus healthStatus) {
super.withHealthStatus(healthStatus);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withHealthDetails(List<AzureIaaSvmHealthDetails> healthDetails) {
Expand All @@ -72,20 +51,6 @@ public AzureIaaSComputeVMProtectedItem withLastBackupStatus(String lastBackupSta
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withLastBackupTime(OffsetDateTime lastBackupTime) {
super.withLastBackupTime(lastBackupTime);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withProtectedItemDataId(String protectedItemDataId) {
super.withProtectedItemDataId(protectedItemDataId);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withExtendedInfo(AzureIaaSvmProtectedItemExtendedInfo extendedInfo) {
Expand All @@ -100,20 +65,6 @@ public AzureIaaSComputeVMProtectedItem withExtendedProperties(ExtendedProperties
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withBackupManagementType(BackupManagementType backupManagementType) {
super.withBackupManagementType(backupManagementType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withWorkloadType(DataSourceType workloadType) {
super.withWorkloadType(workloadType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withContainerName(String containerName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ public class AzureIaaSvmProtectedItem extends ProtectedItem {
/*
* Friendly name of the VM represented by this backup item.
*/
@JsonProperty(value = "friendlyName")
@JsonProperty(value = "friendlyName", access = JsonProperty.Access.WRITE_ONLY)
private String friendlyName;

/*
* Fully qualified ARM ID of the virtual machine represented by this item.
*/
@JsonProperty(value = "virtualMachineId")
@JsonProperty(value = "virtualMachineId", access = JsonProperty.Access.WRITE_ONLY)
private String virtualMachineId;

/*
Expand All @@ -56,7 +56,7 @@ public class AzureIaaSvmProtectedItem extends ProtectedItem {
/*
* Health status of protected item.
*/
@JsonProperty(value = "healthStatus")
@JsonProperty(value = "healthStatus", access = JsonProperty.Access.WRITE_ONLY)
private HealthStatus healthStatus;

/*
Expand All @@ -81,13 +81,13 @@ public class AzureIaaSvmProtectedItem extends ProtectedItem {
/*
* Timestamp of the last backup operation on this backup item.
*/
@JsonProperty(value = "lastBackupTime")
@JsonProperty(value = "lastBackupTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime lastBackupTime;

/*
* Data ID of the protected item.
*/
@JsonProperty(value = "protectedItemDataId")
@JsonProperty(value = "protectedItemDataId", access = JsonProperty.Access.WRITE_ONLY)
private String protectedItemDataId;

/*
Expand All @@ -111,17 +111,6 @@ public String friendlyName() {
return this.friendlyName;
}

/**
* Set the friendlyName property: Friendly name of the VM represented by this backup item.
*
* @param friendlyName the friendlyName value to set.
* @return the AzureIaaSvmProtectedItem object itself.
*/
public AzureIaaSvmProtectedItem withFriendlyName(String friendlyName) {
this.friendlyName = friendlyName;
return this;
}

/**
* Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine represented by this item.
*
Expand All @@ -131,17 +120,6 @@ public String virtualMachineId() {
return this.virtualMachineId;
}

/**
* Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine represented by this item.
*
* @param virtualMachineId the virtualMachineId value to set.
* @return the AzureIaaSvmProtectedItem object itself.
*/
public AzureIaaSvmProtectedItem withVirtualMachineId(String virtualMachineId) {
this.virtualMachineId = virtualMachineId;
return this;
}

/**
* Get the protectionStatus property: Backup status of this backup item.
*
Expand Down Expand Up @@ -191,17 +169,6 @@ public HealthStatus healthStatus() {
return this.healthStatus;
}

/**
* Set the healthStatus property: Health status of protected item.
*
* @param healthStatus the healthStatus value to set.
* @return the AzureIaaSvmProtectedItem object itself.
*/
public AzureIaaSvmProtectedItem withHealthStatus(HealthStatus healthStatus) {
this.healthStatus = healthStatus;
return this;
}

/**
* Get the healthDetails property: Health details on this backup item.
*
Expand Down Expand Up @@ -271,17 +238,6 @@ public OffsetDateTime lastBackupTime() {
return this.lastBackupTime;
}

/**
* Set the lastBackupTime property: Timestamp of the last backup operation on this backup item.
*
* @param lastBackupTime the lastBackupTime value to set.
* @return the AzureIaaSvmProtectedItem object itself.
*/
public AzureIaaSvmProtectedItem withLastBackupTime(OffsetDateTime lastBackupTime) {
this.lastBackupTime = lastBackupTime;
return this;
}

/**
* Get the protectedItemDataId property: Data ID of the protected item.
*
Expand All @@ -291,17 +247,6 @@ public String protectedItemDataId() {
return this.protectedItemDataId;
}

/**
* Set the protectedItemDataId property: Data ID of the protected item.
*
* @param protectedItemDataId the protectedItemDataId value to set.
* @return the AzureIaaSvmProtectedItem object itself.
*/
public AzureIaaSvmProtectedItem withProtectedItemDataId(String protectedItemDataId) {
this.protectedItemDataId = protectedItemDataId;
return this;
}

/**
* Get the extendedInfo property: Additional information for this backup item.
*
Expand Down Expand Up @@ -342,20 +287,6 @@ public AzureIaaSvmProtectedItem withExtendedProperties(ExtendedProperties extend
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSvmProtectedItem withBackupManagementType(BackupManagementType backupManagementType) {
super.withBackupManagementType(backupManagementType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSvmProtectedItem withWorkloadType(DataSourceType workloadType) {
super.withWorkloadType(workloadType);
return this;
}

/** {@inheritDoc} */
@Override
public AzureIaaSvmProtectedItem withContainerName(String containerName) {
Expand Down
Loading