SloUsageMetric Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.SloUsageMetric

public class SloUsageMetric

A Slo Usage Metric.

Represents a Slo Usage Metric.

Method Summary

Modifier and Type Method and Description
double inRangeTimeRatio()

Get gets or sets inRangeTimeRatio for SLO usage metric.

ServiceObjectiveName serviceLevelObjective()

Get the serviceLevelObjective for SLO usage metric. Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'.

UUID serviceLevelObjectiveId()

Get the serviceLevelObjectiveId for SLO usage metric.

SloUsageMetric withInRangeTimeRatio(Double inRangeTimeRatio)

Set the inRangeTimeRatio value.

SloUsageMetric withServiceLevelObjective(ServiceObjectiveName serviceLevelObjective)

Set the serviceLevelObjective value.

SloUsageMetric withServiceLevelObjectiveId(UUID serviceLevelObjectiveId)

Set the serviceLevelObjectiveId value.

Method Details

inRangeTimeRatio

public double inRangeTimeRatio()

Get gets or sets inRangeTimeRatio for SLO usage metric.

Returns:

the inRangeTimeRatio value

serviceLevelObjective

public ServiceObjectiveName serviceLevelObjective()

Get the serviceLevelObjective for SLO usage metric. Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'.

Returns:

the serviceLevelObjective value

serviceLevelObjectiveId

public UUID serviceLevelObjectiveId()

Get the serviceLevelObjectiveId for SLO usage metric.

Returns:

the serviceLevelObjectiveId value

withInRangeTimeRatio

public SloUsageMetric withInRangeTimeRatio(Double inRangeTimeRatio)

Set the inRangeTimeRatio value.

Parameters:

inRangeTimeRatio - the inRangeTimeRatio value to set

Returns:

the SloUsageMetric object itself.

withServiceLevelObjective

public SloUsageMetric withServiceLevelObjective(ServiceObjectiveName serviceLevelObjective)

Set the serviceLevelObjective value.

Parameters:

serviceLevelObjective - the serviceLevelObjective value to set

Returns:

the SloUsageMetric object itself.

withServiceLevelObjectiveId

public SloUsageMetric withServiceLevelObjectiveId(UUID serviceLevelObjectiveId)

Set the serviceLevelObjectiveId value.

Parameters:

serviceLevelObjectiveId - the serviceLevelObjectiveId value to set

Returns:

the SloUsageMetric object itself.

Applies to