Permalink
Fetching contributors…
Cannot retrieve contributors at this time
251 lines (250 sloc) 8.49 KB
{
"id": "https://schema.management.azure.com/schemas/2016-01-01/Microsoft.Storage.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Storage",
"description": "Microsoft Storage Resource Types",
"resourceDefinitions": {
"storageAccounts": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Storage/storageAccounts"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-01-01"
]
},
"sku": {
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Required. Gets or sets the sku type."
},
"kind": {
"oneOf": [
{
"type": "string",
"enum": [
"Storage",
"BlobStorage"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Required. Indicates the type of storage account. Possible values include: 'Storage', 'BlobStorage'"
},
"location": {
"type": "string",
"description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/StorageAccountPropertiesCreateParameters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"type",
"apiVersion",
"sku",
"kind",
"location"
],
"description": "Microsoft.Storage/storageAccounts"
}
},
"definitions": {
"CustomDomain": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Gets or sets the custom domain name. Name is the CNAME source."
},
"useSubDomain": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates"
}
},
"required": [
"name"
],
"description": "The custom domain assigned to this storage account. This can be set via Update."
},
"Encryption": {
"type": "object",
"properties": {
"services": {
"oneOf": [
{
"$ref": "#/definitions/EncryptionServices"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets the services which are encrypted."
},
"keySource": {
"oneOf": [
{
"type": "string",
"enum": [
"Microsoft.Storage"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets the encryption keySource(provider). Possible values (case-insensitive): Microsoft.Storage"
}
},
"required": [
"keySource"
],
"description": "The encryption settings on the account."
},
"EncryptionService": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A boolean indicating whether or not the service is encrypted."
}
},
"description": "An encrypted service."
},
"EncryptionServices": {
"type": "object",
"properties": {
"blob": {
"oneOf": [
{
"$ref": "#/definitions/EncryptionService"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The blob service."
}
},
"description": "The encrypted services."
},
"Sku": {
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"Standard_LRS",
"Standard_GRS",
"Standard_RAGRS",
"Standard_ZRS",
"Premium_LRS"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets the sku name. Required for account creation, optional for update. Note that in older versions, sku name was called accountType. Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS'"
}
},
"required": [
"name"
],
"description": "The SKU of the storage account."
},
"StorageAccountPropertiesCreateParameters": {
"type": "object",
"properties": {
"customDomain": {
"oneOf": [
{
"$ref": "#/definitions/CustomDomain"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property."
},
"encryption": {
"oneOf": [
{
"$ref": "#/definitions/Encryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Provides the encryption settings on the account. If left unspecified the account encryption settings will remain. The default setting is unencrypted."
},
"accessTier": {
"oneOf": [
{
"type": "string",
"enum": [
"Hot",
"Cool"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Required for StandardBlob accounts. The access tier used for billing. Access tier cannot be changed more than once every 7 days (168 hours). Access tier cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. Possible values include: 'Hot', 'Cool'"
}
}
}
}
}