ApiManagementServiceSkuProperties Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. ApiManagementServiceSkuProperties
- com.
public final class ApiManagementServiceSkuProperties
API Management service resource SKU properties.
Constructor Summary
Constructor | Description |
---|---|
ApiManagementServiceSkuProperties() |
Creates an instance of Api |
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). |
Sku |
name()
Get the name property: Name of the Sku. |
void |
validate()
Validates the instance. |
Api |
withCapacity(int capacity)
Set the capacity property: Capacity of the SKU (number of deployed units of the SKU). |
Api |
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:
name
public SkuType name()
Get the name property: Name of the Sku.
Returns:
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:
Returns:
withName
public ApiManagementServiceSkuProperties withName(SkuType name)
Set the name property: Name of the Sku.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for