Skip to content
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.5 (Unreleased)
## 1.0.0-beta.1 (2023-01-23)

- Azure Resource Manager RecoveryServices client library for Java. This package contains Microsoft Azure SDK for RecoveryServices Management SDK. Recovery Services Client. Package tag package-2023-01. 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 RecoveryServices client library for Java.

This package contains Microsoft Azure SDK for RecoveryServices Management SDK. Recovery Services Client. Package tag package-2022-10. 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 RecoveryServices Management SDK. Recovery Services Client. Package tag package-2023-01. 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-recoveryservices</artifactId>
<version>1.0.0-beta.4</version>
<version>1.0.0-beta.5</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
167 changes: 81 additions & 86 deletions sdk/recoveryservices/azure-resourcemanager-recoveryservices/SAMPLE.md

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 RecoveryServices Management</name>
<description>This package contains Microsoft Azure SDK for RecoveryServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Recovery Services Client. Package tag package-2022-10.</description>
<description>This package contains Microsoft Azure SDK for RecoveryServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Recovery Services Client. Package tag package-2023-01.</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 @@ -239,7 +239,7 @@ public RecoveryServicesManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.recoveryservices")
.append("/")
.append("1.0.0-beta.4");
.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 @@ -259,7 +259,7 @@ public UsagesClient getUsages() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2022-10-01";
this.apiVersion = "2023-01-01";
this.vaultCertificates = new VaultCertificatesClientImpl(this);
this.registeredIdentities = new RegisteredIdentitiesClientImpl(this);
this.replicationUsages = new ReplicationUsagesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ private PollerFlux<PollResult<VaultInner>, VaultInner> beginCreateOrUpdateAsync(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<VaultInner>, VaultInner> beginCreateOrUpdate(
String resourceGroupName, String vaultName, VaultInner vault) {
return beginCreateOrUpdateAsync(resourceGroupName, vaultName, vault).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, vaultName, vault).getSyncPoller();
}

/**
Expand All @@ -809,7 +809,7 @@ public SyncPoller<PollResult<VaultInner>, VaultInner> beginCreateOrUpdate(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<VaultInner>, VaultInner> beginCreateOrUpdate(
String resourceGroupName, String vaultName, VaultInner vault, Context context) {
return beginCreateOrUpdateAsync(resourceGroupName, vaultName, vault, context).getSyncPoller();
return this.beginCreateOrUpdateAsync(resourceGroupName, vaultName, vault, context).getSyncPoller();
}

/**
Expand Down Expand Up @@ -1188,7 +1188,7 @@ private PollerFlux<PollResult<VaultInner>, VaultInner> beginUpdateAsync(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<VaultInner>, VaultInner> beginUpdate(
String resourceGroupName, String vaultName, PatchVault vault) {
return beginUpdateAsync(resourceGroupName, vaultName, vault).getSyncPoller();
return this.beginUpdateAsync(resourceGroupName, vaultName, vault).getSyncPoller();
}

/**
Expand All @@ -1206,7 +1206,7 @@ public SyncPoller<PollResult<VaultInner>, VaultInner> beginUpdate(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller<PollResult<VaultInner>, VaultInner> beginUpdate(
String resourceGroupName, String vaultName, PatchVault vault, Context context) {
return beginUpdateAsync(resourceGroupName, vaultName, vault, context).getSyncPoller();
return this.beginUpdateAsync(resourceGroupName, vaultName, vault, context).getSyncPoller();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class AlertsState extends ExpandableStringEnum<AlertsState> {
/** Static value Disabled for AlertsState. */
public static final AlertsState DISABLED = fromString("Disabled");

/**
* Creates a new instance of AlertsState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AlertsState() {
}

/**
* Creates or finds a AlertsState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ public final class AuthType extends ExpandableStringEnum<AuthType> {
/** Static value AzureActiveDirectory for AuthType. */
public static final AuthType AZURE_ACTIVE_DIRECTORY = fromString("AzureActiveDirectory");

/**
* Creates a new instance of AuthType value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AuthType() {
}

/**
* Creates or finds a AuthType from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class BackupStorageVersion extends ExpandableStringEnum<BackupStora
/** Static value Unassigned for BackupStorageVersion. */
public static final BackupStorageVersion UNASSIGNED = fromString("Unassigned");

/**
* Creates a new instance of BackupStorageVersion value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public BackupStorageVersion() {
}

/**
* Creates or finds a BackupStorageVersion from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class CrossRegionRestore extends ExpandableStringEnum<CrossRegionRe
/** Static value Disabled for CrossRegionRestore. */
public static final CrossRegionRestore DISABLED = fromString("Disabled");

/**
* Creates a new instance of CrossRegionRestore value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public CrossRegionRestore() {
}

/**
* Creates or finds a CrossRegionRestore from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class ImmutabilityState extends ExpandableStringEnum<ImmutabilitySt
/** Static value Locked for ImmutabilityState. */
public static final ImmutabilityState LOCKED = fromString("Locked");

