你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceMetricProperty Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.ResourceMetricProperty

public class ResourceMetricProperty

Resource metric property.

Method Summary

Modifier and Type Method and Description
String key()

Get the key value.

String value()

Get the value value.

ResourceMetricProperty withKey(String key)

Set the key value.

ResourceMetricProperty withValue(String value)

Set the value value.

Method Details

key

public String key()

Get the key value.

Returns:

the key value

value

public String value()

Get the value value.

Returns:

the value value

withKey

public ResourceMetricProperty withKey(String key)

Set the key value.

Parameters:

key - the key value to set

Returns:

the ResourceMetricProperty object itself.

withValue

public ResourceMetricProperty withValue(String value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the ResourceMetricProperty object itself.

Applies to