Documentation
¶
Index ¶
- func PossibleValuesForLiveEventEncodingType() []string
- func PossibleValuesForLiveEventInputProtocol() []string
- func PossibleValuesForLiveEventResourceState() []string
- func PossibleValuesForStreamOptionsFlag() []string
- func PossibleValuesForStretchMode() []string
- func ValidateLiveEventID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AllocateOperationResponse
- type CreateOperationOptions
- type CreateOperationResponse
- type CrossSiteAccessPolicies
- type DeleteOperationResponse
- type GetOperationResponse
- type IPAccessControl
- type IPRange
- type ListCompleteResult
- type ListOperationResponse
- type LiveEvent
- type LiveEventActionInput
- type LiveEventEncoding
- type LiveEventEncodingType
- type LiveEventEndpoint
- type LiveEventId
- type LiveEventInput
- type LiveEventInputAccessControl
- type LiveEventInputProtocol
- type LiveEventInputTrackSelection
- type LiveEventOperationPredicate
- type LiveEventOutputTranscriptionTrack
- type LiveEventPreview
- type LiveEventPreviewAccessControl
- type LiveEventProperties
- type LiveEventResourceState
- type LiveEventTranscription
- type LiveEventsClient
- func (c LiveEventsClient) Allocate(ctx context.Context, id LiveEventId) (result AllocateOperationResponse, err error)
- func (c LiveEventsClient) AllocateThenPoll(ctx context.Context, id LiveEventId) error
- func (c LiveEventsClient) Create(ctx context.Context, id LiveEventId, input LiveEvent, ...) (result CreateOperationResponse, err error)
- func (c LiveEventsClient) CreateThenPoll(ctx context.Context, id LiveEventId, input LiveEvent, ...) error
- func (c LiveEventsClient) Delete(ctx context.Context, id LiveEventId) (result DeleteOperationResponse, err error)
- func (c LiveEventsClient) DeleteThenPoll(ctx context.Context, id LiveEventId) error
- func (c LiveEventsClient) Get(ctx context.Context, id LiveEventId) (result GetOperationResponse, err error)
- func (c LiveEventsClient) List(ctx context.Context, id MediaServiceId) (resp ListOperationResponse, err error)
- func (c LiveEventsClient) ListComplete(ctx context.Context, id MediaServiceId) (ListCompleteResult, error)
- func (c LiveEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, predicate LiveEventOperationPredicate) (resp ListCompleteResult, err error)
- func (c LiveEventsClient) Reset(ctx context.Context, id LiveEventId) (result ResetOperationResponse, err error)
- func (c LiveEventsClient) ResetThenPoll(ctx context.Context, id LiveEventId) error
- func (c LiveEventsClient) Start(ctx context.Context, id LiveEventId) (result StartOperationResponse, err error)
- func (c LiveEventsClient) StartThenPoll(ctx context.Context, id LiveEventId) error
- func (c LiveEventsClient) Stop(ctx context.Context, id LiveEventId, input LiveEventActionInput) (result StopOperationResponse, err error)
- func (c LiveEventsClient) StopThenPoll(ctx context.Context, id LiveEventId, input LiveEventActionInput) error
- func (c LiveEventsClient) Update(ctx context.Context, id LiveEventId, input LiveEvent) (result UpdateOperationResponse, err error)
- func (c LiveEventsClient) UpdateThenPoll(ctx context.Context, id LiveEventId, input LiveEvent) error
- type MediaServiceId
- type ResetOperationResponse
- type StartOperationResponse
- type StopOperationResponse
- type StreamOptionsFlag
- type StretchMode
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLiveEventEncodingType ¶
func PossibleValuesForLiveEventEncodingType() []string
func PossibleValuesForLiveEventInputProtocol ¶
func PossibleValuesForLiveEventInputProtocol() []string
func PossibleValuesForLiveEventResourceState ¶
func PossibleValuesForLiveEventResourceState() []string
func PossibleValuesForStreamOptionsFlag ¶
func PossibleValuesForStreamOptionsFlag() []string
func PossibleValuesForStretchMode ¶
func PossibleValuesForStretchMode() []string
func ValidateLiveEventID ¶
ValidateLiveEventID checks that 'input' can be parsed as a Live Event ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
Types ¶
type AllocateOperationResponse ¶
type AllocateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateOperationOptions ¶
type CreateOperationOptions struct {
AutoStart *bool
}
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CrossSiteAccessPolicies ¶
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type IPAccessControl ¶
type IPAccessControl struct {
Allow *[]IPRange `json:"allow,omitempty"`
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []LiveEvent
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]LiveEvent // 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 LiveEvent ¶
type LiveEvent struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LiveEventProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LiveEventActionInput ¶
type LiveEventActionInput struct {
RemoveOutputsOnStop *bool `json:"removeOutputsOnStop,omitempty"`
}
type LiveEventEncoding ¶
type LiveEventEncoding struct { EncodingType *LiveEventEncodingType `json:"encodingType,omitempty"` KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` PresetName *string `json:"presetName,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` }
type LiveEventEncodingType ¶
type LiveEventEncodingType string
const ( LiveEventEncodingTypeNone LiveEventEncodingType = "None" LiveEventEncodingTypePremiumOneZeroEightZerop LiveEventEncodingType = "Premium1080p" LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard" )
type LiveEventEndpoint ¶
type LiveEventId ¶
type LiveEventId struct { SubscriptionId string ResourceGroupName string AccountName string LiveEventName string }
LiveEventId is a struct representing the Resource ID for a Live Event
func NewLiveEventID ¶
func NewLiveEventID(subscriptionId string, resourceGroupName string, accountName 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 LiveEventInput ¶
type LiveEventInput struct { AccessControl *LiveEventInputAccessControl `json:"accessControl"` AccessToken *string `json:"accessToken,omitempty"` Endpoints *[]LiveEventEndpoint `json:"endpoints,omitempty"` KeyFrameIntervalDuration *string `json:"keyFrameIntervalDuration,omitempty"` StreamingProtocol LiveEventInputProtocol `json:"streamingProtocol"` }
type LiveEventInputAccessControl ¶
type LiveEventInputAccessControl struct {
IP *IPAccessControl `json:"ip"`
}
type LiveEventInputProtocol ¶
type LiveEventInputProtocol string
const ( LiveEventInputProtocolFragmentedMPFour LiveEventInputProtocol = "FragmentedMP4" LiveEventInputProtocolRTMP LiveEventInputProtocol = "RTMP" )
type LiveEventOperationPredicate ¶
func (LiveEventOperationPredicate) Matches ¶
func (p LiveEventOperationPredicate) Matches(input LiveEvent) bool
type LiveEventOutputTranscriptionTrack ¶
type LiveEventOutputTranscriptionTrack struct {
TrackName string `json:"trackName"`
}
type LiveEventPreview ¶
type LiveEventPreview struct { AccessControl *LiveEventPreviewAccessControl `json:"accessControl"` AlternativeMediaId *string `json:"alternativeMediaId,omitempty"` Endpoints *[]LiveEventEndpoint `json:"endpoints,omitempty"` PreviewLocator *string `json:"previewLocator,omitempty"` StreamingPolicyName *string `json:"streamingPolicyName,omitempty"` }
type LiveEventPreviewAccessControl ¶
type LiveEventPreviewAccessControl struct {
IP *IPAccessControl `json:"ip"`
}
type LiveEventProperties ¶
type LiveEventProperties struct { Created *string `json:"created,omitempty"` CrossSiteAccessPolicies *CrossSiteAccessPolicies `json:"crossSiteAccessPolicies"` Description *string `json:"description,omitempty"` Encoding *LiveEventEncoding `json:"encoding"` HostnamePrefix *string `json:"hostnamePrefix,omitempty"` Input LiveEventInput `json:"input"` LastModified *string `json:"lastModified,omitempty"` Preview *LiveEventPreview `json:"preview"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceState *LiveEventResourceState `json:"resourceState,omitempty"` StreamOptions *[]StreamOptionsFlag `json:"streamOptions,omitempty"` Transcriptions *[]LiveEventTranscription `json:"transcriptions,omitempty"` UseStaticHostname *bool `json:"useStaticHostname,omitempty"` }
func (*LiveEventProperties) GetCreatedAsTime ¶
func (o *LiveEventProperties) GetCreatedAsTime() (*time.Time, error)
func (*LiveEventProperties) GetLastModifiedAsTime ¶
func (o *LiveEventProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*LiveEventProperties) SetCreatedAsTime ¶
func (o *LiveEventProperties) SetCreatedAsTime(input time.Time)
func (*LiveEventProperties) SetLastModifiedAsTime ¶
func (o *LiveEventProperties) SetLastModifiedAsTime(input time.Time)
type LiveEventResourceState ¶
type LiveEventResourceState string
const ( LiveEventResourceStateAllocating LiveEventResourceState = "Allocating" LiveEventResourceStateDeleting LiveEventResourceState = "Deleting" LiveEventResourceStateRunning LiveEventResourceState = "Running" LiveEventResourceStateStandBy LiveEventResourceState = "StandBy" LiveEventResourceStateStarting LiveEventResourceState = "Starting" LiveEventResourceStateStopped LiveEventResourceState = "Stopped" LiveEventResourceStateStopping LiveEventResourceState = "Stopping" )
type LiveEventTranscription ¶
type LiveEventTranscription struct { InputTrackSelection *[]LiveEventInputTrackSelection `json:"inputTrackSelection,omitempty"` Language *string `json:"language,omitempty"` OutputTranscriptionTrack *LiveEventOutputTranscriptionTrack `json:"outputTranscriptionTrack"` }
type LiveEventsClient ¶
func NewLiveEventsClientWithBaseURI ¶
func NewLiveEventsClientWithBaseURI(endpoint string) LiveEventsClient
func (LiveEventsClient) Allocate ¶
func (c LiveEventsClient) Allocate(ctx context.Context, id LiveEventId) (result AllocateOperationResponse, err error)
Allocate ...
func (LiveEventsClient) AllocateThenPoll ¶
func (c LiveEventsClient) AllocateThenPoll(ctx context.Context, id LiveEventId) error
AllocateThenPoll performs Allocate then polls until it's completed
func (LiveEventsClient) Create ¶
func (c LiveEventsClient) Create(ctx context.Context, id LiveEventId, input LiveEvent, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (LiveEventsClient) CreateThenPoll ¶
func (c LiveEventsClient) CreateThenPoll(ctx context.Context, id LiveEventId, input LiveEvent, options CreateOperationOptions) error
CreateThenPoll performs Create then polls until it's completed
func (LiveEventsClient) Delete ¶
func (c LiveEventsClient) Delete(ctx context.Context, id LiveEventId) (result DeleteOperationResponse, err error)
Delete ...
func (LiveEventsClient) DeleteThenPoll ¶
func (c LiveEventsClient) DeleteThenPoll(ctx context.Context, id LiveEventId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LiveEventsClient) Get ¶
func (c LiveEventsClient) Get(ctx context.Context, id LiveEventId) (result GetOperationResponse, err error)
Get ...
func (LiveEventsClient) List ¶
func (c LiveEventsClient) List(ctx context.Context, id MediaServiceId) (resp ListOperationResponse, err error)
List ...
func (LiveEventsClient) ListComplete ¶
func (c LiveEventsClient) ListComplete(ctx context.Context, id MediaServiceId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (LiveEventsClient) ListCompleteMatchingPredicate ¶
func (c LiveEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, predicate LiveEventOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LiveEventsClient) Reset ¶
func (c LiveEventsClient) Reset(ctx context.Context, id LiveEventId) (result ResetOperationResponse, err error)
Reset ...
func (LiveEventsClient) ResetThenPoll ¶
func (c LiveEventsClient) ResetThenPoll(ctx context.Context, id LiveEventId) error
ResetThenPoll performs Reset then polls until it's completed
func (LiveEventsClient) Start ¶
func (c LiveEventsClient) Start(ctx context.Context, id LiveEventId) (result StartOperationResponse, err error)
Start ...
func (LiveEventsClient) StartThenPoll ¶
func (c LiveEventsClient) StartThenPoll(ctx context.Context, id LiveEventId) error
StartThenPoll performs Start then polls until it's completed
func (LiveEventsClient) Stop ¶
func (c LiveEventsClient) Stop(ctx context.Context, id LiveEventId, input LiveEventActionInput) (result StopOperationResponse, err error)
Stop ...
func (LiveEventsClient) StopThenPoll ¶
func (c LiveEventsClient) StopThenPoll(ctx context.Context, id LiveEventId, input LiveEventActionInput) error
StopThenPoll performs Stop then polls until it's completed
func (LiveEventsClient) Update ¶
func (c LiveEventsClient) Update(ctx context.Context, id LiveEventId, input LiveEvent) (result UpdateOperationResponse, err error)
Update ...
func (LiveEventsClient) UpdateThenPoll ¶
func (c LiveEventsClient) UpdateThenPoll(ctx context.Context, id LiveEventId, input LiveEvent) error
UpdateThenPoll performs Update then polls until it's completed
type MediaServiceId ¶
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId string, resourceGroupName 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 ResetOperationResponse ¶
type ResetOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StopOperationResponse ¶
type StopOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StreamOptionsFlag ¶
type StreamOptionsFlag string
const ( StreamOptionsFlagDefault StreamOptionsFlag = "Default" StreamOptionsFlagLowLatency StreamOptionsFlag = "LowLatency" )
type StretchMode ¶
type StretchMode string
const ( StretchModeAutoFit StretchMode = "AutoFit" StretchModeAutoSize StretchMode = "AutoSize" StretchModeNone StretchMode = "None" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files
¶
- client.go
- constants.go
- id_liveevent.go
- id_mediaservice.go
- method_allocate_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_reset_autorest.go
- method_start_autorest.go
- method_stop_autorest.go
- method_update_autorest.go
- model_crosssiteaccesspolicies.go
- model_ipaccesscontrol.go
- model_iprange.go
- model_liveevent.go
- model_liveeventactioninput.go
- model_liveeventencoding.go
- model_liveeventendpoint.go
- model_liveeventinput.go
- model_liveeventinputaccesscontrol.go
- model_liveeventinputtrackselection.go
- model_liveeventoutputtranscriptiontrack.go
- model_liveeventpreview.go
- model_liveeventpreviewaccesscontrol.go
- model_liveeventproperties.go
- model_liveeventtranscription.go
- predicates.go
- version.go