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

ApiManagementServiceSkuProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.ApiManagementServiceSkuProperties

public class ApiManagementServiceSkuProperties

API Management service resource SKU properties.

Constructor Summary

Constructor Description
ApiManagementServiceSkuProperties()

Method Summary

Modifier and Type Method and Description
java.lang.Integer capacity()

Get capacity of the SKU (number of deployed units of the SKU).

SkuType name()

Get name of the Sku.

ApiManagementServiceSkuProperties withCapacity(Integer capacity)

Set capacity of the SKU (number of deployed units of the SKU).

ApiManagementServiceSkuProperties withName(SkuType name)

Set name of the Sku.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApiManagementServiceSkuProperties

public ApiManagementServiceSkuProperties()

Method Details

capacity

public Integer capacity()

Get capacity of the SKU (number of deployed units of the SKU).

Returns:

the capacity value

name

public SkuType name()

Get name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption'.

Returns:

the name value

withCapacity

public ApiManagementServiceSkuProperties withCapacity(Integer capacity)

Set capacity of the SKU (number of deployed units of the SKU).

Parameters:

capacity - the capacity value to set

Returns:

the ApiManagementServiceSkuProperties object itself.

withName

public ApiManagementServiceSkuProperties withName(SkuType name)

Set name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption'.

Parameters:

name - the name value to set

Returns:

the ApiManagementServiceSkuProperties object itself.

Applies to