Class ManagedDiskDetails

java.lang.Object
com.azure.resourcemanager.databox.models.DataAccountDetails
com.azure.resourcemanager.databox.models.ManagedDiskDetails

public final class ManagedDiskDetails extends DataAccountDetails
Details of the managed disks.
  • Constructor Details

    • ManagedDiskDetails

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

    • resourceGroupId

      public String resourceGroupId()
      Get the resourceGroupId property: Resource Group Id of the compute disks.
      Returns:
      the resourceGroupId value.
    • withResourceGroupId

      public ManagedDiskDetails withResourceGroupId(String resourceGroupId)
      Set the resourceGroupId property: Resource Group Id of the compute disks.
      Parameters:
      resourceGroupId - the resourceGroupId value to set.
      Returns:
      the ManagedDiskDetails object itself.
    • stagingStorageAccountId

      public String stagingStorageAccountId()
      Get the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.
      Returns:
      the stagingStorageAccountId value.
    • withStagingStorageAccountId

      public ManagedDiskDetails withStagingStorageAccountId(String stagingStorageAccountId)
      Set the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.
      Parameters:
      stagingStorageAccountId - the stagingStorageAccountId value to set.
      Returns:
      the ManagedDiskDetails object itself.
    • withSharePassword

      public ManagedDiskDetails withSharePassword(String sharePassword)
      Set the sharePassword property: Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
      Overrides:
      withSharePassword in class DataAccountDetails
      Parameters:
      sharePassword - the sharePassword value to set.
      Returns:
      the DataAccountDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DataAccountDetails
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.