Skip to content

Commit

Permalink
CodeGen from PR 13162 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge fbe9d72c3787faa8f4dd620933ed4c3e2924e65d into bf44a3b7e5817ffc57b205a6d63c283af96d222b
  • Loading branch information
SDKAuto committed Feb 25, 2021
1 parent 6595711 commit 6610216
Show file tree
Hide file tree
Showing 24 changed files with 69,716 additions and 3,125 deletions.
337 changes: 153 additions & 184 deletions schemas/2015-04-01/Microsoft.DomainRegistration.json

Large diffs are not rendered by default.

1,229 changes: 1,229 additions & 0 deletions schemas/2015-08-01-preview/Microsoft.Web.json

Large diffs are not rendered by default.

436 changes: 133 additions & 303 deletions schemas/2015-08-01/Microsoft.CertificateRegistration.json

Large diffs are not rendered by default.

464 changes: 464 additions & 0 deletions schemas/2015-08-01/Microsoft.DomainRegistration.json

Large diffs are not rendered by default.

9,695 changes: 9,314 additions & 381 deletions schemas/2015-08-01/Microsoft.Web.json

Large diffs are not rendered by default.

211 changes: 160 additions & 51 deletions schemas/2016-03-01/Microsoft.Web.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,159 @@
"certificates": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2016-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/CertificateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Certificate resource specific properties"
},
"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.Web/certificates"
]
},
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.Web/certificates"
}
},
"tenant_resourceDefinitions": {
"publishingUsers": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"kind": {
"type": "string",
"description": "Kind of resource."
},
"name": {
"type": "string",
"enum": [
"web"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Certificate_properties"
"$ref": "#/definitions/UserProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
"description": "User resource specific properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Web/publishingUsers"
]
}
},
"required": [
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.Web/certificates"
"description": "Microsoft.Web/publishingUsers"
},
"csrs": {
"sourcecontrols": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Web/csrs"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-03-01"
]
},
"kind": {
"type": "string",
"description": "Kind of resource."
},
"name": {
"type": "string",
"description": "Type of source control"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Csr_properties"
"$ref": "#/definitions/SourceControlProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ARM envelope properties"
"description": "SourceControl resource specific properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Web/sourcecontrols"
]
}
},
"required": [
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.Web/csrs"
"description": "Microsoft.Web/sourcecontrols"
}
},
"definitions": {
"Certificate_properties": {
"CertificateProperties": {
"type": "object",
"properties": {
"hostNames": {
Expand All @@ -91,74 +176,98 @@
],
"description": "Host names the certificate applies to."
},
"keyVaultId": {
"type": "string",
"description": "Key Vault Csm resource Id."
},
"keyVaultSecretName": {
"type": "string",
"description": "Key Vault secret name."
},
"password": {
"type": "string",
"description": "Certificate password."
},
"pfxBlob": {
"oneOf": [
{
"type": "string",
"contentEncoding": "base64"
"pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Pfx blob."
},
"password": {
"serverFarmId": {
"type": "string",
"description": "Certificate password."
"description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"."
}
},
"required": [
"password"
],
"description": "Certificate resource specific properties"
},
"SourceControlProperties": {
"type": "object",
"properties": {
"expirationTime": {
"type": "string",
"format": "date-time",
"description": "OAuth token expiration."
},
"cerBlob": {
"name": {
"type": "string",
"description": "Raw bytes of .cer file"
"description": "Name or source control type."
},
"keyVaultId": {
"refreshToken": {
"type": "string",
"description": "Key Vault Csm resource Id."
"description": "OAuth refresh token."
},
"keyVaultSecretName": {
"token": {
"type": "string",
"description": "Key Vault secret name."
"description": "OAuth access token."
},
"serverFarmId": {
"tokenSecret": {
"type": "string",
"description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"."
"description": "OAuth access token secret."
}
},
"description": "ARM envelope properties"
"description": "SourceControl resource specific properties"
},
"Csr_properties": {
"UserProperties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name used to locate CSR object."
"description": "Username"
},
"distinguishedName": {
"publishingPassword": {
"type": "string",
"description": "Distinguished name of certificate to be created."
"format": "password",
"description": "Password used for publishing."
},
"csrString": {
"publishingPasswordHash": {
"type": "string",
"description": "Actual CSR string created."
"format": "password",
"description": "Password hash used for publishing."
},
"pfxBlob": {
"publishingPasswordHashSalt": {
"type": "string",
"description": "PFX certifcate of created certificate."
"format": "password",
"description": "Password hash salt used for publishing."
},
"password": {
"publishingUserName": {
"type": "string",
"description": "PFX password."
},
"publicKeyHash": {
"type": "string",
"description": "Hash of the certificate's public key."
},
"hostingEnvironment": {
"type": "string",
"description": "App Service Environment."
"description": "Username used for publishing."
}
},
"description": "ARM envelope properties"
"required": [
"publishingUserName"
],
"description": "User resource specific properties"
}
}
}
}
Loading

0 comments on commit 6610216

Please sign in to comment.