azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media Index | Files | Directories

package media

import "github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media"

Package media implements the Azure ARM Media service API version 2018-07-01.

Index

Package Files

accountfilters.go assetfilters.go assets.go client.go contentkeypolicies.go jobs.go liveevents.go liveoutputs.go locations.go mediaservices.go models.go operations.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 Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type APIError Uses

type APIError struct {
    // Error - The error properties.
    Error *ODataError `json:"error,omitempty"`
}

APIError the API error.

type AacAudio Uses

type AacAudio struct {
    // Profile - The encoding profile to be used when encoding audio with AAC. Possible values include: 'AacLc', 'HeAacV1', 'HeAacV2'
    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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

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

func (AacAudio) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsAudio Uses

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

AsAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCodec Uses

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

AsCodec is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for AacAudio.

func (AacAudio) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for AacAudio.

func (AacAudio) AsImage Uses

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

AsImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for AacAudio.

func (AacAudio) AsVideo Uses

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

AsVideo is the BasicCodec implementation for AacAudio.

func (AacAudio) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AacAudio.

type AacAudioProfile Uses

type AacAudioProfile string

AacAudioProfile enumerates the values for aac audio profile.

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

func PossibleAacAudioProfileValues Uses

func PossibleAacAudioProfileValues() []AacAudioProfile

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

type AbsoluteClipTime Uses

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: 'OdataTypeClipTime', 'OdataTypeMicrosoftMediaAbsoluteClipTime'
    OdataType OdataTypeBasicClipTime `json:"@odata.type,omitempty"`
}

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.

func (AbsoluteClipTime) AsAbsoluteClipTime Uses

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

AsAbsoluteClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) AsBasicClipTime Uses

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

AsBasicClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) AsClipTime Uses

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

AsClipTime is the BasicClipTime implementation for AbsoluteClipTime.

func (AbsoluteClipTime) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AbsoluteClipTime.

type AccountFilter Uses

type AccountFilter struct {
    autorest.Response `json:"-"`
    *FilterProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource.
    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.
    Type *string `json:"type,omitempty"`
}

AccountFilter an Account Filter.

func (AccountFilter) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AccountFilter.

func (*AccountFilter) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AccountFilter struct.

type AccountFilterCollection Uses

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"`
}

AccountFilterCollection a collection of AccountFilter items.

func (AccountFilterCollection) IsEmpty Uses

func (afc AccountFilterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountFilterCollectionIterator Uses

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

AccountFilterCollectionIterator provides access to a complete listing of AccountFilter values.

func NewAccountFilterCollectionIterator Uses

func NewAccountFilterCollectionIterator(page AccountFilterCollectionPage) AccountFilterCollectionIterator

Creates a new instance of the AccountFilterCollectionIterator type.

func (*AccountFilterCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter AccountFilterCollectionIterator) NotDone() bool

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

func (AccountFilterCollectionIterator) Response Uses

func (iter AccountFilterCollectionIterator) Response() AccountFilterCollection

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

func (AccountFilterCollectionIterator) Value Uses

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 Uses

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

AccountFilterCollectionPage contains a page of AccountFilter values.

func NewAccountFilterCollectionPage Uses

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

Creates a new instance of the AccountFilterCollectionPage type.

func (*AccountFilterCollectionPage) Next Uses

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 Uses

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 Uses

func (page AccountFilterCollectionPage) NotDone() bool

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

func (AccountFilterCollectionPage) Response Uses

func (page AccountFilterCollectionPage) Response() AccountFilterCollection

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

func (AccountFilterCollectionPage) Values Uses

func (page AccountFilterCollectionPage) Values() []AccountFilter

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

type AccountFiltersClient Uses

type AccountFiltersClient struct {
    BaseClient
}

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

func NewAccountFiltersClient Uses

func NewAccountFiltersClient(subscriptionID string) AccountFiltersClient

NewAccountFiltersClient creates an instance of the AccountFiltersClient client.

func NewAccountFiltersClientWithBaseURI Uses

func NewAccountFiltersClientWithBaseURI(baseURI string, subscriptionID string) AccountFiltersClient

NewAccountFiltersClientWithBaseURI creates an instance of the AccountFiltersClient client.

func (AccountFiltersClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AccountFiltersClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AccountFiltersClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (AccountFiltersClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 AkamaiAccessControl Uses

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

AkamaiAccessControl akamai access control

type AkamaiSignatureHeaderAuthenticationKey Uses

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"`
}

AkamaiSignatureHeaderAuthenticationKey akamai Signature Header authentication key.

type AnalysisResolution Uses

type AnalysisResolution string

AnalysisResolution enumerates the values for analysis resolution.

const (
    // SourceResolution ...
    SourceResolution AnalysisResolution = "SourceResolution"
    // StandardDefinition ...
    StandardDefinition AnalysisResolution = "StandardDefinition"
)

func PossibleAnalysisResolutionValues Uses

func PossibleAnalysisResolutionValues() []AnalysisResolution

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

type Asset Uses

type Asset struct {
    autorest.Response `json:"-"`
    // AssetProperties - The resource properties.
    *AssetProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource.
    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.
    Type *string `json:"type,omitempty"`
}

Asset an Asset.

func (Asset) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Asset.

func (*Asset) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Asset struct.

type AssetCollection Uses

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"`
}

AssetCollection a collection of Asset items.

func (AssetCollection) IsEmpty Uses

func (ac AssetCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssetCollectionIterator Uses

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

AssetCollectionIterator provides access to a complete listing of Asset values.

func NewAssetCollectionIterator Uses

func NewAssetCollectionIterator(page AssetCollectionPage) AssetCollectionIterator

Creates a new instance of the AssetCollectionIterator type.

func (*AssetCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter AssetCollectionIterator) NotDone() bool

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

func (AssetCollectionIterator) Response Uses

func (iter AssetCollectionIterator) Response() AssetCollection

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

func (AssetCollectionIterator) Value Uses

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 Uses

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

AssetCollectionPage contains a page of Asset values.

func NewAssetCollectionPage Uses

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

Creates a new instance of the AssetCollectionPage type.

func (*AssetCollectionPage) Next Uses

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 Uses

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 Uses

func (page AssetCollectionPage) NotDone() bool

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

func (AssetCollectionPage) Response Uses

func (page AssetCollectionPage) Response() AssetCollection

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

func (AssetCollectionPage) Values Uses

func (page AssetCollectionPage) Values() []Asset

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

type AssetContainerPermission Uses

type AssetContainerPermission string

AssetContainerPermission enumerates the values for asset container permission.

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

func PossibleAssetContainerPermissionValues Uses

func PossibleAssetContainerPermissionValues() []AssetContainerPermission

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

type AssetContainerSas Uses

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

AssetContainerSas the Asset Storage container SAS URLs.

type AssetFileEncryptionMetadata Uses

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"`
}

AssetFileEncryptionMetadata the Asset File Storage encryption metadata.

type AssetFilter Uses

type AssetFilter struct {
    autorest.Response `json:"-"`
    *FilterProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource.
    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.
    Type *string `json:"type,omitempty"`
}

AssetFilter an Asset Filter.

func (AssetFilter) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AssetFilter.

func (*AssetFilter) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AssetFilter struct.

type AssetFilterCollection Uses

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"`
}

AssetFilterCollection a collection of AssetFilter items.

func (AssetFilterCollection) IsEmpty Uses

func (afc AssetFilterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssetFilterCollectionIterator Uses

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

AssetFilterCollectionIterator provides access to a complete listing of AssetFilter values.

func NewAssetFilterCollectionIterator Uses

func NewAssetFilterCollectionIterator(page AssetFilterCollectionPage) AssetFilterCollectionIterator

Creates a new instance of the AssetFilterCollectionIterator type.

func (*AssetFilterCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter AssetFilterCollectionIterator) NotDone() bool

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

func (AssetFilterCollectionIterator) Response Uses

func (iter AssetFilterCollectionIterator) Response() AssetFilterCollection

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

func (AssetFilterCollectionIterator) Value Uses

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 Uses

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

AssetFilterCollectionPage contains a page of AssetFilter values.

func NewAssetFilterCollectionPage Uses

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

Creates a new instance of the AssetFilterCollectionPage type.

func (*AssetFilterCollectionPage) Next Uses

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 Uses

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 Uses

func (page AssetFilterCollectionPage) NotDone() bool

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

func (AssetFilterCollectionPage) Response Uses

func (page AssetFilterCollectionPage) Response() AssetFilterCollection

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

func (AssetFilterCollectionPage) Values Uses

func (page AssetFilterCollectionPage) Values() []AssetFilter

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

type AssetFiltersClient Uses

type AssetFiltersClient struct {
    BaseClient
}

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

func NewAssetFiltersClient Uses

func NewAssetFiltersClient(subscriptionID string) AssetFiltersClient

NewAssetFiltersClient creates an instance of the AssetFiltersClient client.

func NewAssetFiltersClientWithBaseURI Uses

func NewAssetFiltersClientWithBaseURI(baseURI string, subscriptionID string) AssetFiltersClient

NewAssetFiltersClientWithBaseURI creates an instance of the AssetFiltersClient client.

func (AssetFiltersClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (AssetFiltersClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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: 'None', 'MediaStorageClientEncryption'
    StorageEncryptionFormat AssetStorageEncryptionFormat `json:"storageEncryptionFormat,omitempty"`
}

AssetProperties the Asset properties.

type AssetStorageEncryptionFormat Uses

type AssetStorageEncryptionFormat string

AssetStorageEncryptionFormat enumerates the values for asset storage encryption format.

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

func PossibleAssetStorageEncryptionFormatValues Uses

func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat

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

type AssetStreamingLocator Uses

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"`
}

AssetStreamingLocator properties of the Streaming Locator.

type AssetsClient Uses

type AssetsClient struct {
    BaseClient
}

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

func NewAssetsClient Uses

func NewAssetsClient(subscriptionID string) AssetsClient

NewAssetsClient creates an instance of the AssetsClient client.

func NewAssetsClientWithBaseURI Uses

func NewAssetsClientWithBaseURI(baseURI string, subscriptionID string) AssetsClient

NewAssetsClientWithBaseURI creates an instance of the AssetsClient client.

func (AssetsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AssetsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetEncryptionKeyPreparer prepares the GetEncryptionKey request.

func (AssetsClient) GetEncryptionKeyResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AssetsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListStreamingLocatorsPreparer prepares the ListStreamingLocators request.

func (AssetsClient) ListStreamingLocatorsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Audio Uses

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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

Audio defines the common properties for all audio codecs.

func (Audio) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for Audio.

func (Audio) AsAudio Uses

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

AsAudio is the BasicCodec implementation for Audio.

func (Audio) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for Audio.

func (Audio) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for Audio.

func (Audio) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for Audio.

func (Audio) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for Audio.

func (Audio) AsCodec Uses

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

AsCodec is the BasicCodec implementation for Audio.

func (Audio) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for Audio.

func (Audio) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for Audio.

func (Audio) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for Audio.

func (Audio) AsImage Uses

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

AsImage is the BasicCodec implementation for Audio.

func (Audio) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for Audio.

func (Audio) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for Audio.

func (Audio) AsVideo Uses

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

AsVideo is the BasicCodec implementation for Audio.

func (Audio) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Audio.

type AudioAnalyzerPreset Uses

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').  The list of supported languages are English ('en-US' and 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language of your content, it is recommended that you specify it. If the language isn't specified or set to null, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. This language detection feature currently supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'."
    AudioLanguage *string `json:"audioLanguage,omitempty"`
    // OdataType - Possible values include: 'OdataTypePreset', 'OdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

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.

func (AudioAnalyzerPreset) AsAudioAnalyzerPreset Uses

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

AsAudioAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBasicAudioAnalyzerPreset Uses

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

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBasicPreset Uses

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

AsBasicPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsBuiltInStandardEncoderPreset Uses

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

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsFaceDetectorPreset Uses

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

AsFaceDetectorPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsPreset Uses

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

AsPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsStandardEncoderPreset Uses

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

AsStandardEncoderPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) AsVideoAnalyzerPreset Uses

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

AsVideoAnalyzerPreset is the BasicPreset implementation for AudioAnalyzerPreset.

func (AudioAnalyzerPreset) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AudioAnalyzerPreset.

type AudioOverlay Uses

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 or PNG formats, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats.
    InputLabel *string `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 in to the input video. If not specified the overlay starts from the beginning of the input video.
    Start *string `json:"start,omitempty"`
    // End - The position in the input video at which the overlay ends. The value should be in ISO 8601 duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If not specified the overlay will be applied until the end of the input video if inputLoop is true. Else, if inputLoop is false, then overlay will last as long as the duration of the overlay media.
    End *string `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: 'OdataTypeOverlay', 'OdataTypeMicrosoftMediaAudioOverlay', 'OdataTypeMicrosoftMediaVideoOverlay'
    OdataType OdataTypeBasicOverlay `json:"@odata.type,omitempty"`
}

