Class IotHubSkuInfo
java.lang.Object
com.azure.resourcemanager.iothub.models.IotHubSkuInfo
Information about the SKU of the IoT hub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The number of provisioned IoT Hub units.name()
Get the name property: The name of the SKU.tier()
Get the tier property: The billing tier for the IoT hub.void
validate()
Validates the instance.withCapacity
(Long capacity) Set the capacity property: The number of provisioned IoT Hub units.Set the name property: The name of the SKU.
-
Constructor Details
-
IotHubSkuInfo
public IotHubSkuInfo()
-
-
Method Details
-
name
Get the name property: The name of the SKU.- Returns:
- the name value.
-
withName
Set the name property: The name of the SKU.- Parameters:
name
- the name value to set.- Returns:
- the IotHubSkuInfo object itself.
-
tier
Get the tier property: The billing tier for the IoT hub.- Returns:
- the tier value.
-
capacity
Get the capacity property: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.- Parameters:
capacity
- the capacity value to set.- Returns:
- the IotHubSkuInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-