次の方法で共有


Services Interface

public interface Services

Resource collection API of Services.

Method Summary

Modifier and Type Method and Description
abstract NameAvailabilityResponse 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<NameAvailabilityResponse> 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 NameAvailabilityResponse 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<NameAvailabilityResponse> 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 DataMigrationServiceStatusResponse 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<DataMigrationServiceStatusResponse> 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 Blank define(String name)

Begins definition for a new DataMigrationService resource.

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 void deleteById(String id)

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

abstract void deleteByIdWithResponse(String id, 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 DataMigrationService getById(String id)

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

abstract Response<DataMigrationService> getByIdWithResponse(String id, Context context)

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

abstract DataMigrationService 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<DataMigrationService> 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<DataMigrationService> list()

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

abstract PagedIterable<DataMigrationService> 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<DataMigrationService> 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<DataMigrationService> 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<AvailableServiceSku> 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<AvailableServiceSku> 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).

Method Details

checkChildrenNameAvailability

public abstract NameAvailabilityResponse 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<NameAvailabilityResponse> 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 NameAvailabilityResponse 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<NameAvailabilityResponse> 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 DataMigrationServiceStatusResponse 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<DataMigrationServiceStatusResponse> 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>.

define

public abstract DataMigrationService.DefinitionStages.Blank define(String name)

Begins definition for a new DataMigrationService resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DataMigrationService definition.

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.

deleteById

public abstract void deleteById(String id)

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:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, 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:

id - the resource ID.
deleteRunningTasks - Delete the resource even if it contains running tasks.
context - The context to associate with this operation.

getById

public abstract DataMigrationService getById(String id)

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:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<DataMigrationService> getByIdWithResponse(String id, 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:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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

getByResourceGroup

public abstract DataMigrationService 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<DataMigrationService> 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<DataMigrationService> 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<DataMigrationService> 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<DataMigrationService> 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<DataMigrationService> 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<AvailableServiceSku> 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<AvailableServiceSku> 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.

Applies to