Class SkuDefinitionInner
java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.SkuDefinitionInner
The SKU definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: The SKU capabilities.capacity()
Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included.costs()
Get the costs property: The SKU costs.family()
Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.kind()
Get the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.Get the locationInfo property: List of locations where this SKU is available.Get the locations property: List of locations where this SKU is available.name()
Get the name property: The name of the SKU.Get the resourceType property: Resource type the SKU applicable for.Get the restrictions property: The SKU restrictions.size()
Get the size property: The SKU size.tier()
Get the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.void
validate()
Validates the instance.withCapabilities
(List<SkuCapability> capabilities) Set the capabilities property: The SKU capabilities.withCapacity
(Object capacity) Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included.Set the costs property: The SKU costs.withFamily
(String family) Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.Set the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.withLocationInfo
(List<SkuLocationAndZones> locationInfo) Set the locationInfo property: List of locations where this SKU is available.withLocations
(List<String> locations) Set the locations property: List of locations where this SKU is available.Set the name property: The name of the SKU.withResourceType
(String resourceType) Set the resourceType property: Resource type the SKU applicable for.withRestrictions
(List<SkuRestriction> restrictions) Set the restrictions property: The SKU restrictions.Set the size property: The SKU size.Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
-
Constructor Details
-
SkuDefinitionInner
public SkuDefinitionInner()
-
-
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 SkuDefinitionInner object itself.
-
resourceType
Get the resourceType property: Resource type the SKU applicable for.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: Resource type the SKU applicable for.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the SkuDefinitionInner object itself.
-
tier
Get the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.- Returns:
- the tier value.
-
withTier
Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.- Parameters:
tier
- the tier value to set.- Returns:
- the SkuDefinitionInner object itself.
-
size
Get the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.- Returns:
- the size value.
-
withSize
Set the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.- Parameters:
size
- the size value to set.- Returns:
- the SkuDefinitionInner object itself.
-
family
Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.- Returns:
- the family value.
-
withFamily
Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.- Parameters:
family
- the family value to set.- Returns:
- the SkuDefinitionInner object itself.
-
kind
Get the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.- Returns:
- the kind value.
-
withKind
Set the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.- Parameters:
kind
- the kind value to set.- Returns:
- the SkuDefinitionInner object itself.
-
locations
Get the locations property: List of locations where this SKU is available.- Returns:
- the locations value.
-
withLocations
Set the locations property: List of locations where this SKU is available.- Parameters:
locations
- the locations value to set.- Returns:
- the SkuDefinitionInner object itself.
-
locationInfo
Get the locationInfo property: List of locations where this SKU is available.- Returns:
- the locationInfo value.
-
withLocationInfo
Set the locationInfo property: List of locations where this SKU is available.- Parameters:
locationInfo
- the locationInfo value to set.- Returns:
- the SkuDefinitionInner object itself.
-
capacity
Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.- Parameters:
capacity
- the capacity value to set.- Returns:
- the SkuDefinitionInner object itself.
-
costs
Get the costs property: The SKU costs.- Returns:
- the costs value.
-
withCosts
Set the costs property: The SKU costs.- Parameters:
costs
- the costs value to set.- Returns:
- the SkuDefinitionInner object itself.
-
capabilities
Get the capabilities property: The SKU capabilities.- Returns:
- the capabilities value.
-
withCapabilities
Set the capabilities property: The SKU capabilities.- Parameters:
capabilities
- the capabilities value to set.- Returns:
- the SkuDefinitionInner object itself.
-
restrictions
Get the restrictions property: The SKU restrictions.- Returns:
- the restrictions value.
-
withRestrictions
Set the restrictions property: The SKU restrictions.- Parameters:
restrictions
- the restrictions value to set.- Returns:
- the SkuDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-