DiskPoolUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. storagepool. models. DiskPoolUpdate
- com.
Implements
public final class DiskPoolUpdate
implements JsonSerializable<DiskPoolUpdate>
Request payload for Update Disk Pool request.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskPoolUpdate() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Disk> |
disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool. |
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
| String |
managedBy()
Get the managed |
| List<String> |
managedByExtended()
Get the managed |
| Sku |
sku()
Get the sku property: Determines the SKU of the Disk Pool. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Disk |
withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool. |
|
Disk |
withManagedBy(String managedBy)
Set the managed |
|
Disk |
withManagedByExtended(List<String> managedByExtended)
Set the managed |
|
Disk |
withSku(Sku sku)
Set the sku property: Determines the SKU of the Disk Pool. |
|
Disk |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
DiskPoolUpdate
public DiskPoolUpdate()
Creates an instance of DiskPoolUpdate class.
Method Details
disks
public List<Disk> disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.
Returns:
fromJson
public static DiskPoolUpdate fromJson(JsonReader jsonReader)
Reads an instance of DiskPoolUpdate from the JsonReader.
Parameters:
Returns:
Throws:
managedBy
public String managedBy()
Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
Returns:
managedByExtended
public List<String> managedByExtended()
Get the managedByExtended property: List of Azure resource ids that manage this resource.
Returns:
sku
public Sku sku()
Get the sku property: Determines the SKU of the Disk Pool.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisks
public DiskPoolUpdate withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
Parameters:
Returns:
withManagedBy
public DiskPoolUpdate withManagedBy(String managedBy)
Set the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
Parameters:
Returns:
withManagedByExtended
public DiskPoolUpdate withManagedByExtended(List<String> managedByExtended)
Set the managedByExtended property: List of Azure resource ids that manage this resource.
Parameters:
Returns:
withSku
public DiskPoolUpdate withSku(Sku sku)
Set the sku property: Determines the SKU of the Disk Pool.
Parameters:
Returns:
withTags
public DiskPoolUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: