Skip to content

Commit 4bc51b9

Browse files
committed
Configurations: 'specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: 'e96c24570a484cff13d153fb472f812878866a39' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5601547 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
1 parent fc17cb3 commit 4bc51b9

File tree

98 files changed

+2469
-1976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2469
-1976
lines changed

sdk/resourceconnector/azure-resourcemanager-resourceconnector/CHANGELOG.md

Lines changed: 86 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,96 @@
11
# Release History
22

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

5-
### Features Added
5+
- 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).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.ApplianceListResult` was removed
10+
11+
#### `models.ApplianceOperationsList` was removed
12+
13+
#### `models.ArtifactProfile` was modified
14+
15+
* `ArtifactProfile()` was changed to private access
16+
* `validate()` was removed
17+
18+
#### `models.PatchableAppliance` was modified
19+
20+
* `validate()` was removed
21+
22+
#### `models.SupportedVersion` was modified
23+
24+
* `SupportedVersion()` was changed to private access
25+
* `validate()` was removed
26+
27+
#### `models.UpgradeGraphProperties` was modified
28+
29+
* `UpgradeGraphProperties()` was changed to private access
30+
* `validate()` was removed
31+
32+
#### `models.SupportedVersionCatalogVersionData` was modified
33+
34+
* `SupportedVersionCatalogVersionData()` was changed to private access
35+
* `validate()` was removed
36+
37+
#### `models.SshKey` was modified
38+
39+
* `SshKey()` was changed to private access
40+
* `validate()` was removed
41+
42+
#### `ResourceConnectorManager` was modified
43+
44+
* `fluent.ResourceConnector serviceClient()` -> `fluent.ResourceConnectorManagementClient serviceClient()`
45+
46+
#### `models.HybridConnectionConfig` was modified
47+
48+
* `HybridConnectionConfig()` was changed to private access
49+
* `validate()` was removed
50+
51+
#### `models.ApplianceCredentialKubeconfig` was modified
52+
53+
* `ApplianceCredentialKubeconfig()` was changed to private access
54+
* `validate()` was removed
55+
56+
#### `models.AppliancePropertiesInfrastructureConfig` was modified
57+
58+
* `validate()` was removed
59+
60+
#### `models.SupportedVersionCatalogVersion` was modified
61+
62+
* `SupportedVersionCatalogVersion()` was changed to private access
63+
* `validate()` was removed
64+
65+
#### `models.SupportedVersionMetadata` was modified
66+
67+
* `SupportedVersionMetadata()` was changed to private access
68+
* `validate()` was removed
69+
70+
#### `models.Identity` was modified
71+
72+
* `validate()` was removed
73+
74+
### Features Added
75+
76+
* `models.ProxyConfiguration` was added
77+
78+
* `models.NetworkProfile` was added
79+
80+
* `models.Event` was added
81+
82+
* `models.GatewayConfiguration` was added
83+
84+
* `models.DnsConfiguration` was added
85+
86+
#### `models.Appliance` was modified
87+
88+
* `events()` was added
89+
* `networkProfile()` was added
90+
91+
#### `models.Appliance$Definition` was modified
1092

11-
### Other Changes
93+
* `withNetworkProfile(models.NetworkProfile)` was added
1294

1395
## 1.1.0 (2024-12-11)
1496

sdk/resourceconnector/azure-resourcemanager-resourceconnector/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Resource Connector client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
ResourceConnectorManager manager = ResourceConnectorManager
6060
.authenticate(credential, profile);
6161
```
6262

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

6565
See [Authentication][authenticate] for more options.
6666

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

sdk/resourceconnector/azure-resourcemanager-resourceconnector/SAMPLE.md

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
```java
2020
import com.azure.resourcemanager.resourceconnector.models.AppliancePropertiesInfrastructureConfig;
2121
import com.azure.resourcemanager.resourceconnector.models.Distro;
22+
import com.azure.resourcemanager.resourceconnector.models.NetworkProfile;
2223
import com.azure.resourcemanager.resourceconnector.models.Provider;
24+
import com.azure.resourcemanager.resourceconnector.models.ProxyConfiguration;
2325

2426
/**
2527
* Samples for Appliances CreateOrUpdate.
2628
*/
2729
public final class AppliancesCreateOrUpdateSamples {
2830
/*
29-
* x-ms-original-file:
30-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
31-
* AppliancesCreate_Update.json
31+
* x-ms-original-file: 2025-03-01-preview/AppliancesCreate_Update.json
3232
*/
3333
/**
3434
* Sample code: Create/Update Appliance.
@@ -45,6 +45,28 @@ public final class AppliancesCreateOrUpdateSamples {
4545
.withInfrastructureConfig(new AppliancePropertiesInfrastructureConfig().withProvider(Provider.VMWARE))
4646
.create();
4747
}
48+
49+
/*
50+
* x-ms-original-file: 2025-03-01-preview/AppliancesUpdateProxy.json
51+
*/
52+
/**
53+
* Sample code: Update Appliance Proxy Configuration.
54+
*
55+
* @param manager Entry point to ResourceConnectorManager.
56+
*/
57+
public static void updateApplianceProxyConfiguration(
58+
com.azure.resourcemanager.resourceconnector.ResourceConnectorManager manager) {
59+
manager.appliances()
60+
.define("appliance01")
61+
.withRegion("West US")
62+
.withExistingResourceGroup("testresourcegroup")
63+
.withDistro(Distro.AKSEDGE)
64+
.withInfrastructureConfig(new AppliancePropertiesInfrastructureConfig().withProvider(Provider.VMWARE))
65+
.withPublicKey("xxxxxxxx")
66+
.withNetworkProfile(
67+
new NetworkProfile().withProxyConfiguration(new ProxyConfiguration().withVersion("latest")))
68+
.create();
69+
}
4870
}
4971
```
5072

