DataMigrationServiceStatusResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. DataMigrationServiceStatusResponseInner
- com.
Implements
public final class DataMigrationServiceStatusResponseInner
implements JsonSerializable<DataMigrationServiceStatusResponseInner>
Service health status.
Constructor Summary
| Constructor | Description |
|---|---|
| DataMigrationServiceStatusResponseInner() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
agentConfiguration()
Get the agent |
| String |
agentVersion()
Get the agent |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
| String |
status()
Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'Failed |
| List<String> |
supportedTaskTypes()
Get the supported |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vmSize()
Get the vm |
|
Data |
withAgentConfiguration(Object agentConfiguration)
Set the agent |
|
Data |
withAgentVersion(String agentVersion)
Set the agent |
|
Data |
withStatus(String status)
Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'Failed |
|
Data |
withSupportedTaskTypes(List<String> supportedTaskTypes)
Set the supported |
|
Data |
withVmSize(String vmSize)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
DataMigrationServiceStatusResponseInner
public DataMigrationServiceStatusResponseInner()
Creates an instance of DataMigrationServiceStatusResponseInner class.
Method Details
agentConfiguration
public Object agentConfiguration()
Get the agentConfiguration property: Agent Configuration.
Returns:
agentVersion
public String agentVersion()
Get the agentVersion property: The DMS instance agent version.
Returns:
fromJson
public static DataMigrationServiceStatusResponseInner fromJson(JsonReader jsonReader)
Reads an instance of DataMigrationServiceStatusResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
status
public String status()
Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.
Returns:
supportedTaskTypes
public List<String> supportedTaskTypes()
Get the supportedTaskTypes property: The list of supported task types.
Returns:
toJson
validate
public void validate()
Validates the instance.
vmSize
public String vmSize()
Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.
Returns:
withAgentConfiguration
public DataMigrationServiceStatusResponseInner withAgentConfiguration(Object agentConfiguration)
Set the agentConfiguration property: Agent Configuration.
Parameters:
Returns:
withAgentVersion
public DataMigrationServiceStatusResponseInner withAgentVersion(String agentVersion)
Set the agentVersion property: The DMS instance agent version.
Parameters:
Returns:
withStatus
public DataMigrationServiceStatusResponseInner 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'.
Parameters:
Returns:
withSupportedTaskTypes
public DataMigrationServiceStatusResponseInner withSupportedTaskTypes(List<String> supportedTaskTypes)
Set the supportedTaskTypes property: The list of supported task types.
Parameters:
Returns:
withVmSize
public DataMigrationServiceStatusResponseInner withVmSize(String vmSize)
Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.
Parameters:
Returns: