networkwatchers

package
v0.20240521.1173452 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-07-01/networkwatchers Documentation

The networkwatchers SDK allows for interaction with the Azure Resource Manager Service network (API Version 2022-07-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-07-01/networkwatchers"

Client Initialization

client := networkwatchers.NewNetworkWatchersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: NetworkWatchersClient.CheckConnectivity

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

payload := networkwatchers.ConnectivityParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.CreateOrUpdate

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

payload := networkwatchers.NetworkWatcher{
	// ...
}


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

Example Usage: NetworkWatchersClient.Delete

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

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

Example Usage: NetworkWatchersClient.Get

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

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: NetworkWatchersClient.GetAzureReachabilityReport

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

payload := networkwatchers.AzureReachabilityReportParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetFlowLogStatus

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

payload := networkwatchers.FlowLogStatusParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetNetworkConfigurationDiagnostic

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

payload := networkwatchers.NetworkConfigurationDiagnosticParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetNextHop

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

payload := networkwatchers.NextHopParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetTopology

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

payload := networkwatchers.TopologyParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetTroubleshooting

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

payload := networkwatchers.TroubleshootingParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetTroubleshootingResult

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

payload := networkwatchers.QueryTroubleshootingParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.GetVMSecurityRules

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

payload := networkwatchers.SecurityGroupViewParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.List

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

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: NetworkWatchersClient.ListAll

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: NetworkWatchersClient.ListAvailableProviders

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

payload := networkwatchers.AvailableProvidersListParameters{
	// ...
}


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

Example Usage: NetworkWatchersClient.SetFlowLogConfiguration

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

payload := networkwatchers.FlowLogInformation{
	// ...
}


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

Example Usage: NetworkWatchersClient.UpdateTags

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

payload := networkwatchers.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
}

Example Usage: NetworkWatchersClient.VerifyIPFlow

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

payload := networkwatchers.VerificationIPFlowParameters{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccess

func PossibleValuesForAccess() []string

func PossibleValuesForAssociationType

func PossibleValuesForAssociationType() []string

func PossibleValuesForConnectionStatus

func PossibleValuesForConnectionStatus() []string

func PossibleValuesForDirection

func PossibleValuesForDirection() []string

func PossibleValuesForEffectiveSecurityRuleProtocol

func PossibleValuesForEffectiveSecurityRuleProtocol() []string

func PossibleValuesForFlowLogFormatType

func PossibleValuesForFlowLogFormatType() []string

func PossibleValuesForHTTPMethod

func PossibleValuesForHTTPMethod() []string

func PossibleValuesForIPFlowProtocol

func PossibleValuesForIPFlowProtocol() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForIssueType

func PossibleValuesForIssueType() []string

func PossibleValuesForNextHopType

func PossibleValuesForNextHopType() []string

func PossibleValuesForOrigin

func PossibleValuesForOrigin() []string

func PossibleValuesForProtocol

func PossibleValuesForProtocol() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForSecurityRuleAccess

func PossibleValuesForSecurityRuleAccess() []string

func PossibleValuesForSecurityRuleDirection

func PossibleValuesForSecurityRuleDirection() []string

func PossibleValuesForSecurityRuleProtocol

func PossibleValuesForSecurityRuleProtocol() []string

func PossibleValuesForSeverity

func PossibleValuesForSeverity() []string

func PossibleValuesForVerbosityLevel

func PossibleValuesForVerbosityLevel() []string

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 Access

type Access string
const (
	AccessAllow Access = "Allow"
	AccessDeny  Access = "Deny"
)

func (*Access) UnmarshalJSON

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

type ApplicationSecurityGroup

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

type ApplicationSecurityGroupPropertiesFormat

type ApplicationSecurityGroupPropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceGuid      *string            `json:"resourceGuid,omitempty"`
}

type AssociationType

type AssociationType string
const (
	AssociationTypeAssociated AssociationType = "Associated"
	AssociationTypeContains   AssociationType = "Contains"
)

func (*AssociationType) UnmarshalJSON

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

type AvailableProvidersList

