streamingpoliciesandstreaminglocators

package
v0.20220831.1083255 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/streamingpoliciesandstreaminglocators Documentation

The streamingpoliciesandstreaminglocators SDK allows for interaction with the Azure Resource Manager Service media (API Version 2020-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/streamingpoliciesandstreaminglocators"

Client Initialization

client := streamingpoliciesandstreaminglocators.NewStreamingPoliciesAndStreamingLocatorsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsCreate

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingLocatorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingLocatorValue")

payload := streamingpoliciesandstreaminglocators.StreamingLocator{
	// ...
}


read, err := client.StreamingLocatorsCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsDelete

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingLocatorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingLocatorValue")

read, err := client.StreamingLocatorsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsGet

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingLocatorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingLocatorValue")

read, err := client.StreamingLocatorsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsList

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewMediaServiceID("12345678-1234-9876-4563-123456789012", "accountValue")

// alternatively `client.StreamingLocatorsList(ctx, id, streamingpoliciesandstreaminglocators.DefaultStreamingLocatorsListOperationOptions())` can be used to do batched pagination
items, err := client.StreamingLocatorsListComplete(ctx, id, streamingpoliciesandstreaminglocators.DefaultStreamingLocatorsListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsListContentKeys

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingLocatorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingLocatorValue")

read, err := client.StreamingLocatorsListContentKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingLocatorsListPaths

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingLocatorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingLocatorValue")

read, err := client.StreamingLocatorsListPaths(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingPoliciesCreate

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingPolicyValue")

payload := streamingpoliciesandstreaminglocators.StreamingPolicy{
	// ...
}


read, err := client.StreamingPoliciesCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingPoliciesDelete

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingPolicyValue")

read, err := client.StreamingPoliciesDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingPoliciesGet

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewStreamingPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingPolicyValue")

read, err := client.StreamingPoliciesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StreamingPoliciesAndStreamingLocatorsClient.StreamingPoliciesList

ctx := context.TODO()
id := streamingpoliciesandstreaminglocators.NewMediaServiceID("12345678-1234-9876-4563-123456789012", "accountValue")

// alternatively `client.StreamingPoliciesList(ctx, id, streamingpoliciesandstreaminglocators.DefaultStreamingPoliciesListOperationOptions())` can be used to do batched pagination
items, err := client.StreamingPoliciesListComplete(ctx, id, streamingpoliciesandstreaminglocators.DefaultStreamingPoliciesListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

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

func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)

ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID

func ValidateStreamingLocatorID

func ValidateStreamingLocatorID(input interface{}, key string) (warnings []string, errors []error)

ValidateStreamingLocatorID checks that 'input' can be parsed as a Streaming Locator ID

func ValidateStreamingPoliciesID

func ValidateStreamingPoliciesID(input interface{}, key string) (warnings []string, errors []error)

ValidateStreamingPoliciesID checks that 'input' can be parsed as a Streaming Policies 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 DefaultKey struct {
	Label      *string `json:"label,omitempty"`
	PolicyName *string `json:"policyName,omitempty"`
}

type EnabledProtocols

type EnabledProtocols struct {
	Dash            bool `json:"dash"`
	Download        bool `json:"download"`
	Hls             bool `json:"hls"`
	SmoothStreaming bool `json:"smoothStreaming"`
}

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,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
	AccountName    string
}

MediaServiceId is a struct representing the Resource ID for a Media Service

func NewMediaServiceID

func NewMediaServiceID(subscriptionId 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,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"
)

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

type StreamingLocatorOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (StreamingLocatorOperationPredicate) Matches

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 StreamingLocatorsDeleteOperationResponse

type StreamingLocatorsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

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

type StreamingLocatorsListOperationOptions struct {
	Filter  *string
	Orderby *string
	Top     *int64
}

func DefaultStreamingLocatorsListOperationOptions

func DefaultStreamingLocatorsListOperationOptions() StreamingLocatorsListOperationOptions

type StreamingLocatorsListOperationResponse

type StreamingLocatorsListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]StreamingLocator
	// contains filtered or unexported fields
}

