java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.storagepool.fluent.models.DiskPoolInner

public final class DiskPoolInner extends com.azure.core.management.Resource
Response for Disk Pool request.
  • Constructor Details

    • DiskPoolInner

      public DiskPoolInner()
      Creates an instance of DiskPoolInner class.
  • Method Details

    • managedBy

      public String managedBy()
      Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
      Returns:
      the managedBy value.
    • managedByExtended

      public List<String> managedByExtended()
      Get the managedByExtended property: List of Azure resource ids that manage this resource.
      Returns:
      the managedByExtended value.
    • systemData

      public SystemMetadata systemData()
      Get the systemData property: Resource metadata required by ARM RPC.
      Returns:
      the systemData value.
    • withLocation

      public DiskPoolInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public DiskPoolInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • nameSkuName

      public String nameSkuName()
      Get the name property: Sku name.
      Returns:
      the name value.
    • withNameSkuName

      public DiskPoolInner withNameSkuName(String name)
      Set the name property: Sku name.
      Parameters:
      name - the name value to set.
      Returns:
      the DiskPoolInner object itself.
    • tier

      public String tier()
      Get the tier property: Sku tier.
      Returns:
      the tier value.
    • withTier

      public DiskPoolInner withTier(String tier)
      Set the tier property: Sku tier.
      Parameters:
      tier - the tier value to set.
      Returns:
      the DiskPoolInner object itself.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • availabilityZones

      public List<String> availabilityZones()
      Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
      Returns:
      the availabilityZones value.
    • withAvailabilityZones

      public DiskPoolInner withAvailabilityZones(List<String> availabilityZones)
      Set the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
      Parameters:
      availabilityZones - the availabilityZones value to set.
      Returns:
      the DiskPoolInner object itself.
    • status

      public OperationalStatus status()
      Get the status property: Operational status of the Disk Pool.
      Returns:
      the status value.
    • withStatus

      public DiskPoolInner withStatus(OperationalStatus status)
      Set the status property: Operational status of the Disk Pool.
      Parameters:
      status - the status value to set.
      Returns:
      the DiskPoolInner object itself.
    • disks

      public List<Disk> disks()
      Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.
      Returns:
      the disks value.
    • withDisks

      public DiskPoolInner withDisks(List<Disk> disks)
      Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
      Parameters:
      disks - the disks value to set.
      Returns:
      the DiskPoolInner object itself.
    • subnetId

      public String subnetId()
      Get the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
      Returns:
      the subnetId value.
    • withSubnetId

      public DiskPoolInner withSubnetId(String subnetId)
      Set the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the DiskPoolInner object itself.
    • additionalCapabilities

      public List<String> additionalCapabilities()
      Get the additionalCapabilities property: List of additional capabilities for Disk Pool.
      Returns:
      the additionalCapabilities value.
    • withAdditionalCapabilities

      public DiskPoolInner withAdditionalCapabilities(List<String> additionalCapabilities)
      Set the additionalCapabilities property: List of additional capabilities for Disk Pool.
      Parameters:
      additionalCapabilities - the additionalCapabilities value to set.
      Returns:
      the DiskPoolInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.