Class DataMigrationServiceProperties

java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceProperties

public final class DataMigrationServiceProperties extends Object
Properties of the Data Migration service instance.
  • Constructor Details

    • DataMigrationServiceProperties

      public DataMigrationServiceProperties()
      Creates an instance of DataMigrationServiceProperties class.
  • Method Details

    • provisioningState

      public ServiceProvisioningState provisioningState()
      Get the provisioningState property: The resource's provisioning state.
      Returns:
      the provisioningState value.
    • publicKey

      public String publicKey()
      Get the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
      Returns:
      the publicKey value.
    • 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:
      publicKey - the publicKey value to set.
      Returns:
      the DataMigrationServiceProperties object itself.
    • 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:
      the virtualSubnetId value.
    • 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:
      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.