type AvailableProvidersList struct {
	Countries []AvailableProvidersListCountry `json:"countries"`
}

type AvailableProvidersListCity

type AvailableProvidersListCity struct {
	CityName  *string   `json:"cityName,omitempty"`
	Providers *[]string `json:"providers,omitempty"`
}

type AvailableProvidersListCountry

type AvailableProvidersListCountry struct {
	CountryName *string                        `json:"countryName,omitempty"`
	Providers   *[]string                      `json:"providers,omitempty"`
	States      *[]AvailableProvidersListState `json:"states,omitempty"`
}

type AvailableProvidersListParameters

type AvailableProvidersListParameters struct {
	AzureLocations *[]string `json:"azureLocations,omitempty"`
	City           *string   `json:"city,omitempty"`
	Country        *string   `json:"country,omitempty"`
	State          *string   `json:"state,omitempty"`
}

type AvailableProvidersListState

type AvailableProvidersListState struct {
	Cities    *[]AvailableProvidersListCity `json:"cities,omitempty"`
	Providers *[]string                     `json:"providers,omitempty"`
	StateName *string                       `json:"stateName,omitempty"`
}

type AzureReachabilityReport

type AzureReachabilityReport struct {
	AggregationLevel   string                          `json:"aggregationLevel"`
	ProviderLocation   AzureReachabilityReportLocation `json:"providerLocation"`
	ReachabilityReport []AzureReachabilityReportItem   `json:"reachabilityReport"`
}

type AzureReachabilityReportItem

type AzureReachabilityReportItem struct {
	AzureLocation *string                               `json:"azureLocation,omitempty"`
	Latencies     *[]AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"`
	Provider      *string                               `json:"provider,omitempty"`
}

type AzureReachabilityReportLatencyInfo

type AzureReachabilityReportLatencyInfo struct {
	Score     *int64  `json:"score,omitempty"`
	TimeStamp *string `json:"timeStamp,omitempty"`
}

func (*AzureReachabilityReportLatencyInfo) GetTimeStampAsTime

func (o *AzureReachabilityReportLatencyInfo) GetTimeStampAsTime() (*time.Time, error)

func (*AzureReachabilityReportLatencyInfo) SetTimeStampAsTime

func (o *AzureReachabilityReportLatencyInfo) SetTimeStampAsTime(input time.Time)

type AzureReachabilityReportLocation

type AzureReachabilityReportLocation struct {
	City    *string `json:"city,omitempty"`
	Country string  `json:"country"`
	State   *string `json:"state,omitempty"`
}

type AzureReachabilityReportParameters

type AzureReachabilityReportParameters struct {
	AzureLocations   *[]string                       `json:"azureLocations,omitempty"`
	EndTime          string                          `json:"endTime"`
	ProviderLocation AzureReachabilityReportLocation `json:"providerLocation"`
	Providers        *[]string                       `json:"providers,omitempty"`
	StartTime        string                          `json:"startTime"`
}

func (*AzureReachabilityReportParameters) GetEndTimeAsTime

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

func (*AzureReachabilityReportParameters) GetStartTimeAsTime

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

func (*AzureReachabilityReportParameters) SetEndTimeAsTime

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

func (*AzureReachabilityReportParameters) SetStartTimeAsTime

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

type CheckConnectivityOperationResponse

type CheckConnectivityOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectivityInformation
}

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 ConnectivityDestination

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

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 ConnectivityInformation

type ConnectivityInformation 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 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 ConnectivityParameters

type ConnectivityParameters struct {
	Destination           ConnectivityDestination `json:"destination"`
	PreferredIPVersion    *IPVersion              `json:"preferredIPVersion,omitempty"`
	Protocol              *Protocol               `json:"protocol,omitempty"`
	ProtocolConfiguration *ProtocolConfiguration  `json:"protocolConfiguration,omitempty"`
	Source                ConnectivitySource      `json:"source"`
}

type ConnectivitySource

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

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkWatcher
}

type DeleteOperationResponse

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

type Direction

type Direction string
const (
	DirectionInbound  Direction = "Inbound"
	DirectionOutbound Direction = "Outbound"
)

