Formatted with 2 space indents

This commit is contained in:
Naveed Aziz 2017-06-02 11:15:25 -07:00
Родитель 10bbe3ef0f
Коммит 198b11720e
11 изменённых файлов: 3364 добавлений и 3367 удалений

Просмотреть файл

@ -1,459 +1,459 @@
{
"id": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.DomainRegistration",
"description": "Microsoft DomainRegistration Resource Types",
"resourceDefinitions": {
"domains": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.DomainRegistration/domains"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Domain_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/domains_domainOwnershipIdentifiers_childResource"
}
]
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains"
"id": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.DomainRegistration",
"description": "Microsoft DomainRegistration Resource Types",
"resourceDefinitions": {
"domains": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.DomainRegistration/domains"
]
},
"domains_domainOwnershipIdentifiers": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DomainOwnershipIdentifier_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Domain_properties"
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/domains_domainOwnershipIdentifiers_childResource"
}
]
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains"
},
"definitions": {
"Address": {
"type": "object",
"properties": {
"address1": {
"type": "string",
"description": "Address 1."
},
"address2": {
"type": "string",
"description": "Address 2."
},
"city": {
"type": "string",
"description": "City."
},
"country": {
"type": "string",
"description": "Country."
},
"postalCode": {
"type": "string",
"description": "Postal code."
},
"state": {
"type": "string",
"description": "State."
}
},
"required": [
"address1",
"city",
"country",
"postalCode",
"state"
],
"description": "Address information for domain registration."
"domains_domainOwnershipIdentifiers": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
]
},
"Contact": {
"type": "object",
"properties": {
"addressMailing": {
"oneOf": [
{
"$ref": "#/definitions/Address"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Mailing address."
},
"email": {
"type": "string",
"description": "Email address."
},
"fax": {
"type": "string",
"description": "Fax number."
},
"jobTitle": {
"type": "string",
"description": "Job title."
},
"nameFirst": {
"type": "string",
"description": "First name."
},
"nameLast": {
"type": "string",
"description": "Last name."
},
"nameMiddle": {
"type": "string",
"description": "Middle name."
},
"organization": {
"type": "string",
"description": "Organization."
},
"phone": {
"type": "string",
"description": "Phone number."
}
},
"required": [
"email",
"nameFirst",
"nameLast",
"phone"
],
"description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \n directories as per ICANN requirements."
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"Domain_properties": {
"type": "object",
"properties": {
"contactAdmin": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Administrative contact."
},
"contactBilling": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Billing contact."
},
"contactRegistrant": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Registrant contact."
},
"contactTech": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Technical contact."
},
"nameServers": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Name servers."
},
"privacy": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>."
},
"autoRenew": {
"oneOf": [
{
"type": "boolean",
"enum": [
"true"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>."
},
"managedHostNames": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/HostName"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "All hostnames derived from the domain and assigned to Azure resources."
},
"consent": {
"oneOf": [
{
"$ref": "#/definitions/DomainPurchaseConsent"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Legal agreement consent."
},
"domainNotRenewableReasons": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"RegistrationStatusNotSupportedForRenewal",
"ExpirationNotInRenewalTimeRange",
"SubscriptionNotActive"
]
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Reasons why domain is not renewable."
}
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DomainOwnershipIdentifier_properties"
},
"description": "ARM envelope properties"
},
"DomainOwnershipIdentifier_properties": {
"type": "object",
"properties": {
"ownershipId": {
"type": "string",
"description": "Ownership Id."
}
},
"description": "ARM envelope properties"
},
"DomainPurchaseConsent": {
"type": "object",
"properties": {
"agreementKeys": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource."
},
"agreedBy": {
"type": "string",
"description": "Client IP address."
},
"agreedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the agreements were accepted."
}
},
"description": "Domain purchase consent object, representing acceptance of applicable legal agreements."
},
"domains_domainOwnershipIdentifiers_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"domainOwnershipIdentifiers"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DomainOwnershipIdentifier_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
},
"HostName": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the hostname."
},
"siteNames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager."
},
"azureResourceName": {
"type": "string",
"description": "Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name."
},
"azureResourceType": {
"oneOf": [
{
"type": "string",
"enum": [
"Website",
"TrafficManager"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the Azure resource the hostname is assigned to."
},
"customHostNameDnsRecordType": {
"oneOf": [
{
"type": "string",
"enum": [
"CName",
"A"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the DNS record."
},
"hostNameType": {
"oneOf": [
{
"type": "string",
"enum": [
"Verified",
"Managed"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the hostname."
}
},
"description": "Details of a hostname derived from a domain."
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
}
},
"definitions": {
"Address": {
"type": "object",
"properties": {
"address1": {
"type": "string",
"description": "Address 1."
},
"address2": {
"type": "string",
"description": "Address 2."
},
"city": {
"type": "string",
"description": "City."
},
"country": {
"type": "string",
"description": "Country."
},
"postalCode": {
"type": "string",
"description": "Postal code."
},
"state": {
"type": "string",
"description": "State."
}
},
"required": [
"address1",
"city",
"country",
"postalCode",
"state"
],
"description": "Address information for domain registration."
},
"Contact": {
"type": "object",
"properties": {
"addressMailing": {
"oneOf": [
{
"$ref": "#/definitions/Address"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Mailing address."
},
"email": {
"type": "string",
"description": "Email address."
},
"fax": {
"type": "string",
"description": "Fax number."
},
"jobTitle": {
"type": "string",
"description": "Job title."
},
"nameFirst": {
"type": "string",
"description": "First name."
},
"nameLast": {
"type": "string",
"description": "Last name."
},
"nameMiddle": {
"type": "string",
"description": "Middle name."
},
"organization": {
"type": "string",
"description": "Organization."
},
"phone": {
"type": "string",
"description": "Phone number."
}
},
"required": [
"email",
"nameFirst",
"nameLast",
"phone"
],
"description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \n directories as per ICANN requirements."
},
"Domain_properties": {
"type": "object",
"properties": {
"contactAdmin": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Administrative contact."
},
"contactBilling": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Billing contact."
},
"contactRegistrant": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Registrant contact."
},
"contactTech": {
"oneOf": [
{
"$ref": "#/definitions/Contact"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Technical contact."
},
"nameServers": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Name servers."
},
"privacy": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>."
},
"autoRenew": {
"oneOf": [
{
"type": "boolean",
"enum": [
"true"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>."
},
"managedHostNames": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/HostName"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "All hostnames derived from the domain and assigned to Azure resources."
},
"consent": {
"oneOf": [
{
"$ref": "#/definitions/DomainPurchaseConsent"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Legal agreement consent."
},
"domainNotRenewableReasons": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"RegistrationStatusNotSupportedForRenewal",
"ExpirationNotInRenewalTimeRange",
"SubscriptionNotActive"
]
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Reasons why domain is not renewable."
}
},
"description": "ARM envelope properties"
},
"DomainOwnershipIdentifier_properties": {
"type": "object",
"properties": {
"ownershipId": {
"type": "string",
"description": "Ownership Id."
}
},
"description": "ARM envelope properties"
},
"DomainPurchaseConsent": {
"type": "object",
"properties": {
"agreementKeys": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource."
},
"agreedBy": {
"type": "string",
"description": "Client IP address."
},
"agreedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the agreements were accepted."
}
},
"description": "Domain purchase consent object, representing acceptance of applicable legal agreements."
},
"domains_domainOwnershipIdentifiers_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"domainOwnershipIdentifiers"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-04-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DomainOwnershipIdentifier_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers"
},
"HostName": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the hostname."
},
"siteNames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager."
},
"azureResourceName": {
"type": "string",
"description": "Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name."
},
"azureResourceType": {
"oneOf": [
{
"type": "string",
"enum": [
"Website",
"TrafficManager"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the Azure resource the hostname is assigned to."
},
"customHostNameDnsRecordType": {
"oneOf": [
{
"type": "string",
"enum": [
"CName",
"A"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the DNS record."
},
"hostNameType": {
"oneOf": [
{
"type": "string",
"enum": [
"Verified",
"Managed"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Type of the hostname."
}
},
"description": "Details of a hostname derived from a domain."
}
}
}

Просмотреть файл

@ -1,478 +1,478 @@
{
"id": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.CertificateRegistration",
"description": "Microsoft CertificateRegistration Resource Types",
"resourceDefinitions": {
"certificateOrders": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.CertificateRegistration/certificateOrders"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrder_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/certificateOrders_certificates_childResource"
}
]
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders"
"id": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.CertificateRegistration",
"description": "Microsoft CertificateRegistration Resource Types",
"resourceDefinitions": {
"certificateOrders": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.CertificateRegistration/certificateOrders"
]
},
"certificateOrders_certificates": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.CertificateRegistration/certificateOrders/certificates"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrder_properties"
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates"
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/certificateOrders_certificates_childResource"
}
]
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders"
},
"definitions": {
"CertificateDetails": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
},
"name": {
"type": "string",
"description": "Resource Name"
},
"kind": {
"type": "string",
"description": "Kind of resource"
},
"location": {
"type": "string",
"description": "Resource Location"
},
"type": {
"type": "string",
"description": "Resource type"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Resource tags"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
"certificateOrders_certificates": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.CertificateRegistration/certificateOrders/certificates"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
"required": [
"location"
],
"description": "Certificate Details"
},
"CertificateDetails_properties": {
"type": "object",
"properties": {
"version": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Version"
},
"serialNumber": {
"type": "string",
"description": "Serial Number"
},
"thumbprint": {
"type": "string",
"description": "Thumbprint"
},
"subject": {
"type": "string",
"description": "Subject"
},
"notBefore": {
"type": "string",
"format": "date-time",
"description": "Valid from"
},
"notAfter": {
"type": "string",
"format": "date-time",
"description": "Valid to"
},
"signatureAlgorithm": {
"type": "string",
"description": "Signature Algorithm"
},
"issuer": {
"type": "string",
"description": "Issuer"
},
"rawData": {
"type": "string",
"description": "Raw certificate data"
}
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
},
"CertificateOrder_properties": {
"type": "object",
"properties": {
"certificates": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/CertificateOrderCertificate"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "State of the Key Vault secret"
},
"distinguishedName": {
"type": "string",
"description": "Certificate distinguished name"
},
"domainVerificationToken": {
"type": "string",
"description": "Domain Verification Token"
},
"validityInYears": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Duration in years (must be between 1 and 3)"
},
"keySize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Certificate Key Size"
},
"productType": {
"oneOf": [
{
"type": "string",
"enum": [
"StandardDomainValidatedSsl",
"StandardDomainValidatedWildCardSsl"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Certificate product type."
},
"autoRenew": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Auto renew"
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"InProgress",
"Deleting"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Status of certificate order."
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Pendingissuance",
"Issued",
"Revoked",
"Canceled",
"Denied",
"Pendingrevocation",
"PendingRekey",
"Unused",
"Expired",
"NotSubmitted"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Current order status."
},
"signedCertificate": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Signed certificate"
},
"csr": {
"type": "string",
"description": "Last CSR that was created for this order"
},
"intermediate": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Intermediate certificate"
},
"root": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Root certificate"
},
"serialNumber": {
"type": "string",
"description": "Current serial number of the certificate"
},
"lastCertificateIssuanceTime": {
"type": "string",
"format": "date-time",
"description": "Certificate last issuance time"
},
"expirationTime": {
"type": "string",
"format": "date-time",
"description": "Certificate expiration time"
}
}
},
"CertificateOrderCertificate": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
},
"name": {
"type": "string",
"description": "Resource Name"
},
"kind": {
"type": "string",
"description": "Kind of resource"
},
"location": {
"type": "string",
"description": "Resource Location"
},
"type": {
"type": "string",
"description": "Resource type"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Resource tags"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"location"
],
"description": "Class representing the Key Vault container for certificate purchased through Azure"
},
"CertificateOrderCertificate_properties": {
"type": "object",
"properties": {
"keyVaultId": {
"type": "string",
"description": "Key Vault Csm resource Id"
},
"keyVaultSecretName": {
"type": "string",
"description": "Key Vault secret name"
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Initialized",
"WaitingOnCertificateOrder",
"Succeeded",
"CertificateOrderFailed",
"OperationNotPermittedOnKeyVault",
"AzureServiceUnauthorizedToAccessKeyVault",
"KeyVaultDoesNotExist",
"KeyVaultSecretDoesNotExist",
"UnknownError",
"Unknown"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Status of the Key Vault secret."
}
}
},
"certificateOrders_certificates_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"certificates"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates"
]
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates"
}
},
"definitions": {
"CertificateDetails": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
},
"name": {
"type": "string",
"description": "Resource Name"
},
"kind": {
"type": "string",
"description": "Kind of resource"
},
"location": {
"type": "string",
"description": "Resource Location"
},
"type": {
"type": "string",
"description": "Resource type"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Resource tags"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"location"
],
"description": "Certificate Details"
},
"CertificateDetails_properties": {
"type": "object",
"properties": {
"version": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Version"
},
"serialNumber": {
"type": "string",
"description": "Serial Number"
},
"thumbprint": {
"type": "string",
"description": "Thumbprint"
},
"subject": {
"type": "string",
"description": "Subject"
},
"notBefore": {
"type": "string",
"format": "date-time",
"description": "Valid from"
},
"notAfter": {
"type": "string",
"format": "date-time",
"description": "Valid to"
},
"signatureAlgorithm": {
"type": "string",
"description": "Signature Algorithm"
},
"issuer": {
"type": "string",
"description": "Issuer"
},
"rawData": {
"type": "string",
"description": "Raw certificate data"
}
}
},
"CertificateOrder_properties": {
"type": "object",
"properties": {
"certificates": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/CertificateOrderCertificate"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "State of the Key Vault secret"
},
"distinguishedName": {
"type": "string",
"description": "Certificate distinguished name"
},
"domainVerificationToken": {
"type": "string",
"description": "Domain Verification Token"
},
"validityInYears": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Duration in years (must be between 1 and 3)"
},
"keySize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Certificate Key Size"
},
"productType": {
"oneOf": [
{
"type": "string",
"enum": [
"StandardDomainValidatedSsl",
"StandardDomainValidatedWildCardSsl"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Certificate product type."
},
"autoRenew": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Auto renew"
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"InProgress",
"Deleting"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Status of certificate order."
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Pendingissuance",
"Issued",
"Revoked",
"Canceled",
"Denied",
"Pendingrevocation",
"PendingRekey",
"Unused",
"Expired",
"NotSubmitted"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Current order status."
},
"signedCertificate": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Signed certificate"
},
"csr": {
"type": "string",
"description": "Last CSR that was created for this order"
},
"intermediate": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Intermediate certificate"
},
"root": {
"oneOf": [
{
"$ref": "#/definitions/CertificateDetails"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Root certificate"
},
"serialNumber": {
"type": "string",
"description": "Current serial number of the certificate"
},
"lastCertificateIssuanceTime": {
"type": "string",
"format": "date-time",
"description": "Certificate last issuance time"
},
"expirationTime": {
"type": "string",
"format": "date-time",
"description": "Certificate expiration time"
}
}
},
"CertificateOrderCertificate": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
},
"name": {
"type": "string",
"description": "Resource Name"
},
"kind": {
"type": "string",
"description": "Kind of resource"
},
"location": {
"type": "string",
"description": "Resource Location"
},
"type": {
"type": "string",
"description": "Resource type"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Resource tags"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"location"
],
"description": "Class representing the Key Vault container for certificate purchased through Azure"
},
"CertificateOrderCertificate_properties": {
"type": "object",
"properties": {
"keyVaultId": {
"type": "string",
"description": "Key Vault Csm resource Id"
},
"keyVaultSecretName": {
"type": "string",
"description": "Key Vault secret name"
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Initialized",
"WaitingOnCertificateOrder",
"Succeeded",
"CertificateOrderFailed",
"OperationNotPermittedOnKeyVault",
"AzureServiceUnauthorizedToAccessKeyVault",
"KeyVaultDoesNotExist",
"KeyVaultSecretDoesNotExist",
"UnknownError",
"Unknown"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Status of the Key Vault secret."
}
}
},
"certificateOrders_certificates_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"certificates"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-08-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CertificateOrderCertificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates"
}
}
}

