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 Detail

      • 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