Documentation ¶
Index ¶
- func PossibleValuesForContentKeyPolicyFairPlayRentalAndLeaseKeyType() []string
- func PossibleValuesForContentKeyPolicyPlayReadyContentType() []string
- func PossibleValuesForContentKeyPolicyPlayReadyLicenseType() []string
- func PossibleValuesForContentKeyPolicyPlayReadyUnknownOutputPassingOption() []string
- func PossibleValuesForContentKeyPolicyRestrictionTokenType() []string
- func ValidateContentKeyPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentKeyPoliciesClient
- func (c ContentKeyPoliciesClient) CreateOrUpdate(ctx context.Context, id ContentKeyPolicyId, input ContentKeyPolicy) (result CreateOrUpdateOperationResponse, err error)
- func (c ContentKeyPoliciesClient) Delete(ctx context.Context, id ContentKeyPolicyId) (result DeleteOperationResponse, err error)
- func (c ContentKeyPoliciesClient) Get(ctx context.Context, id ContentKeyPolicyId) (result GetOperationResponse, err error)
- func (c ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets(ctx context.Context, id ContentKeyPolicyId) (result GetPolicyPropertiesWithSecretsOperationResponse, err error)
- func (c ContentKeyPoliciesClient) List(ctx context.Context, id MediaServiceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ContentKeyPoliciesClient) ListComplete(ctx context.Context, id MediaServiceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ContentKeyPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ContentKeyPoliciesClient) Update(ctx context.Context, id ContentKeyPolicyId, input ContentKeyPolicy) (result UpdateOperationResponse, err error)
- type ContentKeyPolicy
- type ContentKeyPolicyClearKeyConfiguration
- type ContentKeyPolicyConfiguration
- type ContentKeyPolicyFairPlayConfiguration
- type ContentKeyPolicyFairPlayOfflineRentalConfiguration
- type ContentKeyPolicyFairPlayRentalAndLeaseKeyType
- type ContentKeyPolicyId
- type ContentKeyPolicyOpenRestriction
- type ContentKeyPolicyOperationPredicate
- type ContentKeyPolicyOption
- type ContentKeyPolicyPlayReadyConfiguration
- type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
- type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
- type ContentKeyPolicyPlayReadyContentKeyLocation
- type ContentKeyPolicyPlayReadyContentType
- type ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
- type ContentKeyPolicyPlayReadyLicense
- func (o *ContentKeyPolicyPlayReadyLicense) GetBeginDateAsTime() (*time.Time, error)
- func (o *ContentKeyPolicyPlayReadyLicense) GetExpirationDateAsTime() (*time.Time, error)
- func (o *ContentKeyPolicyPlayReadyLicense) SetBeginDateAsTime(input time.Time)
- func (o *ContentKeyPolicyPlayReadyLicense) SetExpirationDateAsTime(input time.Time)
- func (s *ContentKeyPolicyPlayReadyLicense) UnmarshalJSON(bytes []byte) error
- type ContentKeyPolicyPlayReadyLicenseType
- type ContentKeyPolicyPlayReadyPlayRight
- type ContentKeyPolicyPlayReadyUnknownOutputPassingOption
- type ContentKeyPolicyProperties
- func (o *ContentKeyPolicyProperties) GetCreatedAsTime() (*time.Time, error)
- func (o *ContentKeyPolicyProperties) GetLastModifiedAsTime() (*time.Time, error)
- func (o *ContentKeyPolicyProperties) SetCreatedAsTime(input time.Time)
- func (o *ContentKeyPolicyProperties) SetLastModifiedAsTime(input time.Time)
- type ContentKeyPolicyRestriction
- type ContentKeyPolicyRestrictionTokenKey
- type ContentKeyPolicyRestrictionTokenType
- type ContentKeyPolicyRsaTokenKey
- type ContentKeyPolicySymmetricTokenKey
- type ContentKeyPolicyTokenClaim
- type ContentKeyPolicyTokenRestriction
- type ContentKeyPolicyUnknownConfiguration
- type ContentKeyPolicyUnknownRestriction
- type ContentKeyPolicyWidevineConfiguration
- type ContentKeyPolicyX509CertificateTokenKey
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GetPolicyPropertiesWithSecretsOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MediaServiceId
- type RawContentKeyPolicyConfigurationImpl
- type RawContentKeyPolicyPlayReadyContentKeyLocationImpl
- type RawContentKeyPolicyRestrictionImpl
- type RawContentKeyPolicyRestrictionTokenKeyImpl
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContentKeyPolicyFairPlayRentalAndLeaseKeyType ¶
func PossibleValuesForContentKeyPolicyFairPlayRentalAndLeaseKeyType() []string
func PossibleValuesForContentKeyPolicyPlayReadyContentType ¶
func PossibleValuesForContentKeyPolicyPlayReadyContentType() []string
func PossibleValuesForContentKeyPolicyPlayReadyLicenseType ¶
func PossibleValuesForContentKeyPolicyPlayReadyLicenseType() []string
func PossibleValuesForContentKeyPolicyPlayReadyUnknownOutputPassingOption ¶
func PossibleValuesForContentKeyPolicyPlayReadyUnknownOutputPassingOption() []string
func PossibleValuesForContentKeyPolicyRestrictionTokenType ¶
func PossibleValuesForContentKeyPolicyRestrictionTokenType() []string
func ValidateContentKeyPolicyID ¶
ValidateContentKeyPolicyID checks that 'input' can be parsed as a Content Key Policy ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
Types ¶
type ContentKeyPoliciesClient ¶
type ContentKeyPoliciesClient struct {
Client *resourcemanager.Client
}
func NewContentKeyPoliciesClientWithBaseURI ¶
func NewContentKeyPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ContentKeyPoliciesClient, error)
func (ContentKeyPoliciesClient) CreateOrUpdate ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) CreateOrUpdate(ctx context.Context, id ContentKeyPolicyId, input ContentKeyPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContentKeyPoliciesClient) Delete ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) Delete(ctx context.Context, id ContentKeyPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (ContentKeyPoliciesClient) Get ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) Get(ctx context.Context, id ContentKeyPolicyId) (result GetOperationResponse, err error)
Get ...
func (ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) GetPolicyPropertiesWithSecrets(ctx context.Context, id ContentKeyPolicyId) (result GetPolicyPropertiesWithSecretsOperationResponse, err error)
GetPolicyPropertiesWithSecrets ...
func (ContentKeyPoliciesClient) List ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) List(ctx context.Context, id MediaServiceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ContentKeyPoliciesClient) ListComplete ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) ListComplete(ctx context.Context, id MediaServiceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ContentKeyPoliciesClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options ListOperationOptions, predicate ContentKeyPolicyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContentKeyPoliciesClient) Update ¶ added in v0.20230906.1160501
func (c ContentKeyPoliciesClient) Update(ctx context.Context, id ContentKeyPolicyId, input ContentKeyPolicy) (result UpdateOperationResponse, err error)
Update ...
type ContentKeyPolicy ¶
type ContentKeyPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ContentKeyPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ContentKeyPolicyClearKeyConfiguration ¶
type ContentKeyPolicyClearKeyConfiguration struct { }
func (ContentKeyPolicyClearKeyConfiguration) MarshalJSON ¶
func (s ContentKeyPolicyClearKeyConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyConfiguration ¶
type ContentKeyPolicyConfiguration interface { }
type ContentKeyPolicyFairPlayConfiguration ¶
type ContentKeyPolicyFairPlayConfiguration struct { Ask string `json:"ask"` FairPlayPfx string `json:"fairPlayPfx"` FairPlayPfxPassword string `json:"fairPlayPfxPassword"` OfflineRentalConfiguration *ContentKeyPolicyFairPlayOfflineRentalConfiguration `json:"offlineRentalConfiguration,omitempty"` RentalAndLeaseKeyType ContentKeyPolicyFairPlayRentalAndLeaseKeyType `json:"rentalAndLeaseKeyType"` RentalDuration int64 `json:"rentalDuration"` }
func (ContentKeyPolicyFairPlayConfiguration) MarshalJSON ¶
func (s ContentKeyPolicyFairPlayConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyFairPlayRentalAndLeaseKeyType ¶
type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
const ( ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "DualExpiry" ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited" ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited" ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined" ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown" )
func (*ContentKeyPolicyFairPlayRentalAndLeaseKeyType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ContentKeyPolicyFairPlayRentalAndLeaseKeyType) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyId ¶
type ContentKeyPolicyId struct { SubscriptionId string ResourceGroupName string MediaServiceName string ContentKeyPolicyName string }
ContentKeyPolicyId is a struct representing the Resource ID for a Content Key Policy
func NewContentKeyPolicyID ¶
func NewContentKeyPolicyID(subscriptionId string, resourceGroupName string, mediaServiceName string, contentKeyPolicyName string) ContentKeyPolicyId
NewContentKeyPolicyID returns a new ContentKeyPolicyId struct
func ParseContentKeyPolicyID ¶
func ParseContentKeyPolicyID(input string) (*ContentKeyPolicyId, error)
ParseContentKeyPolicyID parses 'input' into a ContentKeyPolicyId
func ParseContentKeyPolicyIDInsensitively ¶
func ParseContentKeyPolicyIDInsensitively(input string) (*ContentKeyPolicyId, error)
ParseContentKeyPolicyIDInsensitively parses 'input' case-insensitively into a ContentKeyPolicyId note: this method should only be used for API response data and not user input
func (ContentKeyPolicyId) ID ¶
func (id ContentKeyPolicyId) ID() string
ID returns the formatted Content Key Policy ID
func (ContentKeyPolicyId) Segments ¶
func (id ContentKeyPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Content Key Policy ID
func (ContentKeyPolicyId) String ¶
func (id ContentKeyPolicyId) String() string
String returns a human-readable description of this Content Key Policy ID
type ContentKeyPolicyOpenRestriction ¶
type ContentKeyPolicyOpenRestriction struct { }
func (ContentKeyPolicyOpenRestriction) MarshalJSON ¶
func (s ContentKeyPolicyOpenRestriction) MarshalJSON() ([]byte, error)
type ContentKeyPolicyOperationPredicate ¶
func (ContentKeyPolicyOperationPredicate) Matches ¶
func (p ContentKeyPolicyOperationPredicate) Matches(input ContentKeyPolicy) bool
type ContentKeyPolicyOption ¶
type ContentKeyPolicyOption struct { Configuration ContentKeyPolicyConfiguration `json:"configuration"` Name *string `json:"name,omitempty"` PolicyOptionId *string `json:"policyOptionId,omitempty"` Restriction ContentKeyPolicyRestriction `json:"restriction"` }
func (*ContentKeyPolicyOption) UnmarshalJSON ¶
func (s *ContentKeyPolicyOption) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyPlayReadyConfiguration ¶
type ContentKeyPolicyPlayReadyConfiguration struct { Licenses []ContentKeyPolicyPlayReadyLicense `json:"licenses"` ResponseCustomData *string `json:"responseCustomData,omitempty"` }
func (ContentKeyPolicyPlayReadyConfiguration) MarshalJSON ¶
func (s ContentKeyPolicyPlayReadyConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ¶
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader struct { }
func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON ¶
func (s ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ¶
type ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier struct {
KeyId string `json:"keyId"`
}
func (ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON ¶
func (s ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier) MarshalJSON() ([]byte, error)
type ContentKeyPolicyPlayReadyContentKeyLocation ¶
type ContentKeyPolicyPlayReadyContentKeyLocation interface { }
type ContentKeyPolicyPlayReadyContentType ¶
type ContentKeyPolicyPlayReadyContentType string
const ( ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload" ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming" ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown" ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified" )
func (*ContentKeyPolicyPlayReadyContentType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ContentKeyPolicyPlayReadyContentType) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyPlayReadyLicense ¶
type ContentKeyPolicyPlayReadyLicense struct { AllowTestDevices bool `json:"allowTestDevices"` BeginDate *string `json:"beginDate,omitempty"` ContentKeyLocation ContentKeyPolicyPlayReadyContentKeyLocation `json:"contentKeyLocation"` ContentType ContentKeyPolicyPlayReadyContentType `json:"contentType"` ExpirationDate *string `json:"expirationDate,omitempty"` GracePeriod *string `json:"gracePeriod,omitempty"` LicenseType ContentKeyPolicyPlayReadyLicenseType `json:"licenseType"` PlayRight *ContentKeyPolicyPlayReadyPlayRight `json:"playRight,omitempty"` RelativeBeginDate *string `json:"relativeBeginDate,omitempty"` RelativeExpirationDate *string `json:"relativeExpirationDate,omitempty"` }
func (*ContentKeyPolicyPlayReadyLicense) GetBeginDateAsTime ¶
func (o *ContentKeyPolicyPlayReadyLicense) GetBeginDateAsTime() (*time.Time, error)
func (*ContentKeyPolicyPlayReadyLicense) GetExpirationDateAsTime ¶
func (o *ContentKeyPolicyPlayReadyLicense) GetExpirationDateAsTime() (*time.Time, error)
func (*ContentKeyPolicyPlayReadyLicense) SetBeginDateAsTime ¶
func (o *ContentKeyPolicyPlayReadyLicense) SetBeginDateAsTime(input time.Time)
func (*ContentKeyPolicyPlayReadyLicense) SetExpirationDateAsTime ¶
func (o *ContentKeyPolicyPlayReadyLicense) SetExpirationDateAsTime(input time.Time)
func (*ContentKeyPolicyPlayReadyLicense) UnmarshalJSON ¶
func (s *ContentKeyPolicyPlayReadyLicense) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyPlayReadyLicenseType ¶
type ContentKeyPolicyPlayReadyLicenseType string
const ( ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent" ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent" ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown" )
func (*ContentKeyPolicyPlayReadyLicenseType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ContentKeyPolicyPlayReadyLicenseType) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyPlayReadyPlayRight ¶
type ContentKeyPolicyPlayReadyPlayRight struct { AgcAndColorStripeRestriction *int64 `json:"agcAndColorStripeRestriction,omitempty"` AllowPassingVideoContentToUnknownOutput ContentKeyPolicyPlayReadyUnknownOutputPassingOption `json:"allowPassingVideoContentToUnknownOutput"` AnalogVideoOpl *int64 `json:"analogVideoOpl,omitempty"` CompressedDigitalAudioOpl *int64 `json:"compressedDigitalAudioOpl,omitempty"` CompressedDigitalVideoOpl *int64 `json:"compressedDigitalVideoOpl,omitempty"` DigitalVideoOnlyContentRestriction bool `json:"digitalVideoOnlyContentRestriction"` ExplicitAnalogTelevisionOutputRestriction *ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction `json:"explicitAnalogTelevisionOutputRestriction,omitempty"` FirstPlayExpiration *string `json:"firstPlayExpiration,omitempty"` ImageConstraintForAnalogComponentVideoRestriction bool `json:"imageConstraintForAnalogComponentVideoRestriction"` ImageConstraintForAnalogComputerMonitorRestriction bool `json:"imageConstraintForAnalogComputerMonitorRestriction"` ScmsRestriction *int64 `json:"scmsRestriction,omitempty"` UncompressedDigitalAudioOpl *int64 `json:"uncompressedDigitalAudioOpl,omitempty"` UncompressedDigitalVideoOpl *int64 `json:"uncompressedDigitalVideoOpl,omitempty"` }
type ContentKeyPolicyPlayReadyUnknownOutputPassingOption ¶
type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
const ( ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed" ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction" ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed" ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown" )
func (*ContentKeyPolicyPlayReadyUnknownOutputPassingOption) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ContentKeyPolicyPlayReadyUnknownOutputPassingOption) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyProperties ¶
type ContentKeyPolicyProperties struct { Created *string `json:"created,omitempty"` Description *string `json:"description,omitempty"` LastModified *string `json:"lastModified,omitempty"` Options []ContentKeyPolicyOption `json:"options"` PolicyId *string `json:"policyId,omitempty"` }
func (*ContentKeyPolicyProperties) GetCreatedAsTime ¶
func (o *ContentKeyPolicyProperties) GetCreatedAsTime() (*time.Time, error)
func (*ContentKeyPolicyProperties) GetLastModifiedAsTime ¶
func (o *ContentKeyPolicyProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*ContentKeyPolicyProperties) SetCreatedAsTime ¶
func (o *ContentKeyPolicyProperties) SetCreatedAsTime(input time.Time)
func (*ContentKeyPolicyProperties) SetLastModifiedAsTime ¶
func (o *ContentKeyPolicyProperties) SetLastModifiedAsTime(input time.Time)
type ContentKeyPolicyRestriction ¶
type ContentKeyPolicyRestriction interface { }
type ContentKeyPolicyRestrictionTokenKey ¶
type ContentKeyPolicyRestrictionTokenKey interface { }
type ContentKeyPolicyRestrictionTokenType ¶
type ContentKeyPolicyRestrictionTokenType string
const ( ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt" ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt" ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown" )
func (*ContentKeyPolicyRestrictionTokenType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ContentKeyPolicyRestrictionTokenType) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyRsaTokenKey ¶
type ContentKeyPolicyRsaTokenKey struct { Exponent string `json:"exponent"` Modulus string `json:"modulus"` }
func (ContentKeyPolicyRsaTokenKey) MarshalJSON ¶
func (s ContentKeyPolicyRsaTokenKey) MarshalJSON() ([]byte, error)
type ContentKeyPolicySymmetricTokenKey ¶
type ContentKeyPolicySymmetricTokenKey struct {
KeyValue string `json:"keyValue"`
}
func (ContentKeyPolicySymmetricTokenKey) MarshalJSON ¶
func (s ContentKeyPolicySymmetricTokenKey) MarshalJSON() ([]byte, error)
type ContentKeyPolicyTokenRestriction ¶
type ContentKeyPolicyTokenRestriction struct { AlternateVerificationKeys *[]ContentKeyPolicyRestrictionTokenKey `json:"alternateVerificationKeys,omitempty"` Audience string `json:"audience"` Issuer string `json:"issuer"` OpenIdConnectDiscoveryDocument *string `json:"openIdConnectDiscoveryDocument,omitempty"` PrimaryVerificationKey ContentKeyPolicyRestrictionTokenKey `json:"primaryVerificationKey"` RequiredClaims *[]ContentKeyPolicyTokenClaim `json:"requiredClaims,omitempty"` RestrictionTokenType ContentKeyPolicyRestrictionTokenType `json:"restrictionTokenType"` }
func (ContentKeyPolicyTokenRestriction) MarshalJSON ¶
func (s ContentKeyPolicyTokenRestriction) MarshalJSON() ([]byte, error)
func (*ContentKeyPolicyTokenRestriction) UnmarshalJSON ¶
func (s *ContentKeyPolicyTokenRestriction) UnmarshalJSON(bytes []byte) error
type ContentKeyPolicyUnknownConfiguration ¶
type ContentKeyPolicyUnknownConfiguration struct { }
func (ContentKeyPolicyUnknownConfiguration) MarshalJSON ¶
func (s ContentKeyPolicyUnknownConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyUnknownRestriction ¶
type ContentKeyPolicyUnknownRestriction struct { }
func (ContentKeyPolicyUnknownRestriction) MarshalJSON ¶
func (s ContentKeyPolicyUnknownRestriction) MarshalJSON() ([]byte, error)
type ContentKeyPolicyWidevineConfiguration ¶
type ContentKeyPolicyWidevineConfiguration struct {
WidevineTemplate string `json:"widevineTemplate"`
}
func (ContentKeyPolicyWidevineConfiguration) MarshalJSON ¶
func (s ContentKeyPolicyWidevineConfiguration) MarshalJSON() ([]byte, error)
type ContentKeyPolicyX509CertificateTokenKey ¶
type ContentKeyPolicyX509CertificateTokenKey struct {
RawBody string `json:"rawBody"`
}
func (ContentKeyPolicyX509CertificateTokenKey) MarshalJSON ¶
func (s ContentKeyPolicyX509CertificateTokenKey) MarshalJSON() ([]byte, error)
type CreateOrUpdateOperationResponse ¶ added in v0.20230906.1160501
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContentKeyPolicy }
type DeleteOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContentKeyPolicy }
type GetPolicyPropertiesWithSecretsOperationResponse ¶ added in v0.20230906.1160501
type GetPolicyPropertiesWithSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContentKeyPolicyProperties }
type ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []ContentKeyPolicy
}
type ListOperationOptions ¶ added in v0.20230906.1160501
func DefaultListOperationOptions ¶ added in v0.20230906.1160501
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230906.1160501
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230906.1160501
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230906.1160501
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ContentKeyPolicy }
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) 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 RawContentKeyPolicyConfigurationImpl ¶ added in v0.20230807.1063129
RawContentKeyPolicyConfigurationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawContentKeyPolicyPlayReadyContentKeyLocationImpl ¶ added in v0.20230807.1063129
type RawContentKeyPolicyPlayReadyContentKeyLocationImpl struct { Type string Values map[string]interface{} }
RawContentKeyPolicyPlayReadyContentKeyLocationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawContentKeyPolicyRestrictionImpl ¶ added in v0.20230807.1063129
RawContentKeyPolicyRestrictionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawContentKeyPolicyRestrictionTokenKeyImpl ¶ added in v0.20230807.1063129
type RawContentKeyPolicyRestrictionTokenKeyImpl struct { Type string Values map[string]interface{} }
RawContentKeyPolicyRestrictionTokenKeyImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type UpdateOperationResponse ¶ added in v0.20230906.1160501
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContentKeyPolicy }
Source Files ¶
- client.go
- constants.go
- id_contentkeypolicy.go
- id_mediaservice.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getpolicypropertieswithsecrets.go
- method_list.go
- method_update.go
- model_contentkeypolicy.go
- model_contentkeypolicyclearkeyconfiguration.go
- model_contentkeypolicyconfiguration.go
- model_contentkeypolicyfairplayconfiguration.go
- model_contentkeypolicyfairplayofflinerentalconfiguration.go
- model_contentkeypolicyopenrestriction.go
- model_contentkeypolicyoption.go
- model_contentkeypolicyplayreadyconfiguration.go
- model_contentkeypolicyplayreadycontentencryptionkeyfromheader.go
- model_contentkeypolicyplayreadycontentencryptionkeyfromkeyidentifier.go
- model_contentkeypolicyplayreadycontentkeylocation.go
- model_contentkeypolicyplayreadyexplicitanalogtelevisionrestriction.go
- model_contentkeypolicyplayreadylicense.go
- model_contentkeypolicyplayreadyplayright.go
- model_contentkeypolicyproperties.go
- model_contentkeypolicyrestriction.go
- model_contentkeypolicyrestrictiontokenkey.go
- model_contentkeypolicyrsatokenkey.go
- model_contentkeypolicysymmetrictokenkey.go
- model_contentkeypolicytokenclaim.go
- model_contentkeypolicytokenrestriction.go
- model_contentkeypolicyunknownconfiguration.go
- model_contentkeypolicyunknownrestriction.go
- model_contentkeypolicywidevineconfiguration.go
- model_contentkeypolicyx509certificatetokenkey.go
- predicates.go
- version.go