Skip to content

Commit 0a685f5

Browse files
[Automation] Generate Fluent Lite from servicelinker#package-2022-05-01 (Azure#28955)
* [Automation] Generate Fluent Lite from servicelinker#package-2022-05-01 * Update pom.xml revert eventhubs docs/pom.xml Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com>
1 parent dee01f6 commit 0a685f5

25 files changed

+539
-163
lines changed

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

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

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2022-05-19)
44

5-
### Features Added
5+
- Azure Resource Manager ServiceLinker client library for Java. This package contains Microsoft Azure SDK for ServiceLinker Management SDK. Microsoft.ServiceLinker provider. Package tag package-2022-05-01. 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.Type` was removed
10+
11+
* `models.ValidateResult` was removed
12+
13+
#### `models.Linkers` was modified
14+
15+
* `models.ValidateResult validate(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.ValidateOperationResult validate(java.lang.String,java.lang.String,com.azure.core.util.Context)`
16+
* `models.ValidateResult validate(java.lang.String,java.lang.String)` -> `models.ValidateOperationResult validate(java.lang.String,java.lang.String)`
17+
18+
#### `models.LinkerResource` was modified
19+
20+
* `models.ValidateResult validate()` -> `models.ValidateOperationResult validate()`
21+
* `models.ValidateResult validate(com.azure.core.util.Context)` -> `models.ValidateOperationResult validate(com.azure.core.util.Context)`
22+
23+
### Features Added
24+
25+
* `models.ValidateOperationResult` was added
26+
27+
* `models.TargetServiceType` was added
1028

11-
### Other Changes
29+
* `models.AzureResourceType` was added
1230

1331
## 1.0.0-beta.1 (2022-04-15)
1432

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-servicelinker</artifactId>
35-
<version>1.0.0-beta.1</version>
35+
<version>1.0.0-beta.2</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/servicelinker/azure-resourcemanager-servicelinker/src/main/java/com/azure/resourcemanager/servicelinker/ServiceLinkerManager.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public ServiceLinkerManager authenticate(TokenCredential credential, AzureProfil
206206
.append("-")
207207
.append("com.azure.resourcemanager.servicelinker")
208208
.append("/")
209-
.append("1.0.0-beta.1");
209+
.append("1.0.0-beta.2");
210210
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
211211
userAgentBuilder
212212
.append(" (")
@@ -263,15 +263,23 @@ public ServiceLinkerManager authenticate(TokenCredential credential, AzureProfil
263263
}
264264
}
265265

266-
/** @return Resource collection API of Linkers. */
266+
/**
267+
* Gets the resource collection API of Linkers. It manages LinkerResource.
268+
*
269+
* @return Resource collection API of Linkers.
270+
*/
267271
public Linkers linkers() {
268272
if (this.linkers == null) {
269273
this.linkers = new LinkersImpl(clientObject.getLinkers(), this);
270274
}
271275
return linkers;
272276
}
273277

274-
/** @return Resource collection API of Operations. */
278+
/**
279+
* Gets the resource collection API of Operations.
280+
*
281+
* @return Resource collection API of Operations.
282+
*/
275283
public Operations operations() {
276284
if (this.operations == null) {
277285
this.operations = new OperationsImpl(clientObject.getOperations(), this);

sdk/servicelinker/azure-resourcemanager-servicelinker/src/main/java/com/azure/resourcemanager/servicelinker/fluent/LinkersClient.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import com.azure.core.util.polling.SyncPoller;
1414
import com.azure.resourcemanager.servicelinker.fluent.models.LinkerResourceInner;
1515
import com.azure.resourcemanager.servicelinker.fluent.models.SourceConfigurationResultInner;
16-
import com.azure.resourcemanager.servicelinker.fluent.models.ValidateResultInner;
16+
import com.azure.resourcemanager.servicelinker.fluent.models.ValidateOperationResultInner;
1717
import com.azure.resourcemanager.servicelinker.models.LinkerPatch;
1818

1919
/** An instance of this class provides access to all the operations defined in LinkersClient. */
@@ -251,10 +251,10 @@ SyncPoller<PollResult<LinkerResourceInner>, LinkerResourceInner> beginUpdate(
251251
* @throws IllegalArgumentException thrown if parameters fail the validation.
252252
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
253253
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
254-
* @return the {@link SyncPoller} for polling of the validation result for a linker.
254+
* @return the {@link SyncPoller} for polling of the validation operation result for a linker.
255255
*/
256256
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
257-
SyncPoller<PollResult<ValidateResultInner>, ValidateResultInner> beginValidate(
257+
SyncPoller<PollResult<ValidateOperationResultInner>, ValidateOperationResultInner> beginValidate(
258258
String resourceUri, String linkerName);
259259

260260
/**
@@ -266,10 +266,10 @@ SyncPoller<PollResult<ValidateResultInner>, ValidateResultInner> beginValidate(
266266
* @throws IllegalArgumentException thrown if parameters fail the validation.
267267
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
268268
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
269-
* @return the {@link SyncPoller} for polling of the validation result for a linker.
269+
* @return the {@link SyncPoller} for polling of the validation operation result for a linker.
270270
*/
271271
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
272-
SyncPoller<PollResult<ValidateResultInner>, ValidateResultInner> beginValidate(
272+
SyncPoller<PollResult<ValidateOperationResultInner>, ValidateOperationResultInner> beginValidate(
273273
String resourceUri, String linkerName, Context context);
274274

275275
/**
@@ -280,10 +280,10 @@ SyncPoller<PollResult<ValidateResultInner>, ValidateResultInner> beginValidate(
280280
* @throws IllegalArgumentException thrown if parameters fail the validation.
281281
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
282282
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
283-
* @return the validation result for a linker.
283+
* @return the validation operation result for a linker.
284284
*/
285285
@ServiceMethod(returns = ReturnType.SINGLE)
286-
ValidateResultInner validate(String resourceUri, String linkerName);
286+
ValidateOperationResultInner validate(String resourceUri, String linkerName);
287287

288288
/**
289289
* Validate a link.
@@ -294,10 +294,10 @@ SyncPoller<PollResult<ValidateResultInner>, ValidateResultInner> beginValidate(
294294
* @throws IllegalArgumentException thrown if parameters fail the validation.
295295
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
296296
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
297-
* @return the validation result for a linker.
297+
* @return the validation operation result for a linker.
298298
*/
299299
@ServiceMethod(returns = ReturnType.SINGLE)
300-
ValidateResultInner validate(String resourceUri, String linkerName, Context context);
300+
ValidateOperationResultInner validate(String resourceUri, String linkerName, Context context);
301301

302302
/**
303303
* list source configurations for a linker.

0 commit comments

Comments
 (0)