Documentation ¶
Index ¶
- func PossibleValuesForConnectionStatus() []string
- func PossibleValuesForConnectivityCheckProtocol() []string
- func PossibleValuesForIssueType() []string
- func PossibleValuesForMethod() []string
- func PossibleValuesForOrigin() []string
- func PossibleValuesForPreferredIPVersion() []string
- func PossibleValuesForSeverity() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationResponse
- type ConnectionStatus
- type ConnectivityCheckProtocol
- type ConnectivityCheckRequest
- type ConnectivityCheckRequestDestination
- type ConnectivityCheckRequestProtocolConfiguration
- type ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration
- type ConnectivityCheckRequestSource
- type ConnectivityCheckResponse
- type ConnectivityHop
- type ConnectivityIssue
- type HTTPHeader
- type IssueType
- type Method
- type Origin
- type PerformConnectivityCheckClient
- type PreferredIPVersion
- type ServiceId
- type Severity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectionStatus ¶
func PossibleValuesForConnectionStatus() []string
func PossibleValuesForConnectivityCheckProtocol ¶
func PossibleValuesForConnectivityCheckProtocol() []string
func PossibleValuesForIssueType ¶
func PossibleValuesForIssueType() []string
func PossibleValuesForMethod ¶
func PossibleValuesForMethod() []string
func PossibleValuesForOrigin ¶
func PossibleValuesForOrigin() []string
func PossibleValuesForPreferredIPVersion ¶
func PossibleValuesForPreferredIPVersion() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AsyncOperationResponse ¶
type AsyncOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ConnectionStatus ¶
type ConnectionStatus string
const ( ConnectionStatusConnected ConnectionStatus = "Connected" ConnectionStatusDegraded ConnectionStatus = "Degraded" ConnectionStatusDisconnected ConnectionStatus = "Disconnected" ConnectionStatusUnknown ConnectionStatus = "Unknown" )
type ConnectivityCheckProtocol ¶
type ConnectivityCheckProtocol string
const ( ConnectivityCheckProtocolHTTP ConnectivityCheckProtocol = "HTTP" ConnectivityCheckProtocolHTTPS ConnectivityCheckProtocol = "HTTPS" ConnectivityCheckProtocolTCP ConnectivityCheckProtocol = "TCP" )
type ConnectivityCheckRequest ¶
type ConnectivityCheckRequest struct { Destination ConnectivityCheckRequestDestination `json:"destination"` PreferredIPVersion *PreferredIPVersion `json:"preferredIPVersion,omitempty"` Protocol *ConnectivityCheckProtocol `json:"protocol,omitempty"` ProtocolConfiguration *ConnectivityCheckRequestProtocolConfiguration `json:"protocolConfiguration"` Source ConnectivityCheckRequestSource `json:"source"` }
type ConnectivityCheckRequestProtocolConfiguration ¶
type ConnectivityCheckRequestProtocolConfiguration struct {
HTTPConfiguration *ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration `json:"HTTPConfiguration"`
}
type ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration ¶
type ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration struct { Headers *[]HTTPHeader `json:"headers,omitempty"` Method *Method `json:"method,omitempty"` ValidStatusCodes *[]int64 `json:"validStatusCodes,omitempty"` }
type ConnectivityCheckResponse ¶
type ConnectivityCheckResponse struct { AvgLatencyInMs *int64 `json:"avgLatencyInMs,omitempty"` ConnectionStatus *ConnectionStatus `json:"connectionStatus,omitempty"` Hops *[]ConnectivityHop `json:"hops,omitempty"` MaxLatencyInMs *int64 `json:"maxLatencyInMs,omitempty"` MinLatencyInMs *int64 `json:"minLatencyInMs,omitempty"` ProbesFailed *int64 `json:"probesFailed,omitempty"` ProbesSent *int64 `json:"probesSent,omitempty"` }
type ConnectivityHop ¶
type ConnectivityIssue ¶
type HTTPHeader ¶ added in v0.20220824.1090858
type IssueType ¶
type IssueType string
const ( IssueTypeAgentStopped IssueType = "AgentStopped" IssueTypeDnsResolution IssueType = "DnsResolution" IssueTypeGuestFirewall IssueType = "GuestFirewall" IssueTypeNetworkSecurityRule IssueType = "NetworkSecurityRule" IssueTypePlatform IssueType = "Platform" IssueTypePortThrottled IssueType = "PortThrottled" IssueTypeSocketBind IssueType = "SocketBind" IssueTypeUnknown IssueType = "Unknown" IssueTypeUserDefinedRoute IssueType = "UserDefinedRoute" )
type PerformConnectivityCheckClient ¶
type PerformConnectivityCheckClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPerformConnectivityCheckClientWithBaseURI ¶
func NewPerformConnectivityCheckClientWithBaseURI(endpoint string) PerformConnectivityCheckClient
func (PerformConnectivityCheckClient) Async ¶
func (c PerformConnectivityCheckClient) Async(ctx context.Context, id ServiceId, input ConnectivityCheckRequest) (result AsyncOperationResponse, err error)
Async ...
func (PerformConnectivityCheckClient) AsyncThenPoll ¶
func (c PerformConnectivityCheckClient) AsyncThenPoll(ctx context.Context, id ServiceId, input ConnectivityCheckRequest) error
AsyncThenPoll performs Async then polls until it's completed
type PreferredIPVersion ¶
type PreferredIPVersion string
const (
PreferredIPVersionIPvFour PreferredIPVersion = "IPv4"
)
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_async_autorest.go
- model_connectivitycheckrequest.go
- model_connectivitycheckrequestdestination.go
- model_connectivitycheckrequestprotocolconfiguration.go
- model_connectivitycheckrequestprotocolconfigurationhttpconfiguration.go
- model_connectivitycheckrequestsource.go
- model_connectivitycheckresponse.go
- model_connectivityhop.go
- model_connectivityissue.go
- model_httpheader.go
- version.go
Click to show internal directories.
Click to hide internal directories.