func (*Direction) UnmarshalJSON

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

type EffectiveNetworkSecurityRule

type EffectiveNetworkSecurityRule struct {
	Access                           *SecurityRuleAccess            `json:"access,omitempty"`
	DestinationAddressPrefix         *string                        `json:"destinationAddressPrefix,omitempty"`
	DestinationAddressPrefixes       *[]string                      `json:"destinationAddressPrefixes,omitempty"`
	DestinationPortRange             *string                        `json:"destinationPortRange,omitempty"`
	DestinationPortRanges            *[]string                      `json:"destinationPortRanges,omitempty"`
	Direction                        *SecurityRuleDirection         `json:"direction,omitempty"`
	ExpandedDestinationAddressPrefix *[]string                      `json:"expandedDestinationAddressPrefix,omitempty"`
	ExpandedSourceAddressPrefix      *[]string                      `json:"expandedSourceAddressPrefix,omitempty"`
	Name                             *string                        `json:"name,omitempty"`
	Priority                         *int64                         `json:"priority,omitempty"`
	Protocol                         *EffectiveSecurityRuleProtocol `json:"protocol,omitempty"`
	SourceAddressPrefix              *string                        `json:"sourceAddressPrefix,omitempty"`
	SourceAddressPrefixes            *[]string                      `json:"sourceAddressPrefixes,omitempty"`
	SourcePortRange                  *string                        `json:"sourcePortRange,omitempty"`
	SourcePortRanges                 *[]string                      `json:"sourcePortRanges,omitempty"`
}

type EffectiveSecurityRuleProtocol

type EffectiveSecurityRuleProtocol string
const (
	EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All"
	EffectiveSecurityRuleProtocolTcp EffectiveSecurityRuleProtocol = "Tcp"
	EffectiveSecurityRuleProtocolUdp EffectiveSecurityRuleProtocol = "Udp"
)

func (*EffectiveSecurityRuleProtocol) UnmarshalJSON

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

type EvaluatedNetworkSecurityGroup

type EvaluatedNetworkSecurityGroup struct {
	AppliedTo              *string                                 `json:"appliedTo,omitempty"`
	MatchedRule            *MatchedRule                            `json:"matchedRule,omitempty"`
	NetworkSecurityGroupId *string                                 `json:"networkSecurityGroupId,omitempty"`
	RulesEvaluationResult  *[]NetworkSecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty"`
}

type FlowLogFormatParameters

type FlowLogFormatParameters struct {
	Type    *FlowLogFormatType `json:"type,omitempty"`
	Version *int64             `json:"version,omitempty"`
}

type FlowLogFormatType

type FlowLogFormatType string
const (
	FlowLogFormatTypeJSON FlowLogFormatType = "JSON"
)

func (*FlowLogFormatType) UnmarshalJSON

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

type FlowLogInformation

type FlowLogInformation struct {
	FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"`
	Properties                 FlowLogProperties           `json:"properties"`
	TargetResourceId           string                      `json:"targetResourceId"`
}

type FlowLogProperties

