Interface VirtualMachineScaleSet.DefinitionStages.WithStorageAccount
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionStages.WithCreate, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithManagedCreate, VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithStorageAccount
The stage of a virtual machine scale set definition allowing to specify the storage account.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingStorageAccount(com.azure.resourcemanager.storage.models.StorageAccount storageAccount) Specifies an existing storage account for the OS and data disk VHDs of the virtual machines in the scale set.withNewStorageAccount(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.storage.models.StorageAccount> creatable) Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.withNewStorageAccount(String name) Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.
-
Method Details
-
withNewStorageAccount
Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.- Parameters:
name- the name of the storage account- Returns:
- the next stage of the definition
-
withNewStorageAccount
VirtualMachineScaleSet.DefinitionStages.WithCreate withNewStorageAccount(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.storage.models.StorageAccount> creatable) Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.- Parameters:
creatable- the storage account definition in a creatable stage- Returns:
- the next stage in the definition
-
withExistingStorageAccount
VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingStorageAccount(com.azure.resourcemanager.storage.models.StorageAccount storageAccount) Specifies an existing storage account for the OS and data disk VHDs of the virtual machines in the scale set.- Parameters:
storageAccount- an existing storage account- Returns:
- the next stage in the definition
-