AudioOverlay describes the properties of an audio overlay.

func (AudioOverlay) AsAudioOverlay Uses

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

AsAudioOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsBasicOverlay Uses

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

AsBasicOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsOverlay Uses

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

AsOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) AsVideoOverlay Uses

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

AsVideoOverlay is the BasicOverlay implementation for AudioOverlay.

func (AudioOverlay) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AudioOverlay.

type BaseClient Uses

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

BaseClient is the base client for Media.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicAudio Uses

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

BasicAudio defines the common properties for all audio codecs.

type BasicAudioAnalyzerPreset Uses

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

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 BasicClipTime Uses

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

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

type BasicCodec Uses

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

BasicCodec describes the basic properties of all codecs.

type BasicContentKeyPolicyConfiguration Uses

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

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

type BasicContentKeyPolicyPlayReadyContentKeyLocation Uses

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

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

type BasicContentKeyPolicyRestriction Uses

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

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

type BasicContentKeyPolicyRestrictionTokenKey Uses

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

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

type BasicFormat Uses

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)
}

BasicFormat base class for output.

type BasicImage Uses

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

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

type BasicImageFormat Uses

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

BasicImageFormat describes the properties for an output image file.

type BasicJobInput Uses

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

BasicJobInput base class for inputs to a Job.

type BasicJobInputClip Uses

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

BasicJobInputClip represents input files for a Job.

type BasicJobOutput Uses

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

BasicJobOutput describes all the properties of a JobOutput.

type BasicLayer Uses

type BasicLayer interface {
    AsVideoLayer() (*VideoLayer, bool)
    AsBasicVideoLayer() (BasicVideoLayer, bool)
    AsH264Layer() (*H264Layer, bool)
    AsJpgLayer() (*JpgLayer, bool)
    AsPngLayer() (*PngLayer, bool)
    AsLayer() (*Layer, bool)
}

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

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

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 BasicOverlay Uses

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

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

type BasicPreset Uses

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

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

type BasicVideo Uses

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

BasicVideo describes the basic properties for encoding the input video.

type BasicVideoLayer Uses

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

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

type BuiltInStandardEncoderPreset Uses

type BuiltInStandardEncoderPreset struct {
    // PresetName - The built-in preset to be used for encoding videos. Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD'
    PresetName EncoderNamedPreset `json:"presetName,omitempty"`
    // OdataType - Possible values include: 'OdataTypePreset', 'OdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

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

func (BuiltInStandardEncoderPreset) AsAudioAnalyzerPreset Uses

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

AsAudioAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBasicAudioAnalyzerPreset Uses

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

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBasicPreset Uses

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

AsBasicPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsBuiltInStandardEncoderPreset Uses

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

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsFaceDetectorPreset Uses

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

AsFaceDetectorPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsPreset Uses

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

AsPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsStandardEncoderPreset Uses

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

AsStandardEncoderPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) AsVideoAnalyzerPreset Uses

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

AsVideoAnalyzerPreset is the BasicPreset implementation for BuiltInStandardEncoderPreset.

func (BuiltInStandardEncoderPreset) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for BuiltInStandardEncoderPreset.

type CbcsDrmConfiguration Uses

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"`
}

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

type CencDrmConfiguration Uses

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

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

type CheckNameAvailabilityInput Uses

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"`
}

CheckNameAvailabilityInput the input to the check name availability request.

type ClipTime Uses

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

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

func (ClipTime) AsAbsoluteClipTime Uses

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

AsAbsoluteClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) AsBasicClipTime Uses

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

AsBasicClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) AsClipTime Uses

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

AsClipTime is the BasicClipTime implementation for ClipTime.

func (ClipTime) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClipTime.

type Codec Uses

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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

Codec describes the basic properties of all codecs.

func (Codec) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for Codec.

func (Codec) AsAudio Uses

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

AsAudio is the BasicCodec implementation for Codec.

func (Codec) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for Codec.

func (Codec) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for Codec.

func (Codec) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for Codec.

func (Codec) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for Codec.

func (Codec) AsCodec Uses

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

AsCodec is the BasicCodec implementation for Codec.

func (Codec) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for Codec.

func (Codec) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for Codec.

func (Codec) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for Codec.

func (Codec) AsImage Uses

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

AsImage is the BasicCodec implementation for Codec.

func (Codec) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for Codec.

func (Codec) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for Codec.

func (Codec) AsVideo Uses

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

AsVideo is the BasicCodec implementation for Codec.

func (Codec) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Codec.

type CommonEncryptionCbcs Uses

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"`
}

CommonEncryptionCbcs class for CommonEncryptionCbcs encryption scheme

type CommonEncryptionCenc Uses

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"`
}

CommonEncryptionCenc class for envelope encryption scheme

type ContentKeyPoliciesClient Uses

type ContentKeyPoliciesClient struct {
    BaseClient
}

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

func NewContentKeyPoliciesClient Uses

func NewContentKeyPoliciesClient(subscriptionID string) ContentKeyPoliciesClient

