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
Sync |
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
Sync |
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
Sync |
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
Sync |
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
Sync |
beginStart(String groupName, String serviceName)
Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Sync |
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
Sync |
beginStop(String groupName, String serviceName)
Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Sync |
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
Sync |
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
Sync |
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
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
Data |
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
Data |
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
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). |
|
abstract
Data |
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
Data |
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
Returns:
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:
Returns:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
Returns:
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:
Returns: