endpoints

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForEndpointMonitorStatus

func PossibleValuesForEndpointMonitorStatus() []string

func PossibleValuesForEndpointStatus

func PossibleValuesForEndpointStatus() []string

func PossibleValuesForEndpointType

func PossibleValuesForEndpointType() []string

func ValidateEndpointTypeID

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

ValidateEndpointTypeID checks that 'input' can be parsed as a Endpoint Type ID

Types

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	HttpResponse *http.Response
	Model        *Endpoint
}

type DeleteOperationResult

type DeleteOperationResult struct {
	Boolean *bool `json:"boolean,omitempty"`
}

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
	Model        *DeleteOperationResult
}

type Endpoint

type Endpoint struct {
	Id         *string             `json:"id,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Properties *EndpointProperties `json:"properties,omitempty"`
	Type       *string             `json:"type,omitempty"`
}

type EndpointMonitorStatus

type EndpointMonitorStatus string
const (
	EndpointMonitorStatusCheckingEndpoint EndpointMonitorStatus = "CheckingEndpoint"
	EndpointMonitorStatusDegraded         EndpointMonitorStatus = "Degraded"
	EndpointMonitorStatusDisabled         EndpointMonitorStatus = "Disabled"
	EndpointMonitorStatusInactive         EndpointMonitorStatus = "Inactive"
	EndpointMonitorStatusOnline           EndpointMonitorStatus = "Online"
	EndpointMonitorStatusStopped          EndpointMonitorStatus = "Stopped"
)

type EndpointProperties

type EndpointProperties struct {
	CustomHeaders         *[]EndpointPropertiesCustomHeadersInlined `json:"customHeaders,omitempty"`
	EndpointLocation      *string                                   `json:"endpointLocation,omitempty"`
	EndpointMonitorStatus *EndpointMonitorStatus                    `json:"endpointMonitorStatus,omitempty"`
	EndpointStatus        *EndpointStatus                           `json:"endpointStatus,omitempty"`
	GeoMapping            *[]string                                 `json:"geoMapping,omitempty"`
	MinChildEndpoints     *int64                                    `json:"minChildEndpoints,omitempty"`
	MinChildEndpointsIPv4 *int64                                    `json:"minChildEndpointsIPv4,omitempty"`
	MinChildEndpointsIPv6 *int64                                    `json:"minChildEndpointsIPv6,omitempty"`
	Priority              *int64                                    `json:"priority,omitempty"`
	Subnets               *[]EndpointPropertiesSubnetsInlined       `json:"subnets,omitempty"`
	Target                *string                                   `json:"target,omitempty"`
	TargetResourceId      *string                                   `json:"targetResourceId,omitempty"`
	Weight                *int64                                    `json:"weight,omitempty"`
}

type EndpointPropertiesCustomHeadersInlined

type EndpointPropertiesCustomHeadersInlined struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type EndpointPropertiesSubnetsInlined

type EndpointPropertiesSubnetsInlined struct {
	First *string `json:"first,omitempty"`
	Last  *string `json:"last,omitempty"`
	Scope *int64  `json:"scope,omitempty"`
}

type EndpointStatus

type EndpointStatus string
const (
	EndpointStatusDisabled EndpointStatus = "Disabled"
	EndpointStatusEnabled  EndpointStatus = "Enabled"
)

type EndpointType

type EndpointType string
const (
	EndpointTypeAzureEndpoints    EndpointType = "AzureEndpoints"
	EndpointTypeExternalEndpoints EndpointType = "ExternalEndpoints"
	EndpointTypeNestedEndpoints   EndpointType = "NestedEndpoints"
)

type EndpointTypeId

type EndpointTypeId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
	EndpointType      EndpointType
	EndpointName      string
}

EndpointTypeId is a struct representing the Resource ID for a Endpoint Type

func NewEndpointTypeID

func NewEndpointTypeID(subscriptionId string, resourceGroupName string, profileName string, endpointType EndpointType, endpointName string) EndpointTypeId

NewEndpointTypeID returns a new EndpointTypeId struct

func ParseEndpointTypeID

func ParseEndpointTypeID(input string) (*EndpointTypeId, error)

ParseEndpointTypeID parses 'input' into a EndpointTypeId

func ParseEndpointTypeIDInsensitively

func ParseEndpointTypeIDInsensitively(input string) (*EndpointTypeId, error)

ParseEndpointTypeIDInsensitively parses 'input' case-insensitively into a EndpointTypeId note: this method should only be used for API response data and not user input

func (EndpointTypeId) ID

func (id EndpointTypeId) ID() string

ID returns the formatted Endpoint Type ID

func (EndpointTypeId) Segments

func (id EndpointTypeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Endpoint Type ID

func (EndpointTypeId) String

func (id EndpointTypeId) String() string

String returns a human-readable description of this Endpoint Type ID

type EndpointsClient

type EndpointsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewEndpointsClientWithBaseURI

func NewEndpointsClientWithBaseURI(endpoint string) EndpointsClient

func (EndpointsClient) CreateOrUpdate

func (c EndpointsClient) CreateOrUpdate(ctx context.Context, id EndpointTypeId, input Endpoint) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (EndpointsClient) Delete

func (c EndpointsClient) Delete(ctx context.Context, id EndpointTypeId) (result DeleteResponse, err error)

Delete ...

func (EndpointsClient) Get

func (c EndpointsClient) Get(ctx context.Context, id EndpointTypeId) (result GetResponse, err error)

Get ...

func (EndpointsClient) Update

func (c EndpointsClient) Update(ctx context.Context, id EndpointTypeId, input Endpoint) (result UpdateResponse, err error)

Update ...

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *Endpoint
}

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *Endpoint
}

Jump to

Keyboard shortcuts

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