VirtualMachineScaleSetManagedDiskParameters Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetManagedDiskParameters
- com.
Implements
public final class VirtualMachineScaleSetManagedDiskParameters
implements JsonSerializable<VirtualMachineScaleSetManagedDiskParameters>
Describes the parameters of a ScaleSet managed disk.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetManagedDiskParameters() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk |
diskEncryptionSet()
Get the disk |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
VMDisk |
securityProfile()
Get the security |
Storage |
storageAccountType()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
Set the disk |
Virtual |
withSecurityProfile(VMDiskSecurityProfile securityProfile)
Set the security |
Virtual |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetManagedDiskParameters
public VirtualMachineScaleSetManagedDiskParameters()
Creates an instance of VirtualMachineScaleSetManagedDiskParameters class.
Method Details
diskEncryptionSet
public DiskEncryptionSetParameters diskEncryptionSet()
Get the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed disk.
Returns:
fromJson
public static VirtualMachineScaleSetManagedDiskParameters fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetManagedDiskParameters from the JsonReader.
Parameters:
Returns:
Throws:
securityProfile
public VMDiskSecurityProfile securityProfile()
Get the securityProfile property: Specifies the security profile for the managed disk.
Returns:
storageAccountType
public StorageAccountTypes storageAccountType()
Get the storageAccountType property: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDiskEncryptionSet
public VirtualMachineScaleSetManagedDiskParameters withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed disk.
Parameters:
Returns:
withSecurityProfile
public VirtualMachineScaleSetManagedDiskParameters withSecurityProfile(VMDiskSecurityProfile securityProfile)
Set the securityProfile property: Specifies the security profile for the managed disk.
Parameters:
Returns:
withStorageAccountType
public VirtualMachineScaleSetManagedDiskParameters withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType property: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
Parameters:
Returns:
Applies to
Azure SDK for Java