Class DataMigrationServiceProperties
java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceProperties
Properties of the Data Migration service instance.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataMigrationServiceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The resource's provisioning state.Get the publicKey property: The public key of the service, used to encrypt secrets sent to the service.voidvalidate()Validates the instance.Get the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.withPublicKey(String publicKey) Set the publicKey property: The public key of the service, used to encrypt secrets sent to the service.withVirtualSubnetId(String virtualSubnetId) Set the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
-
Constructor Details
-
DataMigrationServiceProperties
public DataMigrationServiceProperties()Creates an instance of DataMigrationServiceProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The resource's provisioning state.- Returns:
- the provisioningState value.
-
publicKey
Get the publicKey property: The public key of the service, used to encrypt secrets sent to the service.- Returns:
- the publicKey value.
-
withPublicKey
Set the publicKey property: The public key of the service, used to encrypt secrets sent to the service.- Parameters:
publicKey- the publicKey value to set.- Returns:
- the DataMigrationServiceProperties object itself.
-
virtualSubnetId
Get the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.- Returns:
- the virtualSubnetId value.
-
withVirtualSubnetId
Set the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.- Parameters:
virtualSubnetId- the virtualSubnetId value to set.- Returns:
- the DataMigrationServiceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-