Services Interface
public interface Services
Resource collection API of Services.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Name |
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<Name |
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
Name |
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<Name |
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
Data |
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<Data |
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 Data |
| 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
Data |
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<Data |
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
Data |
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<Data |
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
Paged |
list()
Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Paged |
list(Context context)
Get services in subscription The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Paged |
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
Paged |
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
Paged |
listSkus(String groupName, String serviceName)
Get compatible SKUs The services resource is the top-level resource that represents the Database Migration Service (classic). |
|
abstract
Paged |
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
define
public abstract DataMigrationService.DefinitionStages.Blank define(String name)
Begins definition for a new DataMigrationService resource.
Parameters:
Returns:
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:
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:
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:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
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: