Share via


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 autoStopDelay property: The time delay before the service is auto-stopped when idle.

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.

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.

abstract DataMigrationServiceStatusResponse checkStatus()

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

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).

abstract Boolean deleteResourcesOnStop()

Gets the deleteResourcesOnStop property: Whether service resources should be deleted when stopped.

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 DataMigrationServiceInner innerModel()

Gets the inner com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceInner object.

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 ServiceProvisioningState provisioningState()

Gets the provisioningState property: The resource's provisioning state.

abstract String publicKey()

Gets the publicKey property: The public key of the service, used to encrypt secrets sent to the service.

abstract DataMigrationService refresh()

Refreshes the resource to sync with Azure.

abstract DataMigrationService 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 ServiceSku 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 SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

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 DataMigrationService resource.

abstract String virtualNicId()

Gets the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.

abstract String virtualSubnetId()

Gets the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.

Method Details

autoStopDelay

public abstract String autoStopDelay()

Gets the autoStopDelay property: The time delay before the service is auto-stopped when idle.

Returns:

the autoStopDelay value.

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:

parameters - Requested name to validate.

Returns:

indicates whether a proposed resource name is available.

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:

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()

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:

service health status.

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:

context - The context to associate with this operation.

Returns:

service health status along with Response<T>.

deleteResourcesOnStop

public abstract Boolean deleteResourcesOnStop()

Gets the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).

Returns:

the deleteResourcesOnStop value.

etag

public abstract String etag()

Gets the etag property: HTTP strong entity tag value. Ignored if submitted.

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract DataMigrationServiceInner innerModel()

Gets the inner com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceInner object.

Returns:

the inner object.

kind

public abstract String kind()

Gets the kind property: The resource kind. Only 'vm' (the default) is supported.

Returns:

the kind value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ServiceProvisioningState provisioningState()

Gets the provisioningState property: The resource's provisioning state.

Returns:

the provisioningState value.

publicKey

public abstract String publicKey()

Gets the publicKey property: The public key of the service, used to encrypt secrets sent to the service.

Returns:

the publicKey value.

refresh

public abstract DataMigrationService refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract DataMigrationService refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

sku

public abstract ServiceSku sku()

Gets the sku property: Service SKU.

Returns:

the sku value.

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:

context - The context to associate with this operation.

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:

context - The context to associate with this operation.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract DataMigrationService.Update update()

Begins update for the DataMigrationService resource.

Returns:

the stage of resource update.

virtualNicId

public abstract String virtualNicId()

Gets the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.

Returns:

the virtualNicId value.

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:

the virtualSubnetId value.

Applies to