Class SkuInformationInner
java.lang.Object
com.azure.resourcemanager.storage.fluent.models.SkuInformationInner
Storage SKU and its properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.kind()Get the kind property: Indicates the type of storage account.Get the locations property: The set of locations that the SKU is available.name()Get the name property: The SKU name.Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.Get the restrictions property: The restrictions because of which SKU cannot be used.tier()Get the tier property: The SKU tier.voidvalidate()Validates the instance.Set the name property: The SKU name.withRestrictions(List<Restriction> restrictions) Set the restrictions property: The restrictions because of which SKU cannot be used.
-
Constructor Details
-
SkuInformationInner
public SkuInformationInner()Creates an instance of SkuInformationInner class.
-
-
Method Details
-
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
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
Get the tier property: The SKU tier. This is based on the SKU name.- Returns:
- the tier value.
-
resourceType
Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.- Returns:
- the resourceType value.
-
kind
Get the kind property: Indicates the type of storage account.- Returns:
- the kind value.
-
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
Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.- Returns:
- the capabilities value.
-
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
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.
-