forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 25875 in Azure/azure-rest-api-specs
Merge 0d39e4928124adcba1b5ddb74bdb964cf7c9dc06 into fa285f544fa37cd839c4befe1109db3547b016ab
- Loading branch information
SDKAuto
committed
Sep 20, 2023
1 parent
88aa872
commit 5397501
Showing
214 changed files
with
4,280 additions
and
4,836 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/mysqlflexibleserver/azure-resourcemanager-mysqlflexibleserver/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
209 changes: 153 additions & 56 deletions
209
sdk/mysqlflexibleserver/azure-resourcemanager-mysqlflexibleserver/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...m/azure/resourcemanager/mysqlflexibleserver/fluent/LocationBasedCapabilitySetsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.mysqlflexibleserver.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.CapabilityInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in LocationBasedCapabilitySetsClient. */ | ||
public interface LocationBasedCapabilitySetsClient { | ||
/** | ||
* Get capabilities at specified location in a given subscription. | ||
* | ||
* @param locationName The name of the location. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return capabilities at specified location in a given subscription as paginated response with {@link | ||
* PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<CapabilityInner> list(String locationName); | ||
|
||
/** | ||
* Get capabilities at specified location in a given subscription. | ||
* | ||
* @param locationName The name of the location. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return capabilities at specified location in a given subscription as paginated response with {@link | ||
* PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<CapabilityInner> list(String locationName, Context context); | ||
|
||
/** | ||
* Get capabilities at specified location in a given subscription. | ||
* | ||
* @param locationName The name of the location. | ||
* @param capabilitySetName Name of capability set. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return capabilities at specified location in a given subscription along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<CapabilityInner> getWithResponse(String locationName, String capabilitySetName, Context context); | ||
|
||
/** | ||
* Get capabilities at specified location in a given subscription. | ||
* | ||
* @param locationName The name of the location. | ||
* @param capabilitySetName Name of capability set. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return capabilities at specified location in a given subscription. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
CapabilityInner get(String locationName, String capabilitySetName); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...ain/java/com/azure/resourcemanager/mysqlflexibleserver/fluent/OperationResultsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.mysqlflexibleserver.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.OperationStatusExtendedResultInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in OperationResultsClient. */ | ||
public interface OperationResultsClient { | ||
/** | ||
* Get the operation result for a long running operation. | ||
* | ||
* @param locationName The name of the location. | ||
* @param operationId The operation Id. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the operation result for a long running operation along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<OperationStatusExtendedResultInner> getWithResponse( | ||
String locationName, String operationId, Context context); | ||
|
||
/** | ||
* Get the operation result for a long running operation. | ||
* | ||
* @param locationName The name of the location. | ||
* @param operationId The operation Id. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return the operation result for a long running operation. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
OperationStatusExtendedResultInner get(String locationName, String operationId); | ||
} |
Oops, something went wrong.