SkuInformationInner Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. SkuInformationInner
- com.
Implements
public final class SkuInformationInner
implements JsonSerializable<SkuInformationInner>
Storage SKU and its properties.
Constructor Summary
Constructor | Description |
---|---|
SkuInformationInner() |
Creates an instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Sku |
capabilities()
Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. |
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
Kind |
kind()
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. |
Sku |
name()
Get the name property: The SKU name. |
String |
resourceType()
Get the resource |
List<Restriction> |
restrictions()
Get the restrictions property: The restrictions because of which SKU cannot be used. |
Sku |
tier()
Get the tier property: The SKU tier. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sku |
withName(SkuName name)
Set the name property: The SKU name. |
Sku |
withRestrictions(List<Restriction> restrictions)
Set the restrictions property: The restrictions because of which SKU cannot be used. |
Methods inherited from java.lang.Object
Constructor Details
SkuInformationInner
public SkuInformationInner()
Creates an instance of SkuInformationInner class.
Method Details
capabilities
public List
Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
Returns:
fromJson
public static SkuInformationInner fromJson(JsonReader jsonReader)
Reads an instance of SkuInformationInner from the JsonReader.
Parameters:
Returns:
Throws:
kind
public Kind kind()
Get the kind property: Indicates the type of storage account.
Returns:
locations
public List
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:
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:
resourceType
public String resourceType()
Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.
Returns:
restrictions
public List
Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Returns:
tier
public SkuTier tier()
Get the tier property: The SKU tier. This is based on the SKU name.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withRestrictions
public SkuInformationInner withRestrictions(List
Set the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Parameters:
Returns:
Applies to
Azure SDK for Java