From 785fd670a410a2b830813a1872599c6984b2aa0a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 7 Nov 2022 21:43:38 +0000 Subject: [PATCH] CodeGen from PR 21191 in Azure/azure-rest-api-specs Merge bd1845467b843fef1d9b13362f638070983e2203 into d5ff2c358382dfa75282bf3c13aa00dd92c38d71 --- schemas/2022-11-01/Microsoft.Media.json | 967 +++++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 976 insertions(+) create mode 100644 schemas/2022-11-01/Microsoft.Media.json 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ffcc776fb0..9752310aaf 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -13675,6 +13675,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" },