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) (result 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) (result 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 CreateOperationOptions ¶
type CreateOperationOptions struct {
AutoStart *bool
}
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
func (CreateOperationOptions) ToHeaders ¶
func (o CreateOperationOptions) ToHeaders() *client.Headers
func (CreateOperationOptions) ToOData ¶
func (o CreateOperationOptions) ToOData() *odata.Query
func (CreateOperationOptions) ToQuery ¶
func (o CreateOperationOptions) ToQuery() *client.QueryParams
type CreateOperationResponse ¶
type CrossSiteAccessPolicies ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type IPAccessControl ¶
type IPAccessControl struct {
Allow *[]IPRange `json:"allow,omitempty"`
}
type ListCompleteResult ¶
type ListOperationResponse ¶
type LiveEvent ¶
type LiveEvent struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LiveEventProperties `json:"properties,omitempty"` 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" LiveEventEncodingTypePassthroughBasic LiveEventEncodingType = "PassthroughBasic" LiveEventEncodingTypePassthroughStandard LiveEventEncodingType = "PassthroughStandard" LiveEventEncodingTypePremiumOneZeroEightZerop LiveEventEncodingType = "Premium1080p" LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard" )
func (*LiveEventEncodingType) UnmarshalJSON ¶
func (s *LiveEventEncodingType) UnmarshalJSON(bytes []byte) error
type LiveEventEndpoint ¶
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) FromParseResult ¶
func (id *LiveEventId) FromParseResult(input resourceids.ParseResult) error
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,omitempty"` 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,omitempty"`
}
type LiveEventInputProtocol ¶
type LiveEventInputProtocol string
const ( LiveEventInputProtocolFragmentedMPFour LiveEventInputProtocol = "FragmentedMP4" LiveEventInputProtocolRTMP LiveEventInputProtocol = "RTMP" )
func (*LiveEventInputProtocol) UnmarshalJSON ¶
func (s *LiveEventInputProtocol) UnmarshalJSON(bytes []byte) error
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,omitempty"` 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,omitempty"`
}
type LiveEventProperties ¶
type LiveEventProperties struct { Created *string `json:"created,omitempty"` CrossSiteAccessPolicies *CrossSiteAccessPolicies `json:"crossSiteAccessPolicies,omitempty"` Description *string `json:"description,omitempty"` Encoding *LiveEventEncoding `json:"encoding,omitempty"` HostnamePrefix *string `json:"hostnamePrefix,omitempty"` Input LiveEventInput `json:"input"` LastModified *string `json:"lastModified,omitempty"` Preview *LiveEventPreview `json:"preview,omitempty"` 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" )
func (*LiveEventResourceState) UnmarshalJSON ¶
func (s *LiveEventResourceState) UnmarshalJSON(bytes []byte) error
type LiveEventTranscription ¶
type LiveEventTranscription struct { InputTrackSelection *[]LiveEventInputTrackSelection `json:"inputTrackSelection,omitempty"` Language *string `json:"language,omitempty"` OutputTranscriptionTrack *LiveEventOutputTranscriptionTrack `json:"outputTranscriptionTrack,omitempty"` }
type LiveEventsClient ¶
type LiveEventsClient struct {
Client *resourcemanager.Client
}
func NewLiveEventsClientWithBaseURI ¶
func NewLiveEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*LiveEventsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (LiveEventsClient) ListComplete ¶
func (c LiveEventsClient) ListComplete(ctx context.Context, id MediaServiceId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LiveEventsClient) ListCompleteMatchingPredicate ¶
func (c LiveEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, predicate LiveEventOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 ¶
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 ResetOperationResponse ¶
type StartOperationResponse ¶
type StopOperationResponse ¶
type StreamOptionsFlag ¶
type StreamOptionsFlag string
const ( StreamOptionsFlagDefault StreamOptionsFlag = "Default" StreamOptionsFlagLowLatency StreamOptionsFlag = "LowLatency" StreamOptionsFlagLowLatencyVTwo StreamOptionsFlag = "LowLatencyV2" )
func (*StreamOptionsFlag) UnmarshalJSON ¶
func (s *StreamOptionsFlag) UnmarshalJSON(bytes []byte) error
type StretchMode ¶
type StretchMode string
const ( StretchModeAutoFit StretchMode = "AutoFit" StretchModeAutoSize StretchMode = "AutoSize" StretchModeNone StretchMode = "None" )
func (*StretchMode) UnmarshalJSON ¶
func (s *StretchMode) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_liveevent.go
- id_mediaservice.go
- method_allocate.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_reset.go
- method_start.go
- method_stop.go
- method_update.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