Class ResourceSkuInner
java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.ResourceSkuInner
A resource SKU.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.Get the locationInfo property: The set of locations where the SKU is available.Get the locations property: The set of locations where the SKU is available.name()
Get the name property: The name of this SKU.Get the resourceType property: The type of resource the SKU applies to.Get the restrictions property: The restrictions preventing this SKU from being used.void
validate()
Validates the instance.withCapabilities
(List<ResourceSkuCapabilities> capabilities) Set the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.withLocationInfo
(List<ResourceSkuLocationInfo> locationInfo) Set the locationInfo property: The set of locations where the SKU is available.Set the name property: The name of this SKU.withRestrictions
(List<Restriction> restrictions) Set the restrictions property: The restrictions preventing this SKU from being used.
-
Constructor Details
-
ResourceSkuInner
public ResourceSkuInner()
-
-
Method Details
-
resourceType
Get the resourceType property: The type of resource the SKU applies to.- Returns:
- the resourceType value.
-
capabilities
Get the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.- Returns:
- the capabilities value.
-
withCapabilities
Set the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.- Parameters:
capabilities
- the capabilities value to set.- Returns:
- the ResourceSkuInner object itself.
-
locations
Get the locations property: The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).- Returns:
- the locations value.
-
locationInfo
Get the locationInfo property: The set of locations where the SKU is available.- Returns:
- the locationInfo value.
-
withLocationInfo
Set the locationInfo property: The set of locations where the SKU is available.- Parameters:
locationInfo
- the locationInfo value to set.- Returns:
- the ResourceSkuInner object itself.
-
name
Get the name property: The name of this SKU.- Returns:
- the name value.
-
withName
Set the name property: The name of this SKU.- Parameters:
name
- the name value to set.- Returns:
- the ResourceSkuInner object itself.
-
restrictions
Get the restrictions property: The restrictions preventing this SKU from being used. This is empty if there are no restrictions.- Returns:
- the restrictions value.
-
withRestrictions
Set the restrictions property: The restrictions preventing this SKU from being used. This is empty if there are no restrictions.- Parameters:
restrictions
- the restrictions value to set.- Returns:
- the ResourceSkuInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-