connectionmonitors

package
v0.20230825.1130400 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-02-01/connectionmonitors Documentation

The connectionmonitors SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-02-01/connectionmonitors"

Client Initialization

client := connectionmonitors.NewConnectionMonitorsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ConnectionMonitorsClient.CreateOrUpdate

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

payload := connectionmonitors.ConnectionMonitor{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload, connectionmonitors.DefaultCreateOrUpdateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: ConnectionMonitorsClient.Delete

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ConnectionMonitorsClient.Get

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ConnectionMonitorsClient.List

ctx := context.TODO()
id := connectionmonitors.NewNetworkWatcherID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue")

read, err := client.List(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ConnectionMonitorsClient.Query

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

if err := client.QueryThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ConnectionMonitorsClient.Start

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

if err := client.StartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ConnectionMonitorsClient.Stop

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

if err := client.StopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ConnectionMonitorsClient.UpdateTags

ctx := context.TODO()
id := connectionmonitors.NewConnectionMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "networkWatcherValue", "connectionMonitorValue")

payload := connectionmonitors.TagsObject{
	// ...
}


read, err := client.UpdateTags(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForConnectionMonitorEndpointFilterItemType

func PossibleValuesForConnectionMonitorEndpointFilterItemType() []string

func PossibleValuesForConnectionMonitorEndpointFilterType

func PossibleValuesForConnectionMonitorEndpointFilterType() []string

func PossibleValuesForConnectionMonitorSourceStatus

func PossibleValuesForConnectionMonitorSourceStatus() []string

func PossibleValuesForConnectionMonitorTestConfigurationProtocol

func PossibleValuesForConnectionMonitorTestConfigurationProtocol() []string

func PossibleValuesForConnectionMonitorType

func PossibleValuesForConnectionMonitorType() []string

func PossibleValuesForConnectionState

func PossibleValuesForConnectionState() []string

func PossibleValuesForCoverageLevel

func PossibleValuesForCoverageLevel() []string

func PossibleValuesForDestinationPortBehavior

func PossibleValuesForDestinationPortBehavior() []string

func PossibleValuesForEndpointType

func PossibleValuesForEndpointType() []string

func PossibleValuesForEvaluationState

func PossibleValuesForEvaluationState() []string

func PossibleValuesForHTTPConfigurationMethod

func PossibleValuesForHTTPConfigurationMethod() []string

func PossibleValuesForIssueType

func PossibleValuesForIssueType() []string

func PossibleValuesForOrigin

func PossibleValuesForOrigin() []string

func PossibleValuesForOutputType

func PossibleValuesForOutputType() []string

func PossibleValuesForPreferredIPVersion

func PossibleValuesForPreferredIPVersion() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForSeverity

func PossibleValuesForSeverity() []string

func ValidateConnectionMonitorID

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

ValidateConnectionMonitorID checks that 'input' can be parsed as a Connection Monitor ID

func ValidateNetworkWatcherID

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

ValidateNetworkWatcherID checks that 'input' can be parsed as a Network Watcher ID

Types

type ConnectionMonitor

type ConnectionMonitor struct {
	Location   *string                     `json:"location,omitempty"`
	Properties ConnectionMonitorParameters `json:"properties"`
	Tags       *map[string]string          `json:"tags,omitempty"`
}

type ConnectionMonitorDestination

type ConnectionMonitorDestination struct {
	Address    *string `json:"address,omitempty"`
	Port       *int64  `json:"port,omitempty"`
	ResourceId *string `json:"resourceId,omitempty"`
}

type ConnectionMonitorEndpoint

type ConnectionMonitorEndpoint struct {
	Address       *string                          `json:"address,omitempty"`
	CoverageLevel *CoverageLevel                   `json:"coverageLevel,omitempty"`
	Filter        *ConnectionMonitorEndpointFilter `json:"filter,omitempty"`
	Name          string                           `json:"name"`
	ResourceId    *string                          `json:"resourceId,omitempty"`
	Scope         *ConnectionMonitorEndpointScope  `json:"scope,omitempty"`
	Type          *EndpointType                    `json:"type,omitempty"`
}

type ConnectionMonitorEndpointFilter

type ConnectionMonitorEndpointFilter struct {
	Items *[]ConnectionMonitorEndpointFilterItem `json:"items,omitempty"`
	Type  *ConnectionMonitorEndpointFilterType   `json:"type,omitempty"`
}

type ConnectionMonitorEndpointFilterItem

type ConnectionMonitorEndpointFilterItem struct {
	Address *string                                  `json:"address,omitempty"`
	Type    *ConnectionMonitorEndpointFilterItemType `json:"type,omitempty"`
}

type ConnectionMonitorEndpointFilterItemType

type ConnectionMonitorEndpointFilterItemType string
const (
	ConnectionMonitorEndpointFilterItemTypeAgentAddress ConnectionMonitorEndpointFilterItemType = "AgentAddress"
)

func (*ConnectionMonitorEndpointFilterItemType) UnmarshalJSON

func (s *ConnectionMonitorEndpointFilterItemType) UnmarshalJSON(bytes []byte) error

type ConnectionMonitorEndpointFilterType

type ConnectionMonitorEndpointFilterType string
const (
	ConnectionMonitorEndpointFilterTypeInclude ConnectionMonitorEndpointFilterType = "Include"
)

func (*ConnectionMonitorEndpointFilterType) UnmarshalJSON

func (s *ConnectionMonitorEndpointFilterType) UnmarshalJSON(bytes []byte) error

type ConnectionMonitorEndpointScope

type ConnectionMonitorEndpointScope struct {
	Exclude *[]ConnectionMonitorEndpointScopeItem `json:"exclude,omitempty"`
	Include *[]ConnectionMonitorEndpointScopeItem `json:"include,omitempty"`
}

type ConnectionMonitorEndpointScopeItem

type ConnectionMonitorEndpointScopeItem struct {
	Address *string `json:"address,omitempty"`
}

type ConnectionMonitorHTTPConfiguration

type ConnectionMonitorHTTPConfiguration struct {
	Method                *HTTPConfigurationMethod `json:"method,omitempty"`
	Path                  *string                  `json:"path,omitempty"`
	Port                  *int64                   `json:"port,omitempty"`
	PreferHTTPS           *bool                    `json:"preferHTTPS,omitempty"`
	RequestHeaders        *[]HTTPHeader            `json:"requestHeaders,omitempty"`
	ValidStatusCodeRanges *[]string                `json:"validStatusCodeRanges,omitempty"`
}

type ConnectionMonitorIcmpConfiguration

type ConnectionMonitorIcmpConfiguration struct {
	DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"`
}

type ConnectionMonitorId

type ConnectionMonitorId struct {
	SubscriptionId        string
	ResourceGroupName     string
	NetworkWatcherName    string
	ConnectionMonitorName string
}

ConnectionMonitorId is a struct representing the Resource ID for a Connection Monitor

func NewConnectionMonitorID

func NewConnectionMonitorID(subscriptionId string, resourceGroupName string, networkWatcherName string, connectionMonitorName string) ConnectionMonitorId

NewConnectionMonitorID returns a new ConnectionMonitorId struct

func ParseConnectionMonitorID

func ParseConnectionMonitorID(input string) (*ConnectionMonitorId, error)

ParseConnectionMonitorID parses 'input' into a ConnectionMonitorId

func ParseConnectionMonitorIDInsensitively

func ParseConnectionMonitorIDInsensitively(input string) (*ConnectionMonitorId, error)

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

func (ConnectionMonitorId) ID

func (id ConnectionMonitorId) ID() string

ID returns the formatted Connection Monitor ID

func (ConnectionMonitorId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Connection Monitor ID

func (ConnectionMonitorId) String

func (id ConnectionMonitorId) String() string

String returns a human-readable description of this Connection Monitor ID

type ConnectionMonitorListResult

type ConnectionMonitorListResult struct {
	Value *[]ConnectionMonitorResult `json:"value,omitempty"`
}

type ConnectionMonitorOutput

type ConnectionMonitorOutput struct {
	Type              *OutputType                         `json:"type,omitempty"`
	WorkspaceSettings *ConnectionMonitorWorkspaceSettings `json:"workspaceSettings,omitempty"`
}

type ConnectionMonitorParameters

type ConnectionMonitorParameters struct {
	AutoStart                   *bool                                 `json:"autoStart,omitempty"`
	Destination                 *ConnectionMonitorDestination         `json:"destination,omitempty"`
	Endpoints                   *[]ConnectionMonitorEndpoint          `json:"endpoints,omitempty"`
	MonitoringIntervalInSeconds *int64                                `json:"monitoringIntervalInSeconds,omitempty"`
	Notes                       *string                               `json:"notes,omitempty"`
	Outputs                     *[]ConnectionMonitorOutput            `json:"outputs,omitempty"`
	Source                      *ConnectionMonitorSource              `json:"source,omitempty"`
	TestConfigurations          *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"`
	TestGroups                  *[]ConnectionMonitorTestGroup         `json:"testGroups,omitempty"`
}

type ConnectionMonitorQueryResult

type ConnectionMonitorQueryResult struct {
	SourceStatus *ConnectionMonitorSourceStatus `json:"sourceStatus,omitempty"`
	States       *[]ConnectionStateSnapshot     `json:"states,omitempty"`
}

type ConnectionMonitorResult

type ConnectionMonitorResult struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ConnectionMonitorResultProperties `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type ConnectionMonitorResultProperties

type ConnectionMonitorResultProperties struct {
	AutoStart                   *bool                                 `json:"autoStart,omitempty"`
	ConnectionMonitorType       *ConnectionMonitorType                `json:"connectionMonitorType,omitempty"`
	Destination                 *ConnectionMonitorDestination         `json:"destination,omitempty"`
	Endpoints                   *[]ConnectionMonitorEndpoint          `json:"endpoints,omitempty"`
	MonitoringIntervalInSeconds *int64                                `json:"monitoringIntervalInSeconds,omitempty"`
	MonitoringStatus            *string                               `json:"monitoringStatus,omitempty"`
	Notes                       *string                               `json:"notes,omitempty"`
	Outputs                     *[]ConnectionMonitorOutput            `json:"outputs,omitempty"`
	ProvisioningState           *ProvisioningState                    `json:"provisioningState,omitempty"`
	Source                      *ConnectionMonitorSource              `json:"source,omitempty"`
	StartTime                   *string                               `json:"startTime,omitempty"`
	TestConfigurations          *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"`
	TestGroups                  *[]ConnectionMonitorTestGroup         `json:"testGroups,omitempty"`
}

func (*ConnectionMonitorResultProperties) GetStartTimeAsTime

func (o *ConnectionMonitorResultProperties) GetStartTimeAsTime() (*time.Time, error)

func (*ConnectionMonitorResultProperties) SetStartTimeAsTime

func (o *ConnectionMonitorResultProperties) SetStartTimeAsTime(input time.Time)

type ConnectionMonitorSource

type ConnectionMonitorSource struct {
	Port       *int64 `json:"port,omitempty"`
	ResourceId string `json:"resourceId"`
}

type ConnectionMonitorSourceStatus

type ConnectionMonitorSourceStatus string
const (
	ConnectionMonitorSourceStatusActive   ConnectionMonitorSourceStatus = "Active"
	ConnectionMonitorSourceStatusInactive ConnectionMonitorSourceStatus = "Inactive"
	ConnectionMonitorSourceStatusUnknown  ConnectionMonitorSourceStatus = "Unknown"
)

func (*ConnectionMonitorSourceStatus) UnmarshalJSON

func (s *ConnectionMonitorSourceStatus) UnmarshalJSON(bytes []byte) error

type ConnectionMonitorSuccessThreshold

type ConnectionMonitorSuccessThreshold struct {
	ChecksFailedPercent *int64   `json:"checksFailedPercent,omitempty"`
	RoundTripTimeMs     *float64 `json:"roundTripTimeMs,omitempty"`
}

type ConnectionMonitorTcpConfiguration

type ConnectionMonitorTcpConfiguration struct {
	DestinationPortBehavior *DestinationPortBehavior `json:"destinationPortBehavior,omitempty"`
	DisableTraceRoute       *bool                    `json:"disableTraceRoute,omitempty"`
	Port                    *int64                   `json:"port,omitempty"`
}

type ConnectionMonitorTestConfiguration

type ConnectionMonitorTestConfiguration struct {
	HTTPConfiguration  *ConnectionMonitorHTTPConfiguration        `json:"httpConfiguration,omitempty"`
	IcmpConfiguration  *ConnectionMonitorIcmpConfiguration        `json:"icmpConfiguration,omitempty"`
	Name               string                                     `json:"name"`
	PreferredIPVersion *PreferredIPVersion                        `json:"preferredIPVersion,omitempty"`
	Protocol           ConnectionMonitorTestConfigurationProtocol `json:"protocol"`
	SuccessThreshold   *ConnectionMonitorSuccessThreshold         `json:"successThreshold,omitempty"`
	TcpConfiguration   *ConnectionMonitorTcpConfiguration         `json:"tcpConfiguration,omitempty"`
	TestFrequencySec   *int64                                     `json:"testFrequencySec,omitempty"`
}

type ConnectionMonitorTestConfigurationProtocol

type ConnectionMonitorTestConfigurationProtocol string
const (
	ConnectionMonitorTestConfigurationProtocolHTTP ConnectionMonitorTestConfigurationProtocol = "Http"
	ConnectionMonitorTestConfigurationProtocolIcmp ConnectionMonitorTestConfigurationProtocol = "Icmp"
	ConnectionMonitorTestConfigurationProtocolTcp  ConnectionMonitorTestConfigurationProtocol = "Tcp"
)

func (*ConnectionMonitorTestConfigurationProtocol) UnmarshalJSON

func (s *ConnectionMonitorTestConfigurationProtocol) UnmarshalJSON(bytes []byte) error

type ConnectionMonitorTestGroup

type ConnectionMonitorTestGroup struct {
	Destinations       []string `json:"destinations"`
	Disable            *bool    `json:"disable,omitempty"`
	Name               string   `json:"name"`
	Sources            []string `json:"sources"`
	TestConfigurations []string `json:"testConfigurations"`
}

type ConnectionMonitorType

type ConnectionMonitorType string
const (
	ConnectionMonitorTypeMultiEndpoint           ConnectionMonitorType = "MultiEndpoint"
	ConnectionMonitorTypeSingleSourceDestination ConnectionMonitorType = "SingleSourceDestination"
)

func (*ConnectionMonitorType) UnmarshalJSON

func (s *ConnectionMonitorType) UnmarshalJSON(bytes []byte) error

type ConnectionMonitorWorkspaceSettings

type ConnectionMonitorWorkspaceSettings struct {
	WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"`
}

type ConnectionMonitorsClient

type ConnectionMonitorsClient struct {
	Client *resourcemanager.Client
}

func NewConnectionMonitorsClientWithBaseURI

func NewConnectionMonitorsClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectionMonitorsClient, error)

func (ConnectionMonitorsClient) CreateOrUpdate

CreateOrUpdate ...

func (ConnectionMonitorsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ConnectionMonitorsClient) Delete

Delete ...

func (ConnectionMonitorsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ConnectionMonitorsClient) Get

Get ...

func (ConnectionMonitorsClient) List

List ...

func (ConnectionMonitorsClient) Query

Query ...

func (ConnectionMonitorsClient) QueryThenPoll

QueryThenPoll performs Query then polls until it's completed

func (ConnectionMonitorsClient) Start

Start ...

func (ConnectionMonitorsClient) StartThenPoll

StartThenPoll performs Start then polls until it's completed

func (ConnectionMonitorsClient) Stop

Stop ...

func (ConnectionMonitorsClient) StopThenPoll

StopThenPoll performs Stop then polls until it's completed

func (ConnectionMonitorsClient) UpdateTags

UpdateTags ...

type ConnectionState

type ConnectionState string
const (
	ConnectionStateReachable   ConnectionState = "Reachable"
	ConnectionStateUnknown     ConnectionState = "Unknown"
	ConnectionStateUnreachable ConnectionState = "Unreachable"
)

func (*ConnectionState) UnmarshalJSON

func (s *ConnectionState) UnmarshalJSON(bytes []byte) error

type ConnectionStateSnapshot

type ConnectionStateSnapshot struct {
	AvgLatencyInMs  *int64             `json:"avgLatencyInMs,omitempty"`
	ConnectionState *ConnectionState   `json:"connectionState,omitempty"`
	EndTime         *string            `json:"endTime,omitempty"`
	EvaluationState *EvaluationState   `json:"evaluationState,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"`
	StartTime       *string            `json:"startTime,omitempty"`
}

func (*ConnectionStateSnapshot) GetEndTimeAsTime

func (o *ConnectionStateSnapshot) GetEndTimeAsTime() (*time.Time, error)

func (*ConnectionStateSnapshot) GetStartTimeAsTime

func (o *ConnectionStateSnapshot) GetStartTimeAsTime() (*time.Time, error)

func (*ConnectionStateSnapshot) SetEndTimeAsTime

func (o *ConnectionStateSnapshot) SetEndTimeAsTime(input time.Time)

func (*ConnectionStateSnapshot) SetStartTimeAsTime

func (o *ConnectionStateSnapshot) SetStartTimeAsTime(input time.Time)

type ConnectivityHop

type ConnectivityHop struct {
	Address        *string              `json:"address,omitempty"`
	Id             *string              `json:"id,omitempty"`
	Issues         *[]ConnectivityIssue `json:"issues,omitempty"`
	Links          *[]HopLink           `json:"links,omitempty"`
	NextHopIds     *[]string            `json:"nextHopIds,omitempty"`
	PreviousHopIds *[]string            `json:"previousHopIds,omitempty"`
	PreviousLinks  *[]HopLink           `json:"previousLinks,omitempty"`
	ResourceId     *string              `json:"resourceId,omitempty"`
	Type           *string              `json:"type,omitempty"`
}

type ConnectivityIssue

type ConnectivityIssue struct {
	Context  *[]map[string]string `json:"context,omitempty"`
	Origin   *Origin              `json:"origin,omitempty"`
	Severity *Severity            `json:"severity,omitempty"`
	Type     *IssueType           `json:"type,omitempty"`
}

type CoverageLevel

type CoverageLevel string
const (
	CoverageLevelAboveAverage CoverageLevel = "AboveAverage"
	CoverageLevelAverage      CoverageLevel = "Average"
	CoverageLevelBelowAverage CoverageLevel = "BelowAverage"
	CoverageLevelDefault      CoverageLevel = "Default"
	CoverageLevelFull         CoverageLevel = "Full"
	CoverageLevelLow          CoverageLevel = "Low"
)

func (*CoverageLevel) UnmarshalJSON

func (s *CoverageLevel) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateOperationOptions

type CreateOrUpdateOperationOptions struct {
	Migrate *string
}

func DefaultCreateOrUpdateOperationOptions

func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions

func (CreateOrUpdateOperationOptions) ToHeaders

func (CreateOrUpdateOperationOptions) ToOData

func (CreateOrUpdateOperationOptions) ToQuery

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DestinationPortBehavior

type DestinationPortBehavior string
const (
	DestinationPortBehaviorListenIfAvailable DestinationPortBehavior = "ListenIfAvailable"
	DestinationPortBehaviorNone              DestinationPortBehavior = "None"
)

func (*DestinationPortBehavior) UnmarshalJSON

func (s *DestinationPortBehavior) UnmarshalJSON(bytes []byte) error

type EndpointType

type EndpointType string
const (
	EndpointTypeAzureArcVM          EndpointType = "AzureArcVM"
	EndpointTypeAzureSubnet         EndpointType = "AzureSubnet"
	EndpointTypeAzureVM             EndpointType = "AzureVM"
	EndpointTypeAzureVMSS           EndpointType = "AzureVMSS"
	EndpointTypeAzureVNet           EndpointType = "AzureVNet"
	EndpointTypeExternalAddress     EndpointType = "ExternalAddress"
	EndpointTypeMMAWorkspaceMachine EndpointType = "MMAWorkspaceMachine"
	EndpointTypeMMAWorkspaceNetwork EndpointType = "MMAWorkspaceNetwork"
)

func (*EndpointType) UnmarshalJSON

func (s *EndpointType) UnmarshalJSON(bytes []byte) error

type EvaluationState

type EvaluationState string
const (
	EvaluationStateCompleted  EvaluationState = "Completed"
	EvaluationStateInProgress EvaluationState = "InProgress"
	EvaluationStateNotStarted EvaluationState = "NotStarted"
)

func (*EvaluationState) UnmarshalJSON

func (s *EvaluationState) UnmarshalJSON(bytes []byte) error

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionMonitorResult
}

