Add missing schemas and corresponding tests
This commit is contained in:
Родитель
bcb62b768a
Коммит
9a31d9e118
|
@ -62,9 +62,49 @@
|
|||
{ "$ref": "http://schema.management.azure.com/schemas/2016-05-15/Microsoft.DevTestLab.json#/resourceDefinitions/labs_virtualnetworks" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2015-05-21-preview/Microsoft.DevTestLab.json#/resourceDefinitions/labs" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2015-05-21-preview/Microsoft.DevTestLab.json#/resourceDefinitions/virtualMachines" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/sites" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/certificates" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/sites" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/certificates" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/certificates" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/csrs" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_appsettings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_config" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_connectionstrings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hostNameBindings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridconnection" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridConnectionNamespaces_relays" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_instances_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_premieraddons" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_appsettings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_config" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_connectionstrings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hostNameBindings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridconnection" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridConnectionNamespaces_relays" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_instances_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_premieraddons" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_sourcecontrol" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_sourcecontrol" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_workerPools" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_multiRolePools" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_routes" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/resourceDefinitions/databases" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/resourceDefinitions/firewallrules" },
|
||||
|
|
|
@ -62,6 +62,46 @@
|
|||
{ "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/certificates" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2015-08-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/certificates" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-03-01/Microsoft.Web.json#/resourceDefinitions/csrs" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_appsettings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_config" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_connectionstrings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hostNameBindings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridconnection" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridConnectionNamespaces_relays" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_instances_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_premieraddons" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_appsettings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_config" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_connectionstrings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_domainOwnershipIdentifiers" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hostNameBindings" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridconnection" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridConnectionNamespaces_relays" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_instances_deployments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_premieraddons" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_sourcecontrol" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_sourcecontrol" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_workerPools" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_multiRolePools" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_gateways" },
|
||||
{ "$ref":"http://schema.management.azure.com/schemas/2016-09-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_routes" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/resourceDefinitions/databases" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/resourceDefinitions/firewallrules" },
|
||||
{ "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
|
||||
|
|
|
@ -0,0 +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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,161 @@
|
|||
{
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
{},
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,906 @@
|
|||
{
|
||||
"id": "http://schema.management.azure.com/schemas/2016-09-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": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/serverfarms"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppServicePlan_properties"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "ARM envelope properties"
|
||||
},
|
||||
"sku": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SkuDescription"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"apiVersion",
|
||||
"properties"
|
||||
],
|
||||
"description": "Microsoft.Web/serverfarms"
|
||||
},
|
||||
"serverfarms_virtualNetworkConnections_gateways": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/serverfarms/virtualNetworkConnections/gateways"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/VnetGateway_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/serverfarms/virtualNetworkConnections/gateways"
|
||||
},
|
||||
"serverfarms_virtualNetworkConnections_routes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/serverfarms/virtualNetworkConnections/routes"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/VnetRoute_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/serverfarms/virtualNetworkConnections/routes"
|
||||
},
|
||||
"hostingEnvironments": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/hostingEnvironments"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AppServiceEnvironment_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/hostingEnvironments_workerPools_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"apiVersion",
|
||||
"properties"
|
||||
],
|
||||
"description": "Microsoft.Web/hostingEnvironments"
|
||||
},
|
||||
"hostingEnvironments_workerPools": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/hostingEnvironments/workerPools"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"workerSizeId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Worker size ID for referencing this worker pool."
|
||||
},
|
||||
"computeMode": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Shared",
|
||||
"Dedicated",
|
||||
"Dynamic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Shared or dedicated app hosting."
|
||||
},
|
||||
"workerSize": {
|
||||
"type": "string",
|
||||
"description": "VM size of the worker pool instances."
|
||||
},
|
||||
"workerCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of instances in the worker pool."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"apiVersion"
|
||||
],
|
||||
"description": "Microsoft.Web/hostingEnvironments/workerPools"
|
||||
},
|
||||
"hostingEnvironments_multiRolePools": {
|
||||
"type": "object",
|
||||
"properties" :{
|
||||
"name": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"default"
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.Web/hostingEnvironments/multiRolePools"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"workerSizeId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Worker size ID for referencing this worker pool."
|
||||
},
|
||||
"computeMode": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Shared",
|
||||
"Dedicated",
|
||||
"Dynamic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Shared or dedicated app hosting."
|
||||
},
|
||||
"workerSize": {
|
||||
"type": "string",
|
||||
"description": "VM size of the worker pool instances."
|
||||
},
|
||||
"workerCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of instances in the worker pool."
|
||||
}
|
||||
},
|
||||
"description": "Microsoft.Web/hostingEnvironments/multiRolePools"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"AppServiceEnvironment_properties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the App Service Environment."
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Location of the App Service Environment, e.g. \"West US\"."
|
||||
},
|
||||
"vnetName": {
|
||||
"type": "string",
|
||||
"description": "Name of the Virtual Network for the App Service Environment."
|
||||
},
|
||||
"vnetResourceGroupName": {
|
||||
"type": "string",
|
||||
"description": "Resource group of the Virtual Network."
|
||||
},
|
||||
"vnetSubnetName": {
|
||||
"type": "string",
|
||||
"description": "Subnet of the Virtual Network."
|
||||
},
|
||||
"virtualNetwork": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/VirtualNetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Description of the Virtual Network."
|
||||
},
|
||||
"internalLoadBalancingMode": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"None",
|
||||
"Web",
|
||||
"Publishing"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment."
|
||||
},
|
||||
"multiSize": {
|
||||
"type": "string",
|
||||
"description": "Front-end VM size, e.g. \"Medium\", \"Large\"."
|
||||
},
|
||||
"multiRoleCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of front-end instances."
|
||||
},
|
||||
"workerPools": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/WorkerPool"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool."
|
||||
},
|
||||
"ipsslAddressCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of IP SSL addresses reserved for the App Service Environment."
|
||||
},
|
||||
"dnsSuffix": {
|
||||
"type": "string",
|
||||
"description": "DNS suffix of the App Service Environment."
|
||||
},
|
||||
"networkAccessControlList": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/NetworkAccessControlEntry"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Access control list for controlling traffic to the App Service Environment."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Kind of the app service environment"
|
||||
},
|
||||
"frontEndScaleFactor": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Scale factor for front-ends."
|
||||
},
|
||||
"apiManagementAccountId": {
|
||||
"type": "string",
|
||||
"description": "API Management Account associated with the App Service Environment."
|
||||
},
|
||||
"suspended": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "<code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic)."
|
||||
},
|
||||
"dynamicCacheEnabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic)."
|
||||
},
|
||||
"clusterSettings": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/NameValuePair"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Custom settings for changing the behavior of the App Service Environment."
|
||||
}
|
||||
},
|
||||
"description": "ARM envelope properties"
|
||||
},
|
||||
"hostingEnvironments_workerPools_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"workerPools"
|
||||
]
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-01"
|
||||
]
|
||||
},
|
||||
"workerSizeId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Worker size ID for referencing this worker pool."
|
||||
},
|
||||
"computeMode": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Shared",
|
||||
"Dedicated",
|
||||
"Dynamic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Shared or dedicated app hosting."
|
||||
},
|
||||
"workerSize": {
|
||||
"type": "string",
|
||||
"description": "VM size of the worker pool instances."
|
||||
},
|
||||
"workerCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of instances in the worker pool."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"apiVersion"
|
||||
],
|
||||
"description": "Microsoft.Web/hostingEnvironments/workerPools"
|
||||
},
|
||||
"NameValuePair": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Pair name."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Pair value."
|
||||
}
|
||||
},
|
||||
"description": "Name value pair."
|
||||
},
|
||||
"NetworkAccessControlEntry": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"action": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Permit",
|
||||
"Deny"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Action object."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Description."
|
||||
},
|
||||
"order": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Order of precedence."
|
||||
},
|
||||
"remoteSubnet": {
|
||||
"type": "string",
|
||||
"description": "Remote subnet."
|
||||
}
|
||||
},
|
||||
"description": "Network access control entry."
|
||||
},
|
||||
"VirtualNetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "Resource id of the Virtual Network."
|
||||
},
|
||||
"subnet": {
|
||||
"type": "string",
|
||||
"description": "Subnet within the Virtual Network."
|
||||
}
|
||||
},
|
||||
"description": "Specification for using a Virtual Network."
|
||||
},
|
||||
"WorkerPool": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workerSizeId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Worker size ID for referencing this worker pool."
|
||||
},
|
||||
"computeMode": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Shared",
|
||||
"Dedicated",
|
||||
"Dynamic"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Shared or dedicated app hosting."
|
||||
},
|
||||
"workerSize": {
|
||||
"type": "string",
|
||||
"description": "VM size of the worker pool instances."
|
||||
},
|
||||
"workerCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of instances in the worker pool."
|
||||
}
|
||||
},
|
||||
"description": "Worker pool of an App Service Environment."
|
||||
},
|
||||
"AppServicePlan_properties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name for the App Service plan."
|
||||
},
|
||||
"workerTierName": {
|
||||
"type": "string",
|
||||
"description": "Target worker tier assigned to the App Service plan."
|
||||
},
|
||||
"adminSiteName": {
|
||||
"type": "string",
|
||||
"description": "App Service plan administration site."
|
||||
},
|
||||
"hostingEnvironmentProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/HostingEnvironmentProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Specification for the App Service Environment to use for the App Service plan."
|
||||
},
|
||||
"perSiteScaling": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "If <code>true</code>, apps assigned to this App Service plan can be scaled independently.\n If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan."
|
||||
},
|
||||
"reserved": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Reserved."
|
||||
},
|
||||
"targetWorkerCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Scaling worker count."
|
||||
},
|
||||
"targetWorkerSizeId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Scaling worker size ID."
|
||||
}
|
||||
},
|
||||
"description": "ARM envelope properties"
|
||||
},
|
||||
"Capability": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the SKU capability."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Value of the SKU capability."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "Reason of the SKU capability."
|
||||
}
|
||||
},
|
||||
"description": "Describes the capabilities/features allowed for a specific SKU."
|
||||
},
|
||||
"HostingEnvironmentProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "Resource ID of the App Service Environment."
|
||||
}
|
||||
},
|
||||
"description": "Specification for an App Service Environment to use for this resource."
|
||||
},
|
||||
"SkuCapacity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"minimum": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Minimum number of workers for this App Service plan SKU."
|
||||
},
|
||||
"maximum": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Maximum number of workers for this App Service plan SKU."
|
||||
},
|
||||
"default": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Default number of workers for this App Service plan SKU."
|
||||
},
|
||||
"scaleType": {
|
||||
"type": "string",
|
||||
"description": "Available scale configurations for an App Service plan."
|
||||
}
|
||||
},
|
||||
"description": "Description of the App Service plan scale options."
|
||||
},
|
||||
"SkuDescription": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the resource SKU."
|
||||
},
|
||||
"tier": {
|
||||
"type": "string",
|
||||
"description": "Service tier of the resource SKU."
|
||||
},
|
||||
"size": {
|
||||
"type": "string",
|
||||
"description": "Size specifier of the resource SKU."
|
||||
},
|
||||
"family": {
|
||||
"type": "string",
|
||||
"description": "Family code of the resource SKU."
|
||||
},
|
||||
"capacity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Current number of instances assigned to the resource."
|
||||
},
|
||||
"skuCapacity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SkuCapacity"
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Min, max, and default scale values of the SKU."
|
||||
},
|
||||
"locations": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Locations of the SKU."
|
||||
},
|
||||
"capabilities": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Capability"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Capabilities of the SKU, e.g., is traffic manager enabled?"
|
||||
}
|
||||
},
|
||||
"description": "Description of a SKU for a scalable resource."
|
||||
},
|
||||
"VnetGateway_properties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vnetName": {
|
||||
"type": "string",
|
||||
"description": "The Virtual Network name."
|
||||
},
|
||||
"vpnPackageUri": {
|
||||
"type": "string",
|
||||
"description": "The URI where the VPN package can be downloaded."
|
||||
}
|
||||
},
|
||||
"description": "ARM envelope properties"
|
||||
},
|
||||
"VnetRoute_properties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of this route. This is only returned by the server and does not need to be set by the client."
|
||||
},
|
||||
"startAddress": {
|
||||
"type": "string",
|
||||
"description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified."
|
||||
},
|
||||
"endAddress": {
|
||||
"type": "string",
|
||||
"description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted."
|
||||
},
|
||||
"routeType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"DEFAULT",
|
||||
"INHERITED",
|
||||
"STATIC"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The type of route this is:\n DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\n INHERITED - Routes inherited from the real Virtual Network routes\n STATIC - Static route set on the app only\n \n These values will be used for syncing an app's routes with those from a Virtual Network."
|
||||
}
|
||||
},
|
||||
"description": "ARM envelope properties"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,517 @@
|
|||
{
|
||||
"tests": [
|
||||
{
|
||||
"name": "Sites - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validSite",
|
||||
"type": "Microsoft.Web/sites",
|
||||
"properties": {
|
||||
"enabled": true,
|
||||
"reserved": false,
|
||||
"siteConfig": {
|
||||
"phpVersion" : "v5.6",
|
||||
"httpLoggingEnabled": true,
|
||||
"appSettings" : [
|
||||
{
|
||||
"name" : "appSetting1",
|
||||
"vallue" : "appSettingValue1"
|
||||
},
|
||||
{
|
||||
"name" : "appSetting2",
|
||||
"vallue" : "appSettingValue2"
|
||||
}
|
||||
],
|
||||
"connectionStrings" : [
|
||||
{
|
||||
"name" : "connectionStringName1",
|
||||
"type" : "MySql",
|
||||
"connectionString" : "connectionString1"
|
||||
},
|
||||
{
|
||||
"name" : "connectionStringName2",
|
||||
"type" : "SQLAzure",
|
||||
"connectionString" : "connectionString2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostNameSslStates": [
|
||||
{
|
||||
"name" : "validSite.azurewebsites.net",
|
||||
"sslState" : "SniEnabled",
|
||||
"hostType" : "Standard"
|
||||
},
|
||||
{
|
||||
"name" : "validSite.scm.azurewebsites.net",
|
||||
"sslState" : "SniEnabled",
|
||||
"hostType" : "Repository"
|
||||
}
|
||||
],
|
||||
"hostingEnvironmentProfile" : { "id" : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/aseName1" },
|
||||
"serverFarmId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/serverFarm1",
|
||||
"keyVaultId" : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/vaultName1",
|
||||
"keyVaultSecretName": "secret1",
|
||||
|
||||
"password": "0050159BAA314687BC64-BFFDFB066F4E",
|
||||
"cerBlob": "SDSD@%#^#$SDSDS"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site deployments - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_deployments",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validSiteDeployment",
|
||||
"type": "Microsoft.Web/sites/deployments",
|
||||
"properties": {
|
||||
"id": "1234",
|
||||
"status": 0,
|
||||
"message": "Deployment in progress",
|
||||
"author": "abc def",
|
||||
"author_email": "abcdef@ghi.com",
|
||||
"start_time" : "2017-08-03T02:00:00Z",
|
||||
"end_time" : "2017-08-03T02:15:00Z",
|
||||
"deployer" : "MS Deploy",
|
||||
"active" : true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site domain Ownership Identifiers - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_domainOwnershipIdentifiers",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validDomainOwnershipIdentifier",
|
||||
"type": "Microsoft.Web/sites/domainOwnershipIdentifiers",
|
||||
"properties": { "id": "1234" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site HostName bindings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hostNameBindings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/hostNameBindings",
|
||||
"properties": {
|
||||
"siteName": "validSite",
|
||||
"domainId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/domainName1",
|
||||
"azureResourceName": "domainName1",
|
||||
"azureResourceType": "Website",
|
||||
"customHostNameDnsRecordType": "CName",
|
||||
"hostNameType" : "Managed",
|
||||
"sslState" : "SniEnabled"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Hybrid Connections - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridconnection",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/hybridconnection",
|
||||
"properties": {
|
||||
"entityName": "hybridConnectionName",
|
||||
"entityConnectionString": "Connection String",
|
||||
"resourceType": "hybridConnection",
|
||||
"resourceConnectionString": "Resource connection string",
|
||||
"hostname": "validSiteHostName",
|
||||
"port" : 6008,
|
||||
"biztalkUri" : "http://hybridConnection.biz.talkuri"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Hybrid Connection Namespace Relays - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridConnectionNamespaces_relays",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/hybridConnectionNamespaces/relays",
|
||||
"properties": {
|
||||
"serviceBusNamespace": "ServiceBusNamespace",
|
||||
"relayName": "Relay name",
|
||||
"relayArmUri": "http://relayArmUri",
|
||||
"hostname": "validSiteHostName",
|
||||
"port" : 6008
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Instance Deployments - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_instances_deployments",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/instances/deployments",
|
||||
"properties":{
|
||||
"id": "1234",
|
||||
"status": 0,
|
||||
"message": "Deployment in progress",
|
||||
"author": "abc def",
|
||||
"author_email": "abcdef@ghi.com",
|
||||
"start_time" : "2017-08-03T02:00:00Z",
|
||||
"end_time" : "2017-08-03T02:15:00Z",
|
||||
"deployer" : "MS Deploy",
|
||||
"active" : true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Premier Add ons - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_premieraddons",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/premieraddons",
|
||||
"properties":{
|
||||
"sku": "premier addon sku",
|
||||
"product": "Product name",
|
||||
"vendor": "Add on vendor",
|
||||
"marketplacePublisher" : "Publisher name",
|
||||
"marketplaceOffer" : "Offer name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Virtual Connections - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/virtualNetworkConnections",
|
||||
"properties":{
|
||||
"vnetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/virtualNetworkName",
|
||||
"dnsServers": "a.dns.com,b.dns.com.c.dns.com",
|
||||
"certBlob": "SDSD@%#^#$SDSDS"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Virtual Connection Gateways - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections_gateways",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/virtualNetworkConnections/gateways",
|
||||
"properties":{
|
||||
"vnetName": "VnetName1",
|
||||
"vpnPackageUri": "http://vpnPackageUri"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slots - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validSite",
|
||||
"type": "Microsoft.Web/sites/slots",
|
||||
"properties": {
|
||||
"enabled": true,
|
||||
"reserved": false,
|
||||
"siteConfig": {
|
||||
"phpVersion" : "v5.6",
|
||||
"httpLoggingEnabled": true,
|
||||
"appSettings" : [
|
||||
{
|
||||
"name" : "appSetting1",
|
||||
"vallue" : "appSettingValue1"
|
||||
},
|
||||
{
|
||||
"name" : "appSetting2",
|
||||
"vallue" : "appSettingValue2"
|
||||
}
|
||||
],
|
||||
"connectionStrings" : [
|
||||
{
|
||||
"name" : "connectionStringName1",
|
||||
"type" : "MySql",
|
||||
"connectionString" : "connectionString1"
|
||||
},
|
||||
{
|
||||
"name" : "connectionStringName2",
|
||||
"type" : "SQLAzure",
|
||||
"connectionString" : "connectionString2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostNameSslStates": [
|
||||
{
|
||||
"name" : "validSite.azurewebsites.net",
|
||||
"sslState" : "SniEnabled",
|
||||
"hostType" : "Standard"
|
||||
},
|
||||
{
|
||||
"name" : "validSite.scm.azurewebsites.net",
|
||||
"sslState" : "SniEnabled",
|
||||
"hostType" : "Repository"
|
||||
}
|
||||
],
|
||||
"hostingEnvironmentProfile" : { "id" : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/aseName1" },
|
||||
"serverFarmId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/serverFarm1",
|
||||
"keyVaultId" : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/vaultName1",
|
||||
"keyVaultSecretName": "secret1",
|
||||
|
||||
"password": "0050159BAA314687BC64-BFFDFB066F4E",
|
||||
"cerBlob": "SDSD@%#^#$SDSDS"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot deployments - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_deployments",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validSiteDeployment",
|
||||
"type": "Microsoft.Web/sites/slots/deployments",
|
||||
"properties": {
|
||||
"id": "1234",
|
||||
"status": 0,
|
||||
"message": "Deployment in progress",
|
||||
"author": "abc def",
|
||||
"author_email": "abcdef@ghi.com",
|
||||
"start_time" : "2017-08-03T02:00:00Z",
|
||||
"end_time" : "2017-08-03T02:15:00Z",
|
||||
"deployer" : "MS Deploy",
|
||||
"active" : true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot domain Ownership Identifiers - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_domainOwnershipIdentifiers",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "validDomainOwnershipIdentifier",
|
||||
"type": "Microsoft.Web/sites/slots/domainOwnershipIdentifiers",
|
||||
"properties": { "id": "1234" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot HostName bindings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hostNameBindings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/hostNameBindings",
|
||||
"properties": {
|
||||
"siteName": "validSite",
|
||||
"domainId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/domainName1",
|
||||
"azureResourceName": "domainName1",
|
||||
"azureResourceType": "Website",
|
||||
"customHostNameDnsRecordType": "CName",
|
||||
"hostNameType" : "Managed",
|
||||
"sslState" : "SniEnabled"
|
||||
}
|
||||
}
|
||||
},{
|
||||
"name": "Site Slot Hybrid Connections - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridconnection",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/hybridconnection",
|
||||
"properties": {
|
||||
"entityName": "hybridConnectionName",
|
||||
"entityConnectionString": "Connection String",
|
||||
"resourceType": "hybridConnection",
|
||||
"resourceConnectionString": "Resource connection string",
|
||||
"hostname": "validSiteHostName",
|
||||
"port" : 6008,
|
||||
"biztalkUri" : "http://hybridConnection.biz.talkuri"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Hybrid Connection Namespace Relays - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridConnectionNamespaces_relays",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/hybridConnectionNamespaces/relays",
|
||||
"properties": {
|
||||
"serviceBusNamespace": "ServiceBusNamespace",
|
||||
"relayName": "Relay name",
|
||||
"relayArmUri": "http://relayArmUri",
|
||||
"hostname": "validSiteHostName",
|
||||
"port" : 6008
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Instance Deployments - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_instances_deployments",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/instances/deployments",
|
||||
"properties":{
|
||||
"id": "1234",
|
||||
"status": 0,
|
||||
"message": "Deployment in progress",
|
||||
"author": "abc def",
|
||||
"author_email": "abcdef@ghi.com",
|
||||
"start_time" : "2017-08-03T02:00:00Z",
|
||||
"end_time" : "2017-08-03T02:15:00Z",
|
||||
"deployer" : "MS Deploy",
|
||||
"active" : true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Premier Add ons - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_premieraddons",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/premieraddons",
|
||||
"properties":{
|
||||
"sku": "premier addon sku",
|
||||
"product": "Product name",
|
||||
"vendor": "Add on vendor",
|
||||
"marketplacePublisher" : "Publisher name",
|
||||
"marketplaceOffer" : "Offer name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Virtual Connections - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/virtualNetworkConnections",
|
||||
"properties":{
|
||||
"vnetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/virtualNetworkName",
|
||||
"dnsServers": "a.dns.com,b.dns.com.c.dns.com",
|
||||
"certBlob": "SDSD@%#^#$SDSDS"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Virtual Connection Gateways - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections_gateways",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/virtualNetworkConnections/gateways",
|
||||
"properties":{
|
||||
"vnetName": "VnetName1",
|
||||
"vpnPackageUri": "http://vpnPackageUri"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site App Settings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_appsettings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "appsettings",
|
||||
"type": "Microsoft.Web/sites/config",
|
||||
"properties":{
|
||||
"setting1" : "value1",
|
||||
"setting2" : "value2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Connection Strings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_connectionstrings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "connectionstrings",
|
||||
"type": "Microsoft.Web/sites/config",
|
||||
"properties":{
|
||||
"setting1" : {
|
||||
"value" : "ConnectionString1",
|
||||
"type": "Mysql"
|
||||
},
|
||||
"setting2" : {
|
||||
"value" : "ConnectionString2",
|
||||
"type": "EventHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Config - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_config",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "web",
|
||||
"type": "Microsoft.Web/sites/config",
|
||||
"properties":{
|
||||
"phpVersion" : "v5.6",
|
||||
"httpLoggingEnabled": true,
|
||||
"alwaysOn" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot App Settings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_appsettings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "appsettings",
|
||||
"type": "Microsoft.Web/sites/slots/config",
|
||||
"properties":{
|
||||
"setting1" : "value1",
|
||||
"setting2" : "value2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Connection Strings - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_connectionstrings",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "connectionstrings",
|
||||
"type": "Microsoft.Web/sites/slots/config",
|
||||
"properties":{
|
||||
"setting1" : {
|
||||
"value" : "ConnectionString1",
|
||||
"type": "Mysql"
|
||||
},
|
||||
"setting2" : {
|
||||
"value" : "ConnectionString2",
|
||||
"type": "EventHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Config - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_config",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"name": "web",
|
||||
"type": "Microsoft.Web/sites/slots/config",
|
||||
"properties":{
|
||||
"phpVersion" : "v5.6",
|
||||
"httpLoggingEnabled": true,
|
||||
"alwaysOn" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Source Control - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_sourcecontrol",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/sourcecontrols",
|
||||
"properties":{
|
||||
"repoUrl" : "http://www.bitbucket.org",
|
||||
"branch": "master",
|
||||
"isManualIntegration" : false,
|
||||
"deploymentRollbackEnabled" : true,
|
||||
"isMercurial" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Site Slot Source Control - basic",
|
||||
"definition": "http://schema.management.azure.com/schemas/2016-08-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_sourcecontrol",
|
||||
"json": {
|
||||
"apiVersion": "2016-08-01",
|
||||
"type": "Microsoft.Web/sites/slots/sourcecontrols",
|
||||
"properties":{
|
||||
"repoUrl" : "http://www.bitbucket.org",
|
||||
"branch": "master",
|
||||
"isManualIntegration" : false,
|
||||
"deploymentRollbackEnabled" : true,
|
||||
"isMercurial" : false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
{
|
||||
"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
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче