Class DiskPoolUpdate
java.lang.Object
com.azure.resourcemanager.storagepool.models.DiskPoolUpdate
Request payload for Update Disk Pool request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.Get the managedBy property: Azure resource id.Get the managedByExtended property: List of Azure resource ids that manage this resource.sku()
Get the sku property: Determines the SKU of the Disk Pool.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.withManagedBy
(String managedBy) Set the managedBy property: Azure resource id.withManagedByExtended
(List<String> managedByExtended) Set the managedByExtended property: List of Azure resource ids that manage this resource.Set the sku property: Determines the SKU of the Disk Pool.Set the tags property: Resource tags.
-
Constructor Details
-
DiskPoolUpdate
public DiskPoolUpdate()Creates an instance of DiskPoolUpdate class.
-
-
Method Details
-
managedBy
Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.- Returns:
- the managedBy value.
-
withManagedBy
Set the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.- Parameters:
managedBy
- the managedBy value to set.- Returns:
- the DiskPoolUpdate object itself.
-
managedByExtended
Get the managedByExtended property: List of Azure resource ids that manage this resource.- Returns:
- the managedByExtended value.
-
withManagedByExtended
Set the managedByExtended property: List of Azure resource ids that manage this resource.- Parameters:
managedByExtended
- the managedByExtended value to set.- Returns:
- the DiskPoolUpdate object itself.
-
sku
Get the sku property: Determines the SKU of the Disk Pool.- Returns:
- the sku value.
-
withSku
Set the sku property: Determines the SKU of the Disk Pool.- Parameters:
sku
- the sku value to set.- Returns:
- the DiskPoolUpdate object itself.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the DiskPoolUpdate object itself.
-
disks
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.- Returns:
- the disks value.
-
withDisks
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.- Parameters:
disks
- the disks value to set.- Returns:
- the DiskPoolUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-