Interface Disk.DefinitionStages.WithStorageAccount

All Known Subinterfaces:
Disk.Definition
Enclosing interface:
Disk.DefinitionStages

public static interface Disk.DefinitionStages.WithStorageAccount
The stage of the managed disk definition allowing to specify storage account that contains disk information.

It is mandatory in import option.

  • Method Details

    • withStorageAccountId

      Disk.DefinitionStages.WithCreateAndSize withStorageAccountId(String storageAccountId)
      Specifies the storage account id.
      Parameters:
      storageAccountId - the storage account id
      Returns:
      the next stage of the definition
    • withStorageAccountName

      Disk.DefinitionStages.WithCreateAndSize withStorageAccountName(String storageAccountName)
      Specifies the storage account name in same resource group.
      Parameters:
      storageAccountName - the storage account name in same resource group
      Returns:
      the next stage of the definition
    • withStorageAccount

      Disk.DefinitionStages.WithCreateAndSize withStorageAccount(com.azure.resourcemanager.storage.models.StorageAccount account)
      Specifies the storage account.
      Parameters:
      account - the storage account
      Returns:
      the next stage of the definition