NewContentKeyPoliciesClient creates an instance of the ContentKeyPoliciesClient client.

func NewContentKeyPoliciesClientWithBaseURI Uses

func NewContentKeyPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ContentKeyPoliciesClient

NewContentKeyPoliciesClientWithBaseURI creates an instance of the ContentKeyPoliciesClient client.

func (ContentKeyPoliciesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ContentKeyPoliciesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPolicyPropertiesWithSecretsPreparer prepares the GetPolicyPropertiesWithSecrets request.

func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecretsResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ContentKeyPoliciesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ContentKeyPolicy struct {
    autorest.Response           `json:"-"`
    *ContentKeyPolicyProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource.
    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.
    Type *string `json:"type,omitempty"`
}

ContentKeyPolicy a Content Key Policy resource.

func (ContentKeyPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicy.

func (*ContentKeyPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicy struct.

type ContentKeyPolicyClearKeyConfiguration Uses

type ContentKeyPolicyClearKeyConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

ContentKeyPolicyClearKeyConfiguration represents a configuration for non-DRM keys.

func (ContentKeyPolicyClearKeyConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyClearKeyConfiguration.

func (ContentKeyPolicyClearKeyConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyClearKeyConfiguration.

type ContentKeyPolicyCollection Uses

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"`
}

ContentKeyPolicyCollection a collection of ContentKeyPolicy items.

func (ContentKeyPolicyCollection) IsEmpty Uses

func (ckpc ContentKeyPolicyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ContentKeyPolicyCollectionIterator Uses

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

ContentKeyPolicyCollectionIterator provides access to a complete listing of ContentKeyPolicy values.

func NewContentKeyPolicyCollectionIterator Uses

func NewContentKeyPolicyCollectionIterator(page ContentKeyPolicyCollectionPage) ContentKeyPolicyCollectionIterator

Creates a new instance of the ContentKeyPolicyCollectionIterator type.

func (*ContentKeyPolicyCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter ContentKeyPolicyCollectionIterator) NotDone() bool

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

func (ContentKeyPolicyCollectionIterator) Response Uses

func (iter ContentKeyPolicyCollectionIterator) Response() ContentKeyPolicyCollection

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

func (ContentKeyPolicyCollectionIterator) Value Uses

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 Uses

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

ContentKeyPolicyCollectionPage contains a page of ContentKeyPolicy values.

func NewContentKeyPolicyCollectionPage Uses

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

Creates a new instance of the ContentKeyPolicyCollectionPage type.

func (*ContentKeyPolicyCollectionPage) Next Uses

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 Uses

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 Uses

func (page ContentKeyPolicyCollectionPage) NotDone() bool

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

func (ContentKeyPolicyCollectionPage) Response Uses

func (page ContentKeyPolicyCollectionPage) Response() ContentKeyPolicyCollection

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

func (ContentKeyPolicyCollectionPage) Values Uses

func (page ContentKeyPolicyCollectionPage) Values() []ContentKeyPolicy

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

type ContentKeyPolicyConfiguration Uses

type ContentKeyPolicyConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyConfiguration.

func (ContentKeyPolicyConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyConfiguration.

type ContentKeyPolicyFairPlayConfiguration Uses

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: 'Unknown', 'Undefined', 'PersistentUnlimited', 'PersistentLimited'
    RentalAndLeaseKeyType ContentKeyPolicyFairPlayRentalAndLeaseKeyType `json:"rentalAndLeaseKeyType,omitempty"`
    // RentalDuration - The rental duration. Must be greater than or equal to 0.
    RentalDuration *int64 `json:"rentalDuration,omitempty"`
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

ContentKeyPolicyFairPlayConfiguration specifies a configuration for FairPlay licenses.

func (ContentKeyPolicyFairPlayConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyFairPlayConfiguration.

func (ContentKeyPolicyFairPlayConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyFairPlayConfiguration.

type ContentKeyPolicyFairPlayRentalAndLeaseKeyType Uses

type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string

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

const (
    // PersistentLimited Content key can be persisted and the valid duration is limited by the Rental Duration
    // value
    PersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
    // PersistentUnlimited Content key can be persisted with an unlimited duration
    PersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
    // Undefined Key duration is not specified.
    Undefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
    // Unknown Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API
    // version.
    Unknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
)

func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues Uses

func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType

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

type ContentKeyPolicyOpenRestriction Uses

type ContentKeyPolicyOpenRestriction struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyOpenRestriction) AsBasicContentKeyPolicyRestriction Uses

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

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyOpenRestriction Uses

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

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyRestriction Uses

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

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyTokenRestriction Uses

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

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) AsContentKeyPolicyUnknownRestriction Uses

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

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyOpenRestriction.

func (ContentKeyPolicyOpenRestriction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyOpenRestriction.

type ContentKeyPolicyOption Uses

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"`
}

ContentKeyPolicyOption represents a policy option.

func (*ContentKeyPolicyOption) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyOption struct.

type ContentKeyPolicyPlayReadyConfiguration Uses

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: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

ContentKeyPolicyPlayReadyConfiguration specifies a configuration for PlayReady licenses.

func (ContentKeyPolicyPlayReadyConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyPlayReadyConfiguration.

func (ContentKeyPolicyPlayReadyConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyConfiguration.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader Uses

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

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

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsBasicContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) AsContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader.

type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier Uses

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"`
}

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

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsBasicContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) AsContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.

type ContentKeyPolicyPlayReadyContentKeyLocation Uses

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

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

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsBasicContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsBasicContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier Uses

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

AsContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) AsContentKeyPolicyPlayReadyContentKeyLocation Uses

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

AsContentKeyPolicyPlayReadyContentKeyLocation is the BasicContentKeyPolicyPlayReadyContentKeyLocation implementation for ContentKeyPolicyPlayReadyContentKeyLocation.

func (ContentKeyPolicyPlayReadyContentKeyLocation) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyPlayReadyContentKeyLocation.

type ContentKeyPolicyPlayReadyContentType Uses

type ContentKeyPolicyPlayReadyContentType string

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

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 Uses

func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType

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

type ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction Uses

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"`
}

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

type ContentKeyPolicyPlayReadyLicense Uses

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"`
}

ContentKeyPolicyPlayReadyLicense the PlayReady license

func (*ContentKeyPolicyPlayReadyLicense) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyPlayReadyLicense struct.

type ContentKeyPolicyPlayReadyLicenseType Uses

type ContentKeyPolicyPlayReadyLicenseType string

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

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 Uses

func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType

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

type ContentKeyPolicyPlayReadyPlayRight Uses

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"`
}

ContentKeyPolicyPlayReadyPlayRight configures the Play Right in the PlayReady license.

type ContentKeyPolicyPlayReadyUnknownOutputPassingOption Uses

type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string

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

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 Uses

func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption

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

type ContentKeyPolicyProperties Uses

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"`
}

ContentKeyPolicyProperties the properties of the Content Key Policy.

type ContentKeyPolicyRestriction Uses

type ContentKeyPolicyRestriction struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyRestriction) AsBasicContentKeyPolicyRestriction Uses

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

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyOpenRestriction Uses

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

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyRestriction Uses

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

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyTokenRestriction Uses

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

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) AsContentKeyPolicyUnknownRestriction Uses

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

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyRestriction.

func (ContentKeyPolicyRestriction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyRestriction.

type ContentKeyPolicyRestrictionTokenKey Uses

type ContentKeyPolicyRestrictionTokenKey struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyRestrictionTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey Uses

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

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRestrictionTokenKey Uses

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

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyRsaTokenKey Uses

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

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicySymmetricTokenKey Uses

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

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) AsContentKeyPolicyX509CertificateTokenKey Uses

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

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRestrictionTokenKey.

func (ContentKeyPolicyRestrictionTokenKey) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyRestrictionTokenKey.

type ContentKeyPolicyRestrictionTokenType Uses

type ContentKeyPolicyRestrictionTokenType string

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

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 Uses

func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType

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

type ContentKeyPolicyRsaTokenKey Uses

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: 'OdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

ContentKeyPolicyRsaTokenKey specifies a RSA key for token validation

func (ContentKeyPolicyRsaTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey Uses

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

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRestrictionTokenKey Uses

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

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyRsaTokenKey Uses

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

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicySymmetricTokenKey Uses

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

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) AsContentKeyPolicyX509CertificateTokenKey Uses

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

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyRsaTokenKey.

func (ContentKeyPolicyRsaTokenKey) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyRsaTokenKey.

type ContentKeyPolicySymmetricTokenKey Uses

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

ContentKeyPolicySymmetricTokenKey specifies a symmetric key for token validation.

func (ContentKeyPolicySymmetricTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey Uses

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

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRestrictionTokenKey Uses

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

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyRsaTokenKey Uses

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

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicySymmetricTokenKey Uses

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

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) AsContentKeyPolicyX509CertificateTokenKey Uses

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

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicySymmetricTokenKey.

func (ContentKeyPolicySymmetricTokenKey) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicySymmetricTokenKey.

type ContentKeyPolicyTokenClaim Uses

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

ContentKeyPolicyTokenClaim represents a token claim.

type ContentKeyPolicyTokenRestriction Uses

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: 'OdataTypeContentKeyPolicyRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyTokenRestriction) AsBasicContentKeyPolicyRestriction Uses

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

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyOpenRestriction Uses

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

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyRestriction Uses

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

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyTokenRestriction Uses

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

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) AsContentKeyPolicyUnknownRestriction Uses

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

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyTokenRestriction.

func (ContentKeyPolicyTokenRestriction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyTokenRestriction.

func (*ContentKeyPolicyTokenRestriction) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ContentKeyPolicyTokenRestriction struct.

type ContentKeyPolicyUnknownConfiguration Uses

type ContentKeyPolicyUnknownConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyUnknownConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyUnknownConfiguration.

func (ContentKeyPolicyUnknownConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyUnknownConfiguration.

type ContentKeyPolicyUnknownRestriction Uses

type ContentKeyPolicyUnknownRestriction struct {
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction', 'OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction'
    OdataType OdataTypeBasicContentKeyPolicyRestriction `json:"@odata.type,omitempty"`
}

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

func (ContentKeyPolicyUnknownRestriction) AsBasicContentKeyPolicyRestriction Uses

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

AsBasicContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyOpenRestriction Uses

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

AsContentKeyPolicyOpenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyRestriction Uses

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

AsContentKeyPolicyRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyTokenRestriction Uses

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

AsContentKeyPolicyTokenRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) AsContentKeyPolicyUnknownRestriction Uses

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

AsContentKeyPolicyUnknownRestriction is the BasicContentKeyPolicyRestriction implementation for ContentKeyPolicyUnknownRestriction.

func (ContentKeyPolicyUnknownRestriction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyUnknownRestriction.

type ContentKeyPolicyWidevineConfiguration Uses

type ContentKeyPolicyWidevineConfiguration struct {
    // WidevineTemplate - The Widevine template.
    WidevineTemplate *string `json:"widevineTemplate,omitempty"`
    // OdataType - Possible values include: 'OdataTypeContentKeyPolicyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration', 'OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration'
    OdataType OdataTypeBasicContentKeyPolicyConfiguration `json:"@odata.type,omitempty"`
}

ContentKeyPolicyWidevineConfiguration specifies a configuration for Widevine licenses.

func (ContentKeyPolicyWidevineConfiguration) AsBasicContentKeyPolicyConfiguration Uses

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

AsBasicContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyClearKeyConfiguration Uses

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

AsContentKeyPolicyClearKeyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyConfiguration Uses

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

AsContentKeyPolicyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyFairPlayConfiguration Uses

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

AsContentKeyPolicyFairPlayConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyPlayReadyConfiguration Uses

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

AsContentKeyPolicyPlayReadyConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyUnknownConfiguration Uses

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

AsContentKeyPolicyUnknownConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) AsContentKeyPolicyWidevineConfiguration Uses

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

AsContentKeyPolicyWidevineConfiguration is the BasicContentKeyPolicyConfiguration implementation for ContentKeyPolicyWidevineConfiguration.

func (ContentKeyPolicyWidevineConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyWidevineConfiguration.

type ContentKeyPolicyX509CertificateTokenKey Uses

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: 'OdataTypeContentKeyPolicyRestrictionTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey', 'OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey'
    OdataType OdataTypeBasicContentKeyPolicyRestrictionTokenKey `json:"@odata.type,omitempty"`
}

ContentKeyPolicyX509CertificateTokenKey specifies a certificate for token validation.

func (ContentKeyPolicyX509CertificateTokenKey) AsBasicContentKeyPolicyRestrictionTokenKey Uses

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

AsBasicContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRestrictionTokenKey Uses

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

AsContentKeyPolicyRestrictionTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyRsaTokenKey Uses

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

AsContentKeyPolicyRsaTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicySymmetricTokenKey Uses

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

AsContentKeyPolicySymmetricTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) AsContentKeyPolicyX509CertificateTokenKey Uses

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