type HTTPConfigurationMethod

type HTTPConfigurationMethod string
const (
	HTTPConfigurationMethodGet  HTTPConfigurationMethod = "Get"
	HTTPConfigurationMethodPost HTTPConfigurationMethod = "Post"
)

func (*HTTPConfigurationMethod) UnmarshalJSON

func (s *HTTPConfigurationMethod) UnmarshalJSON(bytes []byte) error

type HTTPHeader

type HTTPHeader struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}
type HopLink struct {
	Context    *map[string]string   `json:"context,omitempty"`
	Issues     *[]ConnectivityIssue `json:"issues,omitempty"`
	LinkType   *string              `json:"linkType,omitempty"`
	NextHopId  *string              `json:"nextHopId,omitempty"`
	Properties *HopLinkProperties   `json:"properties,omitempty"`
	ResourceId *string              `json:"resourceId,omitempty"`
}

type HopLinkProperties

type HopLinkProperties struct {
	RoundTripTimeAvg *int64 `json:"roundTripTimeAvg,omitempty"`
	RoundTripTimeMax *int64 `json:"roundTripTimeMax,omitempty"`
	RoundTripTimeMin *int64 `json:"roundTripTimeMin,omitempty"`
}

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

func (s *IssueType) UnmarshalJSON(bytes []byte) error

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionMonitorListResult
}

