Skip to content
Draft
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,14 +1,96 @@
# Release History

## 1.2.0-beta.1 (Unreleased)
## 1.2.0-beta.1 (2025-11-21)

### Features Added
- Azure Resource Manager Resource Connector client library for Java. This package contains Microsoft Azure SDK for Resource Connector Management SDK. The appliances Rest API spec. Package api-version 2025-03-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Breaking Changes

### Bugs Fixed
#### `models.ApplianceListResult` was removed

#### `models.ApplianceOperationsList` was removed

#### `models.ArtifactProfile` was modified

* `ArtifactProfile()` was changed to private access
* `validate()` was removed

#### `models.PatchableAppliance` was modified

* `validate()` was removed

#### `models.SupportedVersion` was modified

* `SupportedVersion()` was changed to private access
* `validate()` was removed

#### `models.UpgradeGraphProperties` was modified

* `UpgradeGraphProperties()` was changed to private access
* `validate()` was removed

#### `models.SupportedVersionCatalogVersionData` was modified

* `SupportedVersionCatalogVersionData()` was changed to private access
* `validate()` was removed

#### `models.SshKey` was modified

* `SshKey()` was changed to private access
* `validate()` was removed

#### `ResourceConnectorManager` was modified

* `fluent.ResourceConnector serviceClient()` -> `fluent.ResourceConnectorManagementClient serviceClient()`

#### `models.HybridConnectionConfig` was modified

* `HybridConnectionConfig()` was changed to private access
* `validate()` was removed

#### `models.ApplianceCredentialKubeconfig` was modified

* `ApplianceCredentialKubeconfig()` was changed to private access
* `validate()` was removed

#### `models.AppliancePropertiesInfrastructureConfig` was modified

* `validate()` was removed

#### `models.SupportedVersionCatalogVersion` was modified

* `SupportedVersionCatalogVersion()` was changed to private access
* `validate()` was removed

#### `models.SupportedVersionMetadata` was modified

* `SupportedVersionMetadata()` was changed to private access
* `validate()` was removed

#### `models.Identity` was modified

* `validate()` was removed

### Features Added

* `models.ProxyConfiguration` was added

* `models.NetworkProfile` was added

* `models.Event` was added

* `models.GatewayConfiguration` was added

* `models.DnsConfiguration` was added

#### `models.Appliance` was modified

* `events()` was added
* `networkProfile()` was added

#### `models.Appliance$Definition` was modified

### Other Changes
* `withNetworkProfile(models.NetworkProfile)` was added

## 1.1.0 (2024-12-11)

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

Azure Resource Manager Resource Connector client library for Java.

This package contains Microsoft Azure SDK for Resource Connector 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).
This package contains Microsoft Azure SDK for Resource Connector Management SDK. The appliances Rest API spec. Package api-version 2025-03-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 @@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
ResourceConnectorManager manager = ResourceConnectorManager
.authenticate(credential, profile);
```

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.

See [Authentication][authenticate] for more options.

Expand Down Expand Up @@ -100,5 +100,3 @@ 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/


Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
```java
import com.azure.resourcemanager.resourceconnector.models.AppliancePropertiesInfrastructureConfig;
import com.azure.resourcemanager.resourceconnector.models.Distro;
import com.azure.resourcemanager.resourceconnector.models.NetworkProfile;
import com.azure.resourcemanager.resourceconnector.models.Provider;
import com.azure.resourcemanager.resourceconnector.models.ProxyConfiguration;

/**
* Samples for Appliances CreateOrUpdate.
*/
public final class AppliancesCreateOrUpdateSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesCreate_Update.json
* x-ms-original-file: 2025-03-01-preview/AppliancesCreate_Update.json
*/
/**
* Sample code: Create/Update Appliance.
Expand All @@ -45,6 +45,28 @@ public final class AppliancesCreateOrUpdateSamples {
.withInfrastructureConfig(new AppliancePropertiesInfrastructureConfig().withProvider(Provider.VMWARE))
.create();
}

/*
* x-ms-original-file: 2025-03-01-preview/AppliancesUpdateProxy.json
*/
/**
* Sample code: Update Appliance Proxy Configuration.
*
* @param manager Entry point to ResourceConnectorManager.
*/
public static void updateApplianceProxyConfiguration(
com.azure.resourcemanager.resourceconnector.ResourceConnectorManager manager) {
manager.appliances()
.define("appliance01")
.withRegion("West US")
.withExistingResourceGroup("testresourcegroup")
.withDistro(Distro.AKSEDGE)
.withInfrastructureConfig(new AppliancePropertiesInfrastructureConfig().withProvider(Provider.VMWARE))
.withPublicKey("xxxxxxxx")
.withNetworkProfile(
new NetworkProfile().withProxyConfiguration(new ProxyConfiguration().withVersion("latest")))
.create();
}
}
```

Expand All @@ -56,9 +78,7 @@ public final class AppliancesCreateOrUpdateSamples {
*/
public final class AppliancesDeleteSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesDelete.json
* x-ms-original-file: 2025-03-01-preview/AppliancesDelete.json
*/
/**
* Sample code: Delete Appliance.
Expand All @@ -79,9 +99,7 @@ public final class AppliancesDeleteSamples {
*/
public final class AppliancesGetByResourceGroupSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesGet.json
* x-ms-original-file: 2025-03-01-preview/AppliancesGet.json
*/
/**
* Sample code: Get Appliance.
Expand All @@ -103,9 +121,7 @@ public final class AppliancesGetByResourceGroupSamples {
*/
public final class AppliancesGetTelemetryConfigSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* TelemetryConfig.json
* x-ms-original-file: 2025-03-01-preview/TelemetryConfig.json
*/
/**
* Sample code: GetTelemetryConfig Appliance.
Expand All @@ -127,9 +143,7 @@ public final class AppliancesGetTelemetryConfigSamples {
*/
public final class AppliancesGetUpgradeGraphSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* UpgradeGraph.json
* x-ms-original-file: 2025-03-01-preview/UpgradeGraph.json
*/
/**
* Sample code: Get Appliance Upgrade Graph.
Expand All @@ -153,9 +167,7 @@ public final class AppliancesGetUpgradeGraphSamples {
*/
public final class AppliancesListSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesListBySubscription.json
* x-ms-original-file: 2025-03-01-preview/AppliancesListBySubscription.json
*/
/**
* Sample code: List Appliances by subscription.
Expand All @@ -177,9 +189,7 @@ public final class AppliancesListSamples {
*/
public final class AppliancesListByResourceGroupSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesListByResourceGroup.json
* x-ms-original-file: 2025-03-01-preview/AppliancesListByResourceGroup.json
*/
/**
* Sample code: List Appliances by resource group.
Expand All @@ -201,9 +211,7 @@ public final class AppliancesListByResourceGroupSamples {
*/
public final class AppliancesListClusterUserCredentialSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesListClusterUserCredential.json
* x-ms-original-file: 2025-03-01-preview/AppliancesListClusterUserCredential.json
*/
/**
* Sample code: ListClusterUserCredentialAppliance.
Expand All @@ -227,9 +235,7 @@ public final class AppliancesListClusterUserCredentialSamples {
*/
public final class AppliancesListKeysSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesListKeys.json
* x-ms-original-file: 2025-03-01-preview/AppliancesListKeys.json
*/
/**
* Sample code: ListKeys Appliance.
Expand All @@ -251,9 +257,7 @@ public final class AppliancesListKeysSamples {
*/
public final class AppliancesListOperationsSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesListOperations.json
* x-ms-original-file: 2025-03-01-preview/AppliancesListOperations.json
*/
/**
* Sample code: List Appliances operations.
Expand All @@ -279,9 +283,7 @@ import java.util.Map;
*/
public final class AppliancesUpdateSamples {
/*
* x-ms-original-file:
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
* AppliancesPatch.json
* x-ms-original-file: 2025-03-01-preview/AppliancesPatch.json
*/
/**
* Sample code: Update Appliance.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Resource Connector Management</name>
<description>This package contains Microsoft Azure SDK for Resource Connector Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The appliances Rest API spec. Package tag package-2022-10-27.</description>
<description>This package contains Microsoft Azure SDK for Resource Connector Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The appliances Rest API spec. Package api-version 2025-03-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<spotless.skip>false</spotless.skip>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Loading