Documentation
¶
Index ¶
- func PossibleValuesForAssetContainerPermission() []string
- func PossibleValuesForAssetStorageEncryptionFormat() []string
- func PossibleValuesForFilterTrackPropertyCompareOperation() []string
- func PossibleValuesForFilterTrackPropertyType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVisibility() []string
- func ValidateAssetFilterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAssetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTrackID(input interface{}, key string) (warnings []string, errors []error)
- type Asset
- type AssetContainerPermission
- type AssetContainerSas
- type AssetFileEncryptionMetadata
- type AssetFilter
- type AssetFilterId
- type AssetFilterOperationPredicate
- type AssetFiltersCreateOrUpdateOperationResponse
- type AssetFiltersDeleteOperationResponse
- type AssetFiltersGetOperationResponse
- type AssetFiltersListCompleteResult
- type AssetFiltersListCustomPager
- type AssetFiltersListOperationResponse
- type AssetFiltersUpdateOperationResponse
- type AssetId
- type AssetOperationPredicate
- type AssetProperties
- type AssetStorageEncryptionFormat
- type AssetStreamingLocator
- func (o *AssetStreamingLocator) GetCreatedAsTime() (*time.Time, error)
- func (o *AssetStreamingLocator) GetEndTimeAsTime() (*time.Time, error)
- func (o *AssetStreamingLocator) GetStartTimeAsTime() (*time.Time, error)
- func (o *AssetStreamingLocator) SetCreatedAsTime(input time.Time)
- func (o *AssetStreamingLocator) SetEndTimeAsTime(input time.Time)
- func (o *AssetStreamingLocator) SetStartTimeAsTime(input time.Time)
- type AssetTrack
- type AssetTrackCollection
- type AssetTrackProperties
- type AssetsAndAssetFiltersClient
- func (c AssetsAndAssetFiltersClient) AssetFiltersCreateOrUpdate(ctx context.Context, id AssetFilterId, input AssetFilter) (result AssetFiltersCreateOrUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersDelete(ctx context.Context, id AssetFilterId) (result AssetFiltersDeleteOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersGet(ctx context.Context, id AssetFilterId) (result AssetFiltersGetOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersList(ctx context.Context, id AssetId) (result AssetFiltersListOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersListComplete(ctx context.Context, id AssetId) (AssetFiltersListCompleteResult, error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersListCompleteMatchingPredicate(ctx context.Context, id AssetId, predicate AssetFilterOperationPredicate) (result AssetFiltersListCompleteResult, err error)
- func (c AssetsAndAssetFiltersClient) AssetFiltersUpdate(ctx context.Context, id AssetFilterId, input AssetFilter) (result AssetFiltersUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsCreateOrUpdate(ctx context.Context, id AssetId, input Asset) (result AssetsCreateOrUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsDelete(ctx context.Context, id AssetId) (result AssetsDeleteOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsGet(ctx context.Context, id AssetId) (result AssetsGetOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsGetEncryptionKey(ctx context.Context, id AssetId) (result AssetsGetEncryptionKeyOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsList(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions) (result AssetsListOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsListComplete(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions) (AssetsListCompleteResult, error)
- func (c AssetsAndAssetFiltersClient) AssetsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions, ...) (result AssetsListCompleteResult, err error)
- func (c AssetsAndAssetFiltersClient) AssetsListContainerSas(ctx context.Context, id AssetId, input ListContainerSasInput) (result AssetsListContainerSasOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsListStreamingLocators(ctx context.Context, id AssetId) (result AssetsListStreamingLocatorsOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) AssetsUpdate(ctx context.Context, id AssetId, input Asset) (result AssetsUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksCreateOrUpdate(ctx context.Context, id TrackId, input AssetTrack) (result TracksCreateOrUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksCreateOrUpdateThenPoll(ctx context.Context, id TrackId, input AssetTrack) error
- func (c AssetsAndAssetFiltersClient) TracksDelete(ctx context.Context, id TrackId) (result TracksDeleteOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksDeleteThenPoll(ctx context.Context, id TrackId) error
- func (c AssetsAndAssetFiltersClient) TracksGet(ctx context.Context, id TrackId) (result TracksGetOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksList(ctx context.Context, id AssetId) (result TracksListOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksUpdate(ctx context.Context, id TrackId, input AssetTrack) (result TracksUpdateOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksUpdateThenPoll(ctx context.Context, id TrackId, input AssetTrack) error
- func (c AssetsAndAssetFiltersClient) TracksUpdateTrackData(ctx context.Context, id TrackId) (result TracksUpdateTrackDataOperationResponse, err error)
- func (c AssetsAndAssetFiltersClient) TracksUpdateTrackDataThenPoll(ctx context.Context, id TrackId) error
- type AssetsCreateOrUpdateOperationResponse
- type AssetsDeleteOperationResponse
- type AssetsGetEncryptionKeyOperationResponse
- type AssetsGetOperationResponse
- type AssetsListCompleteResult
- type AssetsListContainerSasOperationResponse
- type AssetsListCustomPager
- type AssetsListOperationOptions
- type AssetsListOperationResponse
- type AssetsListStreamingLocatorsOperationResponse
- type AssetsUpdateOperationResponse
- type AudioTrack
- type FilterTrackPropertyCompareOperation
- type FilterTrackPropertyCondition
- type FilterTrackPropertyType
- type FilterTrackSelection
- type FirstQuality
- type HlsSettings
- type ListContainerSasInput
- type ListStreamingLocatorsResponse
- type MediaFilterProperties
- type MediaServiceId
- type PresentationTimeRange
- type ProvisioningState
- type RawTrackBaseImpl
- type StorageEncryptedAssetDecryptionData
- type TextTrack
- type TrackBase
- type TrackId
- type TracksCreateOrUpdateOperationResponse
- type TracksDeleteOperationResponse
- type TracksGetOperationResponse
- type TracksListOperationResponse
- type TracksUpdateOperationResponse
- type TracksUpdateTrackDataOperationResponse
- type VideoTrack
- type Visibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetContainerPermission ¶
func PossibleValuesForAssetContainerPermission() []string
func PossibleValuesForAssetStorageEncryptionFormat ¶
func PossibleValuesForAssetStorageEncryptionFormat() []string
func PossibleValuesForFilterTrackPropertyCompareOperation ¶
func PossibleValuesForFilterTrackPropertyCompareOperation() []string
func PossibleValuesForFilterTrackPropertyType ¶
func PossibleValuesForFilterTrackPropertyType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVisibility ¶
func PossibleValuesForVisibility() []string
func ValidateAssetFilterID ¶
ValidateAssetFilterID checks that 'input' can be parsed as a Asset Filter ID
func ValidateAssetID ¶
ValidateAssetID checks that 'input' can be parsed as a Asset ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
func ValidateTrackID ¶
ValidateTrackID checks that 'input' can be parsed as a Track ID
Types ¶
type Asset ¶
type Asset struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AssetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AssetContainerPermission ¶
type AssetContainerPermission string
const ( AssetContainerPermissionRead AssetContainerPermission = "Read" AssetContainerPermissionReadWrite AssetContainerPermission = "ReadWrite" AssetContainerPermissionReadWriteDelete AssetContainerPermission = "ReadWriteDelete" )
func (*AssetContainerPermission) UnmarshalJSON ¶
func (s *AssetContainerPermission) UnmarshalJSON(bytes []byte) error
type AssetContainerSas ¶
type AssetContainerSas struct {
AssetContainerSasUrls *[]string `json:"assetContainerSasUrls,omitempty"`
}
type AssetFilter ¶
type AssetFilter struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MediaFilterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AssetFilterId ¶
type AssetFilterId struct { SubscriptionId string ResourceGroupName string MediaServiceName string AssetName string AssetFilterName string }
AssetFilterId is a struct representing the Resource ID for a Asset Filter
func NewAssetFilterID ¶
func NewAssetFilterID(subscriptionId string, resourceGroupName string, mediaServiceName string, assetName string, assetFilterName string) AssetFilterId
NewAssetFilterID returns a new AssetFilterId struct
func ParseAssetFilterID ¶
func ParseAssetFilterID(input string) (*AssetFilterId, error)
ParseAssetFilterID parses 'input' into a AssetFilterId
func ParseAssetFilterIDInsensitively ¶
func ParseAssetFilterIDInsensitively(input string) (*AssetFilterId, error)
ParseAssetFilterIDInsensitively parses 'input' case-insensitively into a AssetFilterId note: this method should only be used for API response data and not user input
func (*AssetFilterId) FromParseResult ¶
func (id *AssetFilterId) FromParseResult(input resourceids.ParseResult) error
func (AssetFilterId) ID ¶
func (id AssetFilterId) ID() string
ID returns the formatted Asset Filter ID
func (AssetFilterId) Segments ¶
func (id AssetFilterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Asset Filter ID
func (AssetFilterId) String ¶
func (id AssetFilterId) String() string
String returns a human-readable description of this Asset Filter ID
type AssetFilterOperationPredicate ¶
func (AssetFilterOperationPredicate) Matches ¶
func (p AssetFilterOperationPredicate) Matches(input AssetFilter) bool
type AssetFiltersCreateOrUpdateOperationResponse ¶
type AssetFiltersCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetFilter }
type AssetFiltersGetOperationResponse ¶
type AssetFiltersGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetFilter }
type AssetFiltersListCompleteResult ¶
type AssetFiltersListCompleteResult struct { LatestHttpResponse *http.Response Items []AssetFilter }
type AssetFiltersListCustomPager ¶ added in v0.20240628.1153531
func (*AssetFiltersListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AssetFiltersListCustomPager) NextPageLink() *odata.Link
type AssetFiltersListOperationResponse ¶
type AssetFiltersListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AssetFilter }
type AssetFiltersUpdateOperationResponse ¶
type AssetFiltersUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetFilter }
type AssetId ¶
type AssetId struct { SubscriptionId string ResourceGroupName string MediaServiceName string AssetName string }
AssetId is a struct representing the Resource ID for a Asset
func NewAssetID ¶
func NewAssetID(subscriptionId string, resourceGroupName string, mediaServiceName string, assetName string) AssetId
NewAssetID returns a new AssetId struct
func ParseAssetID ¶
ParseAssetID parses 'input' into a AssetId
func ParseAssetIDInsensitively ¶
ParseAssetIDInsensitively parses 'input' case-insensitively into a AssetId note: this method should only be used for API response data and not user input
func (*AssetId) FromParseResult ¶
func (id *AssetId) FromParseResult(input resourceids.ParseResult) error
func (AssetId) Segments ¶
func (id AssetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Asset ID
type AssetOperationPredicate ¶
func (AssetOperationPredicate) Matches ¶
func (p AssetOperationPredicate) Matches(input Asset) bool
type AssetProperties ¶
type AssetProperties struct { AlternateId *string `json:"alternateId,omitempty"` AssetId *string `json:"assetId,omitempty"` Container *string `json:"container,omitempty"` Created *string `json:"created,omitempty"` Description *string `json:"description,omitempty"` LastModified *string `json:"lastModified,omitempty"` StorageAccountName *string `json:"storageAccountName,omitempty"` StorageEncryptionFormat *AssetStorageEncryptionFormat `json:"storageEncryptionFormat,omitempty"` }
func (*AssetProperties) GetCreatedAsTime ¶
func (o *AssetProperties) GetCreatedAsTime() (*time.Time, error)
func (*AssetProperties) GetLastModifiedAsTime ¶
func (o *AssetProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*AssetProperties) SetCreatedAsTime ¶
func (o *AssetProperties) SetCreatedAsTime(input time.Time)
func (*AssetProperties) SetLastModifiedAsTime ¶
func (o *AssetProperties) SetLastModifiedAsTime(input time.Time)
type AssetStorageEncryptionFormat ¶
type AssetStorageEncryptionFormat string
const ( AssetStorageEncryptionFormatMediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption" AssetStorageEncryptionFormatNone AssetStorageEncryptionFormat = "None" )
func (*AssetStorageEncryptionFormat) UnmarshalJSON ¶
func (s *AssetStorageEncryptionFormat) UnmarshalJSON(bytes []byte) error
type AssetStreamingLocator ¶
type AssetStreamingLocator struct { AssetName *string `json:"assetName,omitempty"` Created *string `json:"created,omitempty"` DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty"` EndTime *string `json:"endTime,omitempty"` Name *string `json:"name,omitempty"` StartTime *string `json:"startTime,omitempty"` StreamingLocatorId *string `json:"streamingLocatorId,omitempty"` StreamingPolicyName *string `json:"streamingPolicyName,omitempty"` }
func (*AssetStreamingLocator) GetCreatedAsTime ¶
func (o *AssetStreamingLocator) GetCreatedAsTime() (*time.Time, error)
func (*AssetStreamingLocator) GetEndTimeAsTime ¶
func (o *AssetStreamingLocator) GetEndTimeAsTime() (*time.Time, error)
func (*AssetStreamingLocator) GetStartTimeAsTime ¶
func (o *AssetStreamingLocator) GetStartTimeAsTime() (*time.Time, error)
func (*AssetStreamingLocator) SetCreatedAsTime ¶
func (o *AssetStreamingLocator) SetCreatedAsTime(input time.Time)
func (*AssetStreamingLocator) SetEndTimeAsTime ¶
func (o *AssetStreamingLocator) SetEndTimeAsTime(input time.Time)
func (*AssetStreamingLocator) SetStartTimeAsTime ¶
func (o *AssetStreamingLocator) SetStartTimeAsTime(input time.Time)
type AssetTrack ¶
type AssetTrack struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AssetTrackProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AssetTrackCollection ¶
type AssetTrackCollection struct {
Value *[]AssetTrack `json:"value,omitempty"`
}
type AssetTrackProperties ¶
type AssetTrackProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Track TrackBase `json:"track"` }
func (*AssetTrackProperties) UnmarshalJSON ¶
func (s *AssetTrackProperties) UnmarshalJSON(bytes []byte) error
type AssetsAndAssetFiltersClient ¶
type AssetsAndAssetFiltersClient struct {
Client *resourcemanager.Client
}
func NewAssetsAndAssetFiltersClientWithBaseURI ¶
func NewAssetsAndAssetFiltersClientWithBaseURI(sdkApi sdkEnv.Api) (*AssetsAndAssetFiltersClient, error)
func (AssetsAndAssetFiltersClient) AssetFiltersCreateOrUpdate ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersCreateOrUpdate(ctx context.Context, id AssetFilterId, input AssetFilter) (result AssetFiltersCreateOrUpdateOperationResponse, err error)
AssetFiltersCreateOrUpdate ...
func (AssetsAndAssetFiltersClient) AssetFiltersDelete ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersDelete(ctx context.Context, id AssetFilterId) (result AssetFiltersDeleteOperationResponse, err error)
AssetFiltersDelete ...
func (AssetsAndAssetFiltersClient) AssetFiltersGet ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersGet(ctx context.Context, id AssetFilterId) (result AssetFiltersGetOperationResponse, err error)
AssetFiltersGet ...
func (AssetsAndAssetFiltersClient) AssetFiltersList ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersList(ctx context.Context, id AssetId) (result AssetFiltersListOperationResponse, err error)
AssetFiltersList ...
func (AssetsAndAssetFiltersClient) AssetFiltersListComplete ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersListComplete(ctx context.Context, id AssetId) (AssetFiltersListCompleteResult, error)
AssetFiltersListComplete retrieves all the results into a single object
func (AssetsAndAssetFiltersClient) AssetFiltersListCompleteMatchingPredicate ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersListCompleteMatchingPredicate(ctx context.Context, id AssetId, predicate AssetFilterOperationPredicate) (result AssetFiltersListCompleteResult, err error)
AssetFiltersListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssetsAndAssetFiltersClient) AssetFiltersUpdate ¶
func (c AssetsAndAssetFiltersClient) AssetFiltersUpdate(ctx context.Context, id AssetFilterId, input AssetFilter) (result AssetFiltersUpdateOperationResponse, err error)
AssetFiltersUpdate ...
func (AssetsAndAssetFiltersClient) AssetsCreateOrUpdate ¶
func (c AssetsAndAssetFiltersClient) AssetsCreateOrUpdate(ctx context.Context, id AssetId, input Asset) (result AssetsCreateOrUpdateOperationResponse, err error)
AssetsCreateOrUpdate ...
func (AssetsAndAssetFiltersClient) AssetsDelete ¶
func (c AssetsAndAssetFiltersClient) AssetsDelete(ctx context.Context, id AssetId) (result AssetsDeleteOperationResponse, err error)
AssetsDelete ...
func (AssetsAndAssetFiltersClient) AssetsGet ¶
func (c AssetsAndAssetFiltersClient) AssetsGet(ctx context.Context, id AssetId) (result AssetsGetOperationResponse, err error)
AssetsGet ...
func (AssetsAndAssetFiltersClient) AssetsGetEncryptionKey ¶
func (c AssetsAndAssetFiltersClient) AssetsGetEncryptionKey(ctx context.Context, id AssetId) (result AssetsGetEncryptionKeyOperationResponse, err error)
AssetsGetEncryptionKey ...
func (AssetsAndAssetFiltersClient) AssetsList ¶
func (c AssetsAndAssetFiltersClient) AssetsList(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions) (result AssetsListOperationResponse, err error)
AssetsList ...
func (AssetsAndAssetFiltersClient) AssetsListComplete ¶
func (c AssetsAndAssetFiltersClient) AssetsListComplete(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions) (AssetsListCompleteResult, error)
AssetsListComplete retrieves all the results into a single object
func (AssetsAndAssetFiltersClient) AssetsListCompleteMatchingPredicate ¶
func (c AssetsAndAssetFiltersClient) AssetsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options AssetsListOperationOptions, predicate AssetOperationPredicate) (result AssetsListCompleteResult, err error)
AssetsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssetsAndAssetFiltersClient) AssetsListContainerSas ¶
func (c AssetsAndAssetFiltersClient) AssetsListContainerSas(ctx context.Context, id AssetId, input ListContainerSasInput) (result AssetsListContainerSasOperationResponse, err error)
AssetsListContainerSas ...
func (AssetsAndAssetFiltersClient) AssetsListStreamingLocators ¶
func (c AssetsAndAssetFiltersClient) AssetsListStreamingLocators(ctx context.Context, id AssetId) (result AssetsListStreamingLocatorsOperationResponse, err error)
AssetsListStreamingLocators ...
func (AssetsAndAssetFiltersClient) AssetsUpdate ¶
func (c AssetsAndAssetFiltersClient) AssetsUpdate(ctx context.Context, id AssetId, input Asset) (result AssetsUpdateOperationResponse, err error)
AssetsUpdate ...
func (AssetsAndAssetFiltersClient) TracksCreateOrUpdate ¶
func (c AssetsAndAssetFiltersClient) TracksCreateOrUpdate(ctx context.Context, id TrackId, input AssetTrack) (result TracksCreateOrUpdateOperationResponse, err error)
TracksCreateOrUpdate ...
func (AssetsAndAssetFiltersClient) TracksCreateOrUpdateThenPoll ¶
func (c AssetsAndAssetFiltersClient) TracksCreateOrUpdateThenPoll(ctx context.Context, id TrackId, input AssetTrack) error
TracksCreateOrUpdateThenPoll performs TracksCreateOrUpdate then polls until it's completed
func (AssetsAndAssetFiltersClient) TracksDelete ¶
func (c AssetsAndAssetFiltersClient) TracksDelete(ctx context.Context, id TrackId) (result TracksDeleteOperationResponse, err error)
TracksDelete ...
func (AssetsAndAssetFiltersClient) TracksDeleteThenPoll ¶
func (c AssetsAndAssetFiltersClient) TracksDeleteThenPoll(ctx context.Context, id TrackId) error
TracksDeleteThenPoll performs TracksDelete then polls until it's completed
func (AssetsAndAssetFiltersClient) TracksGet ¶
func (c AssetsAndAssetFiltersClient) TracksGet(ctx context.Context, id TrackId) (result TracksGetOperationResponse, err error)
TracksGet ...
func (AssetsAndAssetFiltersClient) TracksList ¶
func (c AssetsAndAssetFiltersClient) TracksList(ctx context.Context, id AssetId) (result TracksListOperationResponse, err error)
TracksList ...
func (AssetsAndAssetFiltersClient) TracksUpdate ¶
func (c AssetsAndAssetFiltersClient) TracksUpdate(ctx context.Context, id TrackId, input AssetTrack) (result TracksUpdateOperationResponse, err error)
TracksUpdate ...
func (AssetsAndAssetFiltersClient) TracksUpdateThenPoll ¶
func (c AssetsAndAssetFiltersClient) TracksUpdateThenPoll(ctx context.Context, id TrackId, input AssetTrack) error
TracksUpdateThenPoll performs TracksUpdate then polls until it's completed
func (AssetsAndAssetFiltersClient) TracksUpdateTrackData ¶
func (c AssetsAndAssetFiltersClient) TracksUpdateTrackData(ctx context.Context, id TrackId) (result TracksUpdateTrackDataOperationResponse, err error)
TracksUpdateTrackData ...
func (AssetsAndAssetFiltersClient) TracksUpdateTrackDataThenPoll ¶
func (c AssetsAndAssetFiltersClient) TracksUpdateTrackDataThenPoll(ctx context.Context, id TrackId) error
TracksUpdateTrackDataThenPoll performs TracksUpdateTrackData then polls until it's completed
type AssetsGetEncryptionKeyOperationResponse ¶
type AssetsGetEncryptionKeyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StorageEncryptedAssetDecryptionData }
type AssetsListContainerSasOperationResponse ¶
type AssetsListContainerSasOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetContainerSas }
type AssetsListCustomPager ¶ added in v0.20240628.1153531
func (*AssetsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AssetsListCustomPager) NextPageLink() *odata.Link
type AssetsListOperationOptions ¶
func DefaultAssetsListOperationOptions ¶
func DefaultAssetsListOperationOptions() AssetsListOperationOptions
func (AssetsListOperationOptions) ToHeaders ¶
func (o AssetsListOperationOptions) ToHeaders() *client.Headers
func (AssetsListOperationOptions) ToOData ¶
func (o AssetsListOperationOptions) ToOData() *odata.Query
func (AssetsListOperationOptions) ToQuery ¶
func (o AssetsListOperationOptions) ToQuery() *client.QueryParams
type AssetsListStreamingLocatorsOperationResponse ¶
type AssetsListStreamingLocatorsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ListStreamingLocatorsResponse }
type AudioTrack ¶
type AudioTrack struct { }
func (AudioTrack) MarshalJSON ¶
func (s AudioTrack) MarshalJSON() ([]byte, error)
type FilterTrackPropertyCompareOperation ¶
type FilterTrackPropertyCompareOperation string
const ( FilterTrackPropertyCompareOperationEqual FilterTrackPropertyCompareOperation = "Equal" FilterTrackPropertyCompareOperationNotEqual FilterTrackPropertyCompareOperation = "NotEqual" )
func (*FilterTrackPropertyCompareOperation) UnmarshalJSON ¶
func (s *FilterTrackPropertyCompareOperation) UnmarshalJSON(bytes []byte) error
type FilterTrackPropertyCondition ¶
type FilterTrackPropertyCondition struct { Operation FilterTrackPropertyCompareOperation `json:"operation"` Property FilterTrackPropertyType `json:"property"` Value string `json:"value"` }
type FilterTrackPropertyType ¶
type FilterTrackPropertyType string
const ( FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate" FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC" FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language" FilterTrackPropertyTypeName FilterTrackPropertyType = "Name" FilterTrackPropertyTypeType FilterTrackPropertyType = "Type" FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown" )
func (*FilterTrackPropertyType) UnmarshalJSON ¶
func (s *FilterTrackPropertyType) UnmarshalJSON(bytes []byte) error
type FilterTrackSelection ¶
type FilterTrackSelection struct {
TrackSelections []FilterTrackPropertyCondition `json:"trackSelections"`
}
type FirstQuality ¶
type FirstQuality struct {
Bitrate int64 `json:"bitrate"`
}
type HlsSettings ¶
type ListContainerSasInput ¶
type ListContainerSasInput struct { ExpiryTime *string `json:"expiryTime,omitempty"` Permissions *AssetContainerPermission `json:"permissions,omitempty"` }
func (*ListContainerSasInput) GetExpiryTimeAsTime ¶
func (o *ListContainerSasInput) GetExpiryTimeAsTime() (*time.Time, error)
func (*ListContainerSasInput) SetExpiryTimeAsTime ¶
func (o *ListContainerSasInput) SetExpiryTimeAsTime(input time.Time)
type ListStreamingLocatorsResponse ¶
type ListStreamingLocatorsResponse struct {
StreamingLocators *[]AssetStreamingLocator `json:"streamingLocators,omitempty"`
}
type MediaFilterProperties ¶
type MediaFilterProperties struct { FirstQuality *FirstQuality `json:"firstQuality,omitempty"` PresentationTimeRange *PresentationTimeRange `json:"presentationTimeRange,omitempty"` Tracks *[]FilterTrackSelection `json:"tracks,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 ¶
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 PresentationTimeRange ¶
type PresentationTimeRange struct { EndTimestamp *int64 `json:"endTimestamp,omitempty"` ForceEndTimestamp *bool `json:"forceEndTimestamp,omitempty"` LiveBackoffDuration *int64 `json:"liveBackoffDuration,omitempty"` PresentationWindowDuration *int64 `json:"presentationWindowDuration,omitempty"` StartTimestamp *int64 `json:"startTimestamp,omitempty"` Timescale *int64 `json:"timescale,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawTrackBaseImpl ¶
RawTrackBaseImpl 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 StorageEncryptedAssetDecryptionData ¶
type StorageEncryptedAssetDecryptionData struct { AssetFileEncryptionMetadata *[]AssetFileEncryptionMetadata `json:"assetFileEncryptionMetadata,omitempty"` Key *string `json:"key,omitempty"` }
type TextTrack ¶
type TextTrack struct { DisplayName *string `json:"displayName,omitempty"` FileName *string `json:"fileName,omitempty"` HlsSettings *HlsSettings `json:"hlsSettings,omitempty"` LanguageCode *string `json:"languageCode,omitempty"` PlayerVisibility *Visibility `json:"playerVisibility,omitempty"` }
func (TextTrack) MarshalJSON ¶
type TrackId ¶
type TrackId struct { SubscriptionId string ResourceGroupName string MediaServiceName string AssetName string TrackName string }
TrackId is a struct representing the Resource ID for a Track
func NewTrackID ¶
func NewTrackID(subscriptionId string, resourceGroupName string, mediaServiceName string, assetName string, trackName string) TrackId
NewTrackID returns a new TrackId struct
func ParseTrackID ¶
ParseTrackID parses 'input' into a TrackId
func ParseTrackIDInsensitively ¶
ParseTrackIDInsensitively parses 'input' case-insensitively into a TrackId note: this method should only be used for API response data and not user input
func (*TrackId) FromParseResult ¶
func (id *TrackId) FromParseResult(input resourceids.ParseResult) error
func (TrackId) Segments ¶
func (id TrackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Track ID
type TracksGetOperationResponse ¶
type TracksGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetTrack }
type TracksListOperationResponse ¶
type TracksListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssetTrackCollection }
type VideoTrack ¶
type VideoTrack struct { }
func (VideoTrack) MarshalJSON ¶
func (s VideoTrack) MarshalJSON() ([]byte, error)
type Visibility ¶
type Visibility string
const ( VisibilityHidden Visibility = "Hidden" VisibilityVisible Visibility = "Visible" )
func (*Visibility) UnmarshalJSON ¶
func (s *Visibility) UnmarshalJSON(bytes []byte) error
Source Files
¶
- client.go
- constants.go
- id_asset.go
- id_assetfilter.go
- id_mediaservice.go
- id_track.go
- method_assetfilterscreateorupdate.go
- method_assetfiltersdelete.go
- method_assetfiltersget.go
- method_assetfilterslist.go
- method_assetfiltersupdate.go
- method_assetscreateorupdate.go
- method_assetsdelete.go
- method_assetsget.go
- method_assetsgetencryptionkey.go
- method_assetslist.go
- method_assetslistcontainersas.go
- method_assetsliststreaminglocators.go
- method_assetsupdate.go
- method_trackscreateorupdate.go
- method_tracksdelete.go
- method_tracksget.go
- method_trackslist.go
- method_tracksupdate.go
- method_tracksupdatetrackdata.go
- model_asset.go
- model_assetcontainersas.go
- model_assetfileencryptionmetadata.go
- model_assetfilter.go
- model_assetproperties.go
- model_assetstreaminglocator.go
- model_assettrack.go
- model_assettrackcollection.go
- model_assettrackproperties.go
- model_audiotrack.go
- model_filtertrackpropertycondition.go
- model_filtertrackselection.go
- model_firstquality.go
- model_hlssettings.go
- model_listcontainersasinput.go
- model_liststreaminglocatorsresponse.go
- model_mediafilterproperties.go
- model_presentationtimerange.go
- model_storageencryptedassetdecryptiondata.go
- model_texttrack.go
- model_trackbase.go
- model_videotrack.go
- predicates.go
- version.go