/**
* Creates a new instance of ImmutabilityState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ImmutabilityState() {
}

/**
* Creates or finds a ImmutabilityState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class InfrastructureEncryptionState extends ExpandableStringEnum<In
/** Static value Disabled for InfrastructureEncryptionState. */
public static final InfrastructureEncryptionState DISABLED = fromString("Disabled");

/**
* Creates a new instance of InfrastructureEncryptionState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public InfrastructureEncryptionState() {
}

/**
* Creates or finds a InfrastructureEncryptionState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public final class PrivateEndpointConnectionStatus extends ExpandableStringEnum<
/** Static value Disconnected for PrivateEndpointConnectionStatus. */
public static final PrivateEndpointConnectionStatus DISCONNECTED = fromString("Disconnected");

/**
* Creates a new instance of PrivateEndpointConnectionStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public PrivateEndpointConnectionStatus() {
}

/**
* Creates or finds a PrivateEndpointConnectionStatus from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public final class ProvisioningState extends ExpandableStringEnum<ProvisioningSt
/** Static value Pending for ProvisioningState. */
public static final ProvisioningState PENDING = fromString("Pending");

/**
* Creates a new instance of ProvisioningState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ProvisioningState() {
}

/**
* Creates or finds a ProvisioningState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class PublicNetworkAccess extends ExpandableStringEnum<PublicNetwor
/** Static value Disabled for PublicNetworkAccess. */
public static final PublicNetworkAccess DISABLED = fromString("Disabled");

/**
* Creates a new instance of PublicNetworkAccess value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public PublicNetworkAccess() {
}

/**
* Creates or finds a PublicNetworkAccess from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ public final class ResourceIdentityType extends ExpandableStringEnum<ResourceIde
/** Static value SystemAssigned, UserAssigned for ResourceIdentityType. */
public static final ResourceIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED = fromString("SystemAssigned, UserAssigned");

/**
* Creates a new instance of ResourceIdentityType value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ResourceIdentityType() {
}

/**
* Creates or finds a ResourceIdentityType from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ public final class ResourceMoveState extends ExpandableStringEnum<ResourceMoveSt
/** Static value PartialSuccess for ResourceMoveState. */
public static final ResourceMoveState PARTIAL_SUCCESS = fromString("PartialSuccess");

/**
* Creates a new instance of ResourceMoveState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ResourceMoveState() {
}

/**
* Creates or finds a ResourceMoveState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class SkuName extends ExpandableStringEnum<SkuName> {
/** Static value RS0 for SkuName. */
public static final SkuName RS0 = fromString("RS0");

/**
* Creates a new instance of SkuName value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SkuName() {
}

/**
* Creates or finds a SkuName from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class StandardTierStorageRedundancy extends ExpandableStringEnum<St
/** Static value ZoneRedundant for StandardTierStorageRedundancy. */
public static final StandardTierStorageRedundancy ZONE_REDUNDANT = fromString("ZoneRedundant");

/**
* Creates a new instance of StandardTierStorageRedundancy value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public StandardTierStorageRedundancy() {
}

/**
* Creates or finds a StandardTierStorageRedundancy from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class TriggerType extends ExpandableStringEnum<TriggerType> {
/** Static value ForcedUpgrade for TriggerType. */
public static final TriggerType FORCED_UPGRADE = fromString("ForcedUpgrade");

/**
* Creates a new instance of TriggerType value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public TriggerType() {
}

/**
* Creates or finds a TriggerType from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ public final class UsagesUnit extends ExpandableStringEnum<UsagesUnit> {
/** Static value BytesPerSecond for UsagesUnit. */
public static final UsagesUnit BYTES_PER_SECOND = fromString("BytesPerSecond");

/**
* Creates a new instance of UsagesUnit value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public UsagesUnit() {
}

/**
* Creates or finds a UsagesUnit from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ public final class VaultPrivateEndpointState extends ExpandableStringEnum<VaultP
/** Static value Enabled for VaultPrivateEndpointState. */
public static final VaultPrivateEndpointState ENABLED = fromString("Enabled");

/**
* Creates a new instance of VaultPrivateEndpointState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public VaultPrivateEndpointState() {
}

/**
* Creates or finds a VaultPrivateEndpointState from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ public final class VaultSubResourceType extends ExpandableStringEnum<VaultSubRes
/** Static value AzureSiteRecovery for VaultSubResourceType. */
public static final VaultSubResourceType AZURE_SITE_RECOVERY = fromString("AzureSiteRecovery");

/**
* Creates a new instance of VaultSubResourceType value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public VaultSubResourceType() {
}

/**
* Creates or finds a VaultSubResourceType from its string representation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public final class VaultUpgradeState extends ExpandableStringEnum<VaultUpgradeSt
/** Static value Failed for VaultUpgradeState. */
public static final VaultUpgradeState FAILED = fromString("Failed");

/**
* Creates a new instance of VaultUpgradeState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public VaultUpgradeState() {
}

/**
* Creates or finds a VaultUpgradeState from its string representation.
*
Expand Down
Loading