type FlowLogProperties struct {
	Enabled         bool                       `json:"enabled"`
	Format          *FlowLogFormatParameters   `json:"format,omitempty"`
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`
	StorageId       string                     `json:"storageId"`
}

type FlowLogStatusParameters

type FlowLogStatusParameters struct {
	TargetResourceId string `json:"targetResourceId"`
}

type GetAzureReachabilityReportOperationResponse

type GetAzureReachabilityReportOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AzureReachabilityReport
}

type GetFlowLogStatusOperationResponse

type GetFlowLogStatusOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FlowLogInformation
}

type GetNetworkConfigurationDiagnosticOperationResponse

type GetNetworkConfigurationDiagnosticOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkConfigurationDiagnosticResponse
}

type GetNextHopOperationResponse

type GetNextHopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NextHopResult
}

type GetOperationResponse

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

type GetTopologyOperationResponse

type GetTopologyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Topology
}

type GetTroubleshootingOperationResponse

type GetTroubleshootingOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TroubleshootingResult
}

type GetTroubleshootingResultOperationResponse

type GetTroubleshootingResultOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TroubleshootingResult
}

type GetVMSecurityRulesOperationResponse

type GetVMSecurityRulesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SecurityGroupViewResult
}

type HTTPConfiguration

type HTTPConfiguration struct {
	Headers          *[]HTTPHeader `json:"headers,omitempty"`
	Method           *HTTPMethod   `json:"method,omitempty"`
	ValidStatusCodes *[]int64      `json:"validStatusCodes,omitempty"`
}

type HTTPHeader

type HTTPHeader struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type HTTPMethod

type HTTPMethod string
const (
	HTTPMethodGet HTTPMethod = "Get"
)

func (*HTTPMethod) UnmarshalJSON

func (s *HTTPMethod) UnmarshalJSON(bytes []byte) error
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 IPFlowProtocol

type IPFlowProtocol string
const (
	IPFlowProtocolTCP IPFlowProtocol = "TCP"
	IPFlowProtocolUDP IPFlowProtocol = "UDP"
)

func (*IPFlowProtocol) UnmarshalJSON

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

type IPVersion

type IPVersion string
const (
	IPVersionIPvFour IPVersion = "IPv4"
	IPVersionIPvSix  IPVersion = "IPv6"
)

func (*IPVersion) UnmarshalJSON

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

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 ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NetworkWatcherListResult
}

type ListAvailableProvidersOperationResponse

type ListAvailableProvidersOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AvailableProvidersList
}

type ListOperationResponse

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

type MatchedRule

type MatchedRule struct {
	Action   *string `json:"action,omitempty"`
	RuleName *string `json:"ruleName,omitempty"`
}

type NetworkConfigurationDiagnosticParameters

type NetworkConfigurationDiagnosticParameters struct {
	Profiles         []NetworkConfigurationDiagnosticProfile `json:"profiles"`
	TargetResourceId string                                  `json:"targetResourceId"`
	VerbosityLevel   *VerbosityLevel                         `json:"verbosityLevel,omitempty"`
}

type NetworkConfigurationDiagnosticProfile

type NetworkConfigurationDiagnosticProfile struct {
	Destination     string    `json:"destination"`
	DestinationPort string    `json:"destinationPort"`
	Direction       Direction `json:"direction"`
	Protocol        string    `json:"protocol"`
	Source          string    `json:"source"`
}

type NetworkConfigurationDiagnosticResponse

type NetworkConfigurationDiagnosticResponse struct {
	Results *[]NetworkConfigurationDiagnosticResult `json:"results,omitempty"`
}

type NetworkConfigurationDiagnosticResult

type NetworkConfigurationDiagnosticResult struct {
	NetworkSecurityGroupResult *NetworkSecurityGroupResult            `json:"networkSecurityGroupResult,omitempty"`
	Profile                    *NetworkConfigurationDiagnosticProfile `json:"profile,omitempty"`
}

type NetworkInterfaceAssociation

type NetworkInterfaceAssociation struct {
	Id            *string         `json:"id,omitempty"`
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

type NetworkSecurityGroupResult

type NetworkSecurityGroupResult struct {
	EvaluatedNetworkSecurityGroups *[]EvaluatedNetworkSecurityGroup `json:"evaluatedNetworkSecurityGroups,omitempty"`
	SecurityRuleAccessResult       *SecurityRuleAccess              `json:"securityRuleAccessResult,omitempty"`
}

type NetworkSecurityRulesEvaluationResult

type NetworkSecurityRulesEvaluationResult struct {
	DestinationMatched     *bool   `json:"destinationMatched,omitempty"`
	DestinationPortMatched *bool   `json:"destinationPortMatched,omitempty"`
	Name                   *string `json:"name,omitempty"`
	ProtocolMatched        *bool   `json:"protocolMatched,omitempty"`
	SourceMatched          *bool   `json:"sourceMatched,omitempty"`
	SourcePortMatched      *bool   `json:"sourcePortMatched,omitempty"`
}

type NetworkWatcher

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

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) FromParseResult

func (id *NetworkWatcherId) FromParseResult(input resourceids.ParseResult) error

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 NetworkWatcherListResult

type NetworkWatcherListResult struct {
	Value *[]NetworkWatcher `json:"value,omitempty"`
}

type NetworkWatcherPropertiesFormat

type NetworkWatcherPropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

type NetworkWatchersClient

type NetworkWatchersClient struct {
	Client *resourcemanager.Client
}

func NewNetworkWatchersClientWithBaseURI

func NewNetworkWatchersClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkWatchersClient, error)

func (NetworkWatchersClient) CheckConnectivity

CheckConnectivity ...

func (NetworkWatchersClient) CheckConnectivityThenPoll

func (c NetworkWatchersClient) CheckConnectivityThenPoll(ctx context.Context, id NetworkWatcherId, input ConnectivityParameters) error

CheckConnectivityThenPoll performs CheckConnectivity then polls until it's completed

func (NetworkWatchersClient) CreateOrUpdate

CreateOrUpdate ...

func (NetworkWatchersClient) Delete

Delete ...

func (NetworkWatchersClient) DeleteThenPoll

func (c NetworkWatchersClient) DeleteThenPoll(ctx context.Context, id NetworkWatcherId) error

DeleteThenPoll performs Delete then polls until it's completed

func (NetworkWatchersClient) Get

Get ...

func (NetworkWatchersClient) GetAzureReachabilityReport

GetAzureReachabilityReport ...

func (NetworkWatchersClient) GetAzureReachabilityReportThenPoll

func (c NetworkWatchersClient) GetAzureReachabilityReportThenPoll(ctx context.Context, id NetworkWatcherId, input AzureReachabilityReportParameters) error

GetAzureReachabilityReportThenPoll performs GetAzureReachabilityReport then polls until it's completed

func (NetworkWatchersClient) GetFlowLogStatus

GetFlowLogStatus ...

func (NetworkWatchersClient) GetFlowLogStatusThenPoll

func (c NetworkWatchersClient) GetFlowLogStatusThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) error

GetFlowLogStatusThenPoll performs GetFlowLogStatus then polls until it's completed

func (NetworkWatchersClient) GetNetworkConfigurationDiagnostic

GetNetworkConfigurationDiagnostic ...

func (NetworkWatchersClient) GetNetworkConfigurationDiagnosticThenPoll

func (c NetworkWatchersClient) GetNetworkConfigurationDiagnosticThenPoll(ctx context.Context, id NetworkWatcherId, input NetworkConfigurationDiagnosticParameters) error

GetNetworkConfigurationDiagnosticThenPoll performs GetNetworkConfigurationDiagnostic then polls until it's completed

func (NetworkWatchersClient) GetNextHop

GetNextHop ...

func (NetworkWatchersClient) GetNextHopThenPoll

func (c NetworkWatchersClient) GetNextHopThenPoll(ctx context.Context, id NetworkWatcherId, input NextHopParameters) error

GetNextHopThenPoll performs GetNextHop then polls until it's completed

func (NetworkWatchersClient) GetTopology

GetTopology ...

func (NetworkWatchersClient) GetTroubleshooting

GetTroubleshooting ...

func (NetworkWatchersClient) GetTroubleshootingResult

GetTroubleshootingResult ...

func (NetworkWatchersClient) GetTroubleshootingResultThenPoll

func (c NetworkWatchersClient) GetTroubleshootingResultThenPoll(ctx context.Context, id NetworkWatcherId, input QueryTroubleshootingParameters) error

GetTroubleshootingResultThenPoll performs GetTroubleshootingResult then polls until it's completed

func (NetworkWatchersClient) GetTroubleshootingThenPoll

func (c NetworkWatchersClient) GetTroubleshootingThenPoll(ctx context.Context, id NetworkWatcherId, input TroubleshootingParameters) error

GetTroubleshootingThenPoll performs GetTroubleshooting then polls until it's completed

func (NetworkWatchersClient) GetVMSecurityRules

GetVMSecurityRules ...

func (NetworkWatchersClient) GetVMSecurityRulesThenPoll

func (c NetworkWatchersClient) GetVMSecurityRulesThenPoll(ctx context.Context, id NetworkWatcherId, input SecurityGroupViewParameters) error

GetVMSecurityRulesThenPoll performs GetVMSecurityRules then polls until it's completed

func (NetworkWatchersClient) List

List ...

func (NetworkWatchersClient) ListAll

ListAll ...

func (NetworkWatchersClient) ListAvailableProviders

ListAvailableProviders ...

func (NetworkWatchersClient) ListAvailableProvidersThenPoll

func (c NetworkWatchersClient) ListAvailableProvidersThenPoll(ctx context.Context, id NetworkWatcherId, input AvailableProvidersListParameters) error

ListAvailableProvidersThenPoll performs ListAvailableProviders then polls until it's completed

func (NetworkWatchersClient) SetFlowLogConfiguration

SetFlowLogConfiguration ...

func (NetworkWatchersClient) SetFlowLogConfigurationThenPoll

func (c NetworkWatchersClient) SetFlowLogConfigurationThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) error

SetFlowLogConfigurationThenPoll performs SetFlowLogConfiguration then polls until it's completed

func (NetworkWatchersClient) UpdateTags

UpdateTags ...

func (NetworkWatchersClient) VerifyIPFlow

VerifyIPFlow ...

func (NetworkWatchersClient) VerifyIPFlowThenPoll

VerifyIPFlowThenPoll performs VerifyIPFlow then polls until it's completed

type NextHopParameters

type NextHopParameters struct {
	DestinationIPAddress string  `json:"destinationIPAddress"`
	SourceIPAddress      string  `json:"sourceIPAddress"`
	TargetNicResourceId  *string `json:"targetNicResourceId,omitempty"`
	TargetResourceId     string  `json:"targetResourceId"`
}

type NextHopResult

type NextHopResult struct {
	NextHopIPAddress *string      `json:"nextHopIpAddress,omitempty"`
	NextHopType      *NextHopType `json:"nextHopType,omitempty"`
	RouteTableId     *string      `json:"routeTableId,omitempty"`
}

type NextHopType

type NextHopType string
const (
	NextHopTypeHyperNetGateway       NextHopType = "HyperNetGateway"
	NextHopTypeInternet              NextHopType = "Internet"
	NextHopTypeNone                  NextHopType = "None"
	NextHopTypeVirtualAppliance      NextHopType = "VirtualAppliance"
	NextHopTypeVirtualNetworkGateway NextHopType = "VirtualNetworkGateway"
	NextHopTypeVnetLocal             NextHopType = "VnetLocal"
)

func (*NextHopType) UnmarshalJSON

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

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 Protocol

type Protocol string
const (
	ProtocolHTTP  Protocol = "Http"
	ProtocolHTTPS Protocol = "Https"
	ProtocolIcmp  Protocol = "Icmp"
	ProtocolTcp   Protocol = "Tcp"
)

func (*Protocol) UnmarshalJSON

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

type ProtocolConfiguration

type ProtocolConfiguration struct {
	HTTPConfiguration *HTTPConfiguration `json:"HTTPConfiguration,omitempty"`
}

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 QueryTroubleshootingParameters

type QueryTroubleshootingParameters struct {
	TargetResourceId string `json:"targetResourceId"`
}

type RetentionPolicyParameters

type RetentionPolicyParameters struct {
	Days    *int64 `json:"days,omitempty"`
	Enabled *bool  `json:"enabled,omitempty"`
}

type SecurityGroupNetworkInterface

type SecurityGroupNetworkInterface struct {
	Id                       *string                   `json:"id,omitempty"`
	SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"`
}

