次の方法で共有


ServicesClient Interface

public interface ServicesClient

An instance of this class provides access to all the operations defined in ServicesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginCreateOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginCreateOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String groupName, String serviceName)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String groupName, String serviceName, Boolean deleteRunningTasks, Context context)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginStart(String groupName, String serviceName)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginStart(String groupName, String serviceName, Context context)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginStop(String groupName, String serviceName)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<Void>,Void> beginStop(String groupName, String serviceName, Context context)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract NameAvailabilityResponseInner checkChildrenNameAvailability(String groupName, String serviceName, NameAvailabilityRequest parameters)

Check nested resource name validity and availability This method checks whether a proposed nested resource name is valid and available.

abstract Response<NameAvailabilityResponseInner> checkChildrenNameAvailabilityWithResponse(String groupName, String serviceName, NameAvailabilityRequest parameters, Context context)

Check nested resource name validity and availability This method checks whether a proposed nested resource name is valid and available.

abstract NameAvailabilityResponseInner checkNameAvailability(String location, NameAvailabilityRequest parameters)

Check name validity and availability This method checks whether a proposed top-level resource name is valid and available.

abstract Response<NameAvailabilityResponseInner> checkNameAvailabilityWithResponse(String location, NameAvailabilityRequest parameters, Context context)

Check name validity and availability This method checks whether a proposed top-level resource name is valid and available.

abstract DataMigrationServiceStatusResponseInner checkStatus(String groupName, String serviceName)

Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract Response<DataMigrationServiceStatusResponseInner> checkStatusWithResponse(String groupName, String serviceName, Context context)

Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract DataMigrationServiceInner createOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract DataMigrationServiceInner createOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract void delete(String groupName, String serviceName)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract void delete(String groupName, String serviceName, Boolean deleteRunningTasks, Context context)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract DataMigrationServiceInner getByResourceGroup(String groupName, String serviceName)

Get DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract Response<DataMigrationServiceInner> getByResourceGroupWithResponse(String groupName, String serviceName, Context context)

Get DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract PagedIterable<DataMigrationServiceInner> list()

Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract PagedIterable<DataMigrationServiceInner> list(Context context)

Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract PagedIterable<DataMigrationServiceInner> listByResourceGroup(String groupName)

Get services in resource group The Services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract PagedIterable<DataMigrationServiceInner> listByResourceGroup(String groupName, Context context)

Get services in resource group The Services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract PagedIterable<AvailableServiceSkuInner> listSkus(String groupName, String serviceName)

Get compatible SKUs The services resource is the top-level resource that represents the Database Migration Service (classic).

abstract PagedIterable<AvailableServiceSkuInner> listSkus(String groupName, String serviceName, Context context)

Get compatible SKUs The services resource is the top-level resource that represents the Database Migration Service (classic).

abstract void start(String groupName, String serviceName)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract void start(String groupName, String serviceName, Context context)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract void stop(String groupName, String serviceName)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract void stop(String groupName, String serviceName, Context context)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract DataMigrationServiceInner update(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

abstract DataMigrationServiceInner update(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic).

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginCreateOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.

Returns:

the SyncPoller<T,U> for polling of an Azure Database Migration Service (classic) resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginCreateOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure Database Migration Service (classic) resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String groupName, String serviceName)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The DELETE method deletes a service. Any running tasks will be canceled.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String groupName, String serviceName, Boolean deleteRunningTasks, Context context)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The DELETE method deletes a service. Any running tasks will be canceled.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
deleteRunningTasks - Delete the resource even if it contains running tasks.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<PollResult<Void>,Void> beginStart(String groupName, String serviceName)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action starts the service and the service can be used for data migration.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<PollResult<Void>,Void> beginStart(String groupName, String serviceName, Context context)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action starts the service and the service can be used for data migration.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStop

public abstract SyncPoller<PollResult<Void>,Void> beginStop(String groupName, String serviceName)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStop

public abstract SyncPoller<PollResult<Void>,Void> beginStop(String groupName, String serviceName, Context context)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.

Returns:

the SyncPoller<T,U> for polling of an Azure Database Migration Service (classic) resource.

beginUpdate

public abstract SyncPoller<PollResult<DataMigrationServiceInner>,DataMigrationServiceInner> beginUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure Database Migration Service (classic) resource.

checkChildrenNameAvailability

public abstract NameAvailabilityResponseInner checkChildrenNameAvailability(String groupName, String serviceName, NameAvailabilityRequest parameters)

Check nested resource name validity and availability This method checks whether a proposed nested resource name is valid and available.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Requested name to validate.

Returns:

indicates whether a proposed resource name is available.

checkChildrenNameAvailabilityWithResponse

public abstract Response<NameAvailabilityResponseInner> checkChildrenNameAvailabilityWithResponse(String groupName, String serviceName, NameAvailabilityRequest parameters, Context context)

