DataMigrationServiceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. DataMigrationServiceProperties
- com.
Implements
public final class DataMigrationServiceProperties
implements JsonSerializable<DataMigrationServiceProperties>
Properties of the Azure Database Migration Service (classic) instance.
Constructor Summary
| Constructor | Description |
|---|---|
| DataMigrationServiceProperties() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
autoStopDelay()
Get the auto |
| Boolean |
deleteResourcesOnStop()
Get the delete |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
|
Service |
provisioningState()
Get the provisioning |
| String |
publicKey()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
virtualNicId()
Get the virtual |
| String |
virtualSubnetId()
Get the virtual |
|
Data |
withAutoStopDelay(String autoStopDelay)
Set the auto |
|
Data |
withDeleteResourcesOnStop(Boolean deleteResourcesOnStop)
Set the delete |
|
Data |
withPublicKey(String publicKey)
Set the public |
|
Data |
withVirtualNicId(String virtualNicId)
Set the virtual |
|
Data |
withVirtualSubnetId(String virtualSubnetId)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
DataMigrationServiceProperties
public DataMigrationServiceProperties()
Creates an instance of DataMigrationServiceProperties class.
Method Details
autoStopDelay
public String autoStopDelay()
Get the autoStopDelay property: The time delay before the service is auto-stopped when idle.
Returns:
deleteResourcesOnStop
public Boolean deleteResourcesOnStop()
Get the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).
Returns:
fromJson
public static DataMigrationServiceProperties fromJson(JsonReader jsonReader)
Reads an instance of DataMigrationServiceProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ServiceProvisioningState provisioningState()
Get the provisioningState property: The resource's provisioning state.
Returns:
publicKey
public String publicKey()
Get the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNicId
public String virtualNicId()
Get the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.
Returns:
virtualSubnetId
public String virtualSubnetId()
Get the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
Returns:
withAutoStopDelay
public DataMigrationServiceProperties withAutoStopDelay(String autoStopDelay)
Set the autoStopDelay property: The time delay before the service is auto-stopped when idle.
Parameters:
Returns:
withDeleteResourcesOnStop
public DataMigrationServiceProperties withDeleteResourcesOnStop(Boolean deleteResourcesOnStop)
Set the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).
Parameters:
Returns:
withPublicKey
public DataMigrationServiceProperties withPublicKey(String publicKey)
Set the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
Parameters:
Returns:
withVirtualNicId
public DataMigrationServiceProperties withVirtualNicId(String virtualNicId)
Set the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.
Parameters:
Returns:
withVirtualSubnetId
public DataMigrationServiceProperties withVirtualSubnetId(String virtualSubnetId)
Set the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
Parameters:
Returns: