DataMigrationService Interface
public interface DataMigrationService
An immutable client-side representation of DataMigrationService.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract String |
autoStopDelay()
Gets the auto |
|
abstract
Name |
checkChildrenNameAvailability(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(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
Data |
checkStatus()
Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Response<Data |
checkStatusWithResponse(Context context)
Check service health status The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
| abstract Boolean |
deleteResourcesOnStop()
Gets the delete |
| abstract String |
etag()
Gets the etag property: HTTP strong entity tag value. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Data |
innerModel()
Gets the inner com. |
| abstract String |
kind()
Gets the kind property: The resource kind. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Service |
provisioningState()
Gets the provisioning |
| abstract String |
publicKey()
Gets the public |
|
abstract
Data |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Data |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
Service |
sku()
Gets the sku property: Service SKU. |
| abstract void |
start()
Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
| abstract void |
start(Context context)
Start service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
| abstract void |
stop()
Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
| abstract void |
stop(Context context)
Stop service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Data |
| abstract String |
virtualNicId()
Gets the virtual |
| abstract String |
virtualSubnetId()
Gets the virtual |
Method Details
autoStopDelay
public abstract String autoStopDelay()
Gets the autoStopDelay property: The time delay before the service is auto-stopped when idle.
Returns:
checkChildrenNameAvailability
public abstract NameAvailabilityResponse checkChildrenNameAvailability(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(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:
checkStatus
public abstract DataMigrationServiceStatusResponse checkStatus()
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.
Returns:
checkStatusWithResponse
public abstract Response<DataMigrationServiceStatusResponse> checkStatusWithResponse(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:
deleteResourcesOnStop
public abstract Boolean deleteResourcesOnStop()
Gets the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).
Returns:
etag
public abstract String etag()
Gets the etag property: HTTP strong entity tag value. Ignored if submitted.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract DataMigrationServiceInner innerModel()
Gets the inner com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceInner object.
Returns:
kind
public abstract String kind()
Gets the kind property: The resource kind. Only 'vm' (the default) is supported.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
provisioningState
public abstract ServiceProvisioningState provisioningState()
Gets the provisioningState property: The resource's provisioning state.
Returns:
publicKey
public abstract String publicKey()
Gets the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
Returns:
refresh
public abstract DataMigrationService refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract DataMigrationService refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
sku
public abstract ServiceSku sku()
Gets the sku property: Service SKU.
Returns:
start
public abstract void start()
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.
start
public abstract void start(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()
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.
stop
public abstract void stop(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:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract DataMigrationService.Update update()
Begins update for the DataMigrationService resource.
Returns:
virtualNicId
public abstract String virtualNicId()
Gets the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.
Returns:
virtualSubnetId
public abstract String virtualSubnetId()
Gets the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
Returns: