Documentation ¶
Index ¶
- func PossibleValuesForHealthProbeRequestType() []string
- func PossibleValuesForOriginGroupProvisioningState() []string
- func PossibleValuesForOriginGroupResourceState() []string
- func PossibleValuesForProbeProtocol() []string
- func PossibleValuesForResponseBasedDetectedErrorTypes() []string
- func ValidateEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEndpointOriginGroupID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type EndpointId
- type EndpointOriginGroupId
- type GetOperationResponse
- type HTTPErrorRangeParameters
- type HealthProbeParameters
- type HealthProbeRequestType
- type ListByEndpointCompleteResult
- type ListByEndpointCustomPager
- type ListByEndpointOperationResponse
- type OriginGroup
- type OriginGroupOperationPredicate
- type OriginGroupProperties
- type OriginGroupProvisioningState
- type OriginGroupResourceState
- type OriginGroupUpdateParameters
- type OriginGroupUpdatePropertiesParameters
- type OriginGroupsClient
- func (c OriginGroupsClient) Create(ctx context.Context, id EndpointOriginGroupId, input OriginGroup) (result CreateOperationResponse, err error)
- func (c OriginGroupsClient) CreateThenPoll(ctx context.Context, id EndpointOriginGroupId, input OriginGroup) error
- func (c OriginGroupsClient) Delete(ctx context.Context, id EndpointOriginGroupId) (result DeleteOperationResponse, err error)
- func (c OriginGroupsClient) DeleteThenPoll(ctx context.Context, id EndpointOriginGroupId) error
- func (c OriginGroupsClient) Get(ctx context.Context, id EndpointOriginGroupId) (result GetOperationResponse, err error)
- func (c OriginGroupsClient) ListByEndpoint(ctx context.Context, id EndpointId) (result ListByEndpointOperationResponse, err error)
- func (c OriginGroupsClient) ListByEndpointComplete(ctx context.Context, id EndpointId) (ListByEndpointCompleteResult, error)
- func (c OriginGroupsClient) ListByEndpointCompleteMatchingPredicate(ctx context.Context, id EndpointId, predicate OriginGroupOperationPredicate) (result ListByEndpointCompleteResult, err error)
- func (c OriginGroupsClient) Update(ctx context.Context, id EndpointOriginGroupId, ...) (result UpdateOperationResponse, err error)
- func (c OriginGroupsClient) UpdateThenPoll(ctx context.Context, id EndpointOriginGroupId, ...) error
- type ProbeProtocol
- type ResourceReference
- type ResponseBasedDetectedErrorTypes
- type ResponseBasedOriginErrorDetectionParameters
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthProbeRequestType ¶
func PossibleValuesForHealthProbeRequestType() []string
func PossibleValuesForOriginGroupProvisioningState ¶
func PossibleValuesForOriginGroupProvisioningState() []string
func PossibleValuesForOriginGroupResourceState ¶
func PossibleValuesForOriginGroupResourceState() []string
func PossibleValuesForProbeProtocol ¶
func PossibleValuesForProbeProtocol() []string
func PossibleValuesForResponseBasedDetectedErrorTypes ¶
func PossibleValuesForResponseBasedDetectedErrorTypes() []string
func ValidateEndpointID ¶
ValidateEndpointID checks that 'input' can be parsed as a Endpoint ID
func ValidateEndpointOriginGroupID ¶
func ValidateEndpointOriginGroupID(input interface{}, key string) (warnings []string, errors []error)
ValidateEndpointOriginGroupID checks that 'input' can be parsed as a Endpoint Origin Group ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type EndpointId ¶
type EndpointId struct { SubscriptionId string ResourceGroupName string ProfileName string EndpointName string }
EndpointId is a struct representing the Resource ID for a Endpoint
func NewEndpointID ¶
func NewEndpointID(subscriptionId string, resourceGroupName string, profileName string, endpointName string) EndpointId
NewEndpointID returns a new EndpointId struct
func ParseEndpointID ¶
func ParseEndpointID(input string) (*EndpointId, error)
ParseEndpointID parses 'input' into a EndpointId
func ParseEndpointIDInsensitively ¶
func ParseEndpointIDInsensitively(input string) (*EndpointId, error)
ParseEndpointIDInsensitively parses 'input' case-insensitively into a EndpointId note: this method should only be used for API response data and not user input
func (*EndpointId) FromParseResult ¶
func (id *EndpointId) FromParseResult(input resourceids.ParseResult) error
func (EndpointId) Segments ¶
func (id EndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Endpoint ID
func (EndpointId) String ¶
func (id EndpointId) String() string
String returns a human-readable description of this Endpoint ID
type EndpointOriginGroupId ¶
type EndpointOriginGroupId struct { SubscriptionId string ResourceGroupName string ProfileName string EndpointName string OriginGroupName string }
EndpointOriginGroupId is a struct representing the Resource ID for a Endpoint Origin Group
func NewEndpointOriginGroupID ¶
func NewEndpointOriginGroupID(subscriptionId string, resourceGroupName string, profileName string, endpointName string, originGroupName string) EndpointOriginGroupId
NewEndpointOriginGroupID returns a new EndpointOriginGroupId struct
func ParseEndpointOriginGroupID ¶
func ParseEndpointOriginGroupID(input string) (*EndpointOriginGroupId, error)
ParseEndpointOriginGroupID parses 'input' into a EndpointOriginGroupId
func ParseEndpointOriginGroupIDInsensitively ¶
func ParseEndpointOriginGroupIDInsensitively(input string) (*EndpointOriginGroupId, error)
ParseEndpointOriginGroupIDInsensitively parses 'input' case-insensitively into a EndpointOriginGroupId note: this method should only be used for API response data and not user input
func (*EndpointOriginGroupId) FromParseResult ¶
func (id *EndpointOriginGroupId) FromParseResult(input resourceids.ParseResult) error
func (EndpointOriginGroupId) ID ¶
func (id EndpointOriginGroupId) ID() string
ID returns the formatted Endpoint Origin Group ID
func (EndpointOriginGroupId) Segments ¶
func (id EndpointOriginGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Endpoint Origin Group ID
func (EndpointOriginGroupId) String ¶
func (id EndpointOriginGroupId) String() string
String returns a human-readable description of this Endpoint Origin Group ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OriginGroup }
type HealthProbeParameters ¶
type HealthProbeParameters struct { ProbeIntervalInSeconds *int64 `json:"probeIntervalInSeconds,omitempty"` ProbePath *string `json:"probePath,omitempty"` ProbeProtocol *ProbeProtocol `json:"probeProtocol,omitempty"` ProbeRequestType *HealthProbeRequestType `json:"probeRequestType,omitempty"` }
type HealthProbeRequestType ¶
type HealthProbeRequestType string
const ( HealthProbeRequestTypeGET HealthProbeRequestType = "GET" HealthProbeRequestTypeHEAD HealthProbeRequestType = "HEAD" HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet" )
func (*HealthProbeRequestType) UnmarshalJSON ¶
func (s *HealthProbeRequestType) UnmarshalJSON(bytes []byte) error
type ListByEndpointCompleteResult ¶
type ListByEndpointCompleteResult struct { LatestHttpResponse *http.Response Items []OriginGroup }
type ListByEndpointCustomPager ¶
func (*ListByEndpointCustomPager) NextPageLink ¶
func (p *ListByEndpointCustomPager) NextPageLink() *odata.Link
type ListByEndpointOperationResponse ¶
type ListByEndpointOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OriginGroup }
type OriginGroup ¶
type OriginGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OriginGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type OriginGroupOperationPredicate ¶
func (OriginGroupOperationPredicate) Matches ¶
func (p OriginGroupOperationPredicate) Matches(input OriginGroup) bool
type OriginGroupProperties ¶
type OriginGroupProperties struct { HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` Origins *[]ResourceReference `json:"origins,omitempty"` ProvisioningState *OriginGroupProvisioningState `json:"provisioningState,omitempty"` ResourceState *OriginGroupResourceState `json:"resourceState,omitempty"` ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"` TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int64 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
type OriginGroupProvisioningState ¶
type OriginGroupProvisioningState string
const ( OriginGroupProvisioningStateCreating OriginGroupProvisioningState = "Creating" OriginGroupProvisioningStateDeleting OriginGroupProvisioningState = "Deleting" OriginGroupProvisioningStateFailed OriginGroupProvisioningState = "Failed" OriginGroupProvisioningStateSucceeded OriginGroupProvisioningState = "Succeeded" OriginGroupProvisioningStateUpdating OriginGroupProvisioningState = "Updating" )
func (*OriginGroupProvisioningState) UnmarshalJSON ¶
func (s *OriginGroupProvisioningState) UnmarshalJSON(bytes []byte) error
type OriginGroupResourceState ¶
type OriginGroupResourceState string
const ( OriginGroupResourceStateActive OriginGroupResourceState = "Active" OriginGroupResourceStateCreating OriginGroupResourceState = "Creating" OriginGroupResourceStateDeleting OriginGroupResourceState = "Deleting" )
func (*OriginGroupResourceState) UnmarshalJSON ¶
func (s *OriginGroupResourceState) UnmarshalJSON(bytes []byte) error
type OriginGroupUpdateParameters ¶
type OriginGroupUpdateParameters struct {
Properties *OriginGroupUpdatePropertiesParameters `json:"properties,omitempty"`
}
type OriginGroupUpdatePropertiesParameters ¶
type OriginGroupUpdatePropertiesParameters struct { HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` Origins *[]ResourceReference `json:"origins,omitempty"` ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"` TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int64 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
type OriginGroupsClient ¶
type OriginGroupsClient struct {
Client *resourcemanager.Client
}
func NewOriginGroupsClientWithBaseURI ¶
func NewOriginGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*OriginGroupsClient, error)
func (OriginGroupsClient) Create ¶
func (c OriginGroupsClient) Create(ctx context.Context, id EndpointOriginGroupId, input OriginGroup) (result CreateOperationResponse, err error)
Create ...
func (OriginGroupsClient) CreateThenPoll ¶
func (c OriginGroupsClient) CreateThenPoll(ctx context.Context, id EndpointOriginGroupId, input OriginGroup) error
CreateThenPoll performs Create then polls until it's completed
func (OriginGroupsClient) Delete ¶
func (c OriginGroupsClient) Delete(ctx context.Context, id EndpointOriginGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (OriginGroupsClient) DeleteThenPoll ¶
func (c OriginGroupsClient) DeleteThenPoll(ctx context.Context, id EndpointOriginGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (OriginGroupsClient) Get ¶
func (c OriginGroupsClient) Get(ctx context.Context, id EndpointOriginGroupId) (result GetOperationResponse, err error)
Get ...
func (OriginGroupsClient) ListByEndpoint ¶
func (c OriginGroupsClient) ListByEndpoint(ctx context.Context, id EndpointId) (result ListByEndpointOperationResponse, err error)
ListByEndpoint ...
func (OriginGroupsClient) ListByEndpointComplete ¶
func (c OriginGroupsClient) ListByEndpointComplete(ctx context.Context, id EndpointId) (ListByEndpointCompleteResult, error)
ListByEndpointComplete retrieves all the results into a single object
func (OriginGroupsClient) ListByEndpointCompleteMatchingPredicate ¶
func (c OriginGroupsClient) ListByEndpointCompleteMatchingPredicate(ctx context.Context, id EndpointId, predicate OriginGroupOperationPredicate) (result ListByEndpointCompleteResult, err error)
ListByEndpointCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OriginGroupsClient) Update ¶
func (c OriginGroupsClient) Update(ctx context.Context, id EndpointOriginGroupId, input OriginGroupUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (OriginGroupsClient) UpdateThenPoll ¶
func (c OriginGroupsClient) UpdateThenPoll(ctx context.Context, id EndpointOriginGroupId, input OriginGroupUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type ProbeProtocol ¶
type ProbeProtocol string
const ( ProbeProtocolHTTP ProbeProtocol = "Http" ProbeProtocolHTTPS ProbeProtocol = "Https" ProbeProtocolNotSet ProbeProtocol = "NotSet" )
func (*ProbeProtocol) UnmarshalJSON ¶
func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error
type ResourceReference ¶
type ResourceReference struct {
Id *string `json:"id,omitempty"`
}
type ResponseBasedDetectedErrorTypes ¶
type ResponseBasedDetectedErrorTypes string
const ( ResponseBasedDetectedErrorTypesNone ResponseBasedDetectedErrorTypes = "None" ResponseBasedDetectedErrorTypesTcpAndHTTPErrors ResponseBasedDetectedErrorTypes = "TcpAndHttpErrors" ResponseBasedDetectedErrorTypesTcpErrorsOnly ResponseBasedDetectedErrorTypes = "TcpErrorsOnly" )
func (*ResponseBasedDetectedErrorTypes) UnmarshalJSON ¶
func (s *ResponseBasedDetectedErrorTypes) UnmarshalJSON(bytes []byte) error
type ResponseBasedOriginErrorDetectionParameters ¶
type ResponseBasedOriginErrorDetectionParameters struct { HTTPErrorRanges *[]HTTPErrorRangeParameters `json:"httpErrorRanges,omitempty"` ResponseBasedDetectedErrorTypes *ResponseBasedDetectedErrorTypes `json:"responseBasedDetectedErrorTypes,omitempty"` ResponseBasedFailoverThresholdPercentage *int64 `json:"responseBasedFailoverThresholdPercentage,omitempty"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_endpoint.go
- id_endpointorigingroup.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyendpoint.go
- method_update.go
- model_healthprobeparameters.go
- model_httperrorrangeparameters.go
- model_origingroup.go
- model_origingroupproperties.go
- model_origingroupupdateparameters.go
- model_origingroupupdatepropertiesparameters.go
- model_resourcereference.go
- model_responsebasedoriginerrordetectionparameters.go
- predicates.go
- version.go