type SecurityGroupViewParameters

type SecurityGroupViewParameters struct {
	TargetResourceId string `json:"targetResourceId"`
}

type SecurityGroupViewResult

type SecurityGroupViewResult struct {
	NetworkInterfaces *[]SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"`
}

type SecurityRule

type SecurityRule struct {
	Etag       *string                       `json:"etag,omitempty"`
	Id         *string                       `json:"id,omitempty"`
	Name       *string                       `json:"name,omitempty"`
	Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type SecurityRuleAccess

type SecurityRuleAccess string
const (
	SecurityRuleAccessAllow SecurityRuleAccess = "Allow"
	SecurityRuleAccessDeny  SecurityRuleAccess = "Deny"
)

func (*SecurityRuleAccess) UnmarshalJSON

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

type SecurityRuleAssociations

type SecurityRuleAssociations struct {
	DefaultSecurityRules        *[]SecurityRule                 `json:"defaultSecurityRules,omitempty"`
	EffectiveSecurityRules      *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`
	NetworkInterfaceAssociation *NetworkInterfaceAssociation    `json:"networkInterfaceAssociation,omitempty"`
	SubnetAssociation           *SubnetAssociation              `json:"subnetAssociation,omitempty"`
}

type SecurityRuleDirection

type SecurityRuleDirection string
const (
	SecurityRuleDirectionInbound  SecurityRuleDirection = "Inbound"
	SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound"
)

func (*SecurityRuleDirection) UnmarshalJSON

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

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	Access                               SecurityRuleAccess          `json:"access"`
	Description                          *string                     `json:"description,omitempty"`
	DestinationAddressPrefix             *string                     `json:"destinationAddressPrefix,omitempty"`
	DestinationAddressPrefixes           *[]string                   `json:"destinationAddressPrefixes,omitempty"`
	DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"`
	DestinationPortRange                 *string                     `json:"destinationPortRange,omitempty"`
	DestinationPortRanges                *[]string                   `json:"destinationPortRanges,omitempty"`
	Direction                            SecurityRuleDirection       `json:"direction"`
	Priority                             *int64                      `json:"priority,omitempty"`
	Protocol                             SecurityRuleProtocol        `json:"protocol"`
	ProvisioningState                    *ProvisioningState          `json:"provisioningState,omitempty"`
	SourceAddressPrefix                  *string                     `json:"sourceAddressPrefix,omitempty"`
	SourceAddressPrefixes                *[]string                   `json:"sourceAddressPrefixes,omitempty"`
	SourceApplicationSecurityGroups      *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"`
	SourcePortRange                      *string                     `json:"sourcePortRange,omitempty"`
	SourcePortRanges                     *[]string                   `json:"sourcePortRanges,omitempty"`
}

type SecurityRuleProtocol

type SecurityRuleProtocol string
const (
	SecurityRuleProtocolAh   SecurityRuleProtocol = "Ah"
	SecurityRuleProtocolAny  SecurityRuleProtocol = "*"
	SecurityRuleProtocolEsp  SecurityRuleProtocol = "Esp"
	SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp"
	SecurityRuleProtocolTcp  SecurityRuleProtocol = "Tcp"
	SecurityRuleProtocolUdp  SecurityRuleProtocol = "Udp"
)

func (*SecurityRuleProtocol) UnmarshalJSON

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

type SetFlowLogConfigurationOperationResponse

type SetFlowLogConfigurationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FlowLogInformation
}

