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.3 (Unreleased)
## 1.0.0-beta.1 (2023-08-01)

- Azure Resource Manager Appliances client library for Java. This package contains Microsoft Azure SDK for Appliances Management SDK. The appliances Rest API spec. Package tag package-2022-10-27. 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 @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-resourceconnector</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fresourceconnector%2Fazure-resourcemanager-resourceconnector%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public final class AppliancesUpdateSamples {
.appliances()
.getByResourceGroupWithResponse("testresourcegroup", "appliance01", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withTags(mapOf("key", "value")).apply();
resource.update().withTags(mapOf("key", "fakeTokenPlaceholder")).apply();
}

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public AppliancesManager authenticate(TokenCredential credential, AzureProfile p
.append("-")
.append("com.azure.resourcemanager.resourceconnector")
.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 @@ -140,11 +140,13 @@ interface Definition
DefinitionStages.WithResourceGroup,
DefinitionStages.WithCreate {
}

/** The Appliance definition stages. */
interface DefinitionStages {
/** The first stage of the Appliance definition. */
interface Blank extends WithLocation {
}

/** The stage of the Appliance definition allowing to specify location. */
interface WithLocation {
/**
Expand All @@ -163,6 +165,7 @@ interface WithLocation {
*/
WithResourceGroup withRegion(String location);
}

/** The stage of the Appliance definition allowing to specify parent resource. */
interface WithResourceGroup {
/**
Expand All @@ -173,6 +176,7 @@ interface WithResourceGroup {
*/
WithCreate withExistingResourceGroup(String resourceGroupName);
}

/**
* The stage of the Appliance definition which contains all the minimum required properties for the resource to
* be created, but also allows for any other optional properties to be specified.
Expand All @@ -199,6 +203,7 @@ interface WithCreate
*/
Appliance create(Context context);
}

/** The stage of the Appliance definition allowing to specify tags. */
interface WithTags {
/**
Expand All @@ -209,6 +214,7 @@ interface WithTags {
*/
WithCreate withTags(Map<String, String> tags);
}

/** The stage of the Appliance definition allowing to specify identity. */
interface WithIdentity {
/**
Expand All @@ -219,6 +225,7 @@ interface WithIdentity {
*/
WithCreate withIdentity(Identity identity);
}

/** The stage of the Appliance definition allowing to specify distro. */
interface WithDistro {
/**
Expand All @@ -229,6 +236,7 @@ interface WithDistro {
*/
WithCreate withDistro(Distro distro);
}

/** The stage of the Appliance definition allowing to specify infrastructureConfig. */
interface WithInfrastructureConfig {
/**
Expand All @@ -239,6 +247,7 @@ interface WithInfrastructureConfig {
*/
WithCreate withInfrastructureConfig(AppliancePropertiesInfrastructureConfig infrastructureConfig);
}

/** The stage of the Appliance definition allowing to specify publicKey. */
interface WithPublicKey {
/**
Expand All @@ -250,6 +259,7 @@ interface WithPublicKey {
*/
WithCreate withPublicKey(String publicKey);
}

/** The stage of the Appliance definition allowing to specify version. */
interface WithVersion {
/**
Expand All @@ -261,6 +271,7 @@ interface WithVersion {
WithCreate withVersion(String version);
}
}

/**
* Begins update for the Appliance resource.
*
Expand All @@ -285,6 +296,7 @@ interface Update extends UpdateStages.WithTags {
*/
Appliance apply(Context context);
}

/** The Appliance update stages. */
interface UpdateStages {
/** The stage of the Appliance update allowing to specify tags. */
Expand All @@ -298,6 +310,7 @@ interface WithTags {
Update withTags(Map<String, String> tags);
}
}

/**
* Refreshes the resource to sync with Azure.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ public final class Provider extends ExpandableStringEnum<Provider> {
/** Static value SCVMM for Provider. */
public static final Provider SCVMM = fromString("SCVMM");

/** Static value KubeVirt for Provider. */
public static final Provider KUBE_VIRT = fromString("KubeVirt");

/** Static value OpenStack for Provider. */
public static final Provider OPEN_STACK = fromString("OpenStack");

/**
* Creates a new instance of Provider value.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,24 @@ public final class Status extends ExpandableStringEnum<Status> {
/** Static value PreparingForUpgrade for Status. */
public static final Status PREPARING_FOR_UPGRADE = fromString("PreparingForUpgrade");

/** Static value ETCDSnapshotFailed for Status. */
public static final Status ETCDSNAPSHOT_FAILED = fromString("ETCDSnapshotFailed");

/** Static value UpgradePrerequisitesCompleted for Status. */
public static final Status UPGRADE_PREREQUISITES_COMPLETED = fromString("UpgradePrerequisitesCompleted");

/** Static value ValidatingSFSConnectivity for Status. */
public static final Status VALIDATING_SFSCONNECTIVITY = fromString("ValidatingSFSConnectivity");

/** Static value ValidatingImageDownload for Status. */
public static final Status VALIDATING_IMAGE_DOWNLOAD = fromString("ValidatingImageDownload");

/** Static value ValidatingImageUpload for Status. */
public static final Status VALIDATING_IMAGE_UPLOAD = fromString("ValidatingImageUpload");

/** Static value ValidatingETCDHealth for Status. */
public static final Status VALIDATING_ETCDHEALTH = fromString("ValidatingETCDHealth");

/** Static value PreUpgrade for Status. */
public static final Status PRE_UPGRADE = fromString("PreUpgrade");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static void updateAppliance(com.azure.resourcemanager.resourceconnector.A
.appliances()
.getByResourceGroupWithResponse("testresourcegroup", "appliance01", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withTags(mapOf("key", "value")).apply();
resource.update().withTags(mapOf("key", "fakeTokenPlaceholder")).apply();
}

@SuppressWarnings("unchecked")
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading