303 строки
8.4 KiB
JSON
303 строки
8.4 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.CertificateRegistration.json#",
|
|
"title": "Microsoft.CertificateRegistration",
|
|
"description": "Microsoft CertificateRegistration Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"certificateOrders": {
|
|
"description": "Microsoft.CertificateRegistration/certificateOrders",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of resource.",
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "Resource Location.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the certificate order.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "AppServiceCertificateOrder resource specific properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AppServiceCertificateOrderProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/certificateOrders_certificates_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.CertificateRegistration/certificateOrders"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"certificateOrders_certificates": {
|
|
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of resource.",
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "Resource Location.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the certificate.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Core resource properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AppServiceCertificate"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.CertificateRegistration/certificateOrders/certificates"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AppServiceCertificate": {
|
|
"description": "Key Vault container for a certificate that is purchased through Azure.",
|
|
"properties": {
|
|
"keyVaultId": {
|
|
"description": "Key Vault resource Id.",
|
|
"type": "string"
|
|
},
|
|
"keyVaultSecretName": {
|
|
"description": "Key Vault secret name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AppServiceCertificateOrderProperties": {
|
|
"description": "AppServiceCertificateOrder resource specific properties",
|
|
"properties": {
|
|
"autoRenew": {
|
|
"description": "<code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"certificates": {
|
|
"description": "State of the Key Vault secret.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/AppServiceCertificate"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"csr": {
|
|
"description": "Last CSR that was created for this order.",
|
|
"type": "string"
|
|
},
|
|
"distinguishedName": {
|
|
"description": "Certificate distinguished name.",
|
|
"type": "string"
|
|
},
|
|
"keySize": {
|
|
"description": "Certificate key size.",
|
|
"oneOf": [
|
|
{
|
|
"default": 2048,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"productType": {
|
|
"description": "Certificate product type.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"StandardDomainValidatedSsl",
|
|
"StandardDomainValidatedWildCardSsl"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"validityInYears": {
|
|
"description": "Duration in years (must be 1).",
|
|
"oneOf": [
|
|
{
|
|
"default": 1,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"productType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"certificateOrders_certificates_childResource": {
|
|
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of resource.",
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "Resource Location.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the certificate.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Core resource properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AppServiceCertificate"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"certificates"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |