Skip to content

Commit 558fe1a

Browse files
[AutoPR azure-resourcemanager-recoveryservices]-generated-from-SDK Generation - Java-5584159 (Azure#47322)
* Configurations: 'specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/tspconfig.yaml', API Version: 2025-08-01, SDK Release Type: stable, and CommitSHA: '9fe7c02d6258197d20b76b5b2a3b6cc3d3aa1be8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5584159 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update pom.xml --------- Co-authored-by: Weidong Xu <[email protected]>
1 parent c26ac6f commit 558fe1a

16 files changed

+147
-114
lines changed

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

Lines changed: 54 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 1.6.0 (2025-09-29)
3+
## 1.6.0 (2025-11-18)
44

55
- Azure Resource Manager RecoveryServices client library for Java. This package contains Microsoft Azure SDK for RecoveryServices Management SDK. Package api-version 2025-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

@@ -18,10 +18,11 @@
1818

1919
#### `models.ClientDiscoveryForLogSpecification` was modified
2020

21+
* `ClientDiscoveryForLogSpecification()` was changed to private access
22+
* `withName(java.lang.String)` was removed
23+
* `withDisplayName(java.lang.String)` was removed
2124
* `validate()` was removed
2225
* `withBlobDuration(java.lang.String)` was removed
23-
* `withDisplayName(java.lang.String)` was removed
24-
* `withName(java.lang.String)` was removed
2526

2627
#### `models.CapabilitiesProperties` was modified
2728

@@ -49,6 +50,7 @@
4950

5051
#### `models.PrivateLinkServiceConnectionState` was modified
5152

53+
* `PrivateLinkServiceConnectionState()` was changed to private access
5254
* `validate()` was removed
5355

5456
#### `models.Sku` was modified
@@ -69,13 +71,15 @@
6971

7072
#### `models.JobsSummary` was modified
7173

72-
* `validate()` was removed
74+
* `JobsSummary()` was changed to private access
7375
* `withFailedJobs(java.lang.Integer)` was removed
76+
* `validate()` was removed
7477
* `withSuspendedJobs(java.lang.Integer)` was removed
7578
* `withInProgressJobs(java.lang.Integer)` was removed
7679

7780
#### `models.PrivateEndpointConnectionVaultProperties` was modified
7881

82+
* `PrivateEndpointConnectionVaultProperties()` was changed to private access
7983
* `validate()` was removed
8084

8185
#### `models.ClassicAlertSettings` was modified
@@ -88,15 +92,15 @@
8892

8993
#### `models.ResourceCertificateDetails` was modified
9094

91-
* `models.ResourceCertificateDetails withIssuer(java.lang.String)` -> `models.ResourceCertificateDetails withIssuer(java.lang.String)`
95+
* `models.ResourceCertificateDetails withResourceId(java.lang.Long)` -> `models.ResourceCertificateDetails withResourceId(java.lang.Long)`
9296
* `validate()` was removed
9397
* `models.ResourceCertificateDetails withFriendlyName(java.lang.String)` -> `models.ResourceCertificateDetails withFriendlyName(java.lang.String)`
94-
* `models.ResourceCertificateDetails withSubject(java.lang.String)` -> `models.ResourceCertificateDetails withSubject(java.lang.String)`
95-
* `models.ResourceCertificateDetails withThumbprint(java.lang.String)` -> `models.ResourceCertificateDetails withThumbprint(java.lang.String)`
96-
* `models.ResourceCertificateDetails withValidFrom(java.time.OffsetDateTime)` -> `models.ResourceCertificateDetails withValidFrom(java.time.OffsetDateTime)`
97-
* `models.ResourceCertificateDetails withResourceId(java.lang.Long)` -> `models.ResourceCertificateDetails withResourceId(java.lang.Long)`
9898
* `models.ResourceCertificateDetails withValidTo(java.time.OffsetDateTime)` -> `models.ResourceCertificateDetails withValidTo(java.time.OffsetDateTime)`
9999
* `models.ResourceCertificateDetails withCertificate(byte[])` -> `models.ResourceCertificateDetails withCertificate(byte[])`
100+
* `models.ResourceCertificateDetails withThumbprint(java.lang.String)` -> `models.ResourceCertificateDetails withThumbprint(java.lang.String)`
101+
* `models.ResourceCertificateDetails withSubject(java.lang.String)` -> `models.ResourceCertificateDetails withSubject(java.lang.String)`
102+
* `models.ResourceCertificateDetails withIssuer(java.lang.String)` -> `models.ResourceCertificateDetails withIssuer(java.lang.String)`
103+
* `models.ResourceCertificateDetails withValidFrom(java.time.OffsetDateTime)` -> `models.ResourceCertificateDetails withValidFrom(java.time.OffsetDateTime)`
100104

101105
#### `models.SoftDeleteSettings` was modified
102106

@@ -124,22 +128,23 @@
124128

125129
#### `models.ResourceCertificateAndAadDetails` was modified
126130

127-
* `withAadTenantId(java.lang.String)` was removed
128-
* `withServicePrincipalObjectId(java.lang.String)` was removed
129-
* `validate()` was removed
130-
* `withFriendlyName(java.lang.String)` was removed
131-
* `withValidFrom(java.time.OffsetDateTime)` was removed
132-
* `withAzureManagementEndpointAudience(java.lang.String)` was removed
131+
* `ResourceCertificateAndAadDetails()` was changed to private access
133132
* `withSubject(java.lang.String)` was removed
134-
* `withIssuer(java.lang.String)` was removed
135-
* `withAadAuthority(java.lang.String)` was removed
136-
* `withCertificate(byte[])` was removed
137133
* `withThumbprint(java.lang.String)` was removed
138-
* `withAadAudience(java.lang.String)` was removed
139-
* `withServiceResourceId(java.lang.String)` was removed
134+
* `withFriendlyName(java.lang.String)` was removed
135+
* `withServicePrincipalObjectId(java.lang.String)` was removed
140136
* `withValidTo(java.time.OffsetDateTime)` was removed
141-
* `withServicePrincipalClientId(java.lang.String)` was removed
142137
* `withResourceId(java.lang.Long)` was removed
138+
* `withValidFrom(java.time.OffsetDateTime)` was removed
139+
* `withAadAudience(java.lang.String)` was removed
140+
* `withAadAuthority(java.lang.String)` was removed
141+
* `withIssuer(java.lang.String)` was removed
142+
* `withServicePrincipalClientId(java.lang.String)` was removed
143+
* `withServiceResourceId(java.lang.String)` was removed
144+
* `validate()` was removed
145+
* `withAadTenantId(java.lang.String)` was removed
146+
* `withAzureManagementEndpointAudience(java.lang.String)` was removed
147+
* `withCertificate(byte[])` was removed
143148

144149
#### `models.Vault$Update` was modified
145150

@@ -159,43 +164,46 @@
159164

160165
#### `models.ClientDiscoveryDisplay` was modified
161166

162-
* `withOperation(java.lang.String)` was removed
163-
* `withProvider(java.lang.String)` was removed
167+
* `ClientDiscoveryDisplay()` was changed to private access
168+
* `withResource(java.lang.String)` was removed
164169
* `validate()` was removed
165170
* `withDescription(java.lang.String)` was removed
166-
* `withResource(java.lang.String)` was removed
171+
* `withOperation(java.lang.String)` was removed
172+
* `withProvider(java.lang.String)` was removed
167173

168174
#### `models.MonitoringSettings` was modified
169175

170176
* `validate()` was removed
171177

172178
#### `models.ResourceCertificateAndAcsDetails` was modified
173179

174-
* `withResourceId(java.lang.Long)` was removed
180+
* `ResourceCertificateAndAcsDetails()` was changed to private access
181+
* `withCertificate(byte[])` was removed
175182
* `withThumbprint(java.lang.String)` was removed
176-
* `withSubject(java.lang.String)` was removed
177-
* `withGlobalAcsNamespace(java.lang.String)` was removed
178-
* `withValidFrom(java.time.OffsetDateTime)` was removed
179-
* `withIssuer(java.lang.String)` was removed
180-
* `withGlobalAcsHostname(java.lang.String)` was removed
181183
* `withFriendlyName(java.lang.String)` was removed
182-
* `withValidTo(java.time.OffsetDateTime)` was removed
183-
* `globalAcsHostname()` was removed
184184
* `withGlobalAcsRPRealm(java.lang.String)` was removed
185+
* `withResourceId(java.lang.Long)` was removed
185186
* `validate()` was removed
186-
* `withCertificate(byte[])` was removed
187+
* `withGlobalAcsNamespace(java.lang.String)` was removed
188+
* `withIssuer(java.lang.String)` was removed
189+
* `withValidTo(java.time.OffsetDateTime)` was removed
190+
* `withValidFrom(java.time.OffsetDateTime)` was removed
191+
* `withGlobalAcsHostname(java.lang.String)` was removed
192+
* `withSubject(java.lang.String)` was removed
187193

188194
#### `models.VaultPropertiesEncryption` was modified
189195

190196
* `validate()` was removed
191197

192198
#### `models.ClientDiscoveryForProperties` was modified
193199

194-
* `withServiceSpecification(models.ClientDiscoveryForServiceSpecification)` was removed
200+
* `ClientDiscoveryForProperties()` was changed to private access
195201
* `validate()` was removed
202+
* `withServiceSpecification(models.ClientDiscoveryForServiceSpecification)` was removed
196203

197204
#### `models.PrivateEndpointConnection` was modified
198205

206+
* `PrivateEndpointConnection()` was changed to private access
199207
* `withGroupIds(java.util.List)` was removed
200208
* `validate()` was removed
201209

@@ -205,6 +213,7 @@
205213

206214
#### `models.NameInfo` was modified
207215

216+
* `NameInfo()` was changed to private access
208217
* `withLocalizedValue(java.lang.String)` was removed
209218
* `withValue(java.lang.String)` was removed
210219
* `validate()` was removed
@@ -219,28 +228,31 @@
219228

220229
#### `models.MonitoringSummary` was modified
221230

222-
* `withUnHealthyVmCount(java.lang.Integer)` was removed
231+
* `MonitoringSummary()` was changed to private access
232+
* `withUnHealthyProviderCount(java.lang.Integer)` was removed
223233
* `validate()` was removed
234+
* `withSupportedProviderCount(java.lang.Integer)` was removed
224235
* `withEventsCount(java.lang.Integer)` was removed
225236
* `withUnsupportedProviderCount(java.lang.Integer)` was removed
226-
* `withUnHealthyProviderCount(java.lang.Integer)` was removed
237+
* `withUnHealthyVmCount(java.lang.Integer)` was removed
227238
* `withDeprecatedProviderCount(java.lang.Integer)` was removed
228-
* `withSupportedProviderCount(java.lang.Integer)` was removed
229239

230240
#### `models.DnsZoneResponse` was modified
231241

232-
* `withSubResource(models.VaultSubResourceType)` was removed
242+
* `DnsZoneResponse()` was changed to private access
233243
* `validate()` was removed
234244
* `withRequiredZoneNames(java.util.List)` was removed
245+
* `withSubResource(models.VaultSubResourceType)` was removed
235246

236247
#### `models.CmkKekIdentity` was modified
237248

238249
* `validate()` was removed
239250

240251
#### `models.CapabilitiesResponseProperties` was modified
241252

242-
* `withDnsZones(java.util.List)` was removed
253+
* `CapabilitiesResponseProperties()` was changed to private access
243254
* `validate()` was removed
255+
* `withDnsZones(java.util.List)` was removed
244256

245257
#### `models.AssociatedIdentity` was modified
246258

@@ -252,12 +264,14 @@
252264

253265
#### `models.PrivateEndpoint` was modified
254266

267+
* `PrivateEndpoint()` was changed to private access
255268
* `validate()` was removed
256269

257270
#### `models.ClientDiscoveryForServiceSpecification` was modified
258271

259-
* `validate()` was removed
272+
* `ClientDiscoveryForServiceSpecification()` was changed to private access
260273
* `withLogSpecifications(java.util.List)` was removed
274+
* `validate()` was removed
261275

262276
#### `models.VaultProperties` was modified
263277

@@ -287,10 +301,6 @@
287301

288302
* `deletedVaults()` was added
289303

290-
#### `models.ResourceCertificateAndAcsDetails` was modified
291-
292-
* `globalAcsHostName()` was added
293-
294304
#### `models.PatchVault` was modified
295305

296306
* `systemData()` was added

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
- [ListBySubscriptionId](#deletedvaults_listbysubscriptionid)
99
- [Undelete](#deletedvaults_undelete)
1010

11+
## Operations
12+
13+
- [List](#operations_list)
14+
1115
## PrivateLinkResourcesOperation
1216

1317
- [Get](#privatelinkresourcesoperation_get)
@@ -150,6 +154,27 @@ public final class DeletedVaultsUndeleteSamples {
150154
}
151155
```
152156

157+
### Operations_List
158+
159+
```java
160+
/**
161+
* Samples for Operations List.
162+
*/
163+
public final class OperationsListSamples {
164+
/*
165+
* x-ms-original-file: 2025-08-01/ListOperations.json
166+
*/
167+
/**
168+
* Sample code: ListOperations.
169+
*
170+
* @param manager Entry point to RecoveryServicesManager.
171+
*/
172+
public static void listOperations(com.azure.resourcemanager.recoveryservices.RecoveryServicesManager manager) {
173+
manager.operations().list(com.azure.core.util.Context.NONE);
174+
}
175+
}
176+
```
177+
153178
### PrivateLinkResourcesOperation_Get
154179

155180
```java

sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/main/java/com/azure/resourcemanager/recoveryservices/models/ResourceCertificateAndAcsDetails.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public final class ResourceCertificateAndAcsDetails extends ResourceCertificateD
3131
/*
3232
* Acs mgmt host name to connect to.
3333
*/
34-
private String globalAcsHostName;
34+
private String globalAcsHostname;
3535

3636
/*
3737
* Global ACS namespace RP realm.
@@ -65,12 +65,12 @@ public String globalAcsNamespace() {
6565
}
6666

6767
/**
68-
* Get the globalAcsHostName property: Acs mgmt host name to connect to.
68+
* Get the globalAcsHostname property: Acs mgmt host name to connect to.
6969
*
70-
* @return the globalAcsHostName value.
70+
* @return the globalAcsHostname value.
7171
*/
72-
public String globalAcsHostName() {
73-
return this.globalAcsHostName;
72+
public String globalAcsHostname() {
73+
return this.globalAcsHostname;
7474
}
7575

7676
/**
@@ -99,7 +99,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
9999
jsonWriter.writeStringField("validTo",
100100
validTo() == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(validTo()));
101101
jsonWriter.writeStringField("globalAcsNamespace", this.globalAcsNamespace);
102-
jsonWriter.writeStringField("globalAcsHostName", this.globalAcsHostName);
102+
jsonWriter.writeStringField("globalAcsHostName", this.globalAcsHostname);
103103
jsonWriter.writeStringField("globalAcsRPRealm", this.globalAcsRPRealm);
104104
jsonWriter.writeStringField("authType", this.authType);
105105
return jsonWriter.writeEndObject();
@@ -144,7 +144,7 @@ public static ResourceCertificateAndAcsDetails fromJson(JsonReader jsonReader) t
144144
} else if ("globalAcsNamespace".equals(fieldName)) {
145145
deserializedResourceCertificateAndAcsDetails.globalAcsNamespace = reader.getString();
146146
} else if ("globalAcsHostName".equals(fieldName)) {
147-
deserializedResourceCertificateAndAcsDetails.globalAcsHostName = reader.getString();
147+
deserializedResourceCertificateAndAcsDetails.globalAcsHostname = reader.getString();
148148
} else if ("globalAcsRPRealm".equals(fieldName)) {
149149
deserializedResourceCertificateAndAcsDetails.globalAcsRPRealm = reader.getString();
150150
} else if ("authType".equals(fieldName)) {

sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/test/java/com/azure/resourcemanager/recoveryservices/generated/DeletedVaultsGetWithResponseMockTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public final class DeletedVaultsGetWithResponseMockTests {
2020
@Test
2121
public void testGetWithResponse() throws Exception {
2222
String responseStr
23-
= "{\"properties\":{\"vaultId\":\"dbh\",\"vaultDeletionTime\":\"2021-04-19T05:31:11Z\",\"purgeAt\":\"2021-08-01T18:00:19Z\"},\"id\":\"zucerscdntnev\",\"name\":\"iwjmygtdssls\",\"type\":\"tmweriofzpyq\"}";
23+
= "{\"properties\":{\"vaultId\":\"ygmi\",\"vaultDeletionTime\":\"2021-05-30T21:32:13Z\",\"purgeAt\":\"2021-09-13T22:02:43Z\"},\"id\":\"ndslgnayqigynduh\",\"name\":\"vhqlkthumaqo\",\"type\":\"bgycduiertgccym\"}";
2424

2525
HttpClient httpClient
2626
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception {
3030
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3131

3232
DeletedVault response = manager.deletedVaults()
33-
.getWithResponse("mnvdfzn", "daodvxzbncblyl", com.azure.core.util.Context.NONE)
33+
.getWithResponse("tjrybnwjewgdr", "ervnaenqpehi", com.azure.core.util.Context.NONE)
3434
.getValue();
3535

3636
}

sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/test/java/com/azure/resourcemanager/recoveryservices/generated/DeletedVaultsListBySubscriptionIdMockTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public final class DeletedVaultsListBySubscriptionIdMockTests {
2121
@Test
2222
public void testListBySubscriptionId() throws Exception {
2323
String responseStr
24-
= "{\"value\":[{\"properties\":{\"vaultId\":\"ycduier\",\"vaultDeletionTime\":\"2021-07-05T23:49:12Z\",\"purgeAt\":\"2021-11-08T10:44:08Z\"},\"id\":\"vaolpsslqlf\",\"name\":\"mdnbbglzpswiy\",\"type\":\"mcwyhzdxssadb\"}]}";
24+
= "{\"value\":[{\"properties\":{\"vaultId\":\"w\",\"vaultDeletionTime\":\"2021-01-25T00:48:06Z\",\"purgeAt\":\"2021-06-01T18:34:35Z\"},\"id\":\"pvjzbe\",\"name\":\"ilzznfqqnvwp\",\"type\":\"qtaruoujmkcjhwq\"}]}";
2525

2626
HttpClient httpClient
2727
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,7 @@ public void testListBySubscriptionId() throws Exception {
3131
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3232

3333
PagedIterable<DeletedVault> response
34-
= manager.deletedVaults().listBySubscriptionId("hqlkthumaqo", com.azure.core.util.Context.NONE);
34+
= manager.deletedVaults().listBySubscriptionId("bsrfbj", com.azure.core.util.Context.NONE);
3535

3636
}
3737
}

sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/test/java/com/azure/resourcemanager/recoveryservices/generated/DeletedVaultsUndeleteMockTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public final class DeletedVaultsUndeleteMockTests {
2222
@Test
2323
public void testUndelete() throws Exception {
2424
String responseStr
25-
= "{\"properties\":{\"vaultId\":\"wiwubm\",\"vaultDeletionTime\":\"2021-05-28T18:40:12Z\",\"purgeAt\":\"2021-02-22T15:24:40Z\"},\"id\":\"dnkwwtppjflcxog\",\"name\":\"okonzmnsikvmkqz\",\"type\":\"qqkdltfzxmhhvhgu\"}";
25+
= "{\"properties\":{\"vaultId\":\"d\",\"vaultDeletionTime\":\"2021-11-22T15:14:34Z\",\"purgeAt\":\"2021-03-06T05:36:52Z\"},\"id\":\"dxssadbzm\",\"name\":\"vdfznudaodvxzb\",\"type\":\"cblylpstdbhhxsr\"}";
2626

2727
HttpClient httpClient
2828
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testUndelete() throws Exception {
3232
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3333

3434
DeletedVault response = manager.deletedVaults()
35-
.undelete("emwabnet", "hhszh",
35+
.undelete("aolps", "lqlfm",
3636
new DeletedVaultUndeleteInput()
37-
.withProperties(new DeletedVaultUndeleteInputProperties().withRecoveryResourceGroupId("d")),
37+
.withProperties(new DeletedVaultUndeleteInputProperties().withRecoveryResourceGroupId("dnbbglzps")),
3838
com.azure.core.util.Context.NONE);
3939

4040
}

sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/test/java/com/azure/resourcemanager/recoveryservices/generated/PrivateLinkResourcesOperationsGetWithResponseMockTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public final class PrivateLinkResourcesOperationsGetWithResponseMockTests {
2020
@Test
2121
public void testGetWithResponse() throws Exception {
2222
String responseStr
23-
= "{\"properties\":{\"groupId\":\"tmuwlauwzi\",\"requiredMembers\":[\"mpgcjefuzmuvpbt\"],\"requiredZoneNames\":[\"morppxebmnzbtbh\"]},\"id\":\"glkfg\",\"name\":\"hdneuelfph\",\"type\":\"dyhtozfikdowwquu\"}";
23+
= "{\"properties\":{\"groupId\":\"mbes\",\"requiredMembers\":[\"k\"],\"requiredZoneNames\":[\"pp\",\"flcxoga\"]},\"id\":\"onz\",\"name\":\"nsikvmkqzeqqkdl\",\"type\":\"fzxmhhvhgureodkw\"}";
2424

2525
HttpClient httpClient
2626
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception {
3030
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3131

3232
PrivateLinkResource response = manager.privateLinkResourcesOperations()
33-
.getWithResponse("bxmubyynt", "lrb", "tkoievseotgq", com.azure.core.util.Context.NONE)
33+
.getWithResponse("wab", "ets", "hszhedplvwiwu", com.azure.core.util.Context.NONE)
3434
.getValue();
3535

3636
}

0 commit comments

Comments
 (0)