AsContentKeyPolicyX509CertificateTokenKey is the BasicContentKeyPolicyRestrictionTokenKey implementation for ContentKeyPolicyX509CertificateTokenKey.

func (ContentKeyPolicyX509CertificateTokenKey) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ContentKeyPolicyX509CertificateTokenKey.

type CopyAudio Uses

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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

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

func (CopyAudio) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsAudio Uses

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

AsAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCodec Uses

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

AsCodec is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsImage Uses

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

AsImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for CopyAudio.

func (CopyAudio) AsVideo Uses

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

AsVideo is the BasicCodec implementation for CopyAudio.

func (CopyAudio) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CopyAudio.

type CopyVideo Uses

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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

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

func (CopyVideo) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsAudio Uses

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

AsAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCodec Uses

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

AsCodec is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsImage Uses

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

AsImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for CopyVideo.

func (CopyVideo) AsVideo Uses

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

AsVideo is the BasicCodec implementation for CopyVideo.

func (CopyVideo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CopyVideo.

type CrossSiteAccessPolicies Uses

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"`
}

CrossSiteAccessPolicies the client access policy.

type DefaultKey Uses

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"`
}

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

type Deinterlace Uses

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

Deinterlace describes the de-interlacing settings.

type DeinterlaceMode Uses

type DeinterlaceMode string

DeinterlaceMode enumerates the values for deinterlace mode.

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

func PossibleDeinterlaceModeValues Uses

func PossibleDeinterlaceModeValues() []DeinterlaceMode

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

type DeinterlaceParity Uses

type DeinterlaceParity string

DeinterlaceParity enumerates the values for deinterlace parity.

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

func PossibleDeinterlaceParityValues Uses

func PossibleDeinterlaceParityValues() []DeinterlaceParity

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

type EnabledProtocols Uses

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"`
}

EnabledProtocols class to specify which protocols are enabled

type EncoderNamedPreset Uses

type EncoderNamedPreset string

EncoderNamedPreset enumerates the values for encoder named preset.

const (
    // AACGoodQualityAudio Produces a single MP4 file containing only stereo audio encoded at 192 kbps.
    AACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
    // AdaptiveStreaming 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 and bitrate. The auto-generated preset
    // will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output
    // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and
    // audio in separate MP4 files, which is optimal for adaptive streaming.
    AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
    // ContentAwareEncodingExperimental 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.
    ContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
    // H264MultipleBitrate1080p 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 360p.
    H264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
    // H264MultipleBitrate720p 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 360p.
    H264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
    // H264MultipleBitrateSD Produces a set of 5 GOP-aligned MP4 files, ranging from 1600kbps to 400 kbps, and
    // stereo AAC audio. Resolution starts at 480p and goes down to 360p.
    H264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
    // H264SingleBitrate1080p 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 64 kbps.
    H264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
    // H264SingleBitrate720p 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 64 kbps.
    H264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
    // H264SingleBitrateSD 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 64 kbps.
    H264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
)

func PossibleEncoderNamedPresetValues Uses

func PossibleEncoderNamedPresetValues() []EncoderNamedPreset

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

type EncryptionScheme Uses

type EncryptionScheme string

EncryptionScheme enumerates the values for encryption scheme.

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 Uses

func PossibleEncryptionSchemeValues() []EncryptionScheme

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

type EntityNameAvailabilityCheckOutput Uses

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"`
}

EntityNameAvailabilityCheckOutput the response from the check name availability request.

type EntropyMode Uses

type EntropyMode string

EntropyMode enumerates the values for entropy mode.

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

func PossibleEntropyModeValues Uses

func PossibleEntropyModeValues() []EntropyMode

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

type EnvelopeEncryption Uses

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"`
}

EnvelopeEncryption class for EnvelopeEncryption encryption scheme

type FaceDetectorPreset Uses

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: 'SourceResolution', 'StandardDefinition'
    Resolution AnalysisResolution `json:"resolution,omitempty"`
    // OdataType - Possible values include: 'OdataTypePreset', 'OdataTypeMicrosoftMediaFaceDetectorPreset', 'OdataTypeMicrosoftMediaAudioAnalyzerPreset', 'OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset', 'OdataTypeMicrosoftMediaStandardEncoderPreset', 'OdataTypeMicrosoftMediaVideoAnalyzerPreset'
    OdataType OdataTypeBasicPreset `json:"@odata.type,omitempty"`
}

FaceDetectorPreset describes all the settings to be used when analyzing a video in order to detect all the faces present.

func (FaceDetectorPreset) AsAudioAnalyzerPreset Uses

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

AsAudioAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBasicAudioAnalyzerPreset Uses

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

AsBasicAudioAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBasicPreset Uses

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

AsBasicPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsBuiltInStandardEncoderPreset Uses

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

AsBuiltInStandardEncoderPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsFaceDetectorPreset Uses

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

AsFaceDetectorPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsPreset Uses

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

AsPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsStandardEncoderPreset Uses

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

AsStandardEncoderPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) AsVideoAnalyzerPreset Uses

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

AsVideoAnalyzerPreset is the BasicPreset implementation for FaceDetectorPreset.

func (FaceDetectorPreset) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FaceDetectorPreset.

type FilterProperties Uses

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"`
}

FilterProperties the Media Filter properties.

type FilterTrackPropertyCompareOperation Uses

type FilterTrackPropertyCompareOperation string

FilterTrackPropertyCompareOperation enumerates the values for filter track property compare operation.

const (
    // Equal The equal operation.
    Equal FilterTrackPropertyCompareOperation = "Equal"
    // NotEqual The not equal operation.
    NotEqual FilterTrackPropertyCompareOperation = "NotEqual"
)

func PossibleFilterTrackPropertyCompareOperationValues Uses

func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation

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

type FilterTrackPropertyCondition Uses

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: 'Equal', 'NotEqual'
    Operation FilterTrackPropertyCompareOperation `json:"operation,omitempty"`
}

FilterTrackPropertyCondition the class to specify one track property condition.

type FilterTrackPropertyType Uses

type FilterTrackPropertyType string

FilterTrackPropertyType enumerates the values for filter track property type.

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 Uses

func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType

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

type FilterTrackSelection Uses

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

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

type Filters Uses

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"`
}

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

func (*Filters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Filters struct.

type FirstQuality Uses

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

FirstQuality filter First Quality

type Format Uses

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} - The base name of the input video {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeFormat', 'OdataTypeMicrosoftMediaImageFormat', 'OdataTypeMicrosoftMediaJpgFormat', 'OdataTypeMicrosoftMediaPngFormat', 'OdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeMicrosoftMediaMp4Format', 'OdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

Format base class for output.

func (Format) AsBasicFormat Uses

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

AsBasicFormat is the BasicFormat implementation for Format.

func (Format) AsBasicImageFormat Uses

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

AsBasicImageFormat is the BasicFormat implementation for Format.

func (Format) AsBasicMultiBitrateFormat Uses

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

AsBasicMultiBitrateFormat is the BasicFormat implementation for Format.

func (Format) AsFormat Uses

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

AsFormat is the BasicFormat implementation for Format.

func (Format) AsImageFormat Uses

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

AsImageFormat is the BasicFormat implementation for Format.

func (Format) AsJpgFormat Uses

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

AsJpgFormat is the BasicFormat implementation for Format.

func (Format) AsMp4Format Uses

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

AsMp4Format is the BasicFormat implementation for Format.

func (Format) AsMultiBitrateFormat Uses

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

AsMultiBitrateFormat is the BasicFormat implementation for Format.

func (Format) AsPngFormat Uses

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

AsPngFormat is the BasicFormat implementation for Format.

func (Format) AsTransportStreamFormat Uses

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

AsTransportStreamFormat is the BasicFormat implementation for Format.

func (Format) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Format.

type H264Complexity Uses

type H264Complexity string

H264Complexity enumerates the values for h264 complexity.

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

func PossibleH264ComplexityValues Uses

func PossibleH264ComplexityValues() []H264Complexity

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

type H264Layer Uses

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: 'Cabac', 'Cavlc'
    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: 'OdataTypeLayer', 'OdataTypeMicrosoftMediaVideoLayer', 'OdataTypeMicrosoftMediaH264Layer', 'OdataTypeMicrosoftMediaJpgLayer', 'OdataTypeMicrosoftMediaPngLayer'
    OdataType OdataTypeBasicLayer `json:"@odata.type,omitempty"`
}

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

func (H264Layer) AsBasicLayer Uses

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

AsBasicLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsBasicVideoLayer Uses

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

AsBasicVideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsH264Layer Uses

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

AsH264Layer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsJpgLayer Uses

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

AsJpgLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsLayer Uses

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

AsLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsPngLayer Uses

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

AsPngLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) AsVideoLayer Uses

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

AsVideoLayer is the BasicLayer implementation for H264Layer.

func (H264Layer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for H264Layer.

type H264Video Uses

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: 'Speed', 'Balanced', 'Quality'
    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, thereby defining a group of pictures (GOP). The value should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The default is 2 seconds (PT2S).
    KeyFrameInterval *string `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"`
    // 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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

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

func (H264Video) AsAacAudio Uses

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

AsAacAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsAudio Uses

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

AsAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicAudio Uses

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

AsBasicAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicCodec Uses

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

AsBasicCodec is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicImage Uses

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

AsBasicImage is the BasicCodec implementation for H264Video.

func (H264Video) AsBasicVideo Uses

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

AsBasicVideo is the BasicCodec implementation for H264Video.

func (H264Video) AsCodec Uses

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

AsCodec is the BasicCodec implementation for H264Video.

func (H264Video) AsCopyAudio Uses

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

AsCopyAudio is the BasicCodec implementation for H264Video.

func (H264Video) AsCopyVideo Uses

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

AsCopyVideo is the BasicCodec implementation for H264Video.

func (H264Video) AsH264Video Uses

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

AsH264Video is the BasicCodec implementation for H264Video.

func (H264Video) AsImage Uses

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

AsImage is the BasicCodec implementation for H264Video.

func (H264Video) AsJpgImage Uses

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

AsJpgImage is the BasicCodec implementation for H264Video.

func (H264Video) AsPngImage Uses

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

AsPngImage is the BasicCodec implementation for H264Video.

func (H264Video) AsVideo Uses

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

AsVideo is the BasicCodec implementation for H264Video.

func (H264Video) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for H264Video.

type H264VideoProfile Uses

type H264VideoProfile string

H264VideoProfile enumerates the values for h264 video profile.

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 Uses

func PossibleH264VideoProfileValues() []H264VideoProfile

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

type Hls Uses

type Hls struct {
    // FragmentsPerTsSegment - The amount of fragments per HTTP Live Streaming (HLS) segment.
    FragmentsPerTsSegment *int32 `json:"fragmentsPerTsSegment,omitempty"`
}

Hls the HLS configuration.

type IPAccessControl Uses

type IPAccessControl struct {
    // Allow - The IP allow list.
    Allow *[]IPRange `json:"allow,omitempty"`
}

IPAccessControl the IP access control.

type IPRange Uses

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"`
}

