diff --git a/packages/@azure/arm-mediaservices/lib/models/accountFiltersMappers.ts b/packages/@azure/arm-mediaservices/lib/models/accountFiltersMappers.ts index 6dbe0ae0f69e..204bf83f1236 100644 --- a/packages/@azure/arm-mediaservices/lib/models/accountFiltersMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/accountFiltersMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, AccountFilterCollection, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + AccountFilter, + ProxyResource, + Resource, + BaseResource, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, ApiError, + ODataError, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/assetFiltersMappers.ts b/packages/@azure/arm-mediaservices/lib/models/assetFiltersMappers.ts index cf252d94da64..8992269acc03 100644 --- a/packages/@azure/arm-mediaservices/lib/models/assetFiltersMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/assetFiltersMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, - ApiError, - Asset, - AssetFilter, AssetFilterCollection, - Audio, - AudioAnalyzerPreset, - AudioOverlay, + AssetFilter, + ProxyResource, + Resource, BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + ApiError, + ODataError, + AccountFilter, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, + Asset, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/assetsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/assetsMappers.ts index 0666212b559c..d39753360c38 100644 --- a/packages/@azure/arm-mediaservices/lib/models/assetsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/assetsMappers.ts @@ -1,138 +1,141 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, - ApiError, - Asset, AssetCollection, + Asset, + ProxyResource, + Resource, + BaseResource, + ApiError, + ODataError, + ListContainerSasInput, AssetContainerSas, + StorageEncryptedAssetDecryptionData, AssetFileEncryptionMetadata, - AssetFilter, + ListStreamingLocatorsResponse, AssetStreamingLocator, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, + AssetFilter, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - ListContainerSasInput, - ListStreamingLocatorsResponse, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StorageEncryptedAssetDecryptionData, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/contentKeyPoliciesMappers.ts b/packages/@azure/arm-mediaservices/lib/models/contentKeyPoliciesMappers.ts index 91bac7b94fbb..08dff697422d 100644 --- a/packages/@azure/arm-mediaservices/lib/models/contentKeyPoliciesMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/contentKeyPoliciesMappers.ts @@ -1,133 +1,136 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyCollection, + ContentKeyPolicy, + ProxyResource, + Resource, + BaseResource, + ContentKeyPolicyOption, + ContentKeyPolicyConfiguration, + ContentKeyPolicyRestriction, ApiError, + ODataError, + ContentKeyPolicyProperties, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, - ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyCollection, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, ContentKeyPolicyOpenRestriction, - ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, - ContentKeyPolicyProperties, - ContentKeyPolicyRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, - FaceDetectorPreset, - Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, - Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, + Transform, + TransformOutput, + Preset, Job, - JobError, - JobErrorDetail, JobInput, - JobInputAsset, - JobInputClip, - JobInputHttp, - JobInputs, JobOutput, - JobOutputAsset, - JpgFormat, - JpgImage, - JpgLayer, - Layer, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, LiveEventInput, LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, LiveEventPreview, LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, - MultiBitrateFormat, - NoEncryption, - ODataError, - OutputFile, - Overlay, - PngFormat, - PngImage, - PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, + LiveEventEncoding, + CrossSiteAccessPolicies, StreamingEndpoint, StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, + Filters, + Deinterlace, + Rectangle, + Overlay, + Codec, + Format, VideoAnalyzerPreset, + VideoOverlay, + JobInputClip, + JobInputs, + JobInputAsset, + JobInputHttp, + JobOutputAsset, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, + JpgFormat, + PngFormat, + CopyAudio, + H264Video, + H264Layer, VideoLayer, - VideoOverlay + Layer, + JpgLayer, + JpgImage, + MultiBitrateFormat, + OutputFile, + Mp4Format, + PngLayer, + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/index.ts b/packages/@azure/arm-mediaservices/lib/models/index.ts index fe11944c0e48..99dbe38c3785 100644 --- a/packages/@azure/arm-mediaservices/lib/models/index.ts +++ b/packages/@azure/arm-mediaservices/lib/models/index.ts @@ -1,9 +1,11 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -11,582 +13,752 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; + /** - * The presentation time range, this is asset related and not recommended for Account Filter. + * @interface + * An interface representing PresentationTimeRange. + * The presentation time range, this is asset related and not recommended for + * Account Filter. + * */ export interface PresentationTimeRange { /** - * The absolute start time boundary. + * @member {number} [startTimestamp] The absolute start time boundary. */ startTimestamp?: number; /** - * The absolute end time boundary. + * @member {number} [endTimestamp] The absolute end time boundary. */ endTimestamp?: number; /** - * The relative to end sliding window. + * @member {number} [presentationWindowDuration] The relative to end sliding + * window. */ presentationWindowDuration?: number; /** - * The relative to end right edge. + * @member {number} [liveBackoffDuration] The relative to end right edge. */ liveBackoffDuration?: number; /** - * The time scale of time stamps. + * @member {number} [timescale] The time scale of time stamps. */ timescale?: number; /** - * The indicator of forcing exsiting of end time stamp. + * @member {boolean} [forceEndTimestamp] The indicator of forcing exsiting of + * end time stamp. */ forceEndTimestamp?: boolean; } /** + * @interface + * An interface representing FilterTrackPropertyCondition. * The class to specify one track property condition. + * */ export interface FilterTrackPropertyCondition { /** - * The track property type. Possible values include: 'Unknown', 'Type', 'Name', 'Language', - * 'FourCC', 'Bitrate' + * @member {FilterTrackPropertyType} property The track property type. + * Possible values include: 'Unknown', 'Type', 'Name', 'Language', 'FourCC', + * 'Bitrate' */ property: FilterTrackPropertyType; /** - * The track proprty value. + * @member {string} value The track proprty value. */ value: string; /** - * The track property condition operation. Possible values include: 'Equal', 'NotEqual' + * @member {FilterTrackPropertyCompareOperation} operation The track property + * condition operation. Possible values include: 'Equal', 'NotEqual' */ operation: FilterTrackPropertyCompareOperation; } /** + * @interface + * An interface representing FirstQuality. * Filter First Quality + * */ export interface FirstQuality { /** - * The first quality bitrate. + * @member {number} bitrate The first quality bitrate. */ bitrate: number; } /** - * Representing a list of FilterTrackPropertyConditions to select a track. The filters are - * combined using a logical AND operation. + * @interface + * An interface representing FilterTrackSelection. + * Representing a list of FilterTrackPropertyConditions to select a track. The + * filters are combined using a logical AND operation. + * */ export interface FilterTrackSelection { /** - * The track selections. + * @member {FilterTrackPropertyCondition[]} trackSelections The track + * selections. */ trackSelections: FilterTrackPropertyCondition[]; } /** + * @interface + * An interface representing Resource. * The core properties of ARM resources. + * + * @extends BaseResource */ export interface Resource extends BaseResource { /** - * Fully qualified resource ID for the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] Fully qualified resource ID for the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; } /** + * @interface + * An interface representing ProxyResource. * The resource model definition for a ARM proxy resource. + * + * @extends Resource */ export interface ProxyResource extends Resource { } /** + * @interface + * An interface representing AccountFilter. * An Account Filter. + * + * @extends ProxyResource */ export interface AccountFilter extends ProxyResource { /** - * The presentation time range. + * @member {PresentationTimeRange} [presentationTimeRange] The presentation + * time range. */ presentationTimeRange?: PresentationTimeRange; /** - * The first quality. + * @member {FirstQuality} [firstQuality] The first quality. */ firstQuality?: FirstQuality; /** - * The tracks selection conditions. + * @member {FilterTrackSelection[]} [tracks] The tracks selection conditions. */ tracks?: FilterTrackSelection[]; } /** + * @interface + * An interface representing ODataError. * Information about an error. + * */ export interface ODataError { /** - * A language-independent error name. + * @member {string} [code] A language-independent error name. */ code?: string; /** - * The error message. + * @member {string} [message] The error message. */ message?: string; /** - * The target of the error (for example, the name of the property in error). + * @member {string} [target] The target of the error (for example, the name + * of the property in error). */ target?: string; /** - * The error details. + * @member {ODataError[]} [details] The error details. */ details?: ODataError[]; } /** + * @interface + * An interface representing ApiError. * The API error. + * */ export interface ApiError { /** - * ApiError. The error properties. + * @member {ODataError} [error] ApiError. The error properties. */ error?: ODataError; } /** + * @interface + * An interface representing TrackedResource. * The resource model definition for a ARM tracked resource. + * + * @extends Resource */ export interface TrackedResource extends Resource { /** - * Resource tags. + * @member {{ [propertyName: string]: string }} [tags] Resource tags. */ tags?: { [propertyName: string]: string }; /** - * The Azure Region of the resource. + * @member {string} [location] The Azure Region of the resource. */ location?: string; } /** + * @interface + * An interface representing Provider. * A resource provider. + * */ export interface Provider { /** - * The provider name. + * @member {string} providerName The provider name. */ providerName: string; } /** + * @interface + * An interface representing OperationDisplay. * Operation details. + * */ export interface OperationDisplay { /** - * The service provider. + * @member {string} [provider] The service provider. */ provider?: string; /** - * Resource on which the operation is performed. + * @member {string} [resource] Resource on which the operation is performed. */ resource?: string; /** - * The operation type. + * @member {string} [operation] The operation type. */ operation?: string; /** - * The operation description. + * @member {string} [description] The operation description. */ description?: string; } /** + * @interface + * An interface representing MetricDimension. * A metric dimension. + * */ export interface MetricDimension { /** - * The metric dimension name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] The metric dimension name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * The display name for the dimension. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [displayName] The display name for the dimension. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly displayName?: string; /** - * Whether to export metric to shoebox. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [toBeExportedForShoebox] Whether to export metric to + * shoebox. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly toBeExportedForShoebox?: boolean; } /** + * @interface + * An interface representing Metric. * A metric emitted by service. + * */ export interface Metric { /** - * The metric name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] The metric name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * The metric display name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [displayName] The metric display name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly displayName?: string; /** - * The metric display description. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [displayDescription] The metric display description. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly displayDescription?: string; /** - * The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {MetricUnit} [unit] The metric unit. Possible values include: + * 'Bytes', 'Count', 'Milliseconds' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly unit?: MetricUnit; /** - * The metric aggregation type. Possible values include: 'Average', 'Count', 'Total' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {MetricAggregationType} [aggregationType] The metric aggregation + * type. Possible values include: 'Average', 'Count', 'Total' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly aggregationType?: MetricAggregationType; /** - * The metric dimensions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {MetricDimension[]} [dimensions] The metric dimensions. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly dimensions?: MetricDimension[]; } /** + * @interface + * An interface representing ServiceSpecification. * The service metric specifications. + * */ export interface ServiceSpecification { /** - * List of metric specifications. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Metric[]} [metricSpecifications] List of metric specifications. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly metricSpecifications?: Metric[]; } /** + * @interface + * An interface representing MetricProperties. * Metric properties. + * */ export interface MetricProperties { /** - * The service specifications. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ServiceSpecification} [serviceSpecification] The service + * specifications. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly serviceSpecification?: ServiceSpecification; } /** + * @interface + * An interface representing Operation. * An operation. + * */ export interface Operation { /** - * The operation name. + * @member {string} name The operation name. */ name: string; /** - * The operation display name. + * @member {OperationDisplay} [display] The operation display name. */ display?: OperationDisplay; /** - * Origin of the operation. + * @member {string} [origin] Origin of the operation. */ origin?: string; /** - * Operation properties format. + * @member {MetricProperties} [properties] Operation properties format. */ properties?: MetricProperties; } /** + * @interface * An interface representing Location. */ export interface Location { + /** + * @member {string} name + */ name: string; } /** + * @interface + * An interface representing EntityNameAvailabilityCheckOutput. * The response from the check name availability request. + * */ export interface EntityNameAvailabilityCheckOutput { /** - * Specifies if the name is available. + * @member {boolean} nameAvailable Specifies if the name is available. */ nameAvailable: boolean; /** - * Specifies the reason if the name is not available. + * @member {string} [reason] Specifies the reason if the name is not + * available. */ reason?: string; /** - * Specifies the detailed reason if the name is not available. + * @member {string} [message] Specifies the detailed reason if the name is + * not available. */ message?: string; } /** + * @interface + * An interface representing StorageAccount. * The storage account details. + * */ export interface StorageAccount { /** - * The ID of the storage account resource. Media Services relies on tables and queues as well as - * blobs, so the primary storage account must be a Standard Storage account (either - * Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as - * secondary storage accounts. + * @member {string} [id] The ID of the storage account resource. Media + * Services relies on tables and queues as well as blobs, so the primary + * storage account must be a Standard Storage account (either + * Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts + * can be added as secondary storage accounts. */ id?: string; /** - * The type of the storage account. Possible values include: 'Primary', 'Secondary' + * @member {StorageAccountType} type The type of the storage account. + * Possible values include: 'Primary', 'Secondary' */ type: StorageAccountType; } /** + * @interface + * An interface representing SyncStorageKeysInput. * The input to the sync storage keys request. + * */ export interface SyncStorageKeysInput { /** - * The ID of the storage account resource. + * @member {string} [id] The ID of the storage account resource. */ id?: string; } /** + * @interface + * An interface representing MediaService. * A Media Services account. + * + * @extends TrackedResource */ export interface MediaService extends TrackedResource { /** - * The Media Services account ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [mediaServiceId] The Media Services account ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly mediaServiceId?: string; /** - * The storage accounts for this resource. + * @member {StorageAccount[]} [storageAccounts] The storage accounts for this + * resource. */ storageAccounts?: StorageAccount[]; } /** + * @interface + * An interface representing SubscriptionMediaService. * A Media Services account. + * + * @extends TrackedResource */ export interface SubscriptionMediaService extends TrackedResource { /** - * The Media Services account ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [mediaServiceId] The Media Services account ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly mediaServiceId?: string; /** - * The storage accounts for this resource. + * @member {StorageAccount[]} [storageAccounts] The storage accounts for this + * resource. */ storageAccounts?: StorageAccount[]; } /** + * @interface + * An interface representing CheckNameAvailabilityInput. * The input to the check name availability request. + * */ export interface CheckNameAvailabilityInput { /** - * The account name. + * @member {string} [name] The account name. */ name?: string; /** - * The account type. For a Media Services account, this should be 'MediaServices'. + * @member {string} [type] The account type. For a Media Services account, + * this should be 'MediaServices'. */ type?: string; } /** + * @interface + * An interface representing AssetContainerSas. * The Asset Storage container SAS URLs. + * */ export interface AssetContainerSas { /** - * The list of Asset container SAS URLs. + * @member {string[]} [assetContainerSasUrls] The list of Asset container SAS + * URLs. */ assetContainerSasUrls?: string[]; } /** + * @interface + * An interface representing AssetFileEncryptionMetadata. * The Asset File Storage encryption metadata. + * */ export interface AssetFileEncryptionMetadata { /** - * The Asset File initialization vector. + * @member {string} [initializationVector] The Asset File initialization + * vector. */ initializationVector?: string; /** - * The Asset File name. + * @member {string} [assetFileName] The Asset File name. */ assetFileName?: string; /** - * The Asset File Id. + * @member {string} assetFileId The Asset File Id. */ assetFileId: string; } /** + * @interface + * An interface representing StorageEncryptedAssetDecryptionData. * Data needed to decrypt asset files encrypted with legacy storage encryption. + * */ export interface StorageEncryptedAssetDecryptionData { /** - * The Asset File storage encryption key. + * @member {Uint8Array} [key] The Asset File storage encryption key. */ key?: Uint8Array; /** + * @member {AssetFileEncryptionMetadata[]} [assetFileEncryptionMetadata] * Asset File encryption metadata. */ assetFileEncryptionMetadata?: AssetFileEncryptionMetadata[]; } /** + * @interface + * An interface representing AssetStreamingLocator. * Properties of the Streaming Locator. + * */ export interface AssetStreamingLocator { /** - * Streaming Locator name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Streaming Locator name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Asset Name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [assetName] Asset Name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly assetName?: string; /** - * The creation time of the Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The creation time of the Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The start time of the Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [startTime] The start time of the Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly startTime?: Date; /** - * The end time of the Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [endTime] The end time of the Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly endTime?: Date; /** - * StreamingLocatorId of the Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [streamingLocatorId] StreamingLocatorId of the Streaming + * Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly streamingLocatorId?: string; /** - * Name of the Streaming Policy used by this Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [streamingPolicyName] Name of the Streaming Policy used + * by this Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly streamingPolicyName?: string; /** - * Name of the default ContentKeyPolicy used by this Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [defaultContentKeyPolicyName] Name of the default + * ContentKeyPolicy used by this Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly defaultContentKeyPolicyName?: string; } /** + * @interface + * An interface representing ListStreamingLocatorsResponse. * The Streaming Locators associated with this Asset. + * */ export interface ListStreamingLocatorsResponse { /** - * The list of Streaming Locators. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {AssetStreamingLocator[]} [streamingLocators] The list of + * Streaming Locators. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly streamingLocators?: AssetStreamingLocator[]; } /** + * @interface + * An interface representing Asset. * An Asset. + * + * @extends ProxyResource */ export interface Asset extends ProxyResource { /** - * The Asset ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [assetId] The Asset ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly assetId?: string; /** - * The creation date of the Asset. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The creation date of the Asset. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The last modified date of the Asset. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The last modified date of the Asset. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * The alternate ID of the Asset. + * @member {string} [alternateId] The alternate ID of the Asset. */ alternateId?: string; /** - * The Asset description. + * @member {string} [description] The Asset description. */ description?: string; /** - * The name of the asset blob container. + * @member {string} [container] The name of the asset blob container. */ container?: string; /** - * The name of the storage account. + * @member {string} [storageAccountName] The name of the storage account. */ storageAccountName?: string; /** - * The Asset encryption format. One of None or MediaStorageEncryption. Possible values include: - * 'None', 'MediaStorageClientEncryption' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {AssetStorageEncryptionFormat} [storageEncryptionFormat] The Asset + * encryption format. One of None or MediaStorageEncryption. Possible values + * include: 'None', 'MediaStorageClientEncryption' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly storageEncryptionFormat?: AssetStorageEncryptionFormat; } /** + * @interface + * An interface representing AssetFilter. * An Asset Filter. + * + * @extends ProxyResource */ export interface AssetFilter extends ProxyResource { /** - * The presentation time range. + * @member {PresentationTimeRange} [presentationTimeRange] The presentation + * time range. */ presentationTimeRange?: PresentationTimeRange; /** - * The first quality. + * @member {FirstQuality} [firstQuality] The first quality. */ firstQuality?: FirstQuality; /** - * The tracks selection conditions. + * @member {FilterTrackSelection[]} [tracks] The tracks selection conditions. */ tracks?: FilterTrackSelection[]; } /** + * @interface + * An interface representing ListContainerSasInput. * The parameters to the list SAS request. + * */ export interface ListContainerSasInput { /** - * The permissions to set on the SAS URL. Possible values include: 'Read', 'ReadWrite', + * @member {AssetContainerPermission} [permissions] The permissions to set on + * the SAS URL. Possible values include: 'Read', 'ReadWrite', * 'ReadWriteDelete' */ permissions?: AssetContainerPermission; /** - * The SAS URL expiration time. This must be less than 24 hours from the current time. + * @member {Date} [expiryTime] The SAS URL expiration time. This must be + * less than 24 hours from the current time. */ expiryTime?: Date; } /** - * Configures the Explicit Analog Television Output Restriction control bits. For further details - * see the PlayReady Compliance Rules. + * @interface + * An interface representing ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction. + * Configures the Explicit Analog Television Output Restriction control bits. + * For further details see the PlayReady Compliance Rules. + * */ export interface ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction { /** - * Indicates whether this restriction is enforced on a Best Effort basis. + * @member {boolean} bestEffort Indicates whether this restriction is + * enforced on a Best Effort basis. */ bestEffort: boolean; /** - * Configures the restriction control bits. Must be between 0 and 3 inclusive. + * @member {number} configurationData Configures the restriction control + * bits. Must be between 0 and 3 inclusive. */ configurationData: number; } @@ -597,157 +769,199 @@ export interface ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction { export type ContentKeyPolicyPlayReadyContentKeyLocationUnion = ContentKeyPolicyPlayReadyContentKeyLocation | ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier; /** - * Base class for content key ID location. A derived class must be used to represent the location. + * @interface + * An interface representing ContentKeyPolicyPlayReadyContentKeyLocation. + * Base class for content key ID location. A derived class must be used to + * represent the location. + * */ export interface ContentKeyPolicyPlayReadyContentKeyLocation { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "ContentKeyPolicyPlayReadyContentKeyLocation"; } /** + * @interface + * An interface representing ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader. * Specifies that the content key ID is in the PlayReady header. + * */ export interface ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"; } /** - * Specifies that the content key ID is specified in the PlayReady configuration. + * @interface + * An interface representing ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier. + * Specifies that the content key ID is specified in the PlayReady + * configuration. + * */ export interface ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"; /** - * The content key ID. + * @member {string} keyId The content key ID. */ keyId: string; } /** + * @interface + * An interface representing ContentKeyPolicyPlayReadyPlayRight. * Configures the Play Right in the PlayReady license. + * */ export interface ContentKeyPolicyPlayReadyPlayRight { /** - * The amount of time that the license is valid after the license is first used to play content. + * @member {string} [firstPlayExpiration] The amount of time that the license + * is valid after the license is first used to play content. */ firstPlayExpiration?: string; /** - * Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 - * inclusive. + * @member {number} [scmsRestriction] Configures the Serial Copy Management + * System (SCMS) in the license. Must be between 0 and 3 inclusive. */ scmsRestriction?: number; /** - * Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and - * 3 inclusive. + * @member {number} [agcAndColorStripeRestriction] Configures Automatic Gain + * Control (AGC) and Color Stripe in the license. Must be between 0 and 3 + * inclusive. */ agcAndColorStripeRestriction?: number; /** - * Configures the Explicit Analog Television Output Restriction in the license. Configuration - * data must be between 0 and 3 inclusive. + * @member {ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction} + * [explicitAnalogTelevisionOutputRestriction] Configures the Explicit Analog + * Television Output Restriction in the license. Configuration data must be + * between 0 and 3 inclusive. */ explicitAnalogTelevisionOutputRestriction?: ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction; /** - * Enables the Image Constraint For Analog Component Video Restriction in the license. + * @member {boolean} digitalVideoOnlyContentRestriction Enables the Image + * Constraint For Analog Component Video Restriction in the license. */ digitalVideoOnlyContentRestriction: boolean; /** - * Enables the Image Constraint For Analog Component Video Restriction in the license. + * @member {boolean} imageConstraintForAnalogComponentVideoRestriction + * Enables the Image Constraint For Analog Component Video Restriction in the + * license. */ imageConstraintForAnalogComponentVideoRestriction: boolean; /** - * Enables the Image Constraint For Analog Component Video Restriction in the license. + * @member {boolean} imageConstraintForAnalogComputerMonitorRestriction + * Enables the Image Constraint For Analog Component Video Restriction in the + * license. */ imageConstraintForAnalogComputerMonitorRestriction: boolean; /** - * Configures Unknown output handling settings of the license. Possible values include: - * 'Unknown', 'NotAllowed', 'Allowed', 'AllowedWithVideoConstriction' + * @member {ContentKeyPolicyPlayReadyUnknownOutputPassingOption} + * allowPassingVideoContentToUnknownOutput Configures Unknown output handling + * settings of the license. Possible values include: 'Unknown', 'NotAllowed', + * 'Allowed', 'AllowedWithVideoConstriction' */ allowPassingVideoContentToUnknownOutput: ContentKeyPolicyPlayReadyUnknownOutputPassingOption; /** - * Specifies the output protection level for uncompressed digital video. + * @member {number} [uncompressedDigitalVideoOpl] Specifies the output + * protection level for uncompressed digital video. */ uncompressedDigitalVideoOpl?: number; /** - * Specifies the output protection level for compressed digital video. + * @member {number} [compressedDigitalVideoOpl] Specifies the output + * protection level for compressed digital video. */ compressedDigitalVideoOpl?: number; /** - * Specifies the output protection level for compressed digital audio. + * @member {number} [analogVideoOpl] Specifies the output protection level + * for compressed digital audio. */ analogVideoOpl?: number; /** - * Specifies the output protection level for compressed digital audio. + * @member {number} [compressedDigitalAudioOpl] Specifies the output + * protection level for compressed digital audio. */ compressedDigitalAudioOpl?: number; /** - * Specifies the output protection level for uncompressed digital audio. + * @member {number} [uncompressedDigitalAudioOpl] Specifies the output + * protection level for uncompressed digital audio. */ uncompressedDigitalAudioOpl?: number; } /** + * @interface + * An interface representing ContentKeyPolicyTokenClaim. * Represents a token claim. + * */ export interface ContentKeyPolicyTokenClaim { /** - * Token claim type. + * @member {string} [claimType] Token claim type. */ claimType?: string; /** - * Token claim value. + * @member {string} [claimValue] Token claim value. */ claimValue?: string; } /** + * @interface + * An interface representing ContentKeyPolicyPlayReadyLicense. * The PlayReady license + * */ export interface ContentKeyPolicyPlayReadyLicense { /** - * A flag indicating whether test devices can use the license. + * @member {boolean} allowTestDevices A flag indicating whether test devices + * can use the license. */ allowTestDevices: boolean; /** - * The begin date of license + * @member {Date} [beginDate] The begin date of license */ beginDate?: Date; /** - * The expiration date of license. + * @member {Date} [expirationDate] The expiration date of license. */ expirationDate?: Date; /** - * The relative begin date of license. + * @member {string} [relativeBeginDate] The relative begin date of license. */ relativeBeginDate?: string; /** - * The relative expiration date of license. + * @member {string} [relativeExpirationDate] The relative expiration date of + * license. */ relativeExpirationDate?: string; /** - * The grace period of license. + * @member {string} [gracePeriod] The grace period of license. */ gracePeriod?: string; /** - * The license PlayRight + * @member {ContentKeyPolicyPlayReadyPlayRight} [playRight] The license + * PlayRight */ playRight?: ContentKeyPolicyPlayReadyPlayRight; /** - * The license type. Possible values include: 'Unknown', 'NonPersistent', 'Persistent' + * @member {ContentKeyPolicyPlayReadyLicenseType} licenseType The license + * type. Possible values include: 'Unknown', 'NonPersistent', 'Persistent' */ licenseType: ContentKeyPolicyPlayReadyLicenseType; /** - * The content key location. + * @member {ContentKeyPolicyPlayReadyContentKeyLocationUnion} + * contentKeyLocation The content key location. */ contentKeyLocation: ContentKeyPolicyPlayReadyContentKeyLocationUnion; /** - * The PlayReady content type. Possible values include: 'Unknown', 'Unspecified', + * @member {ContentKeyPolicyPlayReadyContentType} contentType The PlayReady + * content type. Possible values include: 'Unknown', 'Unspecified', * 'UltraVioletDownload', 'UltraVioletStreaming' */ contentType: ContentKeyPolicyPlayReadyContentType; @@ -759,32 +973,43 @@ export interface ContentKeyPolicyPlayReadyLicense { export type ContentKeyPolicyRestrictionUnion = ContentKeyPolicyRestriction | ContentKeyPolicyOpenRestriction | ContentKeyPolicyUnknownRestriction | ContentKeyPolicyTokenRestriction; /** - * Base class for Content Key Policy restrictions. A derived class must be used to create a - * restriction. + * @interface + * An interface representing ContentKeyPolicyRestriction. + * Base class for Content Key Policy restrictions. A derived class must be used + * to create a restriction. + * */ export interface ContentKeyPolicyRestriction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "ContentKeyPolicyRestriction"; } /** - * Represents an open restriction. License or key will be delivered on every request. + * @interface + * An interface representing ContentKeyPolicyOpenRestriction. + * Represents an open restriction. License or key will be delivered on every + * request. + * */ export interface ContentKeyPolicyOpenRestriction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyOpenRestriction"; } /** - * Represents a ContentKeyPolicyRestriction that is unavailable in the current API version. + * @interface + * An interface representing ContentKeyPolicyUnknownRestriction. + * Represents a ContentKeyPolicyRestriction that is unavailable in the current + * API version. + * */ export interface ContentKeyPolicyUnknownRestriction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyUnknownRestriction"; } @@ -795,12 +1020,15 @@ export interface ContentKeyPolicyUnknownRestriction { export type ContentKeyPolicyConfigurationUnion = ContentKeyPolicyConfiguration | ContentKeyPolicyClearKeyConfiguration | ContentKeyPolicyUnknownConfiguration | ContentKeyPolicyWidevineConfiguration | ContentKeyPolicyPlayReadyConfiguration | ContentKeyPolicyFairPlayConfiguration; /** - * Base class for Content Key Policy configuration. A derived class must be used to create a - * configuration. + * @interface + * An interface representing ContentKeyPolicyConfiguration. + * Base class for Content Key Policy configuration. A derived class must be + * used to create a configuration. + * */ export interface ContentKeyPolicyConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "ContentKeyPolicyConfiguration"; } @@ -811,262 +1039,324 @@ export interface ContentKeyPolicyConfiguration { export type ContentKeyPolicyRestrictionTokenKeyUnion = ContentKeyPolicyRestrictionTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyRsaTokenKey | ContentKeyPolicyX509CertificateTokenKey; /** - * Base class for Content Key Policy key for token validation. A derived class must be used to - * create a token key. + * @interface + * An interface representing ContentKeyPolicyRestrictionTokenKey. + * Base class for Content Key Policy key for token validation. A derived class + * must be used to create a token key. + * */ export interface ContentKeyPolicyRestrictionTokenKey { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "ContentKeyPolicyRestrictionTokenKey"; } /** + * @interface + * An interface representing ContentKeyPolicySymmetricTokenKey. * Specifies a symmetric key for token validation. + * */ export interface ContentKeyPolicySymmetricTokenKey { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"; /** - * The key value of the key + * @member {Uint8Array} keyValue The key value of the key */ keyValue: Uint8Array; } /** + * @interface + * An interface representing ContentKeyPolicyRsaTokenKey. * Specifies a RSA key for token validation + * */ export interface ContentKeyPolicyRsaTokenKey { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyRsaTokenKey"; /** - * The RSA Parameter exponent + * @member {Uint8Array} exponent The RSA Parameter exponent */ exponent: Uint8Array; /** - * The RSA Parameter modulus + * @member {Uint8Array} modulus The RSA Parameter modulus */ modulus: Uint8Array; } /** + * @interface + * An interface representing ContentKeyPolicyX509CertificateTokenKey. * Specifies a certificate for token validation. + * */ export interface ContentKeyPolicyX509CertificateTokenKey { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"; /** - * The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET) + * @member {Uint8Array} rawBody The raw data field of a certificate in PKCS + * 12 format (X509Certificate2 in .NET) */ rawBody: Uint8Array; } /** - * Represents a token restriction. Provided token must match these requirements for successful - * license or key delivery. + * @interface + * An interface representing ContentKeyPolicyTokenRestriction. + * Represents a token restriction. Provided token must match these requirements + * for successful license or key delivery. + * */ export interface ContentKeyPolicyTokenRestriction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyTokenRestriction"; /** - * The token issuer. + * @member {string} issuer The token issuer. */ issuer: string; /** - * The audience for the token. + * @member {string} audience The audience for the token. */ audience: string; /** + * @member {ContentKeyPolicyRestrictionTokenKeyUnion} primaryVerificationKey * The primary verification key. */ primaryVerificationKey: ContentKeyPolicyRestrictionTokenKeyUnion; /** - * A list of alternative verification keys. + * @member {ContentKeyPolicyRestrictionTokenKeyUnion[]} + * [alternateVerificationKeys] A list of alternative verification keys. */ alternateVerificationKeys?: ContentKeyPolicyRestrictionTokenKeyUnion[]; /** - * A list of required token claims. + * @member {ContentKeyPolicyTokenClaim[]} [requiredClaims] A list of required + * token claims. */ requiredClaims?: ContentKeyPolicyTokenClaim[]; /** - * The type of token. Possible values include: 'Unknown', 'Swt', 'Jwt' + * @member {ContentKeyPolicyRestrictionTokenType} restrictionTokenType The + * type of token. Possible values include: 'Unknown', 'Swt', 'Jwt' */ restrictionTokenType: ContentKeyPolicyRestrictionTokenType; /** - * The OpenID connect discovery document. + * @member {string} [openIdConnectDiscoveryDocument] The OpenID connect + * discovery document. */ openIdConnectDiscoveryDocument?: string; } /** + * @interface + * An interface representing ContentKeyPolicyClearKeyConfiguration. * Represents a configuration for non-DRM keys. + * */ export interface ContentKeyPolicyClearKeyConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"; } /** - * Represents a ContentKeyPolicyConfiguration that is unavailable in the current API version. + * @interface + * An interface representing ContentKeyPolicyUnknownConfiguration. + * Represents a ContentKeyPolicyConfiguration that is unavailable in the + * current API version. + * */ export interface ContentKeyPolicyUnknownConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"; } /** + * @interface + * An interface representing ContentKeyPolicyWidevineConfiguration. * Specifies a configuration for Widevine licenses. + * */ export interface ContentKeyPolicyWidevineConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"; /** - * The Widevine template. + * @member {string} widevineTemplate The Widevine template. */ widevineTemplate: string; } /** + * @interface + * An interface representing ContentKeyPolicyPlayReadyConfiguration. * Specifies a configuration for PlayReady licenses. + * */ export interface ContentKeyPolicyPlayReadyConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"; /** - * The PlayReady licenses. + * @member {ContentKeyPolicyPlayReadyLicense[]} licenses The PlayReady + * licenses. */ licenses: ContentKeyPolicyPlayReadyLicense[]; /** - * The custom response data. + * @member {string} [responseCustomData] The custom response data. */ responseCustomData?: string; } /** + * @interface + * An interface representing ContentKeyPolicyFairPlayConfiguration. * Specifies a configuration for FairPlay licenses. + * */ export interface ContentKeyPolicyFairPlayConfiguration { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"; /** - * The key that must be used as FairPlay Application Secret key. + * @member {Uint8Array} ask The key that must be used as FairPlay Application + * Secret key. */ ask: Uint8Array; /** - * The password encrypting FairPlay certificate in PKCS 12 (pfx) format. + * @member {string} fairPlayPfxPassword The password encrypting FairPlay + * certificate in PKCS 12 (pfx) format. */ fairPlayPfxPassword: string; /** - * The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private - * key). + * @member {string} fairPlayPfx The Base64 representation of FairPlay + * certificate in PKCS 12 (pfx) format (including private key). */ fairPlayPfx: string; /** - * The rental and lease key type. Possible values include: 'Unknown', 'Undefined', - * 'PersistentUnlimited', 'PersistentLimited' + * @member {ContentKeyPolicyFairPlayRentalAndLeaseKeyType} + * rentalAndLeaseKeyType The rental and lease key type. Possible values + * include: 'Unknown', 'Undefined', 'PersistentUnlimited', + * 'PersistentLimited' */ rentalAndLeaseKeyType: ContentKeyPolicyFairPlayRentalAndLeaseKeyType; /** - * The rental duration. Must be greater than or equal to 0. + * @member {number} rentalDuration The rental duration. Must be greater than + * or equal to 0. */ rentalDuration: number; } /** + * @interface + * An interface representing ContentKeyPolicyOption. * Represents a policy option. + * */ export interface ContentKeyPolicyOption { /** - * The legacy Policy Option ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [policyOptionId] The legacy Policy Option ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly policyOptionId?: string; /** - * The Policy Option description. + * @member {string} [name] The Policy Option description. */ name?: string; /** - * The key delivery configuration. + * @member {ContentKeyPolicyConfigurationUnion} configuration The key + * delivery configuration. */ configuration: ContentKeyPolicyConfigurationUnion; /** - * The requirements that must be met to deliver keys with this configuration + * @member {ContentKeyPolicyRestrictionUnion} restriction The requirements + * that must be met to deliver keys with this configuration */ restriction: ContentKeyPolicyRestrictionUnion; } /** + * @interface + * An interface representing ContentKeyPolicyProperties. * The properties of the Content Key Policy. + * */ export interface ContentKeyPolicyProperties { /** - * The legacy Policy ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [policyId] The legacy Policy ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly policyId?: string; /** - * The creation date of the Policy - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The creation date of the Policy + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The last modified date of the Policy - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The last modified date of the Policy + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * A description for the Policy. + * @member {string} [description] A description for the Policy. */ description?: string; /** - * The Key Policy options. + * @member {ContentKeyPolicyOption[]} options The Key Policy options. */ options: ContentKeyPolicyOption[]; } /** + * @interface + * An interface representing ContentKeyPolicy. * A Content Key Policy resource. + * + * @extends ProxyResource */ export interface ContentKeyPolicy extends ProxyResource { /** - * The legacy Policy ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [policyId] The legacy Policy ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly policyId?: string; /** - * The creation date of the Policy - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The creation date of the Policy + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The last modified date of the Policy - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The last modified date of the Policy + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * A description for the Policy. + * @member {string} [description] A description for the Policy. */ description?: string; /** - * The Key Policy options. + * @member {ContentKeyPolicyOption[]} options The Key Policy options. */ options: ContentKeyPolicyOption[]; } @@ -1077,12 +1367,15 @@ export interface ContentKeyPolicy extends ProxyResource { export type PresetUnion = Preset | FaceDetectorPreset | AudioAnalyzerPresetUnion | BuiltInStandardEncoderPreset | StandardEncoderPreset; /** - * Base type for all Presets, which define the recipe or instructions on how the input media files - * should be processed. + * @interface + * An interface representing Preset. + * Base type for all Presets, which define the recipe or instructions on how + * the input media files should be processed. + * */ export interface Preset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Preset"; } @@ -1093,15 +1386,19 @@ export interface Preset { export type CodecUnion = Codec | AudioUnion | CopyVideo | VideoUnion | CopyAudio; /** + * @interface + * An interface representing Codec. * Describes the basic properties of all codecs. + * */ export interface Codec { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Codec"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; } @@ -1112,82 +1409,102 @@ export interface Codec { export type AudioUnion = Audio | AacAudio; /** + * @interface + * An interface representing Audio. * Defines the common properties for all audio codecs. + * */ export interface Audio { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.Audio"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The number of channels in the audio. + * @member {number} [channels] The number of channels in the audio. */ channels?: number; /** - * The sampling rate to use for encoding in hertz. + * @member {number} [samplingRate] The sampling rate to use for encoding in + * hertz. */ samplingRate?: number; /** - * The bitrate, in bits per second, of the output encoded audio. + * @member {number} [bitrate] The bitrate, in bits per second, of the output + * encoded audio. */ bitrate?: number; } /** + * @interface + * An interface representing AacAudio. * Describes Advanced Audio Codec (AAC) audio encoding settings. + * */ export interface AacAudio { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.AacAudio"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The number of channels in the audio. + * @member {number} [channels] The number of channels in the audio. */ channels?: number; /** - * The sampling rate to use for encoding in hertz. + * @member {number} [samplingRate] The sampling rate to use for encoding in + * hertz. */ samplingRate?: number; /** - * The bitrate, in bits per second, of the output encoded audio. + * @member {number} [bitrate] The bitrate, in bits per second, of the output + * encoded audio. */ bitrate?: number; /** - * The encoding profile to be used when encoding audio with AAC. Possible values include: - * 'AacLc', 'HeAacV1', 'HeAacV2' + * @member {AacAudioProfile} [profile] The encoding profile to be used when + * encoding audio with AAC. Possible values include: 'AacLc', 'HeAacV1', + * 'HeAacV2' */ profile?: AacAudioProfile; } /** - * Describes all the settings to be used when analyzing a video in order to detect all the faces - * present. + * @interface + * An interface representing FaceDetectorPreset. + * Describes all the settings to be used when analyzing a video in order to + * detect all the faces present. + * */ export interface FaceDetectorPreset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.FaceDetectorPreset"; /** - * Specifies the maximum resolution at which your video is analyzed. The default behavior is - * "SourceResolution," which will keep the input video at its original resolution when analyzed. - * Using "StandardDefinition" will resize input videos to standard definition while preserving - * the appropriate aspect ratio. It will only resize if the video is of higher resolution. For - * example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to - * "StandardDefinition" will reduce the time it takes to process high resolution video. It may - * also reduce the cost of using this component (see - * https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). - * However, faces that end up being too small in the resized video may not be detected. Possible - * values include: 'SourceResolution', 'StandardDefinition' + * @member {AnalysisResolution} [resolution] Specifies the maximum resolution + * at which your video is analyzed. The default behavior is + * "SourceResolution," which will keep the input video at its original + * resolution when analyzed. Using "StandardDefinition" will resize input + * videos to standard definition while preserving the appropriate aspect + * ratio. It will only resize if the video is of higher resolution. For + * example, a 1920x1080 input would be scaled to 640x360 before processing. + * Switching to "StandardDefinition" will reduce the time it takes to process + * high resolution video. It may also reduce the cost of using this component + * (see + * https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics + * for details). However, faces that end up being too small in the resized + * video may not be detected. Possible values include: 'SourceResolution', + * 'StandardDefinition' */ resolution?: AnalysisResolution; } @@ -1198,29 +1515,35 @@ export interface FaceDetectorPreset { export type AudioAnalyzerPresetUnion = AudioAnalyzerPreset | VideoAnalyzerPreset; /** - * The Audio Analyzer preset applies a pre-defined set of AI-based analysis operations, including - * speech transcription. Currently, the preset supports processing of content with a single audio - * track. + * @interface + * An interface representing AudioAnalyzerPreset. + * The Audio Analyzer preset applies a pre-defined set of AI-based analysis + * operations, including speech transcription. Currently, the preset supports + * processing of content with a single audio track. + * */ export interface AudioAnalyzerPreset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.AudioAnalyzerPreset"; /** - * The language for the audio payload in the input using the BCP-47 format of 'language - * tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and - * 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese - * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and - * 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language - * of your content, it is recommended that you specify it. If the language isn't specified or set - * to null, automatic language detection will choose the first language detected and process with - * the selected language for the duration of the file. This language detection feature currently - * supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and - * Portuguese. It does not currently support dynamically switching between languages after the - * first language is detected. The automatic detection works best with audio recordings with - * clearly discernable speech. If automatic detection fails to find the language, transcription - * would fallback to 'en-US'." + * @member {string} [audioLanguage] The language for the audio payload in the + * input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). + * The list of supported languages are English ('en-US' and 'en-GB'), Spanish + * ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese + * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), + * Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and + * Korean ('ko-KR'). If you know the language of your content, it is + * recommended that you specify it. If the language isn't specified or set to + * null, automatic language detection will choose the first language detected + * and process with the selected language for the duration of the file. This + * language detection feature currently supports English, Chinese, French, + * German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not + * currently support dynamically switching between languages after the first + * language is detected. The automatic detection works best with audio + * recordings with clearly discernable speech. If automatic detection fails + * to find the language, transcription would fallback to 'en-US'." */ audioLanguage?: string; } @@ -1231,111 +1554,134 @@ export interface AudioAnalyzerPreset { export type OverlayUnion = Overlay | AudioOverlay | VideoOverlay; /** + * @interface + * An interface representing Overlay. * Base type for all overlays - image, audio or video. + * */ export interface Overlay { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Overlay"; /** - * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * @member {string} inputLabel The label of the job input which is to be used + * as an overlay. The Input must specify exactly one file. You can specify an + * image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, + * WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** - * The start position, with reference to the input video, at which the overlay starts. The value - * should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds in to the - * input video. If not specified the overlay starts from the beginning of the input video. + * @member {string} [start] The start position, with reference to the input + * video, at which the overlay starts. The value should be in ISO 8601 + * format. For example, PT05S to start the overlay at 5 seconds in to the + * input video. If not specified the overlay starts from the beginning of the + * input video. */ start?: string; /** - * The position in the input video at which the overlay ends. The value should be in ISO 8601 - * duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If - * not specified the overlay will be applied until the end of the input video if inputLoop is - * true. Else, if inputLoop is false, then overlay will last as long as the duration of the - * overlay media. + * @member {string} [end] The position in the input video at which the + * overlay ends. The value should be in ISO 8601 duration format. For + * example, PT30S to end the overlay at 30 seconds in to the input video. If + * not specified the overlay will be applied until the end of the input video + * if inputLoop is true. Else, if inputLoop is false, then overlay will last + * as long as the duration of the overlay media. */ end?: string; /** - * The duration over which the overlay fades in onto the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade in (same as - * PT0S). + * @member {string} [fadeInDuration] The duration over which the overlay + * fades in onto the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade in (same + * as PT0S). */ fadeInDuration?: string; /** - * The duration over which the overlay fades out of the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade out (same as - * PT0S). + * @member {string} [fadeOutDuration] The duration over which the overlay + * fades out of the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade out (same + * as PT0S). */ fadeOutDuration?: string; /** - * The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default - * is 1.0. + * @member {number} [audioGainLevel] The gain level of audio in the overlay. + * The value should be in the range [0, 1.0]. The default is 1.0. */ audioGainLevel?: number; } /** + * @interface + * An interface representing AudioOverlay. * Describes the properties of an audio overlay. + * */ export interface AudioOverlay { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.AudioOverlay"; /** - * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * @member {string} inputLabel The label of the job input which is to be used + * as an overlay. The Input must specify exactly one file. You can specify an + * image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, + * WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** - * The start position, with reference to the input video, at which the overlay starts. The value - * should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds in to the - * input video. If not specified the overlay starts from the beginning of the input video. + * @member {string} [start] The start position, with reference to the input + * video, at which the overlay starts. The value should be in ISO 8601 + * format. For example, PT05S to start the overlay at 5 seconds in to the + * input video. If not specified the overlay starts from the beginning of the + * input video. */ start?: string; /** - * The position in the input video at which the overlay ends. The value should be in ISO 8601 - * duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If - * not specified the overlay will be applied until the end of the input video if inputLoop is - * true. Else, if inputLoop is false, then overlay will last as long as the duration of the - * overlay media. + * @member {string} [end] The position in the input video at which the + * overlay ends. The value should be in ISO 8601 duration format. For + * example, PT30S to end the overlay at 30 seconds in to the input video. If + * not specified the overlay will be applied until the end of the input video + * if inputLoop is true. Else, if inputLoop is false, then overlay will last + * as long as the duration of the overlay media. */ end?: string; /** - * The duration over which the overlay fades in onto the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade in (same as - * PT0S). + * @member {string} [fadeInDuration] The duration over which the overlay + * fades in onto the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade in (same + * as PT0S). */ fadeInDuration?: string; /** - * The duration over which the overlay fades out of the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade out (same as - * PT0S). + * @member {string} [fadeOutDuration] The duration over which the overlay + * fades out of the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade out (same + * as PT0S). */ fadeOutDuration?: string; /** - * The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default - * is 1.0. + * @member {number} [audioGainLevel] The gain level of audio in the overlay. + * The value should be in the range [0, 1.0]. The default is 1.0. */ audioGainLevel?: number; } /** - * A codec flag, which tells the encoder to copy the input video bitstream without re-encoding. + * @interface + * An interface representing CopyVideo. + * A codec flag, which tells the encoder to copy the input video bitstream + * without re-encoding. + * */ export interface CopyVideo { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.CopyVideo"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; } @@ -1346,26 +1692,32 @@ export interface CopyVideo { export type VideoUnion = Video | ImageUnion | H264Video; /** + * @interface + * An interface representing Video. * Describes the basic properties for encoding the input video. + * */ export interface Video { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.Video"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The distance between two key frames, thereby defining a group of pictures (GOP). The value - * should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The + * @member {string} [keyFrameInterval] The distance between two key frames, + * thereby defining a group of pictures (GOP). The value should be a non-zero + * integer in the range [1, 30] seconds, specified in ISO 8601 format. The * default is 2 seconds (PT2S). */ keyFrameInterval?: string; /** - * The resizing mode - how the input video will be resized to fit the desired output - * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + * @member {StretchMode} [stretchMode] The resizing mode - how the input + * video will be resized to fit the desired output resolution(s). Default is + * AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' */ stretchMode?: StretchMode; } @@ -1376,45 +1728,57 @@ export interface Video { export type ImageUnion = Image | JpgImage | PngImage; /** - * Describes the basic properties for generating thumbnails from the input video + * @interface + * An interface representing Image. + * Describes the basic properties for generating thumbnails from the input + * video + * */ export interface Image { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.Image"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The distance between two key frames, thereby defining a group of pictures (GOP). The value - * should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The + * @member {string} [keyFrameInterval] The distance between two key frames, + * thereby defining a group of pictures (GOP). The value should be a non-zero + * integer in the range [1, 30] seconds, specified in ISO 8601 format. The * default is 2 seconds (PT2S). */ keyFrameInterval?: string; /** - * The resizing mode - how the input video will be resized to fit the desired output - * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + * @member {StretchMode} [stretchMode] The resizing mode - how the input + * video will be resized to fit the desired output resolution(s). Default is + * AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' */ stretchMode?: StretchMode; /** - * The position in the input video from where to start generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th - * frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the - * encoder to select the best thumbnail from the first few seconds of the video. + * @member {string} start The position in the input video from where to start + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a + * relative value (For example, 1%). Also supports a macro {Best}, which + * tells the encoder to select the best thumbnail from the first few seconds + * of the video. */ start: string; /** - * The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO - * 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every - * 30 frames), or a relative value (For example, 1%). + * @member {string} [step] The intervals at which thumbnails are generated. + * The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image + * every 5 seconds), or a frame count (For example, 30 for every 30 frames), + * or a relative value (For example, 1%). */ step?: string; /** - * The position in the input video at which to stop generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame - * count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%). + * @member {string} [range] The position in the input video at which to stop + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For + * example, 300 to stop at the 300th frame), or a relative value (For + * example, 100%). */ range?: string; } @@ -1425,20 +1789,25 @@ export interface Image { export type FormatUnion = Format | ImageFormatUnion | MultiBitrateFormatUnion; /** + * @interface + * An interface representing Format. * Base class for output. + * */ export interface Format { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Format"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; } @@ -1449,140 +1818,175 @@ export interface Format { export type ImageFormatUnion = ImageFormat | JpgFormat | PngFormat; /** + * @interface + * An interface representing ImageFormat. * Describes the properties for an output image file. + * */ export interface ImageFormat { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.ImageFormat"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; } /** + * @interface + * An interface representing JpgFormat. * Describes the settings for producing JPEG thumbnails. + * */ export interface JpgFormat { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JpgFormat"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; } /** + * @interface + * An interface representing PngFormat. * Describes the settings for producing PNG thumbnails. + * */ export interface PngFormat { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.PngFormat"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; } /** + * @interface + * An interface representing CopyAudio. * A codec flag, which tells the encoder to copy the input audio bitstream. + * */ export interface CopyAudio { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.CopyAudio"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; } /** + * @interface + * An interface representing Deinterlace. * Describes the de-interlacing settings. + * */ export interface Deinterlace { /** - * The field parity for de-interlacing, defaults to Auto. Possible values include: 'Auto', - * 'TopFieldFirst', 'BottomFieldFirst' + * @member {DeinterlaceParity} [parity] The field parity for de-interlacing, + * defaults to Auto. Possible values include: 'Auto', 'TopFieldFirst', + * 'BottomFieldFirst' */ parity?: DeinterlaceParity; /** - * The deinterlacing mode. Defaults to AutoPixelAdaptive. Possible values include: 'Off', - * 'AutoPixelAdaptive' + * @member {DeinterlaceMode} [mode] The deinterlacing mode. Defaults to + * AutoPixelAdaptive. Possible values include: 'Off', 'AutoPixelAdaptive' */ mode?: DeinterlaceMode; } /** - * Describes the properties of a rectangular window applied to the input media before processing - * it. + * @interface + * An interface representing Rectangle. + * Describes the properties of a rectangular window applied to the input media + * before processing it. + * */ export interface Rectangle { /** - * The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or - * relative to the size of the video (For example, 50%). + * @member {string} [left] The number of pixels from the left-margin. This + * can be absolute pixel value (e.g 100), or relative to the size of the + * video (For example, 50%). */ left?: string; /** - * The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or - * relative to the size of the video (For example, 50%). + * @member {string} [top] The number of pixels from the top-margin. This can + * be absolute pixel value (e.g 100), or relative to the size of the video + * (For example, 50%). */ top?: string; /** - * The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or - * relative to the size of the video (For example, 50%). + * @member {string} [width] The width of the rectangular region in pixels. + * This can be absolute pixel value (e.g 100), or relative to the size of the + * video (For example, 50%). */ width?: string; /** - * The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or - * relative to the size of the video (For example, 50%). + * @member {string} [height] The height of the rectangular region in pixels. + * This can be absolute pixel value (e.g 100), or relative to the size of the + * video (For example, 50%). */ height?: string; } /** - * Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be - * applied to the input media before encoding. + * @interface + * An interface representing Filters. + * Describes all the filtering operations, such as de-interlacing, rotation + * etc. that are to be applied to the input media before encoding. + * */ export interface Filters { /** - * The de-interlacing settings. + * @member {Deinterlace} [deinterlace] The de-interlacing settings. */ deinterlace?: Deinterlace; /** - * The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto. - * Possible values include: 'Auto', 'None', 'Rotate0', 'Rotate90', 'Rotate180', 'Rotate270' + * @member {Rotation} [rotation] The rotation, if any, to be applied to the + * input video, before it is encoded. Default is Auto. Possible values + * include: 'Auto', 'None', 'Rotate0', 'Rotate90', 'Rotate180', 'Rotate270' */ rotation?: Rotation; /** - * The parameters for the rectangular window with which to crop the input video. + * @member {Rectangle} [crop] The parameters for the rectangular window with + * which to crop the input video. */ crop?: Rectangle; /** - * The properties of overlays to be applied to the input video. These could be audio, image or - * video overlays. + * @member {OverlayUnion[]} [overlays] The properties of overlays to be + * applied to the input video. These could be audio, image or video overlays. */ overlays?: OverlayUnion[]; } @@ -1593,30 +1997,35 @@ export interface Filters { export type LayerUnion = Layer | VideoLayerUnion | JpgLayer | PngLayer; /** - * The encoder can be configured to produce video and/or images (thumbnails) at different - * resolutions, by specifying a layer for each desired resolution. A layer represents the - * properties for the video or image at a resolution. + * @interface + * An interface representing Layer. + * The encoder can be configured to produce video and/or images (thumbnails) at + * different resolutions, by specifying a layer for each desired resolution. A + * layer represents the properties for the video or image at a resolution. + * */ export interface Layer { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Layer"; /** - * The width of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * width as the input. + * @member {string} [width] The width of the output video for this layer. The + * value can be absolute (in pixels) or relative (in percentage). For example + * 50% means the output video has half as many pixels in width as the input. */ width?: string; /** - * The height of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * height as the input. + * @member {string} [height] The height of the output video for this layer. + * The value can be absolute (in pixels) or relative (in percentage). For + * example 50% means the output video has half as many pixels in height as + * the input. */ height?: string; /** - * The alphanumeric label for this layer, which can be used in multiplexing different video and - * audio layers, or in naming the output file. + * @member {string} [label] The alphanumeric label for this layer, which can + * be used in multiplexing different video and audio layers, or in naming the + * output file. */ label?: string; } @@ -1627,281 +2036,341 @@ export interface Layer { export type VideoLayerUnion = VideoLayer | H264Layer; /** - * Describes the settings to be used when encoding the input video into a desired output bitrate - * layer. + * @interface + * An interface representing VideoLayer. + * Describes the settings to be used when encoding the input video into a + * desired output bitrate layer. + * */ export interface VideoLayer { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.VideoLayer"; /** - * The width of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * width as the input. + * @member {string} [width] The width of the output video for this layer. The + * value can be absolute (in pixels) or relative (in percentage). For example + * 50% means the output video has half as many pixels in width as the input. */ width?: string; /** - * The height of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * height as the input. + * @member {string} [height] The height of the output video for this layer. + * The value can be absolute (in pixels) or relative (in percentage). For + * example 50% means the output video has half as many pixels in height as + * the input. */ height?: string; /** - * The alphanumeric label for this layer, which can be used in multiplexing different video and - * audio layers, or in naming the output file. + * @member {string} [label] The alphanumeric label for this layer, which can + * be used in multiplexing different video and audio layers, or in naming the + * output file. */ label?: string; /** - * The average bitrate in bits per second at which to encode the input video when generating this - * layer. This is a required field. + * @member {number} bitrate The average bitrate in bits per second at which + * to encode the input video when generating this layer. This is a required + * field. */ bitrate: number; /** - * The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. - * If not specified, defaults to the same value as bitrate. + * @member {number} [maxBitrate] The maximum bitrate (in bits per second), at + * which the VBV buffer should be assumed to refill. If not specified, + * defaults to the same value as bitrate. */ maxBitrate?: number; /** - * The number of B-frames to be used when encoding this layer. If not specified, the encoder - * chooses an appropriate number based on the video profile and level. + * @member {number} [bFrames] The number of B-frames to be used when encoding + * this layer. If not specified, the encoder chooses an appropriate number + * based on the video profile and level. */ bFrames?: number; /** - * The frame rate (in frames per second) at which to encode this layer. The value can be in the - * form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number - * (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on - * the profile and level. If it is not specified, the encoder will use the same frame rate as the - * input video. + * @member {string} [frameRate] The frame rate (in frames per second) at + * which to encode this layer. The value can be in the form of M/N where M + * and N are integers (For example, 30000/1001), or in the form of a number + * (For example, 30, or 29.97). The encoder enforces constraints on allowed + * frame rates based on the profile and level. If it is not specified, the + * encoder will use the same frame rate as the input video. */ frameRate?: string; /** - * The number of slices to be used when encoding this layer. If not specified, default is zero, - * which means that encoder will use a single slice for each frame. + * @member {number} [slices] The number of slices to be used when encoding + * this layer. If not specified, default is zero, which means that encoder + * will use a single slice for each frame. */ slices?: number; /** - * Whether or not adaptive B-frames are to be used when encoding this layer. If not specified, - * the encoder will turn it on whenever the video profile permits its use. + * @member {boolean} [adaptiveBFrame] Whether or not adaptive B-frames are to + * be used when encoding this layer. If not specified, the encoder will turn + * it on whenever the video profile permits its use. */ adaptiveBFrame?: boolean; } /** - * Describes the settings to be used when encoding the input video into a desired output bitrate - * layer with the H.264 video codec. + * @interface + * An interface representing H264Layer. + * Describes the settings to be used when encoding the input video into a + * desired output bitrate layer with the H.264 video codec. + * */ export interface H264Layer { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.H264Layer"; /** - * The width of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * width as the input. + * @member {string} [width] The width of the output video for this layer. The + * value can be absolute (in pixels) or relative (in percentage). For example + * 50% means the output video has half as many pixels in width as the input. */ width?: string; /** - * The height of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * height as the input. + * @member {string} [height] The height of the output video for this layer. + * The value can be absolute (in pixels) or relative (in percentage). For + * example 50% means the output video has half as many pixels in height as + * the input. */ height?: string; /** - * The alphanumeric label for this layer, which can be used in multiplexing different video and - * audio layers, or in naming the output file. + * @member {string} [label] The alphanumeric label for this layer, which can + * be used in multiplexing different video and audio layers, or in naming the + * output file. */ label?: string; /** - * The average bitrate in bits per second at which to encode the input video when generating this - * layer. This is a required field. + * @member {number} bitrate The average bitrate in bits per second at which + * to encode the input video when generating this layer. This is a required + * field. */ bitrate: number; /** - * The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. - * If not specified, defaults to the same value as bitrate. + * @member {number} [maxBitrate] The maximum bitrate (in bits per second), at + * which the VBV buffer should be assumed to refill. If not specified, + * defaults to the same value as bitrate. */ maxBitrate?: number; /** - * The number of B-frames to be used when encoding this layer. If not specified, the encoder - * chooses an appropriate number based on the video profile and level. + * @member {number} [bFrames] The number of B-frames to be used when encoding + * this layer. If not specified, the encoder chooses an appropriate number + * based on the video profile and level. */ bFrames?: number; /** - * The frame rate (in frames per second) at which to encode this layer. The value can be in the - * form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number - * (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on - * the profile and level. If it is not specified, the encoder will use the same frame rate as the - * input video. + * @member {string} [frameRate] The frame rate (in frames per second) at + * which to encode this layer. The value can be in the form of M/N where M + * and N are integers (For example, 30000/1001), or in the form of a number + * (For example, 30, or 29.97). The encoder enforces constraints on allowed + * frame rates based on the profile and level. If it is not specified, the + * encoder will use the same frame rate as the input video. */ frameRate?: string; /** - * The number of slices to be used when encoding this layer. If not specified, default is zero, - * which means that encoder will use a single slice for each frame. + * @member {number} [slices] The number of slices to be used when encoding + * this layer. If not specified, default is zero, which means that encoder + * will use a single slice for each frame. */ slices?: number; /** - * Whether or not adaptive B-frames are to be used when encoding this layer. If not specified, - * the encoder will turn it on whenever the video profile permits its use. + * @member {boolean} [adaptiveBFrame] Whether or not adaptive B-frames are to + * be used when encoding this layer. If not specified, the encoder will turn + * it on whenever the video profile permits its use. */ adaptiveBFrame?: boolean; /** - * We currently support Baseline, Main, High, High422, High444. Default is Auto. Possible values - * include: 'Auto', 'Baseline', 'Main', 'High', 'High422', 'High444' + * @member {H264VideoProfile} [profile] We currently support Baseline, Main, + * High, High422, High444. Default is Auto. Possible values include: 'Auto', + * 'Baseline', 'Main', 'High', 'High422', 'High444' */ profile?: H264VideoProfile; /** - * We currently support Level up to 6.2. The value can be Auto, or a number that matches the - * H.264 profile. If not specified, the default is Auto, which lets the encoder choose the Level - * that is appropriate for this layer. + * @member {string} [level] We currently support Level up to 6.2. The value + * can be Auto, or a number that matches the H.264 profile. If not specified, + * the default is Auto, which lets the encoder choose the Level that is + * appropriate for this layer. */ level?: string; /** - * The VBV buffer window length. The value should be in ISO 8601 format. The value should be in - * the range [0.1-100] seconds. The default is 5 seconds (for example, PT5S). + * @member {string} [bufferWindow] The VBV buffer window length. The value + * should be in ISO 8601 format. The value should be in the range [0.1-100] + * seconds. The default is 5 seconds (for example, PT5S). */ bufferWindow?: string; /** - * The number of reference frames to be used when encoding this layer. If not specified, the - * encoder determines an appropriate number based on the encoder complexity setting. + * @member {number} [referenceFrames] The number of reference frames to be + * used when encoding this layer. If not specified, the encoder determines an + * appropriate number based on the encoder complexity setting. */ referenceFrames?: number; /** - * The entropy mode to be used for this layer. If not specified, the encoder chooses the mode - * that is appropriate for the profile and level. Possible values include: 'Cabac', 'Cavlc' + * @member {EntropyMode} [entropyMode] The entropy mode to be used for this + * layer. If not specified, the encoder chooses the mode that is appropriate + * for the profile and level. Possible values include: 'Cabac', 'Cavlc' */ entropyMode?: EntropyMode; } /** + * @interface + * An interface representing H264Video. * Describes all the properties for encoding a video with the H.264 codec. + * */ export interface H264Video { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.H264Video"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The distance between two key frames, thereby defining a group of pictures (GOP). The value - * should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The + * @member {string} [keyFrameInterval] The distance between two key frames, + * thereby defining a group of pictures (GOP). The value should be a non-zero + * integer in the range [1, 30] seconds, specified in ISO 8601 format. The * default is 2 seconds (PT2S). */ keyFrameInterval?: string; /** - * The resizing mode - how the input video will be resized to fit the desired output - * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + * @member {StretchMode} [stretchMode] The resizing mode - how the input + * video will be resized to fit the desired output resolution(s). Default is + * AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' */ stretchMode?: StretchMode; /** - * Whether or not the encoder should insert key frames at scene changes. If not specified, the - * default is false. This flag should be set to true only when the encoder is being configured to - * produce a single output video. + * @member {boolean} [sceneChangeDetection] Whether or not the encoder should + * insert key frames at scene changes. If not specified, the default is + * false. This flag should be set to true only when the encoder is being + * configured to produce a single output video. */ sceneChangeDetection?: boolean; /** - * Tells the encoder how to choose its encoding settings. The default value is Balanced. Possible - * values include: 'Speed', 'Balanced', 'Quality' + * @member {H264Complexity} [complexity] Tells the encoder how to choose its + * encoding settings. The default value is Balanced. Possible values include: + * 'Speed', 'Balanced', 'Quality' */ complexity?: H264Complexity; /** - * The collection of output H.264 layers to be produced by the encoder. + * @member {H264Layer[]} [layers] The collection of output H.264 layers to be + * produced by the encoder. */ layers?: H264Layer[]; } /** + * @interface + * An interface representing JpgLayer. * Describes the settings to produce a JPEG image from the input video. + * */ export interface JpgLayer { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JpgLayer"; /** - * The width of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * width as the input. + * @member {string} [width] The width of the output video for this layer. The + * value can be absolute (in pixels) or relative (in percentage). For example + * 50% means the output video has half as many pixels in width as the input. */ width?: string; /** - * The height of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * height as the input. + * @member {string} [height] The height of the output video for this layer. + * The value can be absolute (in pixels) or relative (in percentage). For + * example 50% means the output video has half as many pixels in height as + * the input. */ height?: string; /** - * The alphanumeric label for this layer, which can be used in multiplexing different video and - * audio layers, or in naming the output file. + * @member {string} [label] The alphanumeric label for this layer, which can + * be used in multiplexing different video and audio layers, or in naming the + * output file. */ label?: string; /** - * The compression quality of the JPEG output. Range is from 0-100 and the default is 70. + * @member {number} [quality] The compression quality of the JPEG output. + * Range is from 0-100 and the default is 70. */ quality?: number; } /** - * Describes the properties for producing a series of JPEG images from the input video. + * @interface + * An interface representing JpgImage. + * Describes the properties for producing a series of JPEG images from the + * input video. + * */ export interface JpgImage { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JpgImage"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The distance between two key frames, thereby defining a group of pictures (GOP). The value - * should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The + * @member {string} [keyFrameInterval] The distance between two key frames, + * thereby defining a group of pictures (GOP). The value should be a non-zero + * integer in the range [1, 30] seconds, specified in ISO 8601 format. The * default is 2 seconds (PT2S). */ keyFrameInterval?: string; /** - * The resizing mode - how the input video will be resized to fit the desired output - * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + * @member {StretchMode} [stretchMode] The resizing mode - how the input + * video will be resized to fit the desired output resolution(s). Default is + * AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' */ stretchMode?: StretchMode; /** - * The position in the input video from where to start generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th - * frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the - * encoder to select the best thumbnail from the first few seconds of the video. + * @member {string} start The position in the input video from where to start + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a + * relative value (For example, 1%). Also supports a macro {Best}, which + * tells the encoder to select the best thumbnail from the first few seconds + * of the video. */ start: string; /** - * The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO - * 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every - * 30 frames), or a relative value (For example, 1%). + * @member {string} [step] The intervals at which thumbnails are generated. + * The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image + * every 5 seconds), or a frame count (For example, 30 for every 30 frames), + * or a relative value (For example, 1%). */ step?: string; /** - * The position in the input video at which to stop generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame - * count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%). + * @member {string} [range] The position in the input video at which to stop + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For + * example, 300 to stop at the 300th frame), or a relative value (For + * example, 100%). */ range?: string; /** - * A collection of output JPEG image layers to be produced by the encoder. + * @member {JpgLayer[]} [layers] A collection of output JPEG image layers to + * be produced by the encoder. */ layers?: JpgLayer[]; } /** + * @interface + * An interface representing OutputFile. * Represents an output file produced. + * */ export interface OutputFile { /** - * The list of labels that describe how the encoder should multiplex video and audio into an - * output file. For example, if the encoder is producing two video layers with labels v1 and v2, - * and one audio layer with label a1, then an array like '[v1, a1]' tells the encoder to produce - * an output file with the video track represented by v1 and the audio track represented by a1. + * @member {string[]} labels The list of labels that describe how the encoder + * should multiplex video and audio into an output file. For example, if the + * encoder is producing two video layers with labels v1 and v2, and one audio + * layer with label a1, then an array like '[v1, a1]' tells the encoder to + * produce an output file with the video track represented by v1 and the + * audio track represented by a1. */ labels: string[]; } @@ -1912,337 +2381,423 @@ export interface OutputFile { export type MultiBitrateFormatUnion = MultiBitrateFormat | Mp4Format | TransportStreamFormat; /** - * Describes the properties for producing a collection of GOP aligned multi-bitrate files. The - * default behavior is to produce one output file for each video layer which is muxed together with - * all the audios. The exact output files produced can be controlled by specifying the outputFiles + * @interface + * An interface representing MultiBitrateFormat. + * Describes the properties for producing a collection of GOP aligned + * multi-bitrate files. The default behavior is to produce one output file for + * each video layer which is muxed together with all the audios. The exact + * output files produced can be controlled by specifying the outputFiles * collection. + * */ export interface MultiBitrateFormat { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.MultiBitrateFormat"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; /** - * The list of output files to produce. Each entry in the list is a set of audio and video layer - * labels to be muxed together . + * @member {OutputFile[]} [outputFiles] The list of output files to produce. + * Each entry in the list is a set of audio and video layer labels to be + * muxed together . */ outputFiles?: OutputFile[]; } /** + * @interface + * An interface representing Mp4Format. * Describes the properties for an output ISO MP4 file. + * */ export interface Mp4Format { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.Mp4Format"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; /** - * The list of output files to produce. Each entry in the list is a set of audio and video layer - * labels to be muxed together . + * @member {OutputFile[]} [outputFiles] The list of output files to produce. + * Each entry in the list is a set of audio and video layer labels to be + * muxed together . */ outputFiles?: OutputFile[]; } /** + * @interface + * An interface representing PngLayer. * Describes the settings to produce a PNG image from the input video. + * */ export interface PngLayer { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.PngLayer"; /** - * The width of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * width as the input. + * @member {string} [width] The width of the output video for this layer. The + * value can be absolute (in pixels) or relative (in percentage). For example + * 50% means the output video has half as many pixels in width as the input. */ width?: string; /** - * The height of the output video for this layer. The value can be absolute (in pixels) or - * relative (in percentage). For example 50% means the output video has half as many pixels in - * height as the input. + * @member {string} [height] The height of the output video for this layer. + * The value can be absolute (in pixels) or relative (in percentage). For + * example 50% means the output video has half as many pixels in height as + * the input. */ height?: string; /** - * The alphanumeric label for this layer, which can be used in multiplexing different video and - * audio layers, or in naming the output file. + * @member {string} [label] The alphanumeric label for this layer, which can + * be used in multiplexing different video and audio layers, or in naming the + * output file. */ label?: string; } /** - * Describes the properties for producing a series of PNG images from the input video. + * @interface + * An interface representing PngImage. + * Describes the properties for producing a series of PNG images from the input + * video. + * */ export interface PngImage { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.PngImage"; /** - * An optional label for the codec. The label can be used to control muxing behavior. + * @member {string} [label] An optional label for the codec. The label can be + * used to control muxing behavior. */ label?: string; /** - * The distance between two key frames, thereby defining a group of pictures (GOP). The value - * should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The + * @member {string} [keyFrameInterval] The distance between two key frames, + * thereby defining a group of pictures (GOP). The value should be a non-zero + * integer in the range [1, 30] seconds, specified in ISO 8601 format. The * default is 2 seconds (PT2S). */ keyFrameInterval?: string; /** - * The resizing mode - how the input video will be resized to fit the desired output - * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + * @member {StretchMode} [stretchMode] The resizing mode - how the input + * video will be resized to fit the desired output resolution(s). Default is + * AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' */ stretchMode?: StretchMode; /** - * The position in the input video from where to start generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th - * frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the - * encoder to select the best thumbnail from the first few seconds of the video. + * @member {string} start The position in the input video from where to start + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a + * relative value (For example, 1%). Also supports a macro {Best}, which + * tells the encoder to select the best thumbnail from the first few seconds + * of the video. */ start: string; /** - * The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO - * 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every - * 30 frames), or a relative value (For example, 1%). + * @member {string} [step] The intervals at which thumbnails are generated. + * The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image + * every 5 seconds), or a frame count (For example, 30 for every 30 frames), + * or a relative value (For example, 1%). */ step?: string; /** - * The position in the input video at which to stop generating thumbnails. The value can be in - * absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame - * count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%). + * @member {string} [range] The position in the input video at which to stop + * generating thumbnails. The value can be in absolute timestamp (ISO 8601, + * e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For + * example, 300 to stop at the 300th frame), or a relative value (For + * example, 100%). */ range?: string; /** - * A collection of output PNG image layers to be produced by the encoder. + * @member {PngLayer[]} [layers] A collection of output PNG image layers to + * be produced by the encoder. */ layers?: PngLayer[]; } /** - * Describes a built-in preset for encoding the input video with the Standard Encoder. + * @interface + * An interface representing BuiltInStandardEncoderPreset. + * Describes a built-in preset for encoding the input video with the Standard + * Encoder. + * */ export interface BuiltInStandardEncoderPreset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.BuiltInStandardEncoderPreset"; /** - * The built-in preset to be used for encoding videos. Possible values include: - * 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', - * 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', - * 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' + * @member {EncoderNamedPreset} presetName The built-in preset to be used for + * encoding videos. Possible values include: 'H264SingleBitrateSD', + * 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', + * 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', + * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', + * 'H264MultipleBitrateSD' */ presetName: EncoderNamedPreset; } /** - * Describes all the settings to be used when encoding the input video with the Standard Encoder. + * @interface + * An interface representing StandardEncoderPreset. + * Describes all the settings to be used when encoding the input video with the + * Standard Encoder. + * */ export interface StandardEncoderPreset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.StandardEncoderPreset"; /** - * One or more filtering operations that are applied to the input media before encoding. + * @member {Filters} [filters] One or more filtering operations that are + * applied to the input media before encoding. */ filters?: Filters; /** - * The list of codecs to be used when encoding the input video. + * @member {CodecUnion[]} codecs The list of codecs to be used when encoding + * the input video. */ codecs: CodecUnion[]; /** - * The list of outputs to be produced by the encoder. + * @member {FormatUnion[]} formats The list of outputs to be produced by the + * encoder. */ formats: FormatUnion[]; } /** - * A video analyzer preset that extracts insights (rich metadata) from both audio and video, and - * outputs a JSON format file. + * @interface + * An interface representing VideoAnalyzerPreset. + * A video analyzer preset that extracts insights (rich metadata) from both + * audio and video, and outputs a JSON format file. + * */ export interface VideoAnalyzerPreset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.VideoAnalyzerPreset"; /** - * The language for the audio payload in the input using the BCP-47 format of 'language - * tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and - * 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese - * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and - * 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language - * of your content, it is recommended that you specify it. If the language isn't specified or set - * to null, automatic language detection will choose the first language detected and process with - * the selected language for the duration of the file. This language detection feature currently - * supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and - * Portuguese. It does not currently support dynamically switching between languages after the - * first language is detected. The automatic detection works best with audio recordings with - * clearly discernable speech. If automatic detection fails to find the language, transcription - * would fallback to 'en-US'." + * @member {string} [audioLanguage] The language for the audio payload in the + * input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). + * The list of supported languages are English ('en-US' and 'en-GB'), Spanish + * ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese + * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), + * Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and + * Korean ('ko-KR'). If you know the language of your content, it is + * recommended that you specify it. If the language isn't specified or set to + * null, automatic language detection will choose the first language detected + * and process with the selected language for the duration of the file. This + * language detection feature currently supports English, Chinese, French, + * German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not + * currently support dynamically switching between languages after the first + * language is detected. The automatic detection works best with audio + * recordings with clearly discernable speech. If automatic detection fails + * to find the language, transcription would fallback to 'en-US'." */ audioLanguage?: string; /** - * The type of insights to be extracted. If not set then based on the content the type will - * selected. If the content is audio only then only audio insights are extracted and if it is - * video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' + * @member {InsightsType} [insightsToExtract] The type of insights to be + * extracted. If not set then based on the content the type will selected. + * If the content is audio only then only audio insights are extracted and if + * it is video only. Possible values include: 'AudioInsightsOnly', + * 'VideoInsightsOnly', 'AllInsights' */ insightsToExtract?: InsightsType; } /** - * Describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC 13818-1) output - * video file(s). + * @interface + * An interface representing TransportStreamFormat. + * Describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC + * 13818-1) output video file(s). + * */ export interface TransportStreamFormat { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.TransportStreamFormat"; /** - * The pattern of the file names for the generated output files. The following macros are - * supported in the file name: {Basename} - The base name of the input video {Extension} - The - * appropriate extension for this format. {Label} - The label assigned to the codec/layer. - * {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The - * audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video - * codec. Any unsubstituted macros will be collapsed and removed from the filename. + * @member {string} filenamePattern The pattern of the file names for the + * generated output files. The following macros are supported in the file + * name: {Basename} - The base name of the input video {Extension} - The + * appropriate extension for this format. {Label} - The label assigned to the + * codec/layer. {Index} - A unique index for thumbnails. Only applicable to + * thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + * thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted + * macros will be collapsed and removed from the filename. */ filenamePattern: string; /** - * The list of output files to produce. Each entry in the list is a set of audio and video layer - * labels to be muxed together . + * @member {OutputFile[]} [outputFiles] The list of output files to produce. + * Each entry in the list is a set of audio and video layer labels to be + * muxed together . */ outputFiles?: OutputFile[]; } /** + * @interface + * An interface representing VideoOverlay. * Describes the properties of a video overlay. + * */ export interface VideoOverlay { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.VideoOverlay"; /** - * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * @member {string} inputLabel The label of the job input which is to be used + * as an overlay. The Input must specify exactly one file. You can specify an + * image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, + * WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** - * The start position, with reference to the input video, at which the overlay starts. The value - * should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds in to the - * input video. If not specified the overlay starts from the beginning of the input video. + * @member {string} [start] The start position, with reference to the input + * video, at which the overlay starts. The value should be in ISO 8601 + * format. For example, PT05S to start the overlay at 5 seconds in to the + * input video. If not specified the overlay starts from the beginning of the + * input video. */ start?: string; /** - * The position in the input video at which the overlay ends. The value should be in ISO 8601 - * duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If - * not specified the overlay will be applied until the end of the input video if inputLoop is - * true. Else, if inputLoop is false, then overlay will last as long as the duration of the - * overlay media. + * @member {string} [end] The position in the input video at which the + * overlay ends. The value should be in ISO 8601 duration format. For + * example, PT30S to end the overlay at 30 seconds in to the input video. If + * not specified the overlay will be applied until the end of the input video + * if inputLoop is true. Else, if inputLoop is false, then overlay will last + * as long as the duration of the overlay media. */ end?: string; /** - * The duration over which the overlay fades in onto the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade in (same as - * PT0S). + * @member {string} [fadeInDuration] The duration over which the overlay + * fades in onto the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade in (same + * as PT0S). */ fadeInDuration?: string; /** - * The duration over which the overlay fades out of the input video. The value should be in ISO - * 8601 duration format. If not specified the default behavior is to have no fade out (same as - * PT0S). + * @member {string} [fadeOutDuration] The duration over which the overlay + * fades out of the input video. The value should be in ISO 8601 duration + * format. If not specified the default behavior is to have no fade out (same + * as PT0S). */ fadeOutDuration?: string; /** - * The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default - * is 1.0. + * @member {number} [audioGainLevel] The gain level of audio in the overlay. + * The value should be in the range [0, 1.0]. The default is 1.0. */ audioGainLevel?: number; /** - * The location in the input video where the overlay is applied. + * @member {Rectangle} [position] The location in the input video where the + * overlay is applied. */ position?: Rectangle; /** - * The opacity of the overlay. This is a value in the range [0 - 1.0]. Default is 1.0 which mean - * the overlay is opaque. + * @member {number} [opacity] The opacity of the overlay. This is a value in + * the range [0 - 1.0]. Default is 1.0 which mean the overlay is opaque. */ opacity?: number; /** - * An optional rectangular window used to crop the overlay image or video. + * @member {Rectangle} [cropRectangle] An optional rectangular window used to + * crop the overlay image or video. */ cropRectangle?: Rectangle; } /** - * Describes the properties of a TransformOutput, which are the rules to be applied while - * generating the desired output. + * @interface + * An interface representing TransformOutput. + * Describes the properties of a TransformOutput, which are the rules to be + * applied while generating the desired output. + * */ export interface TransformOutput { /** - * A Transform can define more than one outputs. This property defines what the service should do - * when one output fails - either continue to produce other outputs, or, stop the other outputs. - * The overall Job state will not reflect failures of outputs that are specified with - * 'ContinueJob'. The default is 'StopProcessingJob'. Possible values include: - * 'StopProcessingJob', 'ContinueJob' + * @member {OnErrorType} [onError] A Transform can define more than one + * outputs. This property defines what the service should do when one output + * fails - either continue to produce other outputs, or, stop the other + * outputs. The overall Job state will not reflect failures of outputs that + * are specified with 'ContinueJob'. The default is 'StopProcessingJob'. + * Possible values include: 'StopProcessingJob', 'ContinueJob' */ onError?: OnErrorType; /** - * Sets the relative priority of the TransformOutputs within a Transform. This sets the priority - * that the service uses for processing TransformOutputs. The default priority is Normal. - * Possible values include: 'Low', 'Normal', 'High' + * @member {Priority} [relativePriority] Sets the relative priority of the + * TransformOutputs within a Transform. This sets the priority that the + * service uses for processing TransformOutputs. The default priority is + * Normal. Possible values include: 'Low', 'Normal', 'High' */ relativePriority?: Priority; /** - * Preset that describes the operations that will be used to modify, transcode, or extract - * insights from the source file to generate the output. + * @member {PresetUnion} preset Preset that describes the operations that + * will be used to modify, transcode, or extract insights from the source + * file to generate the output. */ preset: PresetUnion; } /** - * A Transform encapsulates the rules or instructions for generating desired outputs from input - * media, such as by transcoding or by extracting insights. After the Transform is created, it can - * be applied to input media by creating Jobs. + * @interface + * An interface representing Transform. + * A Transform encapsulates the rules or instructions for generating desired + * outputs from input media, such as by transcoding or by extracting insights. + * After the Transform is created, it can be applied to input media by creating + * Jobs. + * + * @extends ProxyResource */ export interface Transform extends ProxyResource { /** - * The UTC date and time when the Transform was created, in 'YYYY-MM-DDThh:mm:ssZ' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The UTC date and time when the Transform was + * created, in 'YYYY-MM-DDThh:mm:ssZ' format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * An optional verbose description of the Transform. + * @member {string} [description] An optional verbose description of the + * Transform. */ description?: string; /** - * The UTC date and time when the Transform was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The UTC date and time when the Transform was + * last updated, in 'YYYY-MM-DDThh:mm:ssZ' format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * An array of one or more TransformOutputs that the Transform should generate. + * @member {TransformOutput[]} outputs An array of one or more + * TransformOutputs that the Transform should generate. */ outputs: TransformOutput[]; } @@ -2253,11 +2808,14 @@ export interface Transform extends ProxyResource { export type JobInputUnion = JobInput | JobInputClipUnion | JobInputs; /** + * @interface + * An interface representing JobInput. * Base class for inputs to a Job. + * */ export interface JobInput { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "JobInput"; } @@ -2268,143 +2826,180 @@ export interface JobInput { export type JobInputClipUnion = JobInputClip | JobInputAsset | JobInputHttp; /** + * @interface + * An interface representing JobInputClip. * Represents input files for a Job. + * */ export interface JobInputClip { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JobInputClip"; /** - * List of files. Required for JobInputHttp. Maximum of 4000 characters each. + * @member {string[]} [files] List of files. Required for JobInputHttp. + * Maximum of 4000 characters each. */ files?: string[]; /** - * A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the - * Transform. For example, a Transform can be authored so as to take an image file with the label - * 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a - * Job, exactly one of the JobInputs should be the image file, and it should have the label - * 'xyz'. + * @member {string} [label] A label that is assigned to a JobInputClip, that + * is used to satisfy a reference used in the Transform. For example, a + * Transform can be authored so as to take an image file with the label 'xyz' + * and apply it as an overlay onto the input video before it is encoded. When + * submitting a Job, exactly one of the JobInputs should be the image file, + * and it should have the label 'xyz'. */ label?: string; } /** + * @interface + * An interface representing JobInputs. * Describes a list of inputs to a Job. + * */ export interface JobInputs { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JobInputs"; /** - * List of inputs to a Job. + * @member {JobInputUnion[]} [inputs] List of inputs to a Job. */ inputs?: JobInputUnion[]; } /** + * @interface + * An interface representing JobInputAsset. * Represents an Asset for input into a Job. + * */ export interface JobInputAsset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JobInputAsset"; /** - * List of files. Required for JobInputHttp. Maximum of 4000 characters each. + * @member {string[]} [files] List of files. Required for JobInputHttp. + * Maximum of 4000 characters each. */ files?: string[]; /** - * A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the - * Transform. For example, a Transform can be authored so as to take an image file with the label - * 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a - * Job, exactly one of the JobInputs should be the image file, and it should have the label - * 'xyz'. + * @member {string} [label] A label that is assigned to a JobInputClip, that + * is used to satisfy a reference used in the Transform. For example, a + * Transform can be authored so as to take an image file with the label 'xyz' + * and apply it as an overlay onto the input video before it is encoded. When + * submitting a Job, exactly one of the JobInputs should be the image file, + * and it should have the label 'xyz'. */ label?: string; /** - * The name of the input Asset. + * @member {string} assetName The name of the input Asset. */ assetName: string; } /** + * @interface + * An interface representing JobInputHttp. * Represents HTTPS job input. + * */ export interface JobInputHttp { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JobInputHttp"; /** - * List of files. Required for JobInputHttp. Maximum of 4000 characters each. + * @member {string[]} [files] List of files. Required for JobInputHttp. + * Maximum of 4000 characters each. */ files?: string[]; /** - * A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the - * Transform. For example, a Transform can be authored so as to take an image file with the label - * 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a - * Job, exactly one of the JobInputs should be the image file, and it should have the label - * 'xyz'. + * @member {string} [label] A label that is assigned to a JobInputClip, that + * is used to satisfy a reference used in the Transform. For example, a + * Transform can be authored so as to take an image file with the label 'xyz' + * and apply it as an overlay onto the input video before it is encoded. When + * submitting a Job, exactly one of the JobInputs should be the image file, + * and it should have the label 'xyz'. */ label?: string; /** - * Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri - * is given, then the provided file list is assumed to be fully qualified uris. Maximum length of - * 4000 characters. + * @member {string} [baseUri] Base URI for HTTPS job input. It will be + * concatenated with provided file names. If no base uri is given, then the + * provided file list is assumed to be fully qualified uris. Maximum length + * of 4000 characters. */ baseUri?: string; } /** + * @interface + * An interface representing JobErrorDetail. * Details of JobOutput errors. + * */ export interface JobErrorDetail { /** - * Code describing the error detail. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [code] Code describing the error detail. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly code?: string; /** - * A human-readable representation of the error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] A human-readable representation of the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; } /** + * @interface + * An interface representing JobError. * Details of JobOutput errors. + * */ export interface JobError { /** - * Error code describing the error. Possible values include: 'ServiceError', - * 'ServiceTransientError', 'DownloadNotAccessible', 'DownloadTransientError', - * 'UploadNotAccessible', 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', + * @member {JobErrorCode} [code] Error code describing the error. Possible + * values include: 'ServiceError', 'ServiceTransientError', + * 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', + * 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', * 'ContentUnsupported' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly code?: JobErrorCode; /** - * A human-readable language-dependent representation of the error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] A human-readable language-dependent + * representation of the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; /** - * Helps with categorization of errors. Possible values include: 'Service', 'Download', 'Upload', - * 'Configuration', 'Content' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobErrorCategory} [category] Helps with categorization of errors. + * Possible values include: 'Service', 'Download', 'Upload', 'Configuration', + * 'Content' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly category?: JobErrorCategory; /** - * Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact - * Azure support via Azure Portal. Possible values include: 'DoNotRetry', 'MayRetry' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobRetry} [retry] Indicates that it may be possible to retry the + * Job. If retry is unsuccessful, please contact Azure support via Azure + * Portal. Possible values include: 'DoNotRetry', 'MayRetry' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly retry?: JobRetry; /** - * An array of details about specific errors that led to this reported error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobErrorDetail[]} [details] An array of details about specific + * errors that led to this reported error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly details?: JobErrorDetail[]; } @@ -2415,1319 +3010,1679 @@ export interface JobError { export type JobOutputUnion = JobOutput | JobOutputAsset; /** + * @interface + * An interface representing JobOutput. * Describes all the properties of a JobOutput. + * */ export interface JobOutput { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "JobOutput"; /** - * If the JobOutput is in the Error state, it contains the details of the error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobError} [error] If the JobOutput is in the Error state, it + * contains the details of the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly error?: JobError; /** - * Describes the state of the JobOutput. Possible values include: 'Canceled', 'Canceling', - * 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobState} [state] Describes the state of the JobOutput. Possible + * values include: 'Canceled', 'Canceling', 'Error', 'Finished', + * 'Processing', 'Queued', 'Scheduled' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly state?: JobState; /** - * If the JobOutput is in a Processing state, this contains the Job completion percentage. The - * value is an estimate and not intended to be used to predict Job completion times. To determine - * if the JobOutput is complete, use the State property. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [progress] If the JobOutput is in a Processing state, + * this contains the Job completion percentage. The value is an estimate and + * not intended to be used to predict Job completion times. To determine if + * the JobOutput is complete, use the State property. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly progress?: number; /** - * A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful - * when your Transform has more than one TransformOutput, whereby your Job has more than one - * JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the - * same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, - * either through events or on a GET request, you can use the label to easily identify the - * JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be - * used, where the preset name is the name of the preset in the corresponding TransformOutput and - * the output index is the relative index of the this JobOutput within the Job. Note that this - * index is the same as the relative index of the corresponding TransformOutput within its - * Transform. + * @member {string} [label] A label that is assigned to a JobOutput in order + * to help uniquely identify it. This is useful when your Transform has more + * than one TransformOutput, whereby your Job has more than one JobOutput. In + * such cases, when you submit the Job, you will add two or more JobOutputs, + * in the same order as TransformOutputs in the Transform. Subsequently, when + * you retrieve the Job, either through events or on a GET request, you can + * use the label to easily identify the JobOutput. If a label is not + * provided, a default value of '{presetName}_{outputIndex}' will be used, + * where the preset name is the name of the preset in the corresponding + * TransformOutput and the output index is the relative index of the this + * JobOutput within the Job. Note that this index is the same as the relative + * index of the corresponding TransformOutput within its Transform. */ label?: string; } /** + * @interface + * An interface representing JobOutputAsset. * Represents an Asset used as a JobOutput. + * */ export interface JobOutputAsset { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "#Microsoft.Media.JobOutputAsset"; /** - * If the JobOutput is in the Error state, it contains the details of the error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobError} [error] If the JobOutput is in the Error state, it + * contains the details of the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly error?: JobError; /** - * Describes the state of the JobOutput. Possible values include: 'Canceled', 'Canceling', - * 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobState} [state] Describes the state of the JobOutput. Possible + * values include: 'Canceled', 'Canceling', 'Error', 'Finished', + * 'Processing', 'Queued', 'Scheduled' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly state?: JobState; /** - * If the JobOutput is in a Processing state, this contains the Job completion percentage. The - * value is an estimate and not intended to be used to predict Job completion times. To determine - * if the JobOutput is complete, use the State property. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [progress] If the JobOutput is in a Processing state, + * this contains the Job completion percentage. The value is an estimate and + * not intended to be used to predict Job completion times. To determine if + * the JobOutput is complete, use the State property. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly progress?: number; /** - * A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful - * when your Transform has more than one TransformOutput, whereby your Job has more than one - * JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the - * same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, - * either through events or on a GET request, you can use the label to easily identify the - * JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be - * used, where the preset name is the name of the preset in the corresponding TransformOutput and - * the output index is the relative index of the this JobOutput within the Job. Note that this - * index is the same as the relative index of the corresponding TransformOutput within its - * Transform. + * @member {string} [label] A label that is assigned to a JobOutput in order + * to help uniquely identify it. This is useful when your Transform has more + * than one TransformOutput, whereby your Job has more than one JobOutput. In + * such cases, when you submit the Job, you will add two or more JobOutputs, + * in the same order as TransformOutputs in the Transform. Subsequently, when + * you retrieve the Job, either through events or on a GET request, you can + * use the label to easily identify the JobOutput. If a label is not + * provided, a default value of '{presetName}_{outputIndex}' will be used, + * where the preset name is the name of the preset in the corresponding + * TransformOutput and the output index is the relative index of the this + * JobOutput within the Job. Note that this index is the same as the relative + * index of the corresponding TransformOutput within its Transform. */ label?: string; /** - * The name of the output Asset. + * @member {string} assetName The name of the output Asset. */ assetName: string; } /** - * A Job resource type. The progress and state can be obtained by polling a Job or subscribing to - * events using EventGrid. + * @interface + * An interface representing Job. + * A Job resource type. The progress and state can be obtained by polling a Job + * or subscribing to events using EventGrid. + * + * @extends ProxyResource */ export interface Job extends ProxyResource { /** - * The UTC date and time when the Job was created, in 'YYYY-MM-DDThh:mm:ssZ' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The UTC date and time when the Job was created, + * in 'YYYY-MM-DDThh:mm:ssZ' format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The current state of the job. Possible values include: 'Canceled', 'Canceling', 'Error', - * 'Finished', 'Processing', 'Queued', 'Scheduled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {JobState} [state] The current state of the job. Possible values + * include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', + * 'Queued', 'Scheduled' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly state?: JobState; /** - * Optional customer supplied description of the Job. + * @member {string} [description] Optional customer supplied description of + * the Job. */ description?: string; /** - * The inputs for the Job. + * @member {JobInputUnion} input The inputs for the Job. */ input: JobInputUnion; /** - * The UTC date and time when the Job was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The UTC date and time when the Job was last + * updated, in 'YYYY-MM-DDThh:mm:ssZ' format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * The outputs for the Job. + * @member {JobOutputUnion[]} outputs The outputs for the Job. */ outputs: JobOutputUnion[]; /** - * Priority with which the job should be processed. Higher priority jobs are processed before - * lower priority jobs. If not set, the default is normal. Possible values include: 'Low', + * @member {Priority} [priority] Priority with which the job should be + * processed. Higher priority jobs are processed before lower priority jobs. + * If not set, the default is normal. Possible values include: 'Low', * 'Normal', 'High' */ priority?: Priority; /** - * Customer provided key, value pairs that will be returned in Job and JobOutput state events. + * @member {{ [propertyName: string]: string }} [correlationData] Customer + * provided key, value pairs that will be returned in Job and JobOutput state + * events. */ correlationData?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing TrackPropertyCondition. * Class to specify one track property condition + * */ export interface TrackPropertyCondition { /** - * Track property type. Possible values include: 'Unknown', 'FourCC' + * @member {TrackPropertyType} property Track property type. Possible values + * include: 'Unknown', 'FourCC' */ property: TrackPropertyType; /** - * Track property condition operation. Possible values include: 'Unknown', 'Equal' + * @member {TrackPropertyCompareOperation} operation Track property condition + * operation. Possible values include: 'Unknown', 'Equal' */ operation: TrackPropertyCompareOperation; /** - * Track property value + * @member {string} [value] Track property value */ value?: string; } /** + * @interface + * An interface representing TrackSelection. * Class to select a track + * */ export interface TrackSelection { /** - * TrackSelections is a track property condition list which can specify track(s) + * @member {TrackPropertyCondition[]} [trackSelections] TrackSelections is a + * track property condition list which can specify track(s) */ trackSelections?: TrackPropertyCondition[]; } /** - * Class to specify properties of default content key for each encryption scheme + * @interface + * An interface representing DefaultKey. + * Class to specify properties of default content key for each encryption + * scheme + * */ export interface DefaultKey { /** - * Label can be used to specify Content Key when creating a Streaming Locator + * @member {string} [label] Label can be used to specify Content Key when + * creating a Streaming Locator */ label?: string; /** - * Policy used by Default Key + * @member {string} [policyName] Policy used by Default Key */ policyName?: string; } /** + * @interface + * An interface representing StreamingPolicyContentKey. * Class to specify properties of content key + * */ export interface StreamingPolicyContentKey { /** - * Label can be used to specify Content Key when creating a Streaming Locator + * @member {string} [label] Label can be used to specify Content Key when + * creating a Streaming Locator */ label?: string; /** - * Policy used by Content Key + * @member {string} [policyName] Policy used by Content Key */ policyName?: string; /** - * Tracks which use this content key + * @member {TrackSelection[]} [tracks] Tracks which use this content key */ tracks?: TrackSelection[]; } /** + * @interface + * An interface representing StreamingPolicyContentKeys. * Class to specify properties of all content keys in Streaming Policy + * */ export interface StreamingPolicyContentKeys { /** - * Default content key for an encryption scheme + * @member {DefaultKey} [defaultKey] Default content key for an encryption + * scheme */ defaultKey?: DefaultKey; /** - * Representing tracks needs separate content key + * @member {StreamingPolicyContentKey[]} [keyToTrackMappings] Representing + * tracks needs separate content key */ keyToTrackMappings?: StreamingPolicyContentKey[]; } /** + * @interface + * An interface representing StreamingPolicyPlayReadyConfiguration. * Class to specify configurations of PlayReady in Streaming Policy + * */ export interface StreamingPolicyPlayReadyConfiguration { /** - * Template for the URL of the custom service delivering licenses to end user players. Not - * required when using Azure Media Services for issuing licenses. The template supports - * replaceable tokens that the service will update at runtime with the value specific to the - * request. The currently supported token values are {AlternativeMediaId}, which is replaced - * with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced - * with the value of identifier of the key being requested. + * @member {string} [customLicenseAcquisitionUrlTemplate] Template for the + * URL of the custom service delivering licenses to end user players. Not + * required when using Azure Media Services for issuing licenses. The + * template supports replaceable tokens that the service will update at + * runtime with the value specific to the request. The currently supported + * token values are {AlternativeMediaId}, which is replaced with the value of + * StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is + * replaced with the value of identifier of the key being requested. */ customLicenseAcquisitionUrlTemplate?: string; /** - * Custom attributes for PlayReady + * @member {string} [playReadyCustomAttributes] Custom attributes for + * PlayReady */ playReadyCustomAttributes?: string; } /** + * @interface + * An interface representing StreamingPolicyWidevineConfiguration. * Class to specify configurations of Widevine in Streaming Policy + * */ export interface StreamingPolicyWidevineConfiguration { /** - * Template for the URL of the custom service delivering licenses to end user players. Not - * required when using Azure Media Services for issuing licenses. The template supports - * replaceable tokens that the service will update at runtime with the value specific to the - * request. The currently supported token values are {AlternativeMediaId}, which is replaced - * with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced - * with the value of identifier of the key being requested. + * @member {string} [customLicenseAcquisitionUrlTemplate] Template for the + * URL of the custom service delivering licenses to end user players. Not + * required when using Azure Media Services for issuing licenses. The + * template supports replaceable tokens that the service will update at + * runtime with the value specific to the request. The currently supported + * token values are {AlternativeMediaId}, which is replaced with the value of + * StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is + * replaced with the value of identifier of the key being requested. */ customLicenseAcquisitionUrlTemplate?: string; } /** + * @interface + * An interface representing StreamingPolicyFairPlayConfiguration. * Class to specify configurations of FairPlay in Streaming Policy + * */ export interface StreamingPolicyFairPlayConfiguration { /** - * Template for the URL of the custom service delivering licenses to end user players. Not - * required when using Azure Media Services for issuing licenses. The template supports - * replaceable tokens that the service will update at runtime with the value specific to the - * request. The currently supported token values are {AlternativeMediaId}, which is replaced - * with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced - * with the value of identifier of the key being requested. + * @member {string} [customLicenseAcquisitionUrlTemplate] Template for the + * URL of the custom service delivering licenses to end user players. Not + * required when using Azure Media Services for issuing licenses. The + * template supports replaceable tokens that the service will update at + * runtime with the value specific to the request. The currently supported + * token values are {AlternativeMediaId}, which is replaced with the value of + * StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is + * replaced with the value of identifier of the key being requested. */ customLicenseAcquisitionUrlTemplate?: string; /** - * All license to be persistent or not + * @member {boolean} allowPersistentLicense All license to be persistent or + * not */ allowPersistentLicense: boolean; } /** - * Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy + * @interface + * An interface representing CbcsDrmConfiguration. + * Class to specify DRM configurations of CommonEncryptionCbcs scheme in + * Streaming Policy + * */ export interface CbcsDrmConfiguration { /** - * FairPlay configurations + * @member {StreamingPolicyFairPlayConfiguration} [fairPlay] FairPlay + * configurations */ fairPlay?: StreamingPolicyFairPlayConfiguration; /** - * PlayReady configurations + * @member {StreamingPolicyPlayReadyConfiguration} [playReady] PlayReady + * configurations */ playReady?: StreamingPolicyPlayReadyConfiguration; /** - * Widevine configurations + * @member {StreamingPolicyWidevineConfiguration} [widevine] Widevine + * configurations */ widevine?: StreamingPolicyWidevineConfiguration; } /** - * Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy + * @interface + * An interface representing CencDrmConfiguration. + * Class to specify DRM configurations of CommonEncryptionCenc scheme in + * Streaming Policy + * */ export interface CencDrmConfiguration { /** - * PlayReady configurations + * @member {StreamingPolicyPlayReadyConfiguration} [playReady] PlayReady + * configurations */ playReady?: StreamingPolicyPlayReadyConfiguration; /** - * Widevine configurations + * @member {StreamingPolicyWidevineConfiguration} [widevine] Widevine + * configurations */ widevine?: StreamingPolicyWidevineConfiguration; } /** + * @interface + * An interface representing EnabledProtocols. * Class to specify which protocols are enabled + * */ export interface EnabledProtocols { /** - * Enable Download protocol or not + * @member {boolean} download Enable Download protocol or not */ download: boolean; /** - * Enable DASH protocol or not + * @member {boolean} dash Enable DASH protocol or not */ dash: boolean; /** - * Enable HLS protocol or not + * @member {boolean} hls Enable HLS protocol or not */ hls: boolean; /** - * Enable SmoothStreaming protocol or not + * @member {boolean} smoothStreaming Enable SmoothStreaming protocol or not */ smoothStreaming: boolean; } /** + * @interface + * An interface representing NoEncryption. * Class for NoEncryption scheme + * */ export interface NoEncryption { /** - * Representing supported protocols + * @member {EnabledProtocols} [enabledProtocols] Representing supported + * protocols */ enabledProtocols?: EnabledProtocols; } /** + * @interface + * An interface representing EnvelopeEncryption. * Class for EnvelopeEncryption encryption scheme + * */ export interface EnvelopeEncryption { /** - * Representing supported protocols + * @member {EnabledProtocols} [enabledProtocols] Representing supported + * protocols */ enabledProtocols?: EnabledProtocols; /** - * Representing which tracks should not be encrypted + * @member {TrackSelection[]} [clearTracks] Representing which tracks should + * not be encrypted */ clearTracks?: TrackSelection[]; /** - * Representing default content key for each encryption scheme and separate content keys for + * @member {StreamingPolicyContentKeys} [contentKeys] Representing default + * content key for each encryption scheme and separate content keys for * specific tracks */ contentKeys?: StreamingPolicyContentKeys; /** - * Template for the URL of the custom service delivering keys to end user players. Not required - * when using Azure Media Services for issuing keys. The template supports replaceable tokens - * that the service will update at runtime with the value specific to the request. The currently - * supported token values are {AlternativeMediaId}, which is replaced with the value of - * StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of - * identifier of the key being requested. + * @member {string} [customKeyAcquisitionUrlTemplate] Template for the URL of + * the custom service delivering keys to end user players. Not required when + * using Azure Media Services for issuing keys. The template supports + * replaceable tokens that the service will update at runtime with the value + * specific to the request. The currently supported token values are + * {AlternativeMediaId}, which is replaced with the value of + * StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is + * replaced with the value of identifier of the key being requested. */ customKeyAcquisitionUrlTemplate?: string; } /** + * @interface + * An interface representing CommonEncryptionCenc. * Class for envelope encryption scheme + * */ export interface CommonEncryptionCenc { /** - * Representing supported protocols + * @member {EnabledProtocols} [enabledProtocols] Representing supported + * protocols */ enabledProtocols?: EnabledProtocols; /** - * Representing which tracks should not be encrypted + * @member {TrackSelection[]} [clearTracks] Representing which tracks should + * not be encrypted */ clearTracks?: TrackSelection[]; /** - * Representing default content key for each encryption scheme and separate content keys for + * @member {StreamingPolicyContentKeys} [contentKeys] Representing default + * content key for each encryption scheme and separate content keys for * specific tracks */ contentKeys?: StreamingPolicyContentKeys; /** - * Configuration of DRMs for CommonEncryptionCenc encryption scheme + * @member {CencDrmConfiguration} [drm] Configuration of DRMs for + * CommonEncryptionCenc encryption scheme */ drm?: CencDrmConfiguration; } /** + * @interface + * An interface representing CommonEncryptionCbcs. * Class for CommonEncryptionCbcs encryption scheme + * */ export interface CommonEncryptionCbcs { /** - * Representing supported protocols + * @member {EnabledProtocols} [enabledProtocols] Representing supported + * protocols */ enabledProtocols?: EnabledProtocols; /** - * Representing which tracks should not be encrypted + * @member {TrackSelection[]} [clearTracks] Representing which tracks should + * not be encrypted */ clearTracks?: TrackSelection[]; /** - * Representing default content key for each encryption scheme and separate content keys for + * @member {StreamingPolicyContentKeys} [contentKeys] Representing default + * content key for each encryption scheme and separate content keys for * specific tracks */ contentKeys?: StreamingPolicyContentKeys; /** - * Configuration of DRMs for current encryption scheme + * @member {CbcsDrmConfiguration} [drm] Configuration of DRMs for current + * encryption scheme */ drm?: CbcsDrmConfiguration; } /** + * @interface + * An interface representing StreamingPolicy. * A Streaming Policy resource + * + * @extends ProxyResource */ export interface StreamingPolicy extends ProxyResource { /** - * Creation time of Streaming Policy - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] Creation time of Streaming Policy + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * Default ContentKey used by current Streaming Policy + * @member {string} [defaultContentKeyPolicyName] Default ContentKey used by + * current Streaming Policy */ defaultContentKeyPolicyName?: string; /** - * Configuration of EnvelopeEncryption + * @member {EnvelopeEncryption} [envelopeEncryption] Configuration of + * EnvelopeEncryption */ envelopeEncryption?: EnvelopeEncryption; /** - * Configuration of CommonEncryptionCenc + * @member {CommonEncryptionCenc} [commonEncryptionCenc] Configuration of + * CommonEncryptionCenc */ commonEncryptionCenc?: CommonEncryptionCenc; /** - * Configuration of CommonEncryptionCbcs + * @member {CommonEncryptionCbcs} [commonEncryptionCbcs] Configuration of + * CommonEncryptionCbcs */ commonEncryptionCbcs?: CommonEncryptionCbcs; /** - * Configurations of NoEncryption + * @member {NoEncryption} [noEncryption] Configurations of NoEncryption */ noEncryption?: NoEncryption; } /** + * @interface + * An interface representing StreamingLocatorContentKey. * Class for content key in Streaming Locator + * */ export interface StreamingLocatorContentKey { /** - * ID of Content Key + * @member {string} id ID of Content Key */ id: string; /** - * Encryption type of Content Key. Possible values include: 'CommonEncryptionCenc', + * @member {StreamingLocatorContentKeyType} [type] Encryption type of Content + * Key. Possible values include: 'CommonEncryptionCenc', * 'CommonEncryptionCbcs', 'EnvelopeEncryption' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: StreamingLocatorContentKeyType; /** - * Label of Content Key as specified in the Streaming Policy + * @member {string} [labelReferenceInStreamingPolicy] Label of Content Key as + * specified in the Streaming Policy */ labelReferenceInStreamingPolicy?: string; /** - * Value of Content Key + * @member {string} [value] Value of Content Key */ value?: string; /** - * ContentKeyPolicy used by Content Key - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [policyName] ContentKeyPolicy used by Content Key + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly policyName?: string; /** - * Tracks which use this Content Key - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {TrackSelection[]} [tracks] Tracks which use this Content Key + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly tracks?: TrackSelection[]; } /** + * @interface + * An interface representing StreamingPath. * Class of paths for streaming + * */ export interface StreamingPath { /** - * Streaming protocol. Possible values include: 'Hls', 'Dash', 'SmoothStreaming', 'Download' + * @member {StreamingPolicyStreamingProtocol} streamingProtocol Streaming + * protocol. Possible values include: 'Hls', 'Dash', 'SmoothStreaming', + * 'Download' */ streamingProtocol: StreamingPolicyStreamingProtocol; /** - * Encryption scheme. Possible values include: 'NoEncryption', 'EnvelopeEncryption', + * @member {EncryptionScheme} encryptionScheme Encryption scheme. Possible + * values include: 'NoEncryption', 'EnvelopeEncryption', * 'CommonEncryptionCenc', 'CommonEncryptionCbcs' */ encryptionScheme: EncryptionScheme; /** - * Streaming paths for each protocol and encryptionScheme pair + * @member {string[]} [paths] Streaming paths for each protocol and + * encryptionScheme pair */ paths?: string[]; } /** + * @interface + * An interface representing ListContentKeysResponse. * Class of response for listContentKeys action + * */ export interface ListContentKeysResponse { /** - * ContentKeys used by current Streaming Locator + * @member {StreamingLocatorContentKey[]} [contentKeys] ContentKeys used by + * current Streaming Locator */ contentKeys?: StreamingLocatorContentKey[]; } /** + * @interface + * An interface representing ListPathsResponse. * Class of response for listPaths action + * */ export interface ListPathsResponse { /** - * Streaming Paths supported by current Streaming Locator + * @member {StreamingPath[]} [streamingPaths] Streaming Paths supported by + * current Streaming Locator */ streamingPaths?: StreamingPath[]; /** - * Download Paths supported by current Streaming Locator + * @member {string[]} [downloadPaths] Download Paths supported by current + * Streaming Locator */ downloadPaths?: string[]; } /** + * @interface + * An interface representing StreamingLocator. * A Streaming Locator resource + * + * @extends ProxyResource */ export interface StreamingLocator extends ProxyResource { /** - * Asset Name + * @member {string} assetName Asset Name */ assetName: string; /** - * The creation time of the Streaming Locator. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The creation time of the Streaming Locator. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The start time of the Streaming Locator. + * @member {Date} [startTime] The start time of the Streaming Locator. */ startTime?: Date; /** - * The end time of the Streaming Locator. + * @member {Date} [endTime] The end time of the Streaming Locator. */ endTime?: Date; /** - * The StreamingLocatorId of the Streaming Locator. + * @member {string} [streamingLocatorId] The StreamingLocatorId of the + * Streaming Locator. */ streamingLocatorId?: string; /** - * Name of the Streaming Policy used by this Streaming Locator. Either specify the name of - * Streaming Policy you created or use one of the predefined Streaming Policies. The predefined - * Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', - * 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', - * 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming' + * @member {string} streamingPolicyName Name of the Streaming Policy used by + * this Streaming Locator. Either specify the name of Streaming Policy you + * created or use one of the predefined Streaming Policies. The predefined + * Streaming Policies available are: 'Predefined_DownloadOnly', + * 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', + * 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and + * 'Predefined_MultiDrmStreaming' */ streamingPolicyName: string; /** - * Name of the default ContentKeyPolicy used by this Streaming Locator. + * @member {string} [defaultContentKeyPolicyName] Name of the default + * ContentKeyPolicy used by this Streaming Locator. */ defaultContentKeyPolicyName?: string; /** - * The ContentKeys used by this Streaming Locator. + * @member {StreamingLocatorContentKey[]} [contentKeys] The ContentKeys used + * by this Streaming Locator. */ contentKeys?: StreamingLocatorContentKey[]; /** - * Alternative Media ID of this Streaming Locator + * @member {string} [alternativeMediaId] Alternative Media ID of this + * Streaming Locator */ alternativeMediaId?: string; /** - * A list of asset or account filters which apply to this streaming locator + * @member {string[]} [filters] A list of asset or account filters which + * apply to this streaming locator */ filters?: string[]; } /** + * @interface + * An interface representing Hls. * The HLS configuration. + * */ export interface Hls { /** - * The amount of fragments per HTTP Live Streaming (HLS) segment. + * @member {number} [fragmentsPerTsSegment] The amount of fragments per HTTP + * Live Streaming (HLS) segment. */ fragmentsPerTsSegment?: number; } /** + * @interface + * An interface representing LiveOutput. * The Live Output. + * + * @extends ProxyResource */ export interface LiveOutput extends ProxyResource { /** - * The description of the Live Output. + * @member {string} [description] The description of the Live Output. */ description?: string; /** - * The asset name. + * @member {string} assetName The asset name. */ assetName: string; /** - * ISO 8601 timespan duration of the archive window length. This is duration that customer want - * to retain the recorded content. + * @member {string} archiveWindowLength ISO 8601 timespan duration of the + * archive window length. This is duration that customer want to retain the + * recorded content. */ archiveWindowLength: string; /** - * The manifest file name. If not provided, the service will generate one automatically. + * @member {string} [manifestName] The manifest file name. If not provided, + * the service will generate one automatically. */ manifestName?: string; /** - * The HLS configuration. + * @member {Hls} [hls] The HLS configuration. */ hls?: Hls; /** - * The output snapshot time. + * @member {number} [outputSnapTime] The output snapshot time. */ outputSnapTime?: number; /** - * The exact time the Live Output was created. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The exact time the Live Output was created. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The exact time the Live Output was last modified. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The exact time the Live Output was last + * modified. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; /** - * The provisioning state of the Live Output. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] The provisioning state of the Live + * Output. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; /** - * The resource state of the Live Output. Possible values include: 'Creating', 'Running', + * @member {LiveOutputResourceState} [resourceState] The resource state of + * the Live Output. Possible values include: 'Creating', 'Running', * 'Deleting' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: LiveOutputResourceState; } /** + * @interface + * An interface representing LiveEventEndpoint. * The Live Event endpoint. + * */ export interface LiveEventEndpoint { /** - * The endpoint protocol. + * @member {string} [protocol] The endpoint protocol. */ protocol?: string; /** - * The endpoint URL. + * @member {string} [url] The endpoint URL. */ url?: string; } /** + * @interface + * An interface representing IPRange. * The IP address range in the CIDR scheme. + * */ export interface IPRange { /** - * The friendly name for the IP address range. + * @member {string} [name] The friendly name for the IP address range. */ name?: string; /** - * The IP address. + * @member {string} [address] The IP address. */ address?: string; /** - * The subnet mask prefix length (see CIDR notation). + * @member {number} [subnetPrefixLength] The subnet mask prefix length (see + * CIDR notation). */ subnetPrefixLength?: number; } /** + * @interface + * An interface representing IPAccessControl. * The IP access control. + * */ export interface IPAccessControl { /** - * The IP allow list. + * @member {IPRange[]} [allow] The IP allow list. */ allow?: IPRange[]; } /** + * @interface + * An interface representing LiveEventInputAccessControl. * The IP access control for Live Event Input. + * */ export interface LiveEventInputAccessControl { /** - * The IP access control properties. + * @member {IPAccessControl} [ip] The IP access control properties. */ ip?: IPAccessControl; } /** + * @interface + * An interface representing LiveEventInput. * The Live Event input. + * */ export interface LiveEventInput { /** - * The streaming protocol for the Live Event. This is specified at creation time and cannot be + * @member {LiveEventInputProtocol} streamingProtocol The streaming protocol + * for the Live Event. This is specified at creation time and cannot be * updated. Possible values include: 'FragmentedMP4', 'RTMP' */ streamingProtocol: LiveEventInputProtocol; /** - * The access control for LiveEvent Input. + * @member {LiveEventInputAccessControl} [accessControl] The access control + * for LiveEvent Input. */ accessControl?: LiveEventInputAccessControl; /** - * ISO 8601 timespan duration of the key frame interval duration. + * @member {string} [keyFrameIntervalDuration] ISO 8601 timespan duration of + * the key frame interval duration. */ keyFrameIntervalDuration?: string; /** - * A unique identifier for a stream. This can be specified at creation time but cannot be - * updated. If omitted, the service will generate a unique value. + * @member {string} [accessToken] A unique identifier for a stream. This can + * be specified at creation time but cannot be updated. If omitted, the + * service will generate a unique value. */ accessToken?: string; /** - * The input endpoints for the Live Event. + * @member {LiveEventEndpoint[]} [endpoints] The input endpoints for the Live + * Event. */ endpoints?: LiveEventEndpoint[]; } /** + * @interface + * An interface representing LiveEventPreviewAccessControl. * The IP access control for Live Event preview. + * */ export interface LiveEventPreviewAccessControl { /** - * The IP access control properties. + * @member {IPAccessControl} [ip] The IP access control properties. */ ip?: IPAccessControl; } /** + * @interface + * An interface representing LiveEventPreview. * The Live Event preview. + * */ export interface LiveEventPreview { /** - * The endpoints for preview. + * @member {LiveEventEndpoint[]} [endpoints] The endpoints for preview. */ endpoints?: LiveEventEndpoint[]; /** - * The access control for LiveEvent preview. + * @member {LiveEventPreviewAccessControl} [accessControl] The access control + * for LiveEvent preview. */ accessControl?: LiveEventPreviewAccessControl; /** - * 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. + * @member {string} [previewLocator] 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. */ previewLocator?: string; /** - * The name of streaming policy used for the LiveEvent preview. This value is specified at - * creation time and cannot be updated. + * @member {string} [streamingPolicyName] The name of streaming policy used + * for the LiveEvent preview. This value is specified at creation time and + * cannot be updated. */ streamingPolicyName?: string; /** - * An Alternative Media Identifier associated with the StreamingLocator 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. + * @member {string} [alternativeMediaId] An Alternative Media Identifier + * associated with the StreamingLocator 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. */ alternativeMediaId?: string; } /** + * @interface + * An interface representing LiveEventEncoding. * The Live Event encoding. + * */ export interface LiveEventEncoding { /** - * The encoding type for Live Event. This value is specified at creation time and cannot be - * updated. Possible values include: 'None', 'Basic', 'Standard' + * @member {LiveEventEncodingType} [encodingType] The encoding type for Live + * Event. This value is specified at creation time and cannot be updated. + * Possible values include: 'None', 'Basic', 'Standard' */ encodingType?: LiveEventEncodingType; /** - * The encoding preset name. This value is specified at creation time and cannot be updated. + * @member {string} [presetName] The encoding preset name. This value is + * specified at creation time and cannot be updated. */ presetName?: string; } /** + * @interface + * An interface representing CrossSiteAccessPolicies. * The client access policy. + * */ export interface CrossSiteAccessPolicies { /** - * The content of clientaccesspolicy.xml used by Silverlight. + * @member {string} [clientAccessPolicy] The content of + * clientaccesspolicy.xml used by Silverlight. */ clientAccessPolicy?: string; /** - * The content of crossdomain.xml used by Silverlight. + * @member {string} [crossDomainPolicy] The content of crossdomain.xml used + * by Silverlight. */ crossDomainPolicy?: string; } /** + * @interface + * An interface representing LiveEventActionInput. * The LiveEvent action input parameter definition. + * */ export interface LiveEventActionInput { /** - * The flag indicates if remove LiveOutputs on Stop. + * @member {boolean} [removeOutputsOnStop] The flag indicates if remove + * LiveOutputs on Stop. */ removeOutputsOnStop?: boolean; } /** + * @interface + * An interface representing LiveEvent. * The Live Event. + * + * @extends TrackedResource */ export interface LiveEvent extends TrackedResource { /** - * The Live Event description. + * @member {string} [description] The Live Event description. */ description?: string; /** - * The Live Event input. + * @member {LiveEventInput} input The Live Event input. */ input: LiveEventInput; /** - * The Live Event preview. + * @member {LiveEventPreview} [preview] The Live Event preview. */ preview?: LiveEventPreview; /** - * The Live Event encoding. + * @member {LiveEventEncoding} [encoding] The Live Event encoding. */ encoding?: LiveEventEncoding; /** - * The provisioning state of the Live Event. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] The provisioning state of the Live + * Event. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; /** - * The resource state of the Live Event. Possible values include: 'Stopped', 'Starting', - * 'Running', 'Stopping', 'Deleting' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LiveEventResourceState} [resourceState] The resource state of the + * Live Event. Possible values include: 'Stopped', 'Starting', 'Running', + * 'Stopping', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: LiveEventResourceState; /** - * The Live Event access policies. + * @member {CrossSiteAccessPolicies} [crossSiteAccessPolicies] The Live Event + * access policies. */ crossSiteAccessPolicies?: CrossSiteAccessPolicies; /** - * Specifies whether to use a vanity url with the Live Event. This value is specified at - * creation time and cannot be updated. + * @member {boolean} [vanityUrl] Specifies whether to use a vanity url with + * the Live Event. This value is specified at creation time and cannot be + * updated. */ vanityUrl?: boolean; /** - * The options to use for the LiveEvent. This value is specified at creation time and cannot be + * @member {StreamOptionsFlag[]} [streamOptions] The options to use for the + * LiveEvent. This value is specified at creation time and cannot be * updated. */ streamOptions?: StreamOptionsFlag[]; /** - * The exact time the Live Event was created. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The exact time the Live Event was created. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The exact time the Live Event was last modified. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The exact time the Live Event was last + * modified. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; } /** + * @interface + * An interface representing AkamaiSignatureHeaderAuthenticationKey. * Akamai Signature Header authentication key. + * */ export interface AkamaiSignatureHeaderAuthenticationKey { /** - * identifier of the key + * @member {string} [identifier] identifier of the key */ identifier?: string; /** - * authentication key + * @member {string} [base64Key] authentication key */ base64Key?: string; /** - * The expiration time of the authentication key. + * @member {Date} [expiration] The expiration time of the authentication key. */ expiration?: Date; } /** + * @interface + * An interface representing AkamaiAccessControl. * Akamai access control + * */ export interface AkamaiAccessControl { /** - * authentication key list + * @member {AkamaiSignatureHeaderAuthenticationKey[]} + * [akamaiSignatureHeaderAuthenticationKeyList] authentication key list */ akamaiSignatureHeaderAuthenticationKeyList?: AkamaiSignatureHeaderAuthenticationKey[]; } /** + * @interface + * An interface representing StreamingEndpointAccessControl. * StreamingEndpoint access control definition. + * */ export interface StreamingEndpointAccessControl { /** - * The access control of Akamai + * @member {AkamaiAccessControl} [akamai] The access control of Akamai */ akamai?: AkamaiAccessControl; /** - * The IP access control of the StreamingEndpoint. + * @member {IPAccessControl} [ip] The IP access control of the + * StreamingEndpoint. */ ip?: IPAccessControl; } /** + * @interface + * An interface representing StreamingEntityScaleUnit. * scale units definition + * */ export interface StreamingEntityScaleUnit { /** - * The scale unit number of the StreamingEndpoint. + * @member {number} [scaleUnit] The scale unit number of the + * StreamingEndpoint. */ scaleUnit?: number; } /** + * @interface + * An interface representing StreamingEndpoint. * The StreamingEndpoint. + * + * @extends TrackedResource */ export interface StreamingEndpoint extends TrackedResource { /** - * The StreamingEndpoint description. + * @member {string} [description] The StreamingEndpoint description. */ description?: string; /** - * The number of scale units. Use the Scale operation to adjust this value. + * @member {number} scaleUnits The number of scale units. Use the Scale + * operation to adjust this value. */ scaleUnits: number; /** - * The name of the AvailabilitySet used with this StreamingEndpoint for high availability - * streaming. This value can only be set at creation time. + * @member {string} [availabilitySetName] The name of the AvailabilitySet + * used with this StreamingEndpoint for high availability streaming. This + * value can only be set at creation time. */ availabilitySetName?: string; /** - * The access control definition of the StreamingEndpoint. + * @member {StreamingEndpointAccessControl} [accessControl] The access + * control definition of the StreamingEndpoint. */ accessControl?: StreamingEndpointAccessControl; /** - * Max cache age + * @member {number} [maxCacheAge] Max cache age */ maxCacheAge?: number; /** - * The custom host names of the StreamingEndpoint + * @member {string[]} [customHostNames] The custom host names of the + * StreamingEndpoint */ customHostNames?: string[]; /** - * The StreamingEndpoint host name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [hostName] The StreamingEndpoint host name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly hostName?: string; /** - * The CDN enabled flag. + * @member {boolean} [cdnEnabled] The CDN enabled flag. */ cdnEnabled?: boolean; /** - * The CDN provider name. + * @member {string} [cdnProvider] The CDN provider name. */ cdnProvider?: string; /** - * The CDN profile name. + * @member {string} [cdnProfile] The CDN profile name. */ cdnProfile?: string; /** - * The provisioning state of the StreamingEndpoint. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] The provisioning state of the + * StreamingEndpoint. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; /** - * The resource state of the StreamingEndpoint. Possible values include: 'Stopped', 'Starting', - * 'Running', 'Stopping', 'Deleting', 'Scaling' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {StreamingEndpointResourceState} [resourceState] The resource + * state of the StreamingEndpoint. Possible values include: 'Stopped', + * 'Starting', 'Running', 'Stopping', 'Deleting', 'Scaling' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: StreamingEndpointResourceState; /** - * The StreamingEndpoint access policies. + * @member {CrossSiteAccessPolicies} [crossSiteAccessPolicies] The + * StreamingEndpoint access policies. */ crossSiteAccessPolicies?: CrossSiteAccessPolicies; /** - * The free trial expiration time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [freeTrialEndTime] The free trial expiration time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly freeTrialEndTime?: Date; /** - * The exact time the StreamingEndpoint was created. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [created] The exact time the StreamingEndpoint was created. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly created?: Date; /** - * The exact time the StreamingEndpoint was last modified. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastModified] The exact time the StreamingEndpoint was + * last modified. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastModified?: Date; } /** + * @interface + * An interface representing AssetsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface AssetsListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies a non-negative integer n that limits the number of items returned from a collection. - * The service returns the number of available items up to but not greater than the specified - * value n. + * @member {number} [top] Specifies a non-negative integer n that limits the + * number of items returned from a collection. The service returns the number + * of available items up to but not greater than the specified value n. */ top?: number; /** - * Specifies the the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing ContentKeyPoliciesListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ContentKeyPoliciesListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies a non-negative integer n that limits the number of items returned from a collection. - * The service returns the number of available items up to but not greater than the specified - * value n. + * @member {number} [top] Specifies a non-negative integer n that limits the + * number of items returned from a collection. The service returns the number + * of available items up to but not greater than the specified value n. */ top?: number; /** - * Specifies the the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing TransformsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface TransformsListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies the the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing JobsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface JobsListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies the the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing StreamingPoliciesListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface StreamingPoliciesListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies a non-negative integer n that limits the number of items returned from a collection. - * The service returns the number of available items up to but not greater than the specified - * value n. + * @member {number} [top] Specifies a non-negative integer n that limits the + * number of items returned from a collection. The service returns the number + * of available items up to but not greater than the specified value n. */ top?: number; /** - * Specifies the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing StreamingLocatorsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface StreamingLocatorsListOptionalParams extends msRest.RequestOptionsBase { /** - * Restricts the set of items returned. + * @member {string} [filter] Restricts the set of items returned. */ filter?: string; /** - * Specifies a non-negative integer n that limits the number of items returned from a collection. - * The service returns the number of available items up to but not greater than the specified - * value n. + * @member {number} [top] Specifies a non-negative integer n that limits the + * number of items returned from a collection. The service returns the number + * of available items up to but not greater than the specified value n. */ top?: number; /** - * Specifies the key by which the result collection should be ordered. + * @member {string} [orderby] Specifies the key by which the result + * collection should be ordered. */ orderby?: string; } /** + * @interface + * An interface representing LiveEventsCreateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface LiveEventsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * The flag indicates if the resource should be automatically started on creation. + * @member {boolean} [autoStart] The flag indicates if the resource should be + * automatically started on creation. */ autoStart?: boolean; } /** + * @interface + * An interface representing LiveEventsBeginCreateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface LiveEventsBeginCreateOptionalParams extends msRest.RequestOptionsBase { /** - * The flag indicates if the resource should be automatically started on creation. + * @member {boolean} [autoStart] The flag indicates if the resource should be + * automatically started on creation. */ autoStart?: boolean; } /** + * @interface + * An interface representing StreamingEndpointsCreateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface StreamingEndpointsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * The flag indicates if the resource should be automatically started on creation. + * @member {boolean} [autoStart] The flag indicates if the resource should be + * automatically started on creation. */ autoStart?: boolean; } /** + * @interface + * An interface representing StreamingEndpointsBeginCreateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface StreamingEndpointsBeginCreateOptionalParams extends msRest.RequestOptionsBase { /** - * The flag indicates if the resource should be automatically started on creation. + * @member {boolean} [autoStart] The flag indicates if the resource should be + * automatically started on creation. */ autoStart?: boolean; } /** + * @interface * An interface representing AzureMediaServicesOptions. + * @extends AzureServiceClientOptions */ export interface AzureMediaServicesOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ baseUri?: string; } + /** * @interface + * An interface representing the AccountFilterCollection. * A collection of AccountFilter items. + * * @extends Array */ export interface AccountFilterCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the OperationCollection. * A collection of Operation items. + * * @extends Array */ export interface OperationCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the MediaServiceCollection. * A collection of MediaService items. + * * @extends Array */ export interface MediaServiceCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the SubscriptionMediaServiceCollection. * A collection of SubscriptionMediaService items. + * * @extends Array */ export interface SubscriptionMediaServiceCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the AssetCollection. * A collection of Asset items. + * * @extends Array */ export interface AssetCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the AssetFilterCollection. * A collection of AssetFilter items. + * * @extends Array */ export interface AssetFilterCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the ContentKeyPolicyCollection. * A collection of ContentKeyPolicy items. + * * @extends Array */ export interface ContentKeyPolicyCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the TransformCollection. * A collection of Transform items. + * * @extends Array */ export interface TransformCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the JobCollection. * A collection of Job items. + * * @extends Array */ export interface JobCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the StreamingPolicyCollection. * A collection of StreamingPolicy items. + * * @extends Array */ export interface StreamingPolicyCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface + * An interface representing the StreamingLocatorCollection. * A collection of StreamingLocator items. + * * @extends Array */ export interface StreamingLocatorCollection extends Array { /** - * A link to the next page of the collection (when the collection contains too many results to - * return in one response). + * @member {string} [odatanextLink] A link to the next page of the collection + * (when the collection contains too many results to return in one response). */ odatanextLink?: string; } /** * @interface - * The LiveEvent list result. + * An interface representing the LiveEventListResult. * @summary LiveEventListResult + * + * The LiveEvent list result. + * * @extends Array */ export interface LiveEventListResult extends Array { /** - * The number of result. + * @member {number} [odatacount] The number of result. */ odatacount?: number; /** - * Th link to the next set of results. Not empty if value contains incomplete list of Live - * Outputs. + * @member {string} [odatanextLink] Th link to the next set of results. Not + * empty if value contains incomplete list of Live Outputs. */ odatanextLink?: string; } /** * @interface - * The LiveOutput list result. + * An interface representing the LiveOutputListResult. * @summary LiveOutputListResult + * + * The LiveOutput list result. + * * @extends Array */ export interface LiveOutputListResult extends Array { /** - * The number of result. + * @member {number} [odatacount] The number of result. */ odatacount?: number; /** - * Th link to the next set of results. Not empty if value contains incomplete list of Live - * Outputs. + * @member {string} [odatanextLink] Th link to the next set of results. Not + * empty if value contains incomplete list of Live Outputs. */ odatanextLink?: string; } /** * @interface - * The StreamingEndpoint list result. + * An interface representing the StreamingEndpointListResult. * @summary StreamingEndpointListResult + * + * The StreamingEndpoint list result. + * * @extends Array */ export interface StreamingEndpointListResult extends Array { /** - * The number of result. + * @member {number} [odatacount] The number of result. */ odatacount?: number; /** - * Th link to the next set of results. Not empty if value contains incomplete list of - * StreamingEndpoints. + * @member {string} [odatanextLink] Th link to the next set of results. Not + * empty if value contains incomplete list of StreamingEndpoints. */ odatanextLink?: string; } @@ -4071,7 +5026,6 @@ export type AccountFiltersListResponse = AccountFilterCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4091,7 +5045,6 @@ export type AccountFiltersGetResponse = AccountFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4111,7 +5064,6 @@ export type AccountFiltersCreateOrUpdateResponse = AccountFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4131,7 +5083,6 @@ export type AccountFiltersUpdateResponse = AccountFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4151,7 +5102,6 @@ export type AccountFiltersListNextResponse = AccountFilterCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4171,7 +5121,6 @@ export type OperationsListResponse = OperationCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4191,7 +5140,6 @@ export type OperationsListNextResponse = OperationCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4211,7 +5159,6 @@ export type MediaservicesListResponse = MediaServiceCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4231,7 +5178,6 @@ export type MediaservicesGetResponse = MediaService & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4251,7 +5197,6 @@ export type MediaservicesCreateOrUpdateResponse = MediaService & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4271,7 +5216,6 @@ export type MediaservicesUpdateResponse = MediaService & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4291,7 +5235,6 @@ export type MediaservicesListBySubscriptionResponse = SubscriptionMediaServiceCo * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4311,7 +5254,6 @@ export type MediaservicesGetBySubscriptionResponse = SubscriptionMediaService & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4331,7 +5273,6 @@ export type MediaservicesListNextResponse = MediaServiceCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4351,7 +5292,6 @@ export type MediaservicesListBySubscriptionNextResponse = SubscriptionMediaServi * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4371,7 +5311,6 @@ export type LocationsCheckNameAvailabilityResponse = EntityNameAvailabilityCheck * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4391,7 +5330,6 @@ export type AssetsListResponse = AssetCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4411,7 +5349,6 @@ export type AssetsGetResponse = Asset & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4431,7 +5368,6 @@ export type AssetsCreateOrUpdateResponse = Asset & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4451,7 +5387,6 @@ export type AssetsUpdateResponse = Asset & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4471,7 +5406,6 @@ export type AssetsListContainerSasResponse = AssetContainerSas & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4491,7 +5425,6 @@ export type AssetsGetEncryptionKeyResponse = StorageEncryptedAssetDecryptionData * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4511,7 +5444,6 @@ export type AssetsListStreamingLocatorsResponse = ListStreamingLocatorsResponse * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4531,7 +5463,6 @@ export type AssetsListNextResponse = AssetCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4551,7 +5482,6 @@ export type AssetFiltersListResponse = AssetFilterCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4571,7 +5501,6 @@ export type AssetFiltersGetResponse = AssetFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4591,7 +5520,6 @@ export type AssetFiltersCreateOrUpdateResponse = AssetFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4611,7 +5539,6 @@ export type AssetFiltersUpdateResponse = AssetFilter & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4631,7 +5558,6 @@ export type AssetFiltersListNextResponse = AssetFilterCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4651,7 +5577,6 @@ export type ContentKeyPoliciesListResponse = ContentKeyPolicyCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4671,7 +5596,6 @@ export type ContentKeyPoliciesGetResponse = ContentKeyPolicy & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4691,7 +5615,6 @@ export type ContentKeyPoliciesCreateOrUpdateResponse = ContentKeyPolicy & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4711,7 +5634,6 @@ export type ContentKeyPoliciesUpdateResponse = ContentKeyPolicy & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4731,7 +5653,6 @@ export type ContentKeyPoliciesGetPolicyPropertiesWithSecretsResponse = ContentKe * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4751,7 +5672,6 @@ export type ContentKeyPoliciesListNextResponse = ContentKeyPolicyCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4771,7 +5691,6 @@ export type TransformsListResponse = TransformCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4791,7 +5710,6 @@ export type TransformsGetResponse = Transform & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4811,7 +5729,6 @@ export type TransformsCreateOrUpdateResponse = Transform & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4831,7 +5748,6 @@ export type TransformsUpdateResponse = Transform & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4851,7 +5767,6 @@ export type TransformsListNextResponse = TransformCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4871,7 +5786,6 @@ export type JobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4891,7 +5805,6 @@ export type JobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4911,7 +5824,6 @@ export type JobsCreateResponse = Job & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4931,7 +5843,6 @@ export type JobsUpdateResponse = Job & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4951,7 +5862,6 @@ export type JobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4971,7 +5881,6 @@ export type StreamingPoliciesListResponse = StreamingPolicyCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4991,7 +5900,6 @@ export type StreamingPoliciesGetResponse = StreamingPolicy & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5011,7 +5919,6 @@ export type StreamingPoliciesCreateResponse = StreamingPolicy & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5031,7 +5938,6 @@ export type StreamingPoliciesListNextResponse = StreamingPolicyCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5051,7 +5957,6 @@ export type StreamingLocatorsListResponse = StreamingLocatorCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5071,7 +5976,6 @@ export type StreamingLocatorsGetResponse = StreamingLocator & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5091,7 +5995,6 @@ export type StreamingLocatorsCreateResponse = StreamingLocator & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5111,7 +6014,6 @@ export type StreamingLocatorsListContentKeysResponse = ListContentKeysResponse & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5131,7 +6033,6 @@ export type StreamingLocatorsListPathsResponse = ListPathsResponse & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5151,7 +6052,6 @@ export type StreamingLocatorsListNextResponse = StreamingLocatorCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5171,7 +6071,6 @@ export type LiveEventsListResponse = LiveEventListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5191,7 +6090,6 @@ export type LiveEventsGetResponse = LiveEvent & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5211,7 +6109,6 @@ export type LiveEventsCreateResponse = LiveEvent & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5231,7 +6128,6 @@ export type LiveEventsUpdateResponse = LiveEvent & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5251,7 +6147,6 @@ export type LiveEventsBeginCreateResponse = LiveEvent & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5271,7 +6166,6 @@ export type LiveEventsBeginUpdateResponse = LiveEvent & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5291,7 +6185,6 @@ export type LiveEventsListNextResponse = LiveEventListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5311,7 +6204,6 @@ export type LiveOutputsListResponse = LiveOutputListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5331,7 +6223,6 @@ export type LiveOutputsGetResponse = LiveOutput & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5351,7 +6242,6 @@ export type LiveOutputsCreateResponse = LiveOutput & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5371,7 +6261,6 @@ export type LiveOutputsBeginCreateResponse = LiveOutput & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5391,7 +6280,6 @@ export type LiveOutputsListNextResponse = LiveOutputListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5411,7 +6299,6 @@ export type StreamingEndpointsListResponse = StreamingEndpointListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5431,7 +6318,6 @@ export type StreamingEndpointsGetResponse = StreamingEndpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5451,7 +6337,6 @@ export type StreamingEndpointsCreateResponse = StreamingEndpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5471,7 +6356,6 @@ export type StreamingEndpointsUpdateResponse = StreamingEndpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5491,7 +6375,6 @@ export type StreamingEndpointsBeginCreateResponse = StreamingEndpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5511,7 +6394,6 @@ export type StreamingEndpointsBeginUpdateResponse = StreamingEndpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -5531,7 +6413,6 @@ export type StreamingEndpointsListNextResponse = StreamingEndpointListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-mediaservices/lib/models/jobsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/jobsMappers.ts index a10c40cb416e..f0e0a850816b 100644 --- a/packages/@azure/arm-mediaservices/lib/models/jobsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/jobsMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + JobCollection, + Job, + ProxyResource, + Resource, + BaseResource, + JobInput, + JobOutput, + JobError, + JobErrorDetail, ApiError, + ODataError, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + JobInputClip, + JobInputs, + JobInputAsset, + JobInputHttp, + JobOutputAsset, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, + VideoAnalyzerPreset, + VideoOverlay, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, Image, ImageFormat, - IPAccessControl, - IPRange, - Job, - JobCollection, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, - JobInputClip, - JobInputHttp, - JobInputs, - JobOutput, - JobOutputAsset, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/liveEventsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/liveEventsMappers.ts index 8e92f6b07e3a..34fcc192081f 100644 --- a/packages/@azure/arm-mediaservices/lib/models/liveEventsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/liveEventsMappers.ts @@ -1,133 +1,136 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + LiveEventListResult, + LiveEvent, + TrackedResource, + Resource, + BaseResource, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, ApiError, + ODataError, + LiveEventActionInput, + ProxyResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + AccountFilter, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventActionInput, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventListResult, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/liveOutputsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/liveOutputsMappers.ts index 72dd3f782365..2c45e889b561 100644 --- a/packages/@azure/arm-mediaservices/lib/models/liveOutputsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/liveOutputsMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + LiveOutputListResult, + LiveOutput, + ProxyResource, + Resource, + BaseResource, + Hls, ApiError, + ODataError, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - LiveOutputListResult, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/locationsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/locationsMappers.ts index 7347c5753c46..1f4bf35ac47e 100644 --- a/packages/@azure/arm-mediaservices/lib/models/locationsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/locationsMappers.ts @@ -1,15 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ApiError, CheckNameAvailabilityInput, EntityNameAvailabilityCheckOutput, + ApiError, ODataError } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/mappers.ts b/packages/@azure/arm-mediaservices/lib/models/mappers.ts index 79a1b00e398e..81ffad523a79 100644 --- a/packages/@azure/arm-mediaservices/lib/models/mappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/mappers.ts @@ -1,9 +1,11 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -4955,5 +4957,4 @@ export const discriminators = { 'JobInput.#Microsoft.Media.JobInputHttp' : JobInputHttp, 'JobOutput' : JobOutput, 'JobOutput.#Microsoft.Media.JobOutputAsset' : JobOutputAsset - }; diff --git a/packages/@azure/arm-mediaservices/lib/models/mediaservicesMappers.ts b/packages/@azure/arm-mediaservices/lib/models/mediaservicesMappers.ts index 3dff25cf7c5a..9483f88577d4 100644 --- a/packages/@azure/arm-mediaservices/lib/models/mediaservicesMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/mediaservicesMappers.ts @@ -1,134 +1,137 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + MediaServiceCollection, + MediaService, + TrackedResource, + Resource, + BaseResource, + StorageAccount, ApiError, + ODataError, + SyncStorageKeysInput, + SubscriptionMediaServiceCollection, + SubscriptionMediaService, + ProxyResource, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + AccountFilter, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - MediaServiceCollection, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - SubscriptionMediaServiceCollection, - SyncStorageKeysInput, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/operationsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/operationsMappers.ts index 1a1c7d9e60bf..9fb33795fe65 100644 --- a/packages/@azure/arm-mediaservices/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/operationsMappers.ts @@ -1,20 +1,23 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ApiError, - Metric, - MetricDimension, - MetricProperties, - ODataError, - Operation, OperationCollection, + Operation, OperationDisplay, - ServiceSpecification + MetricProperties, + ServiceSpecification, + Metric, + MetricDimension, + ApiError, + ODataError } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/streamingEndpointsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/streamingEndpointsMappers.ts index 7d14e6b24990..58f078fcdda6 100644 --- a/packages/@azure/arm-mediaservices/lib/models/streamingEndpointsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/streamingEndpointsMappers.ts @@ -1,133 +1,136 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, + StreamingEndpointListResult, + StreamingEndpoint, + TrackedResource, + Resource, + BaseResource, + StreamingEndpointAccessControl, AkamaiAccessControl, AkamaiSignatureHeaderAuthenticationKey, + IPAccessControl, + IPRange, + CrossSiteAccessPolicies, ApiError, + ODataError, + StreamingEntityScaleUnit, + ProxyResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + AccountFilter, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingEndpointListResult, - StreamingEntityScaleUnit, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/streamingLocatorsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/streamingLocatorsMappers.ts index 8a805bdf7265..3d7bfb692e59 100644 --- a/packages/@azure/arm-mediaservices/lib/models/streamingLocatorsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/streamingLocatorsMappers.ts @@ -1,135 +1,138 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + StreamingLocatorCollection, + StreamingLocator, + ProxyResource, + Resource, + BaseResource, + StreamingLocatorContentKey, + TrackSelection, + TrackPropertyCondition, ApiError, + ODataError, + ListContentKeysResponse, + ListPathsResponse, + StreamingPath, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - ListContentKeysResponse, - ListPathsResponse, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorCollection, - StreamingLocatorContentKey, - StreamingPath, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/streamingPoliciesMappers.ts b/packages/@azure/arm-mediaservices/lib/models/streamingPoliciesMappers.ts index 541350874fbf..86cf338fcf44 100644 --- a/packages/@azure/arm-mediaservices/lib/models/streamingPoliciesMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/streamingPoliciesMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, - ApiError, - Asset, - AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, + StreamingPolicyCollection, + StreamingPolicy, + ProxyResource, + Resource, BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, CencDrmConfiguration, - Codec, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, CommonEncryptionCbcs, - CommonEncryptionCenc, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + ApiError, + ODataError, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, + Asset, + AssetFilter, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, + Transform, + TransformOutput, + Preset, + Job, + JobInput, + JobOutput, + JobError, + JobErrorDetail, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, + LiveEvent, + LiveEventInput, + LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, + LiveEventPreview, + LiveEventPreviewAccessControl, + LiveEventEncoding, + CrossSiteAccessPolicies, + StreamingEndpoint, + StreamingEndpointAccessControl, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, + ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, - Job, - JobError, - JobErrorDetail, - JobInput, - JobInputAsset, + VideoAnalyzerPreset, + VideoOverlay, JobInputClip, - JobInputHttp, JobInputs, - JobOutput, + JobInputAsset, + JobInputHttp, JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, + Video, + Image, + ImageFormat, JpgFormat, - JpgImage, - JpgLayer, + PngFormat, + CopyAudio, + H264Video, + H264Layer, + VideoLayer, Layer, - LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, - LiveEventInput, - LiveEventInputAccessControl, - LiveEventPreview, - LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, + JpgLayer, + JpgImage, MultiBitrateFormat, - NoEncryption, - ODataError, OutputFile, - Overlay, - PngFormat, - PngImage, + Mp4Format, PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, - StreamingEndpoint, - StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyCollection, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformOutput, - TransportStreamFormat, - Video, - VideoAnalyzerPreset, - VideoLayer, - VideoOverlay + PngImage, + TransportStreamFormat } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/lib/models/transformsMappers.ts b/packages/@azure/arm-mediaservices/lib/models/transformsMappers.ts index af75f9c098ec..bd2d535b381d 100644 --- a/packages/@azure/arm-mediaservices/lib/models/transformsMappers.ts +++ b/packages/@azure/arm-mediaservices/lib/models/transformsMappers.ts @@ -1,132 +1,135 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - AacAudio, - AccountFilter, - AkamaiAccessControl, - AkamaiSignatureHeaderAuthenticationKey, + TransformCollection, + Transform, + ProxyResource, + Resource, + BaseResource, + TransformOutput, + Preset, ApiError, + ODataError, + AccountFilter, + PresentationTimeRange, + FirstQuality, + FilterTrackSelection, + FilterTrackPropertyCondition, + TrackedResource, + MediaService, + StorageAccount, + SubscriptionMediaService, Asset, AssetFilter, - Audio, - AudioAnalyzerPreset, - AudioOverlay, - BaseResource, - BuiltInStandardEncoderPreset, - CbcsDrmConfiguration, - CencDrmConfiguration, - Codec, - CommonEncryptionCbcs, - CommonEncryptionCenc, ContentKeyPolicy, - ContentKeyPolicyClearKeyConfiguration, - ContentKeyPolicyConfiguration, - ContentKeyPolicyFairPlayConfiguration, - ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, - ContentKeyPolicyPlayReadyConfiguration, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, - ContentKeyPolicyPlayReadyContentKeyLocation, - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, - ContentKeyPolicyPlayReadyLicense, - ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction, - ContentKeyPolicyRestrictionTokenKey, - ContentKeyPolicyRsaTokenKey, - ContentKeyPolicySymmetricTokenKey, - ContentKeyPolicyTokenClaim, - ContentKeyPolicyTokenRestriction, - ContentKeyPolicyUnknownConfiguration, - ContentKeyPolicyUnknownRestriction, - ContentKeyPolicyWidevineConfiguration, - ContentKeyPolicyX509CertificateTokenKey, - CopyAudio, - CopyVideo, - CrossSiteAccessPolicies, - DefaultKey, - Deinterlace, - EnabledProtocols, - EnvelopeEncryption, FaceDetectorPreset, + AudioAnalyzerPreset, + BuiltInStandardEncoderPreset, + StandardEncoderPreset, Filters, - FilterTrackPropertyCondition, - FilterTrackSelection, - FirstQuality, + Deinterlace, + Rectangle, + Overlay, + Codec, Format, - H264Layer, - H264Video, - Hls, - Image, - ImageFormat, - IPAccessControl, - IPRange, + VideoAnalyzerPreset, + VideoOverlay, Job, - JobError, - JobErrorDetail, JobInput, - JobInputAsset, - JobInputClip, - JobInputHttp, - JobInputs, JobOutput, - JobOutputAsset, - JpgFormat, - JpgImage, - JpgLayer, - Layer, + JobError, + JobErrorDetail, + StreamingPolicy, + EnvelopeEncryption, + EnabledProtocols, + TrackSelection, + TrackPropertyCondition, + StreamingPolicyContentKeys, + DefaultKey, + StreamingPolicyContentKey, + CommonEncryptionCenc, + CencDrmConfiguration, + StreamingPolicyPlayReadyConfiguration, + StreamingPolicyWidevineConfiguration, + CommonEncryptionCbcs, + CbcsDrmConfiguration, + StreamingPolicyFairPlayConfiguration, + NoEncryption, + StreamingLocator, + StreamingLocatorContentKey, + LiveOutput, + Hls, LiveEvent, - LiveEventEncoding, - LiveEventEndpoint, LiveEventInput, LiveEventInputAccessControl, + IPAccessControl, + IPRange, + LiveEventEndpoint, LiveEventPreview, LiveEventPreviewAccessControl, - LiveOutput, - MediaService, - Mp4Format, - MultiBitrateFormat, - NoEncryption, - ODataError, - OutputFile, - Overlay, - PngFormat, - PngImage, - PngLayer, - PresentationTimeRange, - Preset, - ProxyResource, - Rectangle, - Resource, - StandardEncoderPreset, - StorageAccount, + LiveEventEncoding, + CrossSiteAccessPolicies, StreamingEndpoint, StreamingEndpointAccessControl, - StreamingLocator, - StreamingLocatorContentKey, - StreamingPolicy, - StreamingPolicyContentKey, - StreamingPolicyContentKeys, - StreamingPolicyFairPlayConfiguration, - StreamingPolicyPlayReadyConfiguration, - StreamingPolicyWidevineConfiguration, - SubscriptionMediaService, - TrackedResource, - TrackPropertyCondition, - TrackSelection, - Transform, - TransformCollection, - TransformOutput, - TransportStreamFormat, + AkamaiAccessControl, + AkamaiSignatureHeaderAuthenticationKey, + ContentKeyPolicyOpenRestriction, + ContentKeyPolicyUnknownRestriction, + ContentKeyPolicyTokenRestriction, + ContentKeyPolicyRestrictionTokenKey, + ContentKeyPolicyTokenClaim, + ContentKeyPolicyClearKeyConfiguration, + ContentKeyPolicyUnknownConfiguration, + ContentKeyPolicyWidevineConfiguration, + ContentKeyPolicyPlayReadyConfiguration, + ContentKeyPolicyPlayReadyLicense, + ContentKeyPolicyPlayReadyPlayRight, + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, + ContentKeyPolicyPlayReadyContentKeyLocation, + ContentKeyPolicyFairPlayConfiguration, + Audio, + AacAudio, + AudioOverlay, + CopyVideo, Video, - VideoAnalyzerPreset, + Image, + ImageFormat, + JpgFormat, + PngFormat, + CopyAudio, + H264Video, + H264Layer, VideoLayer, - VideoOverlay + Layer, + JpgLayer, + JpgImage, + MultiBitrateFormat, + OutputFile, + Mp4Format, + PngLayer, + PngImage, + TransportStreamFormat, + JobInputClip, + JobInputs, + JobInputAsset, + JobInputHttp, + JobOutputAsset, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, + ContentKeyPolicySymmetricTokenKey, + ContentKeyPolicyRsaTokenKey, + ContentKeyPolicyX509CertificateTokenKey } from "../models/mappers"; + diff --git a/packages/@azure/arm-mediaservices/package.json b/packages/@azure/arm-mediaservices/package.json index 201fe0378b39..27e8de0d9deb 100644 --- a/packages/@azure/arm-mediaservices/package.json +++ b/packages/@azure/arm-mediaservices/package.json @@ -4,8 +4,8 @@ "description": "AzureMediaServices Library with typescript type definitions for node.js and browser.", "version": "6.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.6.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -44,7 +44,6 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", - "README.md", "rollup.config.js", "tsconfig.json" ], @@ -53,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-mediaservices.js.map'\" -o ./dist/arm-mediaservices.min.js ./dist/arm-mediaservices.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "autoPublish": true + "sideEffects": false }