StorageQosPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. StorageQosPolicy
- com.
Implements
public final class StorageQosPolicy
implements JsonSerializable<StorageQosPolicy>
The StorageQoSPolicy definition.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageQosPolicy() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
bandwidthLimit()
Get the bandwidth |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
id()
Get the id property: The ID of the QoS policy. |
| Long |
iopsMaximum()
Get the iops |
| Long |
iopsMinimum()
Get the iops |
| String |
name()
Get the name property: The name of the policy. |
| String |
policyId()
Get the policy |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withBandwidthLimit(Long bandwidthLimit)
Set the bandwidth |
|
Storage |
withId(String id)
Set the id property: The ID of the QoS policy. |
|
Storage |
withIopsMaximum(Long iopsMaximum)
Set the iops |
|
Storage |
withIopsMinimum(Long iopsMinimum)
Set the iops |
|
Storage |
withName(String name)
Set the name property: The name of the policy. |
|
Storage |
withPolicyId(String policyId)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
StorageQosPolicy
public StorageQosPolicy()
Creates an instance of StorageQosPolicy class.
Method Details
bandwidthLimit
public Long bandwidthLimit()
Get the bandwidthLimit property: The Bandwidth Limit for internet traffic.
Returns:
fromJson
public static StorageQosPolicy fromJson(JsonReader jsonReader)
Reads an instance of StorageQosPolicy from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the QoS policy.
Returns:
iopsMaximum
public Long iopsMaximum()
Get the iopsMaximum property: The maximum IO operations per second.
Returns:
iopsMinimum
public Long iopsMinimum()
Get the iopsMinimum property: The minimum IO operations per second.
Returns:
name
public String name()
Get the name property: The name of the policy.
Returns:
policyId
public String policyId()
Get the policyId property: The underlying policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBandwidthLimit
public StorageQosPolicy withBandwidthLimit(Long bandwidthLimit)
Set the bandwidthLimit property: The Bandwidth Limit for internet traffic.
Parameters:
Returns:
withId
public StorageQosPolicy withId(String id)
Set the id property: The ID of the QoS policy.
Parameters:
Returns:
withIopsMaximum
public StorageQosPolicy withIopsMaximum(Long iopsMaximum)
Set the iopsMaximum property: The maximum IO operations per second.
Parameters:
Returns:
withIopsMinimum
public StorageQosPolicy withIopsMinimum(Long iopsMinimum)
Set the iopsMinimum property: The minimum IO operations per second.
Parameters:
Returns:
withName
public StorageQosPolicy withName(String name)
Set the name property: The name of the policy.
Parameters:
Returns:
withPolicyId
public StorageQosPolicy withPolicyId(String policyId)
Set the policyId property: The underlying policy.
Parameters:
Returns: