Documentation ¶
Index ¶
- func PossibleValuesForFilterTrackPropertyCompareOperation() []string
- func PossibleValuesForFilterTrackPropertyType() []string
- func ValidateAccountFilterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AccountFilter
- type AccountFilterId
- type AccountFilterOperationPredicate
- type AccountFiltersClient
- func (c AccountFiltersClient) AccountFiltersCreateOrUpdate(ctx context.Context, id AccountFilterId, input AccountFilter) (result AccountFiltersCreateOrUpdateOperationResponse, err error)
- func (c AccountFiltersClient) AccountFiltersDelete(ctx context.Context, id AccountFilterId) (result AccountFiltersDeleteOperationResponse, err error)
- func (c AccountFiltersClient) AccountFiltersGet(ctx context.Context, id AccountFilterId) (result AccountFiltersGetOperationResponse, err error)
- func (c AccountFiltersClient) AccountFiltersList(ctx context.Context, id MediaServiceId) (result AccountFiltersListOperationResponse, err error)
- func (c AccountFiltersClient) AccountFiltersListComplete(ctx context.Context, id MediaServiceId) (AccountFiltersListCompleteResult, error)
- func (c AccountFiltersClient) AccountFiltersListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (result AccountFiltersListCompleteResult, err error)
- func (c AccountFiltersClient) AccountFiltersUpdate(ctx context.Context, id AccountFilterId, input AccountFilter) (result AccountFiltersUpdateOperationResponse, err error)
- type AccountFiltersCreateOrUpdateOperationResponse
- type AccountFiltersDeleteOperationResponse
- type AccountFiltersGetOperationResponse
- type AccountFiltersListCompleteResult
- type AccountFiltersListOperationResponse
- type AccountFiltersUpdateOperationResponse
- type FilterTrackPropertyCompareOperation
- type FilterTrackPropertyCondition
- type FilterTrackPropertyType
- type FilterTrackSelection
- type FirstQuality
- type MediaFilterProperties
- type MediaServiceId
- type PresentationTimeRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFilterTrackPropertyCompareOperation ¶
func PossibleValuesForFilterTrackPropertyCompareOperation() []string
func PossibleValuesForFilterTrackPropertyType ¶
func PossibleValuesForFilterTrackPropertyType() []string
func ValidateAccountFilterID ¶
ValidateAccountFilterID checks that 'input' can be parsed as a Account Filter ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
Types ¶
type AccountFilter ¶
type AccountFilter 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 AccountFilterId ¶
type AccountFilterId struct { SubscriptionId string ResourceGroupName string MediaServiceName string AccountFilterName string }
AccountFilterId is a struct representing the Resource ID for a Account Filter
func NewAccountFilterID ¶
func NewAccountFilterID(subscriptionId string, resourceGroupName string, mediaServiceName string, accountFilterName string) AccountFilterId
NewAccountFilterID returns a new AccountFilterId struct
func ParseAccountFilterID ¶
func ParseAccountFilterID(input string) (*AccountFilterId, error)
ParseAccountFilterID parses 'input' into a AccountFilterId
func ParseAccountFilterIDInsensitively ¶
func ParseAccountFilterIDInsensitively(input string) (*AccountFilterId, error)
ParseAccountFilterIDInsensitively parses 'input' case-insensitively into a AccountFilterId note: this method should only be used for API response data and not user input
func (AccountFilterId) ID ¶
func (id AccountFilterId) ID() string
ID returns the formatted Account Filter ID
func (AccountFilterId) Segments ¶
func (id AccountFilterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account Filter ID
func (AccountFilterId) String ¶
func (id AccountFilterId) String() string
String returns a human-readable description of this Account Filter ID
type AccountFilterOperationPredicate ¶
func (AccountFilterOperationPredicate) Matches ¶
func (p AccountFilterOperationPredicate) Matches(input AccountFilter) bool
type AccountFiltersClient ¶
type AccountFiltersClient struct {
Client *resourcemanager.Client
}
func NewAccountFiltersClientWithBaseURI ¶
func NewAccountFiltersClientWithBaseURI(api environments.Api) (*AccountFiltersClient, error)
func (AccountFiltersClient) AccountFiltersCreateOrUpdate ¶
func (c AccountFiltersClient) AccountFiltersCreateOrUpdate(ctx context.Context, id AccountFilterId, input AccountFilter) (result AccountFiltersCreateOrUpdateOperationResponse, err error)
AccountFiltersCreateOrUpdate ...
func (AccountFiltersClient) AccountFiltersDelete ¶
func (c AccountFiltersClient) AccountFiltersDelete(ctx context.Context, id AccountFilterId) (result AccountFiltersDeleteOperationResponse, err error)
AccountFiltersDelete ...
func (AccountFiltersClient) AccountFiltersGet ¶
func (c AccountFiltersClient) AccountFiltersGet(ctx context.Context, id AccountFilterId) (result AccountFiltersGetOperationResponse, err error)
AccountFiltersGet ...
func (AccountFiltersClient) AccountFiltersList ¶
func (c AccountFiltersClient) AccountFiltersList(ctx context.Context, id MediaServiceId) (result AccountFiltersListOperationResponse, err error)
AccountFiltersList ...
func (AccountFiltersClient) AccountFiltersListComplete ¶
func (c AccountFiltersClient) AccountFiltersListComplete(ctx context.Context, id MediaServiceId) (AccountFiltersListCompleteResult, error)
AccountFiltersListComplete retrieves all the results into a single object
func (AccountFiltersClient) AccountFiltersListCompleteMatchingPredicate ¶
func (c AccountFiltersClient) AccountFiltersListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, predicate AccountFilterOperationPredicate) (result AccountFiltersListCompleteResult, err error)
AccountFiltersListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountFiltersClient) AccountFiltersUpdate ¶
func (c AccountFiltersClient) AccountFiltersUpdate(ctx context.Context, id AccountFilterId, input AccountFilter) (result AccountFiltersUpdateOperationResponse, err error)
AccountFiltersUpdate ...
type AccountFiltersCreateOrUpdateOperationResponse ¶
type AccountFiltersCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountFilter }
type AccountFiltersGetOperationResponse ¶
type AccountFiltersGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountFilter }
type AccountFiltersListCompleteResult ¶
type AccountFiltersListCompleteResult struct {
Items []AccountFilter
}
type AccountFiltersListOperationResponse ¶
type AccountFiltersListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AccountFilter }
type AccountFiltersUpdateOperationResponse ¶
type AccountFiltersUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountFilter }
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 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) 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"` }
Source Files ¶
- client.go
- constants.go
- id_accountfilter.go
- id_mediaservice.go
- method_accountfilterscreateorupdate.go
- method_accountfiltersdelete.go
- method_accountfiltersget.go
- method_accountfilterslist.go
- method_accountfiltersupdate.go
- model_accountfilter.go
- model_filtertrackpropertycondition.go
- model_filtertrackselection.go
- model_firstquality.go
- model_mediafilterproperties.go
- model_presentationtimerange.go
- predicates.go
- version.go