Documentation ¶
Index ¶
- func PossibleValuesForEndpointMonitorStatus() []string
- func PossibleValuesForEndpointStatus() []string
- func PossibleValuesForEndpointType() []string
- func ValidateEndpointTypeID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeleteOperationResult
- type Endpoint
- type EndpointMonitorStatus
- type EndpointProperties
- type EndpointPropertiesCustomHeadersInlined
- type EndpointPropertiesSubnetsInlined
- type EndpointStatus
- type EndpointType
- type EndpointTypeId
- type EndpointsClient
- func (c EndpointsClient) CreateOrUpdate(ctx context.Context, id EndpointTypeId, input Endpoint) (result CreateOrUpdateOperationResponse, err error)
- func (c EndpointsClient) Delete(ctx context.Context, id EndpointTypeId) (result DeleteOperationResponse, err error)
- func (c EndpointsClient) Get(ctx context.Context, id EndpointTypeId) (result GetOperationResponse, err error)
- func (c EndpointsClient) Update(ctx context.Context, id EndpointTypeId, input Endpoint) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type UpdateOperationResponse
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 ¶
ValidateEndpointTypeID checks that 'input' can be parsed as a Endpoint Type ID
Types ¶
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeleteOperationResult }
type DeleteOperationResult ¶
type DeleteOperationResult struct {
Boolean *bool `json:"boolean,omitempty"`
}
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" )
func (*EndpointMonitorStatus) UnmarshalJSON ¶
func (s *EndpointMonitorStatus) UnmarshalJSON(bytes []byte) error
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 EndpointStatus ¶
type EndpointStatus string
const ( EndpointStatusDisabled EndpointStatus = "Disabled" EndpointStatusEnabled EndpointStatus = "Enabled" )
func (*EndpointStatus) UnmarshalJSON ¶
func (s *EndpointStatus) UnmarshalJSON(bytes []byte) error
type EndpointType ¶
type EndpointType string
const ( EndpointTypeAzureEndpoints EndpointType = "AzureEndpoints" EndpointTypeExternalEndpoints EndpointType = "ExternalEndpoints" EndpointTypeNestedEndpoints EndpointType = "NestedEndpoints" )
func (*EndpointType) UnmarshalJSON ¶
func (s *EndpointType) UnmarshalJSON(bytes []byte) error
type EndpointTypeId ¶
type EndpointTypeId struct { SubscriptionId string ResourceGroupName string TrafficManagerProfileName 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, trafficManagerProfileName 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) FromParseResult ¶
func (id *EndpointTypeId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewEndpointsClientWithBaseURI ¶
func NewEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*EndpointsClient, error)
func (EndpointsClient) CreateOrUpdate ¶
func (c EndpointsClient) CreateOrUpdate(ctx context.Context, id EndpointTypeId, input Endpoint) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EndpointsClient) Delete ¶
func (c EndpointsClient) Delete(ctx context.Context, id EndpointTypeId) (result DeleteOperationResponse, err error)
Delete ...
func (EndpointsClient) Get ¶
func (c EndpointsClient) Get(ctx context.Context, id EndpointTypeId) (result GetOperationResponse, err error)
Get ...
func (EndpointsClient) Update ¶
func (c EndpointsClient) Update(ctx context.Context, id EndpointTypeId, input Endpoint) (result UpdateOperationResponse, err error)
Update ...