Documentation ¶
Index ¶
- func PossibleValuesForLiveOutputResourceState() []string
- func ValidateLiveEventID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLiveOutputID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type Hls
- type ListCompleteResult
- type ListOperationResponse
- type LiveEventId
- type LiveOutput
- type LiveOutputId
- type LiveOutputOperationPredicate
- type LiveOutputProperties
- type LiveOutputResourceState
- type LiveOutputsClient
- func (c LiveOutputsClient) Create(ctx context.Context, id LiveOutputId, input LiveOutput) (result CreateOperationResponse, err error)
- func (c LiveOutputsClient) CreateThenPoll(ctx context.Context, id LiveOutputId, input LiveOutput) error
- func (c LiveOutputsClient) Delete(ctx context.Context, id LiveOutputId) (result DeleteOperationResponse, err error)
- func (c LiveOutputsClient) DeleteThenPoll(ctx context.Context, id LiveOutputId) error
- func (c LiveOutputsClient) Get(ctx context.Context, id LiveOutputId) (result GetOperationResponse, err error)
- func (c LiveOutputsClient) List(ctx context.Context, id LiveEventId) (resp ListOperationResponse, err error)
- func (c LiveOutputsClient) ListComplete(ctx context.Context, id LiveEventId) (ListCompleteResult, error)
- func (c LiveOutputsClient) ListCompleteMatchingPredicate(ctx context.Context, id LiveEventId, predicate LiveOutputOperationPredicate) (resp ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLiveOutputResourceState ¶
func PossibleValuesForLiveOutputResourceState() []string
func ValidateLiveEventID ¶
ValidateLiveEventID checks that 'input' can be parsed as a Live Event ID
func ValidateLiveOutputID ¶
ValidateLiveOutputID checks that 'input' can be parsed as a Live Output ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *LiveOutput }
type Hls ¶
type Hls struct {
FragmentsPerTsSegment *int64 `json:"fragmentsPerTsSegment,omitempty"`
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []LiveOutput
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]LiveOutput // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type LiveEventId ¶
type LiveEventId struct { SubscriptionId string ResourceGroupName string MediaServiceName string LiveEventName string }
LiveEventId is a struct representing the Resource ID for a Live Event
func NewLiveEventID ¶
func NewLiveEventID(subscriptionId string, resourceGroupName string, mediaServiceName string, liveEventName string) LiveEventId
NewLiveEventID returns a new LiveEventId struct
func ParseLiveEventID ¶
func ParseLiveEventID(input string) (*LiveEventId, error)
ParseLiveEventID parses 'input' into a LiveEventId
func ParseLiveEventIDInsensitively ¶
func ParseLiveEventIDInsensitively(input string) (*LiveEventId, error)
ParseLiveEventIDInsensitively parses 'input' case-insensitively into a LiveEventId note: this method should only be used for API response data and not user input
func (LiveEventId) Segments ¶
func (id LiveEventId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Live Event ID
func (LiveEventId) String ¶
func (id LiveEventId) String() string
String returns a human-readable description of this Live Event ID
type LiveOutput ¶
type LiveOutput struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LiveOutputProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LiveOutputId ¶
type LiveOutputId struct { SubscriptionId string ResourceGroupName string MediaServiceName string LiveEventName string LiveOutputName string }
LiveOutputId is a struct representing the Resource ID for a Live Output
func NewLiveOutputID ¶
func NewLiveOutputID(subscriptionId string, resourceGroupName string, mediaServiceName string, liveEventName string, liveOutputName string) LiveOutputId
NewLiveOutputID returns a new LiveOutputId struct
func ParseLiveOutputID ¶
func ParseLiveOutputID(input string) (*LiveOutputId, error)
ParseLiveOutputID parses 'input' into a LiveOutputId
func ParseLiveOutputIDInsensitively ¶
func ParseLiveOutputIDInsensitively(input string) (*LiveOutputId, error)
ParseLiveOutputIDInsensitively parses 'input' case-insensitively into a LiveOutputId note: this method should only be used for API response data and not user input
func (LiveOutputId) Segments ¶
func (id LiveOutputId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Live Output ID
func (LiveOutputId) String ¶
func (id LiveOutputId) String() string
String returns a human-readable description of this Live Output ID
type LiveOutputOperationPredicate ¶
func (LiveOutputOperationPredicate) Matches ¶
func (p LiveOutputOperationPredicate) Matches(input LiveOutput) bool
type LiveOutputProperties ¶
type LiveOutputProperties struct { ArchiveWindowLength string `json:"archiveWindowLength"` AssetName string `json:"assetName"` Created *string `json:"created,omitempty"` Description *string `json:"description,omitempty"` Hls *Hls `json:"hls,omitempty"` LastModified *string `json:"lastModified,omitempty"` ManifestName *string `json:"manifestName,omitempty"` OutputSnapTime *int64 `json:"outputSnapTime,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceState *LiveOutputResourceState `json:"resourceState,omitempty"` }
func (*LiveOutputProperties) GetCreatedAsTime ¶
func (o *LiveOutputProperties) GetCreatedAsTime() (*time.Time, error)
func (*LiveOutputProperties) GetLastModifiedAsTime ¶
func (o *LiveOutputProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*LiveOutputProperties) SetCreatedAsTime ¶
func (o *LiveOutputProperties) SetCreatedAsTime(input time.Time)
func (*LiveOutputProperties) SetLastModifiedAsTime ¶
func (o *LiveOutputProperties) SetLastModifiedAsTime(input time.Time)
type LiveOutputResourceState ¶
type LiveOutputResourceState string
const ( LiveOutputResourceStateCreating LiveOutputResourceState = "Creating" LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting" LiveOutputResourceStateRunning LiveOutputResourceState = "Running" )
type LiveOutputsClient ¶
func NewLiveOutputsClientWithBaseURI ¶
func NewLiveOutputsClientWithBaseURI(endpoint string) LiveOutputsClient
func (LiveOutputsClient) Create ¶
func (c LiveOutputsClient) Create(ctx context.Context, id LiveOutputId, input LiveOutput) (result CreateOperationResponse, err error)
Create ...
func (LiveOutputsClient) CreateThenPoll ¶
func (c LiveOutputsClient) CreateThenPoll(ctx context.Context, id LiveOutputId, input LiveOutput) error
CreateThenPoll performs Create then polls until it's completed
func (LiveOutputsClient) Delete ¶
func (c LiveOutputsClient) Delete(ctx context.Context, id LiveOutputId) (result DeleteOperationResponse, err error)
Delete ...
func (LiveOutputsClient) DeleteThenPoll ¶
func (c LiveOutputsClient) DeleteThenPoll(ctx context.Context, id LiveOutputId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LiveOutputsClient) Get ¶
func (c LiveOutputsClient) Get(ctx context.Context, id LiveOutputId) (result GetOperationResponse, err error)
Get ...
func (LiveOutputsClient) List ¶
func (c LiveOutputsClient) List(ctx context.Context, id LiveEventId) (resp ListOperationResponse, err error)
List ...
func (LiveOutputsClient) ListComplete ¶
func (c LiveOutputsClient) ListComplete(ctx context.Context, id LiveEventId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (LiveOutputsClient) ListCompleteMatchingPredicate ¶
func (c LiveOutputsClient) ListCompleteMatchingPredicate(ctx context.Context, id LiveEventId, predicate LiveOutputOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate