From f8af1b6a8b8d7f6182c765d3564ad531adeea343 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 31 Aug 2020 09:10:07 +0000 Subject: [PATCH] Generated from 4871aaa64a343d77a450b61a4dc43b2d9f1e34bb Merge branch 'master' of github.com:Azure/azure-rest-api-specs --- .../Microsoft.AppPlatform.json | 27 +- schemas/2020-07-01/Microsoft.AppPlatform.json | 1586 +++++++++++++++++ schemas/common/autogeneratedResources.json | 24 + 3 files changed, 1625 insertions(+), 12 deletions(-) create mode 100644 schemas/2020-07-01/Microsoft.AppPlatform.json diff --git a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json index 7d55877ade..e2a5134101 100644 --- a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json +++ b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json @@ -24,7 +24,7 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ClusterResourceProperties" + "$ref": "#/definitions/ClusterResourcePropertiesModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -211,7 +211,7 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/DeploymentResourceProperties" + "$ref": "#/definitions/DeploymentResourcePropertiesModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -424,13 +424,13 @@ ], "description": "Certificate resource payload." }, - "ClusterResourceProperties": { + "ClusterResourcePropertiesModel": { "type": "object", "properties": { "configServerProperties": { "oneOf": [ { - "$ref": "#/definitions/ConfigServerProperties" + "$ref": "#/definitions/ConfigServerPropertiesModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -539,7 +539,7 @@ ], "description": "Property of git." }, - "ConfigServerProperties": { + "ConfigServerPropertiesModel": { "type": "object", "properties": { "configServer": { @@ -598,13 +598,13 @@ }, "description": "Custom domain of app resource payload." }, - "DeploymentResourceProperties": { + "DeploymentResourcePropertiesModel": { "type": "object", "properties": { "deploymentSettings": { "oneOf": [ { - "$ref": "#/definitions/DeploymentSettings" + "$ref": "#/definitions/DeploymentSettingsModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -626,7 +626,7 @@ }, "description": "Deployment resource properties payload" }, - "DeploymentSettings": { + "DeploymentSettingsModel": { "type": "object", "properties": { "cpu": { @@ -806,10 +806,12 @@ "type": "object", "properties": { "principalId": { - "type": "string" + "type": "string", + "description": "Principal Id" }, "tenantId": { - "type": "string" + "type": "string", + "description": "Tenant Id" }, "type": { "oneOf": [ @@ -825,7 +827,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Type of the managed identity." } }, "description": "Managed identity properties retrieved from ARM request headers." @@ -1013,7 +1016,7 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/DeploymentResourceProperties" + "$ref": "#/definitions/DeploymentResourcePropertiesModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2020-07-01/Microsoft.AppPlatform.json b/schemas/2020-07-01/Microsoft.AppPlatform.json new file mode 100644 index 0000000000..3dfa5ddb86 --- /dev/null +++ b/schemas/2020-07-01/Microsoft.AppPlatform.json @@ -0,0 +1,1586 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AppPlatform", + "description": "Microsoft AppPlatform Resource Types", + "resourceDefinitions": { + "Spring": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "location": { + "type": "string", + "description": "The GEO location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the Service resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_configServers_childResource" + }, + { + "$ref": "#/definitions/Spring_monitoringSettings_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_childResource" + }, + { + "$ref": "#/definitions/Spring_certificates_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags of the service which is a list of key value pairs that describe the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring" + }, + "Spring_apps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties retrieved from ARM request headers." + }, + "location": { + "type": "string", + "description": "The GEO location of the application, always the same with its parent resource" + }, + "name": { + "type": "string", + "description": "The name of the App resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "App resource properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_apps_bindings_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_domains_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_deployments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps" + }, + "Spring_apps_bindings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the Binding resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BindingResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/bindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/bindings" + }, + "Spring_apps_deployments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the Deployment resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/deployments" + }, + "Spring_apps_domains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the custom domain resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom domain of app resource payload." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the certificate resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate resource payload." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/certificates" + }, + "Spring_configServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Config server git properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_monitoringSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Setting properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + } + }, + "definitions": { + "AppResourceProperties": { + "type": "object", + "properties": { + "activeDeploymentName": { + "type": "string", + "description": "Name of the active deployment of the App" + }, + "fqdn": { + "type": "string", + "description": "Fully qualified dns Name." + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "persistentDisk": { + "oneOf": [ + { + "$ref": "#/definitions/PersistentDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Persistent disk payload" + }, + "public": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the App exposes public endpoint" + }, + "temporaryDisk": { + "oneOf": [ + { + "$ref": "#/definitions/TemporaryDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Temporary disk payload" + } + }, + "description": "App resource properties payload" + }, + "BindingResourceProperties": { + "type": "object", + "properties": { + "bindingParameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding parameters of the Binding resource" + }, + "key": { + "type": "string", + "description": "The key of the bound resource" + }, + "resourceId": { + "type": "string", + "description": "The Azure resource id of the bound resource" + } + }, + "description": "Binding resource properties payload" + }, + "CertificateProperties": { + "type": "object", + "properties": { + "certVersion": { + "type": "string", + "description": "The certificate version of key vault." + }, + "keyVaultCertName": { + "type": "string", + "description": "The certificate name of key vault." + }, + "vaultUri": { + "type": "string", + "description": "The vault uri of user key vault." + } + }, + "required": [ + "keyVaultCertName", + "vaultUri" + ], + "description": "Certificate resource payload." + }, + "ClusterResourceProperties": { + "type": "object", + "properties": { + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service network profile payload" + } + }, + "description": "Service properties payload" + }, + "ClusterResourcePropertiesModel": { + "type": "object", + "properties": { + "configServerProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerPropertiesModel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Config server git properties payload" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service network profile payload" + }, + "trace": { + "oneOf": [ + { + "$ref": "#/definitions/TraceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Trace properties payload" + } + }, + "description": "Service properties payload" + }, + "ConfigServerGitProperty": { + "type": "object", + "properties": { + "hostKey": { + "type": "string", + "description": "Public sshKey of git repository." + }, + "hostKeyAlgorithm": { + "type": "string", + "description": "SshKey algorithm of git repository." + }, + "label": { + "type": "string", + "description": "Label of the repository" + }, + "password": { + "type": "string", + "description": "Password of git repository basic auth." + }, + "privateKey": { + "type": "string", + "description": "Private sshKey algorithm of git repository." + }, + "repositories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GitPatternRepository" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repositories of git." + }, + "searchPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Searching path of the repository" + }, + "strictHostKeyChecking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Strict host key checking or not." + }, + "uri": { + "type": "string", + "description": "URI of the repository" + }, + "username": { + "type": "string", + "description": "Username of git repository basic auth." + } + }, + "required": [ + "uri" + ], + "description": "Property of git." + }, + "ConfigServerProperties": { + "type": "object", + "properties": { + "configServer": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings of config server." + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + } + }, + "description": "Config server git properties payload" + }, + "ConfigServerPropertiesModel": { + "type": "object", + "properties": { + "configServer": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings of config server." + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + } + }, + "description": "Config server git properties payload" + }, + "ConfigServerSettings": { + "type": "object", + "properties": { + "gitProperty": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerGitProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property of git." + } + }, + "description": "The settings of config server." + }, + "CustomDomainProperties": { + "type": "object", + "properties": { + "certName": { + "type": "string", + "description": "The bound certificate name of domain." + }, + "thumbprint": { + "type": "string", + "description": "The thumbprint of bound certificate." + } + }, + "description": "Custom domain of app resource payload." + }, + "DeploymentResourceProperties": { + "type": "object", + "properties": { + "deploymentSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment settings payload" + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserSourceInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source information for a deployment" + } + }, + "description": "Deployment resource properties payload" + }, + "DeploymentResourcePropertiesModel": { + "type": "object", + "properties": { + "deploymentSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentSettingsModel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment settings payload" + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserSourceInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source information for a deployment" + } + }, + "description": "Deployment resource properties payload" + }, + "DeploymentSettings": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required CPU, basic tier should be 1, standard tier should be in range (1, 4)" + }, + "environmentVariables": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of environment variables" + }, + "jvmOptions": { + "type": "string", + "description": "JVM parameter" + }, + "memoryInGB": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)" + }, + "netCoreMainEntryPath": { + "type": "string", + "description": "The path to the .NET executable relative to zip root" + }, + "runtimeVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Java_8", + "Java_11", + "NetCore_31" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime version." + } + }, + "description": "Deployment settings payload" + }, + "DeploymentSettingsModel": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required CPU, basic tier should be 1, standard tier should be in range (1, 4)" + }, + "environmentVariables": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of environment variables" + }, + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance count, basic tier should be in range (1, 25), standard tier should be in range (1, 500)" + }, + "jvmOptions": { + "type": "string", + "description": "JVM parameter" + }, + "memoryInGB": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)" + }, + "netCoreMainEntryPath": { + "type": "string", + "description": "The path to the .NET executable relative to zip root" + }, + "runtimeVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Java_8", + "Java_11", + "NetCore_31" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime version." + } + }, + "description": "Deployment settings payload" + }, + "Error": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The code of error." + }, + "message": { + "type": "string", + "description": "The message of error." + } + }, + "description": "The error code compose of code and message." + }, + "GitPatternRepository": { + "type": "object", + "properties": { + "hostKey": { + "type": "string", + "description": "Public sshKey of git repository." + }, + "hostKeyAlgorithm": { + "type": "string", + "description": "SshKey algorithm of git repository." + }, + "label": { + "type": "string", + "description": "Label of the repository" + }, + "name": { + "type": "string", + "description": "Name of the repository" + }, + "password": { + "type": "string", + "description": "Password of git repository basic auth." + }, + "pattern": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of pattern of the repository" + }, + "privateKey": { + "type": "string", + "description": "Private sshKey algorithm of git repository." + }, + "searchPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Searching path of the repository" + }, + "strictHostKeyChecking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Strict host key checking or not." + }, + "uri": { + "type": "string", + "description": "URI of the repository" + }, + "username": { + "type": "string", + "description": "Username of git repository basic auth." + } + }, + "required": [ + "name", + "uri" + ], + "description": "Git repository property payload" + }, + "ManagedIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Principal Id" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the managed identity." + } + }, + "description": "Managed identity properties retrieved from ARM request headers." + }, + "MonitoringSettingProperties": { + "type": "object", + "properties": { + "appInsightsInstrumentationKey": { + "type": "string", + "description": "Target application insight instrumentation key" + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + }, + "traceEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether enable the trace functionality" + } + }, + "description": "Monitoring Setting properties payload" + }, + "NetworkProfile": { + "type": "object", + "properties": { + "appNetworkResourceGroup": { + "type": "string", + "description": "Name of the resource group containing network resources of Azure Spring Cloud Apps" + }, + "appSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps" + }, + "serviceCidr": { + "type": "string", + "description": "Azure Spring Cloud service reserved CIDR" + }, + "serviceRuntimeNetworkResourceGroup": { + "type": "string", + "description": "Name of the resource group containing network resources of Azure Spring Cloud Service Runtime" + }, + "serviceRuntimeSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime" + } + }, + "description": "Service network profile payload" + }, + "PersistentDisk": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "Mount path of the persistent disk" + }, + "sizeInGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of the persistent disk in GB" + } + }, + "description": "Persistent disk payload" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Current capacity of the target resource" + }, + "name": { + "type": "string", + "description": "Name of the Sku" + }, + "tier": { + "type": "string", + "description": "Tier of the Sku" + } + }, + "description": "Sku of Azure Spring Cloud" + }, + "Spring_apps_bindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the Binding resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BindingResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "bindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/bindings" + }, + "Spring_apps_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties retrieved from ARM request headers." + }, + "location": { + "type": "string", + "description": "The GEO location of the application, always the same with its parent resource" + }, + "name": { + "type": "string", + "description": "The name of the App resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "App resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "apps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps" + }, + "Spring_apps_deployments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the Deployment resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "type": { + "type": "string", + "enum": [ + "deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/deployments" + }, + "Spring_apps_domains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the custom domain resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom domain of app resource payload." + }, + "type": { + "type": "string", + "enum": [ + "domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the certificate resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate resource payload." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/certificates" + }, + "Spring_configServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Config server git properties payload" + }, + "type": { + "type": "string", + "enum": [ + "configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_monitoringSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Setting properties payload" + }, + "type": { + "type": "string", + "enum": [ + "monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + }, + "TemporaryDisk": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "Mount path of the temporary disk" + }, + "sizeInGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 5 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of the temporary disk in GB" + } + }, + "description": "Temporary disk payload" + }, + "TraceProperties": { + "type": "object", + "properties": { + "appInsightInstrumentationKey": { + "type": "string", + "description": "Target application insight instrumentation key" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether enable the tracing functionality" + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + } + }, + "description": "Trace properties payload" + }, + "UserSourceInfo": { + "type": "object", + "properties": { + "artifactSelector": { + "type": "string", + "description": "Selector for the artifact to be used for the deployment for multi-module projects. This should be\r\nthe relative path to the target module/project." + }, + "relativePath": { + "type": "string", + "description": "Relative path of the storage which stores the source" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Jar", + "NetCoreZip", + "Source" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the source uploaded." + }, + "version": { + "type": "string", + "description": "Version of the source" + } + }, + "description": "Source information for a deployment" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b24fabf5fe..ce6487e848 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -949,6 +949,30 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_certificates" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_bindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_monitoringSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Attestation.json#/resourceDefinitions/attestationProviders" },