Class SkuInformationInner
- java.lang.Object
-
- com.azure.resourcemanager.storage.fluent.models.SkuInformationInner
-
public final class SkuInformationInner extends Object
Storage SKU and its properties.
-
-
Constructor Summary
Constructors Constructor Description SkuInformationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SkuCapability>capabilities()Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.Kindkind()Get the kind property: Indicates the type of storage account.List<String>locations()Get the locations property: The set of locations that the SKU is available.SkuNamename()Get the name property: The SKU name.StringresourceType()Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.List<Restriction>restrictions()Get the restrictions property: The restrictions because of which SKU cannot be used.SkuTiertier()Get the tier property: The SKU tier.voidvalidate()Validates the instance.SkuInformationInnerwithName(SkuName name)Set the name property: The SKU name.SkuInformationInnerwithRestrictions(List<Restriction> restrictions)Set the restrictions property: The restrictions because of which SKU cannot be used.
-
-
-
Method Detail
-
name
public SkuName name()
Get the name property: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.- Returns:
- the name value.
-
withName
public SkuInformationInner withName(SkuName name)
Set the name property: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.- Parameters:
name- the name value to set.- Returns:
- the SkuInformationInner object itself.
-
tier
public SkuTier tier()
Get the tier property: The SKU tier. This is based on the SKU name.- Returns:
- the tier value.
-
resourceType
public String resourceType()
Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.- Returns:
- the resourceType value.
-
kind
public Kind kind()
Get the kind property: Indicates the type of storage account.- Returns:
- the kind value.
-
locations
public List<String> locations()
Get the locations property: The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).- Returns:
- the locations value.
-
capabilities
public List<SkuCapability> capabilities()
Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.- Returns:
- the capabilities value.
-
restrictions
public List<Restriction> restrictions()
Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.- Returns:
- the restrictions value.
-
withRestrictions
public SkuInformationInner withRestrictions(List<Restriction> restrictions)
Set the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.- Parameters:
restrictions- the restrictions value to set.- Returns:
- the SkuInformationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-