Class DataMigrationServiceStatusResponseInner
java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceStatusResponseInner
Service health status.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DataMigrationServiceStatusResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentVersion property: The DMS instance agent version.status()
Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.Get the supportedTaskTypes property: The list of supported task types.void
validate()
Validates the instance.vmSize()
Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.withAgentVersion
(String agentVersion) Set the agentVersion property: The DMS instance agent version.withStatus
(String status) Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.withSupportedTaskTypes
(List<String> supportedTaskTypes) Set the supportedTaskTypes property: The list of supported task types.withVmSize
(String vmSize) Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.
-
Constructor Details
-
DataMigrationServiceStatusResponseInner
public DataMigrationServiceStatusResponseInner()Creates an instance of DataMigrationServiceStatusResponseInner class.
-
-
Method Details
-
agentVersion
Get the agentVersion property: The DMS instance agent version.- Returns:
- the agentVersion value.
-
withAgentVersion
Set the agentVersion property: The DMS instance agent version.- Parameters:
agentVersion
- the agentVersion value to set.- Returns:
- the DataMigrationServiceStatusResponseInner object itself.
-
status
Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.- Returns:
- the status value.
-
withStatus
Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.- Parameters:
status
- the status value to set.- Returns:
- the DataMigrationServiceStatusResponseInner object itself.
-
vmSize
Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.- Returns:
- the vmSize value.
-
withVmSize
Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.- Parameters:
vmSize
- the vmSize value to set.- Returns:
- the DataMigrationServiceStatusResponseInner object itself.
-
supportedTaskTypes
Get the supportedTaskTypes property: The list of supported task types.- Returns:
- the supportedTaskTypes value.
-
withSupportedTaskTypes
public DataMigrationServiceStatusResponseInner withSupportedTaskTypes(List<String> supportedTaskTypes) Set the supportedTaskTypes property: The list of supported task types.- Parameters:
supportedTaskTypes
- the supportedTaskTypes value to set.- Returns:
- the DataMigrationServiceStatusResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-