From d9945b3cdeefa68e586a3175c52da917a6dcf730 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 22 Dec 2020 02:05:30 +0000 Subject: [PATCH] CodeGen from PR 11823 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2020-11-01-preview (#11823) * Adds base for updating Microsoft.AppPlatform from version stable/2020-07-01 to version 2020-11-01-preview * Updates readme * Updates API version in new specs and examples * Introduce additional change to 2020-11-01-preview. * Additional properties to monitoringSettings. * Readonly properties to requiredTraffics. Signed-off-by: Pan Li * Make credscan happy. Signed-off-by: Pan Li --- .../Microsoft.AppPlatform.json | 2 +- schemas/2020-07-01/Microsoft.AppPlatform.json | 2 +- .../Microsoft.AppPlatform.json | 1407 +++++++++++++++++ 3 files changed, 1409 insertions(+), 2 deletions(-) create mode 100644 schemas/2020-11-01-preview/Microsoft.AppPlatform.json diff --git a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json index a736963e1a..9546a97992 100644 --- a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json +++ b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json @@ -1226,4 +1226,4 @@ "description": "Source information for a deployment" } } -} \ No newline at end of file +} diff --git a/schemas/2020-07-01/Microsoft.AppPlatform.json b/schemas/2020-07-01/Microsoft.AppPlatform.json index 9eeb103575..1e4e486269 100644 --- a/schemas/2020-07-01/Microsoft.AppPlatform.json +++ b/schemas/2020-07-01/Microsoft.AppPlatform.json @@ -1375,4 +1375,4 @@ "description": "Source information for a deployment" } } -} \ No newline at end of file +} diff --git a/schemas/2020-11-01-preview/Microsoft.AppPlatform.json b/schemas/2020-11-01-preview/Microsoft.AppPlatform.json new file mode 100644 index 0000000000..b7cffe9fa6 --- /dev/null +++ b/schemas/2020-11-01-preview/Microsoft.AppPlatform.json @@ -0,0 +1,1407 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-11-01-preview/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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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": { + "ApplicationInsightsAgentVersions": { + "type": "object", + "properties": {}, + "description": "Application Insights agent versions properties payload" + }, + "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" + }, + "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" + }, + "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" + }, + "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" + }, + "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": { + "appInsightsAgentVersions": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationInsightsAgentVersions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Insights agent versions properties payload" + }, + "appInsightsInstrumentationKey": { + "type": "string", + "description": "Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings" + }, + "appInsightsSamplingRate": { + "oneOf": [ + { + "type": "number", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0]" + }, + "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, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not" + } + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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-11-01-preview" + ] + }, + "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" + }, + "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" + } + } +}