Check nested resource name validity and availability This method checks whether a proposed nested resource name is valid and available.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Requested name to validate.
context - The context to associate with this operation.

Returns:

indicates whether a proposed resource name is available along with Response<T>.

checkNameAvailability

public abstract NameAvailabilityResponseInner checkNameAvailability(String location, NameAvailabilityRequest parameters)

Check name validity and availability This method checks whether a proposed top-level resource name is valid and available.

Parameters:

location - The Azure region of the operation.
parameters - Requested name to validate.

Returns:

indicates whether a proposed resource name is available.

checkNameAvailabilityWithResponse

public abstract Response<NameAvailabilityResponseInner> checkNameAvailabilityWithResponse(String location, NameAvailabilityRequest parameters, Context context)

Check name validity and availability This method checks whether a proposed top-level resource name is valid and available.

Parameters:

location - The Azure region of the operation.
parameters - Requested name to validate.
context - The context to associate with this operation.

Returns:

indicates whether a proposed resource name is available along with Response<T>.

checkStatus

public abstract DataMigrationServiceStatusResponseInner checkStatus(String groupName, String serviceName)

Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action performs a health check and returns the status of the service and virtual machine size.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

service health status.

checkStatusWithResponse

public abstract Response<DataMigrationServiceStatusResponseInner> checkStatusWithResponse(String groupName, String serviceName, Context context)

Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action performs a health check and returns the status of the service and virtual machine size.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

service health status along with Response<T>.

createOrUpdate

public abstract DataMigrationServiceInner createOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.

Returns:

an Azure Database Migration Service (classic) resource.

createOrUpdate

public abstract DataMigrationServiceInner createOrUpdate(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.
context - The context to associate with this operation.

Returns:

an Azure Database Migration Service (classic) resource.

delete

public abstract void delete(String groupName, String serviceName)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The DELETE method deletes a service. Any running tasks will be canceled.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

delete

public abstract void delete(String groupName, String serviceName, Boolean deleteRunningTasks, Context context)

Delete DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The DELETE method deletes a service. Any running tasks will be canceled.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
deleteRunningTasks - Delete the resource even if it contains running tasks.
context - The context to associate with this operation.

getByResourceGroup

public abstract DataMigrationServiceInner getByResourceGroup(String groupName, String serviceName)

Get DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The GET method retrieves information about a service instance.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

an Azure Database Migration Service (classic) resource.

getByResourceGroupWithResponse

public abstract Response<DataMigrationServiceInner> getByResourceGroupWithResponse(String groupName, String serviceName, Context context)

Get DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The GET method retrieves information about a service instance.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

an Azure Database Migration Service (classic) resource along with Response<T>.

list

public abstract PagedIterable<DataMigrationServiceInner> list()

Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service resources in a subscription.

Returns:

oData page of service objects as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DataMigrationServiceInner> list(Context context)

Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service resources in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

oData page of service objects as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DataMigrationServiceInner> listByResourceGroup(String groupName)

Get services in resource group The Services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service resources in a resource group.

Parameters:

groupName - Name of the resource group.

Returns:

oData page of service objects as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DataMigrationServiceInner> listByResourceGroup(String groupName, Context context)

Get services in resource group The Services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service resources in a resource group.

Parameters:

groupName - Name of the resource group.
context - The context to associate with this operation.

Returns:

oData page of service objects as paginated response with PagedIterable<T>.

listSkus

public abstract PagedIterable<AvailableServiceSkuInner> listSkus(String groupName, String serviceName)

Get compatible SKUs The services resource is the top-level resource that represents the Database Migration Service (classic). The skus action returns the list of SKUs that a service resource can be updated to.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

oData page of available SKUs as paginated response with PagedIterable<T>.

listSkus

public abstract PagedIterable<AvailableServiceSkuInner> listSkus(String groupName, String serviceName, Context context)

Get compatible SKUs The services resource is the top-level resource that represents the Database Migration Service (classic). The skus action returns the list of SKUs that a service resource can be updated to.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

oData page of available SKUs as paginated response with PagedIterable<T>.

start

public abstract void start(String groupName, String serviceName)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action starts the service and the service can be used for data migration.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

start

public abstract void start(String groupName, String serviceName, Context context)

Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action starts the service and the service can be used for data migration.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

stop

public abstract void stop(String groupName, String serviceName)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.

stop

public abstract void stop(String groupName, String serviceName, Context context)

Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

update

public abstract DataMigrationServiceInner update(String groupName, String serviceName, DataMigrationServiceInner parameters)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.

Returns:

an Azure Database Migration Service (classic) resource.

update

public abstract DataMigrationServiceInner update(String groupName, String serviceName, DataMigrationServiceInner parameters, Context context)

Create or update DMS (classic) Service Instance The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").

Parameters:

groupName - Name of the resource group.
serviceName - Name of the service.
parameters - Information about the service.
context - The context to associate with this operation.

Returns:

an Azure Database Migration Service (classic) resource.

Applies to