type NetworkWatcherId

type NetworkWatcherId struct {
	SubscriptionId     string
	ResourceGroupName  string
	NetworkWatcherName string
}

NetworkWatcherId is a struct representing the Resource ID for a Network Watcher

func NewNetworkWatcherID

func NewNetworkWatcherID(subscriptionId string, resourceGroupName string, networkWatcherName string) NetworkWatcherId

NewNetworkWatcherID returns a new NetworkWatcherId struct

func ParseNetworkWatcherID

func ParseNetworkWatcherID(input string) (*NetworkWatcherId, error)

ParseNetworkWatcherID parses 'input' into a NetworkWatcherId

func ParseNetworkWatcherIDInsensitively

func ParseNetworkWatcherIDInsensitively(input string) (*NetworkWatcherId, error)

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

func (NetworkWatcherId) ID

func (id NetworkWatcherId) ID() string

ID returns the formatted Network Watcher ID

func (NetworkWatcherId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Network Watcher ID

func (NetworkWatcherId) String

func (id NetworkWatcherId) String() string

String returns a human-readable description of this Network Watcher ID

type Origin

type Origin string
const (
	OriginInbound  Origin = "Inbound"
	OriginLocal    Origin = "Local"
	OriginOutbound Origin = "Outbound"
)

func (*Origin) UnmarshalJSON

func (s *Origin) UnmarshalJSON(bytes []byte) error

type OutputType

type OutputType string
const (
	OutputTypeWorkspace OutputType = "Workspace"
)

func (*OutputType) UnmarshalJSON

func (s *OutputType) UnmarshalJSON(bytes []byte) error

type PreferredIPVersion

type PreferredIPVersion string
const (
	PreferredIPVersionIPvFour PreferredIPVersion = "IPv4"
	PreferredIPVersionIPvSix  PreferredIPVersion = "IPv6"
)

func (*PreferredIPVersion) UnmarshalJSON

func (s *PreferredIPVersion) UnmarshalJSON(bytes []byte) error

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type QueryOperationResponse

type QueryOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Severity

type Severity string
const (
	SeverityError   Severity = "Error"
	SeverityWarning Severity = "Warning"
)

func (*Severity) UnmarshalJSON

func (s *Severity) UnmarshalJSON(bytes []byte) error

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type StopOperationResponse

type StopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type TagsObject

type TagsObject struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type UpdateTagsOperationResponse

type UpdateTagsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionMonitorResult
}

Jump to

Keyboard shortcuts

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