Interface MigrationConfigsClient
public interface MigrationConfigsClient
An instance of this class provides access to all the operations defined in MigrationConfigsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>, MigrationConfigPropertiesInner> beginCreateAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>, MigrationConfigPropertiesInner> beginCreateAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters, com.azure.core.util.Context context) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>, MigrationConfigPropertiesInner> beginCreateAndStartMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.voidcompleteMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.completeMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.com.azure.core.http.rest.Response<Void> completeMigrationWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.completeMigrationWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.createAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.createAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters, com.azure.core.util.Context context) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.createAndStartMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createAndStartMigrationWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.voiddelete(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Deletes a MigrationConfiguration.deleteAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Deletes a MigrationConfiguration.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) Deletes a MigrationConfiguration.deleteWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Deletes a MigrationConfiguration.get(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.getAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.com.azure.core.http.rest.Response<MigrationConfigPropertiesInner> getWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) Retrieves Migration Config.Mono<com.azure.core.http.rest.Response<MigrationConfigPropertiesInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.com.azure.core.http.rest.PagedIterable<MigrationConfigPropertiesInner> Gets all migrationConfigurations.com.azure.core.http.rest.PagedIterable<MigrationConfigPropertiesInner> Gets all migrationConfigurations.com.azure.core.http.rest.PagedFlux<MigrationConfigPropertiesInner> Gets all migrationConfigurations.voidrevert(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation reverts Migration.revertAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation reverts Migration.com.azure.core.http.rest.Response<Void> revertWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) This operation reverts Migration.revertWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation reverts Migration.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<MigrationConfigPropertiesInner> listAsync(String resourceGroupName, String namespaceName) Gets all migrationConfigurations.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all migrationConfigurations as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MigrationConfigPropertiesInner> list(String resourceGroupName, String namespaceName) Gets all migrationConfigurations.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all migrationConfigurations as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MigrationConfigPropertiesInner> list(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Gets all migrationConfigurations.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.context- The context to associate with this operation.- Returns:
- all migrationConfigurations as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAndStartMigrationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createAndStartMigrationWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.- Returns:
- single item in List or Get Migration Config operation along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAndStartMigrationAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>,MigrationConfigPropertiesInner> beginCreateAndStartMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.- Returns:
- the
PollerFluxfor polling of single item in List or Get Migration Config operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAndStartMigration
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>,MigrationConfigPropertiesInner> beginCreateAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.- Returns:
- the
SyncPollerfor polling of single item in List or Get Migration Config operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAndStartMigration
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrationConfigPropertiesInner>,MigrationConfigPropertiesInner> beginCreateAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters, com.azure.core.util.Context context) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of single item in List or Get Migration Config operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAndStartMigrationAsync
Mono<MigrationConfigPropertiesInner> createAndStartMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.- Returns:
- single item in List or Get Migration Config operation on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAndStartMigration
MigrationConfigPropertiesInner createAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.- Returns:
- single item in List or Get Migration Config operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAndStartMigration
MigrationConfigPropertiesInner createAndStartMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, MigrationConfigPropertiesInner parameters, com.azure.core.util.Context context) Creates Migration configuration and starts migration of entities from Standard to Premium namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".parameters- Parameters required to create Migration Configuration.context- The context to associate with this operation.- Returns:
- single item in List or Get Migration Config operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Deletes a MigrationConfiguration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Deletes a MigrationConfiguration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) Deletes a MigrationConfiguration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a MigrationConfiguration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<MigrationConfigPropertiesInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- single item in List or Get Migration Config operation along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<MigrationConfigPropertiesInner> getAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- single item in List or Get Migration Config operation on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<MigrationConfigPropertiesInner> getWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) Retrieves Migration Config.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".context- The context to associate with this operation.- Returns:
- single item in List or Get Migration Config operation along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
MigrationConfigPropertiesInner get(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) Retrieves Migration Config.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- single item in List or Get Migration Config operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
completeMigrationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> completeMigrationWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
completeMigrationAsync
Mono<Void> completeMigrationAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
completeMigrationWithResponse
com.azure.core.http.rest.Response<Void> completeMigrationWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
completeMigration
void completeMigration(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
revertWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> revertWithResponseAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation reverts Migration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
revertAsync
Mono<Void> revertAsync(String resourceGroupName, String namespaceName, MigrationConfigurationName configName) This operation reverts Migration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
revertWithResponse
com.azure.core.http.rest.Response<Void> revertWithResponse(String resourceGroupName, String namespaceName, MigrationConfigurationName configName, com.azure.core.util.Context context) This operation reverts Migration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
revert
This operation reverts Migration.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.configName- The configuration name. Should always be "$default".- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-