2016-05-25 22:39:41 +03:00
{
"id" : "http://schema.management.azure.com/schemas/2016-04-02/Microsoft.Cdn.json#" ,
"$schema" : "http://json-schema.org/draft-04/schema#" ,
"title" : "Microsoft.Cdn" ,
"description" : "Microsoft Cdn Resource Types" ,
"resourceDefinitions" : {
"profiles" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"Microsoft.Cdn/profiles"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"location" : {
"type" : "string" ,
"description" : "Profile location"
} ,
"tags" : {
"oneOf" : [
{
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Profile tags"
} ,
"sku" : {
"oneOf" : [
{
"$ref" : "#/definitions/Sku"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The SKU (pricing tier) of the CDN profile."
2016-06-16 02:49:27 +03:00
} ,
"resources" : {
"type" : "array" ,
"items" : {
"oneOf" : [
{
"$ref" : "#/definitions/profiles_endpoints_childResource"
}
]
}
2016-05-25 22:39:41 +03:00
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"location" ,
"sku"
] ,
"description" : "Microsoft.Cdn/profiles"
} ,
"profiles_endpoints" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"Microsoft.Cdn/profiles/endpoints"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"location" : {
"type" : "string" ,
"description" : "Endpoint location"
} ,
"tags" : {
"oneOf" : [
{
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Endpoint tags"
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/EndpointPropertiesCreateParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
2016-06-16 02:49:27 +03:00
} ,
"resources" : {
"type" : "array" ,
"items" : {
"oneOf" : [
{
"$ref" : "#/definitions/profiles_endpoints_customDomains_childResource"
} ,
{
"$ref" : "#/definitions/profiles_endpoints_origins_childResource"
}
]
}
2016-05-25 22:39:41 +03:00
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"location" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints"
} ,
"profiles_endpoints_customDomains" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"Microsoft.Cdn/profiles/endpoints/customDomains"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/CustomDomainPropertiesParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints/customDomains"
} ,
"profiles_endpoints_origins" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"Microsoft.Cdn/profiles/endpoints/origins"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/OriginPropertiesParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints/origins"
}
} ,
"definitions" : {
"CustomDomainPropertiesParameters" : {
"type" : "object" ,
"properties" : {
"hostName" : {
"type" : "string" ,
"description" : "The host name of the custom domain. Must be a domain name."
}
} ,
"required" : [
"hostName"
]
} ,
"DeepCreatedOrigin" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string" ,
"description" : "Origin name"
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/DeepCreatedOriginProperties"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
} ,
"required" : [
"name"
] ,
"description" : "Deep created origins within a CDN endpoint."
} ,
"DeepCreatedOriginProperties" : {
"type" : "object" ,
"properties" : {
"hostName" : {
"type" : "string" ,
"description" : "The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported."
} ,
"httpPort" : {
"oneOf" : [
{
"type" : "integer"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The value of the HTTP port. Must be between 1 and 65535"
} ,
"httpsPort" : {
"oneOf" : [
{
"type" : "integer"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The value of the HTTPS port. Must be between 1 and 65535"
}
} ,
"required" : [
"hostName"
] ,
"description" : "Properties of deep created origin on a CDN endpoint."
} ,
"EndpointPropertiesCreateParameters" : {
"type" : "object" ,
"properties" : {
"originHostHeader" : {
"type" : "string" ,
"description" : "The host header CDN provider will send along with content requests to origins. The default value is the host name of the origin."
} ,
"originPath" : {
"type" : "string" ,
"description" : "The path used for origin requests."
} ,
"contentTypesToCompress" : {
"oneOf" : [
{
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "List of content types on which compression will be applied. The value for the elements should be a valid MIME type."
} ,
"isCompressionEnabled" : {
"oneOf" : [
{
"type" : "boolean"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Indicates whether content compression is enabled. Default value is false. If compression is enabled, the content transferred from the CDN endpoint to the end user will be compressed. The requested content must be larger than 1 byte and smaller than 1 MB."
} ,
"isHttpAllowed" : {
"oneOf" : [
{
"type" : "boolean"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed."
} ,
"isHttpsAllowed" : {
"oneOf" : [
{
"type" : "boolean"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Indicates whether https traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed."
} ,
"queryStringCachingBehavior" : {
"oneOf" : [
{
"type" : "string" ,
"enum" : [
"IgnoreQueryString" ,
"BypassCaching" ,
"UseQueryString" ,
"NotSet"
]
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Defines the query string caching behavior. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'"
} ,
"origins" : {
"oneOf" : [
{
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/DeepCreatedOrigin"
}
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The set of origins for the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options."
}
} ,
"required" : [
"origins"
]
} ,
"OriginPropertiesParameters" : {
"type" : "object" ,
"properties" : {
"hostName" : {
"type" : "string" ,
"description" : "The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported."
} ,
"httpPort" : {
"oneOf" : [
{
"type" : "integer"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The value of the HTTP port. Must be between 1 and 65535."
} ,
"httpsPort" : {
"oneOf" : [
{
"type" : "integer"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "The value of the HTTPS port. Must be between 1 and 65535."
}
} ,
"required" : [
"hostName"
]
} ,
"profiles_endpoints_childResource" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"endpoints"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"location" : {
"type" : "string" ,
"description" : "Endpoint location"
} ,
"tags" : {
"oneOf" : [
{
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
}
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Endpoint tags"
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/EndpointPropertiesCreateParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
2016-06-16 02:49:27 +03:00
} ,
"resources" : {
"type" : "array" ,
"items" : {
"oneOf" : [
{
"$ref" : "#/definitions/profiles_endpoints_customDomains_childResource"
} ,
{
"$ref" : "#/definitions/profiles_endpoints_origins_childResource"
}
]
}
2016-05-25 22:39:41 +03:00
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"location" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints"
} ,
"profiles_endpoints_customDomains_childResource" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"customDomains"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/CustomDomainPropertiesParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints/customDomains"
} ,
"profiles_endpoints_origins_childResource" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string" ,
"enum" : [
"origins"
]
} ,
"apiVersion" : {
"type" : "string" ,
"enum" : [
"2016-04-02"
]
} ,
"properties" : {
"oneOf" : [
{
"$ref" : "#/definitions/OriginPropertiesParameters"
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
} ,
"required" : [
"type" ,
"apiVersion" ,
"properties"
] ,
"description" : "Microsoft.Cdn/profiles/endpoints/origins"
} ,
"Sku" : {
"type" : "object" ,
"properties" : {
"name" : {
"oneOf" : [
{
"type" : "string" ,
"enum" : [
"Standard_Verizon" ,
"Premium_Verizon" ,
"Custom_Verizon" ,
"Standard_Akamai"
]
} ,
{
"$ref" : "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
] ,
"description" : "Name of the pricing tier. Possible values include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', 'Standard_Akamai'"
}
} ,
"description" : "The SKU (pricing tier) of the CDN profile."
}
}
}