diff --git a/schemas/2022-03-01-preview/Microsoft.AppPlatform.json b/schemas/2022-03-01-preview/Microsoft.AppPlatform.json new file mode 100644 index 0000000000..e1391eb101 --- /dev/null +++ b/schemas/2022-03-01-preview/Microsoft.AppPlatform.json @@ -0,0 +1,4070 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-03-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": [ + "2022-03-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_configurationServices_childResource" + }, + { + "$ref": "#/definitions/Spring_serviceRegistries_childResource" + }, + { + "$ref": "#/definitions/Spring_monitoringSettings_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_childResource" + }, + { + "$ref": "#/definitions/Spring_storages_childResource" + }, + { + "$ref": "#/definitions/Spring_certificates_childResource" + }, + { + "$ref": "#/definitions/Spring_gateways_childResource" + }, + { + "$ref": "#/definitions/Spring_apiPortals_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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_apiPortals": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of API portal." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiPortalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API portal properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_apiPortals_domains_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apiPortals" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apiPortals" + }, + "Spring_apiPortals_domains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the API portal custom domain." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiPortalCustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of custom domain for API portal" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apiPortals/domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apiPortals/domains" + }, + "Spring_apps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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" + } + ] + } + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_buildServices_agentPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the build service agent pool resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BuildServiceAgentPoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Build service agent pool properties" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/buildServices/agentPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/buildServices/agentPools" + }, + "Spring_buildServices_builders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the builder resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BuilderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KPack Builder properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_buildServices_builders_buildpackBindings_childResource" + } + ] + } + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/buildServices/builders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/buildServices/builders" + }, + "Spring_buildServices_builders_buildpackBindings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Buildpack Binding Name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BuildpackBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a buildpack binding" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/buildServices/builders/buildpackBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/buildServices/builders/buildpackBindings" + }, + "Spring_buildServices_builds": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the build resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BuildProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Build resource properties payload" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/buildServices/builds" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/buildServices/builds" + }, + "Spring_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_configurationServices": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Application Configuration Service." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Configuration Service properties payload" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/configurationServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configurationServices" + }, + "Spring_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Spring Cloud Gateway." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Spring Cloud Gateway properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_gateways_routeConfigs_childResource" + }, + { + "$ref": "#/definitions/Spring_gateways_domains_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways" + }, + "Spring_gateways_domains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Spring Cloud Gateway custom domain." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of custom domain for Spring Cloud Gateway" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/gateways/domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways/domains" + }, + "Spring_gateways_routeConfigs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Spring Cloud Gateway route config." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayRouteConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API route config of the Spring Cloud Gateway" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/gateways/routeConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways/routeConfigs" + }, + "Spring_monitoringSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + }, + "Spring_serviceRegistries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Service Registry." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/serviceRegistries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/serviceRegistries" + }, + "Spring_storages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the storage resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage resource payload." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/storages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/storages" + } + }, + "definitions": { + "ApiPortalCustomDomainProperties": { + "type": "object", + "properties": { + "thumbprint": { + "type": "string", + "description": "The thumbprint of bound certificate." + } + }, + "description": "The properties of custom domain for API portal" + }, + "ApiPortalProperties": { + "type": "object", + "properties": { + "gatewayIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The array of resource Ids of gateway to integrate with API portal." + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "public": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the API portal exposes endpoint." + }, + "sourceUrls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of OpenAPI source URL locations." + }, + "ssoProperties": { + "oneOf": [ + { + "$ref": "#/definitions/SsoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Single sign-on related configuration" + } + }, + "description": "API portal properties payload" + }, + "ApplicationInsightsAgentVersions": { + "type": "object", + "properties": {}, + "description": "Application Insights agent versions properties payload" + }, + "AppResourceProperties": { + "type": "object", + "properties": { + "addonConfigs": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of addons" + }, + "customPersistentDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CustomPersistentDiskResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of persistent disk resources list and a possible link for next page." + }, + "enableEndToEndTLS": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if end to end TLS is enabled." + }, + "fqdn": { + "type": "string", + "description": "Fully qualified dns Name." + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "loadedCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadedCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of loaded certificate resources list and a possible link for next page." + }, + "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" + }, + "AzureFileVolume": { + "type": "object", + "properties": { + "shareName": { + "type": "string", + "description": "The share name of the Azure File share." + }, + "type": { + "type": "string", + "enum": [ + "AzureFileVolume" + ] + } + }, + "required": [ + "shareName", + "type" + ], + "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." + }, + "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" + }, + "BuilderProperties": { + "type": "object", + "properties": { + "buildpackGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BuildpacksGroupProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Builder buildpack groups." + }, + "stack": { + "oneOf": [ + { + "$ref": "#/definitions/StackProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KPack ClusterStack properties payload" + } + }, + "description": "KPack Builder properties payload" + }, + "BuildpackBindingLaunchProperties": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Non-sensitive properties for launchProperties" + }, + "secrets": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sensitive properties for launchProperties" + } + }, + "description": "Buildpack Binding Launch Properties" + }, + "BuildpackBindingProperties": { + "type": "object", + "properties": { + "bindingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ApplicationInsights", + "ApacheSkyWalking", + "AppDynamics", + "Dynatrace", + "NewRelic", + "ElasticAPM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Buildpack Binding Type." + }, + "launchProperties": { + "oneOf": [ + { + "$ref": "#/definitions/BuildpackBindingLaunchProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Buildpack Binding Launch Properties" + } + }, + "description": "Properties of a buildpack binding" + }, + "BuildpackProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Id of the buildpack" + } + }, + "description": "Buildpack properties payload" + }, + "BuildpacksGroupProperties": { + "type": "object", + "properties": { + "buildpacks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BuildpackProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Buildpacks in the buildpack group" + }, + "name": { + "type": "string", + "description": "Buildpack group name" + } + }, + "description": "Buildpack group properties of the Builder" + }, + "BuildProperties": { + "type": "object", + "properties": { + "agentPool": { + "type": "string", + "description": "The resource id of agent pool" + }, + "builder": { + "type": "string", + "description": "The resource id of builder to build the source code" + }, + "env": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables for this build" + }, + "relativePath": { + "type": "string", + "description": "The relative path of source code" + }, + "triggeredBuildResult": { + "oneOf": [ + { + "$ref": "#/definitions/TriggeredBuildResult" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The build result triggered by a build" + } + }, + "description": "Build resource properties payload" + }, + "BuildResultUserSourceInfo": { + "type": "object", + "properties": { + "buildResultId": { + "type": "string", + "description": "Resource id of an existing succeeded build result under the same Spring instance." + }, + "type": { + "type": "string", + "enum": [ + "BuildResult" + ] + } + }, + "required": [ + "type" + ], + "description": "Reference to a build result" + }, + "BuildServiceAgentPoolProperties": { + "type": "object", + "properties": { + "poolSize": { + "oneOf": [ + { + "$ref": "#/definitions/BuildServiceAgentPoolSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Build service agent pool size properties" + } + }, + "description": "Build service agent pool properties" + }, + "BuildServiceAgentPoolSizeProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of build service agent pool size" + } + }, + "description": "Build service agent pool size properties" + }, + "CertificateProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultCertificateProperties" + }, + { + "$ref": "#/definitions/ContentCertificateProperties" + } + ], + "properties": {}, + "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" + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "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." + }, + "ConfigurationServiceGitProperty": { + "type": "object", + "properties": { + "repositories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationServiceGitRepository" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repositories of Application Configuration Service git property." + } + }, + "description": "Property of git environment." + }, + "ConfigurationServiceGitRepository": { + "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." + }, + "patterns": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of patterns 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": [ + "label", + "name", + "patterns", + "uri" + ], + "description": "Git repository property payload for Application Configuration Service" + }, + "ConfigurationServiceProperties": { + "type": "object", + "properties": { + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationServiceResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource request payload of Application Configuration Service" + }, + "settings": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationServiceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings of Application Configuration Service." + } + }, + "description": "Application Configuration Service properties payload" + }, + "ConfigurationServiceResourceRequests": { + "type": "object", + "properties": {}, + "description": "Resource request payload of Application Configuration Service" + }, + "ConfigurationServiceSettings": { + "type": "object", + "properties": { + "gitProperty": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationServiceGitProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property of git environment." + } + }, + "description": "The settings of Application Configuration Service." + }, + "ContainerProbeSettings": { + "type": "object", + "properties": { + "disableProbe": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether disable the liveness and readiness probe" + } + }, + "description": "Container liveness and readiness probe settings" + }, + "ContentCertificateProperties": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "The content of uploaded certificate." + }, + "type": { + "type": "string", + "enum": [ + "ContentCertificate" + ] + } + }, + "required": [ + "type" + ], + "description": "Properties of certificate imported from key vault." + }, + "CustomContainer": { + "type": "object", + "properties": { + "args": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided." + }, + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided." + }, + "containerImage": { + "type": "string", + "description": "Container image of the custom container. This should be in the form of : without the server name of the registry" + }, + "imageRegistryCredential": { + "oneOf": [ + { + "$ref": "#/definitions/ImageRegistryCredential" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credential of the image registry" + }, + "languageFramework": { + "type": "string", + "description": "Language framework of the container image uploaded" + }, + "server": { + "type": "string", + "description": "The name of the registry that contains the container image" + } + }, + "description": "Custom container payload" + }, + "CustomContainerUserSourceInfo": { + "type": "object", + "properties": { + "customContainer": { + "oneOf": [ + { + "$ref": "#/definitions/CustomContainer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom container payload" + }, + "type": { + "type": "string", + "enum": [ + "Container" + ] + } + }, + "required": [ + "type" + ], + "description": "Custom container user source info" + }, + "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." + }, + "CustomPersistentDiskProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureFileVolume" + } + ], + "properties": { + "mountOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "These are the mount options for a persistent disk." + }, + "mountPath": { + "type": "string", + "description": "The mount path of the persistent disk." + }, + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the persistent disk is a readOnly one." + } + }, + "required": [ + "mountPath" + ], + "description": "Custom persistent disk resource payload." + }, + "CustomPersistentDiskResource": { + "type": "object", + "properties": { + "customPersistentDiskProperties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomPersistentDiskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom persistent disk resource payload." + }, + "storageId": { + "type": "string", + "description": "The resource id of Azure Spring Cloud Storage resource." + } + }, + "required": [ + "storageId" + ], + "description": "Custom persistent disk resource payload." + }, + "DeploymentResourceProperties": { + "type": "object", + "properties": { + "active": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the Deployment is active" + }, + "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": { + "addonConfigs": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of addons" + }, + "containerProbeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProbeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container liveness and readiness probe settings" + }, + "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" + }, + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource request payload" + } + }, + "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." + }, + "GatewayApiMetadataProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`)" + }, + "documentation": { + "type": "string", + "description": "Location of additional documentation for the APIs available on the Gateway instance" + }, + "serverUrl": { + "type": "string", + "description": "Base URL that API consumers will use to access APIs on the Gateway instance." + }, + "title": { + "type": "string", + "description": "Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`)" + }, + "version": { + "type": "string", + "description": "Version of APIs available on this Gateway instance (default: `unspecified`)." + } + }, + "description": "API metadata property for Spring Cloud Gateway" + }, + "GatewayApiRoute": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description, will be applied to methods in the generated OpenAPI documentation." + }, + "filters": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To modify the request before sending it to the target endpoint, or the received response." + }, + "order": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Route processing order." + }, + "predicates": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A number of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request." + }, + "ssoEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable sso validation." + }, + "tags": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Classification tags, will be applied to methods in the generated OpenAPI documentation." + }, + "title": { + "type": "string", + "description": "A title, will be applied to methods in the generated OpenAPI documentation." + }, + "tokenRelay": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pass currently-authenticated user's identity token to application service, default is 'false'" + }, + "uri": { + "type": "string", + "description": "Full uri, will override `appName`." + } + }, + "description": "API route config of the Spring Cloud Gateway" + }, + "GatewayCorsProperties": { + "type": "object", + "properties": { + "allowCredentials": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether user credentials are supported on cross-site requests. Valid values: `true`, `false`." + }, + "allowedHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed headers in cross-site requests. The special value `*` allows actual requests to send any header." + }, + "allowedMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed HTTP methods on cross-site requests. The special value `*` allows all methods. If not set, `GET` and `HEAD` are allowed by default." + }, + "allowedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed origins to make cross-site requests. The special value `*` allows all domains." + }, + "exposedHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP response headers to expose for cross-site requests." + }, + "maxAge": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How long, in seconds, the response from a pre-flight request can be cached by clients." + } + }, + "description": "Cross-Origin Resource Sharing property" + }, + "GatewayCustomDomainProperties": { + "type": "object", + "properties": { + "thumbprint": { + "type": "string", + "description": "The thumbprint of bound certificate." + } + }, + "description": "The properties of custom domain for Spring Cloud Gateway" + }, + "GatewayProperties": { + "type": "object", + "properties": { + "apiMetadataProperties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayApiMetadataProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API metadata property for Spring Cloud Gateway" + }, + "corsProperties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCorsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cross-Origin Resource Sharing property" + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "public": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the Spring Cloud Gateway exposes endpoint." + }, + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource request payload of Spring Cloud Gateway." + }, + "ssoProperties": { + "oneOf": [ + { + "$ref": "#/definitions/SsoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Single sign-on related configuration" + } + }, + "description": "Spring Cloud Gateway properties payload" + }, + "GatewayResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "description": "Cpu allocated to each Spring Cloud Gateway instance." + }, + "memory": { + "type": "string", + "description": "Memory allocated to each Spring Cloud Gateway instance." + } + }, + "description": "Resource request payload of Spring Cloud Gateway." + }, + "GatewayRouteConfigProperties": { + "type": "object", + "properties": { + "appResourceId": { + "type": "string", + "description": "The resource Id of the Azure Spring Cloud app, required unless route defines `uri`." + }, + "routes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GatewayApiRoute" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`." + } + }, + "description": "API route config of the Spring Cloud Gateway" + }, + "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 for config server" + }, + "ImageRegistryCredential": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password of the image registry credential" + }, + "username": { + "type": "string", + "description": "The username of the image registry credential" + } + }, + "description": "Credential of the image registry" + }, + "JarUploadedUserSourceInfo": { + "type": "object", + "properties": { + "jvmOptions": { + "type": "string", + "description": "JVM parameter" + }, + "runtimeVersion": { + "type": "string", + "description": "Runtime version of the Jar file" + }, + "type": { + "type": "string", + "enum": [ + "Jar" + ] + } + }, + "required": [ + "type" + ], + "description": "Uploaded Jar binary for a deployment" + }, + "KeyVaultCertificateProperties": { + "type": "object", + "properties": { + "certVersion": { + "type": "string", + "description": "The certificate version of key vault." + }, + "excludePrivateKey": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. If set to true, it will not import private key from key vault." + }, + "keyVaultCertName": { + "type": "string", + "description": "The certificate name of key vault." + }, + "type": { + "type": "string", + "enum": [ + "KeyVaultCertificate" + ] + }, + "vaultUri": { + "type": "string", + "description": "The vault uri of user key vault." + } + }, + "required": [ + "keyVaultCertName", + "type", + "vaultUri" + ], + "description": "Properties of certificate imported from key vault." + }, + "LoadedCertificate": { + "type": "object", + "properties": { + "loadTrustStore": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate whether the certificate will be loaded into default trust store, only work for Java runtime." + }, + "resourceId": { + "type": "string", + "description": "Resource Id of loaded certificate" + } + }, + "required": [ + "resourceId" + ], + "description": "Loaded certificate payload" + }, + "ManagedIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Principal Id of system-assigned managed identity." + }, + "tenantId": { + "type": "string", + "description": "Tenant Id of system-assigned managed identity." + }, + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedManagedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User-assigned managed identities in key-value map. The key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "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" + }, + "NetCoreZipUploadedUserSourceInfo": { + "type": "object", + "properties": { + "netCoreMainEntryPath": { + "type": "string", + "description": "The path to the .NET executable relative to zip root" + }, + "runtimeVersion": { + "type": "string", + "description": "Runtime version of the .Net file" + }, + "type": { + "type": "string", + "enum": [ + "NetCoreZip" + ] + } + }, + "required": [ + "type" + ], + "description": "Uploaded Jar binary for a deployment" + }, + "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" + }, + "ResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "description": "Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier." + }, + "memory": { + "type": "string", + "description": "Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier." + } + }, + "description": "Deployment resource request 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", + "default": "S0", + "description": "Name of the Sku" + }, + "tier": { + "type": "string", + "default": "Standard", + "description": "Tier of the Sku" + } + }, + "description": "Sku of Azure Spring Cloud" + }, + "SourceUploadedUserSourceInfo": { + "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." + }, + "runtimeVersion": { + "type": "string", + "description": "Runtime version of the source file" + }, + "type": { + "type": "string", + "enum": [ + "Source" + ] + } + }, + "required": [ + "type" + ], + "description": "Uploaded Java source code binary for a deployment" + }, + "Spring_apiPortals_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of API portal." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiPortalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API portal 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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "apiPortals" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apiPortals" + }, + "Spring_apiPortals_domains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the API portal custom domain." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiPortalCustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of custom domain for API portal" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apiPortals/domains" + }, + "Spring_apps_bindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_buildServices_builders_buildpackBindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Buildpack Binding Name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BuildpackBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a buildpack binding" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "buildpackBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/buildServices/builders/buildpackBindings" + }, + "Spring_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_configurationServices_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Application Configuration Service." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Configuration Service properties payload" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "configurationServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configurationServices" + }, + "Spring_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Spring Cloud Gateway." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Spring Cloud Gateway 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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways" + }, + "Spring_gateways_domains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Spring Cloud Gateway custom domain." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of custom domain for Spring Cloud Gateway" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways/domains" + }, + "Spring_gateways_routeConfigs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Spring Cloud Gateway route config." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayRouteConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API route config of the Spring Cloud Gateway" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "routeConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/gateways/routeConfigs" + }, + "Spring_monitoringSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-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" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + }, + "Spring_serviceRegistries_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Service Registry." + }, + "type": { + "type": "string", + "enum": [ + "serviceRegistries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/serviceRegistries" + }, + "Spring_storages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the storage resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage resource payload." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "storages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/storages" + }, + "SsoProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The public identifier for the application" + }, + "clientSecret": { + "type": "string", + "description": "The secret known only to the application and the authorization server" + }, + "issuerUri": { + "type": "string", + "description": "The URI of Issuer Identifier" + }, + "scope": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It defines the specific actions applications can be allowed to do on a user's behalf" + } + }, + "description": "Single sign-on related configuration" + }, + "StackProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Id of the ClusterStack." + }, + "version": { + "type": "string", + "description": "Version of the ClusterStack" + } + }, + "description": "KPack ClusterStack properties payload" + }, + "StorageAccount": { + "type": "object", + "properties": { + "accountKey": { + "type": "string", + "description": "The account key of the Azure Storage Account." + }, + "accountName": { + "type": "string", + "description": "The account name of the Azure Storage Account." + }, + "storageType": { + "type": "string", + "enum": [ + "StorageAccount" + ] + } + }, + "required": [ + "accountKey", + "accountName", + "storageType" + ], + "description": "storage resource of type Azure Storage Account." + }, + "StorageProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/StorageAccount" + } + ], + "properties": {}, + "description": "Storage resource payload." + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource modification (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "TemporaryDisk": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "default": "/tmp", + "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" + }, + "TriggeredBuildResult": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique build id of this build result" + } + }, + "description": "The build result triggered by a build" + }, + "UploadedUserSourceInfo": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/JarUploadedUserSourceInfo" + }, + { + "$ref": "#/definitions/SourceUploadedUserSourceInfo" + }, + { + "$ref": "#/definitions/NetCoreZipUploadedUserSourceInfo" + } + ], + "properties": { + "relativePath": { + "type": "string", + "description": "Relative path of the storage which stores the source" + }, + "type": { + "type": "string", + "enum": [ + "UploadedUserSourceInfo" + ] + } + }, + "required": [ + "type" + ], + "description": "Source with uploaded location" + }, + "UserAssignedManagedIdentity": { + "type": "object", + "properties": {}, + "description": "The details of the user-assigned managed identity assigned to an App." + }, + "UserSourceInfo": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/UploadedUserSourceInfo" + }, + { + "$ref": "#/definitions/BuildResultUserSourceInfo" + }, + { + "$ref": "#/definitions/CustomContainerUserSourceInfo" + } + ], + "properties": { + "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 40679c3ba0..53cfcb0203 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1906,6 +1906,66 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_storages" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apiPortals" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apiPortals_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_bindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_agentPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builders_buildpackBindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builds" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configurationServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways_routeConfigs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_monitoringSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_serviceRegistries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_storages" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Attestation.json#/resourceDefinitions/attestationProviders" },