Documentation ¶
Index ¶
- func PossibleValuesForEncryptionScheme() []string
- func PossibleValuesForStreamingLocatorContentKeyType() []string
- func PossibleValuesForStreamingPolicyStreamingProtocol() []string
- func PossibleValuesForTrackPropertyCompareOperation() []string
- func PossibleValuesForTrackPropertyType() []string
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStreamingLocatorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStreamingPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type CbcsDrmConfiguration
- type CencDrmConfiguration
- type CommonEncryptionCbcs
- type CommonEncryptionCenc
- type DefaultKey
- type EnabledProtocols
- type EncryptionScheme
- type EnvelopeEncryption
- type ListContentKeysResponse
- type ListPathsResponse
- type MediaServiceId
- type NoEncryption
- type StreamingLocator
- type StreamingLocatorContentKey
- type StreamingLocatorContentKeyType
- type StreamingLocatorId
- type StreamingLocatorOperationPredicate
- type StreamingLocatorProperties
- func (o *StreamingLocatorProperties) GetCreatedAsTime() (*time.Time, error)
- func (o *StreamingLocatorProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *StreamingLocatorProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *StreamingLocatorProperties) SetCreatedAsTime(input time.Time)
- func (o *StreamingLocatorProperties) SetEndTimeAsTime(input time.Time)
- func (o *StreamingLocatorProperties) SetStartTimeAsTime(input time.Time)
- type StreamingLocatorsCreateOperationResponse
- type StreamingLocatorsDeleteOperationResponse
- type StreamingLocatorsGetOperationResponse
- type StreamingLocatorsListCompleteResult
- type StreamingLocatorsListContentKeysOperationResponse
- type StreamingLocatorsListOperationOptions
- type StreamingLocatorsListOperationResponse
- type StreamingLocatorsListPathsOperationResponse
- type StreamingPath
- type StreamingPoliciesAndStreamingLocatorsClient
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsCreate(ctx context.Context, id StreamingLocatorId, input StreamingLocator) (result StreamingLocatorsCreateOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsDelete(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsDeleteOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsGet(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsGetOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsList(ctx context.Context, id MediaServiceId, ...) (resp StreamingLocatorsListOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete(ctx context.Context, id MediaServiceId, ...) (StreamingLocatorsListCompleteResult, error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (resp StreamingLocatorsListCompleteResult, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListContentKeys(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsListContentKeysOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListPaths(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsListPathsOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesCreate(ctx context.Context, id StreamingPolicyId, input StreamingPolicy) (result StreamingPoliciesCreateOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesDelete(ctx context.Context, id StreamingPolicyId) (result StreamingPoliciesDeleteOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesGet(ctx context.Context, id StreamingPolicyId) (result StreamingPoliciesGetOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesList(ctx context.Context, id MediaServiceId, ...) (resp StreamingPoliciesListOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete(ctx context.Context, id MediaServiceId, ...) (StreamingPoliciesListCompleteResult, error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (resp StreamingPoliciesListCompleteResult, err error)
- type StreamingPoliciesCreateOperationResponse
- type StreamingPoliciesDeleteOperationResponse
- type StreamingPoliciesGetOperationResponse
- type StreamingPoliciesListCompleteResult
- type StreamingPoliciesListOperationOptions
- type StreamingPoliciesListOperationResponse
- type StreamingPolicy
- type StreamingPolicyContentKey
- type StreamingPolicyContentKeys
- type StreamingPolicyFairPlayConfiguration
- type StreamingPolicyId
- type StreamingPolicyOperationPredicate
- type StreamingPolicyPlayReadyConfiguration
- type StreamingPolicyProperties
- type StreamingPolicyStreamingProtocol
- type StreamingPolicyWidevineConfiguration
- type TrackPropertyCompareOperation
- type TrackPropertyCondition
- type TrackPropertyType
- type TrackSelection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionScheme ¶
func PossibleValuesForEncryptionScheme() []string
func PossibleValuesForStreamingLocatorContentKeyType ¶
func PossibleValuesForStreamingLocatorContentKeyType() []string
func PossibleValuesForStreamingPolicyStreamingProtocol ¶
func PossibleValuesForStreamingPolicyStreamingProtocol() []string
func PossibleValuesForTrackPropertyCompareOperation ¶
func PossibleValuesForTrackPropertyCompareOperation() []string
func PossibleValuesForTrackPropertyType ¶
func PossibleValuesForTrackPropertyType() []string
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
func ValidateStreamingLocatorID ¶
ValidateStreamingLocatorID checks that 'input' can be parsed as a Streaming Locator ID
func ValidateStreamingPolicyID ¶ added in v0.20220907.1111434
ValidateStreamingPolicyID checks that 'input' can be parsed as a Streaming Policy ID
Types ¶
type CbcsDrmConfiguration ¶
type CbcsDrmConfiguration struct { FairPlay *StreamingPolicyFairPlayConfiguration `json:"fairPlay"` PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady"` Widevine *StreamingPolicyWidevineConfiguration `json:"widevine"` }
type CencDrmConfiguration ¶
type CencDrmConfiguration struct { PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady"` Widevine *StreamingPolicyWidevineConfiguration `json:"widevine"` }
type CommonEncryptionCbcs ¶
type CommonEncryptionCbcs struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys"` Drm *CbcsDrmConfiguration `json:"drm"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols"` }
type CommonEncryptionCenc ¶
type CommonEncryptionCenc struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys"` Drm *CencDrmConfiguration `json:"drm"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols"` }
type DefaultKey ¶
type EnabledProtocols ¶
type EncryptionScheme ¶
type EncryptionScheme string
const ( EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs" EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc" EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption" EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption" )
type EnvelopeEncryption ¶
type EnvelopeEncryption struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys"` CustomKeyAcquisitionUrlTemplate *string `json:"customKeyAcquisitionUrlTemplate,omitempty"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols"` }
type ListContentKeysResponse ¶
type ListContentKeysResponse struct {
ContentKeys *[]StreamingLocatorContentKey `json:"contentKeys,omitempty"`
}
type ListPathsResponse ¶
type ListPathsResponse struct { DownloadPaths *[]string `json:"downloadPaths,omitempty"` StreamingPaths *[]StreamingPath `json:"streamingPaths,omitempty"` }
type MediaServiceId ¶
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId string, resourceGroupName string, accountName string) MediaServiceId
NewMediaServiceID returns a new MediaServiceId struct
func ParseMediaServiceID ¶
func ParseMediaServiceID(input string) (*MediaServiceId, error)
ParseMediaServiceID parses 'input' into a MediaServiceId
func ParseMediaServiceIDInsensitively ¶
func ParseMediaServiceIDInsensitively(input string) (*MediaServiceId, error)
ParseMediaServiceIDInsensitively parses 'input' case-insensitively into a MediaServiceId note: this method should only be used for API response data and not user input
func (MediaServiceId) ID ¶
func (id MediaServiceId) ID() string
ID returns the formatted Media Service ID
func (MediaServiceId) Segments ¶
func (id MediaServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Media Service ID
func (MediaServiceId) String ¶
func (id MediaServiceId) String() string
String returns a human-readable description of this Media Service ID
type NoEncryption ¶
type NoEncryption struct {
EnabledProtocols *EnabledProtocols `json:"enabledProtocols"`
}
type StreamingLocator ¶
type StreamingLocator struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StreamingLocatorProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StreamingLocatorContentKey ¶
type StreamingLocatorContentKey struct { Id string `json:"id"` LabelReferenceInStreamingPolicy *string `json:"labelReferenceInStreamingPolicy,omitempty"` PolicyName *string `json:"policyName,omitempty"` Tracks *[]TrackSelection `json:"tracks,omitempty"` Type *StreamingLocatorContentKeyType `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
type StreamingLocatorContentKeyType ¶
type StreamingLocatorContentKeyType string
const ( StreamingLocatorContentKeyTypeCommonEncryptionCbcs StreamingLocatorContentKeyType = "CommonEncryptionCbcs" StreamingLocatorContentKeyTypeCommonEncryptionCenc StreamingLocatorContentKeyType = "CommonEncryptionCenc" StreamingLocatorContentKeyTypeEnvelopeEncryption StreamingLocatorContentKeyType = "EnvelopeEncryption" )
type StreamingLocatorId ¶
type StreamingLocatorId struct { SubscriptionId string ResourceGroupName string AccountName string StreamingLocatorName string }
StreamingLocatorId is a struct representing the Resource ID for a Streaming Locator
func NewStreamingLocatorID ¶
func NewStreamingLocatorID(subscriptionId string, resourceGroupName string, accountName string, streamingLocatorName string) StreamingLocatorId
NewStreamingLocatorID returns a new StreamingLocatorId struct
func ParseStreamingLocatorID ¶
func ParseStreamingLocatorID(input string) (*StreamingLocatorId, error)
ParseStreamingLocatorID parses 'input' into a StreamingLocatorId
func ParseStreamingLocatorIDInsensitively ¶
func ParseStreamingLocatorIDInsensitively(input string) (*StreamingLocatorId, error)
ParseStreamingLocatorIDInsensitively parses 'input' case-insensitively into a StreamingLocatorId note: this method should only be used for API response data and not user input
func (StreamingLocatorId) ID ¶
func (id StreamingLocatorId) ID() string
ID returns the formatted Streaming Locator ID
func (StreamingLocatorId) Segments ¶
func (id StreamingLocatorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Streaming Locator ID
func (StreamingLocatorId) String ¶
func (id StreamingLocatorId) String() string
String returns a human-readable description of this Streaming Locator ID
type StreamingLocatorOperationPredicate ¶
func (StreamingLocatorOperationPredicate) Matches ¶
func (p StreamingLocatorOperationPredicate) Matches(input StreamingLocator) bool
type StreamingLocatorProperties ¶
type StreamingLocatorProperties struct { AlternativeMediaId *string `json:"alternativeMediaId,omitempty"` AssetName string `json:"assetName"` ContentKeys *[]StreamingLocatorContentKey `json:"contentKeys,omitempty"` Created *string `json:"created,omitempty"` DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"` EndTime *string `json:"endTime,omitempty"` Filters *[]string `json:"filters,omitempty"` StartTime *string `json:"startTime,omitempty"` StreamingLocatorId *string `json:"streamingLocatorId,omitempty"` StreamingPolicyName string `json:"streamingPolicyName"` }
func (*StreamingLocatorProperties) GetCreatedAsTime ¶
func (o *StreamingLocatorProperties) GetCreatedAsTime() (*time.Time, error)
func (*StreamingLocatorProperties) GetEndTimeAsTime ¶
func (o *StreamingLocatorProperties) GetEndTimeAsTime() (*time.Time, error)
func (*StreamingLocatorProperties) GetStartTimeAsTime ¶
func (o *StreamingLocatorProperties) GetStartTimeAsTime() (*time.Time, error)
func (*StreamingLocatorProperties) SetCreatedAsTime ¶
func (o *StreamingLocatorProperties) SetCreatedAsTime(input time.Time)
func (*StreamingLocatorProperties) SetEndTimeAsTime ¶
func (o *StreamingLocatorProperties) SetEndTimeAsTime(input time.Time)
func (*StreamingLocatorProperties) SetStartTimeAsTime ¶
func (o *StreamingLocatorProperties) SetStartTimeAsTime(input time.Time)
type StreamingLocatorsCreateOperationResponse ¶
type StreamingLocatorsCreateOperationResponse struct { HttpResponse *http.Response Model *StreamingLocator }
type StreamingLocatorsGetOperationResponse ¶
type StreamingLocatorsGetOperationResponse struct { HttpResponse *http.Response Model *StreamingLocator }
type StreamingLocatorsListCompleteResult ¶
type StreamingLocatorsListCompleteResult struct {
Items []StreamingLocator
}
type StreamingLocatorsListContentKeysOperationResponse ¶
type StreamingLocatorsListContentKeysOperationResponse struct { HttpResponse *http.Response Model *ListContentKeysResponse }
type StreamingLocatorsListOperationOptions ¶
func DefaultStreamingLocatorsListOperationOptions ¶
func DefaultStreamingLocatorsListOperationOptions() StreamingLocatorsListOperationOptions
type StreamingLocatorsListOperationResponse ¶
type StreamingLocatorsListOperationResponse struct { HttpResponse *http.Response Model *[]StreamingLocator // contains filtered or unexported fields }
func (StreamingLocatorsListOperationResponse) HasMore ¶
func (r StreamingLocatorsListOperationResponse) HasMore() bool
func (StreamingLocatorsListOperationResponse) LoadMore ¶
func (r StreamingLocatorsListOperationResponse) LoadMore(ctx context.Context) (resp StreamingLocatorsListOperationResponse, err error)
type StreamingLocatorsListPathsOperationResponse ¶
type StreamingLocatorsListPathsOperationResponse struct { HttpResponse *http.Response Model *ListPathsResponse }
type StreamingPath ¶
type StreamingPath struct { EncryptionScheme EncryptionScheme `json:"encryptionScheme"` Paths *[]string `json:"paths,omitempty"` StreamingProtocol StreamingPolicyStreamingProtocol `json:"streamingProtocol"` }
type StreamingPoliciesAndStreamingLocatorsClient ¶
type StreamingPoliciesAndStreamingLocatorsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewStreamingPoliciesAndStreamingLocatorsClientWithBaseURI ¶
func NewStreamingPoliciesAndStreamingLocatorsClientWithBaseURI(endpoint string) StreamingPoliciesAndStreamingLocatorsClient
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsCreate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsCreate(ctx context.Context, id StreamingLocatorId, input StreamingLocator) (result StreamingLocatorsCreateOperationResponse, err error)
StreamingLocatorsCreate ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsDelete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsDelete(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsDeleteOperationResponse, err error)
StreamingLocatorsDelete ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsGet ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsGet(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsGetOperationResponse, err error)
StreamingLocatorsGet ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsList ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsList(ctx context.Context, id MediaServiceId, options StreamingLocatorsListOperationOptions) (resp StreamingLocatorsListOperationResponse, err error)
StreamingLocatorsList ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete(ctx context.Context, id MediaServiceId, options StreamingLocatorsListOperationOptions) (StreamingLocatorsListCompleteResult, error)
StreamingLocatorsListComplete retrieves all of the results into a single object
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options StreamingLocatorsListOperationOptions, predicate StreamingLocatorOperationPredicate) (resp StreamingLocatorsListCompleteResult, err error)
StreamingLocatorsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListContentKeys ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListContentKeys(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsListContentKeysOperationResponse, err error)
StreamingLocatorsListContentKeys ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListPaths ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListPaths(ctx context.Context, id StreamingLocatorId) (result StreamingLocatorsListPathsOperationResponse, err error)
StreamingLocatorsListPaths ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesCreate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesCreate(ctx context.Context, id StreamingPolicyId, input StreamingPolicy) (result StreamingPoliciesCreateOperationResponse, err error)
StreamingPoliciesCreate ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesDelete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesDelete(ctx context.Context, id StreamingPolicyId) (result StreamingPoliciesDeleteOperationResponse, err error)
StreamingPoliciesDelete ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesGet ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesGet(ctx context.Context, id StreamingPolicyId) (result StreamingPoliciesGetOperationResponse, err error)
StreamingPoliciesGet ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesList ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesList(ctx context.Context, id MediaServiceId, options StreamingPoliciesListOperationOptions) (resp StreamingPoliciesListOperationResponse, err error)
StreamingPoliciesList ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete(ctx context.Context, id MediaServiceId, options StreamingPoliciesListOperationOptions) (StreamingPoliciesListCompleteResult, error)
StreamingPoliciesListComplete retrieves all of the results into a single object
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options StreamingPoliciesListOperationOptions, predicate StreamingPolicyOperationPredicate) (resp StreamingPoliciesListCompleteResult, err error)
StreamingPoliciesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type StreamingPoliciesCreateOperationResponse ¶
type StreamingPoliciesCreateOperationResponse struct { HttpResponse *http.Response Model *StreamingPolicy }
type StreamingPoliciesGetOperationResponse ¶
type StreamingPoliciesGetOperationResponse struct { HttpResponse *http.Response Model *StreamingPolicy }
type StreamingPoliciesListCompleteResult ¶
type StreamingPoliciesListCompleteResult struct {
Items []StreamingPolicy
}
type StreamingPoliciesListOperationOptions ¶
func DefaultStreamingPoliciesListOperationOptions ¶
func DefaultStreamingPoliciesListOperationOptions() StreamingPoliciesListOperationOptions
type StreamingPoliciesListOperationResponse ¶
type StreamingPoliciesListOperationResponse struct { HttpResponse *http.Response Model *[]StreamingPolicy // contains filtered or unexported fields }
func (StreamingPoliciesListOperationResponse) HasMore ¶
func (r StreamingPoliciesListOperationResponse) HasMore() bool
func (StreamingPoliciesListOperationResponse) LoadMore ¶
func (r StreamingPoliciesListOperationResponse) LoadMore(ctx context.Context) (resp StreamingPoliciesListOperationResponse, err error)
type StreamingPolicy ¶
type StreamingPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StreamingPolicyProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StreamingPolicyContentKey ¶
type StreamingPolicyContentKey struct { Label *string `json:"label,omitempty"` PolicyName *string `json:"policyName,omitempty"` Tracks *[]TrackSelection `json:"tracks,omitempty"` }
type StreamingPolicyContentKeys ¶
type StreamingPolicyContentKeys struct { DefaultKey *DefaultKey `json:"defaultKey"` KeyToTrackMappings *[]StreamingPolicyContentKey `json:"keyToTrackMappings,omitempty"` }
type StreamingPolicyId ¶ added in v0.20220907.1111434
type StreamingPolicyId struct { SubscriptionId string ResourceGroupName string AccountName string StreamingPolicyName string }
StreamingPolicyId is a struct representing the Resource ID for a Streaming Policy
func NewStreamingPolicyID ¶ added in v0.20220907.1111434
func NewStreamingPolicyID(subscriptionId string, resourceGroupName string, accountName string, streamingPolicyName string) StreamingPolicyId
NewStreamingPolicyID returns a new StreamingPolicyId struct
func ParseStreamingPolicyID ¶ added in v0.20220907.1111434
func ParseStreamingPolicyID(input string) (*StreamingPolicyId, error)
ParseStreamingPolicyID parses 'input' into a StreamingPolicyId
func ParseStreamingPolicyIDInsensitively ¶ added in v0.20220907.1111434
func ParseStreamingPolicyIDInsensitively(input string) (*StreamingPolicyId, error)
ParseStreamingPolicyIDInsensitively parses 'input' case-insensitively into a StreamingPolicyId note: this method should only be used for API response data and not user input
func (StreamingPolicyId) ID ¶ added in v0.20220907.1111434
func (id StreamingPolicyId) ID() string
ID returns the formatted Streaming Policy ID
func (StreamingPolicyId) Segments ¶ added in v0.20220907.1111434
func (id StreamingPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Streaming Policy ID
func (StreamingPolicyId) String ¶ added in v0.20220907.1111434
func (id StreamingPolicyId) String() string
String returns a human-readable description of this Streaming Policy ID
type StreamingPolicyOperationPredicate ¶
func (StreamingPolicyOperationPredicate) Matches ¶
func (p StreamingPolicyOperationPredicate) Matches(input StreamingPolicy) bool
type StreamingPolicyProperties ¶
type StreamingPolicyProperties struct { CommonEncryptionCbcs *CommonEncryptionCbcs `json:"commonEncryptionCbcs"` CommonEncryptionCenc *CommonEncryptionCenc `json:"commonEncryptionCenc"` Created *string `json:"created,omitempty"` DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"` EnvelopeEncryption *EnvelopeEncryption `json:"envelopeEncryption"` NoEncryption *NoEncryption `json:"noEncryption"` }
func (*StreamingPolicyProperties) GetCreatedAsTime ¶
func (o *StreamingPolicyProperties) GetCreatedAsTime() (*time.Time, error)
func (*StreamingPolicyProperties) SetCreatedAsTime ¶
func (o *StreamingPolicyProperties) SetCreatedAsTime(input time.Time)
type StreamingPolicyStreamingProtocol ¶
type StreamingPolicyStreamingProtocol string
const ( StreamingPolicyStreamingProtocolDash StreamingPolicyStreamingProtocol = "Dash" StreamingPolicyStreamingProtocolDownload StreamingPolicyStreamingProtocol = "Download" StreamingPolicyStreamingProtocolHls StreamingPolicyStreamingProtocol = "Hls" StreamingPolicyStreamingProtocolSmoothStreaming StreamingPolicyStreamingProtocol = "SmoothStreaming" )
type StreamingPolicyWidevineConfiguration ¶
type StreamingPolicyWidevineConfiguration struct {
CustomLicenseAcquisitionUrlTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
}
type TrackPropertyCompareOperation ¶
type TrackPropertyCompareOperation string
const ( TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal" TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown" )
type TrackPropertyCondition ¶
type TrackPropertyCondition struct { Operation TrackPropertyCompareOperation `json:"operation"` Property TrackPropertyType `json:"property"` Value *string `json:"value,omitempty"` }
type TrackPropertyType ¶
type TrackPropertyType string
const ( TrackPropertyTypeFourCC TrackPropertyType = "FourCC" TrackPropertyTypeUnknown TrackPropertyType = "Unknown" )
type TrackSelection ¶
type TrackSelection struct {
TrackSelections *[]TrackPropertyCondition `json:"trackSelections,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_mediaservice.go
- id_streaminglocator.go
- id_streamingpolicy.go
- method_streaminglocatorscreate_autorest.go
- method_streaminglocatorsdelete_autorest.go
- method_streaminglocatorsget_autorest.go
- method_streaminglocatorslist_autorest.go
- method_streaminglocatorslistcontentkeys_autorest.go
- method_streaminglocatorslistpaths_autorest.go
- method_streamingpoliciescreate_autorest.go
- method_streamingpoliciesdelete_autorest.go
- method_streamingpoliciesget_autorest.go
- method_streamingpolicieslist_autorest.go
- model_cbcsdrmconfiguration.go
- model_cencdrmconfiguration.go
- model_commonencryptioncbcs.go
- model_commonencryptioncenc.go
- model_defaultkey.go
- model_enabledprotocols.go
- model_envelopeencryption.go
- model_listcontentkeysresponse.go
- model_listpathsresponse.go
- model_noencryption.go
- model_streaminglocator.go
- model_streaminglocatorcontentkey.go
- model_streaminglocatorproperties.go
- model_streamingpath.go
- model_streamingpolicy.go
- model_streamingpolicycontentkey.go
- model_streamingpolicycontentkeys.go
- model_streamingpolicyfairplayconfiguration.go
- model_streamingpolicyplayreadyconfiguration.go
- model_streamingpolicyproperties.go
- model_streamingpolicywidevineconfiguration.go
- model_trackpropertycondition.go
- model_trackselection.go
- predicates.go
- version.go