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 53f028513f1c9bcbaad825aedcdcf04b40a833fe into 77594f11d143384288cb83f5d54f9bb92bc3ff8d
- Loading branch information
SDKAuto
committed
Sep 20, 2023
1 parent
88aa872
commit ff322db
Showing
181 changed files
with
2,183 additions
and
4,730 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
128 changes: 78 additions & 50 deletions
128
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
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
70 changes: 70 additions & 0 deletions
70
...in/java/com/azure/resourcemanager/mysqlflexibleserver/fluent/ServersMigrationsClient.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,70 @@ | ||
// 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.management.polling.PollResult; | ||
import com.azure.core.util.Context; | ||
import com.azure.core.util.polling.SyncPoller; | ||
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.ServerInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in ServersMigrationsClient. */ | ||
public interface ServersMigrationsClient { | ||
/** | ||
* Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param serverName The name of the server. | ||
* @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 {@link SyncPoller} for polling of represents a server. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<ServerInner>, ServerInner> beginCutoverMigration(String resourceGroupName, String serverName); | ||
|
||
/** | ||
* Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param serverName The name of the server. | ||
* @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 {@link SyncPoller} for polling of represents a server. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<ServerInner>, ServerInner> beginCutoverMigration( | ||
String resourceGroupName, String serverName, Context context); | ||
|
||
/** | ||
* Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param serverName The name of the server. | ||
* @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 represents a server. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
ServerInner cutoverMigration(String resourceGroupName, String serverName); | ||
|
||
/** | ||
* Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param serverName The name of the server. | ||
* @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 represents a server. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
ServerInner cutoverMigration(String resourceGroupName, String serverName, Context context); | ||
} |
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
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
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
Oops, something went wrong.