ApiManagementServiceSkuProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.ApiManagementServiceSkuProperties

public final class ApiManagementServiceSkuProperties

API Management service resource SKU properties.

Constructor Summary

Constructor Description
ApiManagementServiceSkuProperties()

Creates an instance of ApiManagementServiceSkuProperties class.

Method Summary

Modifier and Type Method and Description
int capacity()

Get the capacity property: Capacity of the SKU (number of deployed units of the SKU).

SkuType name()

Get the name property: Name of the Sku.

void validate()

Validates the instance.

ApiManagementServiceSkuProperties withCapacity(int capacity)

Set the capacity property: Capacity of the SKU (number of deployed units of the SKU).

ApiManagementServiceSkuProperties withName(SkuType name)

Set the name property: Name of the Sku.

Methods inherited from java.lang.Object

Constructor Details

ApiManagementServiceSkuProperties

public ApiManagementServiceSkuProperties()

Creates an instance of ApiManagementServiceSkuProperties class.

Method Details

capacity

public int capacity()

Get the capacity property: Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0.

Returns:

the capacity value.

name

public SkuType name()

Get the name property: Name of the Sku.

Returns:

the name value.

validate

public void validate()

Validates the instance.

withCapacity

public ApiManagementServiceSkuProperties withCapacity(int capacity)

Set the capacity property: Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0.

Parameters:

capacity - the capacity value to set.

Returns:

the ApiManagementServiceSkuProperties object itself.

withName

public ApiManagementServiceSkuProperties withName(SkuType name)

Set the name property: Name of the Sku.

Parameters:

name - the name value to set.

Returns:

the ApiManagementServiceSkuProperties object itself.

Applies to