type Severity

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

func (*Severity) UnmarshalJSON

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

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type SubnetAssociation

type SubnetAssociation struct {
	Id            *string         `json:"id,omitempty"`
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

type TagsObject

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

type Topology

type Topology struct {
	CreatedDateTime *string             `json:"createdDateTime,omitempty"`
	Id              *string             `json:"id,omitempty"`
	LastModified    *string             `json:"lastModified,omitempty"`
	Resources       *[]TopologyResource `json:"resources,omitempty"`
}

func (*Topology) GetCreatedDateTimeAsTime

func (o *Topology) GetCreatedDateTimeAsTime() (*time.Time, error)

func (*Topology) GetLastModifiedAsTime

func (o *Topology) GetLastModifiedAsTime() (*time.Time, error)

func (*Topology) SetCreatedDateTimeAsTime

func (o *Topology) SetCreatedDateTimeAsTime(input time.Time)

func (*Topology) SetLastModifiedAsTime

func (o *Topology) SetLastModifiedAsTime(input time.Time)

type TopologyAssociation

type TopologyAssociation struct {
	AssociationType *AssociationType `json:"associationType,omitempty"`
	Name            *string          `json:"name,omitempty"`
	ResourceId      *string          `json:"resourceId,omitempty"`
}

type TopologyParameters

type TopologyParameters struct {
	TargetResourceGroupName *string      `json:"targetResourceGroupName,omitempty"`
	TargetSubnet            *SubResource `json:"targetSubnet,omitempty"`
	TargetVirtualNetwork    *SubResource `json:"targetVirtualNetwork,omitempty"`
}

type TopologyResource

type TopologyResource struct {
	Associations *[]TopologyAssociation `json:"associations,omitempty"`
	Id           *string                `json:"id,omitempty"`
	Location     *string                `json:"location,omitempty"`
	Name         *string                `json:"name,omitempty"`
}

type TrafficAnalyticsConfigurationProperties

type TrafficAnalyticsConfigurationProperties struct {
	Enabled                  *bool   `json:"enabled,omitempty"`
	TrafficAnalyticsInterval *int64  `json:"trafficAnalyticsInterval,omitempty"`
	WorkspaceId              *string `json:"workspaceId,omitempty"`
	WorkspaceRegion          *string `json:"workspaceRegion,omitempty"`
	WorkspaceResourceId      *string `json:"workspaceResourceId,omitempty"`
}

type TrafficAnalyticsProperties

type TrafficAnalyticsProperties struct {
	NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"`
}

type TroubleshootingDetails

type TroubleshootingDetails struct {
	Detail             *string                              `json:"detail,omitempty"`
	Id                 *string                              `json:"id,omitempty"`
	ReasonType         *string                              `json:"reasonType,omitempty"`
	RecommendedActions *[]TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"`
	Summary            *string                              `json:"summary,omitempty"`
}

type TroubleshootingParameters

type TroubleshootingParameters struct {
	Properties       TroubleshootingProperties `json:"properties"`
	TargetResourceId string                    `json:"targetResourceId"`
}

type TroubleshootingProperties

type TroubleshootingProperties struct {
	StorageId   string `json:"storageId"`
	StoragePath string `json:"storagePath"`
}

type TroubleshootingRecommendedActions

type TroubleshootingRecommendedActions struct {
	ActionId      *string `json:"actionId,omitempty"`
	ActionText    *string `json:"actionText,omitempty"`
	ActionUri     *string `json:"actionUri,omitempty"`
	ActionUriText *string `json:"actionUriText,omitempty"`
}

type TroubleshootingResult

type TroubleshootingResult struct {
	Code      *string                   `json:"code,omitempty"`
	EndTime   *string                   `json:"endTime,omitempty"`
	Results   *[]TroubleshootingDetails `json:"results,omitempty"`
	StartTime *string                   `json:"startTime,omitempty"`
}

func (*TroubleshootingResult) GetEndTimeAsTime

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

func (*TroubleshootingResult) GetStartTimeAsTime

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

func (*TroubleshootingResult) SetEndTimeAsTime

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

func (*TroubleshootingResult) SetStartTimeAsTime

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

type UpdateTagsOperationResponse

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

type VerbosityLevel

type VerbosityLevel string
const (
	VerbosityLevelFull    VerbosityLevel = "Full"
	VerbosityLevelMinimum VerbosityLevel = "Minimum"
	VerbosityLevelNormal  VerbosityLevel = "Normal"
)

func (*VerbosityLevel) UnmarshalJSON

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

type VerificationIPFlowParameters

type VerificationIPFlowParameters struct {
	Direction           Direction      `json:"direction"`
	LocalIPAddress      string         `json:"localIPAddress"`
	LocalPort           string         `json:"localPort"`
	Protocol            IPFlowProtocol `json:"protocol"`
	RemoteIPAddress     string         `json:"remoteIPAddress"`
	RemotePort          string         `json:"remotePort"`
	TargetNicResourceId *string        `json:"targetNicResourceId,omitempty"`
	TargetResourceId    string         `json:"targetResourceId"`
}

type VerificationIPFlowResult

type VerificationIPFlowResult struct {
	Access   *Access `json:"access,omitempty"`
	RuleName *string `json:"ruleName,omitempty"`
}

type VerifyIPFlowOperationResponse

type VerifyIPFlowOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VerificationIPFlowResult
}

Source Files

Jump to

Keyboard shortcuts

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