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, ...) (result StreamingLocatorsListOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete(ctx context.Context, id MediaServiceId, ...) (StreamingLocatorsListCompleteResult, error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (result 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, ...) (result StreamingPoliciesListOperationResponse, err error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete(ctx context.Context, id MediaServiceId, ...) (StreamingPoliciesListCompleteResult, error)
- func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (result 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 ¶
ValidateStreamingPolicyID checks that 'input' can be parsed as a Streaming Policy ID
Types ¶
type CbcsDrmConfiguration ¶
type CbcsDrmConfiguration struct { FairPlay *StreamingPolicyFairPlayConfiguration `json:"fairPlay,omitempty"` PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady,omitempty"` Widevine *StreamingPolicyWidevineConfiguration `json:"widevine,omitempty"` }
type CencDrmConfiguration ¶
type CencDrmConfiguration struct { PlayReady *StreamingPolicyPlayReadyConfiguration `json:"playReady,omitempty"` Widevine *StreamingPolicyWidevineConfiguration `json:"widevine,omitempty"` }
type CommonEncryptionCbcs ¶
type CommonEncryptionCbcs struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` Drm *CbcsDrmConfiguration `json:"drm,omitempty"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"` }
type CommonEncryptionCenc ¶
type CommonEncryptionCenc struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` Drm *CencDrmConfiguration `json:"drm,omitempty"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"` }
type DefaultKey ¶
type EnabledProtocols ¶
type EncryptionScheme ¶
type EncryptionScheme string
const ( EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs" EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc" EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption" EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption" )
func (*EncryptionScheme) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *EncryptionScheme) UnmarshalJSON(bytes []byte) error
type EnvelopeEncryption ¶
type EnvelopeEncryption struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` CustomKeyAcquisitionUrlTemplate *string `json:"customKeyAcquisitionUrlTemplate,omitempty"` EnabledProtocols *EnabledProtocols `json:"enabledProtocols,omitempty"` }
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 ¶
type MediaServiceId struct { SubscriptionId string ResourceGroupName string MediaServiceName string }
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId string, resourceGroupName string, mediaServiceName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *MediaServiceId) FromParseResult(input resourceids.ParseResult) error
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,omitempty"`
}
type StreamingLocator ¶
type StreamingLocator struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StreamingLocatorProperties `json:"properties,omitempty"` 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" )
func (*StreamingLocatorContentKeyType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *StreamingLocatorContentKeyType) UnmarshalJSON(bytes []byte) error
type StreamingLocatorId ¶
type StreamingLocatorId struct { SubscriptionId string ResourceGroupName string MediaServiceName string StreamingLocatorName string }
StreamingLocatorId is a struct representing the Resource ID for a Streaming Locator
func NewStreamingLocatorID ¶
func NewStreamingLocatorID(subscriptionId string, resourceGroupName string, mediaServiceName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *StreamingLocatorId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *StreamingLocator }
type StreamingLocatorsGetOperationResponse ¶
type StreamingLocatorsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StreamingLocator }
type StreamingLocatorsListCompleteResult ¶
type StreamingLocatorsListCompleteResult struct { LatestHttpResponse *http.Response Items []StreamingLocator }
type StreamingLocatorsListContentKeysOperationResponse ¶
type StreamingLocatorsListContentKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ListContentKeysResponse }
type StreamingLocatorsListOperationOptions ¶
func DefaultStreamingLocatorsListOperationOptions ¶
func DefaultStreamingLocatorsListOperationOptions() StreamingLocatorsListOperationOptions
func (StreamingLocatorsListOperationOptions) ToHeaders ¶ added in v0.20230307.1085324
func (o StreamingLocatorsListOperationOptions) ToHeaders() *client.Headers
func (StreamingLocatorsListOperationOptions) ToOData ¶ added in v0.20230307.1085324
func (o StreamingLocatorsListOperationOptions) ToOData() *odata.Query
func (StreamingLocatorsListOperationOptions) ToQuery ¶ added in v0.20230307.1085324
func (o StreamingLocatorsListOperationOptions) ToQuery() *client.QueryParams
type StreamingLocatorsListOperationResponse ¶
type StreamingLocatorsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StreamingLocator }
type StreamingLocatorsListPathsOperationResponse ¶
type StreamingLocatorsListPathsOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 *resourcemanager.Client
}
func NewStreamingPoliciesAndStreamingLocatorsClientWithBaseURI ¶
func NewStreamingPoliciesAndStreamingLocatorsClientWithBaseURI(sdkApi sdkEnv.Api) (*StreamingPoliciesAndStreamingLocatorsClient, error)
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) (result StreamingLocatorsListOperationResponse, err error)
StreamingLocatorsList ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete(ctx context.Context, id MediaServiceId, options StreamingLocatorsListOperationOptions) (StreamingLocatorsListCompleteResult, error)
StreamingLocatorsListComplete retrieves all the results into a single object
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options StreamingLocatorsListOperationOptions, predicate StreamingLocatorOperationPredicate) (result StreamingLocatorsListCompleteResult, err error)
StreamingLocatorsListCompleteMatchingPredicate retrieves all the results and then applies 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) (result StreamingPoliciesListOperationResponse, err error)
StreamingPoliciesList ...
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete(ctx context.Context, id MediaServiceId, options StreamingPoliciesListOperationOptions) (StreamingPoliciesListCompleteResult, error)
StreamingPoliciesListComplete retrieves all the results into a single object
func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate ¶
func (c StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options StreamingPoliciesListOperationOptions, predicate StreamingPolicyOperationPredicate) (result StreamingPoliciesListCompleteResult, err error)
StreamingPoliciesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type StreamingPoliciesCreateOperationResponse ¶
type StreamingPoliciesCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StreamingPolicy }
type StreamingPoliciesGetOperationResponse ¶
type StreamingPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StreamingPolicy }
type StreamingPoliciesListCompleteResult ¶
type StreamingPoliciesListCompleteResult struct { LatestHttpResponse *http.Response Items []StreamingPolicy }
type StreamingPoliciesListOperationOptions ¶
func DefaultStreamingPoliciesListOperationOptions ¶
func DefaultStreamingPoliciesListOperationOptions() StreamingPoliciesListOperationOptions
func (StreamingPoliciesListOperationOptions) ToHeaders ¶ added in v0.20230307.1085324
func (o StreamingPoliciesListOperationOptions) ToHeaders() *client.Headers
func (StreamingPoliciesListOperationOptions) ToOData ¶ added in v0.20230307.1085324
func (o StreamingPoliciesListOperationOptions) ToOData() *odata.Query
func (StreamingPoliciesListOperationOptions) ToQuery ¶ added in v0.20230307.1085324
func (o StreamingPoliciesListOperationOptions) ToQuery() *client.QueryParams
type StreamingPoliciesListOperationResponse ¶
type StreamingPoliciesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StreamingPolicy }
type StreamingPolicy ¶
type StreamingPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StreamingPolicyProperties `json:"properties,omitempty"` 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,omitempty"` KeyToTrackMappings *[]StreamingPolicyContentKey `json:"keyToTrackMappings,omitempty"` }
type StreamingPolicyId ¶
type StreamingPolicyId struct { SubscriptionId string ResourceGroupName string MediaServiceName string StreamingPolicyName string }
StreamingPolicyId is a struct representing the Resource ID for a Streaming Policy
func NewStreamingPolicyID ¶
func NewStreamingPolicyID(subscriptionId string, resourceGroupName string, mediaServiceName string, streamingPolicyName string) StreamingPolicyId
NewStreamingPolicyID returns a new StreamingPolicyId struct
func ParseStreamingPolicyID ¶
func ParseStreamingPolicyID(input string) (*StreamingPolicyId, error)
ParseStreamingPolicyID parses 'input' into a StreamingPolicyId
func ParseStreamingPolicyIDInsensitively ¶
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *StreamingPolicyId) FromParseResult(input resourceids.ParseResult) error
func (StreamingPolicyId) ID ¶
func (id StreamingPolicyId) ID() string
ID returns the formatted Streaming Policy ID
func (StreamingPolicyId) Segments ¶
func (id StreamingPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Streaming Policy ID
func (StreamingPolicyId) String ¶
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,omitempty"` CommonEncryptionCenc *CommonEncryptionCenc `json:"commonEncryptionCenc,omitempty"` Created *string `json:"created,omitempty"` DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"` EnvelopeEncryption *EnvelopeEncryption `json:"envelopeEncryption,omitempty"` NoEncryption *NoEncryption `json:"noEncryption,omitempty"` }
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" )
func (*StreamingPolicyStreamingProtocol) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *StreamingPolicyStreamingProtocol) UnmarshalJSON(bytes []byte) error
type StreamingPolicyWidevineConfiguration ¶
type StreamingPolicyWidevineConfiguration struct {
CustomLicenseAcquisitionUrlTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
}
type TrackPropertyCompareOperation ¶
type TrackPropertyCompareOperation string
const ( TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal" TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown" )
func (*TrackPropertyCompareOperation) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *TrackPropertyCompareOperation) UnmarshalJSON(bytes []byte) error
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" )
func (*TrackPropertyType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *TrackPropertyType) UnmarshalJSON(bytes []byte) error
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.go
- method_streaminglocatorsdelete.go
- method_streaminglocatorsget.go
- method_streaminglocatorslist.go
- method_streaminglocatorslistcontentkeys.go
- method_streaminglocatorslistpaths.go
- method_streamingpoliciescreate.go
- method_streamingpoliciesdelete.go
- method_streamingpoliciesget.go
- method_streamingpolicieslist.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