-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 17276 in Azure/azure-rest-api-specs
config readme (#17276) * config readme * Update readme.md
- Loading branch information
SDKAuto
committed
Jan 7, 2022
1 parent
810e603
commit 1ce3cba
Showing
5 changed files
with
14,671 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
306 changes: 306 additions & 0 deletions
306
schemas/2021-03-01/Microsoft.CertificateRegistration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2021-03-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": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-03-01" | ||
] | ||
}, | ||
"kind": { | ||
"type": "string", | ||
"description": "Kind of resource." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource Location." | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the certificate order." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AppServiceCertificateOrderProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "AppServiceCertificateOrder resource specific properties" | ||
}, | ||
"resources": { | ||
"type": "array", | ||
"items": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/certificateOrders_certificates_childResource" | ||
} | ||
] | ||
} | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Resource tags." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.CertificateRegistration/certificateOrders" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.CertificateRegistration/certificateOrders" | ||
}, | ||
"certificateOrders_certificates": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-03-01" | ||
] | ||
}, | ||
"kind": { | ||
"type": "string", | ||
"description": "Kind of resource." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource Location." | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the certificate." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AppServiceCertificate" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Key Vault container for a certificate that is purchased through Azure." | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Resource tags." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.CertificateRegistration/certificateOrders/certificates" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates" | ||
} | ||
}, | ||
"definitions": { | ||
"AppServiceCertificate": { | ||
"type": "object", | ||
"properties": { | ||
"keyVaultId": { | ||
"type": "string", | ||
"description": "Key Vault resource Id." | ||
}, | ||
"keyVaultSecretName": { | ||
"type": "string", | ||
"description": "Key Vault secret name." | ||
} | ||
}, | ||
"description": "Key Vault container for a certificate that is purchased through Azure." | ||
}, | ||
"AppServiceCertificateOrderProperties": { | ||
"type": "object", | ||
"properties": { | ||
"autoRenew": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "<code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>." | ||
}, | ||
"certificates": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/AppServiceCertificate" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "State of the Key Vault secret." | ||
}, | ||
"csr": { | ||
"type": "string", | ||
"description": "Last CSR that was created for this order." | ||
}, | ||
"distinguishedName": { | ||
"type": "string", | ||
"description": "Certificate distinguished name." | ||
}, | ||
"keySize": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer", | ||
"default": "2048" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Certificate key size." | ||
}, | ||
"productType": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"StandardDomainValidatedSsl", | ||
"StandardDomainValidatedWildCardSsl" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Certificate product type." | ||
}, | ||
"validityInYears": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer", | ||
"default": "1" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Duration in years (must be 1)." | ||
} | ||
}, | ||
"required": [ | ||
"productType" | ||
], | ||
"description": "AppServiceCertificateOrder resource specific properties" | ||
}, | ||
"certificateOrders_certificates_childResource": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-03-01" | ||
] | ||
}, | ||
"kind": { | ||
"type": "string", | ||
"description": "Kind of resource." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource Location." | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the certificate." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AppServiceCertificate" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Key Vault container for a certificate that is purchased through Azure." | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Resource tags." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"certificates" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.CertificateRegistration/certificateOrders/certificates" | ||
} | ||
} | ||
} |
Oops, something went wrong.