Просмотреть файл

@ -1,509 +1,509 @@
{
"id": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Web",
"description": "Microsoft Web Resource Types",
"resourceDefinitions": {
"serverfarms": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/serverfarms"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"sku": {
"oneOf": [
{
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[fdbspFDBSP][1-9]$"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm name. Letter denotes tier and numerical denotes size (small, medium, large). Note: D is for Shared tier"
},
"tier": {
"oneOf": [
{
"enum": [
"Free",
"Shared",
"Basic",
"Standard",
"Premium"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm tier."
},
"capacity": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm capacity."
}
},
"required": [
"name"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm sku."
},
"properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/serverfarms: Name of the server farm."
},
"numberOfWorkers": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 10
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: The instance count, which is the number of virtual machines dedicated to the farm. Supported values are 1-10."
}
}
}
},
"required": [
"type",
"apiVersion",
"properties",
"location"
],
"description": "Microsoft.Web/serverfarms"
"id": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Web",
"description": "Microsoft Web Resource Types",
"resourceDefinitions": {
"serverfarms": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/serverfarms"
]
},
"config": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites/config",
"config"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"sku": {
"oneOf": [
{
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"enum": [
"web",
"connectionstrings",
"appsettings"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"description": "Microsoft.Web/sites: Configuration settings for a web site.",
"required": [
"type",
"apiVersion",
"name"
]
},
"extensions": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites/extensions",
"extensions"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"packageUri": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: uri of package"
},
"dbType": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: type of database"
},
"connectionString": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: connection string"
},
"setParameters": {
"oneOf": [
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
},
{
"type": "object"
}
],
"description": "Microsoft.Web/sites/extensions: parameters"
}
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/sites/extensions"
},
"sites": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites: The name of web site."
},
"serverFarmId": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites: The resource Id of server farm site belongs to."
},
"hostnames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites: An array of strings that contains the public hostnames for the site, including custom domains."
},
"enabledHostnames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites: An array of strings that contains enabled hostnames for the site. By default, these are <SiteName>.azurewebsites.net and <SiteName>.scm.azurewebsites.net."
},
"hostNameSslStates": {
"oneOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/hostNameSslStates: The URL of the web site."
},
"sslState": {
"oneOf": [
{
"enum": [
"Disabled",
"IpBasedEnabled",
"SniEnabled"
]
},
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/hostNameSslStates. The SSL state."
},
"thumbprint": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/hostNameSslStates: A string that contains the thumbprint of the SSL certificate."
},
"ipBasedSslState": {
"oneOf": [
{
"enum": [
"Disabled",
"IpBasedEnabled",
"SniEnabled"
]
},
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/hostNameSslStates: IP Based SSL state"
}
}
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites: Container for SSL states."
}
}
},
"resources": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/resourceBase"
},
{
"oneOf": [
{
"allOf": [
{
"$ref": "#/resourceDefinitions/config"
},
{
"oneOf": [
{
"$ref": "#/definitions/web"
},
{
"$ref": "#/definitions/connectionstrings"
},
{
"$ref": "#/definitions/appsettings"
}
]
}
]
},
{
"$ref": "#/resourceDefinitions/extensions"
}
]
}
]
"oneOf": [
{
"type": "string",
"pattern": "^[fdbspFDBSP][1-9]$"
},
"description": "Microsoft.Web/sites: Child resources to define configuration and extensions."
}
},
"required": [
"type",
"apiVersion",
"properties",
"location"
],
"description": "Microsoft.Web/sites"
},
"certificates": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/certificates"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"pfxBlob": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/certificates: A base64Binary value that contains the PfxBlob of the certificate."
},
"password": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/certficates: A string that contains the password for the certificate."
}
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm name. Letter denotes tier and numerical denotes size (small, medium, large). Note: D is for Shared tier"
},
"tier": {
"oneOf": [
{
"enum": [
"Free",
"Shared",
"Basic",
"Standard",
"Premium"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm tier."
},
"capacity": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm capacity."
}
},
"required": [
"name"
]
},
"required": [
"name",
"properties"
],
"description": "Microsoft.Web/certificates"
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: Server farm sku."
},
"properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/serverfarms: Name of the server farm."
},
"numberOfWorkers": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 10
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/serverfarms: The instance count, which is the number of virtual machines dedicated to the farm. Supported values are 1-10."
}
}
}
},
"required": [
"type",
"apiVersion",
"properties",
"location"
],
"description": "Microsoft.Web/serverfarms"
},
"definitions": {
"web": {
"type": "object",
"properties": {
"name": {
"enum": [
"web"
]
"config": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites/config",
"config"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"name": {
"oneOf": [
{
"enum": [
"web",
"connectionstrings",
"appsettings"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
}
},
"description": "Microsoft.Web/sites: Configuration settings for a web site.",
"required": [
"type",
"apiVersion",
"name"
]
},
"extensions": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites/extensions",
"extensions"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"packageUri": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: uri of package"
},
"dbType": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: type of database"
},
"connectionString": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/extensions: connection string"
},
"setParameters": {
"oneOf": [
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
},
"properties": {
{
"type": "object"
}
],
"description": "Microsoft.Web/sites/extensions: parameters"
}
}
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/sites/extensions"
},
"sites": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/sites"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites: The name of web site."
},
"serverFarmId": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites: The resource Id of server farm site belongs to."
},
"hostnames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites: An array of strings that contains the public hostnames for the site, including custom domains."
},
"enabledHostnames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites: An array of strings that contains enabled hostnames for the site. By default, these are <SiteName>.azurewebsites.net and <SiteName>.scm.azurewebsites.net."
},
"hostNameSslStates": {
"oneOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"phpVersion": {
"type": "string",
"description": "Microsoft.Web/sites/config: PHP version (an empty string disables PHP)."
},
"netFrameworkVersion": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/config: The .Net Framework version."
}
}
}
},
"required": [
"name",
"properties"
]
},
"connectionstrings": {
"type": "object",
"properties": {
"name": {
"enum": [
"connectionstrings"
]
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"value": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/config/connectionstrings: Connection string to database."
},
"type": {
"oneOf": [
{
"enum": [
"MySql",
"SQLServer",
"SQLAzure",
"Custom"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/config/connectionstrings: Type of database."
}
}
}
}
},
"required": [
"name",
"properties"
]
},
"appsettings": {
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"enum": [
"appsettings"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
},
"properties": {
"type": "object",
"additionalProperties": {
"name": {
"type": "string",
"minLength": 1
"minLength": 1,
"description": "Microsoft.Web/sites/hostNameSslStates: The URL of the web site."
},
"sslState": {
"oneOf": [
{
"enum": [
"Disabled",
"IpBasedEnabled",
"SniEnabled"
]
},
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/hostNameSslStates. The SSL state."
},
"thumbprint": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/hostNameSslStates: A string that contains the thumbprint of the SSL certificate."
},
"ipBasedSslState": {
"oneOf": [
{
"enum": [
"Disabled",
"IpBasedEnabled",
"SniEnabled"
]
},
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/hostNameSslStates: IP Based SSL state"
}
}
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
},
"required": [
"name",
"properties"
],
"description": "Microsoft.Web/sites: Container for SSL states."
}
}
},
"resources": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/resourceBase"
},
{
"oneOf": [
{
"allOf": [
{
"$ref": "#/resourceDefinitions/config"
},
{
"oneOf": [
{
"$ref": "#/definitions/web"
},
{
"$ref": "#/definitions/connectionstrings"
},
{
"$ref": "#/definitions/appsettings"
}
]
}
]
},
{
"$ref": "#/resourceDefinitions/extensions"
}
]
}
]
},
"description": "Microsoft.Web/sites: Child resources to define configuration and extensions."
}
},
"required": [
"type",
"apiVersion",
"properties",
"location"
],
"description": "Microsoft.Web/sites"
},
"certificates": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Web/certificates"
]
},
"apiVersion": {
"enum": [
"2015-08-01"
]
},
"properties": {
"type": "object",
"properties": {
"pfxBlob": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/certificates: A base64Binary value that contains the PfxBlob of the certificate."
},
"password": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/certficates: A string that contains the password for the certificate."
}
}
}
},
"required": [
"name",
"properties"
],
"description": "Microsoft.Web/certificates"
}
},
"definitions": {
"web": {
"type": "object",
"properties": {
"name": {
"enum": [
"web"
]
},
"properties": {
"type": "object",
"properties": {
"phpVersion": {
"type": "string",
"description": "Microsoft.Web/sites/config: PHP version (an empty string disables PHP)."
},
"netFrameworkVersion": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/config: The .Net Framework version."
}
}
}
},
"required": [
"name",
"properties"
]
},
"connectionstrings": {
"type": "object",
"properties": {
"name": {
"enum": [
"connectionstrings"
]
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"value": {
"type": "string",
"minLength": 1,
"description": "Microsoft.Web/sites/config/connectionstrings: Connection string to database."
},
"type": {
"oneOf": [
{
"enum": [
"MySql",
"SQLServer",
"SQLAzure",
"Custom"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Microsoft.Web/sites/config/connectionstrings: Type of database."
}
}
}
}
},
"required": [
"name",
"properties"
]
},
"appsettings": {
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"enum": [
"appsettings"
]
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
]
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"name",
"properties"
]
}
}
}

Просмотреть файл

@ -1,164 +1,164 @@
{
"id": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Web",
"description": "Microsoft Web Resource Types",
"resourceDefinitions": {
"certificates": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/certificates"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Certificate_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/certificates"
"id": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Web",
"description": "Microsoft Web Resource Types",
"resourceDefinitions": {
"certificates": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/certificates"
]
},
"csrs": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/csrs"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Csr_properties"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Certificate_properties"
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/csrs"
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/certificates"
},
"definitions": {
"Certificate_properties": {
"type": "object",
"properties": {
"hostNames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Host names the certificate applies to."
},
"pfxBlob": {
"oneOf": [
{
"type": "string",
"contentEncoding": "base64"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Pfx blob."
},
"password": {
"type": "string",
"description": "Certificate password."
},
"cerBlob": {
"type": "string",
"description": "Raw bytes of .cer file"
},
"keyVaultId": {
"type": "string",
"description": "Key Vault Csm resource Id."
},
"keyVaultSecretName": {
"type": "string",
"description": "Key Vault secret name."
},
"serverFarmId": {
"type": "string",
"description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"."
}
},
"description": "ARM envelope properties"
"csrs": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/csrs"
]
},
"Csr_properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name used to locate CSR object."
},
"distinguishedName": {
"type": "string",
"description": "Distinguished name of certificate to be created."
},
"csrString": {
"type": "string",
"description": "Actual CSR string created."
},
"pfxBlob": {
"type": "string",
"description": "PFX certifcate of created certificate."
},
"password": {
"type": "string",
"description": "PFX password."
},
"publicKeyHash": {
"type": "string",
"description": "Hash of the certificate's public key."
},
"hostingEnvironment": {
"type": "string",
"description": "App Service Environment."
}
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Csr_properties"
},
"description": "ARM envelope properties"
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Web/csrs"
}
},
"definitions": {
"Certificate_properties": {
"type": "object",
"properties": {
"hostNames": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Host names the certificate applies to."
},
"pfxBlob": {
"oneOf": [
{
"type": "string",
"contentEncoding": "base64"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Pfx blob."
},
"password": {
"type": "string",
"description": "Certificate password."
},
"cerBlob": {
"type": "string",
"description": "Raw bytes of .cer file"
},
"keyVaultId": {
"type": "string",
"description": "Key Vault Csm resource Id."
},
"keyVaultSecretName": {
"type": "string",
"description": "Key Vault secret name."
},
"serverFarmId": {
"type": "string",
"description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"."
}
},
"description": "ARM envelope properties"
},
"Csr_properties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name used to locate CSR object."
},
"distinguishedName": {
"type": "string",
"description": "Distinguished name of certificate to be created."
},
"csrString": {
"type": "string",
"description": "Actual CSR string created."
},
"pfxBlob": {
"type": "string",
"description": "PFX certifcate of created certificate."
},
"password": {
"type": "string",
"description": "PFX password."
},
"publicKeyHash": {
"type": "string",
"description": "Hash of the certificate's public key."
},
"hostingEnvironment": {
"type": "string",
"description": "App Service Environment."
}
},
"description": "ARM envelope properties"
}
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,81 +1,81 @@
{
"tests": [
{
"name": "domains - basic",
"definition": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains",
"json": {
"apiVersion": "2015-04-01",
"name": "validDomain",
"type": "Microsoft.DomainRegistration/domains",
"properties": {
"contactAdmin": {
"email": "abc@live.com",
"nameFirst": "Admin_abc",
"nameLast": "Admin_xyz",
"phone": "1-111-222-3333"
},
"contactBilling": {
"email": "def@live.com",
"nameFirst": "Billing_abc",
"nameLast": "Billing_xyz",
"phone": "1-111-222-3333"
},
"contactRegistrant": {
"email": "ghi@live.com",
"nameFirst": "Registrant_abc",
"nameLast": "Registrant_xyz",
"phone": "1-111-222-3333"
},
"contactTech": {
"email": "jkl@live.com",
"nameFirst": "Tech_abc",
"nameLast": "Tech_xyz",
"phone": "1-111-222-3333"
},
"nameServers": [
"a.dns.com",
"b.dns.com",
"c.dns.com"
],
"privacy": true,
"managedHostNames": [
{
"name": "*.managedHostName.com",
"siteNames": [
"test.azurewebsites.net",
"test2.azurewebsites.net"
],
"azureResourceName": "test",
"azureResourceType": "Website",
"customHostNameDnsRecordType": "CName",
"hostNameType": "Managed"
},
{
"name": "*.managedHostName.net",
"siteNames": [
"test.3azurewebsites.net",
"test4.azurewebsites.net"
],
"azureResourceName": "test3",
"azureResourceType": "TrafficManager",
"customHostNameDnsRecordType": "A",
"hostNameType": "Verified"
}
]
}
}
},
{
"name": "domains ownership identifiers - basic",
"definition": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers",
"json": {
"apiVersion": "2015-04-01",
"name": "validDomainOwnershipIdentifier",
"type": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers",
"properties": {
"ownershipId": "7CC64FFB-F712-4589-864E-61BBFEFBD220"
}
"tests": [
{
"name": "domains - basic",
"definition": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains",
"json": {
"apiVersion": "2015-04-01",
"name": "validDomain",
"type": "Microsoft.DomainRegistration/domains",
"properties": {
"contactAdmin": {
"email": "abc@live.com",
"nameFirst": "Admin_abc",
"nameLast": "Admin_xyz",
"phone": "1-111-222-3333"
},
"contactBilling": {
"email": "def@live.com",
"nameFirst": "Billing_abc",
"nameLast": "Billing_xyz",
"phone": "1-111-222-3333"
},
"contactRegistrant": {
"email": "ghi@live.com",
"nameFirst": "Registrant_abc",
"nameLast": "Registrant_xyz",
"phone": "1-111-222-3333"
},
"contactTech": {
"email": "jkl@live.com",
"nameFirst": "Tech_abc",
"nameLast": "Tech_xyz",
"phone": "1-111-222-3333"
},
"nameServers": [
"a.dns.com",
"b.dns.com",
"c.dns.com"
],
"privacy": true,
"managedHostNames": [
{
"name": "*.managedHostName.com",
"siteNames": [
"test.azurewebsites.net",
"test2.azurewebsites.net"
],
"azureResourceName": "test",
"azureResourceType": "Website",
"customHostNameDnsRecordType": "CName",
"hostNameType": "Managed"
},
{
"name": "*.managedHostName.net",
"siteNames": [
"test.3azurewebsites.net",
"test4.azurewebsites.net"
],
"azureResourceName": "test3",
"azureResourceType": "TrafficManager",
"customHostNameDnsRecordType": "A",
"hostNameType": "Verified"
}
]
}
]
}
},
{
"name": "domains ownership identifiers - basic",
"definition": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers",
"json": {
"apiVersion": "2015-04-01",
"name": "validDomainOwnershipIdentifier",
"type": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers",
"properties": {
"ownershipId": "7CC64FFB-F712-4589-864E-61BBFEFBD220"
}
}
}
]
}

Просмотреть файл

@ -1,59 +1,59 @@
{
"tests": [
{
"name": "certificateOrders - basic",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders",
"json": {
"apiVersion": "2015-08-01",
"name": "validCertificateOrder",
"type": "Microsoft.CertificateRegistration/certificateOrders",
"properties": {
"certificates": {
"certificate1": {
"location": "West US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate1",
"name": "certificate1",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName1",
"keyVaultSecretName": "secret1",
"provisioningState": "Succeeded"
}
},
"certificate2": {
"location": "East US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate2",
"name": "certificate2",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName2",
"keyVaultSecretName": "secret2",
"provisioningState": "CertificateOrderFailed"
}
}
},
"distinguishedName": "CN=ABC",
"domainVerificationToken": "30FDB2BB-6AE1-4747-AF56-1EAD6F3D9369",
"serialNumber": "3DC25E2AE51445D9A853899FFFBF3C7F"
}
}
},
{
"name": "CertificateOrderCertificates - basic",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates",
"json": {
"apiVersion": "2015-08-01",
"name": "validCertificateOrderCertificate",
"type": "Microsoft.CertificateRegistration/certificateOrders/certificates",
"properties": {
"location": "West US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate1",
"name": "certificate1",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName1",
"keyVaultSecretName": "secret1",
"provisioningState": "Succeeded"
}
}
"tests": [
{
"name": "certificateOrders - basic",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders",
"json": {
"apiVersion": "2015-08-01",
"name": "validCertificateOrder",
"type": "Microsoft.CertificateRegistration/certificateOrders",
"properties": {
"certificates": {
"certificate1": {
"location": "West US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate1",
"name": "certificate1",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName1",
"keyVaultSecretName": "secret1",
"provisioningState": "Succeeded"
}
},
"certificate2": {
"location": "East US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate2",
"name": "certificate2",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName2",
"keyVaultSecretName": "secret2",
"provisioningState": "CertificateOrderFailed"
}
}
},
"distinguishedName": "CN=ABC",
"domainVerificationToken": "30FDB2BB-6AE1-4747-AF56-1EAD6F3D9369",
"serialNumber": "3DC25E2AE51445D9A853899FFFBF3C7F"
}
]
}
},
{
"name": "CertificateOrderCertificates - basic",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates",
"json": {
"apiVersion": "2015-08-01",
"name": "validCertificateOrderCertificate",
"type": "Microsoft.CertificateRegistration/certificateOrders/certificates",
"properties": {
"location": "West US",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/validCertificateOrder/ceritifcates/certificate1",
"name": "certificate1",
"properties": {
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/valuts/vaultName1",
"keyVaultSecretName": "secret1",
"provisioningState": "Succeeded"
}
}
}
}
]
}

Просмотреть файл

@ -1,54 +1,51 @@
{
"tests": [
"tests": [
{
"name": "serverFarms - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"name": "ServerFarmName",
"type": "Microsoft.Web/serverfarms",
"location": "West Us",
"apiVersion": "2015-08-01",
"properties": {}
}
},
{
"name": "serverFarms - Without apiVersion",
"expectedErrors": [
{
"name": "serverFarms - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"name": "ServerFarmName",
"type": "Microsoft.Web/serverfarms",
"location": "West Us",
"apiVersion": "2015-08-01",
"properties": { }
}
},
{
"name": "serverFarms - Without apiVersion",
"expectedErrors": [
{
"message": "Missing required property: apiVersion",
"dataPath": "/"
}
],
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"name": "ServerFarmName",
"type": "Microsoft.Web/serverfarms",
"location": "West Us",
"properties": { }
}
},
{
"name": "config - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/config",
"json": {
"type": "Microsoft.Web/sites/config",
"apiVersion": "2015-08-01",
"name": "web"
}
},
{
"name": "sites - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/sites",
"json": {
"name": "WebAppName",
"type": "Microsoft.Web/sites",
"location": "West Us",
"apiVersion": "2015-08-01",
"properties": { }
}
"message": "Missing required property: apiVersion",
"dataPath": "/"
}
]
}
],
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"name": "ServerFarmName",
"type": "Microsoft.Web/serverfarms",
"location": "West Us",
"properties": {}
}
},
{
"name": "config - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/config",
"json": {
"type": "Microsoft.Web/sites/config",
"apiVersion": "2015-08-01",
"name": "web"
}
},
{
"name": "sites - Minimal",
"definition": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/sites",
"json": {
"name": "WebAppName",
"type": "Microsoft.Web/sites",
"location": "West Us",
"apiVersion": "2015-08-01",
"properties": {}
}
}
]
}

Просмотреть файл

@ -1,39 +1,39 @@
{
"tests": [
{
"name": "Certificates- basic",
"definition": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/certificates",
"json": {
"apiVersion": "2016-03-01",
"name": "validCertificates",
"type": "Microsoft.Web/certificates",
"properties": {
"hostNames": [
"abc.xyz.com",
"def.xyz.com"
],
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/vaultName1",
"keyVaultSecretName": "secret1",
"serverFarmId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/serverFarm1",
"password": "0050159BAA314687BC64-BFFDFB066F4E",
"cerBlob": "SDSD@%#^#$SDSDS"
}
}
},
{
"name": "Csrs - basic",
"definition": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/csrs",
"json": {
"apiVersion": "2016-03-01",
"name": "validCsr",
"type": "Microsoft.Web/csrs",
"properties": {
"distinguishedName": "CN=ABC",
"csrString": "3256C1E247114262A6B83623AB2A9128",
"password": "9C186F4C96B64AC484E76BA8E49000F4",
"publicKeyHash": "#9434381!@93"
}
}
"tests": [
{
"name": "Certificates- basic",
"definition": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/certificates",
"json": {
"apiVersion": "2016-03-01",
"name": "validCertificates",
"type": "Microsoft.Web/certificates",
"properties": {
"hostNames": [
"abc.xyz.com",
"def.xyz.com"
],
"keyVaultId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/vaultName1",
"keyVaultSecretName": "secret1",
"serverFarmId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/serverFarm1",
"password": "0050159BAA314687BC64-BFFDFB066F4E",
"cerBlob": "SDSD@%#^#$SDSDS"
}
]
}
},
{
"name": "Csrs - basic",
"definition": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/csrs",
"json": {
"apiVersion": "2016-03-01",
"name": "validCsr",
"type": "Microsoft.Web/csrs",
"properties": {
"distinguishedName": "CN=ABC",
"csrString": "3256C1E247114262A6B83623AB2A9128",
"password": "9C186F4C96B64AC484E76BA8E49000F4",
"publicKeyHash": "#9434381!@93"
}
}
}
]
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,114 +1,114 @@
{
"tests": [
{
"name": "Serverfarms - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"apiVersion": "2016-09-01",
"name": "validServerFarm",
"type": "Microsoft.Web/serverfarms",
"properties": {
"adminSiteName": "AdminSiteName",
"workerTierName": "Standard",
"hostingEnvironmentProfile": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/aseName1"
},
"perSiteScaling": false,
"targetWorkerCount": 2,
"targetWorkerSizeId": 0
},
"sku": {
"name": "S1",
"tier": "Standard",
"size": "1",
"family": "S",
"capacity": 2
}
}
"tests": [
{
"name": "Serverfarms - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms",
"json": {
"apiVersion": "2016-09-01",
"name": "validServerFarm",
"type": "Microsoft.Web/serverfarms",
"properties": {
"adminSiteName": "AdminSiteName",
"workerTierName": "Standard",
"hostingEnvironmentProfile": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/aseName1"
},
"perSiteScaling": false,
"targetWorkerCount": 2,
"targetWorkerSizeId": 0
},
{
"name": "VirtualNetworkConnections Gateways - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_gateways",
"json": {
"apiVersion": "2016-09-01",
"name": "validVirtualConnectionGateway",
"type": "Microsoft.Web/serverfarms/virtualNetworkConnections/gateways",
"properties": {
"vnetName": "VnetName1",
"vpnPackageUri": "http://vpnPackageUri"
}
}
},
{
"name": "VirtualNetworkConnections Routes - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_routes",
"json": {
"apiVersion": "2016-09-01",
"name": "validVirtualConnectionRoute",
"type": "Microsoft.Web/serverfarms/virtualNetworkConnections/routes",
"properties": {
"name": "validVirtualConnectionRoute",
"startAddress": "192.168.0.0",
"endAddress": "192.170.0.0",
"routeType": "STATIC"
}
}
},
{
"name": "Hosting Environments - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments",
"json": {
"apiVersion": "2016-09-01",
"name": "validAppServiceEnvironment",
"type": "Microsoft.Web/hostingEnvironments",
"properties": {
"name": "alidAppServiceEnvironment",
"vnetName": "vnetName",
"vnetResourceGroupName": "vnetResourceGroupName",
"vnetSubnetName": "vnetSubnetName",
"internalLoadBalancingMode": "Publishing",
"multiSize": "Medium",
"multiRoleCount": 3,
"workerPools": [
{
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
]
}
}
},
{
"name": "Hosting Environments Worker Pools - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_workerPools",
"json": {
"apiVersion": "2016-09-01",
"name": "validAppServiceEnvironment",
"type": "Microsoft.Web/hostingEnvironments/workerPools",
"properties": {
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
}
},
{
"name": "Hosting Environments MultiRole Pools - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_multiRolePools",
"json": {
"apiVersion": "2016-09-01",
"name": "default",
"type": "Microsoft.Web/hostingEnvironments/multiRolePools",
"properties": {
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
}
"sku": {
"name": "S1",
"tier": "Standard",
"size": "1",
"family": "S",
"capacity": 2
}
]
}
},
{
"name": "VirtualNetworkConnections Gateways - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_gateways",
"json": {
"apiVersion": "2016-09-01",
"name": "validVirtualConnectionGateway",
"type": "Microsoft.Web/serverfarms/virtualNetworkConnections/gateways",
"properties": {
"vnetName": "VnetName1",
"vpnPackageUri": "http://vpnPackageUri"
}
}
},
{
"name": "VirtualNetworkConnections Routes - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_routes",
"json": {
"apiVersion": "2016-09-01",
"name": "validVirtualConnectionRoute",
"type": "Microsoft.Web/serverfarms/virtualNetworkConnections/routes",
"properties": {
"name": "validVirtualConnectionRoute",
"startAddress": "192.168.0.0",
"endAddress": "192.170.0.0",
"routeType": "STATIC"
}
}
},
{
"name": "Hosting Environments - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments",
"json": {
"apiVersion": "2016-09-01",
"name": "validAppServiceEnvironment",
"type": "Microsoft.Web/hostingEnvironments",
"properties": {
"name": "alidAppServiceEnvironment",
"vnetName": "vnetName",
"vnetResourceGroupName": "vnetResourceGroupName",
"vnetSubnetName": "vnetSubnetName",
"internalLoadBalancingMode": "Publishing",
"multiSize": "Medium",
"multiRoleCount": 3,
"workerPools": [
{
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
]
}
}
},
{
"name": "Hosting Environments Worker Pools - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_workerPools",
"json": {
"apiVersion": "2016-09-01",
"name": "validAppServiceEnvironment",
"type": "Microsoft.Web/hostingEnvironments/workerPools",
"properties": {
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
}
},
{
"name": "Hosting Environments MultiRole Pools - basic",
"definition": "http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_multiRolePools",
"json": {
"apiVersion": "2016-09-01",
"name": "default",
"type": "Microsoft.Web/hostingEnvironments/multiRolePools",
"properties": {
"workerSizeId": 0,
"computeMode": "Dedicated",
"workerSize": "Medium",
"workerCount": 3
}
}
}
]
}