streamingendpoint

package
v0.20221013.1062338 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/streamingendpoint Documentation

The streamingendpoint SDK allows for interaction with the Azure Resource Manager Service media (API Version 2020-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/streamingendpoint"

Client Initialization

client := streamingendpoint.NewStreamingEndpointClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: StreamingEndpointClient.Update

ctx := context.TODO()
id := streamingendpoint.NewStreamingEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "streamingEndpointValue")

payload := streamingendpoint.StreamingEndpoint{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForStreamingEndpointResourceState

func PossibleValuesForStreamingEndpointResourceState() []string

func ValidateStreamingEndpointID

func ValidateStreamingEndpointID(input interface{}, key string) (warnings []string, errors []error)

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 CrossSiteAccessPolicies struct {
	ClientAccessPolicy *string `json:"clientAccessPolicy,omitempty"`
	CrossDomainPolicy  *string `json:"crossDomainPolicy,omitempty"`
}

type IPAccessControl

type IPAccessControl struct {
	Allow *[]IPRange `json:"allow,omitempty"`
}

type IPRange

type IPRange struct {
	Address            *string `json:"address,omitempty"`
	Name               *string `json:"name,omitempty"`
	SubnetPrefixLength *int64  `json:"subnetPrefixLength,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"`
	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

Update ...

func (StreamingEndpointClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

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 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL