Class VolumeQuotaRuleInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.netapp.fluent.models.VolumeQuotaRuleInner

public final class VolumeQuotaRuleInner extends com.azure.core.management.Resource
Quota Rule of a Volume.
  • Constructor Details

    • VolumeQuotaRuleInner

      public VolumeQuotaRuleInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

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

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

      public ProvisioningState provisioningState()
      Get the provisioningState property: Gets the status of the VolumeQuotaRule at the time the operation was called.
      Returns:
      the provisioningState value.
    • quotaSizeInKiBs

      public Long quotaSizeInKiBs()
      Get the quotaSizeInKiBs property: Size of quota.
      Returns:
      the quotaSizeInKiBs value.
    • withQuotaSizeInKiBs

      public VolumeQuotaRuleInner withQuotaSizeInKiBs(Long quotaSizeInKiBs)
      Set the quotaSizeInKiBs property: Size of quota.
      Parameters:
      quotaSizeInKiBs - the quotaSizeInKiBs value to set.
      Returns:
      the VolumeQuotaRuleInner object itself.
    • quotaType

      public Type quotaType()
      Get the quotaType property: quotaType

      Type of quota.

      Returns:
      the quotaType value.
    • withQuotaType

      public VolumeQuotaRuleInner withQuotaType(Type quotaType)
      Set the quotaType property: quotaType

      Type of quota.

      Parameters:
      quotaType - the quotaType value to set.
      Returns:
      the VolumeQuotaRuleInner object itself.
    • quotaTarget

      public String quotaTarget()
      Get the quotaTarget property: UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.
      Returns:
      the quotaTarget value.
    • withQuotaTarget

      public VolumeQuotaRuleInner withQuotaTarget(String quotaTarget)
      Set the quotaTarget property: UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.
      Parameters:
      quotaTarget - the quotaTarget value to set.
      Returns:
      the VolumeQuotaRuleInner object itself.
    • validate

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