Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.SubResource;
The parameters of a managed disk.
/**
* The parameters of a managed disk.
*/
public class ManagedDiskParameters extends SubResource {
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. Possible values include: 'Standard_LRS', 'Premium_LRS',
'StandardSSD_LRS', 'UltraSSD_LRS'.
/**
* 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. Possible values include: 'Standard_LRS', 'Premium_LRS',
* 'StandardSSD_LRS', 'UltraSSD_LRS'.
*/
@JsonProperty(value = "storageAccountType")
private StorageAccountTypes storageAccountType;
Specifies the customer managed disk encryption set resource id for the
managed disk.
/**
* Specifies the customer managed disk encryption set resource id for the
* managed disk.
*/
@JsonProperty(value = "diskEncryptionSet")
private DiskEncryptionSetParameters diskEncryptionSet;
Get 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
Returns: the storageAccountType value
/**
* Get 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
*
* @return the storageAccountType value
*/
public StorageAccountTypes storageAccountType() {
return this.storageAccountType;
}
Set 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
Params: - storageAccountType – the storageAccountType value to set
Returns: the ManagedDiskParameters object itself.
/**
* Set 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
*
* @param storageAccountType the storageAccountType value to set
* @return the ManagedDiskParameters object itself.
*/
public ManagedDiskParameters withStorageAccountType(StorageAccountTypes storageAccountType) {
this.storageAccountType = storageAccountType;
return this;
}
Get specifies the customer managed disk encryption set resource id for the managed disk.
Returns: the diskEncryptionSet value
/**
* Get specifies the customer managed disk encryption set resource id for the managed disk.
*
* @return the diskEncryptionSet value
*/
public DiskEncryptionSetParameters diskEncryptionSet() {
return this.diskEncryptionSet;
}
Set specifies the customer managed disk encryption set resource id for the managed disk.
Params: - diskEncryptionSet – the diskEncryptionSet value to set
Returns: the ManagedDiskParameters object itself.
/**
* Set specifies the customer managed disk encryption set resource id for the managed disk.
*
* @param diskEncryptionSet the diskEncryptionSet value to set
* @return the ManagedDiskParameters object itself.
*/
public ManagedDiskParameters withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet) {
this.diskEncryptionSet = diskEncryptionSet;
return this;
}
}