...

Package media

import "github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2021-06-01/media"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mediaservices/armmediaservices(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mediaservices/armmediaservices). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package media implements the Azure ARM Media service API version 2021-06-01.

Index ▾

Constants
func UserAgent() string
func Version() string
type AacAudio
    func (aa AacAudio) AsAacAudio() (*AacAudio, bool)
    func (aa AacAudio) AsAudio() (*Audio, bool)
    func (aa AacAudio) AsBasicAudio() (BasicAudio, bool)
    func (aa AacAudio) AsBasicCodec() (BasicCodec, bool)
    func (aa AacAudio) AsBasicImage() (BasicImage, bool)
    func (aa AacAudio) AsBasicVideo() (BasicVideo, bool)
    func (aa AacAudio) AsCodec() (*Codec, bool)
    func (aa AacAudio) AsCopyAudio() (*CopyAudio, bool)
    func (aa AacAudio) AsCopyVideo() (*CopyVideo, bool)
    func (aa AacAudio) AsH264Video() (*H264Video, bool)
    func (aa AacAudio) AsH265Video() (*H265Video, bool)
    func (aa AacAudio) AsImage() (*Image, bool)
    func (aa AacAudio) AsJpgImage() (*JpgImage, bool)
    func (aa AacAudio) AsPngImage() (*PngImage, bool)
    func (aa AacAudio) AsVideo() (*Video, bool)
    func (aa AacAudio) MarshalJSON() ([]byte, error)
type AacAudioProfile
    func PossibleAacAudioProfileValues() []AacAudioProfile
type AbsoluteClipTime
    func (act AbsoluteClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)
    func (act AbsoluteClipTime) AsBasicClipTime() (BasicClipTime, bool)
    func (act AbsoluteClipTime) AsClipTime() (*ClipTime, bool)
    func (act AbsoluteClipTime) AsUtcClipTime() (*UtcClipTime, bool)
    func (act AbsoluteClipTime) MarshalJSON() ([]byte, error)
type AccessControl
type AccountEncryption
    func (ae AccountEncryption) MarshalJSON() ([]byte, error)
type AccountEncryptionKeyType
    func PossibleAccountEncryptionKeyTypeValues() []AccountEncryptionKeyType
type AccountFilter
    func (af AccountFilter) MarshalJSON() ([]byte, error)
    func (af *AccountFilter) UnmarshalJSON(body []byte) error
type AccountFilterCollection
    func (afc AccountFilterCollection) IsEmpty() bool
type AccountFilterCollectionIterator
    func NewAccountFilterCollectionIterator(page AccountFilterCollectionPage) AccountFilterCollectionIterator
    func (iter *AccountFilterCollectionIterator) Next() error
    func (iter *AccountFilterCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AccountFilterCollectionIterator) NotDone() bool
    func (iter AccountFilterCollectionIterator) Response() AccountFilterCollection
    func (iter AccountFilterCollectionIterator) Value() AccountFilter
type AccountFilterCollectionPage
    func NewAccountFilterCollectionPage(cur AccountFilterCollection, getNextPage func(context.Context, AccountFilterCollection) (AccountFilterCollection, error)) AccountFilterCollectionPage
    func (page *AccountFilterCollectionPage) Next() error
    func (page *AccountFilterCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page AccountFilterCollectionPage) NotDone() bool
    func (page AccountFilterCollectionPage) Response() AccountFilterCollection
    func (page AccountFilterCollectionPage) Values() []AccountFilter
type AccountFiltersClient
    func NewAccountFiltersClient(subscriptionID string) AccountFiltersClient
    func NewAccountFiltersClientWithBaseURI(baseURI string, subscriptionID string) AccountFiltersClient
    func (client AccountFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (result AccountFilter, err error)
    func (client AccountFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (*http.Request, error)
    func (client AccountFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result AccountFilter, err error)
    func (client AccountFiltersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AccountFiltersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, filterName string) (result autorest.Response, err error)
    func (client AccountFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string) (*http.Request, error)
    func (client AccountFiltersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AccountFiltersClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AccountFiltersClient) Get(ctx context.Context, resourceGroupName string, accountName string, filterName string) (result AccountFilter, err error)
    func (client AccountFiltersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string) (*http.Request, error)
    func (client AccountFiltersClient) GetResponder(resp *http.Response) (result AccountFilter, err error)
    func (client AccountFiltersClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AccountFiltersClient) List(ctx context.Context, resourceGroupName string, accountName string) (result AccountFilterCollectionPage, err error)
    func (client AccountFiltersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result AccountFilterCollectionIterator, err error)
    func (client AccountFiltersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client AccountFiltersClient) ListResponder(resp *http.Response) (result AccountFilterCollection, err error)
    func (client AccountFiltersClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AccountFiltersClient) Update(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (result AccountFilter, err error)
    func (client AccountFiltersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (*http.Request, error)
    func (client AccountFiltersClient) UpdateResponder(resp *http.Response) (result AccountFilter, err error)
    func (client AccountFiltersClient) UpdateSender(req *http.Request) (*http.Response, error)
type ActionType
    func PossibleActionTypeValues() []ActionType
type AkamaiAccessControl
type AkamaiSignatureHeaderAuthenticationKey
type AnalysisResolution
    func PossibleAnalysisResolutionValues() []AnalysisResolution
type Asset
    func (a Asset) MarshalJSON() ([]byte, error)
    func (a *Asset) UnmarshalJSON(body []byte) error
type AssetCollection
    func (ac AssetCollection) IsEmpty() bool
type AssetCollectionIterator
    func NewAssetCollectionIterator(page AssetCollectionPage) AssetCollectionIterator
    func (iter *AssetCollectionIterator) Next() error
    func (iter *AssetCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AssetCollectionIterator) NotDone() bool
    func (iter AssetCollectionIterator) Response() AssetCollection
    func (iter AssetCollectionIterator) Value() Asset
type AssetCollectionPage
    func NewAssetCollectionPage(cur AssetCollection, getNextPage func(context.Context, AssetCollection) (AssetCollection, error)) AssetCollectionPage
    func (page *AssetCollectionPage) Next() error
    func (page *AssetCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page AssetCollectionPage) NotDone() bool
    func (page AssetCollectionPage) Response() AssetCollection
    func (page AssetCollectionPage) Values() []Asset
type AssetContainerPermission
    func PossibleAssetContainerPermissionValues() []AssetContainerPermission
type AssetContainerSas
type AssetFileEncryptionMetadata
type AssetFilter
    func (af AssetFilter) MarshalJSON() ([]byte, error)
    func (af *AssetFilter) UnmarshalJSON(body []byte) error
type AssetFilterCollection
    func (afc AssetFilterCollection) IsEmpty() bool
type AssetFilterCollectionIterator
    func NewAssetFilterCollectionIterator(page AssetFilterCollectionPage) AssetFilterCollectionIterator
    func (iter *AssetFilterCollectionIterator) Next() error
    func (iter *AssetFilterCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AssetFilterCollectionIterator) NotDone() bool
    func (iter AssetFilterCollectionIterator) Response() AssetFilterCollection
    func (iter AssetFilterCollectionIterator) Value() AssetFilter
type AssetFilterCollectionPage
    func NewAssetFilterCollectionPage(cur AssetFilterCollection, getNextPage func(context.Context, AssetFilterCollection) (AssetFilterCollection, error)) AssetFilterCollectionPage
    func (page *AssetFilterCollectionPage) Next() error
    func (page *AssetFilterCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page AssetFilterCollectionPage) NotDone() bool
    func (page AssetFilterCollectionPage) Response() AssetFilterCollection
    func (page AssetFilterCollectionPage) Values() []AssetFilter
type AssetFiltersClient
    func NewAssetFiltersClient(subscriptionID string) AssetFiltersClient
    func NewAssetFiltersClientWithBaseURI(baseURI string, subscriptionID string) AssetFiltersClient
    func (client AssetFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (result AssetFilter, err error)
    func (client AssetFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (*http.Request, error)
    func (client AssetFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result AssetFilter, err error)
    func (client AssetFiltersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AssetFiltersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (result autorest.Response, err error)
    func (client AssetFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (*http.Request, error)
    func (client AssetFiltersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AssetFiltersClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AssetFiltersClient) Get(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (result AssetFilter, err error)
    func (client AssetFiltersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (*http.Request, error)
    func (client AssetFiltersClient) GetResponder(resp *http.Response) (result AssetFilter, err error)
    func (client AssetFiltersClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AssetFiltersClient) List(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result AssetFilterCollectionPage, err error)
    func (client AssetFiltersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result AssetFilterCollectionIterator, err error)
    func (client AssetFiltersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)
    func (client AssetFiltersClient) ListResponder(resp *http.Response) (result AssetFilterCollection, err error)
    func (client AssetFiltersClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AssetFiltersClient) Update(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (result AssetFilter, err error)
    func (client AssetFiltersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (*http.Request, error)
    func (client AssetFiltersClient) UpdateResponder(resp *http.Response) (result AssetFilter, err error)
    func (client AssetFiltersClient) UpdateSender(req *http.Request) (*http.Response, error)
type AssetProperties
    func (ap AssetProperties) MarshalJSON() ([]byte, error)
type AssetStorageEncryptionFormat
    func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat
type AssetStreamingLocator
    func (asl AssetStreamingLocator) MarshalJSON() ([]byte, error)
type AssetsClient
    func NewAssetsClient(subscriptionID string) AssetsClient
    func NewAssetsClientWithBaseURI(baseURI string, subscriptionID string) AssetsClient
    func (client AssetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (result Asset, err error)
    func (client AssetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (*http.Request, error)
    func (client AssetsClient) CreateOrUpdateResponder(resp *http.Response) (result Asset, err error)
    func (client AssetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result autorest.Response, err error)
    func (client AssetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)
    func (client AssetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AssetsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) Get(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result Asset, err error)
    func (client AssetsClient) GetEncryptionKey(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result StorageEncryptedAssetDecryptionData, err error)
    func (client AssetsClient) GetEncryptionKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)
    func (client AssetsClient) GetEncryptionKeyResponder(resp *http.Response) (result StorageEncryptedAssetDecryptionData, err error)
    func (client AssetsClient) GetEncryptionKeySender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)
    func (client AssetsClient) GetResponder(resp *http.Response) (result Asset, err error)
    func (client AssetsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result AssetCollectionPage, err error)
    func (client AssetsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result AssetCollectionIterator, err error)
    func (client AssetsClient) ListContainerSas(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters ListContainerSasInput) (result AssetContainerSas, err error)
    func (client AssetsClient) ListContainerSasPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters ListContainerSasInput) (*http.Request, error)
    func (client AssetsClient) ListContainerSasResponder(resp *http.Response) (result AssetContainerSas, err error)
    func (client AssetsClient) ListContainerSasSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)
    func (client AssetsClient) ListResponder(resp *http.Response) (result AssetCollection, err error)
    func (client AssetsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) ListStreamingLocators(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result ListStreamingLocatorsResponse, err error)
    func (client AssetsClient) ListStreamingLocatorsPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)
    func (client AssetsClient) ListStreamingLocatorsResponder(resp *http.Response) (result ListStreamingLocatorsResponse, err error)
    func (client AssetsClient) ListStreamingLocatorsSender(req *http.Request) (*http.Response, error)
    func (client AssetsClient) Update(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (result Asset, err error)
    func (client AssetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (*http.Request, error)
    func (client AssetsClient) UpdateResponder(resp *http.Response) (result Asset, err error)
    func (client AssetsClient) UpdateSender(req *http.Request) (*http.Response, error)
type AttributeFilter
    func PossibleAttributeFilterValues() []AttributeFilter
type Audio
    func (a Audio) AsAacAudio() (*AacAudio, bool)
    func (a Audio) AsAudio() (*Audio, bool)
    func (a Audio) AsBasicAudio() (BasicAudio, bool)
    func (a Audio) AsBasicCodec() (BasicCodec, bool)
    func (a Audio) AsBasicImage() (BasicImage, bool)
    func (a Audio) AsBasicVideo() (BasicVideo, bool)
    func (a Audio) AsCodec() (*Codec, bool)
    func (a Audio) AsCopyAudio() (*CopyAudio, bool)
    func (a Audio) AsCopyVideo() (*CopyVideo, bool)
    func (a Audio) AsH264Video() (*H264Video, bool)
    func (a Audio) AsH265Video() (*H265Video, bool)
    func (a Audio) AsImage() (*Image, bool)
    func (a Audio) AsJpgImage() (*JpgImage, bool)
    func (a Audio) AsPngImage() (*PngImage, bool)
    func (a Audio) AsVideo() (*Video, bool)
    func (a Audio) MarshalJSON() ([]byte, error)
type AudioAnalysisMode
    func PossibleAudioAnalysisModeValues() []AudioAnalysisMode
type AudioAnalyzerPreset
    func (aap AudioAnalyzerPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (aap AudioAnalyzerPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (aap AudioAnalyzerPreset) AsBasicPreset() (BasicPreset, bool)
    func (aap AudioAnalyzerPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (aap AudioAnalyzerPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (aap AudioAnalyzerPreset) AsPreset() (*Preset, bool)
    func (aap AudioAnalyzerPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (aap AudioAnalyzerPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (aap AudioAnalyzerPreset) MarshalJSON() ([]byte, error)
type AudioOverlay
    func (ao AudioOverlay) AsAudioOverlay() (*AudioOverlay, bool)
    func (ao AudioOverlay) AsBasicOverlay() (BasicOverlay, bool)
    func (ao AudioOverlay) AsOverlay() (*Overlay, bool)
    func (ao AudioOverlay) AsVideoOverlay() (*VideoOverlay, bool)
    func (ao AudioOverlay) MarshalJSON() ([]byte, error)
type AudioTrackDescriptor
    func (atd AudioTrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (atd AudioTrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (atd AudioTrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (atd AudioTrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (atd AudioTrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (atd AudioTrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (atd AudioTrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (atd AudioTrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (atd AudioTrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (atd AudioTrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (atd AudioTrackDescriptor) MarshalJSON() ([]byte, error)
type AzureEntityResource
    func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BasicAudio
type BasicAudioAnalyzerPreset
type BasicAudioTrackDescriptor
type BasicClipTime
type BasicCodec
type BasicContentKeyPolicyConfiguration
type BasicContentKeyPolicyPlayReadyContentKeyLocation
type BasicContentKeyPolicyRestriction
type BasicContentKeyPolicyRestrictionTokenKey
type BasicFormat
type BasicH265VideoLayer
type BasicImage
type BasicImageFormat
type BasicInputDefinition
type BasicJobInput
type BasicJobInputClip
type BasicJobOutput
type BasicLayer
type BasicMultiBitrateFormat
type BasicOverlay
type BasicPreset
type BasicTrackDescriptor
type BasicVideo
type BasicVideoLayer
type BasicVideoTrackDescriptor
type BlurType
    func PossibleBlurTypeValues() []BlurType
type BuiltInStandardEncoderPreset
    func (bisep BuiltInStandardEncoderPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsBasicPreset() (BasicPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsPreset() (*Preset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (bisep BuiltInStandardEncoderPreset) MarshalJSON() ([]byte, error)
type CbcsDrmConfiguration
type CencDrmConfiguration
type ChannelMapping
    func PossibleChannelMappingValues() []ChannelMapping
type CheckNameAvailabilityInput
type ClipTime
    func (ct ClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)
    func (ct ClipTime) AsBasicClipTime() (BasicClipTime, bool)
    func (ct ClipTime) AsClipTime() (*ClipTime, bool)
    func (ct ClipTime) AsUtcClipTime() (*UtcClipTime, bool)
    func (ct ClipTime) MarshalJSON() ([]byte, error)
type Codec
    func (c Codec) AsAacAudio() (*AacAudio, bool)
    func (c Codec) AsAudio() (*Audio, bool)
    func (c Codec) AsBasicAudio() (BasicAudio, bool)
    func (c Codec) AsBasicCodec() (BasicCodec, bool)
    func (c Codec) AsBasicImage() (BasicImage, bool)
    func (c Codec) AsBasicVideo() (BasicVideo, bool)
    func (c Codec) AsCodec() (*Codec, bool)
    func (c Codec) AsCopyAudio() (*CopyAudio, bool)
    func (c Codec) AsCopyVideo() (*CopyVideo, bool)
    func (c Codec) AsH264Video() (*H264Video, bool)
    func (c Codec) AsH265Video() (*H265Video, bool)
    func (c Codec) AsImage() (*Image, bool)
    func (c Codec) AsJpgImage() (*JpgImage, bool)
    func (c Codec) AsPngImage() (*PngImage, bool)
    func (c Codec) AsVideo() (*Video, bool)
    func (c Codec) MarshalJSON() ([]byte, error)
type CommonEncryptionCbcs
type CommonEncryptionCenc
type Complexity
    func PossibleComplexityValues() []Complexity
type ContentKeyPoliciesClient
    func NewContentKeyPoliciesClient(subscriptionID string) ContentKeyPoliciesClient
    func NewContentKeyPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ContentKeyPoliciesClient
    func (client ContentKeyPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (*http.Request, error)
    func (client ContentKeyPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ContentKeyPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result autorest.Response, err error)
    func (client ContentKeyPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)
    func (client ContentKeyPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ContentKeyPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ContentKeyPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result ContentKeyPolicyProperties, err error)
    func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsPreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)
    func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsResponder(resp *http.Response) (result ContentKeyPolicyProperties, err error)
    func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsSender(req *http.Request) (*http.Response, error)
    func (client ContentKeyPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)
    func (client ContentKeyPoliciesClient) GetResponder(resp *http.Response) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ContentKeyPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result ContentKeyPolicyCollectionPage, err error)
    func (client ContentKeyPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result ContentKeyPolicyCollectionIterator, err error)
    func (client ContentKeyPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)
    func (client ContentKeyPoliciesClient) ListResponder(resp *http.Response) (result ContentKeyPolicyCollection, err error)
    func (client ContentKeyPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ContentKeyPoliciesClient) Update(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (*http.Request, error)
    func (client ContentKeyPoliciesClient) UpdateResponder(resp *http.Response) (result ContentKeyPolicy, err error)
    func (client ContentKeyPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)
type ContentKeyPolicy
    func (ckp ContentKeyPolicy) MarshalJSON() ([]byte, error)
    func (ckp *ContentKeyPolicy) UnmarshalJSON(body []byte) error
type ContentKeyPolicyClearKeyConfiguration
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpckc ContentKeyPolicyClearKeyConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyCollection
    func (ckpc ContentKeyPolicyCollection) IsEmpty() bool
type ContentKeyPolicyCollectionIterator
    func NewContentKeyPolicyCollectionIterator(page ContentKeyPolicyCollectionPage) ContentKeyPolicyCollectionIterator
    func (iter *ContentKeyPolicyCollectionIterator) Next() error
    func (iter *ContentKeyPolicyCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ContentKeyPolicyCollectionIterator) NotDone() bool
    func (iter ContentKeyPolicyCollectionIterator) Response() ContentKeyPolicyCollection
    func (iter ContentKeyPolicyCollectionIterator) Value() ContentKeyPolicy
type ContentKeyPolicyCollectionPage
    func NewContentKeyPolicyCollectionPage(cur ContentKeyPolicyCollection, getNextPage func(context.Context, ContentKeyPolicyCollection) (ContentKeyPolicyCollection, error)) ContentKeyPolicyCollectionPage
    func (page *ContentKeyPolicyCollectionPage) Next() error
    func (page *ContentKeyPolicyCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page ContentKeyPolicyCollectionPage) NotDone() bool
    func (page ContentKeyPolicyCollectionPage) Response() ContentKeyPolicyCollection
    func (page ContentKeyPolicyCollectionPage) Values() []ContentKeyPolicy
type ContentKeyPolicyConfiguration
    func (ckpc ContentKeyPolicyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpc ContentKeyPolicyConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyFairPlayConfiguration
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpfpc ContentKeyPolicyFairPlayConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyFairPlayOfflineRentalConfiguration
type ContentKeyPolicyFairPlayRentalAndLeaseKeyType
    func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType
type ContentKeyPolicyOpenRestriction
    func (ckpor ContentKeyPolicyOpenRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)
    func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)
    func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)
    func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)
    func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)
    func (ckpor ContentKeyPolicyOpenRestriction) MarshalJSON() ([]byte, error)
type ContentKeyPolicyOption
    func (ckpo ContentKeyPolicyOption) MarshalJSON() ([]byte, error)
    func (ckpo *ContentKeyPolicyOption) UnmarshalJSON(body []byte) error
type ContentKeyPolicyPlayReadyConfiguration
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpprc ContentKeyPolicyPlayReadyConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
    func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)
    func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)
    func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)
    func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)
    func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentKeyLocation
    func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)
    func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)
    func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)
    func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentType
    func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType
type ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
type ContentKeyPolicyPlayReadyLicense
    func (ckpprl *ContentKeyPolicyPlayReadyLicense) UnmarshalJSON(body []byte) error
type ContentKeyPolicyPlayReadyLicenseType
    func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType
type ContentKeyPolicyPlayReadyPlayRight
type ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption
type ContentKeyPolicyProperties
    func (ckpp ContentKeyPolicyProperties) MarshalJSON() ([]byte, error)
type ContentKeyPolicyRestriction
    func (ckpr ContentKeyPolicyRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)
    func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)
    func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)
    func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)
    func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)
    func (ckpr ContentKeyPolicyRestriction) MarshalJSON() ([]byte, error)
type ContentKeyPolicyRestrictionTokenKey
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)
    func (ckprtk ContentKeyPolicyRestrictionTokenKey) MarshalJSON() ([]byte, error)
type ContentKeyPolicyRestrictionTokenType
    func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType
type ContentKeyPolicyRsaTokenKey
    func (ckprtk ContentKeyPolicyRsaTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)
    func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)
    func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)
    func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)
    func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)
    func (ckprtk ContentKeyPolicyRsaTokenKey) MarshalJSON() ([]byte, error)
type ContentKeyPolicySymmetricTokenKey
    func (ckpstk ContentKeyPolicySymmetricTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)
    func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)
    func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)
    func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)
    func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)
    func (ckpstk ContentKeyPolicySymmetricTokenKey) MarshalJSON() ([]byte, error)
type ContentKeyPolicyTokenClaim
type ContentKeyPolicyTokenRestriction
    func (ckptr ContentKeyPolicyTokenRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)
    func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)
    func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)
    func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)
    func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)
    func (ckptr ContentKeyPolicyTokenRestriction) MarshalJSON() ([]byte, error)
    func (ckptr *ContentKeyPolicyTokenRestriction) UnmarshalJSON(body []byte) error
type ContentKeyPolicyUnknownConfiguration
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpuc ContentKeyPolicyUnknownConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyUnknownRestriction
    func (ckpur ContentKeyPolicyUnknownRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)
    func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)
    func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)
    func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)
    func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)
    func (ckpur ContentKeyPolicyUnknownRestriction) MarshalJSON() ([]byte, error)
type ContentKeyPolicyWidevineConfiguration
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    func (ckpwc ContentKeyPolicyWidevineConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyX509CertificateTokenKey
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)
    func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) MarshalJSON() ([]byte, error)
type CopyAudio
    func (ca CopyAudio) AsAacAudio() (*AacAudio, bool)
    func (ca CopyAudio) AsAudio() (*Audio, bool)
    func (ca CopyAudio) AsBasicAudio() (BasicAudio, bool)
    func (ca CopyAudio) AsBasicCodec() (BasicCodec, bool)
    func (ca CopyAudio) AsBasicImage() (BasicImage, bool)
    func (ca CopyAudio) AsBasicVideo() (BasicVideo, bool)
    func (ca CopyAudio) AsCodec() (*Codec, bool)
    func (ca CopyAudio) AsCopyAudio() (*CopyAudio, bool)
    func (ca CopyAudio) AsCopyVideo() (*CopyVideo, bool)
    func (ca CopyAudio) AsH264Video() (*H264Video, bool)
    func (ca CopyAudio) AsH265Video() (*H265Video, bool)
    func (ca CopyAudio) AsImage() (*Image, bool)
    func (ca CopyAudio) AsJpgImage() (*JpgImage, bool)
    func (ca CopyAudio) AsPngImage() (*PngImage, bool)
    func (ca CopyAudio) AsVideo() (*Video, bool)
    func (ca CopyAudio) MarshalJSON() ([]byte, error)
type CopyVideo
    func (cv CopyVideo) AsAacAudio() (*AacAudio, bool)
    func (cv CopyVideo) AsAudio() (*Audio, bool)
    func (cv CopyVideo) AsBasicAudio() (BasicAudio, bool)
    func (cv CopyVideo) AsBasicCodec() (BasicCodec, bool)
    func (cv CopyVideo) AsBasicImage() (BasicImage, bool)
    func (cv CopyVideo) AsBasicVideo() (BasicVideo, bool)
    func (cv CopyVideo) AsCodec() (*Codec, bool)
    func (cv CopyVideo) AsCopyAudio() (*CopyAudio, bool)
    func (cv CopyVideo) AsCopyVideo() (*CopyVideo, bool)
    func (cv CopyVideo) AsH264Video() (*H264Video, bool)
    func (cv CopyVideo) AsH265Video() (*H265Video, bool)
    func (cv CopyVideo) AsImage() (*Image, bool)
    func (cv CopyVideo) AsJpgImage() (*JpgImage, bool)
    func (cv CopyVideo) AsPngImage() (*PngImage, bool)
    func (cv CopyVideo) AsVideo() (*Video, bool)
    func (cv CopyVideo) MarshalJSON() ([]byte, error)
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type CrossSiteAccessPolicies
type DefaultAction
    func PossibleDefaultActionValues() []DefaultAction
type DefaultKey
type Deinterlace
type DeinterlaceMode
    func PossibleDeinterlaceModeValues() []DeinterlaceMode
type DeinterlaceParity
    func PossibleDeinterlaceParityValues() []DeinterlaceParity
type EdgePolicies
type EdgeUsageDataCollectionPolicy
type EdgeUsageDataEventHub
type EnabledProtocols
type EncoderNamedPreset
    func PossibleEncoderNamedPresetValues() []EncoderNamedPreset
type EncryptionScheme
    func PossibleEncryptionSchemeValues() []EncryptionScheme
type EntityNameAvailabilityCheckOutput
type EntropyMode
    func PossibleEntropyModeValues() []EntropyMode
type EnvelopeEncryption
type ErrorAdditionalInfo
    func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
type ErrorDetail
    func (ed ErrorDetail) MarshalJSON() ([]byte, error)
type ErrorResponse
type FaceDetectorPreset
    func (fdp FaceDetectorPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (fdp FaceDetectorPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (fdp FaceDetectorPreset) AsBasicPreset() (BasicPreset, bool)
    func (fdp FaceDetectorPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (fdp FaceDetectorPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (fdp FaceDetectorPreset) AsPreset() (*Preset, bool)
    func (fdp FaceDetectorPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (fdp FaceDetectorPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (fdp FaceDetectorPreset) MarshalJSON() ([]byte, error)
type FaceRedactorMode
    func PossibleFaceRedactorModeValues() []FaceRedactorMode
type FilterProperties
type FilterTrackPropertyCompareOperation
    func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation
type FilterTrackPropertyCondition
type FilterTrackPropertyType
    func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType
type FilterTrackSelection
type Filters
    func (f *Filters) UnmarshalJSON(body []byte) error
type FirstQuality
type Format
    func (f Format) AsBasicFormat() (BasicFormat, bool)
    func (f Format) AsBasicImageFormat() (BasicImageFormat, bool)
    func (f Format) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (f Format) AsFormat() (*Format, bool)
    func (f Format) AsImageFormat() (*ImageFormat, bool)
    func (f Format) AsJpgFormat() (*JpgFormat, bool)
    func (f Format) AsMp4Format() (*Mp4Format, bool)
    func (f Format) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (f Format) AsPngFormat() (*PngFormat, bool)
    func (f Format) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (f Format) MarshalJSON() ([]byte, error)
type FromAllInputFile
    func (faif FromAllInputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)
    func (faif FromAllInputFile) AsFromAllInputFile() (*FromAllInputFile, bool)
    func (faif FromAllInputFile) AsFromEachInputFile() (*FromEachInputFile, bool)
    func (faif FromAllInputFile) AsInputDefinition() (*InputDefinition, bool)
    func (faif FromAllInputFile) AsInputFile() (*InputFile, bool)
    func (faif FromAllInputFile) MarshalJSON() ([]byte, error)
    func (faif *FromAllInputFile) UnmarshalJSON(body []byte) error
type FromEachInputFile
    func (feif FromEachInputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)
    func (feif FromEachInputFile) AsFromAllInputFile() (*FromAllInputFile, bool)
    func (feif FromEachInputFile) AsFromEachInputFile() (*FromEachInputFile, bool)
    func (feif FromEachInputFile) AsInputDefinition() (*InputDefinition, bool)
    func (feif FromEachInputFile) AsInputFile() (*InputFile, bool)
    func (feif FromEachInputFile) MarshalJSON() ([]byte, error)
    func (feif *FromEachInputFile) UnmarshalJSON(body []byte) error
type H264Complexity
    func PossibleH264ComplexityValues() []H264Complexity
type H264Layer
    func (hl H264Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (hl H264Layer) AsBasicLayer() (BasicLayer, bool)
    func (hl H264Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (hl H264Layer) AsH264Layer() (*H264Layer, bool)
    func (hl H264Layer) AsH265Layer() (*H265Layer, bool)
    func (hl H264Layer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (hl H264Layer) AsJpgLayer() (*JpgLayer, bool)
    func (hl H264Layer) AsLayer() (*Layer, bool)
    func (hl H264Layer) AsPngLayer() (*PngLayer, bool)
    func (hl H264Layer) AsVideoLayer() (*VideoLayer, bool)
    func (hl H264Layer) MarshalJSON() ([]byte, error)
type H264Video
    func (hv H264Video) AsAacAudio() (*AacAudio, bool)
    func (hv H264Video) AsAudio() (*Audio, bool)
    func (hv H264Video) AsBasicAudio() (BasicAudio, bool)
    func (hv H264Video) AsBasicCodec() (BasicCodec, bool)
    func (hv H264Video) AsBasicImage() (BasicImage, bool)
    func (hv H264Video) AsBasicVideo() (BasicVideo, bool)
    func (hv H264Video) AsCodec() (*Codec, bool)
    func (hv H264Video) AsCopyAudio() (*CopyAudio, bool)
    func (hv H264Video) AsCopyVideo() (*CopyVideo, bool)
    func (hv H264Video) AsH264Video() (*H264Video, bool)
    func (hv H264Video) AsH265Video() (*H265Video, bool)
    func (hv H264Video) AsImage() (*Image, bool)
    func (hv H264Video) AsJpgImage() (*JpgImage, bool)
    func (hv H264Video) AsPngImage() (*PngImage, bool)
    func (hv H264Video) AsVideo() (*Video, bool)
    func (hv H264Video) MarshalJSON() ([]byte, error)
type H264VideoProfile
    func PossibleH264VideoProfileValues() []H264VideoProfile
type H265Complexity
    func PossibleH265ComplexityValues() []H265Complexity
type H265Layer
    func (hl H265Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (hl H265Layer) AsBasicLayer() (BasicLayer, bool)
    func (hl H265Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (hl H265Layer) AsH264Layer() (*H264Layer, bool)
    func (hl H265Layer) AsH265Layer() (*H265Layer, bool)
    func (hl H265Layer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (hl H265Layer) AsJpgLayer() (*JpgLayer, bool)
    func (hl H265Layer) AsLayer() (*Layer, bool)
    func (hl H265Layer) AsPngLayer() (*PngLayer, bool)
    func (hl H265Layer) AsVideoLayer() (*VideoLayer, bool)
    func (hl H265Layer) MarshalJSON() ([]byte, error)
type H265Video
    func (hv H265Video) AsAacAudio() (*AacAudio, bool)
    func (hv H265Video) AsAudio() (*Audio, bool)
    func (hv H265Video) AsBasicAudio() (BasicAudio, bool)
    func (hv H265Video) AsBasicCodec() (BasicCodec, bool)
    func (hv H265Video) AsBasicImage() (BasicImage, bool)
    func (hv H265Video) AsBasicVideo() (BasicVideo, bool)
    func (hv H265Video) AsCodec() (*Codec, bool)
    func (hv H265Video) AsCopyAudio() (*CopyAudio, bool)
    func (hv H265Video) AsCopyVideo() (*CopyVideo, bool)
    func (hv H265Video) AsH264Video() (*H264Video, bool)
    func (hv H265Video) AsH265Video() (*H265Video, bool)
    func (hv H265Video) AsImage() (*Image, bool)
    func (hv H265Video) AsJpgImage() (*JpgImage, bool)
    func (hv H265Video) AsPngImage() (*PngImage, bool)
    func (hv H265Video) AsVideo() (*Video, bool)
    func (hv H265Video) MarshalJSON() ([]byte, error)
type H265VideoLayer
    func (hvl H265VideoLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (hvl H265VideoLayer) AsBasicLayer() (BasicLayer, bool)
    func (hvl H265VideoLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (hvl H265VideoLayer) AsH264Layer() (*H264Layer, bool)
    func (hvl H265VideoLayer) AsH265Layer() (*H265Layer, bool)
    func (hvl H265VideoLayer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (hvl H265VideoLayer) AsJpgLayer() (*JpgLayer, bool)
    func (hvl H265VideoLayer) AsLayer() (*Layer, bool)
    func (hvl H265VideoLayer) AsPngLayer() (*PngLayer, bool)
    func (hvl H265VideoLayer) AsVideoLayer() (*VideoLayer, bool)
    func (hvl H265VideoLayer) MarshalJSON() ([]byte, error)
type H265VideoProfile
    func PossibleH265VideoProfileValues() []H265VideoProfile
type Hls
type IPAccessControl
type IPRange
type Image
    func (i Image) AsAacAudio() (*AacAudio, bool)
    func (i Image) AsAudio() (*Audio, bool)
    func (i Image) AsBasicAudio() (BasicAudio, bool)
    func (i Image) AsBasicCodec() (BasicCodec, bool)
    func (i Image) AsBasicImage() (BasicImage, bool)
    func (i Image) AsBasicVideo() (BasicVideo, bool)
    func (i Image) AsCodec() (*Codec, bool)
    func (i Image) AsCopyAudio() (*CopyAudio, bool)
    func (i Image) AsCopyVideo() (*CopyVideo, bool)
    func (i Image) AsH264Video() (*H264Video, bool)
    func (i Image) AsH265Video() (*H265Video, bool)
    func (i Image) AsImage() (*Image, bool)
    func (i Image) AsJpgImage() (*JpgImage, bool)
    func (i Image) AsPngImage() (*PngImage, bool)
    func (i Image) AsVideo() (*Video, bool)
    func (i Image) MarshalJSON() ([]byte, error)
type ImageFormat
    func (ifVar ImageFormat) AsBasicFormat() (BasicFormat, bool)
    func (ifVar ImageFormat) AsBasicImageFormat() (BasicImageFormat, bool)
    func (ifVar ImageFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (ifVar ImageFormat) AsFormat() (*Format, bool)
    func (ifVar ImageFormat) AsImageFormat() (*ImageFormat, bool)
    func (ifVar ImageFormat) AsJpgFormat() (*JpgFormat, bool)
    func (ifVar ImageFormat) AsMp4Format() (*Mp4Format, bool)
    func (ifVar ImageFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (ifVar ImageFormat) AsPngFormat() (*PngFormat, bool)
    func (ifVar ImageFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (ifVar ImageFormat) MarshalJSON() ([]byte, error)
type InputDefinition
    func (ID InputDefinition) AsBasicInputDefinition() (BasicInputDefinition, bool)
    func (ID InputDefinition) AsFromAllInputFile() (*FromAllInputFile, bool)
    func (ID InputDefinition) AsFromEachInputFile() (*FromEachInputFile, bool)
    func (ID InputDefinition) AsInputDefinition() (*InputDefinition, bool)
    func (ID InputDefinition) AsInputFile() (*InputFile, bool)
    func (ID InputDefinition) MarshalJSON() ([]byte, error)
    func (ID *InputDefinition) UnmarshalJSON(body []byte) error
type InputFile
    func (ifVar InputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)
    func (ifVar InputFile) AsFromAllInputFile() (*FromAllInputFile, bool)
    func (ifVar InputFile) AsFromEachInputFile() (*FromEachInputFile, bool)
    func (ifVar InputFile) AsInputDefinition() (*InputDefinition, bool)
    func (ifVar InputFile) AsInputFile() (*InputFile, bool)
    func (ifVar InputFile) MarshalJSON() ([]byte, error)
    func (ifVar *InputFile) UnmarshalJSON(body []byte) error
type InsightsType
    func PossibleInsightsTypeValues() []InsightsType
type InterleaveOutput
    func PossibleInterleaveOutputValues() []InterleaveOutput
type Job
    func (j Job) MarshalJSON() ([]byte, error)
    func (j *Job) UnmarshalJSON(body []byte) error
type JobCollection
    func (jc JobCollection) IsEmpty() bool
type JobCollectionIterator
    func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator
    func (iter *JobCollectionIterator) Next() error
    func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter JobCollectionIterator) NotDone() bool
    func (iter JobCollectionIterator) Response() JobCollection
    func (iter JobCollectionIterator) Value() Job
type JobCollectionPage
    func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage
    func (page *JobCollectionPage) Next() error
    func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page JobCollectionPage) NotDone() bool
    func (page JobCollectionPage) Response() JobCollection
    func (page JobCollectionPage) Values() []Job
type JobError
    func (je JobError) MarshalJSON() ([]byte, error)
type JobErrorCategory
    func PossibleJobErrorCategoryValues() []JobErrorCategory
type JobErrorCode
    func PossibleJobErrorCodeValues() []JobErrorCode
type JobErrorDetail
    func (jed JobErrorDetail) MarshalJSON() ([]byte, error)
type JobInput
    func (ji JobInput) AsBasicJobInput() (BasicJobInput, bool)
    func (ji JobInput) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (ji JobInput) AsJobInput() (*JobInput, bool)
    func (ji JobInput) AsJobInputAsset() (*JobInputAsset, bool)
    func (ji JobInput) AsJobInputClip() (*JobInputClip, bool)
    func (ji JobInput) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (ji JobInput) AsJobInputSequence() (*JobInputSequence, bool)
    func (ji JobInput) AsJobInputs() (*JobInputs, bool)
    func (ji JobInput) MarshalJSON() ([]byte, error)
type JobInputAsset
    func (jia JobInputAsset) AsBasicJobInput() (BasicJobInput, bool)
    func (jia JobInputAsset) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (jia JobInputAsset) AsJobInput() (*JobInput, bool)
    func (jia JobInputAsset) AsJobInputAsset() (*JobInputAsset, bool)
    func (jia JobInputAsset) AsJobInputClip() (*JobInputClip, bool)
    func (jia JobInputAsset) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (jia JobInputAsset) AsJobInputSequence() (*JobInputSequence, bool)
    func (jia JobInputAsset) AsJobInputs() (*JobInputs, bool)
    func (jia JobInputAsset) MarshalJSON() ([]byte, error)
    func (jia *JobInputAsset) UnmarshalJSON(body []byte) error
type JobInputClip
    func (jic JobInputClip) AsBasicJobInput() (BasicJobInput, bool)
    func (jic JobInputClip) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (jic JobInputClip) AsJobInput() (*JobInput, bool)
    func (jic JobInputClip) AsJobInputAsset() (*JobInputAsset, bool)
    func (jic JobInputClip) AsJobInputClip() (*JobInputClip, bool)
    func (jic JobInputClip) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (jic JobInputClip) AsJobInputSequence() (*JobInputSequence, bool)
    func (jic JobInputClip) AsJobInputs() (*JobInputs, bool)
    func (jic JobInputClip) MarshalJSON() ([]byte, error)
    func (jic *JobInputClip) UnmarshalJSON(body []byte) error
type JobInputHTTP
    func (jih JobInputHTTP) AsBasicJobInput() (BasicJobInput, bool)
    func (jih JobInputHTTP) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (jih JobInputHTTP) AsJobInput() (*JobInput, bool)
    func (jih JobInputHTTP) AsJobInputAsset() (*JobInputAsset, bool)
    func (jih JobInputHTTP) AsJobInputClip() (*JobInputClip, bool)
    func (jih JobInputHTTP) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (jih JobInputHTTP) AsJobInputSequence() (*JobInputSequence, bool)
    func (jih JobInputHTTP) AsJobInputs() (*JobInputs, bool)
    func (jih JobInputHTTP) MarshalJSON() ([]byte, error)
    func (jih *JobInputHTTP) UnmarshalJSON(body []byte) error
type JobInputSequence
    func (jis JobInputSequence) AsBasicJobInput() (BasicJobInput, bool)
    func (jis JobInputSequence) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (jis JobInputSequence) AsJobInput() (*JobInput, bool)
    func (jis JobInputSequence) AsJobInputAsset() (*JobInputAsset, bool)
    func (jis JobInputSequence) AsJobInputClip() (*JobInputClip, bool)
    func (jis JobInputSequence) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (jis JobInputSequence) AsJobInputSequence() (*JobInputSequence, bool)
    func (jis JobInputSequence) AsJobInputs() (*JobInputs, bool)
    func (jis JobInputSequence) MarshalJSON() ([]byte, error)
    func (jis *JobInputSequence) UnmarshalJSON(body []byte) error
type JobInputs
    func (ji JobInputs) AsBasicJobInput() (BasicJobInput, bool)
    func (ji JobInputs) AsBasicJobInputClip() (BasicJobInputClip, bool)
    func (ji JobInputs) AsJobInput() (*JobInput, bool)
    func (ji JobInputs) AsJobInputAsset() (*JobInputAsset, bool)
    func (ji JobInputs) AsJobInputClip() (*JobInputClip, bool)
    func (ji JobInputs) AsJobInputHTTP() (*JobInputHTTP, bool)
    func (ji JobInputs) AsJobInputSequence() (*JobInputSequence, bool)
    func (ji JobInputs) AsJobInputs() (*JobInputs, bool)
    func (ji JobInputs) MarshalJSON() ([]byte, error)
    func (ji *JobInputs) UnmarshalJSON(body []byte) error
type JobOutput
    func (jo JobOutput) AsBasicJobOutput() (BasicJobOutput, bool)
    func (jo JobOutput) AsJobOutput() (*JobOutput, bool)
    func (jo JobOutput) AsJobOutputAsset() (*JobOutputAsset, bool)
    func (jo JobOutput) MarshalJSON() ([]byte, error)
    func (jo *JobOutput) UnmarshalJSON(body []byte) error
type JobOutputAsset
    func (joa JobOutputAsset) AsBasicJobOutput() (BasicJobOutput, bool)
    func (joa JobOutputAsset) AsJobOutput() (*JobOutput, bool)
    func (joa JobOutputAsset) AsJobOutputAsset() (*JobOutputAsset, bool)
    func (joa JobOutputAsset) MarshalJSON() ([]byte, error)
    func (joa *JobOutputAsset) UnmarshalJSON(body []byte) error
type JobProperties
    func (jp JobProperties) MarshalJSON() ([]byte, error)
    func (jp *JobProperties) UnmarshalJSON(body []byte) error
type JobRetry
    func PossibleJobRetryValues() []JobRetry
type JobState
    func PossibleJobStateValues() []JobState
type JobsClient
    func NewJobsClient(subscriptionID string) JobsClient
    func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
    func (client JobsClient) CancelJob(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result autorest.Response, err error)
    func (client JobsClient) CancelJobPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)
    func (client JobsClient) CancelJobResponder(resp *http.Response) (result autorest.Response, err error)
    func (client JobsClient) CancelJobSender(req *http.Request) (*http.Response, error)
    func (client JobsClient) Create(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (result Job, err error)
    func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (*http.Request, error)
    func (client JobsClient) CreateResponder(resp *http.Response) (result Job, err error)
    func (client JobsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result autorest.Response, err error)
    func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)
    func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client JobsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client JobsClient) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result Job, err error)
    func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)
    func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)
    func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client JobsClient) List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionPage, err error)
    func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionIterator, err error)
    func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (*http.Request, error)
    func (client JobsClient) ListResponder(resp *http.Response) (result JobCollection, err error)
    func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client JobsClient) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (result Job, err error)
    func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (*http.Request, error)
    func (client JobsClient) UpdateResponder(resp *http.Response) (result Job, err error)
    func (client JobsClient) UpdateSender(req *http.Request) (*http.Response, error)
type JpgFormat
    func (jf JpgFormat) AsBasicFormat() (BasicFormat, bool)
    func (jf JpgFormat) AsBasicImageFormat() (BasicImageFormat, bool)
    func (jf JpgFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (jf JpgFormat) AsFormat() (*Format, bool)
    func (jf JpgFormat) AsImageFormat() (*ImageFormat, bool)
    func (jf JpgFormat) AsJpgFormat() (*JpgFormat, bool)
    func (jf JpgFormat) AsMp4Format() (*Mp4Format, bool)
    func (jf JpgFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (jf JpgFormat) AsPngFormat() (*PngFormat, bool)
    func (jf JpgFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (jf JpgFormat) MarshalJSON() ([]byte, error)
type JpgImage
    func (ji JpgImage) AsAacAudio() (*AacAudio, bool)
    func (ji JpgImage) AsAudio() (*Audio, bool)
    func (ji JpgImage) AsBasicAudio() (BasicAudio, bool)
    func (ji JpgImage) AsBasicCodec() (BasicCodec, bool)
    func (ji JpgImage) AsBasicImage() (BasicImage, bool)
    func (ji JpgImage) AsBasicVideo() (BasicVideo, bool)
    func (ji JpgImage) AsCodec() (*Codec, bool)
    func (ji JpgImage) AsCopyAudio() (*CopyAudio, bool)
    func (ji JpgImage) AsCopyVideo() (*CopyVideo, bool)
    func (ji JpgImage) AsH264Video() (*H264Video, bool)
    func (ji JpgImage) AsH265Video() (*H265Video, bool)
    func (ji JpgImage) AsImage() (*Image, bool)
    func (ji JpgImage) AsJpgImage() (*JpgImage, bool)
    func (ji JpgImage) AsPngImage() (*PngImage, bool)
    func (ji JpgImage) AsVideo() (*Video, bool)
    func (ji JpgImage) MarshalJSON() ([]byte, error)
type JpgLayer
    func (jl JpgLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (jl JpgLayer) AsBasicLayer() (BasicLayer, bool)
    func (jl JpgLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (jl JpgLayer) AsH264Layer() (*H264Layer, bool)
    func (jl JpgLayer) AsH265Layer() (*H265Layer, bool)
    func (jl JpgLayer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (jl JpgLayer) AsJpgLayer() (*JpgLayer, bool)
    func (jl JpgLayer) AsLayer() (*Layer, bool)
    func (jl JpgLayer) AsPngLayer() (*PngLayer, bool)
    func (jl JpgLayer) AsVideoLayer() (*VideoLayer, bool)
    func (jl JpgLayer) MarshalJSON() ([]byte, error)
type KeyDelivery
type KeyVaultProperties
    func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error)
type Layer
    func (l Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (l Layer) AsBasicLayer() (BasicLayer, bool)
    func (l Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (l Layer) AsH264Layer() (*H264Layer, bool)
    func (l Layer) AsH265Layer() (*H265Layer, bool)
    func (l Layer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (l Layer) AsJpgLayer() (*JpgLayer, bool)
    func (l Layer) AsLayer() (*Layer, bool)
    func (l Layer) AsPngLayer() (*PngLayer, bool)
    func (l Layer) AsVideoLayer() (*VideoLayer, bool)
    func (l Layer) MarshalJSON() ([]byte, error)
type ListContainerSasInput
type ListContentKeysResponse
type ListEdgePoliciesInput
type ListPathsResponse
type ListStreamingLocatorsResponse
    func (lslr ListStreamingLocatorsResponse) MarshalJSON() ([]byte, error)
type LiveEvent
    func (le LiveEvent) MarshalJSON() ([]byte, error)
    func (le *LiveEvent) UnmarshalJSON(body []byte) error
type LiveEventActionInput
type LiveEventEncoding
type LiveEventEncodingType
    func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType
type LiveEventEndpoint
type LiveEventInput
type LiveEventInputAccessControl
type LiveEventInputProtocol
    func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol
type LiveEventInputTrackSelection
type LiveEventListResult
    func (lelr LiveEventListResult) IsEmpty() bool
type LiveEventListResultIterator
    func NewLiveEventListResultIterator(page LiveEventListResultPage) LiveEventListResultIterator
    func (iter *LiveEventListResultIterator) Next() error
    func (iter *LiveEventListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter LiveEventListResultIterator) NotDone() bool
    func (iter LiveEventListResultIterator) Response() LiveEventListResult
    func (iter LiveEventListResultIterator) Value() LiveEvent
type LiveEventListResultPage
    func NewLiveEventListResultPage(cur LiveEventListResult, getNextPage func(context.Context, LiveEventListResult) (LiveEventListResult, error)) LiveEventListResultPage
    func (page *LiveEventListResultPage) Next() error
    func (page *LiveEventListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page LiveEventListResultPage) NotDone() bool
    func (page LiveEventListResultPage) Response() LiveEventListResult
    func (page LiveEventListResultPage) Values() []LiveEvent
type LiveEventOutputTranscriptionTrack
type LiveEventPreview
type LiveEventPreviewAccessControl
type LiveEventProperties
    func (lep LiveEventProperties) MarshalJSON() ([]byte, error)
type LiveEventResourceState
    func PossibleLiveEventResourceStateValues() []LiveEventResourceState
type LiveEventTranscription
type LiveEventsAllocateFuture
    func (future *LiveEventsAllocateFuture) UnmarshalJSON(body []byte) error
type LiveEventsClient
    func NewLiveEventsClient(subscriptionID string) LiveEventsClient
    func NewLiveEventsClientWithBaseURI(baseURI string, subscriptionID string) LiveEventsClient
    func (client LiveEventsClient) Allocate(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsAllocateFuture, err error)
    func (client LiveEventsClient) AllocatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveEventsClient) AllocateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveEventsClient) AllocateSender(req *http.Request) (future LiveEventsAllocateFuture, err error)
    func (client LiveEventsClient) Create(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent, autoStart *bool) (result LiveEventsCreateFuture, err error)
    func (client LiveEventsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent, autoStart *bool) (*http.Request, error)
    func (client LiveEventsClient) CreateResponder(resp *http.Response) (result LiveEvent, err error)
    func (client LiveEventsClient) CreateSender(req *http.Request) (future LiveEventsCreateFuture, err error)
    func (client LiveEventsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsDeleteFuture, err error)
    func (client LiveEventsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveEventsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveEventsClient) DeleteSender(req *http.Request) (future LiveEventsDeleteFuture, err error)
    func (client LiveEventsClient) Get(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEvent, err error)
    func (client LiveEventsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveEventsClient) GetResponder(resp *http.Response) (result LiveEvent, err error)
    func (client LiveEventsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client LiveEventsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result LiveEventListResultPage, err error)
    func (client LiveEventsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result LiveEventListResultIterator, err error)
    func (client LiveEventsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client LiveEventsClient) ListResponder(resp *http.Response) (result LiveEventListResult, err error)
    func (client LiveEventsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client LiveEventsClient) Reset(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsResetFuture, err error)
    func (client LiveEventsClient) ResetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveEventsClient) ResetResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveEventsClient) ResetSender(req *http.Request) (future LiveEventsResetFuture, err error)
    func (client LiveEventsClient) Start(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsStartFuture, err error)
    func (client LiveEventsClient) StartPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveEventsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveEventsClient) StartSender(req *http.Request) (future LiveEventsStartFuture, err error)
    func (client LiveEventsClient) Stop(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEventActionInput) (result LiveEventsStopFuture, err error)
    func (client LiveEventsClient) StopPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEventActionInput) (*http.Request, error)
    func (client LiveEventsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveEventsClient) StopSender(req *http.Request) (future LiveEventsStopFuture, err error)
    func (client LiveEventsClient) Update(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent) (result LiveEventsUpdateFuture, err error)
    func (client LiveEventsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent) (*http.Request, error)
    func (client LiveEventsClient) UpdateResponder(resp *http.Response) (result LiveEvent, err error)
    func (client LiveEventsClient) UpdateSender(req *http.Request) (future LiveEventsUpdateFuture, err error)
type LiveEventsCreateFuture
    func (future *LiveEventsCreateFuture) UnmarshalJSON(body []byte) error
type LiveEventsDeleteFuture
    func (future *LiveEventsDeleteFuture) UnmarshalJSON(body []byte) error
type LiveEventsResetFuture
    func (future *LiveEventsResetFuture) UnmarshalJSON(body []byte) error
type LiveEventsStartFuture
    func (future *LiveEventsStartFuture) UnmarshalJSON(body []byte) error
type LiveEventsStopFuture
    func (future *LiveEventsStopFuture) UnmarshalJSON(body []byte) error
type LiveEventsUpdateFuture
    func (future *LiveEventsUpdateFuture) UnmarshalJSON(body []byte) error
type LiveOutput
    func (lo LiveOutput) MarshalJSON() ([]byte, error)
    func (lo *LiveOutput) UnmarshalJSON(body []byte) error
type LiveOutputListResult
    func (lolr LiveOutputListResult) IsEmpty() bool
type LiveOutputListResultIterator
    func NewLiveOutputListResultIterator(page LiveOutputListResultPage) LiveOutputListResultIterator
    func (iter *LiveOutputListResultIterator) Next() error
    func (iter *LiveOutputListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter LiveOutputListResultIterator) NotDone() bool
    func (iter LiveOutputListResultIterator) Response() LiveOutputListResult
    func (iter LiveOutputListResultIterator) Value() LiveOutput
type LiveOutputListResultPage
    func NewLiveOutputListResultPage(cur LiveOutputListResult, getNextPage func(context.Context, LiveOutputListResult) (LiveOutputListResult, error)) LiveOutputListResultPage
    func (page *LiveOutputListResultPage) Next() error
    func (page *LiveOutputListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page LiveOutputListResultPage) NotDone() bool
    func (page LiveOutputListResultPage) Response() LiveOutputListResult
    func (page LiveOutputListResultPage) Values() []LiveOutput
type LiveOutputProperties
    func (lop LiveOutputProperties) MarshalJSON() ([]byte, error)
type LiveOutputResourceState
    func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState
type LiveOutputsClient
    func NewLiveOutputsClient(subscriptionID string) LiveOutputsClient
    func NewLiveOutputsClientWithBaseURI(baseURI string, subscriptionID string) LiveOutputsClient
    func (client LiveOutputsClient) Create(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, parameters LiveOutput) (result LiveOutputsCreateFuture, err error)
    func (client LiveOutputsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, parameters LiveOutput) (*http.Request, error)
    func (client LiveOutputsClient) CreateResponder(resp *http.Response) (result LiveOutput, err error)
    func (client LiveOutputsClient) CreateSender(req *http.Request) (future LiveOutputsCreateFuture, err error)
    func (client LiveOutputsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (result LiveOutputsDeleteFuture, err error)
    func (client LiveOutputsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (*http.Request, error)
    func (client LiveOutputsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LiveOutputsClient) DeleteSender(req *http.Request) (future LiveOutputsDeleteFuture, err error)
    func (client LiveOutputsClient) Get(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (result LiveOutput, err error)
    func (client LiveOutputsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (*http.Request, error)
    func (client LiveOutputsClient) GetResponder(resp *http.Response) (result LiveOutput, err error)
    func (client LiveOutputsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client LiveOutputsClient) List(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveOutputListResultPage, err error)
    func (client LiveOutputsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveOutputListResultIterator, err error)
    func (client LiveOutputsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)
    func (client LiveOutputsClient) ListResponder(resp *http.Response) (result LiveOutputListResult, err error)
    func (client LiveOutputsClient) ListSender(req *http.Request) (*http.Response, error)
type LiveOutputsCreateFuture
    func (future *LiveOutputsCreateFuture) UnmarshalJSON(body []byte) error
type LiveOutputsDeleteFuture
    func (future *LiveOutputsDeleteFuture) UnmarshalJSON(body []byte) error
type LocationsClient
    func NewLocationsClient(subscriptionID string) LocationsClient
    func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient
    func (client LocationsClient) CheckNameAvailability(ctx context.Context, locationName string, parameters CheckNameAvailabilityInput) (result EntityNameAvailabilityCheckOutput, err error)
    func (client LocationsClient) CheckNameAvailabilityPreparer(ctx context.Context, locationName string, parameters CheckNameAvailabilityInput) (*http.Request, error)
    func (client LocationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result EntityNameAvailabilityCheckOutput, err error)
    func (client LocationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
type LogSpecification
    func (ls LogSpecification) MarshalJSON() ([]byte, error)
type MediaservicesClient
    func NewMediaservicesClient(subscriptionID string) MediaservicesClient
    func NewMediaservicesClientWithBaseURI(baseURI string, subscriptionID string) MediaservicesClient
    func (client MediaservicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, parameters Service) (result Service, err error)
    func (client MediaservicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters Service) (*http.Request, error)
    func (client MediaservicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)
    func (client MediaservicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
    func (client MediaservicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client MediaservicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MediaservicesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Service, err error)
    func (client MediaservicesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client MediaservicesClient) GetResponder(resp *http.Response) (result Service, err error)
    func (client MediaservicesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) List(ctx context.Context, resourceGroupName string) (result ServiceCollectionPage, err error)
    func (client MediaservicesClient) ListBySubscription(ctx context.Context) (result ServiceCollectionPage, err error)
    func (client MediaservicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceCollectionIterator, err error)
    func (client MediaservicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client MediaservicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceCollection, err error)
    func (client MediaservicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result ServiceCollectionIterator, err error)
    func (client MediaservicesClient) ListEdgePolicies(ctx context.Context, resourceGroupName string, accountName string, parameters ListEdgePoliciesInput) (result EdgePolicies, err error)
    func (client MediaservicesClient) ListEdgePoliciesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters ListEdgePoliciesInput) (*http.Request, error)
    func (client MediaservicesClient) ListEdgePoliciesResponder(resp *http.Response) (result EdgePolicies, err error)
    func (client MediaservicesClient) ListEdgePoliciesSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client MediaservicesClient) ListResponder(resp *http.Response) (result ServiceCollection, err error)
    func (client MediaservicesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) SyncStorageKeys(ctx context.Context, resourceGroupName string, accountName string, parameters SyncStorageKeysInput) (result autorest.Response, err error)
    func (client MediaservicesClient) SyncStorageKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters SyncStorageKeysInput) (*http.Request, error)
    func (client MediaservicesClient) SyncStorageKeysResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MediaservicesClient) SyncStorageKeysSender(req *http.Request) (*http.Response, error)
    func (client MediaservicesClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceUpdate) (result Service, err error)
    func (client MediaservicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceUpdate) (*http.Request, error)
    func (client MediaservicesClient) UpdateResponder(resp *http.Response) (result Service, err error)
    func (client MediaservicesClient) UpdateSender(req *http.Request) (*http.Response, error)
type MetricAggregationType
    func PossibleMetricAggregationTypeValues() []MetricAggregationType
type MetricDimension
    func (md MetricDimension) MarshalJSON() ([]byte, error)
type MetricSpecification
    func (ms MetricSpecification) MarshalJSON() ([]byte, error)
type MetricUnit
    func PossibleMetricUnitValues() []MetricUnit
type Mp4Format
    func (m4f Mp4Format) AsBasicFormat() (BasicFormat, bool)
    func (m4f Mp4Format) AsBasicImageFormat() (BasicImageFormat, bool)
    func (m4f Mp4Format) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (m4f Mp4Format) AsFormat() (*Format, bool)
    func (m4f Mp4Format) AsImageFormat() (*ImageFormat, bool)
    func (m4f Mp4Format) AsJpgFormat() (*JpgFormat, bool)
    func (m4f Mp4Format) AsMp4Format() (*Mp4Format, bool)
    func (m4f Mp4Format) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (m4f Mp4Format) AsPngFormat() (*PngFormat, bool)
    func (m4f Mp4Format) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (m4f Mp4Format) MarshalJSON() ([]byte, error)
type MultiBitrateFormat
    func (mbf MultiBitrateFormat) AsBasicFormat() (BasicFormat, bool)
    func (mbf MultiBitrateFormat) AsBasicImageFormat() (BasicImageFormat, bool)
    func (mbf MultiBitrateFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (mbf MultiBitrateFormat) AsFormat() (*Format, bool)
    func (mbf MultiBitrateFormat) AsImageFormat() (*ImageFormat, bool)
    func (mbf MultiBitrateFormat) AsJpgFormat() (*JpgFormat, bool)
    func (mbf MultiBitrateFormat) AsMp4Format() (*Mp4Format, bool)
    func (mbf MultiBitrateFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (mbf MultiBitrateFormat) AsPngFormat() (*PngFormat, bool)
    func (mbf MultiBitrateFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (mbf MultiBitrateFormat) MarshalJSON() ([]byte, error)
type NoEncryption
type OdataType
    func PossibleOdataTypeValues() []OdataType
type OdataTypeBasicClipTime
    func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime
type OdataTypeBasicCodec
    func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec
type OdataTypeBasicContentKeyPolicyConfiguration
    func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues() []OdataTypeBasicContentKeyPolicyConfiguration
type OdataTypeBasicContentKeyPolicyRestriction
    func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues() []OdataTypeBasicContentKeyPolicyRestriction
type OdataTypeBasicContentKeyPolicyRestrictionTokenKey
    func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues() []OdataTypeBasicContentKeyPolicyRestrictionTokenKey
type OdataTypeBasicFormat
    func PossibleOdataTypeBasicFormatValues() []OdataTypeBasicFormat
type OdataTypeBasicInputDefinition
    func PossibleOdataTypeBasicInputDefinitionValues() []OdataTypeBasicInputDefinition
type OdataTypeBasicJobInput
    func PossibleOdataTypeBasicJobInputValues() []OdataTypeBasicJobInput
type OdataTypeBasicJobOutput
    func PossibleOdataTypeBasicJobOutputValues() []OdataTypeBasicJobOutput
type OdataTypeBasicLayer
    func PossibleOdataTypeBasicLayerValues() []OdataTypeBasicLayer
type OdataTypeBasicOverlay
    func PossibleOdataTypeBasicOverlayValues() []OdataTypeBasicOverlay
type OdataTypeBasicPreset
    func PossibleOdataTypeBasicPresetValues() []OdataTypeBasicPreset
type OdataTypeBasicTrackDescriptor
    func PossibleOdataTypeBasicTrackDescriptorValues() []OdataTypeBasicTrackDescriptor
type OnErrorType
    func PossibleOnErrorTypeValues() []OnErrorType
type Operation
type OperationCollection
type OperationDisplay
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationCollection, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationCollection, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type OutputFile
type Overlay
    func (o Overlay) AsAudioOverlay() (*AudioOverlay, bool)
    func (o Overlay) AsBasicOverlay() (BasicOverlay, bool)
    func (o Overlay) AsOverlay() (*Overlay, bool)
    func (o Overlay) AsVideoOverlay() (*VideoOverlay, bool)
    func (o Overlay) MarshalJSON() ([]byte, error)
type PngFormat
    func (pf PngFormat) AsBasicFormat() (BasicFormat, bool)
    func (pf PngFormat) AsBasicImageFormat() (BasicImageFormat, bool)
    func (pf PngFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (pf PngFormat) AsFormat() (*Format, bool)
    func (pf PngFormat) AsImageFormat() (*ImageFormat, bool)
    func (pf PngFormat) AsJpgFormat() (*JpgFormat, bool)
    func (pf PngFormat) AsMp4Format() (*Mp4Format, bool)
    func (pf PngFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (pf PngFormat) AsPngFormat() (*PngFormat, bool)
    func (pf PngFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (pf PngFormat) MarshalJSON() ([]byte, error)
type PngImage
    func (pi PngImage) AsAacAudio() (*AacAudio, bool)
    func (pi PngImage) AsAudio() (*Audio, bool)
    func (pi PngImage) AsBasicAudio() (BasicAudio, bool)
    func (pi PngImage) AsBasicCodec() (BasicCodec, bool)
    func (pi PngImage) AsBasicImage() (BasicImage, bool)
    func (pi PngImage) AsBasicVideo() (BasicVideo, bool)
    func (pi PngImage) AsCodec() (*Codec, bool)
    func (pi PngImage) AsCopyAudio() (*CopyAudio, bool)
    func (pi PngImage) AsCopyVideo() (*CopyVideo, bool)
    func (pi PngImage) AsH264Video() (*H264Video, bool)
    func (pi PngImage) AsH265Video() (*H265Video, bool)
    func (pi PngImage) AsImage() (*Image, bool)
    func (pi PngImage) AsJpgImage() (*JpgImage, bool)
    func (pi PngImage) AsPngImage() (*PngImage, bool)
    func (pi PngImage) AsVideo() (*Video, bool)
    func (pi PngImage) MarshalJSON() ([]byte, error)
type PngLayer
    func (pl PngLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (pl PngLayer) AsBasicLayer() (BasicLayer, bool)
    func (pl PngLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (pl PngLayer) AsH264Layer() (*H264Layer, bool)
    func (pl PngLayer) AsH265Layer() (*H265Layer, bool)
    func (pl PngLayer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (pl PngLayer) AsJpgLayer() (*JpgLayer, bool)
    func (pl PngLayer) AsLayer() (*Layer, bool)
    func (pl PngLayer) AsPngLayer() (*PngLayer, bool)
    func (pl PngLayer) AsVideoLayer() (*VideoLayer, bool)
    func (pl PngLayer) MarshalJSON() ([]byte, error)
type PresentationTimeRange
type Preset
    func (p Preset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (p Preset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (p Preset) AsBasicPreset() (BasicPreset, bool)
    func (p Preset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (p Preset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (p Preset) AsPreset() (*Preset, bool)
    func (p Preset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (p Preset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (p Preset) MarshalJSON() ([]byte, error)
type PresetConfigurations
type Priority
    func PossiblePriorityValues() []Priority
type PrivateEndpoint
    func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
type PrivateEndpointConnection
    func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
    func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
type PrivateEndpointConnectionListResult
type PrivateEndpointConnectionProperties
type PrivateEndpointConnectionProvisioningState
    func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState
type PrivateEndpointConnectionsClient
    func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
    func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
    func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, name string) (result autorest.Response, err error)
    func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateEndpointConnectionListResult, err error)
    func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
    func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
type PrivateEndpointServiceConnectionStatus
    func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus
type PrivateLinkResource
    func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
    func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error
type PrivateLinkResourceListResult
type PrivateLinkResourceProperties
    func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
type PrivateLinkResourcesClient
    func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
    func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
    func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateLinkResource, err error)
    func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)
    func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
    func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateLinkResourceListResult, err error)
    func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
    func (client PrivateLinkResourcesClient) ListSender(req *http.Request) (*http.Response, error)
type PrivateLinkServiceConnectionState
type Properties
    func (p Properties) MarshalJSON() ([]byte, error)
type ProxyResource
    func (pr ProxyResource) MarshalJSON() ([]byte, error)
type PublicNetworkAccess
    func PossiblePublicNetworkAccessValues() []PublicNetworkAccess
type Rectangle
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceIdentity
type Rotation
    func PossibleRotationValues() []Rotation
type SelectAudioTrackByAttribute
    func (satba SelectAudioTrackByAttribute) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (satba SelectAudioTrackByAttribute) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (satba SelectAudioTrackByAttribute) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (satba SelectAudioTrackByAttribute) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (satba SelectAudioTrackByAttribute) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (satba SelectAudioTrackByAttribute) MarshalJSON() ([]byte, error)
type SelectAudioTrackByID
    func (satbi SelectAudioTrackByID) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (satbi SelectAudioTrackByID) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (satbi SelectAudioTrackByID) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (satbi SelectAudioTrackByID) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (satbi SelectAudioTrackByID) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (satbi SelectAudioTrackByID) MarshalJSON() ([]byte, error)
type SelectVideoTrackByAttribute
    func (svtba SelectVideoTrackByAttribute) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (svtba SelectVideoTrackByAttribute) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (svtba SelectVideoTrackByAttribute) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (svtba SelectVideoTrackByAttribute) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (svtba SelectVideoTrackByAttribute) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (svtba SelectVideoTrackByAttribute) MarshalJSON() ([]byte, error)
type SelectVideoTrackByID
    func (svtbi SelectVideoTrackByID) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (svtbi SelectVideoTrackByID) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (svtbi SelectVideoTrackByID) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (svtbi SelectVideoTrackByID) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (svtbi SelectVideoTrackByID) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (svtbi SelectVideoTrackByID) MarshalJSON() ([]byte, error)
type Service
    func (s Service) MarshalJSON() ([]byte, error)
    func (s *Service) UnmarshalJSON(body []byte) error
type ServiceCollection
    func (sc ServiceCollection) IsEmpty() bool
type ServiceCollectionIterator
    func NewServiceCollectionIterator(page ServiceCollectionPage) ServiceCollectionIterator
    func (iter *ServiceCollectionIterator) Next() error
    func (iter *ServiceCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ServiceCollectionIterator) NotDone() bool
    func (iter ServiceCollectionIterator) Response() ServiceCollection
    func (iter ServiceCollectionIterator) Value() Service
type ServiceCollectionPage
    func NewServiceCollectionPage(cur ServiceCollection, getNextPage func(context.Context, ServiceCollection) (ServiceCollection, error)) ServiceCollectionPage
    func (page *ServiceCollectionPage) Next() error
    func (page *ServiceCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page ServiceCollectionPage) NotDone() bool
    func (page ServiceCollectionPage) Response() ServiceCollection
    func (page ServiceCollectionPage) Values() []Service
type ServiceIdentity
    func (si ServiceIdentity) MarshalJSON() ([]byte, error)
type ServiceProperties
    func (sp ServiceProperties) MarshalJSON() ([]byte, error)
type ServiceSpecification
    func (ss ServiceSpecification) MarshalJSON() ([]byte, error)
type ServiceUpdate
    func (su ServiceUpdate) MarshalJSON() ([]byte, error)
    func (su *ServiceUpdate) UnmarshalJSON(body []byte) error
type StandardEncoderPreset
    func (sep StandardEncoderPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (sep StandardEncoderPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (sep StandardEncoderPreset) AsBasicPreset() (BasicPreset, bool)
    func (sep StandardEncoderPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (sep StandardEncoderPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (sep StandardEncoderPreset) AsPreset() (*Preset, bool)
    func (sep StandardEncoderPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (sep StandardEncoderPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (sep StandardEncoderPreset) MarshalJSON() ([]byte, error)
    func (sep *StandardEncoderPreset) UnmarshalJSON(body []byte) error
type StorageAccount
    func (sa StorageAccount) MarshalJSON() ([]byte, error)
type StorageAccountType
    func PossibleStorageAccountTypeValues() []StorageAccountType
type StorageAuthentication
    func PossibleStorageAuthenticationValues() []StorageAuthentication
type StorageEncryptedAssetDecryptionData
type StreamOptionsFlag
    func PossibleStreamOptionsFlagValues() []StreamOptionsFlag
type StreamingEndpoint
    func (se StreamingEndpoint) MarshalJSON() ([]byte, error)
    func (se *StreamingEndpoint) UnmarshalJSON(body []byte) error
type StreamingEndpointAccessControl
type StreamingEndpointListResult
    func (selr StreamingEndpointListResult) IsEmpty() bool
type StreamingEndpointListResultIterator
    func NewStreamingEndpointListResultIterator(page StreamingEndpointListResultPage) StreamingEndpointListResultIterator
    func (iter *StreamingEndpointListResultIterator) Next() error
    func (iter *StreamingEndpointListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter StreamingEndpointListResultIterator) NotDone() bool
    func (iter StreamingEndpointListResultIterator) Response() StreamingEndpointListResult
    func (iter StreamingEndpointListResultIterator) Value() StreamingEndpoint
type StreamingEndpointListResultPage
    func NewStreamingEndpointListResultPage(cur StreamingEndpointListResult, getNextPage func(context.Context, StreamingEndpointListResult) (StreamingEndpointListResult, error)) StreamingEndpointListResultPage
    func (page *StreamingEndpointListResultPage) Next() error
    func (page *StreamingEndpointListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page StreamingEndpointListResultPage) NotDone() bool
    func (page StreamingEndpointListResultPage) Response() StreamingEndpointListResult
    func (page StreamingEndpointListResultPage) Values() []StreamingEndpoint
type StreamingEndpointProperties
    func (sep StreamingEndpointProperties) MarshalJSON() ([]byte, error)
type StreamingEndpointResourceState
    func PossibleStreamingEndpointResourceStateValues() []StreamingEndpointResourceState
type StreamingEndpointsClient
    func NewStreamingEndpointsClient(subscriptionID string) StreamingEndpointsClient
    func NewStreamingEndpointsClientWithBaseURI(baseURI string, subscriptionID string) StreamingEndpointsClient
    func (client StreamingEndpointsClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint, autoStart *bool) (result StreamingEndpointsCreateFuture, err error)
    func (client StreamingEndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint, autoStart *bool) (*http.Request, error)
    func (client StreamingEndpointsClient) CreateResponder(resp *http.Response) (result StreamingEndpoint, err error)
    func (client StreamingEndpointsClient) CreateSender(req *http.Request) (future StreamingEndpointsCreateFuture, err error)
    func (client StreamingEndpointsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsDeleteFuture, err error)
    func (client StreamingEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)
    func (client StreamingEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingEndpointsClient) DeleteSender(req *http.Request) (future StreamingEndpointsDeleteFuture, err error)
    func (client StreamingEndpointsClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpoint, err error)
    func (client StreamingEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)
    func (client StreamingEndpointsClient) GetResponder(resp *http.Response) (result StreamingEndpoint, err error)
    func (client StreamingEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client StreamingEndpointsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result StreamingEndpointListResultPage, err error)
    func (client StreamingEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result StreamingEndpointListResultIterator, err error)
    func (client StreamingEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client StreamingEndpointsClient) ListResponder(resp *http.Response) (result StreamingEndpointListResult, err error)
    func (client StreamingEndpointsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client StreamingEndpointsClient) Scale(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEntityScaleUnit) (result StreamingEndpointsScaleFuture, err error)
    func (client StreamingEndpointsClient) ScalePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEntityScaleUnit) (*http.Request, error)
    func (client StreamingEndpointsClient) ScaleResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingEndpointsClient) ScaleSender(req *http.Request) (future StreamingEndpointsScaleFuture, err error)
    func (client StreamingEndpointsClient) Start(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsStartFuture, err error)
    func (client StreamingEndpointsClient) StartPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)
    func (client StreamingEndpointsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingEndpointsClient) StartSender(req *http.Request) (future StreamingEndpointsStartFuture, err error)
    func (client StreamingEndpointsClient) Stop(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsStopFuture, err error)
    func (client StreamingEndpointsClient) StopPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)
    func (client StreamingEndpointsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingEndpointsClient) StopSender(req *http.Request) (future StreamingEndpointsStopFuture, err error)
    func (client StreamingEndpointsClient) Update(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint) (result StreamingEndpointsUpdateFuture, err error)
    func (client StreamingEndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint) (*http.Request, error)
    func (client StreamingEndpointsClient) UpdateResponder(resp *http.Response) (result StreamingEndpoint, err error)
    func (client StreamingEndpointsClient) UpdateSender(req *http.Request) (future StreamingEndpointsUpdateFuture, err error)
type StreamingEndpointsCreateFuture
    func (future *StreamingEndpointsCreateFuture) UnmarshalJSON(body []byte) error
type StreamingEndpointsDeleteFuture
    func (future *StreamingEndpointsDeleteFuture) UnmarshalJSON(body []byte) error
type StreamingEndpointsScaleFuture
    func (future *StreamingEndpointsScaleFuture) UnmarshalJSON(body []byte) error
type StreamingEndpointsStartFuture
    func (future *StreamingEndpointsStartFuture) UnmarshalJSON(body []byte) error
type StreamingEndpointsStopFuture
    func (future *StreamingEndpointsStopFuture) UnmarshalJSON(body []byte) error
type StreamingEndpointsUpdateFuture
    func (future *StreamingEndpointsUpdateFuture) UnmarshalJSON(body []byte) error
type StreamingEntityScaleUnit
type StreamingLocator
    func (sl StreamingLocator) MarshalJSON() ([]byte, error)
    func (sl *StreamingLocator) UnmarshalJSON(body []byte) error
type StreamingLocatorCollection
    func (slc StreamingLocatorCollection) IsEmpty() bool
type StreamingLocatorCollectionIterator
    func NewStreamingLocatorCollectionIterator(page StreamingLocatorCollectionPage) StreamingLocatorCollectionIterator
    func (iter *StreamingLocatorCollectionIterator) Next() error
    func (iter *StreamingLocatorCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter StreamingLocatorCollectionIterator) NotDone() bool
    func (iter StreamingLocatorCollectionIterator) Response() StreamingLocatorCollection
    func (iter StreamingLocatorCollectionIterator) Value() StreamingLocator
type StreamingLocatorCollectionPage
    func NewStreamingLocatorCollectionPage(cur StreamingLocatorCollection, getNextPage func(context.Context, StreamingLocatorCollection) (StreamingLocatorCollection, error)) StreamingLocatorCollectionPage
    func (page *StreamingLocatorCollectionPage) Next() error
    func (page *StreamingLocatorCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page StreamingLocatorCollectionPage) NotDone() bool
    func (page StreamingLocatorCollectionPage) Response() StreamingLocatorCollection
    func (page StreamingLocatorCollectionPage) Values() []StreamingLocator
type StreamingLocatorContentKey
    func (slck StreamingLocatorContentKey) MarshalJSON() ([]byte, error)
type StreamingLocatorContentKeyType
    func PossibleStreamingLocatorContentKeyTypeValues() []StreamingLocatorContentKeyType
type StreamingLocatorProperties
    func (slp StreamingLocatorProperties) MarshalJSON() ([]byte, error)
type StreamingLocatorsClient
    func NewStreamingLocatorsClient(subscriptionID string) StreamingLocatorsClient
    func NewStreamingLocatorsClientWithBaseURI(baseURI string, subscriptionID string) StreamingLocatorsClient
    func (client StreamingLocatorsClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, parameters StreamingLocator) (result StreamingLocator, err error)
    func (client StreamingLocatorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, parameters StreamingLocator) (*http.Request, error)
    func (client StreamingLocatorsClient) CreateResponder(resp *http.Response) (result StreamingLocator, err error)
    func (client StreamingLocatorsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client StreamingLocatorsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result autorest.Response, err error)
    func (client StreamingLocatorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)
    func (client StreamingLocatorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingLocatorsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client StreamingLocatorsClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result StreamingLocator, err error)
    func (client StreamingLocatorsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)
    func (client StreamingLocatorsClient) GetResponder(resp *http.Response) (result StreamingLocator, err error)
    func (client StreamingLocatorsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client StreamingLocatorsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionPage, err error)
    func (client StreamingLocatorsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionIterator, err error)
    func (client StreamingLocatorsClient) ListContentKeys(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result ListContentKeysResponse, err error)
    func (client StreamingLocatorsClient) ListContentKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)
    func (client StreamingLocatorsClient) ListContentKeysResponder(resp *http.Response) (result ListContentKeysResponse, err error)
    func (client StreamingLocatorsClient) ListContentKeysSender(req *http.Request) (*http.Response, error)
    func (client StreamingLocatorsClient) ListPaths(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result ListPathsResponse, err error)
    func (client StreamingLocatorsClient) ListPathsPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)
    func (client StreamingLocatorsClient) ListPathsResponder(resp *http.Response) (result ListPathsResponse, err error)
    func (client StreamingLocatorsClient) ListPathsSender(req *http.Request) (*http.Response, error)
    func (client StreamingLocatorsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)
    func (client StreamingLocatorsClient) ListResponder(resp *http.Response) (result StreamingLocatorCollection, err error)
    func (client StreamingLocatorsClient) ListSender(req *http.Request) (*http.Response, error)
type StreamingPath
type StreamingPoliciesClient
    func NewStreamingPoliciesClient(subscriptionID string) StreamingPoliciesClient
    func NewStreamingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) StreamingPoliciesClient
    func (client StreamingPoliciesClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, parameters StreamingPolicy) (result StreamingPolicy, err error)
    func (client StreamingPoliciesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, parameters StreamingPolicy) (*http.Request, error)
    func (client StreamingPoliciesClient) CreateResponder(resp *http.Response) (result StreamingPolicy, err error)
    func (client StreamingPoliciesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client StreamingPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (result autorest.Response, err error)
    func (client StreamingPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (*http.Request, error)
    func (client StreamingPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client StreamingPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client StreamingPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (result StreamingPolicy, err error)
    func (client StreamingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (*http.Request, error)
    func (client StreamingPoliciesClient) GetResponder(resp *http.Response) (result StreamingPolicy, err error)
    func (client StreamingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client StreamingPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionPage, err error)
    func (client StreamingPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionIterator, err error)
    func (client StreamingPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)
    func (client StreamingPoliciesClient) ListResponder(resp *http.Response) (result StreamingPolicyCollection, err error)
    func (client StreamingPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
type StreamingPolicy
    func (sp StreamingPolicy) MarshalJSON() ([]byte, error)
    func (sp *StreamingPolicy) UnmarshalJSON(body []byte) error
type StreamingPolicyCollection
    func (spc StreamingPolicyCollection) IsEmpty() bool
type StreamingPolicyCollectionIterator
    func NewStreamingPolicyCollectionIterator(page StreamingPolicyCollectionPage) StreamingPolicyCollectionIterator
    func (iter *StreamingPolicyCollectionIterator) Next() error
    func (iter *StreamingPolicyCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter StreamingPolicyCollectionIterator) NotDone() bool
    func (iter StreamingPolicyCollectionIterator) Response() StreamingPolicyCollection
    func (iter StreamingPolicyCollectionIterator) Value() StreamingPolicy
type StreamingPolicyCollectionPage
    func NewStreamingPolicyCollectionPage(cur StreamingPolicyCollection, getNextPage func(context.Context, StreamingPolicyCollection) (StreamingPolicyCollection, error)) StreamingPolicyCollectionPage
    func (page *StreamingPolicyCollectionPage) Next() error
    func (page *StreamingPolicyCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page StreamingPolicyCollectionPage) NotDone() bool
    func (page StreamingPolicyCollectionPage) Response() StreamingPolicyCollection
    func (page StreamingPolicyCollectionPage) Values() []StreamingPolicy
type StreamingPolicyContentKey
type StreamingPolicyContentKeys
type StreamingPolicyFairPlayConfiguration
type StreamingPolicyPlayReadyConfiguration
type StreamingPolicyProperties
    func (spp StreamingPolicyProperties) MarshalJSON() ([]byte, error)
type StreamingPolicyStreamingProtocol
    func PossibleStreamingPolicyStreamingProtocolValues() []StreamingPolicyStreamingProtocol
type StreamingPolicyWidevineConfiguration
type StretchMode
    func PossibleStretchModeValues() []StretchMode
type SyncStorageKeysInput
type SystemData
type TrackAttribute
    func PossibleTrackAttributeValues() []TrackAttribute
type TrackDescriptor
    func (td TrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (td TrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (td TrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (td TrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (td TrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (td TrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (td TrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (td TrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (td TrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (td TrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (td TrackDescriptor) MarshalJSON() ([]byte, error)
type TrackPropertyCompareOperation
    func PossibleTrackPropertyCompareOperationValues() []TrackPropertyCompareOperation
type TrackPropertyCondition
type TrackPropertyType
    func PossibleTrackPropertyTypeValues() []TrackPropertyType
type TrackSelection
type TrackedResource
    func (tr TrackedResource) MarshalJSON() ([]byte, error)
type Transform
    func (t Transform) MarshalJSON() ([]byte, error)
    func (t *Transform) UnmarshalJSON(body []byte) error
type TransformCollection
    func (tc TransformCollection) IsEmpty() bool
type TransformCollectionIterator
    func NewTransformCollectionIterator(page TransformCollectionPage) TransformCollectionIterator
    func (iter *TransformCollectionIterator) Next() error
    func (iter *TransformCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter TransformCollectionIterator) NotDone() bool
    func (iter TransformCollectionIterator) Response() TransformCollection
    func (iter TransformCollectionIterator) Value() Transform
type TransformCollectionPage
    func NewTransformCollectionPage(cur TransformCollection, getNextPage func(context.Context, TransformCollection) (TransformCollection, error)) TransformCollectionPage
    func (page *TransformCollectionPage) Next() error
    func (page *TransformCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page TransformCollectionPage) NotDone() bool
    func (page TransformCollectionPage) Response() TransformCollection
    func (page TransformCollectionPage) Values() []Transform
type TransformOutput
    func (toVar *TransformOutput) UnmarshalJSON(body []byte) error
type TransformProperties
    func (tp TransformProperties) MarshalJSON() ([]byte, error)
type TransformsClient
    func NewTransformsClient(subscriptionID string) TransformsClient
    func NewTransformsClientWithBaseURI(baseURI string, subscriptionID string) TransformsClient
    func (client TransformsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (result Transform, err error)
    func (client TransformsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (*http.Request, error)
    func (client TransformsClient) CreateOrUpdateResponder(resp *http.Response) (result Transform, err error)
    func (client TransformsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client TransformsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result autorest.Response, err error)
    func (client TransformsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string) (*http.Request, error)
    func (client TransformsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client TransformsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client TransformsClient) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result Transform, err error)
    func (client TransformsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string) (*http.Request, error)
    func (client TransformsClient) GetResponder(resp *http.Response) (result Transform, err error)
    func (client TransformsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client TransformsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionPage, err error)
    func (client TransformsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionIterator, err error)
    func (client TransformsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (*http.Request, error)
    func (client TransformsClient) ListResponder(resp *http.Response) (result TransformCollection, err error)
    func (client TransformsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client TransformsClient) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (result Transform, err error)
    func (client TransformsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (*http.Request, error)
    func (client TransformsClient) UpdateResponder(resp *http.Response) (result Transform, err error)
    func (client TransformsClient) UpdateSender(req *http.Request) (*http.Response, error)
type TransportStreamFormat
    func (tsf TransportStreamFormat) AsBasicFormat() (BasicFormat, bool)
    func (tsf TransportStreamFormat) AsBasicImageFormat() (BasicImageFormat, bool)
    func (tsf TransportStreamFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    func (tsf TransportStreamFormat) AsFormat() (*Format, bool)
    func (tsf TransportStreamFormat) AsImageFormat() (*ImageFormat, bool)
    func (tsf TransportStreamFormat) AsJpgFormat() (*JpgFormat, bool)
    func (tsf TransportStreamFormat) AsMp4Format() (*Mp4Format, bool)
    func (tsf TransportStreamFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    func (tsf TransportStreamFormat) AsPngFormat() (*PngFormat, bool)
    func (tsf TransportStreamFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)
    func (tsf TransportStreamFormat) MarshalJSON() ([]byte, error)
type UserAssignedManagedIdentity
    func (uami UserAssignedManagedIdentity) MarshalJSON() ([]byte, error)
type UtcClipTime
    func (uct UtcClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)
    func (uct UtcClipTime) AsBasicClipTime() (BasicClipTime, bool)
    func (uct UtcClipTime) AsClipTime() (*ClipTime, bool)
    func (uct UtcClipTime) AsUtcClipTime() (*UtcClipTime, bool)
    func (uct UtcClipTime) MarshalJSON() ([]byte, error)
type Video
    func (vVar Video) AsAacAudio() (*AacAudio, bool)
    func (vVar Video) AsAudio() (*Audio, bool)
    func (vVar Video) AsBasicAudio() (BasicAudio, bool)
    func (vVar Video) AsBasicCodec() (BasicCodec, bool)
    func (vVar Video) AsBasicImage() (BasicImage, bool)
    func (vVar Video) AsBasicVideo() (BasicVideo, bool)
    func (vVar Video) AsCodec() (*Codec, bool)
    func (vVar Video) AsCopyAudio() (*CopyAudio, bool)
    func (vVar Video) AsCopyVideo() (*CopyVideo, bool)
    func (vVar Video) AsH264Video() (*H264Video, bool)
    func (vVar Video) AsH265Video() (*H265Video, bool)
    func (vVar Video) AsImage() (*Image, bool)
    func (vVar Video) AsJpgImage() (*JpgImage, bool)
    func (vVar Video) AsPngImage() (*PngImage, bool)
    func (vVar Video) AsVideo() (*Video, bool)
    func (vVar Video) MarshalJSON() ([]byte, error)
type VideoAnalyzerPreset
    func (vap VideoAnalyzerPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    func (vap VideoAnalyzerPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    func (vap VideoAnalyzerPreset) AsBasicPreset() (BasicPreset, bool)
    func (vap VideoAnalyzerPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    func (vap VideoAnalyzerPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    func (vap VideoAnalyzerPreset) AsPreset() (*Preset, bool)
    func (vap VideoAnalyzerPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    func (vap VideoAnalyzerPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    func (vap VideoAnalyzerPreset) MarshalJSON() ([]byte, error)
type VideoLayer
    func (vl VideoLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    func (vl VideoLayer) AsBasicLayer() (BasicLayer, bool)
    func (vl VideoLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)
    func (vl VideoLayer) AsH264Layer() (*H264Layer, bool)
    func (vl VideoLayer) AsH265Layer() (*H265Layer, bool)
    func (vl VideoLayer) AsH265VideoLayer() (*H265VideoLayer, bool)
    func (vl VideoLayer) AsJpgLayer() (*JpgLayer, bool)
    func (vl VideoLayer) AsLayer() (*Layer, bool)
    func (vl VideoLayer) AsPngLayer() (*PngLayer, bool)
    func (vl VideoLayer) AsVideoLayer() (*VideoLayer, bool)
    func (vl VideoLayer) MarshalJSON() ([]byte, error)
type VideoOverlay
    func (vo VideoOverlay) AsAudioOverlay() (*AudioOverlay, bool)
    func (vo VideoOverlay) AsBasicOverlay() (BasicOverlay, bool)
    func (vo VideoOverlay) AsOverlay() (*Overlay, bool)
    func (vo VideoOverlay) AsVideoOverlay() (*VideoOverlay, bool)
    func (vo VideoOverlay) MarshalJSON() ([]byte, error)
type VideoSyncMode
    func PossibleVideoSyncModeValues() []VideoSyncMode
type VideoTrackDescriptor
    func (vtd VideoTrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    func (vtd VideoTrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    func (vtd VideoTrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    func (vtd VideoTrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    func (vtd VideoTrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    func (vtd VideoTrackDescriptor) MarshalJSON() ([]byte, error)

Package files

accountfilters.go assetfilters.go assets.go client.go contentkeypolicies.go enums.go jobs.go liveevents.go liveoutputs.go locations.go mediaservices.go models.go operations.go privateendpointconnections.go privatelinkresources.go streamingendpoints.go streaminglocators.go streamingpolicies.go transforms.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Media
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AacAudio

AacAudio describes Advanced Audio Codec (AAC) audio encoding settings.

type AacAudio struct {
    // Profile - The encoding profile to be used when encoding audio with AAC. Possible values include: 'AacAudioProfileAacLc', 'AacAudioProfileHeAacV1', 'AacAudioProfileHeAacV2'
    Profile AacAudioProfile `json:"profile,omitempty"`
    // Channels - The number of channels in the audio.
    Channels *int32 `json:"channels,omitempty"`
    // SamplingRate - The sampling rate to use for encoding in hertz.
    SamplingRate *int32 `json:"samplingRate,omitempty"`
    // Bitrate - The bitrate, in bits per second, of the output encoded audio.
    Bitrate *int32 `json:"bitrate,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (AacAudio) AsAacAudio

func (aa AacAudio) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsAudio

func (aa AacAudio) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicAudio

func (aa AacAudio) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicCodec

func (aa AacAudio) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicImage

func (aa AacAudio) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicVideo

func (aa AacAudio) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCodec

func (aa AacAudio) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCopyAudio

func (aa AacAudio) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCopyVideo

func (aa AacAudio) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) AsH264Video

func (aa AacAudio) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for AacAudio.

func (AacAudio) AsH265Video

func (aa AacAudio) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for AacAudio.

func (AacAudio) AsImage

func (aa AacAudio) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsJpgImage

func (aa AacAudio) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsPngImage

func (aa AacAudio) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsVideo

func (aa AacAudio) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) MarshalJSON

func (aa AacAudio) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AacAudio.

type AacAudioProfile

AacAudioProfile enumerates the values for aac audio profile.

type AacAudioProfile string
const (
    // AacAudioProfileAacLc Specifies that the output audio is to be encoded into AAC Low Complexity profile
    // (AAC-LC).
    AacAudioProfileAacLc AacAudioProfile = "AacLc"
    // AacAudioProfileHeAacV1 Specifies that the output audio is to be encoded into HE-AAC v1 profile.
    AacAudioProfileHeAacV1 AacAudioProfile = "HeAacV1"
    // AacAudioProfileHeAacV2 Specifies that the output audio is to be encoded into HE-AAC v2 profile.
    AacAudioProfileHeAacV2 AacAudioProfile = "HeAacV2"
)

func PossibleAacAudioProfileValues

func PossibleAacAudioProfileValues() []AacAudioProfile

PossibleAacAudioProfileValues returns an array of possible values for the AacAudioProfile const type.

type AbsoluteClipTime

AbsoluteClipTime specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not.

type AbsoluteClipTime struct {
    // Time - The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
    Time *string `json:"time,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicClipTimeOdataTypeClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime'
    OdataType OdataTypeBasicClipTime `json:"@odata.type,omitempty"`
}

func (AbsoluteClipTime) AsAbsoluteClipTime

func (act AbsoluteClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)

AsAbsoluteClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) AsBasicClipTime

func (act AbsoluteClipTime) AsBasicClipTime() (BasicClipTime, bool)

AsBasicClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) AsClipTime

func (act AbsoluteClipTime) AsClipTime() (*ClipTime, bool)

AsClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) AsUtcClipTime

func (act AbsoluteClipTime) AsUtcClipTime() (*UtcClipTime, bool)

AsUtcClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) MarshalJSON

func (act AbsoluteClipTime) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AbsoluteClipTime.

type AccessControl

AccessControl ...

type AccessControl struct {
    // DefaultAction - The behavior for IP access control in Key Delivery. Possible values include: 'DefaultActionAllow', 'DefaultActionDeny'
    DefaultAction DefaultAction `json:"defaultAction,omitempty"`
    // IPAllowList - The IP allow list for access control in Key Delivery. If the default action is set to 'Allow', the IP allow list must be empty.
    IPAllowList *[]string `json:"ipAllowList,omitempty"`
}

type AccountEncryption

AccountEncryption ...

type AccountEncryption struct {
    // Type - The type of key used to encrypt the Account Key. Possible values include: 'AccountEncryptionKeyTypeSystemKey', 'AccountEncryptionKeyTypeCustomerKey'
    Type AccountEncryptionKeyType `json:"type,omitempty"`
    // KeyVaultProperties - The properties of the key used to encrypt the account.
    KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
    // Identity - The Key Vault identity.
    Identity *ResourceIdentity `json:"identity,omitempty"`
    // Status - READ-ONLY; The current status of the Key Vault mapping.
    Status *string `json:"status,omitempty"`
}

func (AccountEncryption) MarshalJSON

func (ae AccountEncryption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountEncryption.

type AccountEncryptionKeyType

AccountEncryptionKeyType enumerates the values for account encryption key type.

type AccountEncryptionKeyType string
const (
    // AccountEncryptionKeyTypeCustomerKey The Account Key is encrypted with a Customer Key.
    AccountEncryptionKeyTypeCustomerKey AccountEncryptionKeyType = "CustomerKey"
    // AccountEncryptionKeyTypeSystemKey The Account Key is encrypted with a System Key.
    AccountEncryptionKeyTypeSystemKey AccountEncryptionKeyType = "SystemKey"
)

func PossibleAccountEncryptionKeyTypeValues

func PossibleAccountEncryptionKeyTypeValues() []AccountEncryptionKeyType

PossibleAccountEncryptionKeyTypeValues returns an array of possible values for the AccountEncryptionKeyType const type.

type AccountFilter

AccountFilter an Account Filter.

type AccountFilter struct {
    autorest.Response `json:"-"`
    *FilterProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (AccountFilter) MarshalJSON

func (af AccountFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountFilter.

func (*AccountFilter) UnmarshalJSON

func (af *AccountFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccountFilter struct.

type AccountFilterCollection

AccountFilterCollection a collection of AccountFilter items.

type AccountFilterCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of AccountFilter items.
    Value *[]AccountFilter `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (AccountFilterCollection) IsEmpty

func (afc AccountFilterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountFilterCollectionIterator

AccountFilterCollectionIterator provides access to a complete listing of AccountFilter values.

type AccountFilterCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewAccountFilterCollectionIterator

func NewAccountFilterCollectionIterator(page AccountFilterCollectionPage) AccountFilterCollectionIterator

Creates a new instance of the AccountFilterCollectionIterator type.

func (*AccountFilterCollectionIterator) Next

func (iter *AccountFilterCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AccountFilterCollectionIterator) NextWithContext

func (iter *AccountFilterCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AccountFilterCollectionIterator) NotDone

func (iter AccountFilterCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AccountFilterCollectionIterator) Response

func (iter AccountFilterCollectionIterator) Response() AccountFilterCollection

Response returns the raw server response from the last page request.

func (AccountFilterCollectionIterator) Value

func (iter AccountFilterCollectionIterator) Value() AccountFilter

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AccountFilterCollectionPage

AccountFilterCollectionPage contains a page of AccountFilter values.

type AccountFilterCollectionPage struct {
    // contains filtered or unexported fields
}

func NewAccountFilterCollectionPage

func NewAccountFilterCollectionPage(cur AccountFilterCollection, getNextPage func(context.Context, AccountFilterCollection) (AccountFilterCollection, error)) AccountFilterCollectionPage

Creates a new instance of the AccountFilterCollectionPage type.

func (*AccountFilterCollectionPage) Next

func (page *AccountFilterCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AccountFilterCollectionPage) NextWithContext

func (page *AccountFilterCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AccountFilterCollectionPage) NotDone

func (page AccountFilterCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AccountFilterCollectionPage) Response

func (page AccountFilterCollectionPage) Response() AccountFilterCollection

Response returns the raw server response from the last page request.

func (AccountFilterCollectionPage) Values

func (page AccountFilterCollectionPage) Values() []AccountFilter

Values returns the slice of values for the current page or nil if there are no values.

type AccountFiltersClient

AccountFiltersClient is the client for the AccountFilters methods of the Media service.

type AccountFiltersClient struct {
    BaseClient
}

func NewAccountFiltersClient

func NewAccountFiltersClient(subscriptionID string) AccountFiltersClient

NewAccountFiltersClient creates an instance of the AccountFiltersClient client.

func NewAccountFiltersClientWithBaseURI

func NewAccountFiltersClientWithBaseURI(baseURI string, subscriptionID string) AccountFiltersClient

NewAccountFiltersClientWithBaseURI creates an instance of the AccountFiltersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AccountFiltersClient) CreateOrUpdate

func (client AccountFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (result AccountFilter, err error)

CreateOrUpdate creates or updates an Account Filter in the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filterName - the Account Filter name parameters - the request parameters

func (AccountFiltersClient) CreateOrUpdatePreparer

func (client AccountFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountFiltersClient) CreateOrUpdateResponder

func (client AccountFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result AccountFilter, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccountFiltersClient) CreateOrUpdateSender

func (client AccountFiltersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AccountFiltersClient) Delete

func (client AccountFiltersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, filterName string) (result autorest.Response, err error)

Delete deletes an Account Filter in the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filterName - the Account Filter name

func (AccountFiltersClient) DeletePreparer

func (client AccountFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountFiltersClient) DeleteResponder

func (client AccountFiltersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AccountFiltersClient) DeleteSender

func (client AccountFiltersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccountFiltersClient) Get

func (client AccountFiltersClient) Get(ctx context.Context, resourceGroupName string, accountName string, filterName string) (result AccountFilter, err error)

Get get the details of an Account Filter in the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filterName - the Account Filter name

func (AccountFiltersClient) GetPreparer

func (client AccountFiltersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountFiltersClient) GetResponder

func (client AccountFiltersClient) GetResponder(resp *http.Response) (result AccountFilter, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountFiltersClient) GetSender

func (client AccountFiltersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountFiltersClient) List

func (client AccountFiltersClient) List(ctx context.Context, resourceGroupName string, accountName string) (result AccountFilterCollectionPage, err error)

List list Account Filters in the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (AccountFiltersClient) ListComplete

func (client AccountFiltersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result AccountFilterCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AccountFiltersClient) ListPreparer

func (client AccountFiltersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AccountFiltersClient) ListResponder

func (client AccountFiltersClient) ListResponder(resp *http.Response) (result AccountFilterCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccountFiltersClient) ListSender

func (client AccountFiltersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AccountFiltersClient) Update

func (client AccountFiltersClient) Update(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (result AccountFilter, err error)

Update updates an existing Account Filter in the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filterName - the Account Filter name parameters - the request parameters

func (AccountFiltersClient) UpdatePreparer

func (client AccountFiltersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters AccountFilter) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountFiltersClient) UpdateResponder

func (client AccountFiltersClient) UpdateResponder(resp *http.Response) (result AccountFilter, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccountFiltersClient) UpdateSender

func (client AccountFiltersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ActionType

ActionType enumerates the values for action type.

type ActionType string
const (
    // ActionTypeInternal An internal action.
    ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type AkamaiAccessControl

AkamaiAccessControl akamai access control

type AkamaiAccessControl struct {
    // AkamaiSignatureHeaderAuthenticationKeyList - authentication key list
    AkamaiSignatureHeaderAuthenticationKeyList *[]AkamaiSignatureHeaderAuthenticationKey `json:"akamaiSignatureHeaderAuthenticationKeyList,omitempty"`
}

type AkamaiSignatureHeaderAuthenticationKey

AkamaiSignatureHeaderAuthenticationKey akamai Signature Header authentication key.

type AkamaiSignatureHeaderAuthenticationKey struct {
    // Identifier - identifier of the key
    Identifier *string `json:"identifier,omitempty"`
    // Base64Key - authentication key
    Base64Key *string `json:"base64Key,omitempty"`
    // Expiration - The expiration time of the authentication key.
    Expiration *date.Time `json:"expiration,omitempty"`
}

type AnalysisResolution

AnalysisResolution enumerates the values for analysis resolution.

type AnalysisResolution string
const (
    // AnalysisResolutionSourceResolution ...
    AnalysisResolutionSourceResolution AnalysisResolution = "SourceResolution"
    // AnalysisResolutionStandardDefinition ...
    AnalysisResolutionStandardDefinition AnalysisResolution = "StandardDefinition"
)

func PossibleAnalysisResolutionValues

func PossibleAnalysisResolutionValues() []AnalysisResolution

PossibleAnalysisResolutionValues returns an array of possible values for the AnalysisResolution const type.

type Asset

Asset an Asset.

type Asset struct {
    autorest.Response `json:"-"`
    // AssetProperties - The resource properties.
    *AssetProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Asset) MarshalJSON

func (a Asset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Asset.

func (*Asset) UnmarshalJSON

func (a *Asset) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Asset struct.

type AssetCollection

AssetCollection a collection of Asset items.

type AssetCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of Asset items.
    Value *[]Asset `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (AssetCollection) IsEmpty

func (ac AssetCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssetCollectionIterator

AssetCollectionIterator provides access to a complete listing of Asset values.

type AssetCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewAssetCollectionIterator

func NewAssetCollectionIterator(page AssetCollectionPage) AssetCollectionIterator

Creates a new instance of the AssetCollectionIterator type.

func (*AssetCollectionIterator) Next

func (iter *AssetCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssetCollectionIterator) NextWithContext

func (iter *AssetCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AssetCollectionIterator) NotDone

func (iter AssetCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AssetCollectionIterator) Response

func (iter AssetCollectionIterator) Response() AssetCollection

Response returns the raw server response from the last page request.

func (AssetCollectionIterator) Value

func (iter AssetCollectionIterator) Value() Asset

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AssetCollectionPage

AssetCollectionPage contains a page of Asset values.

type AssetCollectionPage struct {
    // contains filtered or unexported fields
}

func NewAssetCollectionPage

func NewAssetCollectionPage(cur AssetCollection, getNextPage func(context.Context, AssetCollection) (AssetCollection, error)) AssetCollectionPage

Creates a new instance of the AssetCollectionPage type.

func (*AssetCollectionPage) Next

func (page *AssetCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssetCollectionPage) NextWithContext

func (page *AssetCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AssetCollectionPage) NotDone

func (page AssetCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AssetCollectionPage) Response

func (page AssetCollectionPage) Response() AssetCollection

Response returns the raw server response from the last page request.

func (AssetCollectionPage) Values

func (page AssetCollectionPage) Values() []Asset

Values returns the slice of values for the current page or nil if there are no values.

type AssetContainerPermission

AssetContainerPermission enumerates the values for asset container permission.

type AssetContainerPermission string
const (
    // AssetContainerPermissionRead The SAS URL will allow read access to the container.
    AssetContainerPermissionRead AssetContainerPermission = "Read"
    // AssetContainerPermissionReadWrite The SAS URL will allow read and write access to the container.
    AssetContainerPermissionReadWrite AssetContainerPermission = "ReadWrite"
    // AssetContainerPermissionReadWriteDelete The SAS URL will allow read, write and delete access to the
    // container.
    AssetContainerPermissionReadWriteDelete AssetContainerPermission = "ReadWriteDelete"
)

func PossibleAssetContainerPermissionValues

func PossibleAssetContainerPermissionValues() []AssetContainerPermission

PossibleAssetContainerPermissionValues returns an array of possible values for the AssetContainerPermission const type.

type AssetContainerSas

AssetContainerSas the Asset Storage container SAS URLs.

type AssetContainerSas struct {
    autorest.Response `json:"-"`
    // AssetContainerSasUrls - The list of Asset container SAS URLs.
    AssetContainerSasUrls *[]string `json:"assetContainerSasUrls,omitempty"`
}

type AssetFileEncryptionMetadata

AssetFileEncryptionMetadata the Asset File Storage encryption metadata.

type AssetFileEncryptionMetadata struct {
    // InitializationVector - The Asset File initialization vector.
    InitializationVector *string `json:"initializationVector,omitempty"`
    // AssetFileName - The Asset File name.
    AssetFileName *string `json:"assetFileName,omitempty"`
    // AssetFileID - The Asset File Id.
    AssetFileID *uuid.UUID `json:"assetFileId,omitempty"`
}

type AssetFilter

AssetFilter an Asset Filter.

type AssetFilter struct {
    autorest.Response `json:"-"`
    *FilterProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (AssetFilter) MarshalJSON

func (af AssetFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssetFilter.

func (*AssetFilter) UnmarshalJSON

func (af *AssetFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssetFilter struct.

type AssetFilterCollection

AssetFilterCollection a collection of AssetFilter items.

type AssetFilterCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of AssetFilter items.
    Value *[]AssetFilter `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (AssetFilterCollection) IsEmpty

func (afc AssetFilterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssetFilterCollectionIterator

AssetFilterCollectionIterator provides access to a complete listing of AssetFilter values.

type AssetFilterCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewAssetFilterCollectionIterator

func NewAssetFilterCollectionIterator(page AssetFilterCollectionPage) AssetFilterCollectionIterator

Creates a new instance of the AssetFilterCollectionIterator type.

func (*AssetFilterCollectionIterator) Next

func (iter *AssetFilterCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssetFilterCollectionIterator) NextWithContext

func (iter *AssetFilterCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AssetFilterCollectionIterator) NotDone

func (iter AssetFilterCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AssetFilterCollectionIterator) Response

func (iter AssetFilterCollectionIterator) Response() AssetFilterCollection

Response returns the raw server response from the last page request.

func (AssetFilterCollectionIterator) Value

func (iter AssetFilterCollectionIterator) Value() AssetFilter

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AssetFilterCollectionPage

AssetFilterCollectionPage contains a page of AssetFilter values.

type AssetFilterCollectionPage struct {
    // contains filtered or unexported fields
}

func NewAssetFilterCollectionPage

func NewAssetFilterCollectionPage(cur AssetFilterCollection, getNextPage func(context.Context, AssetFilterCollection) (AssetFilterCollection, error)) AssetFilterCollectionPage

Creates a new instance of the AssetFilterCollectionPage type.

func (*AssetFilterCollectionPage) Next

func (page *AssetFilterCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssetFilterCollectionPage) NextWithContext

func (page *AssetFilterCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AssetFilterCollectionPage) NotDone

func (page AssetFilterCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AssetFilterCollectionPage) Response

func (page AssetFilterCollectionPage) Response() AssetFilterCollection

Response returns the raw server response from the last page request.

func (AssetFilterCollectionPage) Values

func (page AssetFilterCollectionPage) Values() []AssetFilter

Values returns the slice of values for the current page or nil if there are no values.

type AssetFiltersClient

AssetFiltersClient is the client for the AssetFilters methods of the Media service.

type AssetFiltersClient struct {
    BaseClient
}

func NewAssetFiltersClient

func NewAssetFiltersClient(subscriptionID string) AssetFiltersClient

NewAssetFiltersClient creates an instance of the AssetFiltersClient client.

func NewAssetFiltersClientWithBaseURI

func NewAssetFiltersClientWithBaseURI(baseURI string, subscriptionID string) AssetFiltersClient

NewAssetFiltersClientWithBaseURI creates an instance of the AssetFiltersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AssetFiltersClient) CreateOrUpdate

func (client AssetFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (result AssetFilter, err error)

CreateOrUpdate creates or updates an Asset Filter associated with the specified Asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. filterName - the Asset Filter name parameters - the request parameters

func (AssetFiltersClient) CreateOrUpdatePreparer

func (client AssetFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AssetFiltersClient) CreateOrUpdateResponder

func (client AssetFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result AssetFilter, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AssetFiltersClient) CreateOrUpdateSender

func (client AssetFiltersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AssetFiltersClient) Delete

func (client AssetFiltersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (result autorest.Response, err error)

Delete deletes an Asset Filter associated with the specified Asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. filterName - the Asset Filter name

func (AssetFiltersClient) DeletePreparer

func (client AssetFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AssetFiltersClient) DeleteResponder

func (client AssetFiltersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AssetFiltersClient) DeleteSender

func (client AssetFiltersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AssetFiltersClient) Get

func (client AssetFiltersClient) Get(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (result AssetFilter, err error)

Get get the details of an Asset Filter associated with the specified Asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. filterName - the Asset Filter name

func (AssetFiltersClient) GetPreparer

func (client AssetFiltersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AssetFiltersClient) GetResponder

func (client AssetFiltersClient) GetResponder(resp *http.Response) (result AssetFilter, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AssetFiltersClient) GetSender

func (client AssetFiltersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AssetFiltersClient) List

func (client AssetFiltersClient) List(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result AssetFilterCollectionPage, err error)

List list Asset Filters associated with the specified Asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name.

func (AssetFiltersClient) ListComplete

func (client AssetFiltersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result AssetFilterCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AssetFiltersClient) ListPreparer

func (client AssetFiltersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AssetFiltersClient) ListResponder

func (client AssetFiltersClient) ListResponder(resp *http.Response) (result AssetFilterCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AssetFiltersClient) ListSender

func (client AssetFiltersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AssetFiltersClient) Update

func (client AssetFiltersClient) Update(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (result AssetFilter, err error)

Update updates an existing Asset Filter associated with the specified Asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. filterName - the Asset Filter name parameters - the request parameters

func (AssetFiltersClient) UpdatePreparer

func (client AssetFiltersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters AssetFilter) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AssetFiltersClient) UpdateResponder

func (client AssetFiltersClient) UpdateResponder(resp *http.Response) (result AssetFilter, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AssetFiltersClient) UpdateSender

func (client AssetFiltersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AssetProperties

AssetProperties the Asset properties.

type AssetProperties struct {
    // AssetID - READ-ONLY; The Asset ID.
    AssetID *uuid.UUID `json:"assetId,omitempty"`
    // Created - READ-ONLY; The creation date of the Asset.
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; The last modified date of the Asset.
    LastModified *date.Time `json:"lastModified,omitempty"`
    // AlternateID - The alternate ID of the Asset.
    AlternateID *string `json:"alternateId,omitempty"`
    // Description - The Asset description.
    Description *string `json:"description,omitempty"`
    // Container - The name of the asset blob container.
    Container *string `json:"container,omitempty"`
    // StorageAccountName - The name of the storage account.
    StorageAccountName *string `json:"storageAccountName,omitempty"`
    // StorageEncryptionFormat - READ-ONLY; The Asset encryption format. One of None or MediaStorageEncryption. Possible values include: 'AssetStorageEncryptionFormatNone', 'AssetStorageEncryptionFormatMediaStorageClientEncryption'
    StorageEncryptionFormat AssetStorageEncryptionFormat `json:"storageEncryptionFormat,omitempty"`
}

func (AssetProperties) MarshalJSON

func (ap AssetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssetProperties.

type AssetStorageEncryptionFormat

AssetStorageEncryptionFormat enumerates the values for asset storage encryption format.

type AssetStorageEncryptionFormat string
const (
    // AssetStorageEncryptionFormatMediaStorageClientEncryption The Asset is encrypted with Media Services
    // client-side encryption.
    AssetStorageEncryptionFormatMediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption"
    // AssetStorageEncryptionFormatNone The Asset does not use client-side storage encryption (this is the only
    // allowed value for new Assets).
    AssetStorageEncryptionFormatNone AssetStorageEncryptionFormat = "None"
)

func PossibleAssetStorageEncryptionFormatValues

func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat

PossibleAssetStorageEncryptionFormatValues returns an array of possible values for the AssetStorageEncryptionFormat const type.

type AssetStreamingLocator

AssetStreamingLocator properties of the Streaming Locator.

type AssetStreamingLocator struct {
    // Name - READ-ONLY; Streaming Locator name.
    Name *string `json:"name,omitempty"`
    // AssetName - READ-ONLY; Asset Name.
    AssetName *string `json:"assetName,omitempty"`
    // Created - READ-ONLY; The creation time of the Streaming Locator.
    Created *date.Time `json:"created,omitempty"`
    // StartTime - READ-ONLY; The start time of the Streaming Locator.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The end time of the Streaming Locator.
    EndTime *date.Time `json:"endTime,omitempty"`
    // StreamingLocatorID - READ-ONLY; StreamingLocatorId of the Streaming Locator.
    StreamingLocatorID *uuid.UUID `json:"streamingLocatorId,omitempty"`
    // StreamingPolicyName - READ-ONLY; Name of the Streaming Policy used by this Streaming Locator.
    StreamingPolicyName *string `json:"streamingPolicyName,omitempty"`
    // DefaultContentKeyPolicyName - READ-ONLY; Name of the default ContentKeyPolicy used by this Streaming Locator.
    DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"`
}

func (AssetStreamingLocator) MarshalJSON

func (asl AssetStreamingLocator) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssetStreamingLocator.

type AssetsClient

AssetsClient is the client for the Assets methods of the Media service.

type AssetsClient struct {
    BaseClient
}

func NewAssetsClient

func NewAssetsClient(subscriptionID string) AssetsClient

NewAssetsClient creates an instance of the AssetsClient client.

func NewAssetsClientWithBaseURI

func NewAssetsClientWithBaseURI(baseURI string, subscriptionID string) AssetsClient

NewAssetsClientWithBaseURI creates an instance of the AssetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AssetsClient) CreateOrUpdate

func (client AssetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (result Asset, err error)

CreateOrUpdate creates or updates an Asset in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. parameters - the request parameters

func (AssetsClient) CreateOrUpdatePreparer

func (client AssetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AssetsClient) CreateOrUpdateResponder

func (client AssetsClient) CreateOrUpdateResponder(resp *http.Response) (result Asset, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AssetsClient) CreateOrUpdateSender

func (client AssetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) Delete

func (client AssetsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result autorest.Response, err error)

Delete deletes an Asset in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name.

func (AssetsClient) DeletePreparer

func (client AssetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AssetsClient) DeleteResponder

func (client AssetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AssetsClient) DeleteSender

func (client AssetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) Get

func (client AssetsClient) Get(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result Asset, err error)

Get get the details of an Asset in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name.

func (AssetsClient) GetEncryptionKey

func (client AssetsClient) GetEncryptionKey(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result StorageEncryptedAssetDecryptionData, err error)

GetEncryptionKey gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name.

func (AssetsClient) GetEncryptionKeyPreparer

func (client AssetsClient) GetEncryptionKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)

GetEncryptionKeyPreparer prepares the GetEncryptionKey request.

func (AssetsClient) GetEncryptionKeyResponder

func (client AssetsClient) GetEncryptionKeyResponder(resp *http.Response) (result StorageEncryptedAssetDecryptionData, err error)

GetEncryptionKeyResponder handles the response to the GetEncryptionKey request. The method always closes the http.Response Body.

func (AssetsClient) GetEncryptionKeySender

func (client AssetsClient) GetEncryptionKeySender(req *http.Request) (*http.Response, error)

GetEncryptionKeySender sends the GetEncryptionKey request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) GetPreparer

func (client AssetsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AssetsClient) GetResponder

func (client AssetsClient) GetResponder(resp *http.Response) (result Asset, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AssetsClient) GetSender

func (client AssetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) List

func (client AssetsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result AssetCollectionPage, err error)

List list Assets in the Media Services account with optional filtering and ordering Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filter - restricts the set of items returned. 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. orderby - specifies the key by which the result collection should be ordered.

func (AssetsClient) ListComplete

func (client AssetsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result AssetCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AssetsClient) ListContainerSas

func (client AssetsClient) ListContainerSas(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters ListContainerSasInput) (result AssetContainerSas, err error)

ListContainerSas lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. parameters - the request parameters

func (AssetsClient) ListContainerSasPreparer

func (client AssetsClient) ListContainerSasPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters ListContainerSasInput) (*http.Request, error)

ListContainerSasPreparer prepares the ListContainerSas request.

func (AssetsClient) ListContainerSasResponder

func (client AssetsClient) ListContainerSasResponder(resp *http.Response) (result AssetContainerSas, err error)

ListContainerSasResponder handles the response to the ListContainerSas request. The method always closes the http.Response Body.

func (AssetsClient) ListContainerSasSender

func (client AssetsClient) ListContainerSasSender(req *http.Request) (*http.Response, error)

ListContainerSasSender sends the ListContainerSas request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) ListPreparer

func (client AssetsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (AssetsClient) ListResponder

func (client AssetsClient) ListResponder(resp *http.Response) (result AssetCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AssetsClient) ListSender

func (client AssetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) ListStreamingLocators

func (client AssetsClient) ListStreamingLocators(ctx context.Context, resourceGroupName string, accountName string, assetName string) (result ListStreamingLocatorsResponse, err error)

ListStreamingLocators lists Streaming Locators which are associated with this asset. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name.

func (AssetsClient) ListStreamingLocatorsPreparer

func (client AssetsClient) ListStreamingLocatorsPreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string) (*http.Request, error)

ListStreamingLocatorsPreparer prepares the ListStreamingLocators request.

func (AssetsClient) ListStreamingLocatorsResponder

func (client AssetsClient) ListStreamingLocatorsResponder(resp *http.Response) (result ListStreamingLocatorsResponse, err error)

ListStreamingLocatorsResponder handles the response to the ListStreamingLocators request. The method always closes the http.Response Body.

func (AssetsClient) ListStreamingLocatorsSender

func (client AssetsClient) ListStreamingLocatorsSender(req *http.Request) (*http.Response, error)

ListStreamingLocatorsSender sends the ListStreamingLocators request. The method will close the http.Response Body if it receives an error.

func (AssetsClient) Update

func (client AssetsClient) Update(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (result Asset, err error)

Update updates an existing Asset in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. assetName - the Asset name. parameters - the request parameters

func (AssetsClient) UpdatePreparer

func (client AssetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters Asset) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AssetsClient) UpdateResponder

func (client AssetsClient) UpdateResponder(resp *http.Response) (result Asset, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AssetsClient) UpdateSender

func (client AssetsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AttributeFilter

AttributeFilter enumerates the values for attribute filter.

type AttributeFilter string
const (
    // AttributeFilterAll All tracks will be included.
    AttributeFilterAll AttributeFilter = "All"
    // AttributeFilterBottom The first track will be included when the attribute is sorted in ascending order.
    // Generally used to select the smallest bitrate.
    AttributeFilterBottom AttributeFilter = "Bottom"
    // AttributeFilterTop The first track will be included when the attribute is sorted in descending order.
    // Generally used to select the largest bitrate.
    AttributeFilterTop AttributeFilter = "Top"
    // AttributeFilterValueEquals Any tracks that have an attribute equal to the value given will be included.
    AttributeFilterValueEquals AttributeFilter = "ValueEquals"
)

func PossibleAttributeFilterValues

func PossibleAttributeFilterValues() []AttributeFilter

PossibleAttributeFilterValues returns an array of possible values for the AttributeFilter const type.

type Audio

Audio defines the common properties for all audio codecs.

type Audio struct {
    // Channels - The number of channels in the audio.
    Channels *int32 `json:"channels,omitempty"`
    // SamplingRate - The sampling rate to use for encoding in hertz.
    SamplingRate *int32 `json:"samplingRate,omitempty"`
    // Bitrate - The bitrate, in bits per second, of the output encoded audio.
    Bitrate *int32 `json:"bitrate,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (Audio) AsAacAudio

func (a Audio) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for Audio.

func (Audio) AsAudio

func (a Audio) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for Audio.

func (Audio) AsBasicAudio

func (a Audio) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for Audio.

func (Audio) AsBasicCodec

func (a Audio) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for Audio.

func (Audio) AsBasicImage

func (a Audio) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for Audio.

func (Audio) AsBasicVideo

func (a Audio) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for Audio.

func (Audio) AsCodec

func (a Audio) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for Audio.

func (Audio) AsCopyAudio

func (a Audio) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for Audio.

func (Audio) AsCopyVideo

func (a Audio) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for Audio.

func (Audio) AsH264Video

func (a Audio) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for Audio.

func (Audio) AsH265Video

func (a Audio) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for Audio.

func (Audio) AsImage

func (a Audio) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for Audio.

func (Audio) AsJpgImage

func (a Audio) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for Audio.

func (Audio) AsPngImage

func (a Audio) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for Audio.

func (Audio) AsVideo

func (a Audio) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for Audio.

func (Audio) MarshalJSON

func (a Audio) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Audio.

type AudioAnalysisMode

AudioAnalysisMode enumerates the values for audio analysis mode.

type AudioAnalysisMode string
const (
    // AudioAnalysisModeBasic This mode performs speech-to-text transcription and generation of a VTT
    // subtitle/caption file. The output of this mode includes an Insights JSON file including only the
    // keywords, transcription,and timing information. Automatic language detection and speaker diarization are
    // not included in this mode.
    AudioAnalysisModeBasic AudioAnalysisMode = "Basic"
    // AudioAnalysisModeStandard Performs all operations included in the Basic mode, additionally performing
    // language detection and speaker diarization.
    AudioAnalysisModeStandard AudioAnalysisMode = "Standard"
)

func PossibleAudioAnalysisModeValues

func PossibleAudioAnalysisModeValues() []AudioAnalysisMode

PossibleAudioAnalysisModeValues returns an array of possible values for the AudioAnalysisMode const type.

type AudioAnalyzerPreset

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.

type AudioAnalyzerPreset struct {
    // AudioLanguage - The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US').  If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode::Basic, since automatic language detection is not included in basic mode. 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. 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'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463
    AudioLanguage *string `json:"audioLanguage,omitempty"`
    // Mode - Determines the set of audio analysis operations to be performed. If unspecified, the Standard AudioAnalysisMode would be chosen. Possible values include: 'AudioAnalysisModeStandard', 'AudioAnalysisModeBasic'
    Mode AudioAnalysisMode `json:"mode,omitempty"`
    // ExperimentalOptions - Dictionary containing key value pairs for parameters not exposed in the preset itself
    ExperimentalOptions map[string]*string `json:"experimentalOptions"`
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (AudioAnalyzerPreset) AsAudioAnalyzerPreset

func (aap AudioAnalyzerPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBasicAudioAnalyzerPreset

func (aap AudioAnalyzerPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBasicPreset

func (aap AudioAnalyzerPreset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBuiltInStandardEncoderPreset

func (aap AudioAnalyzerPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsFaceDetectorPreset

func (aap AudioAnalyzerPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsPreset

func (aap AudioAnalyzerPreset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsStandardEncoderPreset

func (aap AudioAnalyzerPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsVideoAnalyzerPreset

func (aap AudioAnalyzerPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) MarshalJSON

func (aap AudioAnalyzerPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AudioAnalyzerPreset.

type AudioOverlay

AudioOverlay describes the properties of an audio overlay.

type AudioOverlay struct {
    // 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, PNG, GIF or BMP format, 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 `json:"inputLabel,omitempty"`
    // 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 into the input video. If not specified the overlay starts from the beginning of the input video.
    Start *string `json:"start,omitempty"`
    // End - The end position, with reference to the input video, at which the overlay ends. The value should be in ISO 8601 format. For example, PT30S to end the overlay at 30 seconds into the input video. If not specified or the value is greater than the input video duration, the overlay will be applied until the end of the input video if the overlay media duration is greater than the input video duration, else the overlay will last as long as the overlay media duration.
    End *string `json:"end,omitempty"`
    // 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 `json:"fadeInDuration,omitempty"`
    // 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 `json:"fadeOutDuration,omitempty"`
    // 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 *float64 `json:"audioGainLevel,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicOverlayOdataTypeOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaAudioOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaVideoOverlay'
    OdataType OdataTypeBasicOverlay `json:"@odata.type,omitempty"`
}

func (AudioOverlay) AsAudioOverlay

func (ao AudioOverlay) AsAudioOverlay() (*AudioOverlay, bool)

AsAudioOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsBasicOverlay

func (ao AudioOverlay) AsBasicOverlay() (BasicOverlay, bool)

AsBasicOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsOverlay

func (ao AudioOverlay) AsOverlay() (*Overlay, bool)

AsOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsVideoOverlay

func (ao AudioOverlay) AsVideoOverlay() (*VideoOverlay, bool)

AsVideoOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) MarshalJSON

func (ao AudioOverlay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AudioOverlay.

type AudioTrackDescriptor

AudioTrackDescriptor a TrackSelection to select audio tracks.

type AudioTrackDescriptor struct {
    // ChannelMapping - Optional designation for single channel audio tracks.  Can be used to combine the tracks into stereo or multi-channel audio tracks. Possible values include: 'ChannelMappingFrontLeft', 'ChannelMappingFrontRight', 'ChannelMappingCenter', 'ChannelMappingLowFrequencyEffects', 'ChannelMappingBackLeft', 'ChannelMappingBackRight', 'ChannelMappingStereoLeft', 'ChannelMappingStereoRight'
    ChannelMapping ChannelMapping `json:"channelMapping,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (AudioTrackDescriptor) AsAudioTrackDescriptor

func (atd AudioTrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsBasicAudioTrackDescriptor

func (atd AudioTrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsBasicTrackDescriptor

func (atd AudioTrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsBasicVideoTrackDescriptor

func (atd AudioTrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsSelectAudioTrackByAttribute

func (atd AudioTrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsSelectAudioTrackByID

func (atd AudioTrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsSelectVideoTrackByAttribute

func (atd AudioTrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsSelectVideoTrackByID

func (atd AudioTrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsTrackDescriptor

func (atd AudioTrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) AsVideoTrackDescriptor

func (atd AudioTrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for AudioTrackDescriptor.

func (AudioTrackDescriptor) MarshalJSON

func (atd AudioTrackDescriptor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AudioTrackDescriptor.

type AzureEntityResource

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

type AzureEntityResource struct {
    // Etag - READ-ONLY; Resource Etag.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

BaseClient is the base client for Media.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicAudio

BasicAudio defines the common properties for all audio codecs.

type BasicAudio interface {
    AsAacAudio() (*AacAudio, bool)
    AsAudio() (*Audio, bool)
}

type BasicAudioAnalyzerPreset

BasicAudioAnalyzerPreset 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.

type BasicAudioAnalyzerPreset interface {
    AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
}

type BasicAudioTrackDescriptor

BasicAudioTrackDescriptor a TrackSelection to select audio tracks.

type BasicAudioTrackDescriptor interface {
    AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
}

type BasicClipTime

BasicClipTime base class for specifying a clip time. Use sub classes of this class to specify the time position in the media.

type BasicClipTime interface {
    AsAbsoluteClipTime() (*AbsoluteClipTime, bool)
    AsUtcClipTime() (*UtcClipTime, bool)
    AsClipTime() (*ClipTime, bool)
}

type BasicCodec

BasicCodec describes the basic properties of all codecs.

type BasicCodec interface {
    AsAudio() (*Audio, bool)
    AsBasicAudio() (BasicAudio, bool)
    AsAacAudio() (*AacAudio, bool)
    AsVideo() (*Video, bool)
    AsBasicVideo() (BasicVideo, bool)
    AsH265Video() (*H265Video, bool)
    AsCopyVideo() (*CopyVideo, bool)
    AsImage() (*Image, bool)
    AsBasicImage() (BasicImage, bool)
    AsCopyAudio() (*CopyAudio, bool)
    AsH264Video() (*H264Video, bool)
    AsJpgImage() (*JpgImage, bool)
    AsPngImage() (*PngImage, bool)
    AsCodec() (*Codec, bool)
}

type BasicContentKeyPolicyConfiguration

BasicContentKeyPolicyConfiguration base class for Content Key Policy configuration. A derived class must be used to create a configuration.

type BasicContentKeyPolicyConfiguration interface {
    AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)
    AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)
    AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)
    AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)
    AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)
    AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)
}

type BasicContentKeyPolicyPlayReadyContentKeyLocation

BasicContentKeyPolicyPlayReadyContentKeyLocation base class for content key ID location. A derived class must be used to represent the location.

type BasicContentKeyPolicyPlayReadyContentKeyLocation interface {
    AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)
    AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)
    AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)
}

type BasicContentKeyPolicyRestriction

BasicContentKeyPolicyRestriction base class for Content Key Policy restrictions. A derived class must be used to create a restriction.

type BasicContentKeyPolicyRestriction interface {
    AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)
    AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)
    AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)
    AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)
}

type BasicContentKeyPolicyRestrictionTokenKey

BasicContentKeyPolicyRestrictionTokenKey base class for Content Key Policy key for token validation. A derived class must be used to create a token key.

type BasicContentKeyPolicyRestrictionTokenKey interface {
    AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)
    AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)
    AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)
    AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)
}

type BasicFormat

BasicFormat base class for output.

type BasicFormat interface {
    AsImageFormat() (*ImageFormat, bool)
    AsBasicImageFormat() (BasicImageFormat, bool)
    AsJpgFormat() (*JpgFormat, bool)
    AsPngFormat() (*PngFormat, bool)
    AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
    AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)
    AsMp4Format() (*Mp4Format, bool)
    AsTransportStreamFormat() (*TransportStreamFormat, bool)
    AsFormat() (*Format, bool)
}

type BasicH265VideoLayer

BasicH265VideoLayer describes the settings to be used when encoding the input video into a desired output bitrate layer.

type BasicH265VideoLayer interface {
    AsH265Layer() (*H265Layer, bool)
    AsH265VideoLayer() (*H265VideoLayer, bool)
}

type BasicImage

BasicImage describes the basic properties for generating thumbnails from the input video

type BasicImage interface {
    AsJpgImage() (*JpgImage, bool)
    AsPngImage() (*PngImage, bool)
    AsImage() (*Image, bool)
}

type BasicImageFormat

BasicImageFormat describes the properties for an output image file.

type BasicImageFormat interface {
    AsJpgFormat() (*JpgFormat, bool)
    AsPngFormat() (*PngFormat, bool)
    AsImageFormat() (*ImageFormat, bool)
}

type BasicInputDefinition

BasicInputDefinition base class for defining an input. Use sub classes of this class to specify tracks selections and related metadata.

type BasicInputDefinition interface {
    AsFromAllInputFile() (*FromAllInputFile, bool)
    AsFromEachInputFile() (*FromEachInputFile, bool)
    AsInputFile() (*InputFile, bool)
    AsInputDefinition() (*InputDefinition, bool)
}

type BasicJobInput

BasicJobInput base class for inputs to a Job.

type BasicJobInput interface {
    AsJobInputClip() (*JobInputClip, bool)
    AsBasicJobInputClip() (BasicJobInputClip, bool)
    AsJobInputs() (*JobInputs, bool)
    AsJobInputAsset() (*JobInputAsset, bool)
    AsJobInputHTTP() (*JobInputHTTP, bool)
    AsJobInputSequence() (*JobInputSequence, bool)
    AsJobInput() (*JobInput, bool)
}

type BasicJobInputClip

BasicJobInputClip represents input files for a Job.

type BasicJobInputClip interface {
    AsJobInputAsset() (*JobInputAsset, bool)
    AsJobInputHTTP() (*JobInputHTTP, bool)
    AsJobInputClip() (*JobInputClip, bool)
}

type BasicJobOutput

BasicJobOutput describes all the properties of a JobOutput.

type BasicJobOutput interface {
    AsJobOutputAsset() (*JobOutputAsset, bool)
    AsJobOutput() (*JobOutput, bool)
}

type BasicLayer

BasicLayer 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.

type BasicLayer interface {
    AsH265VideoLayer() (*H265VideoLayer, bool)
    AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)
    AsH265Layer() (*H265Layer, bool)
    AsVideoLayer() (*VideoLayer, bool)
    AsBasicVideoLayer() (BasicVideoLayer, bool)
    AsH264Layer() (*H264Layer, bool)
    AsJpgLayer() (*JpgLayer, bool)
    AsPngLayer() (*PngLayer, bool)
    AsLayer() (*Layer, bool)
}

type BasicMultiBitrateFormat

BasicMultiBitrateFormat 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.

type BasicMultiBitrateFormat interface {
    AsMp4Format() (*Mp4Format, bool)
    AsTransportStreamFormat() (*TransportStreamFormat, bool)
    AsMultiBitrateFormat() (*MultiBitrateFormat, bool)
}

type BasicOverlay

BasicOverlay base type for all overlays - image, audio or video.

type BasicOverlay interface {
    AsAudioOverlay() (*AudioOverlay, bool)
    AsVideoOverlay() (*VideoOverlay, bool)
    AsOverlay() (*Overlay, bool)
}

type BasicPreset

BasicPreset base type for all Presets, which define the recipe or instructions on how the input media files should be processed.

type BasicPreset interface {
    AsFaceDetectorPreset() (*FaceDetectorPreset, bool)
    AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)
    AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)
    AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)
    AsStandardEncoderPreset() (*StandardEncoderPreset, bool)
    AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)
    AsPreset() (*Preset, bool)
}

type BasicTrackDescriptor

BasicTrackDescriptor base type for all TrackDescriptor types, which define the metadata and selection for tracks that should be processed by a Job

type BasicTrackDescriptor interface {
    AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)
    AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)
    AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)
    AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)
    AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
    AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)
    AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    AsTrackDescriptor() (*TrackDescriptor, bool)
}

type BasicVideo

BasicVideo describes the basic properties for encoding the input video.

type BasicVideo interface {
    AsH265Video() (*H265Video, bool)
    AsImage() (*Image, bool)
    AsBasicImage() (BasicImage, bool)
    AsH264Video() (*H264Video, bool)
    AsJpgImage() (*JpgImage, bool)
    AsPngImage() (*PngImage, bool)
    AsVideo() (*Video, bool)
}

type BasicVideoLayer

BasicVideoLayer describes the settings to be used when encoding the input video into a desired output bitrate layer.

type BasicVideoLayer interface {
    AsH264Layer() (*H264Layer, bool)
    AsVideoLayer() (*VideoLayer, bool)
}

type BasicVideoTrackDescriptor

BasicVideoTrackDescriptor a TrackSelection to select video tracks.

type BasicVideoTrackDescriptor interface {
    AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)
    AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)
    AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)
}

type BlurType

BlurType enumerates the values for blur type.

type BlurType string
const (
    // BlurTypeBlack Black: Black out filter
    BlurTypeBlack BlurType = "Black"
    // BlurTypeBox Box: debug filter, bounding box only
    BlurTypeBox BlurType = "Box"
    // BlurTypeHigh High: Confuse blur filter
    BlurTypeHigh BlurType = "High"
    // BlurTypeLow Low: box-car blur filter
    BlurTypeLow BlurType = "Low"
    // BlurTypeMed Med: Gaussian blur filter
    BlurTypeMed BlurType = "Med"
)

func PossibleBlurTypeValues

func PossibleBlurTypeValues() []BlurType

PossibleBlurTypeValues returns an array of possible values for the BlurType const type.

type BuiltInStandardEncoderPreset

BuiltInStandardEncoderPreset describes a built-in preset for encoding the input video with the Standard Encoder.

type BuiltInStandardEncoderPreset struct {
    // Configurations - PresetConfigurations are only supported for the ContentAwareEncoding and H265ContentAwareEncoding built-in presets. These settings will not affect other built-in or custom defined presets.
    Configurations *PresetConfigurations `json:"configurations,omitempty"`
    // PresetName - The built-in preset to be used for encoding videos. Possible values include: 'EncoderNamedPresetH264SingleBitrateSD', 'EncoderNamedPresetH264SingleBitrate720p', 'EncoderNamedPresetH264SingleBitrate1080p', 'EncoderNamedPresetAdaptiveStreaming', 'EncoderNamedPresetAACGoodQualityAudio', 'EncoderNamedPresetContentAwareEncodingExperimental', 'EncoderNamedPresetContentAwareEncoding', 'EncoderNamedPresetCopyAllBitrateNonInterleaved', 'EncoderNamedPresetH264MultipleBitrate1080p', 'EncoderNamedPresetH264MultipleBitrate720p', 'EncoderNamedPresetH264MultipleBitrateSD', 'EncoderNamedPresetH265ContentAwareEncoding', 'EncoderNamedPresetH265AdaptiveStreaming', 'EncoderNamedPresetH265SingleBitrate720p', 'EncoderNamedPresetH265SingleBitrate1080p', 'EncoderNamedPresetH265SingleBitrate4K'
    PresetName EncoderNamedPreset `json:"presetName,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (BuiltInStandardEncoderPreset) AsAudioAnalyzerPreset

func (bisep BuiltInStandardEncoderPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBasicAudioAnalyzerPreset

func (bisep BuiltInStandardEncoderPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBasicPreset

func (bisep BuiltInStandardEncoderPreset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBuiltInStandardEncoderPreset

func (bisep BuiltInStandardEncoderPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsFaceDetectorPreset

func (bisep BuiltInStandardEncoderPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsPreset

func (bisep BuiltInStandardEncoderPreset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsStandardEncoderPreset

func (bisep BuiltInStandardEncoderPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsVideoAnalyzerPreset

func (bisep BuiltInStandardEncoderPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) MarshalJSON

func (bisep BuiltInStandardEncoderPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BuiltInStandardEncoderPreset.

type CbcsDrmConfiguration

CbcsDrmConfiguration class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy

type CbcsDrmConfiguration struct {
    // FairPlay - FairPlay configurations
    FairPlay *StreamingPolicyFairPlayConfiguration `json:"fairPlay,omitempty"`
    // PlayReady - PlayReady configurations
    PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady,omitempty"`
    // Widevine - Widevine configurations
    Widevine *StreamingPolicyWidevineConfiguration `json:"widevine,omitempty"`
}

type CencDrmConfiguration

CencDrmConfiguration class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy

type CencDrmConfiguration struct {
    // PlayReady - PlayReady configurations
    PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady,omitempty"`
    // Widevine - Widevine configurations
    Widevine *StreamingPolicyWidevineConfiguration `json:"widevine,omitempty"`
}

type ChannelMapping

ChannelMapping enumerates the values for channel mapping.

type ChannelMapping string
const (
    // ChannelMappingBackLeft The Back Left Channel.  Sometimes referred to as the Left Surround Channel.
    ChannelMappingBackLeft ChannelMapping = "BackLeft"
    // ChannelMappingBackRight The Back Right Channel.  Sometimes referred to as the Right Surround Channel.
    ChannelMappingBackRight ChannelMapping = "BackRight"
    // ChannelMappingCenter The Center Channel.
    ChannelMappingCenter ChannelMapping = "Center"
    // ChannelMappingFrontLeft The Front Left Channel.
    ChannelMappingFrontLeft ChannelMapping = "FrontLeft"
    // ChannelMappingFrontRight The Front Right Channel.
    ChannelMappingFrontRight ChannelMapping = "FrontRight"
    // ChannelMappingLowFrequencyEffects Low Frequency Effects Channel.  Sometimes referred to as the
    // Subwoofer.
    ChannelMappingLowFrequencyEffects ChannelMapping = "LowFrequencyEffects"
    // ChannelMappingStereoLeft The Left Stereo channel.  Sometimes referred to as Down Mix Left.
    ChannelMappingStereoLeft ChannelMapping = "StereoLeft"
    // ChannelMappingStereoRight The Right Stereo channel.  Sometimes referred to as Down Mix Right.
    ChannelMappingStereoRight ChannelMapping = "StereoRight"
)

func PossibleChannelMappingValues

func PossibleChannelMappingValues() []ChannelMapping

PossibleChannelMappingValues returns an array of possible values for the ChannelMapping const type.

type CheckNameAvailabilityInput

CheckNameAvailabilityInput the input to the check name availability request.

type CheckNameAvailabilityInput struct {
    // Name - The account name.
    Name *string `json:"name,omitempty"`
    // Type - The account type. For a Media Services account, this should be 'MediaServices'.
    Type *string `json:"type,omitempty"`
}

type ClipTime

ClipTime base class for specifying a clip time. Use sub classes of this class to specify the time position in the media.

type ClipTime struct {
    // OdataType - Possible values include: 'OdataTypeBasicClipTimeOdataTypeClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime'
    OdataType OdataTypeBasicClipTime `json:"@odata.type,omitempty"`
}

func (ClipTime) AsAbsoluteClipTime

func (ct ClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)

AsAbsoluteClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) AsBasicClipTime

func (ct ClipTime) AsBasicClipTime() (BasicClipTime, bool)

AsBasicClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) AsClipTime

func (ct ClipTime) AsClipTime() (*ClipTime, bool)

AsClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) AsUtcClipTime

func (ct ClipTime) AsUtcClipTime() (*UtcClipTime, bool)

AsUtcClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) MarshalJSON

func (ct ClipTime) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClipTime.

type Codec

Codec describes the basic properties of all codecs.

type Codec struct {
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (Codec) AsAacAudio

func (c Codec) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for Codec.

func (Codec) AsAudio

func (c Codec) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for Codec.

func (Codec) AsBasicAudio

func (c Codec) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for Codec.

func (Codec) AsBasicCodec

func (c Codec) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for Codec.

func (Codec) AsBasicImage

func (c Codec) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for Codec.

func (Codec) AsBasicVideo

func (c Codec) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for Codec.

func (Codec) AsCodec

func (c Codec) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for Codec.

func (Codec) AsCopyAudio

func (c Codec) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for Codec.

func (Codec) AsCopyVideo

func (c Codec) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for Codec.

func (Codec) AsH264Video

func (c Codec) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for Codec.

func (Codec) AsH265Video

func (c Codec) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for Codec.

func (Codec) AsImage

func (c Codec) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for Codec.

func (Codec) AsJpgImage

func (c Codec) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for Codec.

func (Codec) AsPngImage

func (c Codec) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for Codec.

func (Codec) AsVideo

func (c Codec) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for Codec.

func (Codec) MarshalJSON

func (c Codec) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Codec.

type CommonEncryptionCbcs

CommonEncryptionCbcs class for CommonEncryptionCbcs encryption scheme

type CommonEncryptionCbcs struct {
    // EnabledProtocols - Representing supported protocols
    EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"`
    // ClearTracks - Representing which tracks should not be encrypted
    ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"`
    // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks
    ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"`
    // Drm - Configuration of DRMs for current encryption scheme
    Drm *CbcsDrmConfiguration `json:"drm,omitempty"`
}

type CommonEncryptionCenc

CommonEncryptionCenc class for envelope encryption scheme

type CommonEncryptionCenc struct {
    // EnabledProtocols - Representing supported protocols
    EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"`
    // ClearTracks - Representing which tracks should not be encrypted
    ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"`
    // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks
    ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"`
    // Drm - Configuration of DRMs for CommonEncryptionCenc encryption scheme
    Drm *CencDrmConfiguration `json:"drm,omitempty"`
}

type Complexity

Complexity enumerates the values for complexity.

type Complexity string
const (
    // ComplexityBalanced Configures the encoder to use settings that achieve a balance between speed and
    // quality.
    ComplexityBalanced Complexity = "Balanced"
    // ComplexityQuality Configures the encoder to use settings optimized to produce higher quality output at
    // the expense of slower overall encode time.
    ComplexityQuality Complexity = "Quality"
    // ComplexitySpeed Configures the encoder to use settings optimized for faster encoding. Quality is
    // sacrificed to decrease encoding time.
    ComplexitySpeed Complexity = "Speed"
)

func PossibleComplexityValues

func PossibleComplexityValues() []Complexity

PossibleComplexityValues returns an array of possible values for the Complexity const type.

type ContentKeyPoliciesClient

ContentKeyPoliciesClient is the client for the ContentKeyPolicies methods of the Media service.

type ContentKeyPoliciesClient struct {
    BaseClient
}

func NewContentKeyPoliciesClient

func NewContentKeyPoliciesClient(subscriptionID string) ContentKeyPoliciesClient

NewContentKeyPoliciesClient creates an instance of the ContentKeyPoliciesClient client.

func NewContentKeyPoliciesClientWithBaseURI

func NewContentKeyPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ContentKeyPoliciesClient

NewContentKeyPoliciesClientWithBaseURI creates an instance of the ContentKeyPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ContentKeyPoliciesClient) CreateOrUpdate

func (client ContentKeyPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (result ContentKeyPolicy, err error)

CreateOrUpdate create or update a Content Key Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. contentKeyPolicyName - the Content Key Policy name. parameters - the request parameters

func (ContentKeyPoliciesClient) CreateOrUpdatePreparer

func (client ContentKeyPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ContentKeyPoliciesClient) CreateOrUpdateResponder

func (client ContentKeyPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ContentKeyPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) CreateOrUpdateSender

func (client ContentKeyPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ContentKeyPoliciesClient) Delete

func (client ContentKeyPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result autorest.Response, err error)

Delete deletes a Content Key Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. contentKeyPolicyName - the Content Key Policy name.

func (ContentKeyPoliciesClient) DeletePreparer

func (client ContentKeyPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ContentKeyPoliciesClient) DeleteResponder

func (client ContentKeyPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) DeleteSender

func (client ContentKeyPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ContentKeyPoliciesClient) Get

func (client ContentKeyPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result ContentKeyPolicy, err error)

Get get the details of a Content Key Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. contentKeyPolicyName - the Content Key Policy name.

func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets

func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (result ContentKeyPolicyProperties, err error)

GetPolicyPropertiesWithSecrets get a Content Key Policy including secret values Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. contentKeyPolicyName - the Content Key Policy name.

func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsPreparer

func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsPreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)

GetPolicyPropertiesWithSecretsPreparer prepares the GetPolicyPropertiesWithSecrets request.

func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsResponder

func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsResponder(resp *http.Response) (result ContentKeyPolicyProperties, err error)

GetPolicyPropertiesWithSecretsResponder handles the response to the GetPolicyPropertiesWithSecrets request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsSender

func (client ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsSender(req *http.Request) (*http.Response, error)

GetPolicyPropertiesWithSecretsSender sends the GetPolicyPropertiesWithSecrets request. The method will close the http.Response Body if it receives an error.

func (ContentKeyPoliciesClient) GetPreparer

func (client ContentKeyPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ContentKeyPoliciesClient) GetResponder

func (client ContentKeyPoliciesClient) GetResponder(resp *http.Response) (result ContentKeyPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) GetSender

func (client ContentKeyPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ContentKeyPoliciesClient) List

func (client ContentKeyPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result ContentKeyPolicyCollectionPage, err error)

List lists the Content Key Policies in the account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filter - restricts the set of items returned. 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. orderby - specifies the key by which the result collection should be ordered.

func (ContentKeyPoliciesClient) ListComplete

func (client ContentKeyPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result ContentKeyPolicyCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ContentKeyPoliciesClient) ListPreparer

func (client ContentKeyPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (ContentKeyPoliciesClient) ListResponder

func (client ContentKeyPoliciesClient) ListResponder(resp *http.Response) (result ContentKeyPolicyCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) ListSender

func (client ContentKeyPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ContentKeyPoliciesClient) Update

func (client ContentKeyPoliciesClient) Update(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (result ContentKeyPolicy, err error)

Update updates an existing Content Key Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. contentKeyPolicyName - the Content Key Policy name. parameters - the request parameters

func (ContentKeyPoliciesClient) UpdatePreparer

func (client ContentKeyPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters ContentKeyPolicy) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ContentKeyPoliciesClient) UpdateResponder

func (client ContentKeyPoliciesClient) UpdateResponder(resp *http.Response) (result ContentKeyPolicy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ContentKeyPoliciesClient) UpdateSender

func (client ContentKeyPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ContentKeyPolicy

ContentKeyPolicy a Content Key Policy resource.

type ContentKeyPolicy struct {
    autorest.Response           `json:"-"`
    *ContentKeyPolicyProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (ContentKeyPolicy) MarshalJSON

func (ckp ContentKeyPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicy.

func (*ContentKeyPolicy) UnmarshalJSON

func (ckp *ContentKeyPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicy struct.

type ContentKeyPolicyClearKeyConfiguration

ContentKeyPolicyClearKeyConfiguration represents a configuration for non-DRM keys.

type ContentKeyPolicyClearKeyConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyClearKeyConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpckc ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) MarshalJSON

func (ckpckc ContentKeyPolicyClearKeyConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyClearKeyConfiguration.

type ContentKeyPolicyCollection

ContentKeyPolicyCollection a collection of ContentKeyPolicy items.

type ContentKeyPolicyCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of ContentKeyPolicy items.
    Value *[]ContentKeyPolicy `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (ContentKeyPolicyCollection) IsEmpty

func (ckpc ContentKeyPolicyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ContentKeyPolicyCollectionIterator

ContentKeyPolicyCollectionIterator provides access to a complete listing of ContentKeyPolicy values.

type ContentKeyPolicyCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewContentKeyPolicyCollectionIterator

func NewContentKeyPolicyCollectionIterator(page ContentKeyPolicyCollectionPage) ContentKeyPolicyCollectionIterator

Creates a new instance of the ContentKeyPolicyCollectionIterator type.

func (*ContentKeyPolicyCollectionIterator) Next

func (iter *ContentKeyPolicyCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContentKeyPolicyCollectionIterator) NextWithContext

func (iter *ContentKeyPolicyCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ContentKeyPolicyCollectionIterator) NotDone

func (iter ContentKeyPolicyCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ContentKeyPolicyCollectionIterator) Response

func (iter ContentKeyPolicyCollectionIterator) Response() ContentKeyPolicyCollection

Response returns the raw server response from the last page request.

func (ContentKeyPolicyCollectionIterator) Value

func (iter ContentKeyPolicyCollectionIterator) Value() ContentKeyPolicy

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ContentKeyPolicyCollectionPage

ContentKeyPolicyCollectionPage contains a page of ContentKeyPolicy values.

type ContentKeyPolicyCollectionPage struct {
    // contains filtered or unexported fields
}

func NewContentKeyPolicyCollectionPage

func NewContentKeyPolicyCollectionPage(cur ContentKeyPolicyCollection, getNextPage func(context.Context, ContentKeyPolicyCollection) (ContentKeyPolicyCollection, error)) ContentKeyPolicyCollectionPage

Creates a new instance of the ContentKeyPolicyCollectionPage type.

func (*ContentKeyPolicyCollectionPage) Next

func (page *ContentKeyPolicyCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContentKeyPolicyCollectionPage) NextWithContext

func (page *ContentKeyPolicyCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ContentKeyPolicyCollectionPage) NotDone

func (page ContentKeyPolicyCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ContentKeyPolicyCollectionPage) Response

func (page ContentKeyPolicyCollectionPage) Response() ContentKeyPolicyCollection

Response returns the raw server response from the last page request.

func (ContentKeyPolicyCollectionPage) Values

func (page ContentKeyPolicyCollectionPage) Values() []ContentKeyPolicy

Values returns the slice of values for the current page or nil if there are no values.

type ContentKeyPolicyConfiguration

ContentKeyPolicyConfiguration base class for Content Key Policy configuration. A derived class must be used to create a configuration.

type ContentKeyPolicyConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpc ContentKeyPolicyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) MarshalJSON

func (ckpc ContentKeyPolicyConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyConfiguration.

type ContentKeyPolicyFairPlayConfiguration

ContentKeyPolicyFairPlayConfiguration specifies a configuration for FairPlay licenses.

type ContentKeyPolicyFairPlayConfiguration struct {
    // Ask - The key that must be used as FairPlay Application Secret key.
    Ask *[]byte `json:"ask,omitempty"`
    // FairPlayPfxPassword - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
    FairPlayPfxPassword *string `json:"fairPlayPfxPassword,omitempty"`
    // FairPlayPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
    FairPlayPfx *string `json:"fairPlayPfx,omitempty"`
    // RentalAndLeaseKeyType - The rental and lease key type. Possible values include: 'ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown', 'ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined', 'ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry', 'ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited', 'ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited'
    RentalAndLeaseKeyType ContentKeyPolicyFairPlayRentalAndLeaseKeyType `json:"rentalAndLeaseKeyType,omitempty"`
    // RentalDuration - The rental duration. Must be greater than or equal to 0.
    RentalDuration *int64 `json:"rentalDuration,omitempty"`
    // OfflineRentalConfiguration - Offline rental policy
    OfflineRentalConfiguration *ContentKeyPolicyFairPlayOfflineRentalConfiguration `json:"offlineRentalConfiguration,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyFairPlayConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) MarshalJSON

func (ckpfpc ContentKeyPolicyFairPlayConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyFairPlayConfiguration.

type ContentKeyPolicyFairPlayOfflineRentalConfiguration

ContentKeyPolicyFairPlayOfflineRentalConfiguration ...

type ContentKeyPolicyFairPlayOfflineRentalConfiguration struct {
    // PlaybackDurationSeconds - Playback duration
    PlaybackDurationSeconds *int64 `json:"playbackDurationSeconds,omitempty"`
    // StorageDurationSeconds - Storage duration
    StorageDurationSeconds *int64 `json:"storageDurationSeconds,omitempty"`
}

type ContentKeyPolicyFairPlayRentalAndLeaseKeyType

ContentKeyPolicyFairPlayRentalAndLeaseKeyType enumerates the values for content key policy fair play rental and lease key type.

type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
const (
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry Dual expiry for offline rental.
    ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "DualExpiry"
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited Content key can be persisted and the
    // valid duration is limited by the Rental Duration value
    ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited Content key can be persisted with an
    // unlimited duration
    ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined Key duration is not specified.
    ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown Represents a
    // ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
    ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
)

func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues

func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType

PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues returns an array of possible values for the ContentKeyPolicyFairPlayRentalAndLeaseKeyType const type.

type ContentKeyPolicyOpenRestriction

ContentKeyPolicyOpenRestriction represents an open restriction. License or key will be delivered on every request.

type ContentKeyPolicyOpenRestriction struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyOpenRestriction) AsBasicContentKeyPolicyRestriction

func (ckpor ContentKeyPolicyOpenRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyOpenRestriction

func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyRestriction

func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyTokenRestriction

func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyUnknownRestriction

func (ckpor ContentKeyPolicyOpenRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) MarshalJSON

func (ckpor ContentKeyPolicyOpenRestriction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyOpenRestriction.

type ContentKeyPolicyOption

ContentKeyPolicyOption represents a policy option.

type ContentKeyPolicyOption struct {
    // PolicyOptionID - READ-ONLY; The legacy Policy Option ID.
    PolicyOptionID *uuid.UUID `json:"policyOptionId,omitempty"`
    // Name - The Policy Option description.
    Name *string `json:"name,omitempty"`
    // Configuration - The key delivery configuration.
    Configuration BasicContentKeyPolicyConfiguration `json:"configuration,omitempty"`
    // Restriction - The requirements that must be met to deliver keys with this configuration
    Restriction BasicContentKeyPolicyRestriction `json:"restriction,omitempty"`
}

func (ContentKeyPolicyOption) MarshalJSON

func (ckpo ContentKeyPolicyOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyOption.

func (*ContentKeyPolicyOption) UnmarshalJSON

func (ckpo *ContentKeyPolicyOption) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyOption struct.

type ContentKeyPolicyPlayReadyConfiguration

ContentKeyPolicyPlayReadyConfiguration specifies a configuration for PlayReady licenses.

type ContentKeyPolicyPlayReadyConfiguration struct {
    // Licenses - The PlayReady licenses.
    Licenses *[]ContentKeyPolicyPlayReadyLicense `json:"licenses,omitempty"`
    // ResponseCustomData - The custom response data.
    ResponseCustomData *string `json:"responseCustomData,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyPlayReadyConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) MarshalJSON

func (ckpprc ContentKeyPolicyPlayReadyConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyConfiguration.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader specifies that the content key ID is in the PlayReady header.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyPlayReadyContentKeyLocation', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsBasicContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON

func (ckpprcekfh ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier specifies that the content key ID is specified in the PlayReady configuration.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier struct {
    // KeyID - The content key ID.
    KeyID *uuid.UUID `json:"keyId,omitempty"`
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyPlayReadyContentKeyLocation', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsBasicContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON

func (ckpprcekfki ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

type ContentKeyPolicyPlayReadyContentKeyLocation

ContentKeyPolicyPlayReadyContentKeyLocation base class for content key ID location. A derived class must be used to represent the location.

type ContentKeyPolicyPlayReadyContentKeyLocation struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyPlayReadyContentKeyLocation', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsBasicContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsBasicContentKeyPolicyPlayReadyContentKeyLocation() (BasicContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier() (*ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, bool)

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentKeyLocation

func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentKeyLocation() (*ContentKeyPolicyPlayReadyContentKeyLocation, bool)

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) MarshalJSON

func (ckpprckl ContentKeyPolicyPlayReadyContentKeyLocation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentKeyLocation.

type ContentKeyPolicyPlayReadyContentType

ContentKeyPolicyPlayReadyContentType enumerates the values for content key policy play ready content type.

type ContentKeyPolicyPlayReadyContentType string
const (
    // ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload Ultraviolet download content type.
    ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload"
    // ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming Ultraviolet streaming content type.
    ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming"
    // ContentKeyPolicyPlayReadyContentTypeUnknown Represents a ContentKeyPolicyPlayReadyContentType that is
    // unavailable in current API version.
    ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown"
    // ContentKeyPolicyPlayReadyContentTypeUnspecified Unspecified content type.
    ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified"
)

func PossibleContentKeyPolicyPlayReadyContentTypeValues

func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType

PossibleContentKeyPolicyPlayReadyContentTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyContentType const type.

type ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady Compliance Rules.

type ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction struct {
    // BestEffort - Indicates whether this restriction is enforced on a Best Effort basis.
    BestEffort *bool `json:"bestEffort,omitempty"`
    // ConfigurationData - Configures the restriction control bits. Must be between 0 and 3 inclusive.
    ConfigurationData *int32 `json:"configurationData,omitempty"`
}

type ContentKeyPolicyPlayReadyLicense

ContentKeyPolicyPlayReadyLicense the PlayReady license

type ContentKeyPolicyPlayReadyLicense struct {
    // AllowTestDevices - A flag indicating whether test devices can use the license.
    AllowTestDevices *bool `json:"allowTestDevices,omitempty"`
    // BeginDate - The begin date of license
    BeginDate *date.Time `json:"beginDate,omitempty"`
    // ExpirationDate - The expiration date of license.
    ExpirationDate *date.Time `json:"expirationDate,omitempty"`
    // RelativeBeginDate - The relative begin date of license.
    RelativeBeginDate *string `json:"relativeBeginDate,omitempty"`
    // RelativeExpirationDate - The relative expiration date of license.
    RelativeExpirationDate *string `json:"relativeExpirationDate,omitempty"`
    // GracePeriod - The grace period of license.
    GracePeriod *string `json:"gracePeriod,omitempty"`
    // PlayRight - The license PlayRight
    PlayRight *ContentKeyPolicyPlayReadyPlayRight `json:"playRight,omitempty"`
    // LicenseType - The license type. Possible values include: 'ContentKeyPolicyPlayReadyLicenseTypeUnknown', 'ContentKeyPolicyPlayReadyLicenseTypeNonPersistent', 'ContentKeyPolicyPlayReadyLicenseTypePersistent'
    LicenseType ContentKeyPolicyPlayReadyLicenseType `json:"licenseType,omitempty"`
    // ContentKeyLocation - The content key location.
    ContentKeyLocation BasicContentKeyPolicyPlayReadyContentKeyLocation `json:"contentKeyLocation,omitempty"`
    // ContentType - The PlayReady content type. Possible values include: 'ContentKeyPolicyPlayReadyContentTypeUnknown', 'ContentKeyPolicyPlayReadyContentTypeUnspecified', 'ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload', 'ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming'
    ContentType ContentKeyPolicyPlayReadyContentType `json:"contentType,omitempty"`
}

func (*ContentKeyPolicyPlayReadyLicense) UnmarshalJSON

func (ckpprl *ContentKeyPolicyPlayReadyLicense) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyPlayReadyLicense struct.

type ContentKeyPolicyPlayReadyLicenseType

ContentKeyPolicyPlayReadyLicenseType enumerates the values for content key policy play ready license type.

type ContentKeyPolicyPlayReadyLicenseType string
const (
    // ContentKeyPolicyPlayReadyLicenseTypeNonPersistent Non persistent license.
    ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent"
    // ContentKeyPolicyPlayReadyLicenseTypePersistent Persistent license. Allows offline playback.
    ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent"
    // ContentKeyPolicyPlayReadyLicenseTypeUnknown Represents a ContentKeyPolicyPlayReadyLicenseType that is
    // unavailable in current API version.
    ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown"
)

func PossibleContentKeyPolicyPlayReadyLicenseTypeValues

func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType

PossibleContentKeyPolicyPlayReadyLicenseTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyLicenseType const type.

type ContentKeyPolicyPlayReadyPlayRight

ContentKeyPolicyPlayReadyPlayRight configures the Play Right in the PlayReady license.

type ContentKeyPolicyPlayReadyPlayRight struct {
    // FirstPlayExpiration - The amount of time that the license is valid after the license is first used to play content.
    FirstPlayExpiration *string `json:"firstPlayExpiration,omitempty"`
    // ScmsRestriction - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    ScmsRestriction *int32 `json:"scmsRestriction,omitempty"`
    // AgcAndColorStripeRestriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    AgcAndColorStripeRestriction *int32 `json:"agcAndColorStripeRestriction,omitempty"`
    // ExplicitAnalogTelevisionOutputRestriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    ExplicitAnalogTelevisionOutputRestriction *ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction `json:"explicitAnalogTelevisionOutputRestriction,omitempty"`
    // DigitalVideoOnlyContentRestriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
    DigitalVideoOnlyContentRestriction *bool `json:"digitalVideoOnlyContentRestriction,omitempty"`
    // ImageConstraintForAnalogComponentVideoRestriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComponentVideoRestriction *bool `json:"imageConstraintForAnalogComponentVideoRestriction,omitempty"`
    // ImageConstraintForAnalogComputerMonitorRestriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComputerMonitorRestriction *bool `json:"imageConstraintForAnalogComputerMonitorRestriction,omitempty"`
    // AllowPassingVideoContentToUnknownOutput - Configures Unknown output handling settings of the license. Possible values include: 'ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown', 'ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed', 'ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed', 'ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction'
    AllowPassingVideoContentToUnknownOutput ContentKeyPolicyPlayReadyUnknownOutputPassingOption `json:"allowPassingVideoContentToUnknownOutput,omitempty"`
    // UncompressedDigitalVideoOpl - Specifies the output protection level for uncompressed digital video.
    UncompressedDigitalVideoOpl *int32 `json:"uncompressedDigitalVideoOpl,omitempty"`
    // CompressedDigitalVideoOpl - Specifies the output protection level for compressed digital video.
    CompressedDigitalVideoOpl *int32 `json:"compressedDigitalVideoOpl,omitempty"`
    // AnalogVideoOpl - Specifies the output protection level for compressed digital audio.
    AnalogVideoOpl *int32 `json:"analogVideoOpl,omitempty"`
    // CompressedDigitalAudioOpl - Specifies the output protection level for compressed digital audio.
    CompressedDigitalAudioOpl *int32 `json:"compressedDigitalAudioOpl,omitempty"`
    // UncompressedDigitalAudioOpl - Specifies the output protection level for uncompressed digital audio.
    UncompressedDigitalAudioOpl *int32 `json:"uncompressedDigitalAudioOpl,omitempty"`
}

type ContentKeyPolicyPlayReadyUnknownOutputPassingOption

ContentKeyPolicyPlayReadyUnknownOutputPassingOption enumerates the values for content key policy play ready unknown output passing option.

type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
const (
    // ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed Passing the video portion of protected
    // content to an Unknown Output is allowed.
    ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed"
    // ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction Passing the video
    // portion of protected content to an Unknown Output is allowed but with constrained resolution.
    ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction"
    // ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed Passing the video portion of protected
    // content to an Unknown Output is not allowed.
    ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed"
    // ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown Represents a
    // ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
    ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown"
)

func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues

func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption

PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues returns an array of possible values for the ContentKeyPolicyPlayReadyUnknownOutputPassingOption const type.

type ContentKeyPolicyProperties

ContentKeyPolicyProperties the properties of the Content Key Policy.

type ContentKeyPolicyProperties struct {
    autorest.Response `json:"-"`
    // PolicyID - READ-ONLY; The legacy Policy ID.
    PolicyID *uuid.UUID `json:"policyId,omitempty"`
    // Created - READ-ONLY; The creation date of the Policy
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; The last modified date of the Policy
    LastModified *date.Time `json:"lastModified,omitempty"`
    // Description - A description for the Policy.
    Description *string `json:"description,omitempty"`
    // Options - The Key Policy options.
    Options *[]ContentKeyPolicyOption `json:"options,omitempty"`
}

func (ContentKeyPolicyProperties) MarshalJSON

func (ckpp ContentKeyPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyProperties.

type ContentKeyPolicyRestriction

ContentKeyPolicyRestriction base class for Content Key Policy restrictions. A derived class must be used to create a restriction.

type ContentKeyPolicyRestriction struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyRestriction) AsBasicContentKeyPolicyRestriction

func (ckpr ContentKeyPolicyRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyOpenRestriction

func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyRestriction

func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyTokenRestriction

func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyUnknownRestriction

func (ckpr ContentKeyPolicyRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) MarshalJSON

func (ckpr ContentKeyPolicyRestriction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyRestriction.

type ContentKeyPolicyRestrictionTokenKey

ContentKeyPolicyRestrictionTokenKey base class for Content Key Policy key for token validation. A derived class must be used to create a token key.

type ContentKeyPolicyRestrictionTokenKey struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyRestrictionTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey

func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRestrictionTokenKey

func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRsaTokenKey

func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicySymmetricTokenKey

func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyX509CertificateTokenKey

func (ckprtk ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) MarshalJSON

func (ckprtk ContentKeyPolicyRestrictionTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyRestrictionTokenKey.

type ContentKeyPolicyRestrictionTokenType

ContentKeyPolicyRestrictionTokenType enumerates the values for content key policy restriction token type.

type ContentKeyPolicyRestrictionTokenType string
const (
    // ContentKeyPolicyRestrictionTokenTypeJwt JSON Web Token.
    ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt"
    // ContentKeyPolicyRestrictionTokenTypeSwt Simple Web Token.
    ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt"
    // ContentKeyPolicyRestrictionTokenTypeUnknown Represents a ContentKeyPolicyRestrictionTokenType that is
    // unavailable in current API version.
    ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown"
)

func PossibleContentKeyPolicyRestrictionTokenTypeValues

func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType

PossibleContentKeyPolicyRestrictionTokenTypeValues returns an array of possible values for the ContentKeyPolicyRestrictionTokenType const type.

type ContentKeyPolicyRsaTokenKey

ContentKeyPolicyRsaTokenKey specifies a RSA key for token validation

type ContentKeyPolicyRsaTokenKey struct {
    // Exponent - The RSA Parameter exponent
    Exponent *[]byte `json:"exponent,omitempty"`
    // Modulus - The RSA Parameter modulus
    Modulus *[]byte `json:"modulus,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyRsaTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey

func (ckprtk ContentKeyPolicyRsaTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRestrictionTokenKey

func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRsaTokenKey

func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicySymmetricTokenKey

func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyX509CertificateTokenKey

func (ckprtk ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) MarshalJSON

func (ckprtk ContentKeyPolicyRsaTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyRsaTokenKey.

type ContentKeyPolicySymmetricTokenKey

ContentKeyPolicySymmetricTokenKey specifies a symmetric key for token validation.

type ContentKeyPolicySymmetricTokenKey struct {
    // KeyValue - The key value of the key
    KeyValue *[]byte `json:"keyValue,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicySymmetricTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey

func (ckpstk ContentKeyPolicySymmetricTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRestrictionTokenKey

func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRsaTokenKey

func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicySymmetricTokenKey

func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyX509CertificateTokenKey

func (ckpstk ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) MarshalJSON

func (ckpstk ContentKeyPolicySymmetricTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicySymmetricTokenKey.

type ContentKeyPolicyTokenClaim

ContentKeyPolicyTokenClaim represents a token claim.

type ContentKeyPolicyTokenClaim struct {
    // ClaimType - Token claim type.
    ClaimType *string `json:"claimType,omitempty"`
    // ClaimValue - Token claim value.
    ClaimValue *string `json:"claimValue,omitempty"`
}

type ContentKeyPolicyTokenRestriction

ContentKeyPolicyTokenRestriction represents a token restriction. Provided token must match these requirements for successful license or key delivery.

type ContentKeyPolicyTokenRestriction struct {
    // Issuer - The token issuer.
    Issuer *string `json:"issuer,omitempty"`
    // Audience - The audience for the token.
    Audience *string `json:"audience,omitempty"`
    // PrimaryVerificationKey - The primary verification key.
    PrimaryVerificationKey BasicContentKeyPolicyRestrictionTokenKey `json:"primaryVerificationKey,omitempty"`
    // AlternateVerificationKeys - A list of alternative verification keys.
    AlternateVerificationKeys *[]BasicContentKeyPolicyRestrictionTokenKey `json:"alternateVerificationKeys,omitempty"`
    // RequiredClaims - A list of required token claims.
    RequiredClaims *[]ContentKeyPolicyTokenClaim `json:"requiredClaims,omitempty"`
    // RestrictionTokenType - The type of token. Possible values include: 'ContentKeyPolicyRestrictionTokenTypeUnknown', 'ContentKeyPolicyRestrictionTokenTypeSwt', 'ContentKeyPolicyRestrictionTokenTypeJwt'
    RestrictionTokenType ContentKeyPolicyRestrictionTokenType `json:"restrictionTokenType,omitempty"`
    // OpenIDConnectDiscoveryDocument - The OpenID connect discovery document.
    OpenIDConnectDiscoveryDocument *string `json:"openIdConnectDiscoveryDocument,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyTokenRestriction) AsBasicContentKeyPolicyRestriction

func (ckptr ContentKeyPolicyTokenRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyOpenRestriction

func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyRestriction

func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyTokenRestriction

func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyUnknownRestriction

func (ckptr ContentKeyPolicyTokenRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) MarshalJSON

func (ckptr ContentKeyPolicyTokenRestriction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyTokenRestriction.

func (*ContentKeyPolicyTokenRestriction) UnmarshalJSON

func (ckptr *ContentKeyPolicyTokenRestriction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyTokenRestriction struct.

type ContentKeyPolicyUnknownConfiguration

ContentKeyPolicyUnknownConfiguration represents a ContentKeyPolicyConfiguration that is unavailable in the current API version.

type ContentKeyPolicyUnknownConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyUnknownConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpuc ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) MarshalJSON

func (ckpuc ContentKeyPolicyUnknownConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyUnknownConfiguration.

type ContentKeyPolicyUnknownRestriction

ContentKeyPolicyUnknownRestriction represents a ContentKeyPolicyRestriction that is unavailable in the current API version.

type ContentKeyPolicyUnknownRestriction struct {
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyUnknownRestriction) AsBasicContentKeyPolicyRestriction

func (ckpur ContentKeyPolicyUnknownRestriction) AsBasicContentKeyPolicyRestriction() (BasicContentKeyPolicyRestriction, bool)

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyOpenRestriction

func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyOpenRestriction() (*ContentKeyPolicyOpenRestriction, bool)

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyRestriction

func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyRestriction() (*ContentKeyPolicyRestriction, bool)

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyTokenRestriction

func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyTokenRestriction() (*ContentKeyPolicyTokenRestriction, bool)

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyUnknownRestriction

func (ckpur ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyUnknownRestriction() (*ContentKeyPolicyUnknownRestriction, bool)

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) MarshalJSON

func (ckpur ContentKeyPolicyUnknownRestriction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyUnknownRestriction.

type ContentKeyPolicyWidevineConfiguration

ContentKeyPolicyWidevineConfiguration specifies a configuration for Widevine licenses.

type ContentKeyPolicyWidevineConfiguration struct {
    // WidevineTemplate - The Widevine template.
    WidevineTemplate *string `json:"widevineTemplate,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyWidevineConfiguration) AsBasicContentKeyPolicyConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsBasicContentKeyPolicyConfiguration() (BasicContentKeyPolicyConfiguration, bool)

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyClearKeyConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyClearKeyConfiguration() (*ContentKeyPolicyClearKeyConfiguration, bool)

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyConfiguration() (*ContentKeyPolicyConfiguration, bool)

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyFairPlayConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyFairPlayConfiguration() (*ContentKeyPolicyFairPlayConfiguration, bool)

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyPlayReadyConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyPlayReadyConfiguration() (*ContentKeyPolicyPlayReadyConfiguration, bool)

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyUnknownConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyUnknownConfiguration() (*ContentKeyPolicyUnknownConfiguration, bool)

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyWidevineConfiguration

func (ckpwc ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyWidevineConfiguration() (*ContentKeyPolicyWidevineConfiguration, bool)

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) MarshalJSON

func (ckpwc ContentKeyPolicyWidevineConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyWidevineConfiguration.

type ContentKeyPolicyX509CertificateTokenKey

ContentKeyPolicyX509CertificateTokenKey specifies a certificate for token validation.

type ContentKeyPolicyX509CertificateTokenKey struct {
    // RawBody - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
    RawBody *[]byte `json:"rawBody,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

func (ContentKeyPolicyX509CertificateTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey() (BasicContentKeyPolicyRestrictionTokenKey, bool)

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRestrictionTokenKey

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRestrictionTokenKey() (*ContentKeyPolicyRestrictionTokenKey, bool)

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRsaTokenKey

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRsaTokenKey() (*ContentKeyPolicyRsaTokenKey, bool)

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicySymmetricTokenKey

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicySymmetricTokenKey() (*ContentKeyPolicySymmetricTokenKey, bool)

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyX509CertificateTokenKey

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyX509CertificateTokenKey() (*ContentKeyPolicyX509CertificateTokenKey, bool)

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) MarshalJSON

func (ckpxctk ContentKeyPolicyX509CertificateTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentKeyPolicyX509CertificateTokenKey.

type CopyAudio

CopyAudio a codec flag, which tells the encoder to copy the input audio bitstream.

type CopyAudio struct {
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (CopyAudio) AsAacAudio

func (ca CopyAudio) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsAudio

func (ca CopyAudio) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicAudio

func (ca CopyAudio) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicCodec

func (ca CopyAudio) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicImage

func (ca CopyAudio) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicVideo

func (ca CopyAudio) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCodec

func (ca CopyAudio) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCopyAudio

func (ca CopyAudio) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCopyVideo

func (ca CopyAudio) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsH264Video

func (ca CopyAudio) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsH265Video

func (ca CopyAudio) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsImage

func (ca CopyAudio) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsJpgImage

func (ca CopyAudio) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsPngImage

func (ca CopyAudio) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsVideo

func (ca CopyAudio) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) MarshalJSON

func (ca CopyAudio) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CopyAudio.

type CopyVideo

CopyVideo a codec flag, which tells the encoder to copy the input video bitstream without re-encoding.

type CopyVideo struct {
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (CopyVideo) AsAacAudio

func (cv CopyVideo) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsAudio

func (cv CopyVideo) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicAudio

func (cv CopyVideo) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicCodec

func (cv CopyVideo) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicImage

func (cv CopyVideo) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicVideo

func (cv CopyVideo) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCodec

func (cv CopyVideo) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCopyAudio

func (cv CopyVideo) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCopyVideo

func (cv CopyVideo) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsH264Video

func (cv CopyVideo) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsH265Video

func (cv CopyVideo) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsImage

func (cv CopyVideo) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsJpgImage

func (cv CopyVideo) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsPngImage

func (cv CopyVideo) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsVideo

func (cv CopyVideo) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) MarshalJSON

func (cv CopyVideo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CopyVideo.

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type CrossSiteAccessPolicies

CrossSiteAccessPolicies the client access policy.

type CrossSiteAccessPolicies struct {
    // ClientAccessPolicy - The content of clientaccesspolicy.xml used by Silverlight.
    ClientAccessPolicy *string `json:"clientAccessPolicy,omitempty"`
    // CrossDomainPolicy - The content of crossdomain.xml used by Silverlight.
    CrossDomainPolicy *string `json:"crossDomainPolicy,omitempty"`
}

type DefaultAction

DefaultAction enumerates the values for default action.

type DefaultAction string
const (
    // DefaultActionAllow All public IP addresses are allowed.
    DefaultActionAllow DefaultAction = "Allow"
    // DefaultActionDeny Public IP addresses are blocked.
    DefaultActionDeny DefaultAction = "Deny"
)

func PossibleDefaultActionValues

func PossibleDefaultActionValues() []DefaultAction

PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.

type DefaultKey

DefaultKey class to specify properties of default content key for each encryption scheme

type DefaultKey struct {
    // Label - Label can be used to specify Content Key when creating a Streaming Locator
    Label *string `json:"label,omitempty"`
    // PolicyName - Policy used by Default Key
    PolicyName *string `json:"policyName,omitempty"`
}

type Deinterlace

Deinterlace describes the de-interlacing settings.

type Deinterlace struct {
    // Parity - The field parity for de-interlacing, defaults to Auto. Possible values include: 'DeinterlaceParityAuto', 'DeinterlaceParityTopFieldFirst', 'DeinterlaceParityBottomFieldFirst'
    Parity DeinterlaceParity `json:"parity,omitempty"`
    // Mode - The deinterlacing mode. Defaults to AutoPixelAdaptive. Possible values include: 'DeinterlaceModeOff', 'DeinterlaceModeAutoPixelAdaptive'
    Mode DeinterlaceMode `json:"mode,omitempty"`
}

type DeinterlaceMode

DeinterlaceMode enumerates the values for deinterlace mode.

type DeinterlaceMode string
const (
    // DeinterlaceModeAutoPixelAdaptive Apply automatic pixel adaptive de-interlacing on each frame in the
    // input video.
    DeinterlaceModeAutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
    // DeinterlaceModeOff Disables de-interlacing of the source video.
    DeinterlaceModeOff DeinterlaceMode = "Off"
)

func PossibleDeinterlaceModeValues

func PossibleDeinterlaceModeValues() []DeinterlaceMode

PossibleDeinterlaceModeValues returns an array of possible values for the DeinterlaceMode const type.

type DeinterlaceParity

DeinterlaceParity enumerates the values for deinterlace parity.

type DeinterlaceParity string
const (
    // DeinterlaceParityAuto Automatically detect the order of fields
    DeinterlaceParityAuto DeinterlaceParity = "Auto"
    // DeinterlaceParityBottomFieldFirst Apply bottom field first processing of input video.
    DeinterlaceParityBottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
    // DeinterlaceParityTopFieldFirst Apply top field first processing of input video.
    DeinterlaceParityTopFieldFirst DeinterlaceParity = "TopFieldFirst"
)

func PossibleDeinterlaceParityValues

func PossibleDeinterlaceParityValues() []DeinterlaceParity

PossibleDeinterlaceParityValues returns an array of possible values for the DeinterlaceParity const type.

type EdgePolicies

EdgePolicies ...

type EdgePolicies struct {
    autorest.Response         `json:"-"`
    UsageDataCollectionPolicy *EdgeUsageDataCollectionPolicy `json:"usageDataCollectionPolicy,omitempty"`
}

type EdgeUsageDataCollectionPolicy

EdgeUsageDataCollectionPolicy ...

type EdgeUsageDataCollectionPolicy struct {
    // DataCollectionFrequency - Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
    DataCollectionFrequency *string `json:"dataCollectionFrequency,omitempty"`
    // DataReportingFrequency - Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
    DataReportingFrequency *string `json:"dataReportingFrequency,omitempty"`
    // MaxAllowedUnreportedUsageDuration - Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
    MaxAllowedUnreportedUsageDuration *string `json:"maxAllowedUnreportedUsageDuration,omitempty"`
    // EventHubDetails - Details of Event Hub where the usage will be reported.
    EventHubDetails *EdgeUsageDataEventHub `json:"eventHubDetails,omitempty"`
}

type EdgeUsageDataEventHub

EdgeUsageDataEventHub ...

type EdgeUsageDataEventHub struct {
    // Name - Name of the Event Hub where usage will be reported.
    Name *string `json:"name,omitempty"`
    // Namespace - Namespace of the Event Hub where usage will be reported.
    Namespace *string `json:"namespace,omitempty"`
    // Token - SAS token needed to interact with Event Hub.
    Token *string `json:"token,omitempty"`
}

type EnabledProtocols

EnabledProtocols class to specify which protocols are enabled

type EnabledProtocols struct {
    // Download - Enable Download protocol or not
    Download *bool `json:"download,omitempty"`
    // Dash - Enable DASH protocol or not
    Dash *bool `json:"dash,omitempty"`
    // Hls - Enable HLS protocol or not
    Hls *bool `json:"hls,omitempty"`
    // SmoothStreaming - Enable SmoothStreaming protocol or not
    SmoothStreaming *bool `json:"smoothStreaming,omitempty"`
}

type EncoderNamedPreset

EncoderNamedPreset enumerates the values for encoder named preset.

type EncoderNamedPreset string
const (
    // EncoderNamedPresetAACGoodQualityAudio Produces a single MP4 file containing only stereo audio encoded at
    // 192 kbps.
    EncoderNamedPresetAACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
    // EncoderNamedPresetAdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo
    // AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The
    // auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output
    // will remain 720p at best.
    EncoderNamedPresetAdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
    // EncoderNamedPresetContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware
    // encoding. Given any input content, the service performs an initial lightweight analysis of the input
    // content, and uses the results to determine the optimal number of layers, appropriate bitrate and
    // resolution settings for delivery by adaptive streaming. This preset is particularly effective for low
    // and medium complexity videos, where the output files will be at lower bitrates but at a quality that
    // still delivers a good experience to viewers. The output will contain MP4 files with video and audio
    // interleaved.
    EncoderNamedPresetContentAwareEncoding EncoderNamedPreset = "ContentAwareEncoding"
    // EncoderNamedPresetContentAwareEncodingExperimental Exposes an experimental preset for content-aware
    // encoding. Given any input content, the service attempts to automatically determine the optimal number of
    // layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. The underlying
    // algorithms will continue to evolve over time. The output will contain MP4 files with video and audio
    // interleaved.
    EncoderNamedPresetContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
    // EncoderNamedPresetCopyAllBitrateNonInterleaved Copy all video and audio streams from the input asset as
    // non-interleaved video and audio output files. This preset can be used to clip an existing asset or
    // convert a group of key frame (GOP) aligned MP4 files as an asset that can be streamed.
    EncoderNamedPresetCopyAllBitrateNonInterleaved EncoderNamedPreset = "CopyAllBitrateNonInterleaved"
    // EncoderNamedPresetH264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000
    // kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 180p.
    EncoderNamedPresetH264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
    // EncoderNamedPresetH264MultipleBitrate720p Produces a set of 6 GOP-aligned MP4 files, ranging from 3400
    // kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 180p.
    EncoderNamedPresetH264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
    // EncoderNamedPresetH264MultipleBitrateSD Produces a set of 5 GOP-aligned MP4 files, ranging from 1900kbps
    // to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 240p.
    EncoderNamedPresetH264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
    // EncoderNamedPresetH264SingleBitrate1080p Produces an MP4 file where the video is encoded with H.264
    // codec at 6750 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC
    // codec at 128 kbps.
    EncoderNamedPresetH264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
    // EncoderNamedPresetH264SingleBitrate720p Produces an MP4 file where the video is encoded with H.264 codec
    // at 4500 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at
    // 128 kbps.
    EncoderNamedPresetH264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
    // EncoderNamedPresetH264SingleBitrateSD Produces an MP4 file where the video is encoded with H.264 codec
    // at 2200 kbps and a picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at
    // 128 kbps.
    EncoderNamedPresetH264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
    // EncoderNamedPresetH265AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.265 video and
    // stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate.
    // The auto-generated preset will never exceed the input resolution. For example, if the input is 720p,
    // output will remain 720p at best.
    EncoderNamedPresetH265AdaptiveStreaming EncoderNamedPreset = "H265AdaptiveStreaming"
    // EncoderNamedPresetH265ContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware
    // encoding. Given any input content, the service performs an initial lightweight analysis of the input
    // content, and uses the results to determine the optimal number of layers, appropriate bitrate and
    // resolution settings for delivery by adaptive streaming. This preset is particularly effective for low
    // and medium complexity videos, where the output files will be at lower bitrates but at a quality that
    // still delivers a good experience to viewers. The output will contain MP4 files with video and audio
    // interleaved.
    EncoderNamedPresetH265ContentAwareEncoding EncoderNamedPreset = "H265ContentAwareEncoding"
    // EncoderNamedPresetH265SingleBitrate1080p Produces an MP4 file where the video is encoded with H.265
    // codec at 3500 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC
    // codec at 128 kbps.
    EncoderNamedPresetH265SingleBitrate1080p EncoderNamedPreset = "H265SingleBitrate1080p"
    // EncoderNamedPresetH265SingleBitrate4K Produces an MP4 file where the video is encoded with H.265 codec
    // at 9500 kbps and a picture height of 2160 pixels, and the stereo audio is encoded with AAC-LC codec at
    // 128 kbps.
    EncoderNamedPresetH265SingleBitrate4K EncoderNamedPreset = "H265SingleBitrate4K"
    // EncoderNamedPresetH265SingleBitrate720p Produces an MP4 file where the video is encoded with H.265 codec
    // at 1800 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at
    // 128 kbps.
    EncoderNamedPresetH265SingleBitrate720p EncoderNamedPreset = "H265SingleBitrate720p"
)

func PossibleEncoderNamedPresetValues

func PossibleEncoderNamedPresetValues() []EncoderNamedPreset

PossibleEncoderNamedPresetValues returns an array of possible values for the EncoderNamedPreset const type.

type EncryptionScheme

EncryptionScheme enumerates the values for encryption scheme.

type EncryptionScheme string
const (
    // EncryptionSchemeCommonEncryptionCbcs CommonEncryptionCbcs scheme
    EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs"
    // EncryptionSchemeCommonEncryptionCenc CommonEncryptionCenc scheme
    EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc"
    // EncryptionSchemeEnvelopeEncryption EnvelopeEncryption scheme
    EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption"
    // EncryptionSchemeNoEncryption NoEncryption scheme
    EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption"
)

func PossibleEncryptionSchemeValues

func PossibleEncryptionSchemeValues() []EncryptionScheme

PossibleEncryptionSchemeValues returns an array of possible values for the EncryptionScheme const type.

type EntityNameAvailabilityCheckOutput

EntityNameAvailabilityCheckOutput the response from the check name availability request.

type EntityNameAvailabilityCheckOutput struct {
    autorest.Response `json:"-"`
    // NameAvailable - Specifies if the name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - Specifies the reason if the name is not available.
    Reason *string `json:"reason,omitempty"`
    // Message - Specifies the detailed reason if the name is not available.
    Message *string `json:"message,omitempty"`
}

type EntropyMode

EntropyMode enumerates the values for entropy mode.

type EntropyMode string
const (
    // EntropyModeCabac Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding.
    EntropyModeCabac EntropyMode = "Cabac"
    // EntropyModeCavlc Context Adaptive Variable Length Coder (CAVLC) entropy encoding.
    EntropyModeCavlc EntropyMode = "Cavlc"
)

func PossibleEntropyModeValues

func PossibleEntropyModeValues() []EntropyMode

PossibleEntropyModeValues returns an array of possible values for the EntropyMode const type.

type EnvelopeEncryption

EnvelopeEncryption class for EnvelopeEncryption encryption scheme

type EnvelopeEncryption struct {
    // EnabledProtocols - Representing supported protocols
    EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"`
    // ClearTracks - Representing which tracks should not be encrypted
    ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"`
    // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks
    ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"`
    // 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 `json:"customKeyAcquisitionUrlTemplate,omitempty"`
}

type ErrorAdditionalInfo

ErrorAdditionalInfo the resource management error additional info.

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

ErrorDetail the error detail.

type ErrorDetail struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorDetail `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type ErrorResponse struct {
    // Error - The error object.
    Error *ErrorDetail `json:"error,omitempty"`
}

type FaceDetectorPreset

FaceDetectorPreset describes all the settings to be used when analyzing a video in order to detect (and optionally redact) all the faces present.

type FaceDetectorPreset struct {
    // 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: 'AnalysisResolutionSourceResolution', 'AnalysisResolutionStandardDefinition'
    Resolution AnalysisResolution `json:"resolution,omitempty"`
    // Mode - This mode provides the ability to choose between the following settings: 1) Analyze - For detection only.This mode generates a metadata JSON file marking appearances of faces throughout the video.Where possible, appearances of the same person are assigned the same ID. 2) Combined - Additionally redacts(blurs) detected faces. 3) Redact - This enables a 2-pass process, allowing for selective redaction of a subset of detected faces.It takes in the metadata file from a prior analyze pass, along with the source video, and a user-selected subset of IDs that require redaction. Possible values include: 'FaceRedactorModeAnalyze', 'FaceRedactorModeRedact', 'FaceRedactorModeCombined'
    Mode FaceRedactorMode `json:"mode,omitempty"`
    // BlurType - Blur type. Possible values include: 'BlurTypeBox', 'BlurTypeLow', 'BlurTypeMed', 'BlurTypeHigh', 'BlurTypeBlack'
    BlurType BlurType `json:"blurType,omitempty"`
    // ExperimentalOptions - Dictionary containing key value pairs for parameters not exposed in the preset itself
    ExperimentalOptions map[string]*string `json:"experimentalOptions"`
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (FaceDetectorPreset) AsAudioAnalyzerPreset

func (fdp FaceDetectorPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBasicAudioAnalyzerPreset

func (fdp FaceDetectorPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBasicPreset

func (fdp FaceDetectorPreset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBuiltInStandardEncoderPreset

func (fdp FaceDetectorPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsFaceDetectorPreset

func (fdp FaceDetectorPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsPreset

func (fdp FaceDetectorPreset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsStandardEncoderPreset

func (fdp FaceDetectorPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsVideoAnalyzerPreset

func (fdp FaceDetectorPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) MarshalJSON

func (fdp FaceDetectorPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FaceDetectorPreset.

type FaceRedactorMode

FaceRedactorMode enumerates the values for face redactor mode.

type FaceRedactorMode string
const (
    // FaceRedactorModeAnalyze Analyze mode detects faces and outputs a metadata file with the results. Allows
    // editing of the metadata file before faces are blurred with Redact mode.
    FaceRedactorModeAnalyze FaceRedactorMode = "Analyze"
    // FaceRedactorModeCombined Combined mode does the Analyze and Redact steps in one pass when editing the
    // analyzed faces is not desired.
    FaceRedactorModeCombined FaceRedactorMode = "Combined"
    // FaceRedactorModeRedact Redact mode consumes the metadata file from Analyze mode and redacts the faces
    // found.
    FaceRedactorModeRedact FaceRedactorMode = "Redact"
)

func PossibleFaceRedactorModeValues

func PossibleFaceRedactorModeValues() []FaceRedactorMode

PossibleFaceRedactorModeValues returns an array of possible values for the FaceRedactorMode const type.

type FilterProperties

FilterProperties the Media Filter properties.

type FilterProperties struct {
    // PresentationTimeRange - The presentation time range.
    PresentationTimeRange *PresentationTimeRange `json:"presentationTimeRange,omitempty"`
    // FirstQuality - The first quality.
    FirstQuality *FirstQuality `json:"firstQuality,omitempty"`
    // Tracks - The tracks selection conditions.
    Tracks *[]FilterTrackSelection `json:"tracks,omitempty"`
}

type FilterTrackPropertyCompareOperation

FilterTrackPropertyCompareOperation enumerates the values for filter track property compare operation.

type FilterTrackPropertyCompareOperation string
const (
    // FilterTrackPropertyCompareOperationEqual The equal operation.
    FilterTrackPropertyCompareOperationEqual FilterTrackPropertyCompareOperation = "Equal"
    // FilterTrackPropertyCompareOperationNotEqual The not equal operation.
    FilterTrackPropertyCompareOperationNotEqual FilterTrackPropertyCompareOperation = "NotEqual"
)

func PossibleFilterTrackPropertyCompareOperationValues

func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation

PossibleFilterTrackPropertyCompareOperationValues returns an array of possible values for the FilterTrackPropertyCompareOperation const type.

type FilterTrackPropertyCondition

FilterTrackPropertyCondition the class to specify one track property condition.

type FilterTrackPropertyCondition struct {
    // Property - The track property type. Possible values include: 'FilterTrackPropertyTypeUnknown', 'FilterTrackPropertyTypeType', 'FilterTrackPropertyTypeName', 'FilterTrackPropertyTypeLanguage', 'FilterTrackPropertyTypeFourCC', 'FilterTrackPropertyTypeBitrate'
    Property FilterTrackPropertyType `json:"property,omitempty"`
    // Value - The track property value.
    Value *string `json:"value,omitempty"`
    // Operation - The track property condition operation. Possible values include: 'FilterTrackPropertyCompareOperationEqual', 'FilterTrackPropertyCompareOperationNotEqual'
    Operation FilterTrackPropertyCompareOperation `json:"operation,omitempty"`
}

type FilterTrackPropertyType

FilterTrackPropertyType enumerates the values for filter track property type.

type FilterTrackPropertyType string
const (
    // FilterTrackPropertyTypeBitrate The bitrate.
    FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate"
    // FilterTrackPropertyTypeFourCC The fourCC.
    FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC"
    // FilterTrackPropertyTypeLanguage The language.
    FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language"
    // FilterTrackPropertyTypeName The name.
    FilterTrackPropertyTypeName FilterTrackPropertyType = "Name"
    // FilterTrackPropertyTypeType The type.
    FilterTrackPropertyTypeType FilterTrackPropertyType = "Type"
    // FilterTrackPropertyTypeUnknown The unknown track property type.
    FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown"
)

func PossibleFilterTrackPropertyTypeValues

func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType

PossibleFilterTrackPropertyTypeValues returns an array of possible values for the FilterTrackPropertyType const type.

type FilterTrackSelection

FilterTrackSelection representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation.

type FilterTrackSelection struct {
    // TrackSelections - The track selections.
    TrackSelections *[]FilterTrackPropertyCondition `json:"trackSelections,omitempty"`
}

type Filters

Filters describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding.

type Filters struct {
    // Deinterlace - The de-interlacing settings.
    Deinterlace *Deinterlace `json:"deinterlace,omitempty"`
    // Rotation - The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto. Possible values include: 'RotationAuto', 'RotationNone', 'RotationRotate0', 'RotationRotate90', 'RotationRotate180', 'RotationRotate270'
    Rotation Rotation `json:"rotation,omitempty"`
    // Crop - The parameters for the rectangular window with which to crop the input video.
    Crop *Rectangle `json:"crop,omitempty"`
    // Overlays - The properties of overlays to be applied to the input video. These could be audio, image or video overlays.
    Overlays *[]BasicOverlay `json:"overlays,omitempty"`
}

func (*Filters) UnmarshalJSON

func (f *Filters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Filters struct.

type FirstQuality

FirstQuality filter First Quality

type FirstQuality struct {
    // Bitrate - The first quality bitrate.
    Bitrate *int32 `json:"bitrate,omitempty"`
}

type Format

Format base class for output.

type Format struct {
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (Format) AsBasicFormat

func (f Format) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for Format.

func (Format) AsBasicImageFormat

func (f Format) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for Format.

func (Format) AsBasicMultiBitrateFormat

func (f Format) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for Format.

func (Format) AsFormat

func (f Format) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for Format.

func (Format) AsImageFormat

func (f Format) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for Format.

func (Format) AsJpgFormat

func (f Format) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for Format.

func (Format) AsMp4Format

func (f Format) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for Format.

func (Format) AsMultiBitrateFormat

func (f Format) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for Format.

func (Format) AsPngFormat

func (f Format) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for Format.

func (Format) AsTransportStreamFormat

func (f Format) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for Format.

func (Format) MarshalJSON

func (f Format) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Format.

type FromAllInputFile

FromAllInputFile an InputDefinition that looks across all of the files provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to allow selection of a single track across a set of input files.

type FromAllInputFile struct {
    // IncludedTracks - The list of TrackDescriptors which define the metadata and selection of tracks in the input.
    IncludedTracks *[]BasicTrackDescriptor `json:"includedTracks,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicInputDefinitionOdataTypeInputDefinition', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile'
    OdataType OdataTypeBasicInputDefinition `json:"@odata.type,omitempty"`
}

func (FromAllInputFile) AsBasicInputDefinition

func (faif FromAllInputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)

AsBasicInputDefinition is the BasicInputDefinition implementation for FromAllInputFile.

func (FromAllInputFile) AsFromAllInputFile

func (faif FromAllInputFile) AsFromAllInputFile() (*FromAllInputFile, bool)

AsFromAllInputFile is the BasicInputDefinition implementation for FromAllInputFile.

func (FromAllInputFile) AsFromEachInputFile

func (faif FromAllInputFile) AsFromEachInputFile() (*FromEachInputFile, bool)

AsFromEachInputFile is the BasicInputDefinition implementation for FromAllInputFile.

func (FromAllInputFile) AsInputDefinition

func (faif FromAllInputFile) AsInputDefinition() (*InputDefinition, bool)

AsInputDefinition is the BasicInputDefinition implementation for FromAllInputFile.

func (FromAllInputFile) AsInputFile

func (faif FromAllInputFile) AsInputFile() (*InputFile, bool)

AsInputFile is the BasicInputDefinition implementation for FromAllInputFile.

func (FromAllInputFile) MarshalJSON

func (faif FromAllInputFile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FromAllInputFile.

func (*FromAllInputFile) UnmarshalJSON

func (faif *FromAllInputFile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FromAllInputFile struct.

type FromEachInputFile

FromEachInputFile an InputDefinition that looks at each input file provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to select tracks from each file given.

type FromEachInputFile struct {
    // IncludedTracks - The list of TrackDescriptors which define the metadata and selection of tracks in the input.
    IncludedTracks *[]BasicTrackDescriptor `json:"includedTracks,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicInputDefinitionOdataTypeInputDefinition', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile'
    OdataType OdataTypeBasicInputDefinition `json:"@odata.type,omitempty"`
}

func (FromEachInputFile) AsBasicInputDefinition

func (feif FromEachInputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)

AsBasicInputDefinition is the BasicInputDefinition implementation for FromEachInputFile.

func (FromEachInputFile) AsFromAllInputFile

func (feif FromEachInputFile) AsFromAllInputFile() (*FromAllInputFile, bool)

AsFromAllInputFile is the BasicInputDefinition implementation for FromEachInputFile.

func (FromEachInputFile) AsFromEachInputFile

func (feif FromEachInputFile) AsFromEachInputFile() (*FromEachInputFile, bool)

AsFromEachInputFile is the BasicInputDefinition implementation for FromEachInputFile.

func (FromEachInputFile) AsInputDefinition

func (feif FromEachInputFile) AsInputDefinition() (*InputDefinition, bool)

AsInputDefinition is the BasicInputDefinition implementation for FromEachInputFile.

func (FromEachInputFile) AsInputFile

func (feif FromEachInputFile) AsInputFile() (*InputFile, bool)

AsInputFile is the BasicInputDefinition implementation for FromEachInputFile.

func (FromEachInputFile) MarshalJSON

func (feif FromEachInputFile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FromEachInputFile.

func (*FromEachInputFile) UnmarshalJSON

func (feif *FromEachInputFile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FromEachInputFile struct.

type H264Complexity

H264Complexity enumerates the values for h264 complexity.

type H264Complexity string
const (
    // H264ComplexityBalanced Tells the encoder to use settings that achieve a balance between speed and
    // quality.
    H264ComplexityBalanced H264Complexity = "Balanced"
    // H264ComplexityQuality Tells the encoder to use settings that are optimized to produce higher quality
    // output at the expense of slower overall encode time.
    H264ComplexityQuality H264Complexity = "Quality"
    // H264ComplexitySpeed Tells the encoder to use settings that are optimized for faster encoding. Quality is
    // sacrificed to decrease encoding time.
    H264ComplexitySpeed H264Complexity = "Speed"
)

func PossibleH264ComplexityValues

func PossibleH264ComplexityValues() []H264Complexity

PossibleH264ComplexityValues returns an array of possible values for the H264Complexity const type.

type H264Layer

H264Layer describes the settings to be used when encoding the input video into a desired output bitrate layer with the H.264 video codec.

type H264Layer struct {
    // Profile - We currently support Baseline, Main, High, High422, High444. Default is Auto. Possible values include: 'H264VideoProfileAuto', 'H264VideoProfileBaseline', 'H264VideoProfileMain', 'H264VideoProfileHigh', 'H264VideoProfileHigh422', 'H264VideoProfileHigh444'
    Profile H264VideoProfile `json:"profile,omitempty"`
    // 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 `json:"level,omitempty"`
    // 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 `json:"bufferWindow,omitempty"`
    // 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 *int32 `json:"referenceFrames,omitempty"`
    // 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: 'EntropyModeCabac', 'EntropyModeCavlc'
    EntropyMode EntropyMode `json:"entropyMode,omitempty"`
    // 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 *int32 `json:"bitrate,omitempty"`
    // 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 *int32 `json:"maxBitrate,omitempty"`
    // 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 *int32 `json:"bFrames,omitempty"`
    // 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 `json:"frameRate,omitempty"`
    // 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 *int32 `json:"slices,omitempty"`
    // 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 *bool `json:"adaptiveBFrame,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (H264Layer) AsBasicH265VideoLayer

func (hl H264Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsBasicLayer

func (hl H264Layer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsBasicVideoLayer

func (hl H264Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsH264Layer

func (hl H264Layer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsH265Layer

func (hl H264Layer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsH265VideoLayer

func (hl H264Layer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsJpgLayer

func (hl H264Layer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsLayer

func (hl H264Layer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsPngLayer

func (hl H264Layer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsVideoLayer

func (hl H264Layer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) MarshalJSON

func (hl H264Layer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for H264Layer.

type H264Video

H264Video describes all the properties for encoding a video with the H.264 codec.

type H264Video struct {
    // 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 *bool `json:"sceneChangeDetection,omitempty"`
    // Complexity - Tells the encoder how to choose its encoding settings. The default value is Balanced. Possible values include: 'H264ComplexitySpeed', 'H264ComplexityBalanced', 'H264ComplexityQuality'
    Complexity H264Complexity `json:"complexity,omitempty"`
    // Layers - The collection of output H.264 layers to be produced by the encoder.
    Layers *[]H264Layer `json:"layers,omitempty"`
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (H264Video) AsAacAudio

func (hv H264Video) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsAudio

func (hv H264Video) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicAudio

func (hv H264Video) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicCodec

func (hv H264Video) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicImage

func (hv H264Video) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicVideo

func (hv H264Video) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for H264Video.

func (H264Video) AsCodec

func (hv H264Video) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for H264Video.

func (H264Video) AsCopyAudio

func (hv H264Video) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsCopyVideo

func (hv H264Video) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for H264Video.

func (H264Video) AsH264Video

func (hv H264Video) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for H264Video.

func (H264Video) AsH265Video

func (hv H264Video) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for H264Video.

func (H264Video) AsImage

func (hv H264Video) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for H264Video.

func (H264Video) AsJpgImage

func (hv H264Video) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for H264Video.

func (H264Video) AsPngImage

func (hv H264Video) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for H264Video.

func (H264Video) AsVideo

func (hv H264Video) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for H264Video.

func (H264Video) MarshalJSON

func (hv H264Video) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for H264Video.

type H264VideoProfile

H264VideoProfile enumerates the values for h264 video profile.

type H264VideoProfile string
const (
    // H264VideoProfileAuto Tells the encoder to automatically determine the appropriate H.264 profile.
    H264VideoProfileAuto H264VideoProfile = "Auto"
    // H264VideoProfileBaseline Baseline profile
    H264VideoProfileBaseline H264VideoProfile = "Baseline"
    // H264VideoProfileHigh High profile.
    H264VideoProfileHigh H264VideoProfile = "High"
    // H264VideoProfileHigh422 High 4:2:2 profile.
    H264VideoProfileHigh422 H264VideoProfile = "High422"
    // H264VideoProfileHigh444 High 4:4:4 predictive profile.
    H264VideoProfileHigh444 H264VideoProfile = "High444"
    // H264VideoProfileMain Main profile
    H264VideoProfileMain H264VideoProfile = "Main"
)

func PossibleH264VideoProfileValues

func PossibleH264VideoProfileValues() []H264VideoProfile

PossibleH264VideoProfileValues returns an array of possible values for the H264VideoProfile const type.

type H265Complexity

H265Complexity enumerates the values for h265 complexity.

type H265Complexity string
const (
    // H265ComplexityBalanced Tells the encoder to use settings that achieve a balance between speed and
    // quality.
    H265ComplexityBalanced H265Complexity = "Balanced"
    // H265ComplexityQuality Tells the encoder to use settings that are optimized to produce higher quality
    // output at the expense of slower overall encode time.
    H265ComplexityQuality H265Complexity = "Quality"
    // H265ComplexitySpeed Tells the encoder to use settings that are optimized for faster encoding. Quality is
    // sacrificed to decrease encoding time.
    H265ComplexitySpeed H265Complexity = "Speed"
)

func PossibleH265ComplexityValues

func PossibleH265ComplexityValues() []H265Complexity

PossibleH265ComplexityValues returns an array of possible values for the H265Complexity const type.

type H265Layer

H265Layer describes the settings to be used when encoding the input video into a desired output bitrate layer with the H.265 video codec.

type H265Layer struct {
    // Profile - We currently support Main. Default is Auto. Possible values include: 'H265VideoProfileAuto', 'H265VideoProfileMain'
    Profile H265VideoProfile `json:"profile,omitempty"`
    // Level - We currently support Level up to 6.2. The value can be Auto, or a number that matches the H.265 profile. If not specified, the default is Auto, which lets the encoder choose the Level that is appropriate for this layer.
    Level *string `json:"level,omitempty"`
    // 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 `json:"bufferWindow,omitempty"`
    // 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 *int32 `json:"referenceFrames,omitempty"`
    // Bitrate - The average bitrate in bits per second at which to encode the input video when generating this layer. For example: a target bitrate of 3000Kbps or 3Mbps means this value should be 3000000 This is a required field.
    Bitrate *int32 `json:"bitrate,omitempty"`
    // 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 *int32 `json:"maxBitrate,omitempty"`
    // 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 *int32 `json:"bFrames,omitempty"`
    // 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 `json:"frameRate,omitempty"`
    // 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 *int32 `json:"slices,omitempty"`
    // AdaptiveBFrame - Specifies 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 *bool `json:"adaptiveBFrame,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (H265Layer) AsBasicH265VideoLayer

func (hl H265Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsBasicLayer

func (hl H265Layer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsBasicVideoLayer

func (hl H265Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsH264Layer

func (hl H265Layer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsH265Layer

func (hl H265Layer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsH265VideoLayer

func (hl H265Layer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsJpgLayer

func (hl H265Layer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsLayer

func (hl H265Layer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsPngLayer

func (hl H265Layer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) AsVideoLayer

func (hl H265Layer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for H265Layer.

func (H265Layer) MarshalJSON

func (hl H265Layer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for H265Layer.

type H265Video

H265Video describes all the properties for encoding a video with the H.265 codec.

type H265Video struct {
    // SceneChangeDetection - Specifies 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 *bool `json:"sceneChangeDetection,omitempty"`
    // Complexity - Tells the encoder how to choose its encoding settings.  Quality will provide for a higher compression ratio but at a higher cost and longer compute time.  Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced. Possible values include: 'H265ComplexitySpeed', 'H265ComplexityBalanced', 'H265ComplexityQuality'
    Complexity H265Complexity `json:"complexity,omitempty"`
    // Layers - The collection of output H.265 layers to be produced by the encoder.
    Layers *[]H265Layer `json:"layers,omitempty"`
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (H265Video) AsAacAudio

func (hv H265Video) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for H265Video.

func (H265Video) AsAudio

func (hv H265Video) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for H265Video.

func (H265Video) AsBasicAudio

func (hv H265Video) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for H265Video.

func (H265Video) AsBasicCodec

func (hv H265Video) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for H265Video.

func (H265Video) AsBasicImage

func (hv H265Video) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for H265Video.

func (H265Video) AsBasicVideo

func (hv H265Video) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for H265Video.

func (H265Video) AsCodec

func (hv H265Video) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for H265Video.

func (H265Video) AsCopyAudio

func (hv H265Video) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for H265Video.

func (H265Video) AsCopyVideo

func (hv H265Video) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for H265Video.

func (H265Video) AsH264Video

func (hv H265Video) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for H265Video.

func (H265Video) AsH265Video

func (hv H265Video) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for H265Video.

func (H265Video) AsImage

func (hv H265Video) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for H265Video.

func (H265Video) AsJpgImage

func (hv H265Video) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for H265Video.

func (H265Video) AsPngImage

func (hv H265Video) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for H265Video.

func (H265Video) AsVideo

func (hv H265Video) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for H265Video.

func (H265Video) MarshalJSON

func (hv H265Video) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for H265Video.

type H265VideoLayer

H265VideoLayer describes the settings to be used when encoding the input video into a desired output bitrate layer.

type H265VideoLayer struct {
    // Bitrate - The average bitrate in bits per second at which to encode the input video when generating this layer. For example: a target bitrate of 3000Kbps or 3Mbps means this value should be 3000000 This is a required field.
    Bitrate *int32 `json:"bitrate,omitempty"`
    // 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 *int32 `json:"maxBitrate,omitempty"`
    // 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 *int32 `json:"bFrames,omitempty"`
    // 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 `json:"frameRate,omitempty"`
    // 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 *int32 `json:"slices,omitempty"`
    // AdaptiveBFrame - Specifies 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 *bool `json:"adaptiveBFrame,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (H265VideoLayer) AsBasicH265VideoLayer

func (hvl H265VideoLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsBasicLayer

func (hvl H265VideoLayer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsBasicVideoLayer

func (hvl H265VideoLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsH264Layer

func (hvl H265VideoLayer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsH265Layer

func (hvl H265VideoLayer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsH265VideoLayer

func (hvl H265VideoLayer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsJpgLayer

func (hvl H265VideoLayer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsLayer

func (hvl H265VideoLayer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsPngLayer

func (hvl H265VideoLayer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) AsVideoLayer

func (hvl H265VideoLayer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for H265VideoLayer.

func (H265VideoLayer) MarshalJSON

func (hvl H265VideoLayer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for H265VideoLayer.

type H265VideoProfile

H265VideoProfile enumerates the values for h265 video profile.

type H265VideoProfile string
const (
    // H265VideoProfileAuto Tells the encoder to automatically determine the appropriate H.265 profile.
    H265VideoProfileAuto H265VideoProfile = "Auto"
    // H265VideoProfileMain Main profile
    // (https://x265.readthedocs.io/en/default/cli.html?highlight=profile#profile-level-tier)
    H265VideoProfileMain H265VideoProfile = "Main"
)

func PossibleH265VideoProfileValues

func PossibleH265VideoProfileValues() []H265VideoProfile

PossibleH265VideoProfileValues returns an array of possible values for the H265VideoProfile const type.

type Hls

Hls HTTP Live Streaming (HLS) packing setting for the live output.

type Hls struct {
    // FragmentsPerTsSegment - The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.
    FragmentsPerTsSegment *int32 `json:"fragmentsPerTsSegment,omitempty"`
}

type IPAccessControl

IPAccessControl the IP access control.

type IPAccessControl struct {
    // Allow - The IP allow list.
    Allow *[]IPRange `json:"allow,omitempty"`
}

type IPRange

IPRange the IP address range in the CIDR scheme.

type IPRange struct {
    // Name - The friendly name for the IP address range.
    Name *string `json:"name,omitempty"`
    // Address - The IP address.
    Address *string `json:"address,omitempty"`
    // SubnetPrefixLength - The subnet mask prefix length (see CIDR notation).
    SubnetPrefixLength *int32 `json:"subnetPrefixLength,omitempty"`
}

type Image

Image describes the basic properties for generating thumbnails from the input video

type Image struct {
    // Start - The position in the input video from where to start generating thumbnails. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video and will only produce one thumbnail, no matter what other settings are for Step and Range. The default value is macro {Best}.
    Start *string `json:"start,omitempty"`
    // Step - The intervals at which thumbnails are generated. The value can be in ISO 8601 format (For example, PT05S for one image every 5 seconds), or a frame count (For example, 30 for one image every 30 frames), or a relative value to stream duration (For example, 10% for one image every 10% of stream duration). Note: Step value will affect the first generated thumbnail, which may not be exactly the one specified at transform preset start time. This is due to the encoder, which tries to select the best thumbnail between start time and Step position from start time as the first output. As the default value is 10%, it means if stream has long duration, the first generated thumbnail might be far away from the one specified at start time. Try to select reasonable value for Step if the first thumbnail is expected close to start time, or set Range value at 1 if only one thumbnail is needed at start time.
    Step *string `json:"step,omitempty"`
    // Range - The position relative to transform preset start time in the input video at which to stop generating thumbnails. The value can be in ISO 8601 format (For example, PT5M30S to stop at 5 minutes and 30 seconds from start time), or a frame count (For example, 300 to stop at the 300th frame from the frame at start time. If this value is 1, it means only producing one thumbnail at start time), or a relative value to the stream duration (For example, 50% to stop at half of stream duration from start time). The default value is 100%, which means to stop at the end of the stream.
    Range *string `json:"range,omitempty"`
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (Image) AsAacAudio

func (i Image) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for Image.

func (Image) AsAudio

func (i Image) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for Image.

func (Image) AsBasicAudio

func (i Image) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for Image.

func (Image) AsBasicCodec

func (i Image) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for Image.

func (Image) AsBasicImage

func (i Image) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for Image.

func (Image) AsBasicVideo

func (i Image) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for Image.

func (Image) AsCodec

func (i Image) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for Image.

func (Image) AsCopyAudio

func (i Image) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for Image.

func (Image) AsCopyVideo

func (i Image) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for Image.

func (Image) AsH264Video

func (i Image) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for Image.

func (Image) AsH265Video

func (i Image) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for Image.

func (Image) AsImage

func (i Image) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for Image.

func (Image) AsJpgImage

func (i Image) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for Image.

func (Image) AsPngImage

func (i Image) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for Image.

func (Image) AsVideo

func (i Image) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for Image.

func (Image) MarshalJSON

func (i Image) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Image.

type ImageFormat

ImageFormat describes the properties for an output image file.

type ImageFormat struct {
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (ImageFormat) AsBasicFormat

func (ifVar ImageFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsBasicImageFormat

func (ifVar ImageFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsBasicMultiBitrateFormat

func (ifVar ImageFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsFormat

func (ifVar ImageFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsImageFormat

func (ifVar ImageFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsJpgFormat

func (ifVar ImageFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsMp4Format

func (ifVar ImageFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsMultiBitrateFormat

func (ifVar ImageFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsPngFormat

func (ifVar ImageFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsTransportStreamFormat

func (ifVar ImageFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) MarshalJSON

func (ifVar ImageFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageFormat.

type InputDefinition

InputDefinition base class for defining an input. Use sub classes of this class to specify tracks selections and related metadata.

type InputDefinition struct {
    // IncludedTracks - The list of TrackDescriptors which define the metadata and selection of tracks in the input.
    IncludedTracks *[]BasicTrackDescriptor `json:"includedTracks,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicInputDefinitionOdataTypeInputDefinition', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile'
    OdataType OdataTypeBasicInputDefinition `json:"@odata.type,omitempty"`
}

func (InputDefinition) AsBasicInputDefinition

func (ID InputDefinition) AsBasicInputDefinition() (BasicInputDefinition, bool)

AsBasicInputDefinition is the BasicInputDefinition implementation for InputDefinition.

func (InputDefinition) AsFromAllInputFile

func (ID InputDefinition) AsFromAllInputFile() (*FromAllInputFile, bool)

AsFromAllInputFile is the BasicInputDefinition implementation for InputDefinition.

func (InputDefinition) AsFromEachInputFile

func (ID InputDefinition) AsFromEachInputFile() (*FromEachInputFile, bool)

AsFromEachInputFile is the BasicInputDefinition implementation for InputDefinition.

func (InputDefinition) AsInputDefinition

func (ID InputDefinition) AsInputDefinition() (*InputDefinition, bool)

AsInputDefinition is the BasicInputDefinition implementation for InputDefinition.

func (InputDefinition) AsInputFile

func (ID InputDefinition) AsInputFile() (*InputFile, bool)

AsInputFile is the BasicInputDefinition implementation for InputDefinition.

func (InputDefinition) MarshalJSON

func (ID InputDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InputDefinition.

func (*InputDefinition) UnmarshalJSON

func (ID *InputDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InputDefinition struct.

type InputFile

InputFile an InputDefinition for a single file. TrackSelections are scoped to the file specified.

type InputFile struct {
    // Filename - Name of the file that this input definition applies to.
    Filename *string `json:"filename,omitempty"`
    // IncludedTracks - The list of TrackDescriptors which define the metadata and selection of tracks in the input.
    IncludedTracks *[]BasicTrackDescriptor `json:"includedTracks,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicInputDefinitionOdataTypeInputDefinition', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile', 'OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile'
    OdataType OdataTypeBasicInputDefinition `json:"@odata.type,omitempty"`
}

func (InputFile) AsBasicInputDefinition

func (ifVar InputFile) AsBasicInputDefinition() (BasicInputDefinition, bool)

AsBasicInputDefinition is the BasicInputDefinition implementation for InputFile.

func (InputFile) AsFromAllInputFile

func (ifVar InputFile) AsFromAllInputFile() (*FromAllInputFile, bool)

AsFromAllInputFile is the BasicInputDefinition implementation for InputFile.

func (InputFile) AsFromEachInputFile

func (ifVar InputFile) AsFromEachInputFile() (*FromEachInputFile, bool)

AsFromEachInputFile is the BasicInputDefinition implementation for InputFile.

func (InputFile) AsInputDefinition

func (ifVar InputFile) AsInputDefinition() (*InputDefinition, bool)

AsInputDefinition is the BasicInputDefinition implementation for InputFile.

func (InputFile) AsInputFile

func (ifVar InputFile) AsInputFile() (*InputFile, bool)

AsInputFile is the BasicInputDefinition implementation for InputFile.

func (InputFile) MarshalJSON

func (ifVar InputFile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InputFile.

func (*InputFile) UnmarshalJSON

func (ifVar *InputFile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InputFile struct.

type InsightsType

InsightsType enumerates the values for insights type.

type InsightsType string
const (
    // InsightsTypeAllInsights Generate both audio and video insights. Fails if either audio or video Insights
    // fail.
    InsightsTypeAllInsights InsightsType = "AllInsights"
    // InsightsTypeAudioInsightsOnly Generate audio only insights. Ignore video even if present. Fails if no
    // audio is present.
    InsightsTypeAudioInsightsOnly InsightsType = "AudioInsightsOnly"
    // InsightsTypeVideoInsightsOnly Generate video only insights. Ignore audio if present. Fails if no video
    // is present.
    InsightsTypeVideoInsightsOnly InsightsType = "VideoInsightsOnly"
)

func PossibleInsightsTypeValues

func PossibleInsightsTypeValues() []InsightsType

PossibleInsightsTypeValues returns an array of possible values for the InsightsType const type.

type InterleaveOutput

InterleaveOutput enumerates the values for interleave output.

type InterleaveOutput string
const (
    // InterleaveOutputInterleavedOutput The output includes both audio and video.
    InterleaveOutputInterleavedOutput InterleaveOutput = "InterleavedOutput"
    // InterleaveOutputNonInterleavedOutput The output is video-only or audio-only.
    InterleaveOutputNonInterleavedOutput InterleaveOutput = "NonInterleavedOutput"
)

func PossibleInterleaveOutputValues

func PossibleInterleaveOutputValues() []InterleaveOutput

PossibleInterleaveOutputValues returns an array of possible values for the InterleaveOutput const type.

type Job

Job a Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid.

type Job struct {
    autorest.Response `json:"-"`
    // JobProperties - The resource properties.
    *JobProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Job.

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Job struct.

type JobCollection

JobCollection a collection of Job items.

type JobCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of Job items.
    Value *[]Job `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (JobCollection) IsEmpty

func (jc JobCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobCollectionIterator

JobCollectionIterator provides access to a complete listing of Job values.

type JobCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewJobCollectionIterator

func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator

Creates a new instance of the JobCollectionIterator type.

func (*JobCollectionIterator) Next

func (iter *JobCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JobCollectionIterator) NextWithContext

func (iter *JobCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobCollectionIterator) NotDone

func (iter JobCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (JobCollectionIterator) Response

func (iter JobCollectionIterator) Response() JobCollection

Response returns the raw server response from the last page request.

func (JobCollectionIterator) Value

func (iter JobCollectionIterator) Value() Job

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JobCollectionPage

JobCollectionPage contains a page of Job values.

type JobCollectionPage struct {
    // contains filtered or unexported fields
}

func NewJobCollectionPage

func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage

Creates a new instance of the JobCollectionPage type.

func (*JobCollectionPage) Next

func (page *JobCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JobCollectionPage) NextWithContext

func (page *JobCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobCollectionPage) NotDone

func (page JobCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JobCollectionPage) Response

func (page JobCollectionPage) Response() JobCollection

Response returns the raw server response from the last page request.

func (JobCollectionPage) Values

func (page JobCollectionPage) Values() []Job

Values returns the slice of values for the current page or nil if there are no values.

type JobError

JobError details of JobOutput errors.

type JobError struct {
    // Code - READ-ONLY; Error code describing the error. Possible values include: 'JobErrorCodeServiceError', 'JobErrorCodeServiceTransientError', 'JobErrorCodeDownloadNotAccessible', 'JobErrorCodeDownloadTransientError', 'JobErrorCodeUploadNotAccessible', 'JobErrorCodeUploadTransientError', 'JobErrorCodeConfigurationUnsupported', 'JobErrorCodeContentMalformed', 'JobErrorCodeContentUnsupported'
    Code JobErrorCode `json:"code,omitempty"`
    // Message - READ-ONLY; A human-readable language-dependent representation of the error.
    Message *string `json:"message,omitempty"`
    // Category - READ-ONLY; Helps with categorization of errors. Possible values include: 'JobErrorCategoryService', 'JobErrorCategoryDownload', 'JobErrorCategoryUpload', 'JobErrorCategoryConfiguration', 'JobErrorCategoryContent'
    Category JobErrorCategory `json:"category,omitempty"`
    // Retry - READ-ONLY; Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal. Possible values include: 'JobRetryDoNotRetry', 'JobRetryMayRetry'
    Retry JobRetry `json:"retry,omitempty"`
    // Details - READ-ONLY; An array of details about specific errors that led to this reported error.
    Details *[]JobErrorDetail `json:"details,omitempty"`
}

func (JobError) MarshalJSON

func (je JobError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobError.

type JobErrorCategory

JobErrorCategory enumerates the values for job error category.

type JobErrorCategory string
const (
    // JobErrorCategoryConfiguration The error is configuration related.
    JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
    // JobErrorCategoryContent The error is related to data in the input files.
    JobErrorCategoryContent JobErrorCategory = "Content"
    // JobErrorCategoryDownload The error is download related.
    JobErrorCategoryDownload JobErrorCategory = "Download"
    // JobErrorCategoryService The error is service related.
    JobErrorCategoryService JobErrorCategory = "Service"
    // JobErrorCategoryUpload The error is upload related.
    JobErrorCategoryUpload JobErrorCategory = "Upload"
)

func PossibleJobErrorCategoryValues

func PossibleJobErrorCategoryValues() []JobErrorCategory

PossibleJobErrorCategoryValues returns an array of possible values for the JobErrorCategory const type.

type JobErrorCode

JobErrorCode enumerates the values for job error code.

type JobErrorCode string
const (
    // JobErrorCodeConfigurationUnsupported There was a problem with the combination of input files and the
    // configuration settings applied, fix the configuration settings and retry with the same input, or change
    // input to match the configuration.
    JobErrorCodeConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
    // JobErrorCodeContentMalformed There was a problem with the input content (for example: zero byte files,
    // or corrupt/non-decodable files), check the input files.
    JobErrorCodeContentMalformed JobErrorCode = "ContentMalformed"
    // JobErrorCodeContentUnsupported There was a problem with the format of the input (not valid media file,
    // or an unsupported file/codec), check the validity of the input files.
    JobErrorCodeContentUnsupported JobErrorCode = "ContentUnsupported"
    // JobErrorCodeDownloadNotAccessible While trying to download the input files, the files were not
    // accessible, please check the availability of the source.
    JobErrorCodeDownloadNotAccessible JobErrorCode = "DownloadNotAccessible"
    // JobErrorCodeDownloadTransientError While trying to download the input files, there was an issue during
    // transfer (storage service, network errors), see details and check your source.
    JobErrorCodeDownloadTransientError JobErrorCode = "DownloadTransientError"
    // JobErrorCodeServiceError Fatal service error, please contact support.
    JobErrorCodeServiceError JobErrorCode = "ServiceError"
    // JobErrorCodeServiceTransientError Transient error, please retry, if retry is unsuccessful, please
    // contact support.
    JobErrorCodeServiceTransientError JobErrorCode = "ServiceTransientError"
    // JobErrorCodeUploadNotAccessible While trying to upload the output files, the destination was not
    // reachable, please check the availability of the destination.
    JobErrorCodeUploadNotAccessible JobErrorCode = "UploadNotAccessible"
    // JobErrorCodeUploadTransientError While trying to upload the output files, there was an issue during
    // transfer (storage service, network errors), see details and check your destination.
    JobErrorCodeUploadTransientError JobErrorCode = "UploadTransientError"
)

func PossibleJobErrorCodeValues

func PossibleJobErrorCodeValues() []JobErrorCode

PossibleJobErrorCodeValues returns an array of possible values for the JobErrorCode const type.

type JobErrorDetail

JobErrorDetail details of JobOutput errors.

type JobErrorDetail struct {
    // Code - READ-ONLY; Code describing the error detail.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; A human-readable representation of the error.
    Message *string `json:"message,omitempty"`
}

func (JobErrorDetail) MarshalJSON

func (jed JobErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobErrorDetail.

type JobInput

JobInput base class for inputs to a Job.

type JobInput struct {
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInput) AsBasicJobInput

func (ji JobInput) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInput.

func (JobInput) AsBasicJobInputClip

func (ji JobInput) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInput

func (ji JobInput) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInputAsset

func (ji JobInput) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInputClip

func (ji JobInput) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInputHTTP

func (ji JobInput) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInputSequence

func (ji JobInput) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInput.

func (JobInput) AsJobInputs

func (ji JobInput) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInput.

func (JobInput) MarshalJSON

func (ji JobInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInput.

type JobInputAsset

JobInputAsset represents an Asset for input into a Job.

type JobInputAsset struct {
    // AssetName - The name of the input Asset.
    AssetName *string `json:"assetName,omitempty"`
    // Files - List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
    Files *[]string `json:"files,omitempty"`
    // Start - Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
    Start BasicClipTime `json:"start,omitempty"`
    // End - Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
    End BasicClipTime `json:"end,omitempty"`
    // 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 `json:"label,omitempty"`
    // InputDefinitions - Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
    InputDefinitions *[]BasicInputDefinition `json:"inputDefinitions,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInputAsset) AsBasicJobInput

func (jia JobInputAsset) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsBasicJobInputClip

func (jia JobInputAsset) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInput

func (jia JobInputAsset) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInputAsset

func (jia JobInputAsset) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInputClip

func (jia JobInputAsset) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInputHTTP

func (jia JobInputAsset) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInputSequence

func (jia JobInputAsset) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) AsJobInputs

func (jia JobInputAsset) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInputAsset.

func (JobInputAsset) MarshalJSON

func (jia JobInputAsset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInputAsset.

func (*JobInputAsset) UnmarshalJSON

func (jia *JobInputAsset) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobInputAsset struct.

type JobInputClip

JobInputClip represents input files for a Job.

type JobInputClip struct {
    // Files - List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
    Files *[]string `json:"files,omitempty"`
    // Start - Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
    Start BasicClipTime `json:"start,omitempty"`
    // End - Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
    End BasicClipTime `json:"end,omitempty"`
    // 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 `json:"label,omitempty"`
    // InputDefinitions - Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
    InputDefinitions *[]BasicInputDefinition `json:"inputDefinitions,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInputClip) AsBasicJobInput

func (jic JobInputClip) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsBasicJobInputClip

func (jic JobInputClip) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInput

func (jic JobInputClip) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInputAsset

func (jic JobInputClip) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInputClip

func (jic JobInputClip) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInputHTTP

func (jic JobInputClip) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInputSequence

func (jic JobInputClip) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) AsJobInputs

func (jic JobInputClip) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInputClip.

func (JobInputClip) MarshalJSON

func (jic JobInputClip) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInputClip.

func (*JobInputClip) UnmarshalJSON

func (jic *JobInputClip) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobInputClip struct.

type JobInputHTTP

JobInputHTTP represents HTTPS job input.

type JobInputHTTP struct {
    // 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. The query strings will not be returned in service responses to prevent sensitive data exposure.
    BaseURI *string `json:"baseUri,omitempty"`
    // Files - List of files. Required for JobInputHttp. Maximum of 4000 characters each. Query strings will not be returned in service responses to prevent sensitive data exposure.
    Files *[]string `json:"files,omitempty"`
    // Start - Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.
    Start BasicClipTime `json:"start,omitempty"`
    // End - Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.
    End BasicClipTime `json:"end,omitempty"`
    // 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 `json:"label,omitempty"`
    // InputDefinitions - Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track selections and related metadata.
    InputDefinitions *[]BasicInputDefinition `json:"inputDefinitions,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInputHTTP) AsBasicJobInput

func (jih JobInputHTTP) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsBasicJobInputClip

func (jih JobInputHTTP) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInput

func (jih JobInputHTTP) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInputAsset

func (jih JobInputHTTP) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInputClip

func (jih JobInputHTTP) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInputHTTP

func (jih JobInputHTTP) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInputSequence

func (jih JobInputHTTP) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) AsJobInputs

func (jih JobInputHTTP) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInputHTTP.

func (JobInputHTTP) MarshalJSON

func (jih JobInputHTTP) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInputHTTP.

func (*JobInputHTTP) UnmarshalJSON

func (jih *JobInputHTTP) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobInputHTTP struct.

type JobInputSequence

JobInputSequence a Sequence contains an ordered list of Clips where each clip is a JobInput. The Sequence will be treated as a single input.

type JobInputSequence struct {
    // Inputs - JobInputs that make up the timeline.
    Inputs *[]BasicJobInputClip `json:"inputs,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInputSequence) AsBasicJobInput

func (jis JobInputSequence) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsBasicJobInputClip

func (jis JobInputSequence) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInput

func (jis JobInputSequence) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInputAsset

func (jis JobInputSequence) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInputClip

func (jis JobInputSequence) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInputHTTP

func (jis JobInputSequence) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInputSequence

func (jis JobInputSequence) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) AsJobInputs

func (jis JobInputSequence) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInputSequence.

func (JobInputSequence) MarshalJSON

func (jis JobInputSequence) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInputSequence.

func (*JobInputSequence) UnmarshalJSON

func (jis *JobInputSequence) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobInputSequence struct.

type JobInputs

JobInputs describes a list of inputs to a Job.

type JobInputs struct {
    // Inputs - List of inputs to a Job.
    Inputs *[]BasicJobInput `json:"inputs,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobInputOdataTypeJobInput', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP', 'OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence'
    OdataType OdataTypeBasicJobInput `json:"@odata.type,omitempty"`
}

func (JobInputs) AsBasicJobInput

func (ji JobInputs) AsBasicJobInput() (BasicJobInput, bool)

AsBasicJobInput is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsBasicJobInputClip

func (ji JobInputs) AsBasicJobInputClip() (BasicJobInputClip, bool)

AsBasicJobInputClip is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInput

func (ji JobInputs) AsJobInput() (*JobInput, bool)

AsJobInput is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInputAsset

func (ji JobInputs) AsJobInputAsset() (*JobInputAsset, bool)

AsJobInputAsset is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInputClip

func (ji JobInputs) AsJobInputClip() (*JobInputClip, bool)

AsJobInputClip is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInputHTTP

func (ji JobInputs) AsJobInputHTTP() (*JobInputHTTP, bool)

AsJobInputHTTP is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInputSequence

func (ji JobInputs) AsJobInputSequence() (*JobInputSequence, bool)

AsJobInputSequence is the BasicJobInput implementation for JobInputs.

func (JobInputs) AsJobInputs

func (ji JobInputs) AsJobInputs() (*JobInputs, bool)

AsJobInputs is the BasicJobInput implementation for JobInputs.

func (JobInputs) MarshalJSON

func (ji JobInputs) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobInputs.

func (*JobInputs) UnmarshalJSON

func (ji *JobInputs) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobInputs struct.

type JobOutput

JobOutput describes all the properties of a JobOutput.

type JobOutput struct {
    // Error - READ-ONLY; If the JobOutput is in the Error state, it contains the details of the error.
    Error *JobError `json:"error,omitempty"`
    // PresetOverride - A preset used to override the preset in the corresponding transform output.
    PresetOverride BasicPreset `json:"presetOverride,omitempty"`
    // State - READ-ONLY; Describes the state of the JobOutput. Possible values include: 'JobStateCanceled', 'JobStateCanceling', 'JobStateError', 'JobStateFinished', 'JobStateProcessing', 'JobStateQueued', 'JobStateScheduled'
    State JobState `json:"state,omitempty"`
    // Progress - READ-ONLY; 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.
    Progress *int32 `json:"progress,omitempty"`
    // 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 `json:"label,omitempty"`
    // StartTime - READ-ONLY; The UTC date and time at which this Job Output began processing.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The UTC date and time at which this Job Output finished processing.
    EndTime *date.Time `json:"endTime,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobOutputOdataTypeJobOutput', 'OdataTypeBasicJobOutputOdataTypeMicrosoftMediaJobOutputAsset'
    OdataType OdataTypeBasicJobOutput `json:"@odata.type,omitempty"`
}

func (JobOutput) AsBasicJobOutput

func (jo JobOutput) AsBasicJobOutput() (BasicJobOutput, bool)

AsBasicJobOutput is the BasicJobOutput implementation for JobOutput.

func (JobOutput) AsJobOutput

func (jo JobOutput) AsJobOutput() (*JobOutput, bool)

AsJobOutput is the BasicJobOutput implementation for JobOutput.

func (JobOutput) AsJobOutputAsset

func (jo JobOutput) AsJobOutputAsset() (*JobOutputAsset, bool)

AsJobOutputAsset is the BasicJobOutput implementation for JobOutput.

func (JobOutput) MarshalJSON

func (jo JobOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobOutput.

func (*JobOutput) UnmarshalJSON

func (jo *JobOutput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobOutput struct.

type JobOutputAsset

JobOutputAsset represents an Asset used as a JobOutput.

type JobOutputAsset struct {
    // AssetName - The name of the output Asset.
    AssetName *string `json:"assetName,omitempty"`
    // Error - READ-ONLY; If the JobOutput is in the Error state, it contains the details of the error.
    Error *JobError `json:"error,omitempty"`
    // PresetOverride - A preset used to override the preset in the corresponding transform output.
    PresetOverride BasicPreset `json:"presetOverride,omitempty"`
    // State - READ-ONLY; Describes the state of the JobOutput. Possible values include: 'JobStateCanceled', 'JobStateCanceling', 'JobStateError', 'JobStateFinished', 'JobStateProcessing', 'JobStateQueued', 'JobStateScheduled'
    State JobState `json:"state,omitempty"`
    // Progress - READ-ONLY; 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.
    Progress *int32 `json:"progress,omitempty"`
    // 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 `json:"label,omitempty"`
    // StartTime - READ-ONLY; The UTC date and time at which this Job Output began processing.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The UTC date and time at which this Job Output finished processing.
    EndTime *date.Time `json:"endTime,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicJobOutputOdataTypeJobOutput', 'OdataTypeBasicJobOutputOdataTypeMicrosoftMediaJobOutputAsset'
    OdataType OdataTypeBasicJobOutput `json:"@odata.type,omitempty"`
}

func (JobOutputAsset) AsBasicJobOutput

func (joa JobOutputAsset) AsBasicJobOutput() (BasicJobOutput, bool)

AsBasicJobOutput is the BasicJobOutput implementation for JobOutputAsset.

func (JobOutputAsset) AsJobOutput

func (joa JobOutputAsset) AsJobOutput() (*JobOutput, bool)

AsJobOutput is the BasicJobOutput implementation for JobOutputAsset.

func (JobOutputAsset) AsJobOutputAsset

func (joa JobOutputAsset) AsJobOutputAsset() (*JobOutputAsset, bool)

AsJobOutputAsset is the BasicJobOutput implementation for JobOutputAsset.

func (JobOutputAsset) MarshalJSON

func (joa JobOutputAsset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobOutputAsset.

func (*JobOutputAsset) UnmarshalJSON

func (joa *JobOutputAsset) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobOutputAsset struct.

type JobProperties

JobProperties properties of the Job.

type JobProperties struct {
    // Created - READ-ONLY; The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.
    Created *date.Time `json:"created,omitempty"`
    // State - READ-ONLY; The current state of the job. Possible values include: 'JobStateCanceled', 'JobStateCanceling', 'JobStateError', 'JobStateFinished', 'JobStateProcessing', 'JobStateQueued', 'JobStateScheduled'
    State JobState `json:"state,omitempty"`
    // Description - Optional customer supplied description of the Job.
    Description *string `json:"description,omitempty"`
    // Input - The inputs for the Job.
    Input BasicJobInput `json:"input,omitempty"`
    // LastModified - READ-ONLY; The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.
    LastModified *date.Time `json:"lastModified,omitempty"`
    // Outputs - The outputs for the Job.
    Outputs *[]BasicJobOutput `json:"outputs,omitempty"`
    // 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: 'PriorityLow', 'PriorityNormal', 'PriorityHigh'
    Priority Priority `json:"priority,omitempty"`
    // CorrelationData - Customer provided key, value pairs that will be returned in Job and JobOutput state events.
    CorrelationData map[string]*string `json:"correlationData"`
    // StartTime - READ-ONLY; The UTC date and time at which this Job began processing.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The UTC date and time at which this Job finished processing.
    EndTime *date.Time `json:"endTime,omitempty"`
}

func (JobProperties) MarshalJSON

func (jp JobProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobProperties.

func (*JobProperties) UnmarshalJSON

func (jp *JobProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobProperties struct.

type JobRetry

JobRetry enumerates the values for job retry.

type JobRetry string
const (
    // JobRetryDoNotRetry Issue needs to be investigated and then the job resubmitted with corrections or
    // retried once the underlying issue has been corrected.
    JobRetryDoNotRetry JobRetry = "DoNotRetry"
    // JobRetryMayRetry Issue may be resolved after waiting for a period of time and resubmitting the same Job.
    JobRetryMayRetry JobRetry = "MayRetry"
)

func PossibleJobRetryValues

func PossibleJobRetryValues() []JobRetry

PossibleJobRetryValues returns an array of possible values for the JobRetry const type.

type JobState

JobState enumerates the values for job state.

type JobState string
const (
    // JobStateCanceled The job was canceled. This is a final state for the job.
    JobStateCanceled JobState = "Canceled"
    // JobStateCanceling The job is in the process of being canceled. This is a transient state for the job.
    JobStateCanceling JobState = "Canceling"
    // JobStateError The job has encountered an error. This is a final state for the job.
    JobStateError JobState = "Error"
    // JobStateFinished The job is finished. This is a final state for the job.
    JobStateFinished JobState = "Finished"
    // JobStateProcessing The job is processing. This is a transient state for the job.
    JobStateProcessing JobState = "Processing"
    // JobStateQueued The job is in a queued state, waiting for resources to become available. This is a
    // transient state.
    JobStateQueued JobState = "Queued"
    // JobStateScheduled The job is being scheduled to run on an available resource. This is a transient state,
    // between queued and processing states.
    JobStateScheduled JobState = "Scheduled"
)

func PossibleJobStateValues

func PossibleJobStateValues() []JobState

PossibleJobStateValues returns an array of possible values for the JobState const type.

type JobsClient

JobsClient is the client for the Jobs methods of the Media service.

type JobsClient struct {
    BaseClient
}

func NewJobsClient

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobsClient) CancelJob

func (client JobsClient) CancelJob(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result autorest.Response, err error)

CancelJob cancel a Job. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. jobName - the Job name.

func (JobsClient) CancelJobPreparer

func (client JobsClient) CancelJobPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)

CancelJobPreparer prepares the CancelJob request.

func (JobsClient) CancelJobResponder

func (client JobsClient) CancelJobResponder(resp *http.Response) (result autorest.Response, err error)

CancelJobResponder handles the response to the CancelJob request. The method always closes the http.Response Body.

func (JobsClient) CancelJobSender

func (client JobsClient) CancelJobSender(req *http.Request) (*http.Response, error)

CancelJobSender sends the CancelJob request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Create

func (client JobsClient) Create(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (result Job, err error)

Create creates a Job. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. jobName - the Job name. parameters - the request parameters

func (JobsClient) CreatePreparer

func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (*http.Request, error)

CreatePreparer prepares the Create request.

func (JobsClient) CreateResponder

func (client JobsClient) CreateResponder(resp *http.Response) (result Job, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (JobsClient) CreateSender

func (client JobsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Delete

func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result autorest.Response, err error)

Delete deletes a Job. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. jobName - the Job name.

func (JobsClient) DeletePreparer

func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JobsClient) DeleteResponder

func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (JobsClient) DeleteSender

func (client JobsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Get

func (client JobsClient) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result Job, err error)

Get gets a Job. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. jobName - the Job name.

func (JobsClient) GetPreparer

func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobsClient) GetResponder

func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JobsClient) GetSender

func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (JobsClient) List

func (client JobsClient) List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionPage, err error)

List lists all of the Jobs for the Transform. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. filter - restricts the set of items returned. orderby - specifies the key by which the result collection should be ordered.

func (JobsClient) ListComplete

func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (JobsClient) ListPreparer

func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (JobsClient) ListResponder

func (client JobsClient) ListResponder(resp *http.Response) (result JobCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (JobsClient) ListSender

func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Update

func (client JobsClient) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (result Job, err error)

Update update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. jobName - the Job name. parameters - the request parameters

func (JobsClient) UpdatePreparer

func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters Job) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (JobsClient) UpdateResponder

func (client JobsClient) UpdateResponder(resp *http.Response) (result Job, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (JobsClient) UpdateSender

func (client JobsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type JpgFormat

JpgFormat describes the settings for producing JPEG thumbnails.

type JpgFormat struct {
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (JpgFormat) AsBasicFormat

func (jf JpgFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsBasicImageFormat

func (jf JpgFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsBasicMultiBitrateFormat

func (jf JpgFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsFormat

func (jf JpgFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsImageFormat

func (jf JpgFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsJpgFormat

func (jf JpgFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsMp4Format

func (jf JpgFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsMultiBitrateFormat

func (jf JpgFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsPngFormat

func (jf JpgFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) AsTransportStreamFormat

func (jf JpgFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for JpgFormat.

func (JpgFormat) MarshalJSON

func (jf JpgFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JpgFormat.

type JpgImage

JpgImage describes the properties for producing a series of JPEG images from the input video.

type JpgImage struct {
    // Layers - A collection of output JPEG image layers to be produced by the encoder.
    Layers *[]JpgLayer `json:"layers,omitempty"`
    // SpriteColumn - Sets the number of columns used in thumbnail sprite image.  The number of rows are automatically calculated and a VTT file is generated with the coordinate mappings for each thumbnail in the sprite. Note: this value should be a positive integer and a proper value is recommended so that the output image resolution will not go beyond JPEG maximum pixel resolution limit 65535x65535.
    SpriteColumn *int32 `json:"spriteColumn,omitempty"`
    // Start - The position in the input video from where to start generating thumbnails. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video and will only produce one thumbnail, no matter what other settings are for Step and Range. The default value is macro {Best}.
    Start *string `json:"start,omitempty"`
    // Step - The intervals at which thumbnails are generated. The value can be in ISO 8601 format (For example, PT05S for one image every 5 seconds), or a frame count (For example, 30 for one image every 30 frames), or a relative value to stream duration (For example, 10% for one image every 10% of stream duration). Note: Step value will affect the first generated thumbnail, which may not be exactly the one specified at transform preset start time. This is due to the encoder, which tries to select the best thumbnail between start time and Step position from start time as the first output. As the default value is 10%, it means if stream has long duration, the first generated thumbnail might be far away from the one specified at start time. Try to select reasonable value for Step if the first thumbnail is expected close to start time, or set Range value at 1 if only one thumbnail is needed at start time.
    Step *string `json:"step,omitempty"`
    // Range - The position relative to transform preset start time in the input video at which to stop generating thumbnails. The value can be in ISO 8601 format (For example, PT5M30S to stop at 5 minutes and 30 seconds from start time), or a frame count (For example, 300 to stop at the 300th frame from the frame at start time. If this value is 1, it means only producing one thumbnail at start time), or a relative value to the stream duration (For example, 50% to stop at half of stream duration from start time). The default value is 100%, which means to stop at the end of the stream.
    Range *string `json:"range,omitempty"`
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (JpgImage) AsAacAudio

func (ji JpgImage) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for JpgImage.

func (JpgImage) AsAudio

func (ji JpgImage) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for JpgImage.

func (JpgImage) AsBasicAudio

func (ji JpgImage) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for JpgImage.

func (JpgImage) AsBasicCodec

func (ji JpgImage) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for JpgImage.

func (JpgImage) AsBasicImage

func (ji JpgImage) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for JpgImage.

func (JpgImage) AsBasicVideo

func (ji JpgImage) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for JpgImage.

func (JpgImage) AsCodec

func (ji JpgImage) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for JpgImage.

func (JpgImage) AsCopyAudio

func (ji JpgImage) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for JpgImage.

func (JpgImage) AsCopyVideo

func (ji JpgImage) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for JpgImage.

func (JpgImage) AsH264Video

func (ji JpgImage) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for JpgImage.

func (JpgImage) AsH265Video

func (ji JpgImage) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for JpgImage.

func (JpgImage) AsImage

func (ji JpgImage) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for JpgImage.

func (JpgImage) AsJpgImage

func (ji JpgImage) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for JpgImage.

func (JpgImage) AsPngImage

func (ji JpgImage) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for JpgImage.

func (JpgImage) AsVideo

func (ji JpgImage) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for JpgImage.

func (JpgImage) MarshalJSON

func (ji JpgImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JpgImage.

type JpgLayer

JpgLayer describes the settings to produce a JPEG image from the input video.

type JpgLayer struct {
    // Quality - The compression quality of the JPEG output. Range is from 0-100 and the default is 70.
    Quality *int32 `json:"quality,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (JpgLayer) AsBasicH265VideoLayer

func (jl JpgLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsBasicLayer

func (jl JpgLayer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsBasicVideoLayer

func (jl JpgLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsH264Layer

func (jl JpgLayer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsH265Layer

func (jl JpgLayer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsH265VideoLayer

func (jl JpgLayer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsJpgLayer

func (jl JpgLayer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsLayer

func (jl JpgLayer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsPngLayer

func (jl JpgLayer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) AsVideoLayer

func (jl JpgLayer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for JpgLayer.

func (JpgLayer) MarshalJSON

func (jl JpgLayer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JpgLayer.

type KeyDelivery

KeyDelivery ...

type KeyDelivery struct {
    // AccessControl - The access control properties for Key Delivery.
    AccessControl *AccessControl `json:"accessControl,omitempty"`
}

type KeyVaultProperties

KeyVaultProperties ...

type KeyVaultProperties struct {
    // KeyIdentifier - The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    KeyIdentifier *string `json:"keyIdentifier,omitempty"`
    // CurrentKeyIdentifier - READ-ONLY; The current key used to encrypt the Media Services account, including the key version.
    CurrentKeyIdentifier *string `json:"currentKeyIdentifier,omitempty"`
}

func (KeyVaultProperties) MarshalJSON

func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyVaultProperties.

type Layer

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.

type Layer struct {
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (Layer) AsBasicH265VideoLayer

func (l Layer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for Layer.

func (Layer) AsBasicLayer

func (l Layer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for Layer.

func (Layer) AsBasicVideoLayer

func (l Layer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for Layer.

func (Layer) AsH264Layer

func (l Layer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for Layer.

func (Layer) AsH265Layer

func (l Layer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for Layer.

func (Layer) AsH265VideoLayer

func (l Layer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for Layer.

func (Layer) AsJpgLayer

func (l Layer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for Layer.

func (Layer) AsLayer

func (l Layer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for Layer.

func (Layer) AsPngLayer

func (l Layer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for Layer.

func (Layer) AsVideoLayer

func (l Layer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for Layer.

func (Layer) MarshalJSON

func (l Layer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Layer.

type ListContainerSasInput

ListContainerSasInput the parameters to the list SAS request.

type ListContainerSasInput struct {
    // Permissions - The permissions to set on the SAS URL. Possible values include: 'AssetContainerPermissionRead', 'AssetContainerPermissionReadWrite', 'AssetContainerPermissionReadWriteDelete'
    Permissions AssetContainerPermission `json:"permissions,omitempty"`
    // ExpiryTime - The SAS URL expiration time.  This must be less than 24 hours from the current time.
    ExpiryTime *date.Time `json:"expiryTime,omitempty"`
}

type ListContentKeysResponse

ListContentKeysResponse class of response for listContentKeys action

type ListContentKeysResponse struct {
    autorest.Response `json:"-"`
    // ContentKeys - ContentKeys used by current Streaming Locator
    ContentKeys *[]StreamingLocatorContentKey `json:"contentKeys,omitempty"`
}

type ListEdgePoliciesInput

ListEdgePoliciesInput ...

type ListEdgePoliciesInput struct {
    // DeviceID - Unique identifier of the edge device.
    DeviceID *string `json:"deviceId,omitempty"`
}

type ListPathsResponse

ListPathsResponse class of response for listPaths action

type ListPathsResponse struct {
    autorest.Response `json:"-"`
    // StreamingPaths - Streaming Paths supported by current Streaming Locator
    StreamingPaths *[]StreamingPath `json:"streamingPaths,omitempty"`
    // DownloadPaths - Download Paths supported by current Streaming Locator
    DownloadPaths *[]string `json:"downloadPaths,omitempty"`
}

type ListStreamingLocatorsResponse

ListStreamingLocatorsResponse the Streaming Locators associated with this Asset.

type ListStreamingLocatorsResponse struct {
    autorest.Response `json:"-"`
    // StreamingLocators - READ-ONLY; The list of Streaming Locators.
    StreamingLocators *[]AssetStreamingLocator `json:"streamingLocators,omitempty"`
}

func (ListStreamingLocatorsResponse) MarshalJSON

func (lslr ListStreamingLocatorsResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ListStreamingLocatorsResponse.

type LiveEvent

LiveEvent the live event.

type LiveEvent struct {
    autorest.Response `json:"-"`
    // LiveEventProperties - The live event properties.
    *LiveEventProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (LiveEvent) MarshalJSON

func (le LiveEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LiveEvent.

func (*LiveEvent) UnmarshalJSON

func (le *LiveEvent) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LiveEvent struct.

type LiveEventActionInput

LiveEventActionInput the LiveEvent action input parameter definition.

type LiveEventActionInput struct {
    // RemoveOutputsOnStop - The flag indicates whether live outputs are automatically deleted when live event is being stopped. Deleting live outputs do not delete the underlying assets.
    RemoveOutputsOnStop *bool `json:"removeOutputsOnStop,omitempty"`
}

type LiveEventEncoding

LiveEventEncoding specifies the live event type and optional encoding settings for encoding live events.

type LiveEventEncoding struct {
    // EncodingType - Live event type. When encodingType is set to None, the service simply passes through the incoming video and audio layer(s) to the output. When encodingType is set to Standard or Premium1080p, a live encoder transcodes the incoming stream into multiple bitrates or layers. See https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This property cannot be modified after the live event is created. Possible values include: 'LiveEventEncodingTypeNone', 'LiveEventEncodingTypeStandard', 'LiveEventEncodingTypePremium1080p', 'LiveEventEncodingTypePassthroughBasic', 'LiveEventEncodingTypePassthroughStandard'
    EncodingType LiveEventEncodingType `json:"encodingType,omitempty"`
    // PresetName - The optional encoding preset name, used when encodingType is not None. This value is specified at creation time and cannot be updated. If the encodingType is set to Standard, then the default preset name is ‘Default720p’. Else if the encodingType is set to Premium1080p, the default preset is ‘Default1080p’.
    PresetName *string `json:"presetName,omitempty"`
    // StretchMode - Specifies how the input video will be resized to fit the desired output resolution(s). Default is None. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // KeyFrameInterval - Use an ISO 8601 time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use PT2S to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures).   If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
}

type LiveEventEncodingType

LiveEventEncodingType enumerates the values for live event encoding type.

type LiveEventEncodingType string
const (
    // LiveEventEncodingTypeNone A contribution live encoder sends a multiple bitrate stream. The ingested
    // stream passes through the live event without any further processing. It is also called the pass-through
    // mode.
    LiveEventEncodingTypeNone LiveEventEncodingType = "None"
    // LiveEventEncodingTypePassthroughBasic Pending update...
    LiveEventEncodingTypePassthroughBasic LiveEventEncodingType = "PassthroughBasic"
    // LiveEventEncodingTypePassthroughStandard Pending update...
    LiveEventEncodingTypePassthroughStandard LiveEventEncodingType = "PassthroughStandard"
    // LiveEventEncodingTypePremium1080p A contribution live encoder sends a single bitrate stream to the live
    // event and Media Services creates multiple bitrate streams. The output cannot exceed 1080p in resolution.
    LiveEventEncodingTypePremium1080p LiveEventEncodingType = "Premium1080p"
    // LiveEventEncodingTypeStandard A contribution live encoder sends a single bitrate stream to the live
    // event and Media Services creates multiple bitrate streams. The output cannot exceed 720p in resolution.
    LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard"
)

func PossibleLiveEventEncodingTypeValues

func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType

PossibleLiveEventEncodingTypeValues returns an array of possible values for the LiveEventEncodingType const type.

type LiveEventEndpoint

LiveEventEndpoint the live event endpoint.

type LiveEventEndpoint struct {
    // Protocol - The endpoint protocol.
    Protocol *string `json:"protocol,omitempty"`
    // URL - The endpoint URL.
    URL *string `json:"url,omitempty"`
}

type LiveEventInput

LiveEventInput the live event input.

type LiveEventInput struct {
    // StreamingProtocol - The input protocol for the live event. This is specified at creation time and cannot be updated. Possible values include: 'LiveEventInputProtocolFragmentedMP4', 'LiveEventInputProtocolRTMP'
    StreamingProtocol LiveEventInputProtocol `json:"streamingProtocol,omitempty"`
    // AccessControl - Access control for live event input.
    AccessControl *LiveEventInputAccessControl `json:"accessControl,omitempty"`
    // KeyFrameIntervalDuration - ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.
    KeyFrameIntervalDuration *string `json:"keyFrameIntervalDuration,omitempty"`
    // AccessToken - A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.
    AccessToken *string `json:"accessToken,omitempty"`
    // Endpoints - The input endpoints for the live event.
    Endpoints *[]LiveEventEndpoint `json:"endpoints,omitempty"`
}

type LiveEventInputAccessControl

LiveEventInputAccessControl the IP access control for live event input.

type LiveEventInputAccessControl struct {
    // IP - The IP access control properties.
    IP *IPAccessControl `json:"ip,omitempty"`
}

type LiveEventInputProtocol

LiveEventInputProtocol enumerates the values for live event input protocol.

type LiveEventInputProtocol string
const (
    // LiveEventInputProtocolFragmentedMP4 Smooth Streaming input will be sent by the contribution encoder to
    // the live event.
    LiveEventInputProtocolFragmentedMP4 LiveEventInputProtocol = "FragmentedMP4"
    // LiveEventInputProtocolRTMP RTMP input will be sent by the contribution encoder to the live event.
    LiveEventInputProtocolRTMP LiveEventInputProtocol = "RTMP"
)

func PossibleLiveEventInputProtocolValues

func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol

PossibleLiveEventInputProtocolValues returns an array of possible values for the LiveEventInputProtocol const type.

type LiveEventInputTrackSelection

LiveEventInputTrackSelection a track selection condition. This property is reserved for future use, any value set on this property will be ignored.

type LiveEventInputTrackSelection struct {
    // Property - Property name to select. This property is reserved for future use, any value set on this property will be ignored.
    Property *string `json:"property,omitempty"`
    // Operation - Comparing operation. This property is reserved for future use, any value set on this property will be ignored.
    Operation *string `json:"operation,omitempty"`
    // Value - Property value to select. This property is reserved for future use, any value set on this property will be ignored.
    Value *string `json:"value,omitempty"`
}

type LiveEventListResult

LiveEventListResult the LiveEvent list result.

type LiveEventListResult struct {
    autorest.Response `json:"-"`
    // Value - The result of the List Live Event operation.
    Value *[]LiveEvent `json:"value,omitempty"`
    // OdataCount - The number of result.
    OdataCount *int32 `json:"@odata.count,omitempty"`
    // OdataNextLink - The link to the next set of results. Not empty if value contains incomplete list of live outputs.
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (LiveEventListResult) IsEmpty

func (lelr LiveEventListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LiveEventListResultIterator

LiveEventListResultIterator provides access to a complete listing of LiveEvent values.

type LiveEventListResultIterator struct {
    // contains filtered or unexported fields
}

func NewLiveEventListResultIterator

func NewLiveEventListResultIterator(page LiveEventListResultPage) LiveEventListResultIterator

Creates a new instance of the LiveEventListResultIterator type.

func (*LiveEventListResultIterator) Next

func (iter *LiveEventListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LiveEventListResultIterator) NextWithContext

func (iter *LiveEventListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LiveEventListResultIterator) NotDone

func (iter LiveEventListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LiveEventListResultIterator) Response

func (iter LiveEventListResultIterator) Response() LiveEventListResult

Response returns the raw server response from the last page request.

func (LiveEventListResultIterator) Value

func (iter LiveEventListResultIterator) Value() LiveEvent

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LiveEventListResultPage

LiveEventListResultPage contains a page of LiveEvent values.

type LiveEventListResultPage struct {
    // contains filtered or unexported fields
}

func NewLiveEventListResultPage

func NewLiveEventListResultPage(cur LiveEventListResult, getNextPage func(context.Context, LiveEventListResult) (LiveEventListResult, error)) LiveEventListResultPage

Creates a new instance of the LiveEventListResultPage type.

func (*LiveEventListResultPage) Next

func (page *LiveEventListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LiveEventListResultPage) NextWithContext

func (page *LiveEventListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LiveEventListResultPage) NotDone

func (page LiveEventListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LiveEventListResultPage) Response

func (page LiveEventListResultPage) Response() LiveEventListResult

Response returns the raw server response from the last page request.

func (LiveEventListResultPage) Values

func (page LiveEventListResultPage) Values() []LiveEvent

Values returns the slice of values for the current page or nil if there are no values.

type LiveEventOutputTranscriptionTrack

LiveEventOutputTranscriptionTrack describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.

type LiveEventOutputTranscriptionTrack struct {
    // TrackName - The output track name. This property is reserved for future use, any value set on this property will be ignored.
    TrackName *string `json:"trackName,omitempty"`
}

type LiveEventPreview

LiveEventPreview live event preview settings.

type LiveEventPreview struct {
    // Endpoints - The endpoints for preview. Do not share the preview URL with the live event audience.
    Endpoints *[]LiveEventEndpoint `json:"endpoints,omitempty"`
    // AccessControl - The access control for live event preview.
    AccessControl *LiveEventPreviewAccessControl `json:"accessControl,omitempty"`
    // 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 `json:"previewLocator,omitempty"`
    // StreamingPolicyName - The name of streaming policy used for the live event preview. This value is specified at creation time and cannot be updated.
    StreamingPolicyName *string `json:"streamingPolicyName,omitempty"`
    // AlternativeMediaID - An alternative media identifier associated with the streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.
    AlternativeMediaID *string `json:"alternativeMediaId,omitempty"`
}

type LiveEventPreviewAccessControl

LiveEventPreviewAccessControl the IP access control for the live event preview endpoint.

type LiveEventPreviewAccessControl struct {
    // IP - The IP access control properties.
    IP *IPAccessControl `json:"ip,omitempty"`
}

type LiveEventProperties

LiveEventProperties the live event properties.

type LiveEventProperties struct {
    // Description - A description for the live event.
    Description *string `json:"description,omitempty"`
    // Input - Live event input settings. It defines how the live event receives input from a contribution encoder.
    Input *LiveEventInput `json:"input,omitempty"`
    // Preview - Live event preview settings. Preview allows live event producers to preview the live streaming content without creating any live output.
    Preview *LiveEventPreview `json:"preview,omitempty"`
    // Encoding - Encoding settings for the live event. It configures whether a live encoder is used for the live event and settings for the live encoder if it is used.
    Encoding *LiveEventEncoding `json:"encoding,omitempty"`
    // Transcriptions - Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature.
    Transcriptions *[]LiveEventTranscription `json:"transcriptions,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the live event.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ResourceState - READ-ONLY; The resource state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information. Possible values include: 'LiveEventResourceStateStopped', 'LiveEventResourceStateAllocating', 'LiveEventResourceStateStandBy', 'LiveEventResourceStateStarting', 'LiveEventResourceStateRunning', 'LiveEventResourceStateStopping', 'LiveEventResourceStateDeleting'
    ResourceState LiveEventResourceState `json:"resourceState,omitempty"`
    // CrossSiteAccessPolicies - Live event cross site access policies.
    CrossSiteAccessPolicies *CrossSiteAccessPolicies `json:"crossSiteAccessPolicies,omitempty"`
    // UseStaticHostname - Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state
    UseStaticHostname *bool `json:"useStaticHostname,omitempty"`
    // HostnamePrefix - When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
    HostnamePrefix *string `json:"hostnamePrefix,omitempty"`
    // StreamOptions - The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'.
    StreamOptions *[]StreamOptionsFlag `json:"streamOptions,omitempty"`
    // Created - READ-ONLY; The creation time for the live event
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; The last modified time of the live event.
    LastModified *date.Time `json:"lastModified,omitempty"`
}

func (LiveEventProperties) MarshalJSON

func (lep LiveEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LiveEventProperties.

type LiveEventResourceState

LiveEventResourceState enumerates the values for live event resource state.

type LiveEventResourceState string
const (
    // LiveEventResourceStateAllocating Allocate action was called on the live event and resources are being
    // provisioned for this live event. Once allocation completes successfully, the live event will transition
    // to StandBy state.
    LiveEventResourceStateAllocating LiveEventResourceState = "Allocating"
    // LiveEventResourceStateDeleting The live event is being deleted. No billing occurs in this transient
    // state. Updates or streaming are not allowed during this state.
    LiveEventResourceStateDeleting LiveEventResourceState = "Deleting"
    // LiveEventResourceStateRunning The live event resources have been allocated, ingest and preview URLs have
    // been generated, and it is capable of receiving live streams. At this point, billing is active. You must
    // explicitly call Stop on the live event resource to halt further billing.
    LiveEventResourceStateRunning LiveEventResourceState = "Running"
    // LiveEventResourceStateStandBy Live event resources have been provisioned and is ready to start. Billing
    // occurs in this state. Most properties can still be updated, however ingest or streaming is not allowed
    // during this state.
    LiveEventResourceStateStandBy LiveEventResourceState = "StandBy"
    // LiveEventResourceStateStarting The live event is being started and resources are being allocated. No
    // billing occurs in this state. Updates or streaming are not allowed during this state. If an error
    // occurs, the live event returns to the Stopped state.
    LiveEventResourceStateStarting LiveEventResourceState = "Starting"
    // LiveEventResourceStateStopped This is the initial state of the live event after creation (unless
    // autostart was set to true.) No billing occurs in this state. In this state, the live event properties
    // can be updated but streaming is not allowed.
    LiveEventResourceStateStopped LiveEventResourceState = "Stopped"
    // LiveEventResourceStateStopping The live event is being stopped and resources are being de-provisioned.
    // No billing occurs in this transient state. Updates or streaming are not allowed during this state.
    LiveEventResourceStateStopping LiveEventResourceState = "Stopping"
)

func PossibleLiveEventResourceStateValues

func PossibleLiveEventResourceStateValues() []LiveEventResourceState

PossibleLiveEventResourceStateValues returns an array of possible values for the LiveEventResourceState const type.

type LiveEventTranscription

LiveEventTranscription describes the transcription tracks in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.

type LiveEventTranscription struct {
    // Language - Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages.
    Language *string `json:"language,omitempty"`
    // InputTrackSelection - Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
    InputTrackSelection *[]LiveEventInputTrackSelection `json:"inputTrackSelection,omitempty"`
    // OutputTranscriptionTrack - Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
    OutputTranscriptionTrack *LiveEventOutputTranscriptionTrack `json:"outputTranscriptionTrack,omitempty"`
}

type LiveEventsAllocateFuture

LiveEventsAllocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsAllocateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (autorest.Response, error)
}

func (*LiveEventsAllocateFuture) UnmarshalJSON

func (future *LiveEventsAllocateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsClient

LiveEventsClient is the client for the LiveEvents methods of the Media service.

type LiveEventsClient struct {
    BaseClient
}

func NewLiveEventsClient

func NewLiveEventsClient(subscriptionID string) LiveEventsClient

NewLiveEventsClient creates an instance of the LiveEventsClient client.

func NewLiveEventsClientWithBaseURI

func NewLiveEventsClientWithBaseURI(baseURI string, subscriptionID string) LiveEventsClient

NewLiveEventsClientWithBaseURI creates an instance of the LiveEventsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LiveEventsClient) Allocate

func (client LiveEventsClient) Allocate(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsAllocateFuture, err error)

Allocate a live event is in StandBy state after allocation completes, and is ready to start. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveEventsClient) AllocatePreparer

func (client LiveEventsClient) AllocatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

AllocatePreparer prepares the Allocate request.

func (LiveEventsClient) AllocateResponder

func (client LiveEventsClient) AllocateResponder(resp *http.Response) (result autorest.Response, err error)

AllocateResponder handles the response to the Allocate request. The method always closes the http.Response Body.

func (LiveEventsClient) AllocateSender

func (client LiveEventsClient) AllocateSender(req *http.Request) (future LiveEventsAllocateFuture, err error)

AllocateSender sends the Allocate request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Create

func (client LiveEventsClient) Create(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent, autoStart *bool) (result LiveEventsCreateFuture, err error)

Create creates a new live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. parameters - live event properties needed for creation. autoStart - the flag indicates if the resource should be automatically started on creation.

func (LiveEventsClient) CreatePreparer

func (client LiveEventsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent, autoStart *bool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (LiveEventsClient) CreateResponder

func (client LiveEventsClient) CreateResponder(resp *http.Response) (result LiveEvent, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (LiveEventsClient) CreateSender

func (client LiveEventsClient) CreateSender(req *http.Request) (future LiveEventsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Delete

func (client LiveEventsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsDeleteFuture, err error)

Delete deletes a live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveEventsClient) DeletePreparer

func (client LiveEventsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LiveEventsClient) DeleteResponder

func (client LiveEventsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LiveEventsClient) DeleteSender

func (client LiveEventsClient) DeleteSender(req *http.Request) (future LiveEventsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Get

func (client LiveEventsClient) Get(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEvent, err error)

Get gets properties of a live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveEventsClient) GetPreparer

func (client LiveEventsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LiveEventsClient) GetResponder

func (client LiveEventsClient) GetResponder(resp *http.Response) (result LiveEvent, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LiveEventsClient) GetSender

func (client LiveEventsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) List

func (client LiveEventsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result LiveEventListResultPage, err error)

List lists all the live events in the account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (LiveEventsClient) ListComplete

func (client LiveEventsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result LiveEventListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LiveEventsClient) ListPreparer

func (client LiveEventsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LiveEventsClient) ListResponder

func (client LiveEventsClient) ListResponder(resp *http.Response) (result LiveEventListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LiveEventsClient) ListSender

func (client LiveEventsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Reset

func (client LiveEventsClient) Reset(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsResetFuture, err error)

Reset resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveEventsClient) ResetPreparer

func (client LiveEventsClient) ResetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

ResetPreparer prepares the Reset request.

func (LiveEventsClient) ResetResponder

func (client LiveEventsClient) ResetResponder(resp *http.Response) (result autorest.Response, err error)

ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.

func (LiveEventsClient) ResetSender

func (client LiveEventsClient) ResetSender(req *http.Request) (future LiveEventsResetFuture, err error)

ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Start

func (client LiveEventsClient) Start(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveEventsStartFuture, err error)

Start a live event in Stopped or StandBy state will be in Running state after the start operation completes. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveEventsClient) StartPreparer

func (client LiveEventsClient) StartPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (LiveEventsClient) StartResponder

func (client LiveEventsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (LiveEventsClient) StartSender

func (client LiveEventsClient) StartSender(req *http.Request) (future LiveEventsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Stop

func (client LiveEventsClient) Stop(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEventActionInput) (result LiveEventsStopFuture, err error)

Stop stops a running live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. parameters - liveEvent stop parameters

func (LiveEventsClient) StopPreparer

func (client LiveEventsClient) StopPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEventActionInput) (*http.Request, error)

StopPreparer prepares the Stop request.

func (LiveEventsClient) StopResponder

func (client LiveEventsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (LiveEventsClient) StopSender

func (client LiveEventsClient) StopSender(req *http.Request) (future LiveEventsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (LiveEventsClient) Update

func (client LiveEventsClient) Update(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent) (result LiveEventsUpdateFuture, err error)

Update updates settings on an existing live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. parameters - live event properties needed for patch.

func (LiveEventsClient) UpdatePreparer

func (client LiveEventsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters LiveEvent) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (LiveEventsClient) UpdateResponder

func (client LiveEventsClient) UpdateResponder(resp *http.Response) (result LiveEvent, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (LiveEventsClient) UpdateSender

func (client LiveEventsClient) UpdateSender(req *http.Request) (future LiveEventsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type LiveEventsCreateFuture

LiveEventsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (LiveEvent, error)
}

func (*LiveEventsCreateFuture) UnmarshalJSON

func (future *LiveEventsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsDeleteFuture

LiveEventsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (autorest.Response, error)
}

func (*LiveEventsDeleteFuture) UnmarshalJSON

func (future *LiveEventsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsResetFuture

LiveEventsResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsResetFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (autorest.Response, error)
}

func (*LiveEventsResetFuture) UnmarshalJSON

func (future *LiveEventsResetFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsStartFuture

LiveEventsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (autorest.Response, error)
}

func (*LiveEventsStartFuture) UnmarshalJSON

func (future *LiveEventsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsStopFuture

LiveEventsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsStopFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (autorest.Response, error)
}

func (*LiveEventsStopFuture) UnmarshalJSON

func (future *LiveEventsStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveEventsUpdateFuture

LiveEventsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveEventsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveEventsClient) (LiveEvent, error)
}

func (*LiveEventsUpdateFuture) UnmarshalJSON

func (future *LiveEventsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveOutput

LiveOutput the Live Output.

type LiveOutput struct {
    autorest.Response `json:"-"`
    // LiveOutputProperties - Live output properties.
    *LiveOutputProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (LiveOutput) MarshalJSON

func (lo LiveOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LiveOutput.

func (*LiveOutput) UnmarshalJSON

func (lo *LiveOutput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LiveOutput struct.

type LiveOutputListResult

LiveOutputListResult the LiveOutput list result.

type LiveOutputListResult struct {
    autorest.Response `json:"-"`
    // Value - The result of the List LiveOutput operation.
    Value *[]LiveOutput `json:"value,omitempty"`
    // OdataCount - The number of result.
    OdataCount *int32 `json:"@odata.count,omitempty"`
    // OdataNextLink - The link to the next set of results. Not empty if value contains incomplete list of live outputs.
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (LiveOutputListResult) IsEmpty

func (lolr LiveOutputListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LiveOutputListResultIterator

LiveOutputListResultIterator provides access to a complete listing of LiveOutput values.

type LiveOutputListResultIterator struct {
    // contains filtered or unexported fields
}

func NewLiveOutputListResultIterator

func NewLiveOutputListResultIterator(page LiveOutputListResultPage) LiveOutputListResultIterator

Creates a new instance of the LiveOutputListResultIterator type.

func (*LiveOutputListResultIterator) Next

func (iter *LiveOutputListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LiveOutputListResultIterator) NextWithContext

func (iter *LiveOutputListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LiveOutputListResultIterator) NotDone

func (iter LiveOutputListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LiveOutputListResultIterator) Response

func (iter LiveOutputListResultIterator) Response() LiveOutputListResult

Response returns the raw server response from the last page request.

func (LiveOutputListResultIterator) Value

func (iter LiveOutputListResultIterator) Value() LiveOutput

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LiveOutputListResultPage

LiveOutputListResultPage contains a page of LiveOutput values.

type LiveOutputListResultPage struct {
    // contains filtered or unexported fields
}

func NewLiveOutputListResultPage

func NewLiveOutputListResultPage(cur LiveOutputListResult, getNextPage func(context.Context, LiveOutputListResult) (LiveOutputListResult, error)) LiveOutputListResultPage

Creates a new instance of the LiveOutputListResultPage type.

func (*LiveOutputListResultPage) Next

func (page *LiveOutputListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LiveOutputListResultPage) NextWithContext

func (page *LiveOutputListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LiveOutputListResultPage) NotDone

func (page LiveOutputListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LiveOutputListResultPage) Response

func (page LiveOutputListResultPage) Response() LiveOutputListResult

Response returns the raw server response from the last page request.

func (LiveOutputListResultPage) Values

func (page LiveOutputListResultPage) Values() []LiveOutput

Values returns the slice of values for the current page or nil if there are no values.

type LiveOutputProperties

LiveOutputProperties the JSON object that contains the properties required to create a live output.

type LiveOutputProperties struct {
    // Description - The description of the live output.
    Description *string `json:"description,omitempty"`
    // AssetName - The asset that the live output will write to.
    AssetName *string `json:"assetName,omitempty"`
    // ArchiveWindowLength - ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window.
    ArchiveWindowLength *string `json:"archiveWindowLength,omitempty"`
    // ManifestName - The manifest file name. If not provided, the service will generate one automatically.
    ManifestName *string `json:"manifestName,omitempty"`
    // Hls - HTTP Live Streaming (HLS) packing setting for the live output.
    Hls *Hls `json:"hls,omitempty"`
    // OutputSnapTime - The initial timestamp that the live output will start at, any content before this value will not be archived.
    OutputSnapTime *int64 `json:"outputSnapTime,omitempty"`
    // Created - READ-ONLY; The creation time the live output.
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; The time the live output was last modified.
    LastModified *date.Time `json:"lastModified,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the live output.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ResourceState - READ-ONLY; The resource state of the live output. Possible values include: 'LiveOutputResourceStateCreating', 'LiveOutputResourceStateRunning', 'LiveOutputResourceStateDeleting'
    ResourceState LiveOutputResourceState `json:"resourceState,omitempty"`
}

func (LiveOutputProperties) MarshalJSON

func (lop LiveOutputProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LiveOutputProperties.

type LiveOutputResourceState

LiveOutputResourceState enumerates the values for live output resource state.

type LiveOutputResourceState string
const (
    // LiveOutputResourceStateCreating Live output is being created. No content is archived in the asset until
    // the live output is in running state.
    LiveOutputResourceStateCreating LiveOutputResourceState = "Creating"
    // LiveOutputResourceStateDeleting Live output is being deleted. The live asset is being converted from
    // live to on-demand asset. Any streaming URLs created on the live output asset continue to work.
    LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting"
    // LiveOutputResourceStateRunning Live output is running and archiving live streaming content to the asset
    // if there is valid input from a contribution encoder.
    LiveOutputResourceStateRunning LiveOutputResourceState = "Running"
)

func PossibleLiveOutputResourceStateValues

func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState

PossibleLiveOutputResourceStateValues returns an array of possible values for the LiveOutputResourceState const type.

type LiveOutputsClient

LiveOutputsClient is the client for the LiveOutputs methods of the Media service.

type LiveOutputsClient struct {
    BaseClient
}

func NewLiveOutputsClient

func NewLiveOutputsClient(subscriptionID string) LiveOutputsClient

NewLiveOutputsClient creates an instance of the LiveOutputsClient client.

func NewLiveOutputsClientWithBaseURI

func NewLiveOutputsClientWithBaseURI(baseURI string, subscriptionID string) LiveOutputsClient

NewLiveOutputsClientWithBaseURI creates an instance of the LiveOutputsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LiveOutputsClient) Create

func (client LiveOutputsClient) Create(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, parameters LiveOutput) (result LiveOutputsCreateFuture, err error)

Create creates a new live output. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. liveOutputName - the name of the live output. parameters - live Output properties needed for creation.

func (LiveOutputsClient) CreatePreparer

func (client LiveOutputsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, parameters LiveOutput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (LiveOutputsClient) CreateResponder

func (client LiveOutputsClient) CreateResponder(resp *http.Response) (result LiveOutput, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (LiveOutputsClient) CreateSender

func (client LiveOutputsClient) CreateSender(req *http.Request) (future LiveOutputsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (LiveOutputsClient) Delete

func (client LiveOutputsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (result LiveOutputsDeleteFuture, err error)

Delete deletes a live output. Deleting a live output does not delete the asset the live output is writing to. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. liveOutputName - the name of the live output.

func (LiveOutputsClient) DeletePreparer

func (client LiveOutputsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LiveOutputsClient) DeleteResponder

func (client LiveOutputsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LiveOutputsClient) DeleteSender

func (client LiveOutputsClient) DeleteSender(req *http.Request) (future LiveOutputsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LiveOutputsClient) Get

func (client LiveOutputsClient) Get(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (result LiveOutput, err error)

Get gets a live output. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32. liveOutputName - the name of the live output.

func (LiveOutputsClient) GetPreparer

func (client LiveOutputsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LiveOutputsClient) GetResponder

func (client LiveOutputsClient) GetResponder(resp *http.Response) (result LiveOutput, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LiveOutputsClient) GetSender

func (client LiveOutputsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LiveOutputsClient) List

func (client LiveOutputsClient) List(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveOutputListResultPage, err error)

List lists the live outputs of a live event. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. liveEventName - the name of the live event, maximum length is 32.

func (LiveOutputsClient) ListComplete

func (client LiveOutputsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (result LiveOutputListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LiveOutputsClient) ListPreparer

func (client LiveOutputsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, liveEventName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LiveOutputsClient) ListResponder

func (client LiveOutputsClient) ListResponder(resp *http.Response) (result LiveOutputListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LiveOutputsClient) ListSender

func (client LiveOutputsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LiveOutputsCreateFuture

LiveOutputsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveOutputsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveOutputsClient) (LiveOutput, error)
}

func (*LiveOutputsCreateFuture) UnmarshalJSON

func (future *LiveOutputsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LiveOutputsDeleteFuture

LiveOutputsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LiveOutputsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LiveOutputsClient) (autorest.Response, error)
}

func (*LiveOutputsDeleteFuture) UnmarshalJSON

func (future *LiveOutputsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LocationsClient

LocationsClient is the client for the Locations methods of the Media service.

type LocationsClient struct {
    BaseClient
}

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationsClient) CheckNameAvailability

func (client LocationsClient) CheckNameAvailability(ctx context.Context, locationName string, parameters CheckNameAvailabilityInput) (result EntityNameAvailabilityCheckOutput, err error)

CheckNameAvailability checks whether the Media Service resource name is available. Parameters: locationName - the name of the location parameters - the request parameters

func (LocationsClient) CheckNameAvailabilityPreparer

func (client LocationsClient) CheckNameAvailabilityPreparer(ctx context.Context, locationName string, parameters CheckNameAvailabilityInput) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (LocationsClient) CheckNameAvailabilityResponder

func (client LocationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result EntityNameAvailabilityCheckOutput, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (LocationsClient) CheckNameAvailabilitySender

func (client LocationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type LogSpecification

LogSpecification a diagnostic log emitted by service.

type LogSpecification struct {
    // Name - READ-ONLY; The diagnostic log category name.
    Name *string `json:"name,omitempty"`
    // DisplayName - READ-ONLY; The diagnostic log category display name.
    DisplayName *string `json:"displayName,omitempty"`
    // BlobDuration - READ-ONLY; The time range for requests in each blob.
    BlobDuration *string `json:"blobDuration,omitempty"`
}

func (LogSpecification) MarshalJSON

func (ls LogSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogSpecification.

type MediaservicesClient

MediaservicesClient is the client for the Mediaservices methods of the Media service.

type MediaservicesClient struct {
    BaseClient
}

func NewMediaservicesClient

func NewMediaservicesClient(subscriptionID string) MediaservicesClient

NewMediaservicesClient creates an instance of the MediaservicesClient client.

func NewMediaservicesClientWithBaseURI

func NewMediaservicesClientWithBaseURI(baseURI string, subscriptionID string) MediaservicesClient

NewMediaservicesClientWithBaseURI creates an instance of the MediaservicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MediaservicesClient) CreateOrUpdate

func (client MediaservicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, parameters Service) (result Service, err error)

CreateOrUpdate creates or updates a Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. parameters - the request parameters

func (MediaservicesClient) CreateOrUpdatePreparer

func (client MediaservicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters Service) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MediaservicesClient) CreateOrUpdateResponder

func (client MediaservicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (MediaservicesClient) CreateOrUpdateSender

func (client MediaservicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) Delete

func (client MediaservicesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

Delete deletes a Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (MediaservicesClient) DeletePreparer

func (client MediaservicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MediaservicesClient) DeleteResponder

func (client MediaservicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MediaservicesClient) DeleteSender

func (client MediaservicesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) Get

func (client MediaservicesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Service, err error)

Get get the details of a Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (MediaservicesClient) GetPreparer

func (client MediaservicesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MediaservicesClient) GetResponder

func (client MediaservicesClient) GetResponder(resp *http.Response) (result Service, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MediaservicesClient) GetSender

func (client MediaservicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) List

func (client MediaservicesClient) List(ctx context.Context, resourceGroupName string) (result ServiceCollectionPage, err error)

List list Media Services accounts in the resource group Parameters: resourceGroupName - the name of the resource group within the Azure subscription.

func (MediaservicesClient) ListBySubscription

func (client MediaservicesClient) ListBySubscription(ctx context.Context) (result ServiceCollectionPage, err error)

ListBySubscription list Media Services accounts in the subscription.

func (MediaservicesClient) ListBySubscriptionComplete

func (client MediaservicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceCollectionIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (MediaservicesClient) ListBySubscriptionPreparer

func (client MediaservicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (MediaservicesClient) ListBySubscriptionResponder

func (client MediaservicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceCollection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (MediaservicesClient) ListBySubscriptionSender

func (client MediaservicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) ListComplete

func (client MediaservicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result ServiceCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MediaservicesClient) ListEdgePolicies

func (client MediaservicesClient) ListEdgePolicies(ctx context.Context, resourceGroupName string, accountName string, parameters ListEdgePoliciesInput) (result EdgePolicies, err error)

ListEdgePolicies list the media edge policies associated with the Media Services account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. parameters - the request parameters

func (MediaservicesClient) ListEdgePoliciesPreparer

func (client MediaservicesClient) ListEdgePoliciesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters ListEdgePoliciesInput) (*http.Request, error)

ListEdgePoliciesPreparer prepares the ListEdgePolicies request.

func (MediaservicesClient) ListEdgePoliciesResponder

func (client MediaservicesClient) ListEdgePoliciesResponder(resp *http.Response) (result EdgePolicies, err error)

ListEdgePoliciesResponder handles the response to the ListEdgePolicies request. The method always closes the http.Response Body.

func (MediaservicesClient) ListEdgePoliciesSender

func (client MediaservicesClient) ListEdgePoliciesSender(req *http.Request) (*http.Response, error)

ListEdgePoliciesSender sends the ListEdgePolicies request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) ListPreparer

func (client MediaservicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MediaservicesClient) ListResponder

func (client MediaservicesClient) ListResponder(resp *http.Response) (result ServiceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MediaservicesClient) ListSender

func (client MediaservicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) SyncStorageKeys

func (client MediaservicesClient) SyncStorageKeys(ctx context.Context, resourceGroupName string, accountName string, parameters SyncStorageKeysInput) (result autorest.Response, err error)

SyncStorageKeys synchronizes storage account keys for a storage account associated with the Media Service account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. parameters - the request parameters

func (MediaservicesClient) SyncStorageKeysPreparer

func (client MediaservicesClient) SyncStorageKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters SyncStorageKeysInput) (*http.Request, error)

SyncStorageKeysPreparer prepares the SyncStorageKeys request.

func (MediaservicesClient) SyncStorageKeysResponder

func (client MediaservicesClient) SyncStorageKeysResponder(resp *http.Response) (result autorest.Response, err error)

SyncStorageKeysResponder handles the response to the SyncStorageKeys request. The method always closes the http.Response Body.

func (MediaservicesClient) SyncStorageKeysSender

func (client MediaservicesClient) SyncStorageKeysSender(req *http.Request) (*http.Response, error)

SyncStorageKeysSender sends the SyncStorageKeys request. The method will close the http.Response Body if it receives an error.

func (MediaservicesClient) Update

func (client MediaservicesClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceUpdate) (result Service, err error)

Update updates an existing Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. parameters - the request parameters

func (MediaservicesClient) UpdatePreparer

func (client MediaservicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MediaservicesClient) UpdateResponder

func (client MediaservicesClient) UpdateResponder(resp *http.Response) (result Service, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MediaservicesClient) UpdateSender

func (client MediaservicesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MetricAggregationType

MetricAggregationType enumerates the values for metric aggregation type.

type MetricAggregationType string
const (
    // MetricAggregationTypeAverage The average.
    MetricAggregationTypeAverage MetricAggregationType = "Average"
    // MetricAggregationTypeCount The count of a number of items, usually requests.
    MetricAggregationTypeCount MetricAggregationType = "Count"
    // MetricAggregationTypeTotal The sum.
    MetricAggregationTypeTotal MetricAggregationType = "Total"
)

func PossibleMetricAggregationTypeValues

func PossibleMetricAggregationTypeValues() []MetricAggregationType

PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.

type MetricDimension

MetricDimension a metric dimension.

type MetricDimension struct {
    // Name - READ-ONLY; The metric dimension name.
    Name *string `json:"name,omitempty"`
    // DisplayName - READ-ONLY; The display name for the dimension.
    DisplayName *string `json:"displayName,omitempty"`
    // ToBeExportedForShoebox - READ-ONLY; Whether to export metric to shoebox.
    ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}

func (MetricDimension) MarshalJSON

func (md MetricDimension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricDimension.

type MetricSpecification

MetricSpecification a metric emitted by service.

type MetricSpecification struct {
    // Name - READ-ONLY; The metric name.
    Name *string `json:"name,omitempty"`
    // DisplayName - READ-ONLY; The metric display name.
    DisplayName *string `json:"displayName,omitempty"`
    // DisplayDescription - READ-ONLY; The metric display description.
    DisplayDescription *string `json:"displayDescription,omitempty"`
    // Unit - READ-ONLY; The metric unit. Possible values include: 'MetricUnitBytes', 'MetricUnitCount', 'MetricUnitMilliseconds'
    Unit MetricUnit `json:"unit,omitempty"`
    // AggregationType - READ-ONLY; The metric aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeCount', 'MetricAggregationTypeTotal'
    AggregationType MetricAggregationType `json:"aggregationType,omitempty"`
    // LockAggregationType - READ-ONLY; The metric lock aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeCount', 'MetricAggregationTypeTotal'
    LockAggregationType MetricAggregationType `json:"lockAggregationType,omitempty"`
    // SupportedAggregationTypes - Supported aggregation types.
    SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"`
    // Dimensions - READ-ONLY; The metric dimensions.
    Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
    // EnableRegionalMdmAccount - READ-ONLY; Indicates whether regional MDM account is enabled.
    EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`
    // SourceMdmAccount - READ-ONLY; The source MDM account.
    SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
    // SourceMdmNamespace - READ-ONLY; The source MDM namespace.
    SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
    // SupportedTimeGrainTypes - READ-ONLY; The supported time grain types.
    SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"`
}

func (MetricSpecification) MarshalJSON

func (ms MetricSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricSpecification.

type MetricUnit

MetricUnit enumerates the values for metric unit.

type MetricUnit string
const (
    // MetricUnitBytes The number of bytes.
    MetricUnitBytes MetricUnit = "Bytes"
    // MetricUnitCount The count.
    MetricUnitCount MetricUnit = "Count"
    // MetricUnitMilliseconds The number of milliseconds.
    MetricUnitMilliseconds MetricUnit = "Milliseconds"
)

func PossibleMetricUnitValues

func PossibleMetricUnitValues() []MetricUnit

PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.

type Mp4Format

Mp4Format describes the properties for an output ISO MP4 file.

type Mp4Format struct {
    // 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 `json:"outputFiles,omitempty"`
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (Mp4Format) AsBasicFormat

func (m4f Mp4Format) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsBasicImageFormat

func (m4f Mp4Format) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsBasicMultiBitrateFormat

func (m4f Mp4Format) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsFormat

func (m4f Mp4Format) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsImageFormat

func (m4f Mp4Format) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsJpgFormat

func (m4f Mp4Format) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsMp4Format

func (m4f Mp4Format) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsMultiBitrateFormat

func (m4f Mp4Format) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsPngFormat

func (m4f Mp4Format) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) AsTransportStreamFormat

func (m4f Mp4Format) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for Mp4Format.

func (Mp4Format) MarshalJSON

func (m4f Mp4Format) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Mp4Format.

type MultiBitrateFormat

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.

type MultiBitrateFormat struct {
    // 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 `json:"outputFiles,omitempty"`
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (MultiBitrateFormat) AsBasicFormat

func (mbf MultiBitrateFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsBasicImageFormat

func (mbf MultiBitrateFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsBasicMultiBitrateFormat

func (mbf MultiBitrateFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsFormat

func (mbf MultiBitrateFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsImageFormat

func (mbf MultiBitrateFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsJpgFormat

func (mbf MultiBitrateFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsMp4Format

func (mbf MultiBitrateFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsMultiBitrateFormat

func (mbf MultiBitrateFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsPngFormat

func (mbf MultiBitrateFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) AsTransportStreamFormat

func (mbf MultiBitrateFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for MultiBitrateFormat.

func (MultiBitrateFormat) MarshalJSON

func (mbf MultiBitrateFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultiBitrateFormat.

type NoEncryption

NoEncryption class for NoEncryption scheme

type NoEncryption struct {
    // EnabledProtocols - Representing supported protocols
    EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"`
}

type OdataType

OdataType enumerates the values for odata type.

type OdataType string
const (
    // OdataTypeContentKeyPolicyPlayReadyContentKeyLocation ...
    OdataTypeContentKeyPolicyPlayReadyContentKeyLocation OdataType = "ContentKeyPolicyPlayReadyContentKeyLocation"
    // OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ...
    OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
    // OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ...
    OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"
)

func PossibleOdataTypeValues

func PossibleOdataTypeValues() []OdataType

PossibleOdataTypeValues returns an array of possible values for the OdataType const type.

type OdataTypeBasicClipTime

OdataTypeBasicClipTime enumerates the values for odata type basic clip time.

type OdataTypeBasicClipTime string
const (
    // OdataTypeBasicClipTimeOdataTypeClipTime ...
    OdataTypeBasicClipTimeOdataTypeClipTime OdataTypeBasicClipTime = "ClipTime"
    // OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime ...
    OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime OdataTypeBasicClipTime = "#Microsoft.Media.AbsoluteClipTime"
    // OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime ...
    OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime OdataTypeBasicClipTime = "#Microsoft.Media.UtcClipTime"
)

func PossibleOdataTypeBasicClipTimeValues

func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime

PossibleOdataTypeBasicClipTimeValues returns an array of possible values for the OdataTypeBasicClipTime const type.

type OdataTypeBasicCodec

OdataTypeBasicCodec enumerates the values for odata type basic codec.

type OdataTypeBasicCodec string
const (
    // OdataTypeBasicCodecOdataTypeCodec ...
    OdataTypeBasicCodecOdataTypeCodec OdataTypeBasicCodec = "Codec"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio OdataTypeBasicCodec = "#Microsoft.Media.AacAudio"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio OdataTypeBasicCodec = "#Microsoft.Media.Audio"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio OdataTypeBasicCodec = "#Microsoft.Media.CopyAudio"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo OdataTypeBasicCodec = "#Microsoft.Media.CopyVideo"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video OdataTypeBasicCodec = "#Microsoft.Media.H264Video"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video OdataTypeBasicCodec = "#Microsoft.Media.H265Video"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaImage ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaImage OdataTypeBasicCodec = "#Microsoft.Media.Image"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage OdataTypeBasicCodec = "#Microsoft.Media.JpgImage"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage OdataTypeBasicCodec = "#Microsoft.Media.PngImage"
    // OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo ...
    OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo OdataTypeBasicCodec = "#Microsoft.Media.Video"
)

func PossibleOdataTypeBasicCodecValues

func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec

PossibleOdataTypeBasicCodecValues returns an array of possible values for the OdataTypeBasicCodec const type.

type OdataTypeBasicContentKeyPolicyConfiguration

OdataTypeBasicContentKeyPolicyConfiguration enumerates the values for odata type basic content key policy configuration.

type OdataTypeBasicContentKeyPolicyConfiguration string
const (
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeContentKeyPolicyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "ContentKeyPolicyConfiguration"
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"
    // OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration ...
    OdataTypeBasicContentKeyPolicyConfigurationOdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"
)

func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues

func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues() []OdataTypeBasicContentKeyPolicyConfiguration

PossibleOdataTypeBasicContentKeyPolicyConfigurationValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyConfiguration const type.

type OdataTypeBasicContentKeyPolicyRestriction

OdataTypeBasicContentKeyPolicyRestriction enumerates the values for odata type basic content key policy restriction.

type OdataTypeBasicContentKeyPolicyRestriction string
const (
    // OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction ...
    OdataTypeBasicContentKeyPolicyRestrictionOdataTypeContentKeyPolicyRestriction OdataTypeBasicContentKeyPolicyRestriction = "ContentKeyPolicyRestriction"
    // OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction ...
    OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
    // OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction ...
    OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyTokenRestriction"
    // OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction ...
    OdataTypeBasicContentKeyPolicyRestrictionOdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction"
)

func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues

func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues() []OdataTypeBasicContentKeyPolicyRestriction

PossibleOdataTypeBasicContentKeyPolicyRestrictionValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestriction const type.

type OdataTypeBasicContentKeyPolicyRestrictionTokenKey

OdataTypeBasicContentKeyPolicyRestrictionTokenKey enumerates the values for odata type basic content key policy restriction token key.

type OdataTypeBasicContentKeyPolicyRestrictionTokenKey string
const (
    // OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey ...
    OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeContentKeyPolicyRestrictionTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "ContentKeyPolicyRestrictionTokenKey"
    // OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey ...
    OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey"
    // OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey ...
    OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"
    // OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey ...
    OdataTypeBasicContentKeyPolicyRestrictionTokenKeyOdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"
)

func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues

func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues() []OdataTypeBasicContentKeyPolicyRestrictionTokenKey

PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestrictionTokenKey const type.

type OdataTypeBasicFormat

OdataTypeBasicFormat enumerates the values for odata type basic format.

type OdataTypeBasicFormat string
const (
    // OdataTypeBasicFormatOdataTypeFormat ...
    OdataTypeBasicFormatOdataTypeFormat OdataTypeBasicFormat = "Format"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat OdataTypeBasicFormat = "#Microsoft.Media.ImageFormat"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat OdataTypeBasicFormat = "#Microsoft.Media.JpgFormat"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format OdataTypeBasicFormat = "#Microsoft.Media.Mp4Format"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat OdataTypeBasicFormat = "#Microsoft.Media.MultiBitrateFormat"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat OdataTypeBasicFormat = "#Microsoft.Media.PngFormat"
    // OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat ...
    OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat OdataTypeBasicFormat = "#Microsoft.Media.TransportStreamFormat"
)

func PossibleOdataTypeBasicFormatValues

func PossibleOdataTypeBasicFormatValues() []OdataTypeBasicFormat

PossibleOdataTypeBasicFormatValues returns an array of possible values for the OdataTypeBasicFormat const type.

type OdataTypeBasicInputDefinition

OdataTypeBasicInputDefinition enumerates the values for odata type basic input definition.

type OdataTypeBasicInputDefinition string
const (
    // OdataTypeBasicInputDefinitionOdataTypeInputDefinition ...
    OdataTypeBasicInputDefinitionOdataTypeInputDefinition OdataTypeBasicInputDefinition = "InputDefinition"
    // OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile ...
    OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromAllInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.FromAllInputFile"
    // OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile ...
    OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaFromEachInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.FromEachInputFile"
    // OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile ...
    OdataTypeBasicInputDefinitionOdataTypeMicrosoftMediaInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.InputFile"
)

func PossibleOdataTypeBasicInputDefinitionValues

func PossibleOdataTypeBasicInputDefinitionValues() []OdataTypeBasicInputDefinition

PossibleOdataTypeBasicInputDefinitionValues returns an array of possible values for the OdataTypeBasicInputDefinition const type.

type OdataTypeBasicJobInput

OdataTypeBasicJobInput enumerates the values for odata type basic job input.

type OdataTypeBasicJobInput string
const (
    // OdataTypeBasicJobInputOdataTypeJobInput ...
    OdataTypeBasicJobInputOdataTypeJobInput OdataTypeBasicJobInput = "JobInput"
    // OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset ...
    OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputAsset OdataTypeBasicJobInput = "#Microsoft.Media.JobInputAsset"
    // OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip ...
    OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputClip OdataTypeBasicJobInput = "#Microsoft.Media.JobInputClip"
    // OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP ...
    OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputHTTP OdataTypeBasicJobInput = "#Microsoft.Media.JobInputHttp"
    // OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs ...
    OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputs OdataTypeBasicJobInput = "#Microsoft.Media.JobInputs"
    // OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence ...
    OdataTypeBasicJobInputOdataTypeMicrosoftMediaJobInputSequence OdataTypeBasicJobInput = "#Microsoft.Media.JobInputSequence"
)

func PossibleOdataTypeBasicJobInputValues

func PossibleOdataTypeBasicJobInputValues() []OdataTypeBasicJobInput

PossibleOdataTypeBasicJobInputValues returns an array of possible values for the OdataTypeBasicJobInput const type.

type OdataTypeBasicJobOutput

OdataTypeBasicJobOutput enumerates the values for odata type basic job output.

type OdataTypeBasicJobOutput string
const (
    // OdataTypeBasicJobOutputOdataTypeJobOutput ...
    OdataTypeBasicJobOutputOdataTypeJobOutput OdataTypeBasicJobOutput = "JobOutput"
    // OdataTypeBasicJobOutputOdataTypeMicrosoftMediaJobOutputAsset ...
    OdataTypeBasicJobOutputOdataTypeMicrosoftMediaJobOutputAsset OdataTypeBasicJobOutput = "#Microsoft.Media.JobOutputAsset"
)

func PossibleOdataTypeBasicJobOutputValues

func PossibleOdataTypeBasicJobOutputValues() []OdataTypeBasicJobOutput

PossibleOdataTypeBasicJobOutputValues returns an array of possible values for the OdataTypeBasicJobOutput const type.

type OdataTypeBasicLayer

OdataTypeBasicLayer enumerates the values for odata type basic layer.

type OdataTypeBasicLayer string
const (
    // OdataTypeBasicLayerOdataTypeLayer ...
    OdataTypeBasicLayerOdataTypeLayer OdataTypeBasicLayer = "Layer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer OdataTypeBasicLayer = "#Microsoft.Media.H264Layer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer OdataTypeBasicLayer = "#Microsoft.Media.H265Layer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer OdataTypeBasicLayer = "#Microsoft.Media.H265VideoLayer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer OdataTypeBasicLayer = "#Microsoft.Media.JpgLayer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer OdataTypeBasicLayer = "#Microsoft.Media.PngLayer"
    // OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer ...
    OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer OdataTypeBasicLayer = "#Microsoft.Media.VideoLayer"
)

func PossibleOdataTypeBasicLayerValues

func PossibleOdataTypeBasicLayerValues() []OdataTypeBasicLayer

PossibleOdataTypeBasicLayerValues returns an array of possible values for the OdataTypeBasicLayer const type.

type OdataTypeBasicOverlay

OdataTypeBasicOverlay enumerates the values for odata type basic overlay.

type OdataTypeBasicOverlay string
const (
    // OdataTypeBasicOverlayOdataTypeMicrosoftMediaAudioOverlay ...
    OdataTypeBasicOverlayOdataTypeMicrosoftMediaAudioOverlay OdataTypeBasicOverlay = "#Microsoft.Media.AudioOverlay"
    // OdataTypeBasicOverlayOdataTypeMicrosoftMediaVideoOverlay ...
    OdataTypeBasicOverlayOdataTypeMicrosoftMediaVideoOverlay OdataTypeBasicOverlay = "#Microsoft.Media.VideoOverlay"
    // OdataTypeBasicOverlayOdataTypeOverlay ...
    OdataTypeBasicOverlayOdataTypeOverlay OdataTypeBasicOverlay = "Overlay"
)

func PossibleOdataTypeBasicOverlayValues

func PossibleOdataTypeBasicOverlayValues() []OdataTypeBasicOverlay

PossibleOdataTypeBasicOverlayValues returns an array of possible values for the OdataTypeBasicOverlay const type.

type OdataTypeBasicPreset

OdataTypeBasicPreset enumerates the values for odata type basic preset.

type OdataTypeBasicPreset string
const (
    // OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset ...
    OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.AudioAnalyzerPreset"
    // OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset ...
    OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.BuiltInStandardEncoderPreset"
    // OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset ...
    OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset OdataTypeBasicPreset = "#Microsoft.Media.FaceDetectorPreset"
    // OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset ...
    OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.StandardEncoderPreset"
    // OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset ...
    OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.VideoAnalyzerPreset"
    // OdataTypeBasicPresetOdataTypePreset ...
    OdataTypeBasicPresetOdataTypePreset OdataTypeBasicPreset = "Preset"
)

func PossibleOdataTypeBasicPresetValues

func PossibleOdataTypeBasicPresetValues() []OdataTypeBasicPreset

PossibleOdataTypeBasicPresetValues returns an array of possible values for the OdataTypeBasicPreset const type.

type OdataTypeBasicTrackDescriptor

OdataTypeBasicTrackDescriptor enumerates the values for odata type basic track descriptor.

type OdataTypeBasicTrackDescriptor string
const (
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor OdataTypeBasicTrackDescriptor = "#Microsoft.Media.AudioTrackDescriptor"
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectAudioTrackByAttribute"
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectAudioTrackById"
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectVideoTrackByAttribute"
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectVideoTrackById"
    // OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor ...
    OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor OdataTypeBasicTrackDescriptor = "#Microsoft.Media.VideoTrackDescriptor"
    // OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor ...
    OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor OdataTypeBasicTrackDescriptor = "TrackDescriptor"
)

func PossibleOdataTypeBasicTrackDescriptorValues

func PossibleOdataTypeBasicTrackDescriptorValues() []OdataTypeBasicTrackDescriptor

PossibleOdataTypeBasicTrackDescriptorValues returns an array of possible values for the OdataTypeBasicTrackDescriptor const type.

type OnErrorType

OnErrorType enumerates the values for on error type.

type OnErrorType string
const (
    // OnErrorTypeContinueJob Tells the service that if this TransformOutput fails, then allow any other
    // TransformOutput to continue.
    OnErrorTypeContinueJob OnErrorType = "ContinueJob"
    // OnErrorTypeStopProcessingJob Tells the service that if this TransformOutput fails, then any other
    // incomplete TransformOutputs can be stopped.
    OnErrorTypeStopProcessingJob OnErrorType = "StopProcessingJob"
)

func PossibleOnErrorTypeValues

func PossibleOnErrorTypeValues() []OnErrorType

PossibleOnErrorTypeValues returns an array of possible values for the OnErrorType const type.

type Operation

Operation an operation.

type Operation struct {
    // Name - The operation name.
    Name *string `json:"name,omitempty"`
    // Display - The operation display name.
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - Origin of the operation.
    Origin *string `json:"origin,omitempty"`
    // Properties - Operation properties format.
    Properties *Properties `json:"properties,omitempty"`
    // IsDataAction - Whether the operation applies to data-plane.
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // ActionType - Indicates the action type. Possible values include: 'ActionTypeInternal'
    ActionType ActionType `json:"actionType,omitempty"`
}

type OperationCollection

OperationCollection a collection of Operation items.

type OperationCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of Operation items.
    Value *[]Operation `json:"value,omitempty"`
}

type OperationDisplay

OperationDisplay operation details.

type OperationDisplay struct {
    // Provider - The service provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
    // Operation - The operation type.
    Operation *string `json:"operation,omitempty"`
    // Description - The operation description.
    Description *string `json:"description,omitempty"`
}

type OperationsClient

OperationsClient is the client for the Operations methods of the Media service.

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationCollection, err error)

List lists all the Media Services operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OutputFile

OutputFile represents an output file produced.

type OutputFile struct {
    // 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 `json:"labels,omitempty"`
}

type Overlay

Overlay base type for all overlays - image, audio or video.

type Overlay struct {
    // 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, PNG, GIF or BMP format, 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 `json:"inputLabel,omitempty"`
    // 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 into the input video. If not specified the overlay starts from the beginning of the input video.
    Start *string `json:"start,omitempty"`
    // End - The end position, with reference to the input video, at which the overlay ends. The value should be in ISO 8601 format. For example, PT30S to end the overlay at 30 seconds into the input video. If not specified or the value is greater than the input video duration, the overlay will be applied until the end of the input video if the overlay media duration is greater than the input video duration, else the overlay will last as long as the overlay media duration.
    End *string `json:"end,omitempty"`
    // 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 `json:"fadeInDuration,omitempty"`
    // 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 `json:"fadeOutDuration,omitempty"`
    // 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 *float64 `json:"audioGainLevel,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicOverlayOdataTypeOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaAudioOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaVideoOverlay'
    OdataType OdataTypeBasicOverlay `json:"@odata.type,omitempty"`
}

func (Overlay) AsAudioOverlay

func (o Overlay) AsAudioOverlay() (*AudioOverlay, bool)

AsAudioOverlay is the BasicOverlay implementation for Overlay.

func (Overlay) AsBasicOverlay

func (o Overlay) AsBasicOverlay() (BasicOverlay, bool)

AsBasicOverlay is the BasicOverlay implementation for Overlay.

func (Overlay) AsOverlay

func (o Overlay) AsOverlay() (*Overlay, bool)

AsOverlay is the BasicOverlay implementation for Overlay.

func (Overlay) AsVideoOverlay

func (o Overlay) AsVideoOverlay() (*VideoOverlay, bool)

AsVideoOverlay is the BasicOverlay implementation for Overlay.

func (Overlay) MarshalJSON

func (o Overlay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Overlay.

type PngFormat

PngFormat describes the settings for producing PNG thumbnails.

type PngFormat struct {
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (PngFormat) AsBasicFormat

func (pf PngFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsBasicImageFormat

func (pf PngFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsBasicMultiBitrateFormat

func (pf PngFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsFormat

func (pf PngFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsImageFormat

func (pf PngFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsJpgFormat

func (pf PngFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsMp4Format

func (pf PngFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for PngFormat.

func (PngFormat) AsMultiBitrateFormat

func (pf PngFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsPngFormat

func (pf PngFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) AsTransportStreamFormat

func (pf PngFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for PngFormat.

func (PngFormat) MarshalJSON

func (pf PngFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PngFormat.

type PngImage

PngImage describes the properties for producing a series of PNG images from the input video.

type PngImage struct {
    // Layers - A collection of output PNG image layers to be produced by the encoder.
    Layers *[]PngLayer `json:"layers,omitempty"`
    // Start - The position in the input video from where to start generating thumbnails. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video and will only produce one thumbnail, no matter what other settings are for Step and Range. The default value is macro {Best}.
    Start *string `json:"start,omitempty"`
    // Step - The intervals at which thumbnails are generated. The value can be in ISO 8601 format (For example, PT05S for one image every 5 seconds), or a frame count (For example, 30 for one image every 30 frames), or a relative value to stream duration (For example, 10% for one image every 10% of stream duration). Note: Step value will affect the first generated thumbnail, which may not be exactly the one specified at transform preset start time. This is due to the encoder, which tries to select the best thumbnail between start time and Step position from start time as the first output. As the default value is 10%, it means if stream has long duration, the first generated thumbnail might be far away from the one specified at start time. Try to select reasonable value for Step if the first thumbnail is expected close to start time, or set Range value at 1 if only one thumbnail is needed at start time.
    Step *string `json:"step,omitempty"`
    // Range - The position relative to transform preset start time in the input video at which to stop generating thumbnails. The value can be in ISO 8601 format (For example, PT5M30S to stop at 5 minutes and 30 seconds from start time), or a frame count (For example, 300 to stop at the 300th frame from the frame at start time. If this value is 1, it means only producing one thumbnail at start time), or a relative value to the stream duration (For example, 50% to stop at half of stream duration from start time). The default value is 100%, which means to stop at the end of the stream.
    Range *string `json:"range,omitempty"`
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (PngImage) AsAacAudio

func (pi PngImage) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for PngImage.

func (PngImage) AsAudio

func (pi PngImage) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for PngImage.

func (PngImage) AsBasicAudio

func (pi PngImage) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for PngImage.

func (PngImage) AsBasicCodec

func (pi PngImage) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for PngImage.

func (PngImage) AsBasicImage

func (pi PngImage) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for PngImage.

func (PngImage) AsBasicVideo

func (pi PngImage) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for PngImage.

func (PngImage) AsCodec

func (pi PngImage) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for PngImage.

func (PngImage) AsCopyAudio

func (pi PngImage) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for PngImage.

func (PngImage) AsCopyVideo

func (pi PngImage) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for PngImage.

func (PngImage) AsH264Video

func (pi PngImage) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for PngImage.

func (PngImage) AsH265Video

func (pi PngImage) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for PngImage.

func (PngImage) AsImage

func (pi PngImage) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for PngImage.

func (PngImage) AsJpgImage

func (pi PngImage) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for PngImage.

func (PngImage) AsPngImage

func (pi PngImage) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for PngImage.

func (PngImage) AsVideo

func (pi PngImage) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for PngImage.

func (PngImage) MarshalJSON

func (pi PngImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PngImage.

type PngLayer

PngLayer describes the settings to produce a PNG image from the input video.

type PngLayer struct {
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (PngLayer) AsBasicH265VideoLayer

func (pl PngLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsBasicLayer

func (pl PngLayer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsBasicVideoLayer

func (pl PngLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsH264Layer

func (pl PngLayer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsH265Layer

func (pl PngLayer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsH265VideoLayer

func (pl PngLayer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsJpgLayer

func (pl PngLayer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsLayer

func (pl PngLayer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsPngLayer

func (pl PngLayer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) AsVideoLayer

func (pl PngLayer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for PngLayer.

func (PngLayer) MarshalJSON

func (pl PngLayer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PngLayer.

type PresentationTimeRange

PresentationTimeRange the presentation time range, this is asset related and not recommended for Account Filter.

type PresentationTimeRange struct {
    // StartTimestamp - The absolute start time boundary.
    StartTimestamp *int64 `json:"startTimestamp,omitempty"`
    // EndTimestamp - The absolute end time boundary.
    EndTimestamp *int64 `json:"endTimestamp,omitempty"`
    // PresentationWindowDuration - The relative to end sliding window.
    PresentationWindowDuration *int64 `json:"presentationWindowDuration,omitempty"`
    // LiveBackoffDuration - The relative to end right edge.
    LiveBackoffDuration *int64 `json:"liveBackoffDuration,omitempty"`
    // Timescale - The time scale of time stamps.
    Timescale *int64 `json:"timescale,omitempty"`
    // ForceEndTimestamp - The indicator of forcing existing of end time stamp.
    ForceEndTimestamp *bool `json:"forceEndTimestamp,omitempty"`
}

type Preset

Preset base type for all Presets, which define the recipe or instructions on how the input media files should be processed.

type Preset struct {
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (Preset) AsAudioAnalyzerPreset

func (p Preset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for Preset.

func (Preset) AsBasicAudioAnalyzerPreset

func (p Preset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for Preset.

func (Preset) AsBasicPreset

func (p Preset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for Preset.

func (Preset) AsBuiltInStandardEncoderPreset

func (p Preset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for Preset.

func (Preset) AsFaceDetectorPreset

func (p Preset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for Preset.

func (Preset) AsPreset

func (p Preset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for Preset.

func (Preset) AsStandardEncoderPreset

func (p Preset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for Preset.

func (Preset) AsVideoAnalyzerPreset

func (p Preset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for Preset.

func (Preset) MarshalJSON

func (p Preset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Preset.

type PresetConfigurations

PresetConfigurations an object of optional configuration settings for encoder.

type PresetConfigurations struct {
    // Complexity - Allows you to configure the encoder settings to control the balance between speed and quality. Example: set Complexity as Speed for faster encoding but less compression efficiency. Possible values include: 'ComplexitySpeed', 'ComplexityBalanced', 'ComplexityQuality'
    Complexity Complexity `json:"complexity,omitempty"`
    // InterleaveOutput - Sets the interleave mode of the output to control how audio and video are stored in the container format. Example: set InterleavedOutput as NonInterleavedOutput to produce audio-only and video-only outputs in separate MP4 files. Possible values include: 'InterleaveOutputNonInterleavedOutput', 'InterleaveOutputInterleavedOutput'
    InterleaveOutput InterleaveOutput `json:"interleaveOutput,omitempty"`
    // KeyFrameIntervalInSeconds - The key frame interval in seconds. Example: set KeyFrameIntervalInSeconds as 2 to reduce the playback buffering for some players.
    KeyFrameIntervalInSeconds *float64 `json:"keyFrameIntervalInSeconds,omitempty"`
    // MaxBitrateBps - The maximum bitrate in bits per second (threshold for the top video layer). Example: set MaxBitrateBps as 6000000 to avoid producing very high bitrate outputs for contents with high complexity.
    MaxBitrateBps *int32 `json:"maxBitrateBps,omitempty"`
    // MaxHeight - The maximum height of output video layers. Example: set MaxHeight as 720 to produce output layers up to 720P even if the input is 4K.
    MaxHeight *int32 `json:"maxHeight,omitempty"`
    // MaxLayers - The maximum number of output video layers. Example: set MaxLayers as 4 to make sure at most 4 output layers are produced to control the overall cost of the encoding job.
    MaxLayers *int32 `json:"maxLayers,omitempty"`
    // MinBitrateBps - The minimum bitrate in bits per second (threshold for the bottom video layer). Example: set MinBitrateBps as 200000 to have a bottom layer that covers users with low network bandwidth.
    MinBitrateBps *int32 `json:"minBitrateBps,omitempty"`
    // MinHeight - The minimum height of output video layers. Example: set MinHeight as 360 to avoid output layers of smaller resolutions like 180P.
    MinHeight *int32 `json:"minHeight,omitempty"`
}

type Priority

Priority enumerates the values for priority.

type Priority string
const (
    // PriorityHigh Used for TransformOutputs that should take precedence over others.
    PriorityHigh Priority = "High"
    // PriorityLow Used for TransformOutputs that can be generated after Normal and High priority
    // TransformOutputs.
    PriorityLow Priority = "Low"
    // PriorityNormal Used for TransformOutputs that can be generated at Normal priority.
    PriorityNormal Priority = "Normal"
)

func PossiblePriorityValues

func PossiblePriorityValues() []Priority

PossiblePriorityValues returns an array of possible values for the Priority const type.

type PrivateEndpoint

PrivateEndpoint the Private Endpoint resource.

type PrivateEndpoint struct {
    // ID - READ-ONLY; The ARM identifier for Private Endpoint
    ID *string `json:"id,omitempty"`
}

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

PrivateEndpointConnection the Private Endpoint Connection resource.

type PrivateEndpointConnection struct {
    autorest.Response `json:"-"`
    // PrivateEndpointConnectionProperties - Resource properties.
    *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

PrivateEndpointConnectionListResult list of private endpoint connection associated with the specified storage account

type PrivateEndpointConnectionListResult struct {
    autorest.Response `json:"-"`
    // Value - Array of private endpoint connections
    Value *[]PrivateEndpointConnection `json:"value,omitempty"`
}

type PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProperties struct {
    // PrivateEndpoint - The resource of private end point.
    PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
    // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
    PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
    // ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
    ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

type PrivateEndpointConnectionProvisioningState string
const (
    // PrivateEndpointConnectionProvisioningStateCreating ...
    PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
    // PrivateEndpointConnectionProvisioningStateDeleting ...
    PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
    // PrivateEndpointConnectionProvisioningStateFailed ...
    PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
    // PrivateEndpointConnectionProvisioningStateSucceeded ...
    PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionsClient

PrivateEndpointConnectionsClient is the client for the PrivateEndpointConnections methods of the Media service.

type PrivateEndpointConnectionsClient struct {
    BaseClient
}

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)

CreateOrUpdate update private endpoint connection. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. parameters - the request parameters

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, name string) (result autorest.Response, err error)

Delete delete private endpoint connection. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateEndpointConnection, err error)

Get get private endpoint connection. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) List

func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateEndpointConnectionListResult, err error)

List get all private endpoint connections. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (PrivateEndpointConnectionsClient) ListPreparer

func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateEndpointConnectionsClient) ListResponder

func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListSender

func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointServiceConnectionStatus

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

type PrivateEndpointServiceConnectionStatus string
const (
    // PrivateEndpointServiceConnectionStatusApproved ...
    PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
    // PrivateEndpointServiceConnectionStatusPending ...
    PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
    // PrivateEndpointServiceConnectionStatusRejected ...
    PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

PrivateLinkResource a private link resource

type PrivateLinkResource struct {
    autorest.Response `json:"-"`
    // PrivateLinkResourceProperties - Resource properties.
    *PrivateLinkResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - Array of private link resources
    Value *[]PrivateLinkResource `json:"value,omitempty"`
}

type PrivateLinkResourceProperties

PrivateLinkResourceProperties properties of a private link resource.

type PrivateLinkResourceProperties struct {
    // GroupID - READ-ONLY; The private link resource group id.
    GroupID *string `json:"groupId,omitempty"`
    // RequiredMembers - READ-ONLY; The private link resource required member names.
    RequiredMembers *[]string `json:"requiredMembers,omitempty"`
    // RequiredZoneNames - The private link resource Private link DNS zone name.
    RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

PrivateLinkResourcesClient is the client for the PrivateLinkResources methods of the Media service.

type PrivateLinkResourcesClient struct {
    BaseClient
}

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateLinkResource, err error)

Get get group ID. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) List

func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateLinkResourceListResult, err error)

List get list of group IDs. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (PrivateLinkResourcesClient) ListPreparer

func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateLinkResourcesClient) ListResponder

func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListSender

func (client PrivateLinkResourcesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type PrivateLinkServiceConnectionState struct {
    // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
    Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
    // Description - The reason for approval/rejection of the connection.
    Description *string `json:"description,omitempty"`
    // ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
    ActionsRequired *string `json:"actionsRequired,omitempty"`
}

type Properties

Properties the service specification property.

type Properties struct {
    // ServiceSpecification - READ-ONLY; The service specifications.
    ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

func (Properties) MarshalJSON

func (p Properties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Properties.

type ProxyResource

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicNetworkAccess

PublicNetworkAccess enumerates the values for public network access.

type PublicNetworkAccess string
const (
    // PublicNetworkAccessDisabled Public network access is disabled.
    PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
    // PublicNetworkAccessEnabled Public network access is enabled.
    PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type Rectangle

Rectangle describes the properties of a rectangular window applied to the input media before processing it.

type Rectangle struct {
    // 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 `json:"left,omitempty"`
    // 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 `json:"top,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
}

type Resource

Resource common fields that are returned in the response for all Azure Resource Manager resources

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentity

ResourceIdentity ...

type ResourceIdentity struct {
    // UserAssignedIdentity - The user assigned managed identity's ARM ID to use when accessing a resource.
    UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
    // UseSystemAssignedIdentity - Indicates whether to use System Assigned Managed Identity. Mutual exclusive with User Assigned Managed Identity.
    UseSystemAssignedIdentity *bool `json:"useSystemAssignedIdentity,omitempty"`
}

type Rotation

Rotation enumerates the values for rotation.

type Rotation string
const (
    // RotationAuto Automatically detect and rotate as needed.
    RotationAuto Rotation = "Auto"
    // RotationNone Do not rotate the video.  If the output format supports it, any metadata about rotation is
    // kept intact.
    RotationNone Rotation = "None"
    // RotationRotate0 Do not rotate the video but remove any metadata about the rotation.
    RotationRotate0 Rotation = "Rotate0"
    // RotationRotate180 Rotate 180 degrees clockwise.
    RotationRotate180 Rotation = "Rotate180"
    // RotationRotate270 Rotate 270 degrees clockwise.
    RotationRotate270 Rotation = "Rotate270"
    // RotationRotate90 Rotate 90 degrees clockwise.
    RotationRotate90 Rotation = "Rotate90"
)

func PossibleRotationValues

func PossibleRotationValues() []Rotation

PossibleRotationValues returns an array of possible values for the Rotation const type.

type SelectAudioTrackByAttribute

SelectAudioTrackByAttribute select audio tracks from the input by specifying an attribute and an attribute filter.

type SelectAudioTrackByAttribute struct {
    // Attribute - The TrackAttribute to filter the tracks by. Possible values include: 'TrackAttributeBitrate', 'TrackAttributeLanguage'
    Attribute TrackAttribute `json:"attribute,omitempty"`
    // Filter - The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. Possible values include: 'AttributeFilterAll', 'AttributeFilterTop', 'AttributeFilterBottom', 'AttributeFilterValueEquals'
    Filter AttributeFilter `json:"filter,omitempty"`
    // FilterValue - The value to filter the tracks by.  Only used when AttributeFilter.ValueEquals is specified for the Filter property.
    FilterValue *string `json:"filterValue,omitempty"`
    // ChannelMapping - Optional designation for single channel audio tracks.  Can be used to combine the tracks into stereo or multi-channel audio tracks. Possible values include: 'ChannelMappingFrontLeft', 'ChannelMappingFrontRight', 'ChannelMappingCenter', 'ChannelMappingLowFrequencyEffects', 'ChannelMappingBackLeft', 'ChannelMappingBackRight', 'ChannelMappingStereoLeft', 'ChannelMappingStereoRight'
    ChannelMapping ChannelMapping `json:"channelMapping,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (SelectAudioTrackByAttribute) AsAudioTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsBasicAudioTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsBasicTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsBasicVideoTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsSelectAudioTrackByAttribute

func (satba SelectAudioTrackByAttribute) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsSelectAudioTrackByID

func (satba SelectAudioTrackByAttribute) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsSelectVideoTrackByAttribute

func (satba SelectAudioTrackByAttribute) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsSelectVideoTrackByID

func (satba SelectAudioTrackByAttribute) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) AsVideoTrackDescriptor

func (satba SelectAudioTrackByAttribute) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByAttribute.

func (SelectAudioTrackByAttribute) MarshalJSON

func (satba SelectAudioTrackByAttribute) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SelectAudioTrackByAttribute.

type SelectAudioTrackByID

SelectAudioTrackByID select audio tracks from the input by specifying a track identifier.

type SelectAudioTrackByID struct {
    // TrackID - Track identifier to select
    TrackID *int64 `json:"trackId,omitempty"`
    // ChannelMapping - Optional designation for single channel audio tracks.  Can be used to combine the tracks into stereo or multi-channel audio tracks. Possible values include: 'ChannelMappingFrontLeft', 'ChannelMappingFrontRight', 'ChannelMappingCenter', 'ChannelMappingLowFrequencyEffects', 'ChannelMappingBackLeft', 'ChannelMappingBackRight', 'ChannelMappingStereoLeft', 'ChannelMappingStereoRight'
    ChannelMapping ChannelMapping `json:"channelMapping,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (SelectAudioTrackByID) AsAudioTrackDescriptor

func (satbi SelectAudioTrackByID) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsBasicAudioTrackDescriptor

func (satbi SelectAudioTrackByID) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsBasicTrackDescriptor

func (satbi SelectAudioTrackByID) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsBasicVideoTrackDescriptor

func (satbi SelectAudioTrackByID) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsSelectAudioTrackByAttribute

func (satbi SelectAudioTrackByID) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsSelectAudioTrackByID

func (satbi SelectAudioTrackByID) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsSelectVideoTrackByAttribute

func (satbi SelectAudioTrackByID) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsSelectVideoTrackByID

func (satbi SelectAudioTrackByID) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsTrackDescriptor

func (satbi SelectAudioTrackByID) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) AsVideoTrackDescriptor

func (satbi SelectAudioTrackByID) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectAudioTrackByID.

func (SelectAudioTrackByID) MarshalJSON

func (satbi SelectAudioTrackByID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SelectAudioTrackByID.

type SelectVideoTrackByAttribute

SelectVideoTrackByAttribute select video tracks from the input by specifying an attribute and an attribute filter.

type SelectVideoTrackByAttribute struct {
    // Attribute - The TrackAttribute to filter the tracks by. Possible values include: 'TrackAttributeBitrate', 'TrackAttributeLanguage'
    Attribute TrackAttribute `json:"attribute,omitempty"`
    // Filter - The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. Possible values include: 'AttributeFilterAll', 'AttributeFilterTop', 'AttributeFilterBottom', 'AttributeFilterValueEquals'
    Filter AttributeFilter `json:"filter,omitempty"`
    // FilterValue - The value to filter the tracks by.  Only used when AttributeFilter.ValueEquals is specified for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000').  The TrackAttribute.Language is not supported for video tracks.
    FilterValue *string `json:"filterValue,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (SelectVideoTrackByAttribute) AsAudioTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsBasicAudioTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsBasicTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsBasicVideoTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsSelectAudioTrackByAttribute

func (svtba SelectVideoTrackByAttribute) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsSelectAudioTrackByID

func (svtba SelectVideoTrackByAttribute) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsSelectVideoTrackByAttribute

func (svtba SelectVideoTrackByAttribute) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsSelectVideoTrackByID

func (svtba SelectVideoTrackByAttribute) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) AsVideoTrackDescriptor

func (svtba SelectVideoTrackByAttribute) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByAttribute.

func (SelectVideoTrackByAttribute) MarshalJSON

func (svtba SelectVideoTrackByAttribute) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SelectVideoTrackByAttribute.

type SelectVideoTrackByID

SelectVideoTrackByID select video tracks from the input by specifying a track identifier.

type SelectVideoTrackByID struct {
    // TrackID - Track identifier to select
    TrackID *int64 `json:"trackId,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (SelectVideoTrackByID) AsAudioTrackDescriptor

func (svtbi SelectVideoTrackByID) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsBasicAudioTrackDescriptor

func (svtbi SelectVideoTrackByID) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsBasicTrackDescriptor

func (svtbi SelectVideoTrackByID) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsBasicVideoTrackDescriptor

func (svtbi SelectVideoTrackByID) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsSelectAudioTrackByAttribute

func (svtbi SelectVideoTrackByID) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsSelectAudioTrackByID

func (svtbi SelectVideoTrackByID) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsSelectVideoTrackByAttribute

func (svtbi SelectVideoTrackByID) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsSelectVideoTrackByID

func (svtbi SelectVideoTrackByID) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsTrackDescriptor

func (svtbi SelectVideoTrackByID) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) AsVideoTrackDescriptor

func (svtbi SelectVideoTrackByID) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for SelectVideoTrackByID.

func (SelectVideoTrackByID) MarshalJSON

func (svtbi SelectVideoTrackByID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SelectVideoTrackByID.

type Service

Service a Media Services account.

type Service struct {
    autorest.Response `json:"-"`
    // ServiceProperties - The resource properties.
    *ServiceProperties `json:"properties,omitempty"`
    // Identity - The Managed Identity for the Media Services account.
    Identity *ServiceIdentity `json:"identity,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Service) MarshalJSON

func (s Service) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Service.

func (*Service) UnmarshalJSON

func (s *Service) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Service struct.

type ServiceCollection

ServiceCollection a collection of MediaService items.

type ServiceCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of MediaService items.
    Value *[]Service `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (ServiceCollection) IsEmpty

func (sc ServiceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceCollectionIterator

ServiceCollectionIterator provides access to a complete listing of Service values.

type ServiceCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewServiceCollectionIterator

func NewServiceCollectionIterator(page ServiceCollectionPage) ServiceCollectionIterator

Creates a new instance of the ServiceCollectionIterator type.

func (*ServiceCollectionIterator) Next

func (iter *ServiceCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceCollectionIterator) NextWithContext

func (iter *ServiceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ServiceCollectionIterator) NotDone

func (iter ServiceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceCollectionIterator) Response

func (iter ServiceCollectionIterator) Response() ServiceCollection

Response returns the raw server response from the last page request.

func (ServiceCollectionIterator) Value

func (iter ServiceCollectionIterator) Value() Service

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ServiceCollectionPage

ServiceCollectionPage contains a page of Service values.

type ServiceCollectionPage struct {
    // contains filtered or unexported fields
}

func NewServiceCollectionPage

func NewServiceCollectionPage(cur ServiceCollection, getNextPage func(context.Context, ServiceCollection) (ServiceCollection, error)) ServiceCollectionPage

Creates a new instance of the ServiceCollectionPage type.

func (*ServiceCollectionPage) Next

func (page *ServiceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceCollectionPage) NextWithContext

func (page *ServiceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ServiceCollectionPage) NotDone

func (page ServiceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceCollectionPage) Response

func (page ServiceCollectionPage) Response() ServiceCollection

Response returns the raw server response from the last page request.

func (ServiceCollectionPage) Values

func (page ServiceCollectionPage) Values() []Service

Values returns the slice of values for the current page or nil if there are no values.

type ServiceIdentity

ServiceIdentity ...

type ServiceIdentity struct {
    // Type - The identity type.
    Type *string `json:"type,omitempty"`
    // PrincipalID - READ-ONLY; The Principal ID of the identity.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The Tenant ID of the identity.
    TenantID *uuid.UUID `json:"tenantId,omitempty"`
    // UserAssignedIdentities - The user assigned managed identities.
    UserAssignedIdentities map[string]*UserAssignedManagedIdentity `json:"userAssignedIdentities"`
}

func (ServiceIdentity) MarshalJSON

func (si ServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceIdentity.

type ServiceProperties

ServiceProperties properties of the Media Services account.

type ServiceProperties struct {
    // MediaServiceID - READ-ONLY; The Media Services account ID.
    MediaServiceID *uuid.UUID `json:"mediaServiceId,omitempty"`
    // StorageAccounts - The storage accounts for this resource.
    StorageAccounts *[]StorageAccount `json:"storageAccounts,omitempty"`
    // StorageAuthentication - Possible values include: 'StorageAuthenticationSystem', 'StorageAuthenticationManagedIdentity'
    StorageAuthentication StorageAuthentication `json:"storageAuthentication,omitempty"`
    // Encryption - The account encryption properties.
    Encryption *AccountEncryption `json:"encryption,omitempty"`
    // KeyDelivery - The Key Delivery properties for Media Services account.
    KeyDelivery *KeyDelivery `json:"keyDelivery,omitempty"`
    // PublicNetworkAccess - Whether or not public network access is allowed for resources under the Media Services account. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

func (ServiceProperties) MarshalJSON

func (sp ServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceProperties.

type ServiceSpecification

ServiceSpecification the service metric specifications.

type ServiceSpecification struct {
    // LogSpecifications - READ-ONLY; List of log specifications.
    LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
    // MetricSpecifications - READ-ONLY; List of metric specifications.
    MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

func (ServiceSpecification) MarshalJSON

func (ss ServiceSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceSpecification.

type ServiceUpdate

ServiceUpdate a Media Services account update.

type ServiceUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ServiceProperties - The resource properties.
    *ServiceProperties `json:"properties,omitempty"`
    // Identity - The Managed Identity for the Media Services account.
    Identity *ServiceIdentity `json:"identity,omitempty"`
}

func (ServiceUpdate) MarshalJSON

func (su ServiceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceUpdate.

func (*ServiceUpdate) UnmarshalJSON

func (su *ServiceUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceUpdate struct.

type StandardEncoderPreset

StandardEncoderPreset describes all the settings to be used when encoding the input video with the Standard Encoder.

type StandardEncoderPreset struct {
    // Filters - One or more filtering operations that are applied to the input media before encoding.
    Filters *Filters `json:"filters,omitempty"`
    // Codecs - The list of codecs to be used when encoding the input video.
    Codecs *[]BasicCodec `json:"codecs,omitempty"`
    // Formats - The list of outputs to be produced by the encoder.
    Formats *[]BasicFormat `json:"formats,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (StandardEncoderPreset) AsAudioAnalyzerPreset

func (sep StandardEncoderPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsBasicAudioAnalyzerPreset

func (sep StandardEncoderPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsBasicPreset

func (sep StandardEncoderPreset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsBuiltInStandardEncoderPreset

func (sep StandardEncoderPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsFaceDetectorPreset

func (sep StandardEncoderPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsPreset

func (sep StandardEncoderPreset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsStandardEncoderPreset

func (sep StandardEncoderPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) AsVideoAnalyzerPreset

func (sep StandardEncoderPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for StandardEncoderPreset.

func (StandardEncoderPreset) MarshalJSON

func (sep StandardEncoderPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StandardEncoderPreset.

func (*StandardEncoderPreset) UnmarshalJSON

func (sep *StandardEncoderPreset) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StandardEncoderPreset struct.

type StorageAccount

StorageAccount the storage account details.

type StorageAccount struct {
    // 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 `json:"id,omitempty"`
    // Type - The type of the storage account. Possible values include: 'StorageAccountTypePrimary', 'StorageAccountTypeSecondary'
    Type StorageAccountType `json:"type,omitempty"`
    // Identity - The storage account identity.
    Identity *ResourceIdentity `json:"identity,omitempty"`
    // Status - READ-ONLY; The current status of the storage account mapping.
    Status *string `json:"status,omitempty"`
}

func (StorageAccount) MarshalJSON

func (sa StorageAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageAccount.

type StorageAccountType

StorageAccountType enumerates the values for storage account type.

type StorageAccountType string
const (
    // StorageAccountTypePrimary The primary storage account for the Media Services account.
    StorageAccountTypePrimary StorageAccountType = "Primary"
    // StorageAccountTypeSecondary A secondary storage account for the Media Services account.
    StorageAccountTypeSecondary StorageAccountType = "Secondary"
)

func PossibleStorageAccountTypeValues

func PossibleStorageAccountTypeValues() []StorageAccountType

PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.

type StorageAuthentication

StorageAuthentication enumerates the values for storage authentication.

type StorageAuthentication string
const (
    // StorageAuthenticationManagedIdentity Managed Identity authentication.
    StorageAuthenticationManagedIdentity StorageAuthentication = "ManagedIdentity"
    // StorageAuthenticationSystem System authentication.
    StorageAuthenticationSystem StorageAuthentication = "System"
)

func PossibleStorageAuthenticationValues

func PossibleStorageAuthenticationValues() []StorageAuthentication

PossibleStorageAuthenticationValues returns an array of possible values for the StorageAuthentication const type.

type StorageEncryptedAssetDecryptionData

StorageEncryptedAssetDecryptionData data needed to decrypt asset files encrypted with legacy storage encryption.

type StorageEncryptedAssetDecryptionData struct {
    autorest.Response `json:"-"`
    // Key - The Asset File storage encryption key.
    Key *[]byte `json:"key,omitempty"`
    // AssetFileEncryptionMetadata - Asset File encryption metadata.
    AssetFileEncryptionMetadata *[]AssetFileEncryptionMetadata `json:"assetFileEncryptionMetadata,omitempty"`
}

type StreamOptionsFlag

StreamOptionsFlag enumerates the values for stream options flag.

type StreamOptionsFlag string
const (
    // StreamOptionsFlagDefault Live streaming with no special latency optimizations.
    StreamOptionsFlagDefault StreamOptionsFlag = "Default"
    // StreamOptionsFlagLowLatency The live event provides lower end to end latency by reducing its internal
    // buffers. This could result in more client buffering during playback if network bandwidth is low.
    StreamOptionsFlagLowLatency StreamOptionsFlag = "LowLatency"
)

func PossibleStreamOptionsFlagValues

func PossibleStreamOptionsFlagValues() []StreamOptionsFlag

PossibleStreamOptionsFlagValues returns an array of possible values for the StreamOptionsFlag const type.

type StreamingEndpoint

StreamingEndpoint the streaming endpoint.

type StreamingEndpoint struct {
    autorest.Response `json:"-"`
    // StreamingEndpointProperties - The streaming endpoint properties.
    *StreamingEndpointProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (StreamingEndpoint) MarshalJSON

func (se StreamingEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingEndpoint.

func (*StreamingEndpoint) UnmarshalJSON

func (se *StreamingEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StreamingEndpoint struct.

type StreamingEndpointAccessControl

StreamingEndpointAccessControl streaming endpoint access control definition.

type StreamingEndpointAccessControl struct {
    // Akamai - The access control of Akamai
    Akamai *AkamaiAccessControl `json:"akamai,omitempty"`
    // IP - The IP access control of the streaming endpoint.
    IP *IPAccessControl `json:"ip,omitempty"`
}

type StreamingEndpointListResult

StreamingEndpointListResult the streaming endpoint list result.

type StreamingEndpointListResult struct {
    autorest.Response `json:"-"`
    // Value - The result of the List StreamingEndpoint operation.
    Value *[]StreamingEndpoint `json:"value,omitempty"`
    // OdataCount - The number of result.
    OdataCount *int32 `json:"@odata.count,omitempty"`
    // OdataNextLink - The link to the next set of results. Not empty if value contains incomplete list of streaming endpoints.
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (StreamingEndpointListResult) IsEmpty

func (selr StreamingEndpointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StreamingEndpointListResultIterator

StreamingEndpointListResultIterator provides access to a complete listing of StreamingEndpoint values.

type StreamingEndpointListResultIterator struct {
    // contains filtered or unexported fields
}

func NewStreamingEndpointListResultIterator

func NewStreamingEndpointListResultIterator(page StreamingEndpointListResultPage) StreamingEndpointListResultIterator

Creates a new instance of the StreamingEndpointListResultIterator type.

func (*StreamingEndpointListResultIterator) Next

func (iter *StreamingEndpointListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingEndpointListResultIterator) NextWithContext

func (iter *StreamingEndpointListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StreamingEndpointListResultIterator) NotDone

func (iter StreamingEndpointListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StreamingEndpointListResultIterator) Response

func (iter StreamingEndpointListResultIterator) Response() StreamingEndpointListResult

Response returns the raw server response from the last page request.

func (StreamingEndpointListResultIterator) Value

func (iter StreamingEndpointListResultIterator) Value() StreamingEndpoint

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StreamingEndpointListResultPage

StreamingEndpointListResultPage contains a page of StreamingEndpoint values.

type StreamingEndpointListResultPage struct {
    // contains filtered or unexported fields
}

func NewStreamingEndpointListResultPage

func NewStreamingEndpointListResultPage(cur StreamingEndpointListResult, getNextPage func(context.Context, StreamingEndpointListResult) (StreamingEndpointListResult, error)) StreamingEndpointListResultPage

Creates a new instance of the StreamingEndpointListResultPage type.

func (*StreamingEndpointListResultPage) Next

func (page *StreamingEndpointListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingEndpointListResultPage) NextWithContext

func (page *StreamingEndpointListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StreamingEndpointListResultPage) NotDone

func (page StreamingEndpointListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StreamingEndpointListResultPage) Response

func (page StreamingEndpointListResultPage) Response() StreamingEndpointListResult

Response returns the raw server response from the last page request.

func (StreamingEndpointListResultPage) Values

func (page StreamingEndpointListResultPage) Values() []StreamingEndpoint

Values returns the slice of values for the current page or nil if there are no values.

type StreamingEndpointProperties

StreamingEndpointProperties the streaming endpoint properties.

type StreamingEndpointProperties struct {
    // Description - The streaming endpoint description.
    Description *string `json:"description,omitempty"`
    // ScaleUnits - The number of scale units. Use the Scale operation to adjust this value.
    ScaleUnits *int32 `json:"scaleUnits,omitempty"`
    // AvailabilitySetName - This feature is deprecated, do not set a value for this property.
    AvailabilitySetName *string `json:"availabilitySetName,omitempty"`
    // AccessControl - The access control definition of the streaming endpoint.
    AccessControl *StreamingEndpointAccessControl `json:"accessControl,omitempty"`
    // MaxCacheAge - Max cache age
    MaxCacheAge *int64 `json:"maxCacheAge,omitempty"`
    // CustomHostNames - The custom host names of the streaming endpoint
    CustomHostNames *[]string `json:"customHostNames,omitempty"`
    // HostName - READ-ONLY; The streaming endpoint host name.
    HostName *string `json:"hostName,omitempty"`
    // CdnEnabled - The CDN enabled flag.
    CdnEnabled *bool `json:"cdnEnabled,omitempty"`
    // CdnProvider - The CDN provider name.
    CdnProvider *string `json:"cdnProvider,omitempty"`
    // CdnProfile - The CDN profile name.
    CdnProfile *string `json:"cdnProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the streaming endpoint.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ResourceState - READ-ONLY; The resource state of the streaming endpoint. Possible values include: 'StreamingEndpointResourceStateStopped', 'StreamingEndpointResourceStateStarting', 'StreamingEndpointResourceStateRunning', 'StreamingEndpointResourceStateStopping', 'StreamingEndpointResourceStateDeleting', 'StreamingEndpointResourceStateScaling'
    ResourceState StreamingEndpointResourceState `json:"resourceState,omitempty"`
    // CrossSiteAccessPolicies - The streaming endpoint access policies.
    CrossSiteAccessPolicies *CrossSiteAccessPolicies `json:"crossSiteAccessPolicies,omitempty"`
    // FreeTrialEndTime - READ-ONLY; The free trial expiration time.
    FreeTrialEndTime *date.Time `json:"freeTrialEndTime,omitempty"`
    // Created - READ-ONLY; The exact time the streaming endpoint was created.
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; The exact time the streaming endpoint was last modified.
    LastModified *date.Time `json:"lastModified,omitempty"`
}

func (StreamingEndpointProperties) MarshalJSON

func (sep StreamingEndpointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingEndpointProperties.

type StreamingEndpointResourceState

StreamingEndpointResourceState enumerates the values for streaming endpoint resource state.

type StreamingEndpointResourceState string
const (
    // StreamingEndpointResourceStateDeleting The streaming endpoint is being deleted.
    StreamingEndpointResourceStateDeleting StreamingEndpointResourceState = "Deleting"
    // StreamingEndpointResourceStateRunning The streaming endpoint is running. It is able to stream content to
    // clients
    StreamingEndpointResourceStateRunning StreamingEndpointResourceState = "Running"
    // StreamingEndpointResourceStateScaling The streaming endpoint is increasing or decreasing scale units.
    StreamingEndpointResourceStateScaling StreamingEndpointResourceState = "Scaling"
    // StreamingEndpointResourceStateStarting The streaming endpoint is transitioning to the running state.
    StreamingEndpointResourceStateStarting StreamingEndpointResourceState = "Starting"
    // StreamingEndpointResourceStateStopped The initial state of a streaming endpoint after creation. Content
    // is not ready to be streamed from this endpoint.
    StreamingEndpointResourceStateStopped StreamingEndpointResourceState = "Stopped"
    // StreamingEndpointResourceStateStopping The streaming endpoint is transitioning to the stopped state.
    StreamingEndpointResourceStateStopping StreamingEndpointResourceState = "Stopping"
)

func PossibleStreamingEndpointResourceStateValues

func PossibleStreamingEndpointResourceStateValues() []StreamingEndpointResourceState

PossibleStreamingEndpointResourceStateValues returns an array of possible values for the StreamingEndpointResourceState const type.

type StreamingEndpointsClient

StreamingEndpointsClient is the client for the StreamingEndpoints methods of the Media service.

type StreamingEndpointsClient struct {
    BaseClient
}

func NewStreamingEndpointsClient

func NewStreamingEndpointsClient(subscriptionID string) StreamingEndpointsClient

NewStreamingEndpointsClient creates an instance of the StreamingEndpointsClient client.

func NewStreamingEndpointsClientWithBaseURI

func NewStreamingEndpointsClientWithBaseURI(baseURI string, subscriptionID string) StreamingEndpointsClient

NewStreamingEndpointsClientWithBaseURI creates an instance of the StreamingEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (StreamingEndpointsClient) Create

func (client StreamingEndpointsClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint, autoStart *bool) (result StreamingEndpointsCreateFuture, err error)

Create creates a streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24. parameters - streaming endpoint properties needed for creation. autoStart - the flag indicates if the resource should be automatically started on creation.

func (StreamingEndpointsClient) CreatePreparer

func (client StreamingEndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint, autoStart *bool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (StreamingEndpointsClient) CreateResponder

func (client StreamingEndpointsClient) CreateResponder(resp *http.Response) (result StreamingEndpoint, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) CreateSender

func (client StreamingEndpointsClient) CreateSender(req *http.Request) (future StreamingEndpointsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Delete

func (client StreamingEndpointsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsDeleteFuture, err error)

Delete deletes a streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24.

func (StreamingEndpointsClient) DeletePreparer

func (client StreamingEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StreamingEndpointsClient) DeleteResponder

func (client StreamingEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) DeleteSender

func (client StreamingEndpointsClient) DeleteSender(req *http.Request) (future StreamingEndpointsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Get

func (client StreamingEndpointsClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpoint, err error)

Get gets a streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24.

func (StreamingEndpointsClient) GetPreparer

func (client StreamingEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StreamingEndpointsClient) GetResponder

func (client StreamingEndpointsClient) GetResponder(resp *http.Response) (result StreamingEndpoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) GetSender

func (client StreamingEndpointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) List

func (client StreamingEndpointsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result StreamingEndpointListResultPage, err error)

List lists the streaming endpoints in the account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name.

func (StreamingEndpointsClient) ListComplete

func (client StreamingEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result StreamingEndpointListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StreamingEndpointsClient) ListPreparer

func (client StreamingEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (StreamingEndpointsClient) ListResponder

func (client StreamingEndpointsClient) ListResponder(resp *http.Response) (result StreamingEndpointListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) ListSender

func (client StreamingEndpointsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Scale

func (client StreamingEndpointsClient) Scale(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEntityScaleUnit) (result StreamingEndpointsScaleFuture, err error)

Scale scales an existing streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24. parameters - streaming endpoint scale parameters

func (StreamingEndpointsClient) ScalePreparer

func (client StreamingEndpointsClient) ScalePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEntityScaleUnit) (*http.Request, error)

ScalePreparer prepares the Scale request.

func (StreamingEndpointsClient) ScaleResponder

func (client StreamingEndpointsClient) ScaleResponder(resp *http.Response) (result autorest.Response, err error)

ScaleResponder handles the response to the Scale request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) ScaleSender

func (client StreamingEndpointsClient) ScaleSender(req *http.Request) (future StreamingEndpointsScaleFuture, err error)

ScaleSender sends the Scale request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Start

func (client StreamingEndpointsClient) Start(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsStartFuture, err error)

Start starts an existing streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24.

func (StreamingEndpointsClient) StartPreparer

func (client StreamingEndpointsClient) StartPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (StreamingEndpointsClient) StartResponder

func (client StreamingEndpointsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) StartSender

func (client StreamingEndpointsClient) StartSender(req *http.Request) (future StreamingEndpointsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Stop

func (client StreamingEndpointsClient) Stop(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (result StreamingEndpointsStopFuture, err error)

Stop stops an existing streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24.

func (StreamingEndpointsClient) StopPreparer

func (client StreamingEndpointsClient) StopPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (StreamingEndpointsClient) StopResponder

func (client StreamingEndpointsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) StopSender

func (client StreamingEndpointsClient) StopSender(req *http.Request) (future StreamingEndpointsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (StreamingEndpointsClient) Update

func (client StreamingEndpointsClient) Update(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint) (result StreamingEndpointsUpdateFuture, err error)

Update updates a existing streaming endpoint. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingEndpointName - the name of the streaming endpoint, maximum length is 24. parameters - streaming endpoint properties needed for creation.

func (StreamingEndpointsClient) UpdatePreparer

func (client StreamingEndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters StreamingEndpoint) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (StreamingEndpointsClient) UpdateResponder

func (client StreamingEndpointsClient) UpdateResponder(resp *http.Response) (result StreamingEndpoint, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (StreamingEndpointsClient) UpdateSender

func (client StreamingEndpointsClient) UpdateSender(req *http.Request) (future StreamingEndpointsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type StreamingEndpointsCreateFuture

StreamingEndpointsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (StreamingEndpoint, error)
}

func (*StreamingEndpointsCreateFuture) UnmarshalJSON

func (future *StreamingEndpointsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEndpointsDeleteFuture

StreamingEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (autorest.Response, error)
}

func (*StreamingEndpointsDeleteFuture) UnmarshalJSON

func (future *StreamingEndpointsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEndpointsScaleFuture

StreamingEndpointsScaleFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsScaleFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (autorest.Response, error)
}

func (*StreamingEndpointsScaleFuture) UnmarshalJSON

func (future *StreamingEndpointsScaleFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEndpointsStartFuture

StreamingEndpointsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (autorest.Response, error)
}

func (*StreamingEndpointsStartFuture) UnmarshalJSON

func (future *StreamingEndpointsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEndpointsStopFuture

StreamingEndpointsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsStopFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (autorest.Response, error)
}

func (*StreamingEndpointsStopFuture) UnmarshalJSON

func (future *StreamingEndpointsStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEndpointsUpdateFuture

StreamingEndpointsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type StreamingEndpointsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(StreamingEndpointsClient) (StreamingEndpoint, error)
}

func (*StreamingEndpointsUpdateFuture) UnmarshalJSON

func (future *StreamingEndpointsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type StreamingEntityScaleUnit

StreamingEntityScaleUnit scale units definition

type StreamingEntityScaleUnit struct {
    // ScaleUnit - The scale unit number of the streaming endpoint.
    ScaleUnit *int32 `json:"scaleUnit,omitempty"`
}

type StreamingLocator

StreamingLocator a Streaming Locator resource

type StreamingLocator struct {
    autorest.Response           `json:"-"`
    *StreamingLocatorProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (StreamingLocator) MarshalJSON

func (sl StreamingLocator) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingLocator.

func (*StreamingLocator) UnmarshalJSON

func (sl *StreamingLocator) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StreamingLocator struct.

type StreamingLocatorCollection

StreamingLocatorCollection a collection of StreamingLocator items.

type StreamingLocatorCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of StreamingLocator items.
    Value *[]StreamingLocator `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (StreamingLocatorCollection) IsEmpty

func (slc StreamingLocatorCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StreamingLocatorCollectionIterator

StreamingLocatorCollectionIterator provides access to a complete listing of StreamingLocator values.

type StreamingLocatorCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewStreamingLocatorCollectionIterator

func NewStreamingLocatorCollectionIterator(page StreamingLocatorCollectionPage) StreamingLocatorCollectionIterator

Creates a new instance of the StreamingLocatorCollectionIterator type.

func (*StreamingLocatorCollectionIterator) Next

func (iter *StreamingLocatorCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingLocatorCollectionIterator) NextWithContext

func (iter *StreamingLocatorCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StreamingLocatorCollectionIterator) NotDone

func (iter StreamingLocatorCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StreamingLocatorCollectionIterator) Response

func (iter StreamingLocatorCollectionIterator) Response() StreamingLocatorCollection

Response returns the raw server response from the last page request.

func (StreamingLocatorCollectionIterator) Value

func (iter StreamingLocatorCollectionIterator) Value() StreamingLocator

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StreamingLocatorCollectionPage

StreamingLocatorCollectionPage contains a page of StreamingLocator values.

type StreamingLocatorCollectionPage struct {
    // contains filtered or unexported fields
}

func NewStreamingLocatorCollectionPage

func NewStreamingLocatorCollectionPage(cur StreamingLocatorCollection, getNextPage func(context.Context, StreamingLocatorCollection) (StreamingLocatorCollection, error)) StreamingLocatorCollectionPage

Creates a new instance of the StreamingLocatorCollectionPage type.

func (*StreamingLocatorCollectionPage) Next

func (page *StreamingLocatorCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingLocatorCollectionPage) NextWithContext

func (page *StreamingLocatorCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StreamingLocatorCollectionPage) NotDone

func (page StreamingLocatorCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StreamingLocatorCollectionPage) Response

func (page StreamingLocatorCollectionPage) Response() StreamingLocatorCollection

Response returns the raw server response from the last page request.

func (StreamingLocatorCollectionPage) Values

func (page StreamingLocatorCollectionPage) Values() []StreamingLocator

Values returns the slice of values for the current page or nil if there are no values.

type StreamingLocatorContentKey

StreamingLocatorContentKey class for content key in Streaming Locator

type StreamingLocatorContentKey struct {
    // ID - ID of Content Key
    ID *uuid.UUID `json:"id,omitempty"`
    // Type - READ-ONLY; Encryption type of Content Key. Possible values include: 'StreamingLocatorContentKeyTypeCommonEncryptionCenc', 'StreamingLocatorContentKeyTypeCommonEncryptionCbcs', 'StreamingLocatorContentKeyTypeEnvelopeEncryption'
    Type StreamingLocatorContentKeyType `json:"type,omitempty"`
    // LabelReferenceInStreamingPolicy - Label of Content Key as specified in the Streaming Policy
    LabelReferenceInStreamingPolicy *string `json:"labelReferenceInStreamingPolicy,omitempty"`
    // Value - Value of Content Key
    Value *string `json:"value,omitempty"`
    // PolicyName - READ-ONLY; ContentKeyPolicy used by Content Key
    PolicyName *string `json:"policyName,omitempty"`
    // Tracks - READ-ONLY; Tracks which use this Content Key
    Tracks *[]TrackSelection `json:"tracks,omitempty"`
}

func (StreamingLocatorContentKey) MarshalJSON

func (slck StreamingLocatorContentKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingLocatorContentKey.

type StreamingLocatorContentKeyType

StreamingLocatorContentKeyType enumerates the values for streaming locator content key type.

type StreamingLocatorContentKeyType string
const (
    // StreamingLocatorContentKeyTypeCommonEncryptionCbcs Common Encryption using CBCS
    StreamingLocatorContentKeyTypeCommonEncryptionCbcs StreamingLocatorContentKeyType = "CommonEncryptionCbcs"
    // StreamingLocatorContentKeyTypeCommonEncryptionCenc Common Encryption using CENC
    StreamingLocatorContentKeyTypeCommonEncryptionCenc StreamingLocatorContentKeyType = "CommonEncryptionCenc"
    // StreamingLocatorContentKeyTypeEnvelopeEncryption Envelope Encryption
    StreamingLocatorContentKeyTypeEnvelopeEncryption StreamingLocatorContentKeyType = "EnvelopeEncryption"
)

func PossibleStreamingLocatorContentKeyTypeValues

func PossibleStreamingLocatorContentKeyTypeValues() []StreamingLocatorContentKeyType

PossibleStreamingLocatorContentKeyTypeValues returns an array of possible values for the StreamingLocatorContentKeyType const type.

type StreamingLocatorProperties

StreamingLocatorProperties properties of the Streaming Locator.

type StreamingLocatorProperties struct {
    // AssetName - Asset Name
    AssetName *string `json:"assetName,omitempty"`
    // Created - READ-ONLY; The creation time of the Streaming Locator.
    Created *date.Time `json:"created,omitempty"`
    // StartTime - The start time of the Streaming Locator.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time of the Streaming Locator.
    EndTime *date.Time `json:"endTime,omitempty"`
    // StreamingLocatorID - The StreamingLocatorId of the Streaming Locator.
    StreamingLocatorID *uuid.UUID `json:"streamingLocatorId,omitempty"`
    // 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 `json:"streamingPolicyName,omitempty"`
    // DefaultContentKeyPolicyName - Name of the default ContentKeyPolicy used by this Streaming Locator.
    DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"`
    // ContentKeys - The ContentKeys used by this Streaming Locator.
    ContentKeys *[]StreamingLocatorContentKey `json:"contentKeys,omitempty"`
    // AlternativeMediaID - Alternative Media ID of this Streaming Locator
    AlternativeMediaID *string `json:"alternativeMediaId,omitempty"`
    // Filters - A list of asset or account filters which apply to this streaming locator
    Filters *[]string `json:"filters,omitempty"`
}

func (StreamingLocatorProperties) MarshalJSON

func (slp StreamingLocatorProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingLocatorProperties.

type StreamingLocatorsClient

StreamingLocatorsClient is the client for the StreamingLocators methods of the Media service.

type StreamingLocatorsClient struct {
    BaseClient
}

func NewStreamingLocatorsClient

func NewStreamingLocatorsClient(subscriptionID string) StreamingLocatorsClient

NewStreamingLocatorsClient creates an instance of the StreamingLocatorsClient client.

func NewStreamingLocatorsClientWithBaseURI

func NewStreamingLocatorsClientWithBaseURI(baseURI string, subscriptionID string) StreamingLocatorsClient

NewStreamingLocatorsClientWithBaseURI creates an instance of the StreamingLocatorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (StreamingLocatorsClient) Create

func (client StreamingLocatorsClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, parameters StreamingLocator) (result StreamingLocator, err error)

Create create a Streaming Locator in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingLocatorName - the Streaming Locator name. parameters - the request parameters

func (StreamingLocatorsClient) CreatePreparer

func (client StreamingLocatorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, parameters StreamingLocator) (*http.Request, error)

CreatePreparer prepares the Create request.

func (StreamingLocatorsClient) CreateResponder

func (client StreamingLocatorsClient) CreateResponder(resp *http.Response) (result StreamingLocator, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) CreateSender

func (client StreamingLocatorsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (StreamingLocatorsClient) Delete

func (client StreamingLocatorsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result autorest.Response, err error)

Delete deletes a Streaming Locator in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingLocatorName - the Streaming Locator name.

func (StreamingLocatorsClient) DeletePreparer

func (client StreamingLocatorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StreamingLocatorsClient) DeleteResponder

func (client StreamingLocatorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) DeleteSender

func (client StreamingLocatorsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (StreamingLocatorsClient) Get

func (client StreamingLocatorsClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result StreamingLocator, err error)

Get get the details of a Streaming Locator in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingLocatorName - the Streaming Locator name.

func (StreamingLocatorsClient) GetPreparer

func (client StreamingLocatorsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StreamingLocatorsClient) GetResponder

func (client StreamingLocatorsClient) GetResponder(resp *http.Response) (result StreamingLocator, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) GetSender

func (client StreamingLocatorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (StreamingLocatorsClient) List

func (client StreamingLocatorsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionPage, err error)

List lists the Streaming Locators in the account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filter - restricts the set of items returned. 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. orderby - specifies the key by which the result collection should be ordered.

func (StreamingLocatorsClient) ListComplete

func (client StreamingLocatorsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StreamingLocatorsClient) ListContentKeys

func (client StreamingLocatorsClient) ListContentKeys(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result ListContentKeysResponse, err error)

ListContentKeys list Content Keys used by this Streaming Locator Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingLocatorName - the Streaming Locator name.

func (StreamingLocatorsClient) ListContentKeysPreparer

func (client StreamingLocatorsClient) ListContentKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)

ListContentKeysPreparer prepares the ListContentKeys request.

func (StreamingLocatorsClient) ListContentKeysResponder

func (client StreamingLocatorsClient) ListContentKeysResponder(resp *http.Response) (result ListContentKeysResponse, err error)

ListContentKeysResponder handles the response to the ListContentKeys request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) ListContentKeysSender

func (client StreamingLocatorsClient) ListContentKeysSender(req *http.Request) (*http.Response, error)

ListContentKeysSender sends the ListContentKeys request. The method will close the http.Response Body if it receives an error.

func (StreamingLocatorsClient) ListPaths

func (client StreamingLocatorsClient) ListPaths(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (result ListPathsResponse, err error)

ListPaths list Paths supported by this Streaming Locator Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingLocatorName - the Streaming Locator name.

func (StreamingLocatorsClient) ListPathsPreparer

func (client StreamingLocatorsClient) ListPathsPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string) (*http.Request, error)

ListPathsPreparer prepares the ListPaths request.

func (StreamingLocatorsClient) ListPathsResponder

func (client StreamingLocatorsClient) ListPathsResponder(resp *http.Response) (result ListPathsResponse, err error)

ListPathsResponder handles the response to the ListPaths request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) ListPathsSender

func (client StreamingLocatorsClient) ListPathsSender(req *http.Request) (*http.Response, error)

ListPathsSender sends the ListPaths request. The method will close the http.Response Body if it receives an error.

func (StreamingLocatorsClient) ListPreparer

func (client StreamingLocatorsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (StreamingLocatorsClient) ListResponder

func (client StreamingLocatorsClient) ListResponder(resp *http.Response) (result StreamingLocatorCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (StreamingLocatorsClient) ListSender

func (client StreamingLocatorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type StreamingPath

StreamingPath class of paths for streaming

type StreamingPath struct {
    // StreamingProtocol - Streaming protocol. Possible values include: 'StreamingPolicyStreamingProtocolHls', 'StreamingPolicyStreamingProtocolDash', 'StreamingPolicyStreamingProtocolSmoothStreaming', 'StreamingPolicyStreamingProtocolDownload'
    StreamingProtocol StreamingPolicyStreamingProtocol `json:"streamingProtocol,omitempty"`
    // EncryptionScheme - Encryption scheme. Possible values include: 'EncryptionSchemeNoEncryption', 'EncryptionSchemeEnvelopeEncryption', 'EncryptionSchemeCommonEncryptionCenc', 'EncryptionSchemeCommonEncryptionCbcs'
    EncryptionScheme EncryptionScheme `json:"encryptionScheme,omitempty"`
    // Paths - Streaming paths for each protocol and encryptionScheme pair
    Paths *[]string `json:"paths,omitempty"`
}

type StreamingPoliciesClient

StreamingPoliciesClient is the client for the StreamingPolicies methods of the Media service.

type StreamingPoliciesClient struct {
    BaseClient
}

func NewStreamingPoliciesClient

func NewStreamingPoliciesClient(subscriptionID string) StreamingPoliciesClient

NewStreamingPoliciesClient creates an instance of the StreamingPoliciesClient client.

func NewStreamingPoliciesClientWithBaseURI

func NewStreamingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) StreamingPoliciesClient

NewStreamingPoliciesClientWithBaseURI creates an instance of the StreamingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (StreamingPoliciesClient) Create

func (client StreamingPoliciesClient) Create(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, parameters StreamingPolicy) (result StreamingPolicy, err error)

Create create a Streaming Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingPolicyName - the Streaming Policy name. parameters - the request parameters

func (StreamingPoliciesClient) CreatePreparer

func (client StreamingPoliciesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, parameters StreamingPolicy) (*http.Request, error)

CreatePreparer prepares the Create request.

func (StreamingPoliciesClient) CreateResponder

func (client StreamingPoliciesClient) CreateResponder(resp *http.Response) (result StreamingPolicy, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (StreamingPoliciesClient) CreateSender

func (client StreamingPoliciesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (StreamingPoliciesClient) Delete

func (client StreamingPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (result autorest.Response, err error)

Delete deletes a Streaming Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingPolicyName - the Streaming Policy name.

func (StreamingPoliciesClient) DeletePreparer

func (client StreamingPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StreamingPoliciesClient) DeleteResponder

func (client StreamingPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (StreamingPoliciesClient) DeleteSender

func (client StreamingPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (StreamingPoliciesClient) Get

func (client StreamingPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (result StreamingPolicy, err error)

Get get the details of a Streaming Policy in the Media Services account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. streamingPolicyName - the Streaming Policy name.

func (StreamingPoliciesClient) GetPreparer

func (client StreamingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StreamingPoliciesClient) GetResponder

func (client StreamingPoliciesClient) GetResponder(resp *http.Response) (result StreamingPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (StreamingPoliciesClient) GetSender

func (client StreamingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (StreamingPoliciesClient) List

func (client StreamingPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionPage, err error)

List lists the Streaming Policies in the account Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filter - restricts the set of items returned. 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. orderby - specifies the key by which the result collection should be ordered.

func (StreamingPoliciesClient) ListComplete

func (client StreamingPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StreamingPoliciesClient) ListPreparer

func (client StreamingPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (StreamingPoliciesClient) ListResponder

func (client StreamingPoliciesClient) ListResponder(resp *http.Response) (result StreamingPolicyCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (StreamingPoliciesClient) ListSender

func (client StreamingPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type StreamingPolicy

StreamingPolicy a Streaming Policy resource

type StreamingPolicy struct {
    autorest.Response          `json:"-"`
    *StreamingPolicyProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (StreamingPolicy) MarshalJSON

func (sp StreamingPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingPolicy.

func (*StreamingPolicy) UnmarshalJSON

func (sp *StreamingPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StreamingPolicy struct.

type StreamingPolicyCollection

StreamingPolicyCollection a collection of StreamingPolicy items.

type StreamingPolicyCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of StreamingPolicy items.
    Value *[]StreamingPolicy `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (StreamingPolicyCollection) IsEmpty

func (spc StreamingPolicyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StreamingPolicyCollectionIterator

StreamingPolicyCollectionIterator provides access to a complete listing of StreamingPolicy values.

type StreamingPolicyCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewStreamingPolicyCollectionIterator

func NewStreamingPolicyCollectionIterator(page StreamingPolicyCollectionPage) StreamingPolicyCollectionIterator

Creates a new instance of the StreamingPolicyCollectionIterator type.

func (*StreamingPolicyCollectionIterator) Next

func (iter *StreamingPolicyCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingPolicyCollectionIterator) NextWithContext

func (iter *StreamingPolicyCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StreamingPolicyCollectionIterator) NotDone

func (iter StreamingPolicyCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StreamingPolicyCollectionIterator) Response

func (iter StreamingPolicyCollectionIterator) Response() StreamingPolicyCollection

Response returns the raw server response from the last page request.

func (StreamingPolicyCollectionIterator) Value

func (iter StreamingPolicyCollectionIterator) Value() StreamingPolicy

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StreamingPolicyCollectionPage

StreamingPolicyCollectionPage contains a page of StreamingPolicy values.

type StreamingPolicyCollectionPage struct {
    // contains filtered or unexported fields
}

func NewStreamingPolicyCollectionPage

func NewStreamingPolicyCollectionPage(cur StreamingPolicyCollection, getNextPage func(context.Context, StreamingPolicyCollection) (StreamingPolicyCollection, error)) StreamingPolicyCollectionPage

Creates a new instance of the StreamingPolicyCollectionPage type.

func (*StreamingPolicyCollectionPage) Next

func (page *StreamingPolicyCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StreamingPolicyCollectionPage) NextWithContext

func (page *StreamingPolicyCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StreamingPolicyCollectionPage) NotDone

func (page StreamingPolicyCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StreamingPolicyCollectionPage) Response

func (page StreamingPolicyCollectionPage) Response() StreamingPolicyCollection

Response returns the raw server response from the last page request.

func (StreamingPolicyCollectionPage) Values

func (page StreamingPolicyCollectionPage) Values() []StreamingPolicy

Values returns the slice of values for the current page or nil if there are no values.

type StreamingPolicyContentKey

StreamingPolicyContentKey class to specify properties of content key

type StreamingPolicyContentKey struct {
    // Label - Label can be used to specify Content Key when creating a Streaming Locator
    Label *string `json:"label,omitempty"`
    // PolicyName - Policy used by Content Key
    PolicyName *string `json:"policyName,omitempty"`
    // Tracks - Tracks which use this content key
    Tracks *[]TrackSelection `json:"tracks,omitempty"`
}

type StreamingPolicyContentKeys

StreamingPolicyContentKeys class to specify properties of all content keys in Streaming Policy

type StreamingPolicyContentKeys struct {
    // DefaultKey - Default content key for an encryption scheme
    DefaultKey *DefaultKey `json:"defaultKey,omitempty"`
    // KeyToTrackMappings - Representing tracks needs separate content key
    KeyToTrackMappings *[]StreamingPolicyContentKey `json:"keyToTrackMappings,omitempty"`
}

type StreamingPolicyFairPlayConfiguration

StreamingPolicyFairPlayConfiguration class to specify configurations of FairPlay in Streaming Policy

type StreamingPolicyFairPlayConfiguration struct {
    // 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 `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
    // AllowPersistentLicense - All license to be persistent or not
    AllowPersistentLicense *bool `json:"allowPersistentLicense,omitempty"`
}

type StreamingPolicyPlayReadyConfiguration

StreamingPolicyPlayReadyConfiguration class to specify configurations of PlayReady in Streaming Policy

type StreamingPolicyPlayReadyConfiguration struct {
    // 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 `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
    // PlayReadyCustomAttributes - Custom attributes for PlayReady
    PlayReadyCustomAttributes *string `json:"playReadyCustomAttributes,omitempty"`
}

type StreamingPolicyProperties

StreamingPolicyProperties class to specify properties of Streaming Policy

type StreamingPolicyProperties struct {
    // Created - READ-ONLY; Creation time of Streaming Policy
    Created *date.Time `json:"created,omitempty"`
    // DefaultContentKeyPolicyName - Default ContentKey used by current Streaming Policy
    DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"`
    // EnvelopeEncryption - Configuration of EnvelopeEncryption
    EnvelopeEncryption *EnvelopeEncryption `json:"envelopeEncryption,omitempty"`
    // CommonEncryptionCenc - Configuration of CommonEncryptionCenc
    CommonEncryptionCenc *CommonEncryptionCenc `json:"commonEncryptionCenc,omitempty"`
    // CommonEncryptionCbcs - Configuration of CommonEncryptionCbcs
    CommonEncryptionCbcs *CommonEncryptionCbcs `json:"commonEncryptionCbcs,omitempty"`
    // NoEncryption - Configurations of NoEncryption
    NoEncryption *NoEncryption `json:"noEncryption,omitempty"`
}

func (StreamingPolicyProperties) MarshalJSON

func (spp StreamingPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StreamingPolicyProperties.

type StreamingPolicyStreamingProtocol

StreamingPolicyStreamingProtocol enumerates the values for streaming policy streaming protocol.

type StreamingPolicyStreamingProtocol string
const (
    // StreamingPolicyStreamingProtocolDash DASH protocol
    StreamingPolicyStreamingProtocolDash StreamingPolicyStreamingProtocol = "Dash"
    // StreamingPolicyStreamingProtocolDownload Download protocol
    StreamingPolicyStreamingProtocolDownload StreamingPolicyStreamingProtocol = "Download"
    // StreamingPolicyStreamingProtocolHls HLS protocol
    StreamingPolicyStreamingProtocolHls StreamingPolicyStreamingProtocol = "Hls"
    // StreamingPolicyStreamingProtocolSmoothStreaming SmoothStreaming protocol
    StreamingPolicyStreamingProtocolSmoothStreaming StreamingPolicyStreamingProtocol = "SmoothStreaming"
)

func PossibleStreamingPolicyStreamingProtocolValues

func PossibleStreamingPolicyStreamingProtocolValues() []StreamingPolicyStreamingProtocol

PossibleStreamingPolicyStreamingProtocolValues returns an array of possible values for the StreamingPolicyStreamingProtocol const type.

type StreamingPolicyWidevineConfiguration

StreamingPolicyWidevineConfiguration class to specify configurations of Widevine in Streaming Policy

type StreamingPolicyWidevineConfiguration struct {
    // 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 `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
}

type StretchMode

StretchMode enumerates the values for stretch mode.

type StretchMode string
const (
    // StretchModeAutoFit Pad the output (with either letterbox or pillar box) to honor the output resolution,
    // while ensuring that the active video region in the output has the same aspect ratio as the input. For
    // example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be
    // at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box
    // regions 280 pixels wide at the left and right.
    StretchModeAutoFit StretchMode = "AutoFit"
    // StretchModeAutoSize Override the output resolution, and change it to match the display aspect ratio of
    // the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for
    // 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which
    // maintains the input aspect ratio of 16:9.
    StretchModeAutoSize StretchMode = "AutoSize"
    // StretchModeNone Strictly respect the output resolution without considering the pixel aspect ratio or
    // display aspect ratio of the input video.
    StretchModeNone StretchMode = "None"
)

func PossibleStretchModeValues

func PossibleStretchModeValues() []StretchMode

PossibleStretchModeValues returns an array of possible values for the StretchMode const type.

type SyncStorageKeysInput

SyncStorageKeysInput the input to the sync storage keys request.

type SyncStorageKeysInput struct {
    // ID - The ID of the storage account resource.
    ID *string `json:"id,omitempty"`
}

type SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type TrackAttribute

TrackAttribute enumerates the values for track attribute.

type TrackAttribute string
const (
    // TrackAttributeBitrate The bitrate of the track.
    TrackAttributeBitrate TrackAttribute = "Bitrate"
    // TrackAttributeLanguage The language of the track.
    TrackAttributeLanguage TrackAttribute = "Language"
)

func PossibleTrackAttributeValues

func PossibleTrackAttributeValues() []TrackAttribute

PossibleTrackAttributeValues returns an array of possible values for the TrackAttribute const type.

type TrackDescriptor

TrackDescriptor base type for all TrackDescriptor types, which define the metadata and selection for tracks that should be processed by a Job

type TrackDescriptor struct {
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (TrackDescriptor) AsAudioTrackDescriptor

func (td TrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsBasicAudioTrackDescriptor

func (td TrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsBasicTrackDescriptor

func (td TrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsBasicVideoTrackDescriptor

func (td TrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsSelectAudioTrackByAttribute

func (td TrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsSelectAudioTrackByID

func (td TrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsSelectVideoTrackByAttribute

func (td TrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsSelectVideoTrackByID

func (td TrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsTrackDescriptor

func (td TrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) AsVideoTrackDescriptor

func (td TrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for TrackDescriptor.

func (TrackDescriptor) MarshalJSON

func (td TrackDescriptor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackDescriptor.

type TrackPropertyCompareOperation

TrackPropertyCompareOperation enumerates the values for track property compare operation.

type TrackPropertyCompareOperation string
const (
    // TrackPropertyCompareOperationEqual Equal operation
    TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal"
    // TrackPropertyCompareOperationUnknown Unknown track property compare operation
    TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown"
)

func PossibleTrackPropertyCompareOperationValues

func PossibleTrackPropertyCompareOperationValues() []TrackPropertyCompareOperation

PossibleTrackPropertyCompareOperationValues returns an array of possible values for the TrackPropertyCompareOperation const type.

type TrackPropertyCondition

TrackPropertyCondition class to specify one track property condition

type TrackPropertyCondition struct {
    // Property - Track property type. Possible values include: 'TrackPropertyTypeUnknown', 'TrackPropertyTypeFourCC'
    Property TrackPropertyType `json:"property,omitempty"`
    // Operation - Track property condition operation. Possible values include: 'TrackPropertyCompareOperationUnknown', 'TrackPropertyCompareOperationEqual'
    Operation TrackPropertyCompareOperation `json:"operation,omitempty"`
    // Value - Track property value
    Value *string `json:"value,omitempty"`
}

type TrackPropertyType

TrackPropertyType enumerates the values for track property type.

type TrackPropertyType string
const (
    // TrackPropertyTypeFourCC Track FourCC
    TrackPropertyTypeFourCC TrackPropertyType = "FourCC"
    // TrackPropertyTypeUnknown Unknown track property
    TrackPropertyTypeUnknown TrackPropertyType = "Unknown"
)

func PossibleTrackPropertyTypeValues

func PossibleTrackPropertyTypeValues() []TrackPropertyType

PossibleTrackPropertyTypeValues returns an array of possible values for the TrackPropertyType const type.

type TrackSelection

TrackSelection class to select a track

type TrackSelection struct {
    // TrackSelections - TrackSelections is a track property condition list which can specify track(s)
    TrackSelections *[]TrackPropertyCondition `json:"trackSelections,omitempty"`
}

type TrackedResource

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Transform

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.

type Transform struct {
    autorest.Response `json:"-"`
    // TransformProperties - The resource properties.
    *TransformProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource.
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

func (Transform) MarshalJSON

func (t Transform) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Transform.

func (*Transform) UnmarshalJSON

func (t *Transform) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Transform struct.

type TransformCollection

TransformCollection a collection of Transform items.

type TransformCollection struct {
    autorest.Response `json:"-"`
    // Value - A collection of Transform items.
    Value *[]Transform `json:"value,omitempty"`
    // OdataNextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
    OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

func (TransformCollection) IsEmpty

func (tc TransformCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TransformCollectionIterator

TransformCollectionIterator provides access to a complete listing of Transform values.

type TransformCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewTransformCollectionIterator

func NewTransformCollectionIterator(page TransformCollectionPage) TransformCollectionIterator

Creates a new instance of the TransformCollectionIterator type.

func (*TransformCollectionIterator) Next

func (iter *TransformCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TransformCollectionIterator) NextWithContext

func (iter *TransformCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TransformCollectionIterator) NotDone

func (iter TransformCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TransformCollectionIterator) Response

func (iter TransformCollectionIterator) Response() TransformCollection

Response returns the raw server response from the last page request.

func (TransformCollectionIterator) Value

func (iter TransformCollectionIterator) Value() Transform

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TransformCollectionPage

TransformCollectionPage contains a page of Transform values.

type TransformCollectionPage struct {
    // contains filtered or unexported fields
}

func NewTransformCollectionPage

func NewTransformCollectionPage(cur TransformCollection, getNextPage func(context.Context, TransformCollection) (TransformCollection, error)) TransformCollectionPage

Creates a new instance of the TransformCollectionPage type.

func (*TransformCollectionPage) Next

func (page *TransformCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TransformCollectionPage) NextWithContext

func (page *TransformCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TransformCollectionPage) NotDone

func (page TransformCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TransformCollectionPage) Response

func (page TransformCollectionPage) Response() TransformCollection

Response returns the raw server response from the last page request.

func (TransformCollectionPage) Values

func (page TransformCollectionPage) Values() []Transform

Values returns the slice of values for the current page or nil if there are no values.

type TransformOutput

TransformOutput describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.

type TransformOutput struct {
    // 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: 'OnErrorTypeStopProcessingJob', 'OnErrorTypeContinueJob'
    OnError OnErrorType `json:"onError,omitempty"`
    // 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: 'PriorityLow', 'PriorityNormal', 'PriorityHigh'
    RelativePriority Priority `json:"relativePriority,omitempty"`
    // 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 BasicPreset `json:"preset,omitempty"`
}

func (*TransformOutput) UnmarshalJSON

func (toVar *TransformOutput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TransformOutput struct.

type TransformProperties

TransformProperties a Transform.

type TransformProperties struct {
    // Created - READ-ONLY; The UTC date and time when the Transform was created, in 'YYYY-MM-DDThh:mm:ssZ' format.
    Created *date.Time `json:"created,omitempty"`
    // Description - An optional verbose description of the Transform.
    Description *string `json:"description,omitempty"`
    // LastModified - READ-ONLY; The UTC date and time when the Transform was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format.
    LastModified *date.Time `json:"lastModified,omitempty"`
    // Outputs - An array of one or more TransformOutputs that the Transform should generate.
    Outputs *[]TransformOutput `json:"outputs,omitempty"`
}

func (TransformProperties) MarshalJSON

func (tp TransformProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TransformProperties.

type TransformsClient

TransformsClient is the client for the Transforms methods of the Media service.

type TransformsClient struct {
    BaseClient
}

func NewTransformsClient

func NewTransformsClient(subscriptionID string) TransformsClient

NewTransformsClient creates an instance of the TransformsClient client.

func NewTransformsClientWithBaseURI

func NewTransformsClientWithBaseURI(baseURI string, subscriptionID string) TransformsClient

NewTransformsClientWithBaseURI creates an instance of the TransformsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TransformsClient) CreateOrUpdate

func (client TransformsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (result Transform, err error)

CreateOrUpdate creates or updates a new Transform. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. parameters - the request parameters

func (TransformsClient) CreateOrUpdatePreparer

func (client TransformsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TransformsClient) CreateOrUpdateResponder

func (client TransformsClient) CreateOrUpdateResponder(resp *http.Response) (result Transform, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TransformsClient) CreateOrUpdateSender

func (client TransformsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (TransformsClient) Delete

func (client TransformsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result autorest.Response, err error)

Delete deletes a Transform. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name.

func (TransformsClient) DeletePreparer

func (client TransformsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TransformsClient) DeleteResponder

func (client TransformsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (TransformsClient) DeleteSender

func (client TransformsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (TransformsClient) Get

func (client TransformsClient) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result Transform, err error)

Get gets a Transform. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name.

func (TransformsClient) GetPreparer

func (client TransformsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TransformsClient) GetResponder

func (client TransformsClient) GetResponder(resp *http.Response) (result Transform, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TransformsClient) GetSender

func (client TransformsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TransformsClient) List

func (client TransformsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionPage, err error)

List lists the Transforms in the account. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. filter - restricts the set of items returned. orderby - specifies the key by which the result collection should be ordered.

func (TransformsClient) ListComplete

func (client TransformsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TransformsClient) ListPreparer

func (client TransformsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (TransformsClient) ListResponder

func (client TransformsClient) ListResponder(resp *http.Response) (result TransformCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TransformsClient) ListSender

func (client TransformsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (TransformsClient) Update

func (client TransformsClient) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (result Transform, err error)

Update updates a Transform. Parameters: resourceGroupName - the name of the resource group within the Azure subscription. accountName - the Media Services account name. transformName - the Transform name. parameters - the request parameters

func (TransformsClient) UpdatePreparer

func (client TransformsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters Transform) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (TransformsClient) UpdateResponder

func (client TransformsClient) UpdateResponder(resp *http.Response) (result Transform, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (TransformsClient) UpdateSender

func (client TransformsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type TransportStreamFormat

TransportStreamFormat describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC 13818-1) output video file(s).

type TransportStreamFormat struct {
    // 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 `json:"outputFiles,omitempty"`
    // FilenamePattern - The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {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. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicFormatOdataTypeFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaImageFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaJpgFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaPngFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaMp4Format', 'OdataTypeBasicFormatOdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

func (TransportStreamFormat) AsBasicFormat

func (tsf TransportStreamFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsBasicImageFormat

func (tsf TransportStreamFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsBasicMultiBitrateFormat

func (tsf TransportStreamFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsFormat

func (tsf TransportStreamFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsImageFormat

func (tsf TransportStreamFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsJpgFormat

func (tsf TransportStreamFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsMp4Format

func (tsf TransportStreamFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsMultiBitrateFormat

func (tsf TransportStreamFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsPngFormat

func (tsf TransportStreamFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) AsTransportStreamFormat

func (tsf TransportStreamFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for TransportStreamFormat.

func (TransportStreamFormat) MarshalJSON

func (tsf TransportStreamFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TransportStreamFormat.

type UserAssignedManagedIdentity

UserAssignedManagedIdentity ...

type UserAssignedManagedIdentity struct {
    // ClientID - READ-ONLY; The client ID.
    ClientID *uuid.UUID `json:"clientId,omitempty"`
    // PrincipalID - READ-ONLY; The principal ID.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
}

func (UserAssignedManagedIdentity) MarshalJSON

func (uami UserAssignedManagedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserAssignedManagedIdentity.

type UtcClipTime

UtcClipTime specifies the clip time as a Utc time position in the media file. The Utc time can point to a different position depending on whether the media file starts from a timestamp of zero or not.

type UtcClipTime struct {
    // Time - The time position on the timeline of the input media based on Utc time.
    Time *date.Time `json:"time,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicClipTimeOdataTypeClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime', 'OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime'
    OdataType OdataTypeBasicClipTime `json:"@odata.type,omitempty"`
}

func (UtcClipTime) AsAbsoluteClipTime

func (uct UtcClipTime) AsAbsoluteClipTime() (*AbsoluteClipTime, bool)

AsAbsoluteClipTime is the BasicClipTime implementation for UtcClipTime.

func (UtcClipTime) AsBasicClipTime

func (uct UtcClipTime) AsBasicClipTime() (BasicClipTime, bool)

AsBasicClipTime is the BasicClipTime implementation for UtcClipTime.

func (UtcClipTime) AsClipTime

func (uct UtcClipTime) AsClipTime() (*ClipTime, bool)

AsClipTime is the BasicClipTime implementation for UtcClipTime.

func (UtcClipTime) AsUtcClipTime

func (uct UtcClipTime) AsUtcClipTime() (*UtcClipTime, bool)

AsUtcClipTime is the BasicClipTime implementation for UtcClipTime.

func (UtcClipTime) MarshalJSON

func (uct UtcClipTime) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UtcClipTime.

type Video

Video describes the basic properties for encoding the input video.

type Video struct {
    // KeyFrameInterval - The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.
    KeyFrameInterval *string `json:"keyFrameInterval,omitempty"`
    // StretchMode - The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'StretchModeNone', 'StretchModeAutoSize', 'StretchModeAutoFit'
    StretchMode StretchMode `json:"stretchMode,omitempty"`
    // SyncMode - The Video Sync Mode. Possible values include: 'VideoSyncModeAuto', 'VideoSyncModePassthrough', 'VideoSyncModeCfr', 'VideoSyncModeVfr'
    SyncMode VideoSyncMode `json:"syncMode,omitempty"`
    // Label - An optional label for the codec. The label can be used to control muxing behavior.
    Label *string `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicCodecOdataTypeCodec', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage', 'OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

func (Video) AsAacAudio

func (vVar Video) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for Video.

func (Video) AsAudio

func (vVar Video) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for Video.

func (Video) AsBasicAudio

func (vVar Video) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for Video.

func (Video) AsBasicCodec

func (vVar Video) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for Video.

func (Video) AsBasicImage

func (vVar Video) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for Video.

func (Video) AsBasicVideo

func (vVar Video) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for Video.

func (Video) AsCodec

func (vVar Video) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for Video.

func (Video) AsCopyAudio

func (vVar Video) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for Video.

func (Video) AsCopyVideo

func (vVar Video) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for Video.

func (Video) AsH264Video

func (vVar Video) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for Video.

func (Video) AsH265Video

func (vVar Video) AsH265Video() (*H265Video, bool)

AsH265Video is the BasicCodec implementation for Video.

func (Video) AsImage

func (vVar Video) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for Video.

func (Video) AsJpgImage

func (vVar Video) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for Video.

func (Video) AsPngImage

func (vVar Video) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for Video.

func (Video) AsVideo

func (vVar Video) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for Video.

func (Video) MarshalJSON

func (vVar Video) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Video.

type VideoAnalyzerPreset

VideoAnalyzerPreset a video analyzer preset that extracts insights (rich metadata) from both audio and video, and outputs a JSON format file.

type VideoAnalyzerPreset struct {
    // InsightsToExtract - Defines the type of insights that you want the service to generate. The allowed values are 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out. Possible values include: 'InsightsTypeAudioInsightsOnly', 'InsightsTypeVideoInsightsOnly', 'InsightsTypeAllInsights'
    InsightsToExtract InsightsType `json:"insightsToExtract,omitempty"`
    // AudioLanguage - The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US').  If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode::Basic, since automatic language detection is not included in basic mode. 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. 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'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463
    AudioLanguage *string `json:"audioLanguage,omitempty"`
    // Mode - Determines the set of audio analysis operations to be performed. If unspecified, the Standard AudioAnalysisMode would be chosen. Possible values include: 'AudioAnalysisModeStandard', 'AudioAnalysisModeBasic'
    Mode AudioAnalysisMode `json:"mode,omitempty"`
    // ExperimentalOptions - Dictionary containing key value pairs for parameters not exposed in the preset itself
    ExperimentalOptions map[string]*string `json:"experimentalOptions"`
    // OdataType - Possible values include: 'OdataTypeBasicPresetOdataTypePreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeBasicPresetOdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

func (VideoAnalyzerPreset) AsAudioAnalyzerPreset

func (vap VideoAnalyzerPreset) AsAudioAnalyzerPreset() (*AudioAnalyzerPreset, bool)

AsAudioAnalyzerPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsBasicAudioAnalyzerPreset

func (vap VideoAnalyzerPreset) AsBasicAudioAnalyzerPreset() (BasicAudioAnalyzerPreset, bool)

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsBasicPreset

func (vap VideoAnalyzerPreset) AsBasicPreset() (BasicPreset, bool)

AsBasicPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsBuiltInStandardEncoderPreset

func (vap VideoAnalyzerPreset) AsBuiltInStandardEncoderPreset() (*BuiltInStandardEncoderPreset, bool)

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsFaceDetectorPreset

func (vap VideoAnalyzerPreset) AsFaceDetectorPreset() (*FaceDetectorPreset, bool)

AsFaceDetectorPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsPreset

func (vap VideoAnalyzerPreset) AsPreset() (*Preset, bool)

AsPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsStandardEncoderPreset

func (vap VideoAnalyzerPreset) AsStandardEncoderPreset() (*StandardEncoderPreset, bool)

AsStandardEncoderPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) AsVideoAnalyzerPreset

func (vap VideoAnalyzerPreset) AsVideoAnalyzerPreset() (*VideoAnalyzerPreset, bool)

AsVideoAnalyzerPreset is the BasicPreset implementation for VideoAnalyzerPreset.

func (VideoAnalyzerPreset) MarshalJSON

func (vap VideoAnalyzerPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoAnalyzerPreset.

type VideoLayer

VideoLayer describes the settings to be used when encoding the input video into a desired output bitrate layer.

type VideoLayer struct {
    // 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 *int32 `json:"bitrate,omitempty"`
    // 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 *int32 `json:"maxBitrate,omitempty"`
    // 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 *int32 `json:"bFrames,omitempty"`
    // 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 `json:"frameRate,omitempty"`
    // 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 *int32 `json:"slices,omitempty"`
    // 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 *bool `json:"adaptiveBFrame,omitempty"`
    // 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 `json:"width,omitempty"`
    // 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 `json:"height,omitempty"`
    // 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 `json:"label,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicLayerOdataTypeLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265VideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH265Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaVideoLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaH264Layer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaJpgLayer', 'OdataTypeBasicLayerOdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

func (VideoLayer) AsBasicH265VideoLayer

func (vl VideoLayer) AsBasicH265VideoLayer() (BasicH265VideoLayer, bool)

AsBasicH265VideoLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsBasicLayer

func (vl VideoLayer) AsBasicLayer() (BasicLayer, bool)

AsBasicLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsBasicVideoLayer

func (vl VideoLayer) AsBasicVideoLayer() (BasicVideoLayer, bool)

AsBasicVideoLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsH264Layer

func (vl VideoLayer) AsH264Layer() (*H264Layer, bool)

AsH264Layer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsH265Layer

func (vl VideoLayer) AsH265Layer() (*H265Layer, bool)

AsH265Layer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsH265VideoLayer

func (vl VideoLayer) AsH265VideoLayer() (*H265VideoLayer, bool)

AsH265VideoLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsJpgLayer

func (vl VideoLayer) AsJpgLayer() (*JpgLayer, bool)

AsJpgLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsLayer

func (vl VideoLayer) AsLayer() (*Layer, bool)

AsLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsPngLayer

func (vl VideoLayer) AsPngLayer() (*PngLayer, bool)

AsPngLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) AsVideoLayer

func (vl VideoLayer) AsVideoLayer() (*VideoLayer, bool)

AsVideoLayer is the BasicLayer implementation for VideoLayer.

func (VideoLayer) MarshalJSON

func (vl VideoLayer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoLayer.

type VideoOverlay

VideoOverlay describes the properties of a video overlay.

type VideoOverlay struct {
    // Position - The location in the input video where the overlay is applied.
    Position *Rectangle `json:"position,omitempty"`
    // 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 *float64 `json:"opacity,omitempty"`
    // CropRectangle - An optional rectangular window used to crop the overlay image or video.
    CropRectangle *Rectangle `json:"cropRectangle,omitempty"`
    // 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, PNG, GIF or BMP format, 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 `json:"inputLabel,omitempty"`
    // 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 into the input video. If not specified the overlay starts from the beginning of the input video.
    Start *string `json:"start,omitempty"`
    // End - The end position, with reference to the input video, at which the overlay ends. The value should be in ISO 8601 format. For example, PT30S to end the overlay at 30 seconds into the input video. If not specified or the value is greater than the input video duration, the overlay will be applied until the end of the input video if the overlay media duration is greater than the input video duration, else the overlay will last as long as the overlay media duration.
    End *string `json:"end,omitempty"`
    // 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 `json:"fadeInDuration,omitempty"`
    // 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 `json:"fadeOutDuration,omitempty"`
    // 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 *float64 `json:"audioGainLevel,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicOverlayOdataTypeOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaAudioOverlay', 'OdataTypeBasicOverlayOdataTypeMicrosoftMediaVideoOverlay'
    OdataType OdataTypeBasicOverlay `json:"@odata.type,omitempty"`
}

func (VideoOverlay) AsAudioOverlay

func (vo VideoOverlay) AsAudioOverlay() (*AudioOverlay, bool)

AsAudioOverlay is the BasicOverlay implementation for VideoOverlay.

func (VideoOverlay) AsBasicOverlay

func (vo VideoOverlay) AsBasicOverlay() (BasicOverlay, bool)

AsBasicOverlay is the BasicOverlay implementation for VideoOverlay.

func (VideoOverlay) AsOverlay

func (vo VideoOverlay) AsOverlay() (*Overlay, bool)

AsOverlay is the BasicOverlay implementation for VideoOverlay.

func (VideoOverlay) AsVideoOverlay

func (vo VideoOverlay) AsVideoOverlay() (*VideoOverlay, bool)

AsVideoOverlay is the BasicOverlay implementation for VideoOverlay.

func (VideoOverlay) MarshalJSON

func (vo VideoOverlay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoOverlay.

type VideoSyncMode

VideoSyncMode enumerates the values for video sync mode.

type VideoSyncMode string
const (
    // VideoSyncModeAuto This is the default method. Chooses between Cfr and Vfr depending on muxer
    // capabilities. For output format MP4, the default mode is Cfr.
    VideoSyncModeAuto VideoSyncMode = "Auto"
    // VideoSyncModeCfr Input frames will be repeated and/or dropped as needed to achieve exactly the requested
    // constant frame rate. Recommended when the output frame rate is explicitly set at a specified value
    VideoSyncModeCfr VideoSyncMode = "Cfr"
    // VideoSyncModePassthrough The presentation timestamps on frames are passed through from the input file to
    // the output file writer. Recommended when the input source has variable frame rate, and are attempting to
    // produce multiple layers for adaptive streaming in the output which have aligned GOP boundaries. Note: if
    // two or more frames in the input have duplicate timestamps, then the output will also have the same
    // behavior
    VideoSyncModePassthrough VideoSyncMode = "Passthrough"
    // VideoSyncModeVfr Similar to the Passthrough mode, but if the input has frames that have duplicate
    // timestamps, then only one frame is passed through to the output, and others are dropped. Recommended
    // when the number of output frames is expected to be equal to the number of input frames. For example, the
    // output is used to calculate a quality metric like PSNR against the input
    VideoSyncModeVfr VideoSyncMode = "Vfr"
)

func PossibleVideoSyncModeValues

func PossibleVideoSyncModeValues() []VideoSyncMode

PossibleVideoSyncModeValues returns an array of possible values for the VideoSyncMode const type.

type VideoTrackDescriptor

VideoTrackDescriptor a TrackSelection to select video tracks.

type VideoTrackDescriptor struct {
    // OdataType - Possible values include: 'OdataTypeBasicTrackDescriptorOdataTypeTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaAudioTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectAudioTrackByID', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaVideoTrackDescriptor', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByAttribute', 'OdataTypeBasicTrackDescriptorOdataTypeMicrosoftMediaSelectVideoTrackByID'
    OdataType OdataTypeBasicTrackDescriptor `json:"@odata.type,omitempty"`
}

func (VideoTrackDescriptor) AsAudioTrackDescriptor

func (vtd VideoTrackDescriptor) AsAudioTrackDescriptor() (*AudioTrackDescriptor, bool)

AsAudioTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsBasicAudioTrackDescriptor

func (vtd VideoTrackDescriptor) AsBasicAudioTrackDescriptor() (BasicAudioTrackDescriptor, bool)

AsBasicAudioTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsBasicTrackDescriptor

func (vtd VideoTrackDescriptor) AsBasicTrackDescriptor() (BasicTrackDescriptor, bool)

AsBasicTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsBasicVideoTrackDescriptor

func (vtd VideoTrackDescriptor) AsBasicVideoTrackDescriptor() (BasicVideoTrackDescriptor, bool)

AsBasicVideoTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsSelectAudioTrackByAttribute

func (vtd VideoTrackDescriptor) AsSelectAudioTrackByAttribute() (*SelectAudioTrackByAttribute, bool)

AsSelectAudioTrackByAttribute is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsSelectAudioTrackByID

func (vtd VideoTrackDescriptor) AsSelectAudioTrackByID() (*SelectAudioTrackByID, bool)

AsSelectAudioTrackByID is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsSelectVideoTrackByAttribute

func (vtd VideoTrackDescriptor) AsSelectVideoTrackByAttribute() (*SelectVideoTrackByAttribute, bool)

AsSelectVideoTrackByAttribute is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsSelectVideoTrackByID

func (vtd VideoTrackDescriptor) AsSelectVideoTrackByID() (*SelectVideoTrackByID, bool)

AsSelectVideoTrackByID is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsTrackDescriptor

func (vtd VideoTrackDescriptor) AsTrackDescriptor() (*TrackDescriptor, bool)

AsTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) AsVideoTrackDescriptor

func (vtd VideoTrackDescriptor) AsVideoTrackDescriptor() (*VideoTrackDescriptor, bool)

AsVideoTrackDescriptor is the BasicTrackDescriptor implementation for VideoTrackDescriptor.

func (VideoTrackDescriptor) MarshalJSON

func (vtd VideoTrackDescriptor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoTrackDescriptor.

Subdirectories

Name Synopsis
..
mediaapi Deprecated: Please note, this package has been deprecated.