func (StreamingLocatorsListOperationResponse) HasMore

func (StreamingLocatorsListOperationResponse) LoadMore

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

StreamingLocatorsCreate ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsDelete

StreamingLocatorsDelete ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsGet

StreamingLocatorsGet ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsList

StreamingLocatorsList ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListComplete

StreamingLocatorsListComplete retrieves all of the results into a single object

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListCompleteMatchingPredicate

StreamingLocatorsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListContentKeys

StreamingLocatorsListContentKeys ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingLocatorsListPaths

StreamingLocatorsListPaths ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesCreate

StreamingPoliciesCreate ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesDelete

StreamingPoliciesDelete ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesGet

StreamingPoliciesGet ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesList

StreamingPoliciesList ...

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListComplete

StreamingPoliciesListComplete retrieves all of the results into a single object

func (StreamingPoliciesAndStreamingLocatorsClient) StreamingPoliciesListCompleteMatchingPredicate

StreamingPoliciesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type StreamingPoliciesCreateOperationResponse

type StreamingPoliciesCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *StreamingPolicy
}

type StreamingPoliciesDeleteOperationResponse

type StreamingPoliciesDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type StreamingPoliciesGetOperationResponse

type StreamingPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *StreamingPolicy
}

type StreamingPoliciesId

type StreamingPoliciesId struct {
	SubscriptionId      string
	ResourceGroupName   string
	AccountName         string
	StreamingPolicyName string
}

StreamingPoliciesId is a struct representing the Resource ID for a Streaming Policies

func NewStreamingPoliciesID

func NewStreamingPoliciesID(subscriptionId string, resourceGroupName string, accountName string, streamingPolicyName string) StreamingPoliciesId

NewStreamingPoliciesID returns a new StreamingPoliciesId struct

func ParseStreamingPoliciesID

func ParseStreamingPoliciesID(input string) (*StreamingPoliciesId, error)

ParseStreamingPoliciesID parses 'input' into a StreamingPoliciesId

func ParseStreamingPoliciesIDInsensitively

func ParseStreamingPoliciesIDInsensitively(input string) (*StreamingPoliciesId, error)

ParseStreamingPoliciesIDInsensitively parses 'input' case-insensitively into a StreamingPoliciesId note: this method should only be used for API response data and not user input

func (StreamingPoliciesId) ID

func (id StreamingPoliciesId) ID() string

ID returns the formatted Streaming Policies ID

func (StreamingPoliciesId) Segments

func (id StreamingPoliciesId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Streaming Policies ID

func (StreamingPoliciesId) String

func (id StreamingPoliciesId) String() string

String returns a human-readable description of this Streaming Policies ID

type StreamingPoliciesListCompleteResult

type StreamingPoliciesListCompleteResult struct {
	Items []StreamingPolicy
}

type StreamingPoliciesListOperationOptions

type StreamingPoliciesListOperationOptions struct {
	Filter  *string
	Orderby *string
	Top     *int64
}

func DefaultStreamingPoliciesListOperationOptions

func DefaultStreamingPoliciesListOperationOptions() StreamingPoliciesListOperationOptions

type StreamingPoliciesListOperationResponse

type StreamingPoliciesListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]StreamingPolicy
	// contains filtered or unexported fields
}

func (StreamingPoliciesListOperationResponse) HasMore

func (StreamingPoliciesListOperationResponse) LoadMore

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 StreamingPolicyFairPlayConfiguration

type StreamingPolicyFairPlayConfiguration struct {
	AllowPersistentLicense              bool    `json:"allowPersistentLicense"`
	CustomLicenseAcquisitionUrlTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
}

type StreamingPolicyOperationPredicate

type StreamingPolicyOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (StreamingPolicyOperationPredicate) Matches

type StreamingPolicyPlayReadyConfiguration

type StreamingPolicyPlayReadyConfiguration struct {
	CustomLicenseAcquisitionUrlTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty"`
	PlayReadyCustomAttributes           *string `json:"playReadyCustomAttributes,omitempty"`
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL