public final class DiskPoolCreate
extends com.azure.core.management.Resource
Constructor and Description |
---|
DiskPoolCreate() |
Modifier and Type | Method and Description |
---|---|
List<String> |
additionalCapabilities()
Get the additionalCapabilities property: List of additional capabilities for a Disk Pool.
|
List<String> |
availabilityZones()
Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
|
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.
|
String |
subnetId()
Get the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
|
void |
validate()
Validates the instance.
|
DiskPoolCreate |
withAdditionalCapabilities(List<String> additionalCapabilities)
Set the additionalCapabilities property: List of additional capabilities for a Disk Pool.
|
DiskPoolCreate |
withAvailabilityZones(List<String> availabilityZones)
Set the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
|
DiskPoolCreate |
withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
|
DiskPoolCreate |
withLocation(String location) |
DiskPoolCreate |
withManagedBy(String managedBy)
Set the managedBy property: Azure resource id.
|
DiskPoolCreate |
withManagedByExtended(List<String> managedByExtended)
Set the managedByExtended property: List of Azure resource ids that manage this resource.
|
DiskPoolCreate |
withSku(Sku sku)
Set the sku property: Determines the SKU of the Disk Pool.
|
DiskPoolCreate |
withSubnetId(String subnetId)
Set the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
|
DiskPoolCreate |
withTags(Map<String,String> tags) |
public Sku sku()
public DiskPoolCreate withSku(Sku sku)
sku
- the sku value to set.public String managedBy()
public DiskPoolCreate withManagedBy(String managedBy)
managedBy
- the managedBy value to set.public List<String> managedByExtended()
public DiskPoolCreate withManagedByExtended(List<String> managedByExtended)
managedByExtended
- the managedByExtended value to set.public DiskPoolCreate withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public DiskPoolCreate withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public List<String> availabilityZones()
public DiskPoolCreate withAvailabilityZones(List<String> availabilityZones)
availabilityZones
- the availabilityZones value to set.public List<Disk> disks()
public DiskPoolCreate withDisks(List<Disk> disks)
disks
- the disks value to set.public String subnetId()
public DiskPoolCreate withSubnetId(String subnetId)
subnetId
- the subnetId value to set.public List<String> additionalCapabilities()
public DiskPoolCreate withAdditionalCapabilities(List<String> additionalCapabilities)
additionalCapabilities
- the additionalCapabilities 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.