README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-04-01/networkwatchers
Documentation
The networkwatchers
SDK allows for interaction with the Azure Resource Manager Service network
(API Version 2023-04-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-04-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 := networkwatchers.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 := networkwatchers.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 ¶
- func PossibleValuesForAccess() []string
- func PossibleValuesForAssociationType() []string
- func PossibleValuesForConnectionStatus() []string
- func PossibleValuesForDirection() []string
- func PossibleValuesForEffectiveSecurityRuleProtocol() []string
- func PossibleValuesForFlowLogFormatType() []string
- func PossibleValuesForHTTPMethod() []string
- func PossibleValuesForIPFlowProtocol() []string
- func PossibleValuesForIPVersion() []string
- func PossibleValuesForIssueType() []string
- func PossibleValuesForNextHopType() []string
- func PossibleValuesForOrigin() []string
- func PossibleValuesForProtocol() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSecurityRuleAccess() []string
- func PossibleValuesForSecurityRuleDirection() []string
- func PossibleValuesForSecurityRuleProtocol() []string
- func PossibleValuesForSeverity() []string
- func PossibleValuesForVerbosityLevel() []string
- func ValidateNetworkWatcherID(input interface{}, key string) (warnings []string, errors []error)
- type Access
- type ApplicationSecurityGroup
- type ApplicationSecurityGroupPropertiesFormat
- type AssociationType
- type AvailableProvidersList
- type AvailableProvidersListCity
- type AvailableProvidersListCountry
- type AvailableProvidersListParameters
- type AvailableProvidersListState
- type AzureReachabilityReport
- type AzureReachabilityReportItem
- type AzureReachabilityReportLatencyInfo
- type AzureReachabilityReportLocation
- type AzureReachabilityReportParameters
- func (o *AzureReachabilityReportParameters) GetEndTimeAsTime() (*time.Time, error)
- func (o *AzureReachabilityReportParameters) GetStartTimeAsTime() (*time.Time, error)
- func (o *AzureReachabilityReportParameters) SetEndTimeAsTime(input time.Time)
- func (o *AzureReachabilityReportParameters) SetStartTimeAsTime(input time.Time)
- type CheckConnectivityOperationResponse
- type ConnectionStatus
- type ConnectivityDestination
- type ConnectivityHop
- type ConnectivityInformation
- type ConnectivityIssue
- type ConnectivityParameters
- type ConnectivitySource
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Direction
- type EffectiveNetworkSecurityRule
- type EffectiveSecurityRuleProtocol
- type EvaluatedNetworkSecurityGroup
- type FlowLogFormatParameters
- type FlowLogFormatType
- type FlowLogInformation
- type FlowLogProperties
- type FlowLogStatusParameters
- type GetAzureReachabilityReportOperationResponse
- type GetFlowLogStatusOperationResponse
- type GetNetworkConfigurationDiagnosticOperationResponse
- type GetNextHopOperationResponse
- type GetOperationResponse
- type GetTopologyOperationResponse
- type GetTroubleshootingOperationResponse
- type GetTroubleshootingResultOperationResponse
- type GetVMSecurityRulesOperationResponse
- type HTTPConfiguration
- type HTTPHeader
- type HTTPMethod
- type HopLink
- type HopLinkProperties
- type IPFlowProtocol
- type IPVersion
- type IssueType
- type ListAllOperationResponse
- type ListAvailableProvidersOperationResponse
- type ListOperationResponse
- type MatchedRule
- type NetworkConfigurationDiagnosticParameters
- type NetworkConfigurationDiagnosticProfile
- type NetworkConfigurationDiagnosticResponse
- type NetworkConfigurationDiagnosticResult
- type NetworkInterfaceAssociation
- type NetworkSecurityGroupResult
- type NetworkSecurityRulesEvaluationResult
- type NetworkWatcher
- type NetworkWatcherId
- type NetworkWatcherListResult
- type NetworkWatcherPropertiesFormat
- type NetworkWatchersClient
- func (c NetworkWatchersClient) CheckConnectivity(ctx context.Context, id NetworkWatcherId, input ConnectivityParameters) (result CheckConnectivityOperationResponse, err error)
- func (c NetworkWatchersClient) CheckConnectivityThenPoll(ctx context.Context, id NetworkWatcherId, input ConnectivityParameters) error
- func (c NetworkWatchersClient) CreateOrUpdate(ctx context.Context, id NetworkWatcherId, input NetworkWatcher) (result CreateOrUpdateOperationResponse, err error)
- func (c NetworkWatchersClient) Delete(ctx context.Context, id NetworkWatcherId) (result DeleteOperationResponse, err error)
- func (c NetworkWatchersClient) DeleteThenPoll(ctx context.Context, id NetworkWatcherId) error
- func (c NetworkWatchersClient) Get(ctx context.Context, id NetworkWatcherId) (result GetOperationResponse, err error)
- func (c NetworkWatchersClient) GetAzureReachabilityReport(ctx context.Context, id NetworkWatcherId, ...) (result GetAzureReachabilityReportOperationResponse, err error)
- func (c NetworkWatchersClient) GetAzureReachabilityReportThenPoll(ctx context.Context, id NetworkWatcherId, ...) error
- func (c NetworkWatchersClient) GetFlowLogStatus(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) (result GetFlowLogStatusOperationResponse, err error)
- func (c NetworkWatchersClient) GetFlowLogStatusThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) error
- func (c NetworkWatchersClient) GetNetworkConfigurationDiagnostic(ctx context.Context, id NetworkWatcherId, ...) (result GetNetworkConfigurationDiagnosticOperationResponse, err error)
- func (c NetworkWatchersClient) GetNetworkConfigurationDiagnosticThenPoll(ctx context.Context, id NetworkWatcherId, ...) error
- func (c NetworkWatchersClient) GetNextHop(ctx context.Context, id NetworkWatcherId, input NextHopParameters) (result GetNextHopOperationResponse, err error)
- func (c NetworkWatchersClient) GetNextHopThenPoll(ctx context.Context, id NetworkWatcherId, input NextHopParameters) error
- func (c NetworkWatchersClient) GetTopology(ctx context.Context, id NetworkWatcherId, input TopologyParameters) (result GetTopologyOperationResponse, err error)
- func (c NetworkWatchersClient) GetTroubleshooting(ctx context.Context, id NetworkWatcherId, input TroubleshootingParameters) (result GetTroubleshootingOperationResponse, err error)
- func (c NetworkWatchersClient) GetTroubleshootingResult(ctx context.Context, id NetworkWatcherId, input QueryTroubleshootingParameters) (result GetTroubleshootingResultOperationResponse, err error)
- func (c NetworkWatchersClient) GetTroubleshootingResultThenPoll(ctx context.Context, id NetworkWatcherId, input QueryTroubleshootingParameters) error
- func (c NetworkWatchersClient) GetTroubleshootingThenPoll(ctx context.Context, id NetworkWatcherId, input TroubleshootingParameters) error
- func (c NetworkWatchersClient) GetVMSecurityRules(ctx context.Context, id NetworkWatcherId, input SecurityGroupViewParameters) (result GetVMSecurityRulesOperationResponse, err error)
- func (c NetworkWatchersClient) GetVMSecurityRulesThenPoll(ctx context.Context, id NetworkWatcherId, input SecurityGroupViewParameters) error
- func (c NetworkWatchersClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c NetworkWatchersClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c NetworkWatchersClient) ListAvailableProviders(ctx context.Context, id NetworkWatcherId, ...) (result ListAvailableProvidersOperationResponse, err error)
- func (c NetworkWatchersClient) ListAvailableProvidersThenPoll(ctx context.Context, id NetworkWatcherId, ...) error
- func (c NetworkWatchersClient) SetFlowLogConfiguration(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) (result SetFlowLogConfigurationOperationResponse, err error)
- func (c NetworkWatchersClient) SetFlowLogConfigurationThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) error
- func (c NetworkWatchersClient) UpdateTags(ctx context.Context, id NetworkWatcherId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- func (c NetworkWatchersClient) VerifyIPFlow(ctx context.Context, id NetworkWatcherId, input VerificationIPFlowParameters) (result VerifyIPFlowOperationResponse, err error)
- func (c NetworkWatchersClient) VerifyIPFlowThenPoll(ctx context.Context, id NetworkWatcherId, input VerificationIPFlowParameters) error
- type NextHopParameters
- type NextHopResult
- type NextHopType
- type Origin
- type Protocol
- type ProtocolConfiguration
- type ProvisioningState
- type QueryTroubleshootingParameters
- type RetentionPolicyParameters
- type SecurityGroupNetworkInterface
- type SecurityGroupViewParameters
- type SecurityGroupViewResult
- type SecurityRule
- type SecurityRuleAccess
- type SecurityRuleAssociations
- type SecurityRuleDirection
- type SecurityRulePropertiesFormat
- type SecurityRuleProtocol
- type SetFlowLogConfigurationOperationResponse
- type Severity
- type SubResource
- type SubnetAssociation
- type TagsObject
- type Topology
- type TopologyAssociation
- type TopologyParameters
- type TopologyResource
- type TrafficAnalyticsConfigurationProperties
- type TrafficAnalyticsProperties
- type TroubleshootingDetails
- type TroubleshootingParameters
- type TroubleshootingProperties
- type TroubleshootingRecommendedActions
- type TroubleshootingResult
- type UpdateTagsOperationResponse
- type VerbosityLevel
- type VerificationIPFlowParameters
- type VerificationIPFlowResult
- type VerifyIPFlowOperationResponse
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 ¶
ValidateNetworkWatcherID checks that 'input' can be parsed as a Network Watcher ID
Types ¶
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 AvailableProvidersListCountry ¶
type AvailableProvidersListCountry struct { CountryName *string `json:"countryName,omitempty"` Providers *[]string `json:"providers,omitempty"` States *[]AvailableProvidersListState `json:"states,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 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 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 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 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkWatcher }
type DeleteOperationResponse ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkWatcher }
type HTTPConfiguration ¶
type HTTPConfiguration struct { Headers *[]HTTPHeader `json:"headers,omitempty"` Method *HTTPMethod `json:"method,omitempty"` ValidStatusCodes *[]int64 `json:"validStatusCodes,omitempty"` }
type HTTPHeader ¶
type HTTPMethod ¶
type HTTPMethod string
const (
HTTPMethodGet HTTPMethod = "Get"
)
func (*HTTPMethod) UnmarshalJSON ¶
func (s *HTTPMethod) UnmarshalJSON(bytes []byte) error
type HopLink ¶
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 IPFlowProtocol ¶
type IPFlowProtocol string
const ( IPFlowProtocolTCP IPFlowProtocol = "TCP" IPFlowProtocolUDP IPFlowProtocol = "UDP" )
func (*IPFlowProtocol) UnmarshalJSON ¶
func (s *IPFlowProtocol) 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 ¶
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkWatcherListResult }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkWatcherListResult }
type MatchedRule ¶
type NetworkConfigurationDiagnosticParameters ¶
type NetworkConfigurationDiagnosticParameters struct { Profiles []NetworkConfigurationDiagnosticProfile `json:"profiles"` TargetResourceId string `json:"targetResourceId"` VerbosityLevel *VerbosityLevel `json:"verbosityLevel,omitempty"` }
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) 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 ¶
func (c NetworkWatchersClient) CheckConnectivity(ctx context.Context, id NetworkWatcherId, input ConnectivityParameters) (result CheckConnectivityOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) CreateOrUpdate(ctx context.Context, id NetworkWatcherId, input NetworkWatcher) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NetworkWatchersClient) Delete ¶
func (c NetworkWatchersClient) Delete(ctx context.Context, id NetworkWatcherId) (result DeleteOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) Get(ctx context.Context, id NetworkWatcherId) (result GetOperationResponse, err error)
Get ...
func (NetworkWatchersClient) GetAzureReachabilityReport ¶
func (c NetworkWatchersClient) GetAzureReachabilityReport(ctx context.Context, id NetworkWatcherId, input AzureReachabilityReportParameters) (result GetAzureReachabilityReportOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) GetFlowLogStatus(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) (result GetFlowLogStatusOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) GetNetworkConfigurationDiagnostic(ctx context.Context, id NetworkWatcherId, input NetworkConfigurationDiagnosticParameters) (result GetNetworkConfigurationDiagnosticOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) GetNextHop(ctx context.Context, id NetworkWatcherId, input NextHopParameters) (result GetNextHopOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) GetTopology(ctx context.Context, id NetworkWatcherId, input TopologyParameters) (result GetTopologyOperationResponse, err error)
GetTopology ...
func (NetworkWatchersClient) GetTroubleshooting ¶
func (c NetworkWatchersClient) GetTroubleshooting(ctx context.Context, id NetworkWatcherId, input TroubleshootingParameters) (result GetTroubleshootingOperationResponse, err error)
GetTroubleshooting ...
func (NetworkWatchersClient) GetTroubleshootingResult ¶
func (c NetworkWatchersClient) GetTroubleshootingResult(ctx context.Context, id NetworkWatcherId, input QueryTroubleshootingParameters) (result GetTroubleshootingResultOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) GetVMSecurityRules(ctx context.Context, id NetworkWatcherId, input SecurityGroupViewParameters) (result GetVMSecurityRulesOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (NetworkWatchersClient) ListAll ¶
func (c NetworkWatchersClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (NetworkWatchersClient) ListAvailableProviders ¶
func (c NetworkWatchersClient) ListAvailableProviders(ctx context.Context, id NetworkWatcherId, input AvailableProvidersListParameters) (result ListAvailableProvidersOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) SetFlowLogConfiguration(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) (result SetFlowLogConfigurationOperationResponse, err error)
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 ¶
func (c NetworkWatchersClient) UpdateTags(ctx context.Context, id NetworkWatcherId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
func (NetworkWatchersClient) VerifyIPFlow ¶
func (c NetworkWatchersClient) VerifyIPFlow(ctx context.Context, id NetworkWatcherId, input VerificationIPFlowParameters) (result VerifyIPFlowOperationResponse, err error)
VerifyIPFlow ...
func (NetworkWatchersClient) VerifyIPFlowThenPoll ¶
func (c NetworkWatchersClient) VerifyIPFlowThenPoll(ctx context.Context, id NetworkWatcherId, input VerificationIPFlowParameters) error
VerifyIPFlowThenPoll performs VerifyIPFlow then polls until it's completed
type NextHopParameters ¶
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 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 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"` 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 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 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 (*Topology) GetLastModifiedAsTime ¶
func (*Topology) SetCreatedDateTimeAsTime ¶
func (*Topology) SetLastModifiedAsTime ¶
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 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"` }
Source Files ¶
- client.go
- constants.go
- id_networkwatcher.go
- method_checkconnectivity.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getazurereachabilityreport.go
- method_getflowlogstatus.go
- method_getnetworkconfigurationdiagnostic.go
- method_getnexthop.go
- method_gettopology.go
- method_gettroubleshooting.go
- method_gettroubleshootingresult.go
- method_getvmsecurityrules.go
- method_list.go
- method_listall.go
- method_listavailableproviders.go
- method_setflowlogconfiguration.go
- method_updatetags.go
- method_verifyipflow.go
- model_applicationsecuritygroup.go
- model_applicationsecuritygrouppropertiesformat.go
- model_availableproviderslist.go
- model_availableproviderslistcity.go
- model_availableproviderslistcountry.go
- model_availableproviderslistparameters.go
- model_availableprovidersliststate.go
- model_azurereachabilityreport.go
- model_azurereachabilityreportitem.go
- model_azurereachabilityreportlatencyinfo.go
- model_azurereachabilityreportlocation.go
- model_azurereachabilityreportparameters.go
- model_connectivitydestination.go
- model_connectivityhop.go
- model_connectivityinformation.go
- model_connectivityissue.go
- model_connectivityparameters.go
- model_connectivitysource.go
- model_effectivenetworksecurityrule.go
- model_evaluatednetworksecuritygroup.go
- model_flowlogformatparameters.go
- model_flowloginformation.go
- model_flowlogproperties.go
- model_flowlogstatusparameters.go
- model_hoplink.go
- model_hoplinkproperties.go
- model_httpconfiguration.go
- model_httpheader.go
- model_matchedrule.go
- model_networkconfigurationdiagnosticparameters.go
- model_networkconfigurationdiagnosticprofile.go
- model_networkconfigurationdiagnosticresponse.go
- model_networkconfigurationdiagnosticresult.go
- model_networkinterfaceassociation.go
- model_networksecuritygroupresult.go
- model_networksecurityrulesevaluationresult.go
- model_networkwatcher.go
- model_networkwatcherlistresult.go
- model_networkwatcherpropertiesformat.go
- model_nexthopparameters.go
- model_nexthopresult.go
- model_protocolconfiguration.go
- model_querytroubleshootingparameters.go
- model_retentionpolicyparameters.go
- model_securitygroupnetworkinterface.go
- model_securitygroupviewparameters.go
- model_securitygroupviewresult.go
- model_securityrule.go
- model_securityruleassociations.go
- model_securityrulepropertiesformat.go
- model_subnetassociation.go
- model_subresource.go
- model_tagsobject.go
- model_topology.go
- model_topologyassociation.go
- model_topologyparameters.go
- model_topologyresource.go
- model_trafficanalyticsconfigurationproperties.go
- model_trafficanalyticsproperties.go
- model_troubleshootingdetails.go
- model_troubleshootingparameters.go
- model_troubleshootingproperties.go
- model_troubleshootingrecommendedactions.go
- model_troubleshootingresult.go
- model_verificationipflowparameters.go
- model_verificationipflowresult.go
- version.go