IPRange the IP address range in the CIDR scheme.

type Image Uses

type Image struct {
    // Start - The position in the input video from where to start generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video.
    Start *string `json:"start,omitempty"`
    // Step - The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every 30 frames), or a relative value (For example, 1%).
    Step *string `json:"step,omitempty"`
    // Range - The position in the input video at which to stop generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%).
    Range *string `json:"range,omitempty"`
    // KeyFrameInterval - The distance between two key frames, thereby defining a group of pictures (GOP). The value should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The default is 2 seconds (PT2S).
    KeyFrameInterval *string `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"`
    // 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: 'OdataTypeCodec', 'OdataTypeMicrosoftMediaAudio', 'OdataTypeMicrosoftMediaAacAudio', 'OdataTypeMicrosoftMediaCopyVideo', 'OdataTypeMicrosoftMediaVideo', 'OdataTypeMicrosoftMediaImage', 'OdataTypeMicrosoftMediaCopyAudio', 'OdataTypeMicrosoftMediaH264Video', 'OdataTypeMicrosoftMediaJpgImage', 'OdataTypeMicrosoftMediaPngImage'
    OdataType OdataTypeBasicCodec `json:"@odata.type,omitempty"`
}

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

func (Image) AsAacAudio Uses

func (i Image) AsAacAudio() (*AacAudio, bool)

AsAacAudio is the BasicCodec implementation for Image.

func (Image) AsAudio Uses

func (i Image) AsAudio() (*Audio, bool)

AsAudio is the BasicCodec implementation for Image.

func (Image) AsBasicAudio Uses

func (i Image) AsBasicAudio() (BasicAudio, bool)

AsBasicAudio is the BasicCodec implementation for Image.

func (Image) AsBasicCodec Uses

func (i Image) AsBasicCodec() (BasicCodec, bool)

AsBasicCodec is the BasicCodec implementation for Image.

func (Image) AsBasicImage Uses

func (i Image) AsBasicImage() (BasicImage, bool)

AsBasicImage is the BasicCodec implementation for Image.

func (Image) AsBasicVideo Uses

func (i Image) AsBasicVideo() (BasicVideo, bool)

AsBasicVideo is the BasicCodec implementation for Image.

func (Image) AsCodec Uses

func (i Image) AsCodec() (*Codec, bool)

AsCodec is the BasicCodec implementation for Image.

func (Image) AsCopyAudio Uses

func (i Image) AsCopyAudio() (*CopyAudio, bool)

AsCopyAudio is the BasicCodec implementation for Image.

func (Image) AsCopyVideo Uses

func (i Image) AsCopyVideo() (*CopyVideo, bool)

AsCopyVideo is the BasicCodec implementation for Image.

func (Image) AsH264Video Uses

func (i Image) AsH264Video() (*H264Video, bool)

AsH264Video is the BasicCodec implementation for Image.

func (Image) AsImage Uses

func (i Image) AsImage() (*Image, bool)

AsImage is the BasicCodec implementation for Image.

func (Image) AsJpgImage Uses

func (i Image) AsJpgImage() (*JpgImage, bool)

AsJpgImage is the BasicCodec implementation for Image.

func (Image) AsPngImage Uses

func (i Image) AsPngImage() (*PngImage, bool)

AsPngImage is the BasicCodec implementation for Image.

func (Image) AsVideo Uses

func (i Image) AsVideo() (*Video, bool)

AsVideo is the BasicCodec implementation for Image.

func (Image) MarshalJSON Uses

func (i Image) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Image.

type ImageFormat Uses

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} - The base name of the input video {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename.
    FilenamePattern *string `json:"filenamePattern,omitempty"`
    // OdataType - Possible values include: 'OdataTypeFormat', 'OdataTypeMicrosoftMediaImageFormat', 'OdataTypeMicrosoftMediaJpgFormat', 'OdataTypeMicrosoftMediaPngFormat', 'OdataTypeMicrosoftMediaMultiBitrateFormat', 'OdataTypeMicrosoftMediaMp4Format', 'OdataTypeMicrosoftMediaTransportStreamFormat'
    OdataType OdataTypeBasicFormat `json:"@odata.type,omitempty"`
}

ImageFormat describes the properties for an output image file.

func (ImageFormat) AsBasicFormat Uses

func (ifVar ImageFormat) AsBasicFormat() (BasicFormat, bool)

AsBasicFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsBasicImageFormat Uses

func (ifVar ImageFormat) AsBasicImageFormat() (BasicImageFormat, bool)

AsBasicImageFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsBasicMultiBitrateFormat Uses

func (ifVar ImageFormat) AsBasicMultiBitrateFormat() (BasicMultiBitrateFormat, bool)

AsBasicMultiBitrateFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsFormat Uses

func (ifVar ImageFormat) AsFormat() (*Format, bool)

AsFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsImageFormat Uses

func (ifVar ImageFormat) AsImageFormat() (*ImageFormat, bool)

AsImageFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsJpgFormat Uses

func (ifVar ImageFormat) AsJpgFormat() (*JpgFormat, bool)

AsJpgFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsMp4Format Uses

func (ifVar ImageFormat) AsMp4Format() (*Mp4Format, bool)

AsMp4Format is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsMultiBitrateFormat Uses

func (ifVar ImageFormat) AsMultiBitrateFormat() (*MultiBitrateFormat, bool)

AsMultiBitrateFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsPngFormat Uses

func (ifVar ImageFormat) AsPngFormat() (*PngFormat, bool)

AsPngFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) AsTransportStreamFormat Uses

func (ifVar ImageFormat) AsTransportStreamFormat() (*TransportStreamFormat, bool)

AsTransportStreamFormat is the BasicFormat implementation for ImageFormat.

func (ImageFormat) MarshalJSON