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 ConnectionStatus ¶
type ConnectionStatus string
const ( ConnectionStatusConnected ConnectionStatus = "Connected" ConnectionStatusDegraded ConnectionStatus = "Degraded" ConnectionStatusDisconnected ConnectionStatus = "Disconnected" ConnectionStatusUnknown ConnectionStatus = "Unknown" )
func (*ConnectionStatus) UnmarshalJSON ¶
func (s *ConnectionStatus) UnmarshalJSON(bytes []byte) error
type ConnectivityCheckProtocol ¶
type ConnectivityCheckProtocol string
const ( ConnectivityCheckProtocolHTTP ConnectivityCheckProtocol = "HTTP" ConnectivityCheckProtocolHTTPS ConnectivityCheckProtocol = "HTTPS" ConnectivityCheckProtocolTCP ConnectivityCheckProtocol = "TCP" )
func (*ConnectivityCheckProtocol) UnmarshalJSON ¶
func (s *ConnectivityCheckProtocol) UnmarshalJSON(bytes []byte) error
type ConnectivityCheckRequest ¶
type ConnectivityCheckRequest struct { Destination ConnectivityCheckRequestDestination `json:"destination"` PreferredIPVersion *PreferredIPVersion `json:"preferredIPVersion,omitempty"` Protocol *ConnectivityCheckProtocol `json:"protocol,omitempty"` ProtocolConfiguration *ConnectivityCheckRequestProtocolConfiguration `json:"protocolConfiguration,omitempty"` Source ConnectivityCheckRequestSource `json:"source"` }
type ConnectivityCheckRequestProtocolConfiguration ¶
type ConnectivityCheckRequestProtocolConfiguration struct {
HTTPConfiguration *ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration `json:"HTTPConfiguration,omitempty"`
}
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 ¶
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" )
func (*IssueType) UnmarshalJSON ¶
type PerformConnectivityCheckClient ¶
type PerformConnectivityCheckClient struct {
Client *resourcemanager.Client
}
func NewPerformConnectivityCheckClientWithBaseURI ¶
func NewPerformConnectivityCheckClientWithBaseURI(sdkApi sdkEnv.Api) (*PerformConnectivityCheckClient, error)
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"
)
func (*PreferredIPVersion) UnmarshalJSON ¶
func (s *PreferredIPVersion) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
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.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.