diff --git a/schemas/2022-11-01/Microsoft.Media.json b/schemas/2022-11-01/Microsoft.Media.json new file mode 100644 index 0000000000..be8535c694 --- /dev/null +++ b/schemas/2022-11-01/Microsoft.Media.json @@ -0,0 +1,967 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Media.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Media", + "description": "Microsoft Media Resource Types", + "resourceDefinitions": { + "mediaservices_liveEvents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-11-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 32 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the live event, maximum length is 32." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The live event properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/mediaservices_liveEvents_liveOutputs_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Media/mediaservices/liveEvents" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Media/mediaservices/liveEvents" + }, + "mediaservices_liveEvents_liveOutputs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the live output." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LiveOutputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The JSON object that contains the properties required to create a live output." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Media/mediaservices/liveEvents/liveOutputs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Media/mediaservices/liveEvents/liveOutputs" + }, + "mediaservices_streamingEndpoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-11-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 24 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the streaming endpoint, maximum length is 24." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StreamingEndpointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The streaming endpoint properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ArmStreamingEndpointCurrentSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The streaming endpoint current sku." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Media/mediaservices/streamingEndpoints" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Media/mediaservices/streamingEndpoints" + } + }, + "definitions": { + "AkamaiAccessControl": { + "type": "object", + "properties": { + "akamaiSignatureHeaderAuthenticationKeyList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AkamaiSignatureHeaderAuthenticationKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "authentication key list" + } + }, + "description": "Akamai access control" + }, + "AkamaiSignatureHeaderAuthenticationKey": { + "type": "object", + "properties": { + "base64Key": { + "type": "string", + "description": "authentication key" + }, + "expiration": { + "type": "string", + "format": "date-time", + "description": "The expiration time of the authentication key." + }, + "identifier": { + "type": "string", + "description": "identifier of the key" + } + }, + "description": "Akamai Signature Header authentication key." + }, + "ArmStreamingEndpointCurrentSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The streaming endpoint sku capacity." + } + }, + "description": "The streaming endpoint current sku." + }, + "CrossSiteAccessPolicies": { + "type": "object", + "properties": { + "clientAccessPolicy": { + "type": "string", + "description": "The content of clientaccesspolicy.xml used by Silverlight." + }, + "crossDomainPolicy": { + "type": "string", + "description": "The content of crossdomain.xml used by Silverlight." + } + }, + "description": "The client access policy." + }, + "Hls": { + "type": "object", + "properties": { + "fragmentsPerTsSegment": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output." + } + }, + "description": "HTTP Live Streaming (HLS) packing setting for the live output." + }, + "IPAccessControl": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPRange" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP allow list." + } + }, + "description": "The IP access control." + }, + "IPRange": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "The IP address." + }, + "name": { + "type": "string", + "description": "The friendly name for the IP address range." + }, + "subnetPrefixLength": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The subnet mask prefix length (see CIDR notation)." + } + }, + "description": "The IP address range in the CIDR scheme." + }, + "LiveEventEncoding": { + "type": "object", + "properties": { + "encodingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Standard", + "Premium1080p", + "PassthroughBasic", + "PassthroughStandard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Live event type. When encodingType is set to PassthroughBasic or PassthroughStandard, the service simply passes through the incoming video and audio layer(s) to the output. When encodingType is set to Standard or Premium1080p, a live encoder transcodes the incoming stream into multiple bitrates or layers. See https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This property cannot be modified after the live event is created." + }, + "keyFrameInterval": { + "type": "string", + "format": "duration", + "description": "Use an ISO 8601 time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use PT2S to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events." + }, + "presetName": { + "type": "string", + "description": "The optional encoding preset name, used when encodingType is not None. This value is specified at creation time and cannot be updated. If the encodingType is set to Standard, then the default preset name is ‘Default720p’. Else if the encodingType is set to Premium1080p, the default preset is ‘Default1080p’." + }, + "stretchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AutoSize", + "AutoFit" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the input video will be resized to fit the desired output resolution(s). Default is None." + } + }, + "description": "Specifies the live event type and optional encoding settings for encoding live events." + }, + "LiveEventEndpoint": { + "type": "object", + "properties": { + "protocol": { + "type": "string", + "description": "The endpoint protocol." + }, + "url": { + "type": "string", + "description": "The endpoint URL." + } + }, + "description": "The live event endpoint." + }, + "LiveEventInput": { + "type": "object", + "properties": { + "accessControl": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventInputAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP access control for live event input." + }, + "accessToken": { + "type": "string", + "description": "A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value." + }, + "endpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The input endpoints for the live event." + }, + "keyFrameIntervalDuration": { + "type": "string", + "description": "ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events." + }, + "streamingProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FragmentedMP4", + "RTMP" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The input protocol for the live event. This is specified at creation time and cannot be updated." + }, + "timedMetadataEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventTimedMetadataEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The metadata endpoints for the live event." + } + }, + "required": [ + "streamingProtocol" + ], + "description": "The live event input." + }, + "LiveEventInputAccessControl": { + "type": "object", + "properties": { + "ip": { + "oneOf": [ + { + "$ref": "#/definitions/IPAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP access control." + } + }, + "description": "The IP access control for live event input." + }, + "LiveEventInputTrackSelection": { + "type": "object", + "properties": { + "operation": { + "type": "string", + "description": "Comparing operation. This property is reserved for future use, any value set on this property will be ignored." + }, + "property": { + "type": "string", + "description": "Property name to select. This property is reserved for future use, any value set on this property will be ignored." + }, + "value": { + "type": "string", + "description": "Property value to select. This property is reserved for future use, any value set on this property will be ignored." + } + }, + "description": "A track selection condition. This property is reserved for future use, any value set on this property will be ignored." + }, + "LiveEventOutputTranscriptionTrack": { + "type": "object", + "properties": { + "trackName": { + "type": "string", + "description": "The output track name. This property is reserved for future use, any value set on this property will be ignored." + } + }, + "required": [ + "trackName" + ], + "description": "Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored." + }, + "LiveEventPreview": { + "type": "object", + "properties": { + "accessControl": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventPreviewAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP access control for the live event preview endpoint." + }, + "alternativeMediaId": { + "type": "string", + "description": "An alternative media identifier associated with the streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field." + }, + "endpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The endpoints for preview. Do not share the preview URL with the live event audience." + }, + "previewLocator": { + "type": "string", + "description": "The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created." + }, + "streamingPolicyName": { + "type": "string", + "description": "The name of streaming policy used for the live event preview. This value is specified at creation time and cannot be updated." + } + }, + "description": "Live event preview settings." + }, + "LiveEventPreviewAccessControl": { + "type": "object", + "properties": { + "ip": { + "oneOf": [ + { + "$ref": "#/definitions/IPAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP access control." + } + }, + "description": "The IP access control for the live event preview endpoint." + }, + "LiveEventProperties": { + "type": "object", + "properties": { + "crossSiteAccessPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/CrossSiteAccessPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The client access policy." + }, + "description": { + "type": "string", + "description": "A description for the live event." + }, + "encoding": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventEncoding" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the live event type and optional encoding settings for encoding live events." + }, + "hostnamePrefix": { + "type": "string", + "description": "When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center." + }, + "input": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The live event input." + }, + "preview": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventPreview" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Live event preview settings." + }, + "streamOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "LowLatency", + "LowLatencyV2" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'." + }, + "transcriptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventTranscription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature." + }, + "useStaticHostname": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state" + } + }, + "required": [ + "input" + ], + "description": "The live event properties." + }, + "LiveEventTimedMetadataEndpoint": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The metadata endpoint URL." + } + }, + "description": "The live event metadata insertion endpoint." + }, + "LiveEventTranscription": { + "type": "object", + "properties": { + "inputTrackSelection": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveEventInputTrackSelection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored." + }, + "language": { + "type": "string", + "description": "Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages." + }, + "outputTranscriptionTrack": { + "oneOf": [ + { + "$ref": "#/definitions/LiveEventOutputTranscriptionTrack" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored." + } + }, + "description": "Describes the transcription tracks in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored." + }, + "LiveOutputProperties": { + "type": "object", + "properties": { + "archiveWindowLength": { + "type": "string", + "format": "duration", + "description": "ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window." + }, + "assetName": { + "type": "string", + "description": "The asset that the live output will write to." + }, + "description": { + "type": "string", + "description": "The description of the live output." + }, + "hls": { + "oneOf": [ + { + "$ref": "#/definitions/Hls" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP Live Streaming (HLS) packing setting for the live output." + }, + "manifestName": { + "type": "string", + "description": "The manifest file name. If not provided, the service will generate one automatically." + }, + "outputSnapTime": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The initial timestamp that the live output will start at, any content before this value will not be archived." + }, + "rewindWindowLength": { + "type": "string", + "format": "duration", + "description": "ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL." + } + }, + "required": [ + "archiveWindowLength", + "assetName" + ], + "description": "The JSON object that contains the properties required to create a live output." + }, + "mediaservices_liveEvents_liveOutputs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the live output." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LiveOutputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The JSON object that contains the properties required to create a live output." + }, + "type": { + "type": "string", + "enum": [ + "liveOutputs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Media/mediaservices/liveEvents/liveOutputs" + }, + "StreamingEndpointAccessControl": { + "type": "object", + "properties": { + "akamai": { + "oneOf": [ + { + "$ref": "#/definitions/AkamaiAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Akamai access control" + }, + "ip": { + "oneOf": [ + { + "$ref": "#/definitions/IPAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP access control." + } + }, + "description": "Streaming endpoint access control definition." + }, + "StreamingEndpointProperties": { + "type": "object", + "properties": { + "accessControl": { + "oneOf": [ + { + "$ref": "#/definitions/StreamingEndpointAccessControl" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Streaming endpoint access control definition." + }, + "availabilitySetName": { + "type": "string", + "description": "This feature is deprecated, do not set a value for this property." + }, + "cdnEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CDN enabled flag." + }, + "cdnProfile": { + "type": "string", + "description": "The CDN profile name." + }, + "cdnProvider": { + "type": "string", + "description": "The CDN provider name." + }, + "crossSiteAccessPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/CrossSiteAccessPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The client access policy." + }, + "customHostNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The custom host names of the streaming endpoint" + }, + "description": { + "type": "string", + "description": "The streaming endpoint description." + }, + "maxCacheAge": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max cache age" + }, + "scaleUnits": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of scale units. Use the Scale operation to adjust this value." + } + }, + "required": [ + "scaleUnits" + ], + "description": "The streaming endpoint properties." + } + } +} \ No newline at end of file diff --git a/schemas/2022-12-01/Microsoft.AppPlatform.json b/schemas/2022-12-01/Microsoft.AppPlatform.json index 5b23a68685..e654579acd 100644 --- a/schemas/2022-12-01/Microsoft.AppPlatform.json +++ b/schemas/2022-12-01/Microsoft.AppPlatform.json @@ -18,7 +18,15 @@ "description": "The GEO location of the resource." }, "name": { - "type": "string", + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The name of the Service resource." }, "properties": { @@ -1251,10 +1259,6 @@ "type": "object", "additionalProperties": { "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, "properties": {} }, "properties": {} @@ -1421,8 +1425,7 @@ { "type": "object", "additionalProperties": { - "type": "object", - "properties": {} + "type": "string" }, "properties": {} }, @@ -2271,10 +2274,6 @@ "type": "object", "additionalProperties": { "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, "properties": {} }, "properties": {} diff --git a/schemas/2023-01-01-preview/Microsoft.AppPlatform.json b/schemas/2023-01-01-preview/Microsoft.AppPlatform.json new file mode 100644 index 0000000000..158c767483 --- /dev/null +++ b/schemas/2023-01-01-preview/Microsoft.AppPlatform.json @@ -0,0 +1,5791 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-01-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": [ + "2023-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The GEO location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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_applicationLiveViews_childResource" + }, + { + "$ref": "#/definitions/Spring_DevToolPortals_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" + }, + { + "$ref": "#/definitions/Spring_applicationAccelerators_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Apps" + }, + "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": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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_applicationAccelerators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the application accelerator." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationAcceleratorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application accelerator properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_applicationAccelerators_customizedAccelerators_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Apps" + }, + "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/applicationAccelerators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationAccelerators" + }, + "Spring_applicationAccelerators_customizedAccelerators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the customized accelerator." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomizedAcceleratorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Customized accelerator properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Apps" + }, + "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/applicationAccelerators/customizedAccelerators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators" + }, + "Spring_applicationLiveViews": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Application Live View." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationLiveViewProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Live View 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/applicationLiveViews" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationLiveViews" + }, + "Spring_apps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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_DevToolPortals": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Dev Tool Portal." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dev Tool Portal 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/DevToolPortals" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/DevToolPortals" + }, + "Spring_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": { + "AcceleratorAuthSetting": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AcceleratorPublicSetting" + }, + { + "$ref": "#/definitions/AcceleratorBasicAuthSetting" + }, + { + "$ref": "#/definitions/AcceleratorSshSetting" + } + ], + "properties": {}, + "description": "Auth setting payload." + }, + "AcceleratorBasicAuthSetting": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "BasicAuth" + ] + }, + "password": { + "type": "string", + "description": "Password of git repository basic auth." + }, + "username": { + "type": "string", + "description": "Username of git repository basic auth." + } + }, + "required": [ + "authType", + "username" + ], + "description": "Auth setting for basic auth." + }, + "AcceleratorGitRepository": { + "type": "object", + "properties": { + "authSetting": { + "oneOf": [ + { + "$ref": "#/definitions/AcceleratorAuthSetting" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auth setting payload." + }, + "branch": { + "type": "string", + "description": "Git repository branch to be used." + }, + "commit": { + "type": "string", + "description": "Git repository commit to be used." + }, + "gitTag": { + "type": "string", + "description": "Git repository tag to be used." + }, + "intervalInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Interval for checking for updates to Git or image repository." + }, + "url": { + "type": "string", + "description": "Git repository URL for the accelerator." + } + }, + "required": [ + "authSetting", + "url" + ] + }, + "AcceleratorPublicSetting": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "Public" + ] + } + }, + "required": [ + "authType" + ], + "description": "Auth setting for public url." + }, + "AcceleratorSshSetting": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "SSH" + ] + }, + "hostKey": { + "type": "string", + "description": "Public SSH Key of git repository." + }, + "hostKeyAlgorithm": { + "type": "string", + "description": "SSH Key algorithm of git repository." + }, + "privateKey": { + "type": "string", + "description": "Private SSH Key algorithm of git repository." + } + }, + "required": [ + "authType" + ], + "description": "Auth setting for SSH auth." + }, + "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", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "public": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$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" + }, + "ApplicationAcceleratorProperties": { + "type": "object", + "properties": {}, + "description": "Application accelerator properties payload" + }, + "ApplicationInsightsAgentVersions": { + "type": "object", + "properties": {}, + "description": "Application Insights agent versions properties payload" + }, + "ApplicationLiveViewProperties": { + "type": "object", + "properties": {}, + "description": "Application Live View properties payload" + }, + "AppResourceProperties": { + "type": "object", + "properties": { + "addonConfigs": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "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." + }, + "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." + }, + "ingressSettings": { + "oneOf": [ + { + "$ref": "#/definitions/IngressSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "App ingress settings payload." + }, + "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" + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Secret" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of auth secrets" + }, + "temporaryDisk": { + "oneOf": [ + { + "$ref": "#/definitions/TemporaryDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Temporary disk payload" + }, + "vnetAddons": { + "oneOf": [ + { + "$ref": "#/definitions/AppVNetAddons" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional App settings in vnet injection instance" + } + }, + "description": "App resource properties payload" + }, + "AppVNetAddons": { + "type": "object", + "properties": { + "publicEndpoint": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the App in vnet injection instance exposes endpoint which could be accessed from internet." + } + }, + "description": "Additional App settings in vnet injection instance" + }, + "AzureFileVolume": { + "type": "object", + "properties": { + "shareName": { + "type": "string", + "description": "The share name of the Azure File share." + }, + "type": { + "type": "string", + "enum": [ + "AzureFileVolume" + ] + } + }, + "required": [ + "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": "string" + }, + "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", + "CACertificates" + ] + }, + { + "$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" + }, + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/BuildResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource request payload of Build Resource." + }, + "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" + }, + "BuildResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "default": "1", + "description": "Optional Cpu allocated to the build resource. 1 core can be represented by 1 or 1000m. \r\nThe default value is 1, this should not exceed build service agent pool cpu size." + }, + "memory": { + "type": "string", + "default": "2Gi", + "description": "Optional Memory allocated to the build resource. 1 GB can be represented by 1Gi or 1024Mi. \r\nThe default value is 2Gi, this should not exceed build service agent pool memory size." + } + }, + "description": "Resource request payload of Build Resource." + }, + "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": { + "infraResourceGroup": { + "type": "string", + "description": "The name of the resource group that contains the infrastructure resources" + }, + "managedEnvironmentId": { + "type": "string", + "description": "The resource Id of the Managed Environment that the Spring Apps instance builds on" + }, + "marketplaceResource": { + "oneOf": [ + { + "$ref": "#/definitions/MarketplaceResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Purchasing 3rd Party product for one Azure Spring Apps instance" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service network profile payload" + }, + "vnetAddons": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceVNetAddons" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional Service settings in vnet injection instance" + }, + "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." + }, + "CustomizedAcceleratorProperties": { + "type": "object", + "properties": { + "acceleratorTags": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "description": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "gitRepository": { + "oneOf": [ + { + "$ref": "#/definitions/AcceleratorGitRepository" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "iconUrl": { + "type": "string" + } + }, + "required": [ + "gitRepository" + ], + "description": "Customized accelerator properties payload" + }, + "CustomPersistentDiskProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureFileVolume" + } + ], + "properties": { + "enableSubPath": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, it will create and mount a dedicated directory for every individual app instance." + }, + "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 Apps Storage resource." + } + }, + "required": [ + "storageId" + ], + "description": "Custom persistent disk resource payload." + }, + "CustomScaleRule": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScaleRuleAuth" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication secrets for the custom scale rule." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata properties to describe custom scale rule." + }, + "type": { + "type": "string", + "description": "Type of the custom scale rule\neg: azure-servicebus, redis etc." + } + }, + "description": "Azure Spring Apps App Instance Custom scaling rule." + }, + "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", + "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" + }, + "livenessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/Probe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic." + }, + "readinessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/Probe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic." + }, + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource request payload" + }, + "scale": { + "oneOf": [ + { + "$ref": "#/definitions/Scale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Spring Apps scaling configurations." + }, + "startupProbe": { + "oneOf": [ + { + "$ref": "#/definitions/Probe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic." + }, + "terminationGracePeriodSeconds": { + "oneOf": [ + { + "type": "integer", + "default": "90" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds." + } + }, + "description": "Deployment settings payload" + }, + "DevToolPortalFeatureDetail": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the plugin." + } + }, + "description": "Detail settings for Dev Tool Portal feature" + }, + "DevToolPortalFeatureSettings": { + "type": "object", + "properties": { + "applicationAccelerator": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalFeatureDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Detail settings for Dev Tool Portal feature" + }, + "applicationLiveView": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalFeatureDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Detail settings for Dev Tool Portal feature" + } + }, + "description": "Settings for Dev Tool Portal" + }, + "DevToolPortalProperties": { + "type": "object", + "properties": { + "features": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalFeatureSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for Dev Tool Portal" + }, + "public": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the resource exposes public endpoint" + }, + "resourceRequests": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource quantity for required CPU and Memory of Dev Tool Portal" + }, + "ssoProperties": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalSsoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Single sign-on related configuration" + } + }, + "description": "Dev Tool Portal properties payload" + }, + "DevToolPortalResourceRequests": { + "type": "object", + "properties": {}, + "description": "The resource quantity for required CPU and Memory of Dev Tool Portal" + }, + "DevToolPortalSsoProperties": { + "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" + }, + "metadataUrl": { + "type": "string", + "description": "The URI of a JSON file with generic OIDC provider configuration." + }, + "scopes": { + "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" + }, + "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." + }, + "ExecAction": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + }, + "type": { + "type": "string", + "enum": [ + "ExecAction" + ] + } + }, + "required": [ + "type" + ], + "description": "ExecAction describes a \"run in container\" action." + }, + "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" + }, + "apmTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ApplicationInsights", + "AppDynamics", + "Dynatrace", + "NewRelic", + "ElasticAPM" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of APM type used in 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" + }, + "environmentVariables": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayPropertiesEnvironmentVariables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Environment variables of Spring Cloud Gateway" + }, + "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." + }, + "public": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$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" + }, + "GatewayPropertiesEnvironmentVariables": { + "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" + }, + "secrets": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sensitive properties" + } + }, + "description": "Environment variables of Spring Cloud Gateway" + }, + "GatewayResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "default": "1", + "description": "Cpu allocated to each Spring Cloud Gateway instance." + }, + "memory": { + "type": "string", + "default": "2Gi", + "description": "Memory allocated to each Spring Cloud Gateway instance." + } + }, + "description": "Resource request payload of Spring Cloud Gateway." + }, + "GatewayRouteConfigOpenApiProperties": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The URI of OpenAPI specification." + } + }, + "description": "OpenAPI properties of Spring Cloud Gateway route config." + }, + "GatewayRouteConfigProperties": { + "type": "object", + "properties": { + "appResourceId": { + "type": "string", + "description": "The resource Id of the Azure Spring Apps app, required unless route defines `uri`." + }, + "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 in app level." + }, + "openApi": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayRouteConfigOpenApiProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenAPI properties of Spring Cloud Gateway route config." + }, + "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 in app level. 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." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protocol of routed Azure Spring Apps applications." + }, + "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`." + }, + "ssoEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable Single Sign-On in app level." + } + }, + "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" + }, + "HTTPGetAction": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "Path to access on the HTTP server." + }, + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - `\"HTTP\"` means that the scheme used will be http://\n - `\"HTTPS\"` means that the scheme used will be https://." + }, + "type": { + "type": "string", + "enum": [ + "HTTPGetAction" + ] + } + }, + "required": [ + "type" + ], + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "HttpScaleRule": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScaleRuleAuth" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication secrets for the custom scale rule." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata properties to describe http scale rule." + } + }, + "description": "Azure Spring Apps App Instance Http scaling rule." + }, + "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" + }, + "IngressConfig": { + "type": "object", + "properties": { + "readTimeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingress read time out in seconds." + } + }, + "description": "Ingress configuration payload for Azure Spring Apps resource." + }, + "IngressSettings": { + "type": "object", + "properties": { + "backendProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GRPC", + "Default" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How ingress should communicate with this app backend service." + }, + "clientAuth": { + "oneOf": [ + { + "$ref": "#/definitions/IngressSettingsClientAuth" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client-Certification Authentication." + }, + "readTimeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingress read time out in seconds." + }, + "sendTimeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingress send time out in seconds." + }, + "sessionAffinity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Cookie", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the affinity, set this to Cookie to enable session affinity." + }, + "sessionCookieMaxAge": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time in seconds until the cookie expires." + } + }, + "description": "App ingress settings payload." + }, + "IngressSettingsClientAuth": { + "type": "object", + "properties": { + "certificates": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of certificate resource id." + } + }, + "description": "Client-Certification Authentication." + }, + "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." + }, + "MarketplaceResource": { + "type": "object", + "properties": { + "plan": { + "type": "string", + "description": "The plan id of the 3rd Party Artifact that is being procured." + }, + "product": { + "type": "string", + "description": "The 3rd Party artifact that is being procured." + }, + "publisher": { + "type": "string", + "description": "The publisher id of the 3rd Party Artifact that is being bought." + } + }, + "description": "Purchasing 3rd Party product for one Azure Spring Apps instance" + }, + "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 for customer apps in Azure Spring Apps" + }, + "appSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps" + }, + "ingressConfig": { + "oneOf": [ + { + "$ref": "#/definitions/IngressConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingress configuration payload for Azure Spring Apps resource." + }, + "outboundType": { + "type": "string", + "description": "The egress traffic type of Azure Spring Apps VNet instances." + }, + "serviceCidr": { + "type": "string", + "description": "Azure Spring Apps service reserved CIDR" + }, + "serviceRuntimeNetworkResourceGroup": { + "type": "string", + "description": "Name of the resource group containing network resources of Azure Spring Apps Service Runtime" + }, + "serviceRuntimeSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host Azure Spring Apps 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" + }, + "Probe": { + "type": "object", + "properties": { + "disableProbe": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate whether the probe is disabled." + }, + "failureThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1." + }, + "initialDelaySeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How often (in seconds) to perform the probe. Minimum value is 1." + }, + "probeAction": { + "oneOf": [ + { + "$ref": "#/definitions/ProbeAction" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action of the probe." + }, + "successThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 for liveness and startup. Minimum value is 1." + }, + "timeoutSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of seconds after which the probe times out. Minimum value is 1." + } + }, + "required": [ + "disableProbe" + ], + "description": "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic." + }, + "ProbeAction": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/HTTPGetAction" + }, + { + "$ref": "#/definitions/ExecAction" + }, + { + "$ref": "#/definitions/TCPSocketAction" + } + ], + "properties": {}, + "description": "The action of the probe." + }, + "QueueScaleRule": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScaleRuleAuth" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication secrets for the queue scale rule." + }, + "queueLength": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Queue length." + }, + "queueName": { + "type": "string", + "description": "Queue name." + } + }, + "description": "Azure Spring Apps App Instance Azure Queue based scaling rule." + }, + "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" + }, + "Scale": { + "type": "object", + "properties": { + "maxReplicas": { + "oneOf": [ + { + "type": "integer", + "default": "10" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Maximum number of container replicas. Defaults to 10 if not set." + }, + "minReplicas": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Minimum number of container replicas." + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScaleRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling rules." + } + }, + "description": "Azure Spring Apps scaling configurations." + }, + "ScaleRule": { + "type": "object", + "properties": { + "azureQueue": { + "oneOf": [ + { + "$ref": "#/definitions/QueueScaleRule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Spring Apps App Instance Azure Queue based scaling rule." + }, + "custom": { + "oneOf": [ + { + "$ref": "#/definitions/CustomScaleRule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Spring Apps App Instance Custom scaling rule." + }, + "http": { + "oneOf": [ + { + "$ref": "#/definitions/HttpScaleRule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Spring Apps App Instance Http scaling rule." + }, + "name": { + "type": "string", + "description": "Scale Rule Name" + }, + "tcp": { + "oneOf": [ + { + "$ref": "#/definitions/TcpScaleRule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Spring Apps App Instance Tcp scaling rule." + } + }, + "description": "Azure Spring Apps App Instance scaling rule." + }, + "ScaleRuleAuth": { + "type": "object", + "properties": { + "secretRef": { + "type": "string", + "description": "Name of the Azure Spring Apps App Instance secret from which to pull the auth params." + }, + "triggerParameter": { + "type": "string", + "description": "Trigger Parameter that uses the secret" + } + }, + "description": "Auth Secrets for Azure Spring Apps App Instance Scale Rule" + }, + "Secret": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Secret Name." + }, + "value": { + "type": "string", + "description": "Secret Value." + } + }, + "description": "Secret definition." + }, + "ServiceVNetAddons": { + "type": "object", + "properties": { + "logStreamPublicEndpoint": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the log stream in vnet injection instance could be accessed from internet." + } + }, + "description": "Additional Service settings in vnet injection instance" + }, + "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 Apps" + }, + "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": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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_applicationAccelerators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the application accelerator." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationAcceleratorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application accelerator properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Apps" + }, + "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": [ + "applicationAccelerators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationAccelerators" + }, + "Spring_applicationAccelerators_customizedAccelerators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the customized accelerator." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomizedAcceleratorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Customized accelerator properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Apps" + }, + "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": [ + "customizedAccelerators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators" + }, + "Spring_applicationLiveViews_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Application Live View." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationLiveViewProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Live View 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": [ + "applicationLiveViews" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/applicationLiveViews" + }, + "Spring_apps_bindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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_DevToolPortals_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Dev Tool Portal." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DevToolPortalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dev Tool Portal 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": [ + "DevToolPortals" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/DevToolPortals" + }, + "Spring_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-01-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 Apps" + }, + "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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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": [ + "2023-01-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." + }, + "TcpScaleRule": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScaleRuleAuth" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication secrets for the tcp scale rule." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata properties to describe tcp scale rule." + } + }, + "description": "Azure Spring Apps App Instance Tcp scaling rule." + }, + "TCPSocketAction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "TCPSocketAction" + ] + } + }, + "required": [ + "type" + ], + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "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 0f654acd09..7e8787d36d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2899,6 +2899,78 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_storages" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apiPortals" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apiPortals_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_applicationAccelerators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_applicationAccelerators_customizedAccelerators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_applicationLiveViews" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_bindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_agentPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builders_buildpackBindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_buildServices_builds" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configurationServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_DevToolPortals" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_gateways_routeConfigs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_monitoringSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_serviceRegistries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_storages" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Attestation.json#/resourceDefinitions/attestationProviders" }, @@ -15094,6 +15166,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.Media.json#/resourceDefinitions/mediaServices_streamingPolicies" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Media.json#/resourceDefinitions/mediaservices_liveEvents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Media.json#/resourceDefinitions/mediaservices_liveEvents_liveOutputs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Media.json#/resourceDefinitions/mediaservices_streamingEndpoints" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects" },