public final class DiskPoolUpdate extends Object
Constructor and Description |
---|
DiskPoolUpdate() |
Modifier and Type | Method and Description |
---|---|
List<Disk> |
disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.
|
String |
managedBy()
Get the managedBy property: Azure resource id.
|
List<String> |
managedByExtended()
Get the managedByExtended property: List of Azure resource ids that manage this resource.
|
Sku |
sku()
Get the sku property: Determines the SKU of the Disk Pool.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
DiskPoolUpdate |
withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
|
DiskPoolUpdate |
withManagedBy(String managedBy)
Set the managedBy property: Azure resource id.
|
DiskPoolUpdate |
withManagedByExtended(List<String> managedByExtended)
Set the managedByExtended property: List of Azure resource ids that manage this resource.
|
DiskPoolUpdate |
withSku(Sku sku)
Set the sku property: Determines the SKU of the Disk Pool.
|
DiskPoolUpdate |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public String managedBy()
public DiskPoolUpdate withManagedBy(String managedBy)
managedBy
- the managedBy value to set.public List<String> managedByExtended()
public DiskPoolUpdate withManagedByExtended(List<String> managedByExtended)
managedByExtended
- the managedByExtended value to set.public Sku sku()
public DiskPoolUpdate withSku(Sku sku)
sku
- the sku value to set.public Map<String,String> tags()
public DiskPoolUpdate withTags(Map<String,String> tags)
tags
- the tags value to set.public List<Disk> disks()
public DiskPoolUpdate withDisks(List<Disk> disks)
disks
- the disks value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.