Documentation ¶
Index ¶
- func PossibleValuesForStreamingEndpointResourceState() []string
- func ValidateStreamingEndpointID(input interface{}, key string) (warnings []string, errors []error)
- type AkamaiAccessControl
- type AkamaiSignatureHeaderAuthenticationKey
- type ArmStreamingEndpointCurrentSku
- type CrossSiteAccessPolicies
- type IPAccessControl
- type IPRange
- type StreamingEndpoint
- type StreamingEndpointAccessControl
- type StreamingEndpointClient
- type StreamingEndpointId
- 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 UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForStreamingEndpointResourceState ¶
func PossibleValuesForStreamingEndpointResourceState() []string
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 CrossSiteAccessPolicies ¶
type IPAccessControl ¶
type IPAccessControl struct {
Allow *[]IPRange `json:"allow,omitempty"`
}
type StreamingEndpoint ¶
type StreamingEndpoint struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *StreamingEndpointProperties `json:"properties,omitempty"` Sku *ArmStreamingEndpointCurrentSku `json:"sku,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 StreamingEndpointClient ¶
type StreamingEndpointClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewStreamingEndpointClientWithBaseURI ¶
func NewStreamingEndpointClientWithBaseURI(endpoint string) StreamingEndpointClient
func (StreamingEndpointClient) Update ¶
func (c StreamingEndpointClient) Update(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint) (result UpdateOperationResponse, err error)
Update ...
func (StreamingEndpointClient) UpdateThenPoll ¶
func (c StreamingEndpointClient) UpdateThenPoll(ctx context.Context, id StreamingEndpointId, input StreamingEndpoint) error
UpdateThenPoll performs Update then polls until it's completed
type StreamingEndpointId ¶
type StreamingEndpointId struct { SubscriptionId string ResourceGroupName string MediaServiceName string StreamingEndpointName string }
StreamingEndpointId is a struct representing the Resource ID for a Streaming Endpoint
func NewStreamingEndpointID ¶
func NewStreamingEndpointID(subscriptionId string, resourceGroupName string, mediaServiceName 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 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 UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_streamingendpoint.go
- method_update_autorest.go
- model_akamaiaccesscontrol.go
- model_akamaisignatureheaderauthenticationkey.go
- model_armstreamingendpointcurrentsku.go
- model_crosssiteaccesspolicies.go
- model_ipaccesscontrol.go
- model_iprange.go
- model_streamingendpoint.go
- model_streamingendpointaccesscontrol.go
- model_streamingendpointproperties.go
- version.go