@@ -56,9 +78,7 @@ public final class AppliancesCreateOrUpdateSamples {
5678
*/
5779
public final class AppliancesDeleteSamples {
5880
/*
59-
* x-ms-original-file:
60-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
61-
* AppliancesDelete.json
81+
* x-ms-original-file: 2025-03-01-preview/AppliancesDelete.json
6282
*/
6383
/**
6484
* Sample code: Delete Appliance.
@@ -79,9 +99,7 @@ public final class AppliancesDeleteSamples {
7999
*/
80100
public final class AppliancesGetByResourceGroupSamples {
81101
/*
82-
* x-ms-original-file:
83-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
84-
* AppliancesGet.json
102+
* x-ms-original-file: 2025-03-01-preview/AppliancesGet.json
85103
*/
86104
/**
87105
* Sample code: Get Appliance.
@@ -103,9 +121,7 @@ public final class AppliancesGetByResourceGroupSamples {
103121
*/
104122
public final class AppliancesGetTelemetryConfigSamples {
105123
/*
106-
* x-ms-original-file:
107-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
108-
* TelemetryConfig.json
124+
* x-ms-original-file: 2025-03-01-preview/TelemetryConfig.json
109125
*/
110126
/**
111127
* Sample code: GetTelemetryConfig Appliance.
@@ -127,9 +143,7 @@ public final class AppliancesGetTelemetryConfigSamples {
127143
*/
128144
public final class AppliancesGetUpgradeGraphSamples {
129145
/*
130-
* x-ms-original-file:
131-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
132-
* UpgradeGraph.json
146+
* x-ms-original-file: 2025-03-01-preview/UpgradeGraph.json
133147
*/
134148
/**
135149
* Sample code: Get Appliance Upgrade Graph.
@@ -153,9 +167,7 @@ public final class AppliancesGetUpgradeGraphSamples {
153167
*/
154168
public final class AppliancesListSamples {
155169
/*
156-
* x-ms-original-file:
157-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
158-
* AppliancesListBySubscription.json
170+
* x-ms-original-file: 2025-03-01-preview/AppliancesListBySubscription.json
159171
*/
160172
/**
161173
* Sample code: List Appliances by subscription.
@@ -177,9 +189,7 @@ public final class AppliancesListSamples {
177189
*/
178190
public final class AppliancesListByResourceGroupSamples {
179191
/*
180-
* x-ms-original-file:
181-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
182-
* AppliancesListByResourceGroup.json
192+
* x-ms-original-file: 2025-03-01-preview/AppliancesListByResourceGroup.json
183193
*/
184194
/**
185195
* Sample code: List Appliances by resource group.
@@ -201,9 +211,7 @@ public final class AppliancesListByResourceGroupSamples {
201211
*/
202212
public final class AppliancesListClusterUserCredentialSamples {
203213
/*
204-
* x-ms-original-file:
205-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
206-
* AppliancesListClusterUserCredential.json
214+
* x-ms-original-file: 2025-03-01-preview/AppliancesListClusterUserCredential.json
207215
*/
208216
/**
209217
* Sample code: ListClusterUserCredentialAppliance.
@@ -227,9 +235,7 @@ public final class AppliancesListClusterUserCredentialSamples {
227235
*/
228236
public final class AppliancesListKeysSamples {
229237
/*
230-
* x-ms-original-file:
231-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
232-
* AppliancesListKeys.json
238+
* x-ms-original-file: 2025-03-01-preview/AppliancesListKeys.json
233239
*/
234240
/**
235241
* Sample code: ListKeys Appliance.
@@ -251,9 +257,7 @@ public final class AppliancesListKeysSamples {
251257
*/
252258
public final class AppliancesListOperationsSamples {
253259
/*
254-
* x-ms-original-file:
255-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
256-
* AppliancesListOperations.json
260+
* x-ms-original-file: 2025-03-01-preview/AppliancesListOperations.json
257261
*/
258262
/**
259263
* Sample code: List Appliances operations.
@@ -279,9 +283,7 @@ import java.util.Map;
279283
*/
280284
public final class AppliancesUpdateSamples {
281285
/*
282-
* x-ms-original-file:
283-
* specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/
284-
* AppliancesPatch.json
286+
* x-ms-original-file: 2025-03-01-preview/AppliancesPatch.json
285287
*/
286288
/**
287289
* Sample code: Update Appliance.

sdk/resourceconnector/azure-resourcemanager-resourceconnector/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
~ Copyright (c) Microsoft Corporation. All rights reserved.
33
~ Licensed under the MIT License.
4-
~ Code generated by Microsoft (R) AutoRest Code Generator.
4+
~ Code generated by Microsoft (R) TypeSpec Code Generator.
55
-->
66
<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">
77
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for Resource Connector Management</name>
21-
<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>
21+
<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>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,7 +45,7 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48-
<spotless.skip>false</spotless.skip>
48+
<revapi.skip>true</revapi.skip>
4949
</properties>
5050
<dependencies>
5151
<dependency>

0 commit comments

Comments
 (0)