Documentation ¶
Index ¶
- func PossibleValuesForStreamingEndpointResourceState() []string
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStreamingEndpointID(input interface{}, key string) (warnings []string, errors []error)
- type AkamaiAccessControl
- type AkamaiSignatureHeaderAuthenticationKey
- type CreateOperationOptions
- type CreateOperationResponse
- type CrossSiteAccessPolicies
- type DeleteOperationResponse
- type GetOperationResponse
- type IPAccessControl
- type IPRange
- type ListCompleteResult
- type ListOperationResponse
- type MediaServiceId
- type ScaleOperationResponse
- type StartOperationResponse
- type StopOperationResponse
- type StreamingEndpoint
- type StreamingEndpointAccessControl
- type StreamingEndpointId
- type StreamingEndpointOperationPredicate
- type StreamingEndpointProperties
- func (o *StreamingEndpointProperties) GetCreatedAsTime() (*time.Time, error)
- func (o *StreamingEndpointProperties) GetFreeTrialEndTimeAsTime() (*time.Time, error)
- func (o *StreamingEndpointProperties) GetLastModifiedAsTime() (*time.Time, error)
- func (o *StreamingEndpointProperties) SetCreatedAsTime(input time.Time)
- func (o *StreamingEndpointProperties) SetFreeTrialEndTimeAsTime(input time.Time)
- func (o *StreamingEndpointProperties) SetLastModifiedAsTime(input time.Time)
- type StreamingEndpointResourceState
- type StreamingEndpointsClient
- func (c StreamingEndpointsClient) Create(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint, ...) (result CreateOperationResponse, err error)
- func (c StreamingEndpointsClient) CreateThenPoll(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint, ...) error
- func (c StreamingEndpointsClient) Delete(ctx context.Context, id StreamingEndpointId) (result DeleteOperationResponse, err error)
- func (c StreamingEndpointsClient) DeleteThenPoll(ctx context.Context, id StreamingEndpointId) error
- func (c StreamingEndpointsClient) Get(ctx context.Context, id StreamingEndpointId) (result GetOperationResponse, err error)
- func (c StreamingEndpointsClient) List(ctx context.Context, id MediaServiceId) (resp ListOperationResponse, err error)
- func (c StreamingEndpointsClient) ListComplete(ctx context.Context, id MediaServiceId) (ListCompleteResult, error)
- func (c StreamingEndpointsClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, ...) (resp ListCompleteResult, err error)
- func (c StreamingEndpointsClient) Scale(ctx context.Context, id StreamingEndpointId, input StreamingEntityScaleUnit) (result ScaleOperationResponse, err error)
- func (c StreamingEndpointsClient) ScaleThenPoll(ctx context.Context, id StreamingEndpointId, input StreamingEntityScaleUnit) error
- func (c StreamingEndpointsClient) Start(ctx context.Context, id StreamingEndpointId) (result StartOperationResponse, err error)
- func (c StreamingEndpointsClient) StartThenPoll(ctx context.Context, id StreamingEndpointId) error
- func (c StreamingEndpointsClient) Stop(ctx context.Context, id StreamingEndpointId) (result StopOperationResponse, err error)
- func (c StreamingEndpointsClient) StopThenPoll(ctx context.Context, id StreamingEndpointId) error
- type StreamingEntityScaleUnit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForStreamingEndpointResourceState ¶
func PossibleValuesForStreamingEndpointResourceState() []string
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
func ValidateStreamingEndpointID ¶
ValidateStreamingEndpointID checks that 'input' can be parsed as a Streaming Endpoint ID
Types ¶
type AkamaiAccessControl ¶
type AkamaiAccessControl struct {
AkamaiSignatureHeaderAuthenticationKeyList *[]AkamaiSignatureHeaderAuthenticationKey `json:"akamaiSignatureHeaderAuthenticationKeyList,omitempty"`
}
type AkamaiSignatureHeaderAuthenticationKey ¶
type AkamaiSignatureHeaderAuthenticationKey struct { Base64Key *string `json:"base64Key,omitempty"` Expiration *string `json:"expiration,omitempty"` Identifier *string `json:"identifier,omitempty"` }
func (*AkamaiSignatureHeaderAuthenticationKey) GetExpirationAsTime ¶
func (o *AkamaiSignatureHeaderAuthenticationKey) GetExpirationAsTime() (*time.Time, error)
func (*AkamaiSignatureHeaderAuthenticationKey) SetExpirationAsTime ¶
func (o *AkamaiSignatureHeaderAuthenticationKey) SetExpirationAsTime(input time.Time)
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 GetOperationResponse struct { HttpResponse *http.Response Model *StreamingEndpoint }
type IPAccessControl ¶
type IPAccessControl struct {
Allow *[]IPRange `json:"allow,omitempty"`
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []StreamingEndpoint
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]StreamingEndpoint // 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 MediaServiceId ¶
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId 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 ScaleOperationResponse ¶
type ScaleOperationResponse 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 StreamingEndpoint ¶
type StreamingEndpoint struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *StreamingEndpointProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type StreamingEndpointAccessControl ¶
type StreamingEndpointAccessControl struct { Akamai *AkamaiAccessControl `json:"akamai,omitempty"` IP *IPAccessControl `json:"ip,omitempty"` }
type StreamingEndpointId ¶
type StreamingEndpointId struct { SubscriptionId string ResourceGroupName string AccountName string StreamingEndpointName string }
StreamingEndpointId is a struct representing the Resource ID for a Streaming Endpoint
func NewStreamingEndpointID ¶
func NewStreamingEndpointID(subscriptionId string, resourceGroupName string, accountName string, streamingEndpointName string) StreamingEndpointId
NewStreamingEndpointID returns a new StreamingEndpointId struct
func ParseStreamingEndpointID ¶
func ParseStreamingEndpointID(input string) (*StreamingEndpointId, error)
ParseStreamingEndpointID parses 'input' into a StreamingEndpointId
func ParseStreamingEndpointIDInsensitively ¶
func ParseStreamingEndpointIDInsensitively(input string) (*StreamingEndpointId, error)
ParseStreamingEndpointIDInsensitively parses 'input' case-insensitively into a StreamingEndpointId note: this method should only be used for API response data and not user input
func (StreamingEndpointId) ID ¶
func (id StreamingEndpointId) ID() string
ID returns the formatted Streaming Endpoint ID
func (StreamingEndpointId) Segments ¶
func (id StreamingEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Streaming Endpoint ID
func (StreamingEndpointId) String ¶
func (id StreamingEndpointId) String() string
String returns a human-readable description of this Streaming Endpoint ID
type StreamingEndpointOperationPredicate ¶
type StreamingEndpointOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (StreamingEndpointOperationPredicate) Matches ¶
func (p StreamingEndpointOperationPredicate) Matches(input StreamingEndpoint) bool
type StreamingEndpointProperties ¶
type StreamingEndpointProperties struct { AccessControl *StreamingEndpointAccessControl `json:"accessControl,omitempty"` AvailabilitySetName *string `json:"availabilitySetName,omitempty"` CdnEnabled *bool `json:"cdnEnabled,omitempty"` CdnProfile *string `json:"cdnProfile,omitempty"` CdnProvider *string `json:"cdnProvider,omitempty"` Created *string `json:"created,omitempty"` CrossSiteAccessPolicies *CrossSiteAccessPolicies `json:"crossSiteAccessPolicies,omitempty"` CustomHostNames *[]string `json:"customHostNames,omitempty"` Description *string `json:"description,omitempty"` FreeTrialEndTime *string `json:"freeTrialEndTime,omitempty"` HostName *string `json:"hostName,omitempty"` LastModified *string `json:"lastModified,omitempty"` MaxCacheAge *int64 `json:"maxCacheAge,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceState *StreamingEndpointResourceState `json:"resourceState,omitempty"` ScaleUnits int64 `json:"scaleUnits"` }
func (*StreamingEndpointProperties) GetCreatedAsTime ¶
func (o *StreamingEndpointProperties) GetCreatedAsTime() (*time.Time, error)
func (*StreamingEndpointProperties) GetFreeTrialEndTimeAsTime ¶
func (o *StreamingEndpointProperties) GetFreeTrialEndTimeAsTime() (*time.Time, error)
func (*StreamingEndpointProperties) GetLastModifiedAsTime ¶
func (o *StreamingEndpointProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*StreamingEndpointProperties) SetCreatedAsTime ¶
func (o *StreamingEndpointProperties) SetCreatedAsTime(input time.Time)
func (*StreamingEndpointProperties) SetFreeTrialEndTimeAsTime ¶
func (o *StreamingEndpointProperties) SetFreeTrialEndTimeAsTime(input time.Time)
func (*StreamingEndpointProperties) SetLastModifiedAsTime ¶
func (o *StreamingEndpointProperties) SetLastModifiedAsTime(input time.Time)
type StreamingEndpointResourceState ¶
type StreamingEndpointResourceState string
const ( StreamingEndpointResourceStateDeleting StreamingEndpointResourceState = "Deleting" StreamingEndpointResourceStateRunning StreamingEndpointResourceState = "Running" StreamingEndpointResourceStateScaling StreamingEndpointResourceState = "Scaling" StreamingEndpointResourceStateStarting StreamingEndpointResourceState = "Starting" StreamingEndpointResourceStateStopped StreamingEndpointResourceState = "Stopped" StreamingEndpointResourceStateStopping StreamingEndpointResourceState = "Stopping" )
type StreamingEndpointsClient ¶
type StreamingEndpointsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewStreamingEndpointsClientWithBaseURI ¶
func NewStreamingEndpointsClientWithBaseURI(endpoint string) StreamingEndpointsClient
func (StreamingEndpointsClient) Create ¶
func (c StreamingEndpointsClient) Create(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (StreamingEndpointsClient) CreateThenPoll ¶
func (c StreamingEndpointsClient) CreateThenPoll(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint, options CreateOperationOptions) error
CreateThenPoll performs Create then polls until it's completed
func (StreamingEndpointsClient) Delete ¶
func (c StreamingEndpointsClient) Delete(ctx context.Context, id StreamingEndpointId) (result DeleteOperationResponse, err error)
Delete ...
func (StreamingEndpointsClient) DeleteThenPoll ¶
func (c StreamingEndpointsClient) DeleteThenPoll(ctx context.Context, id StreamingEndpointId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StreamingEndpointsClient) Get ¶
func (c StreamingEndpointsClient) Get(ctx context.Context, id StreamingEndpointId) (result GetOperationResponse, err error)
Get ...
func (StreamingEndpointsClient) List ¶
func (c StreamingEndpointsClient) List(ctx context.Context, id MediaServiceId) (resp ListOperationResponse, err error)
List ...
func (StreamingEndpointsClient) ListComplete ¶
func (c StreamingEndpointsClient) ListComplete(ctx context.Context, id MediaServiceId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (StreamingEndpointsClient) ListCompleteMatchingPredicate ¶
func (c StreamingEndpointsClient) ListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, predicate StreamingEndpointOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (StreamingEndpointsClient) Scale ¶
func (c StreamingEndpointsClient) Scale(ctx context.Context, id StreamingEndpointId, input StreamingEntityScaleUnit) (result ScaleOperationResponse, err error)
Scale ...
func (StreamingEndpointsClient) ScaleThenPoll ¶
func (c StreamingEndpointsClient) ScaleThenPoll(ctx context.Context, id StreamingEndpointId, input StreamingEntityScaleUnit) error
ScaleThenPoll performs Scale then polls until it's completed
func (StreamingEndpointsClient) Start ¶
func (c StreamingEndpointsClient) Start(ctx context.Context, id StreamingEndpointId) (result StartOperationResponse, err error)
Start ...
func (StreamingEndpointsClient) StartThenPoll ¶
func (c StreamingEndpointsClient) StartThenPoll(ctx context.Context, id StreamingEndpointId) error
StartThenPoll performs Start then polls until it's completed
func (StreamingEndpointsClient) Stop ¶
func (c StreamingEndpointsClient) Stop(ctx context.Context, id StreamingEndpointId) (result StopOperationResponse, err error)
Stop ...
func (StreamingEndpointsClient) StopThenPoll ¶
func (c StreamingEndpointsClient) StopThenPoll(ctx context.Context, id StreamingEndpointId) error
StopThenPoll performs Stop then polls until it's completed
type StreamingEntityScaleUnit ¶
type StreamingEntityScaleUnit struct {
ScaleUnit *int64 `json:"scaleUnit,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_mediaservice.go
- id_streamingendpoint.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_scale_autorest.go
- method_start_autorest.go
- method_stop_autorest.go
- model_akamaiaccesscontrol.go
- model_akamaisignatureheaderauthenticationkey.go
- model_crosssiteaccesspolicies.go
- model_ipaccesscontrol.go
- model_iprange.go
- model_streamingendpoint.go
- model_streamingendpointaccesscontrol.go
- model_streamingendpointproperties.go
- model_streamingentityscaleunit.go
- predicates.go
- version.go