StorageQoSPolicy Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.StorageQoSPolicy

public final class StorageQoSPolicy

The StorageQoSPolicy definition.

Constructor Summary

Constructor Description
StorageQoSPolicy()

Method Summary

Modifier and Type Method and Description
Long bandwidthLimit()

Get the bandwidthLimit property: The Bandwidth Limit for internet traffic.

String id()

Get the id property: The ID of the QoS policy.

Long iopsMaximum()

Get the iopsMaximum property: The maximum IO operations per second.

Long iopsMinimum()

Get the iopsMinimum property: The minimum IO operations per second.

String name()

Get the name property: The name of the policy.

String policyId()

Get the policyId property: The underlying policy.

void validate()

Validates the instance.

StorageQoSPolicy withBandwidthLimit(Long bandwidthLimit)

Set the bandwidthLimit property: The Bandwidth Limit for internet traffic.

StorageQoSPolicy withId(String id)

Set the id property: The ID of the QoS policy.

StorageQoSPolicy withIopsMaximum(Long iopsMaximum)

Set the iopsMaximum property: The maximum IO operations per second.

StorageQoSPolicy withIopsMinimum(Long iopsMinimum)

Set the iopsMinimum property: The minimum IO operations per second.

StorageQoSPolicy withName(String name)

Set the name property: The name of the policy.

StorageQoSPolicy withPolicyId(String policyId)

Set the policyId property: The underlying policy.

Methods inherited from java.lang.Object

Constructor Details

StorageQoSPolicy

public StorageQoSPolicy()

Method Details

bandwidthLimit

public Long bandwidthLimit()

Get the bandwidthLimit property: The Bandwidth Limit for internet traffic.

Returns:

the bandwidthLimit value.

id

public String id()

Get the id property: The ID of the QoS policy.

Returns:

the id value.

iopsMaximum

public Long iopsMaximum()

Get the iopsMaximum property: The maximum IO operations per second.

Returns:

the iopsMaximum value.

iopsMinimum

public Long iopsMinimum()

Get the iopsMinimum property: The minimum IO operations per second.

Returns:

the iopsMinimum value.

name

public String name()

Get the name property: The name of the policy.

Returns:

the name value.

policyId

public String policyId()

Get the policyId property: The underlying policy.

Returns:

the policyId value.

validate

public void validate()

Validates the instance.

withBandwidthLimit

public StorageQoSPolicy withBandwidthLimit(Long bandwidthLimit)

Set the bandwidthLimit property: The Bandwidth Limit for internet traffic.

Parameters:

bandwidthLimit - the bandwidthLimit value to set.

Returns:

the StorageQoSPolicy object itself.

withId

public StorageQoSPolicy withId(String id)

Set the id property: The ID of the QoS policy.

Parameters:

id - the id value to set.

Returns:

the StorageQoSPolicy object itself.

withIopsMaximum

public StorageQoSPolicy withIopsMaximum(Long iopsMaximum)

Set the iopsMaximum property: The maximum IO operations per second.

Parameters:

iopsMaximum - the iopsMaximum value to set.

Returns:

the StorageQoSPolicy object itself.

withIopsMinimum

public StorageQoSPolicy withIopsMinimum(Long iopsMinimum)

Set the iopsMinimum property: The minimum IO operations per second.

Parameters:

iopsMinimum - the iopsMinimum value to set.

Returns:

the StorageQoSPolicy object itself.

withName

public StorageQoSPolicy withName(String name)

Set the name property: The name of the policy.

Parameters:

name - the name value to set.

Returns:

the StorageQoSPolicy object itself.

withPolicyId

public StorageQoSPolicy withPolicyId(String policyId)

Set the policyId property: The underlying policy.

Parameters:

policyId - the policyId value to set.

Returns:

the StorageQoSPolicy object itself.

Applies to