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 Summary
Modifier and TypeMethodDescriptionwithStorageAccount(StorageAccount account) Specifies the storage account.withStorageAccountId(String storageAccountId) Specifies the storage account id.withStorageAccountName(String storageAccountName) Specifies the storage account name in same resource group.
-
Method Details
-
withStorageAccountId
Specifies the storage account id.- Parameters:
storageAccountId- the storage account id- Returns:
- the next stage of the definition
-
withStorageAccountName
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
Specifies the storage account.- Parameters:
account- the storage account- Returns:
- the next stage of the definition
-