Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 string + const AccessAllow + const AccessDeny + func (s *Access) UnmarshalJSON(bytes []byte) error + type ApplicationSecurityGroup struct + Etag *string + Id *string + Location *string + Name *string + Properties *ApplicationSecurityGroupPropertiesFormat + Tags *map[string]string + Type *string + type ApplicationSecurityGroupPropertiesFormat struct + ProvisioningState *ProvisioningState + ResourceGuid *string + type AssociationType string + const AssociationTypeAssociated + const AssociationTypeContains + func (s *AssociationType) UnmarshalJSON(bytes []byte) error + type AvailableProvidersList struct + Countries []AvailableProvidersListCountry + type AvailableProvidersListCity struct + CityName *string + Providers *[]string + type AvailableProvidersListCountry struct + CountryName *string + Providers *[]string + States *[]AvailableProvidersListState + type AvailableProvidersListParameters struct + AzureLocations *[]string + City *string + Country *string + State *string + type AvailableProvidersListState struct + Cities *[]AvailableProvidersListCity + Providers *[]string + StateName *string + type AzureReachabilityReport struct + AggregationLevel string + ProviderLocation AzureReachabilityReportLocation + ReachabilityReport []AzureReachabilityReportItem + type AzureReachabilityReportItem struct + AzureLocation *string + Latencies *[]AzureReachabilityReportLatencyInfo + Provider *string + type AzureReachabilityReportLatencyInfo struct + Score *int64 + TimeStamp *string + func (o *AzureReachabilityReportLatencyInfo) GetTimeStampAsTime() (*time.Time, error) + func (o *AzureReachabilityReportLatencyInfo) SetTimeStampAsTime(input time.Time) + type AzureReachabilityReportLocation struct + City *string + Country string + State *string + type AzureReachabilityReportParameters struct + AzureLocations *[]string + EndTime string + ProviderLocation AzureReachabilityReportLocation + Providers *[]string + StartTime string + 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 struct + HttpResponse *http.Response + Model *ConnectivityInformation + OData *odata.OData + Poller pollers.Poller + type ConnectionStatus string + const ConnectionStatusConnected + const ConnectionStatusDegraded + const ConnectionStatusDisconnected + const ConnectionStatusUnknown + func (s *ConnectionStatus) UnmarshalJSON(bytes []byte) error + type ConnectivityDestination struct + Address *string + Port *int64 + ResourceId *string + type ConnectivityHop struct + Address *string + Id *string + Issues *[]ConnectivityIssue + Links *[]HopLink + NextHopIds *[]string + PreviousHopIds *[]string + PreviousLinks *[]HopLink + ResourceId *string + Type *string + type ConnectivityInformation struct + AvgLatencyInMs *int64 + ConnectionStatus *ConnectionStatus + Hops *[]ConnectivityHop + MaxLatencyInMs *int64 + MinLatencyInMs *int64 + ProbesFailed *int64 + ProbesSent *int64 + type ConnectivityIssue struct + Context *[]map[string]string + Origin *Origin + Severity *Severity + Type *IssueType + type ConnectivityParameters struct + Destination ConnectivityDestination + PreferredIPVersion *IPVersion + Protocol *Protocol + ProtocolConfiguration *ProtocolConfiguration + Source ConnectivitySource + type ConnectivitySource struct + Port *int64 + ResourceId string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *NetworkWatcher + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type Direction string + const DirectionInbound + const DirectionOutbound + func (s *Direction) UnmarshalJSON(bytes []byte) error + type EffectiveNetworkSecurityRule struct + Access *SecurityRuleAccess + DestinationAddressPrefix *string + DestinationAddressPrefixes *[]string + DestinationPortRange *string + DestinationPortRanges *[]string + Direction *SecurityRuleDirection + ExpandedDestinationAddressPrefix *[]string + ExpandedSourceAddressPrefix *[]string + Name *string + Priority *int64 + Protocol *EffectiveSecurityRuleProtocol + SourceAddressPrefix *string + SourceAddressPrefixes *[]string + SourcePortRange *string + SourcePortRanges *[]string + type EffectiveSecurityRuleProtocol string + const EffectiveSecurityRuleProtocolAll + const EffectiveSecurityRuleProtocolTcp + const EffectiveSecurityRuleProtocolUdp + func (s *EffectiveSecurityRuleProtocol) UnmarshalJSON(bytes []byte) error + type EvaluatedNetworkSecurityGroup struct + AppliedTo *string + MatchedRule *MatchedRule + NetworkSecurityGroupId *string + RulesEvaluationResult *[]NetworkSecurityRulesEvaluationResult + type FlowLogFormatParameters struct + Type *FlowLogFormatType + Version *int64 + type FlowLogFormatType string + const FlowLogFormatTypeJSON + func (s *FlowLogFormatType) UnmarshalJSON(bytes []byte) error + type FlowLogInformation struct + FlowAnalyticsConfiguration *TrafficAnalyticsProperties + Properties FlowLogProperties + TargetResourceId string + type FlowLogProperties struct + Enabled bool + Format *FlowLogFormatParameters + RetentionPolicy *RetentionPolicyParameters + StorageId string + type FlowLogStatusParameters struct + TargetResourceId string + type GetAzureReachabilityReportOperationResponse struct + HttpResponse *http.Response + Model *AzureReachabilityReport + OData *odata.OData + Poller pollers.Poller + type GetFlowLogStatusOperationResponse struct + HttpResponse *http.Response + Model *FlowLogInformation + OData *odata.OData + Poller pollers.Poller + type GetNetworkConfigurationDiagnosticOperationResponse struct + HttpResponse *http.Response + Model *NetworkConfigurationDiagnosticResponse + OData *odata.OData + Poller pollers.Poller + type GetNextHopOperationResponse struct + HttpResponse *http.Response + Model *NextHopResult + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *NetworkWatcher + OData *odata.OData + type GetTopologyOperationResponse struct + HttpResponse *http.Response + Model *Topology + OData *odata.OData + type GetTroubleshootingOperationResponse struct + HttpResponse *http.Response + Model *TroubleshootingResult + OData *odata.OData + Poller pollers.Poller + type GetTroubleshootingResultOperationResponse struct + HttpResponse *http.Response + Model *TroubleshootingResult + OData *odata.OData + Poller pollers.Poller + type GetVMSecurityRulesOperationResponse struct + HttpResponse *http.Response + Model *SecurityGroupViewResult + OData *odata.OData + Poller pollers.Poller + type HTTPConfiguration struct + Headers *[]HTTPHeader + Method *HTTPMethod + ValidStatusCodes *[]int64 + type HTTPHeader struct + Name *string + Value *string + type HTTPMethod string + const HTTPMethodGet + func (s *HTTPMethod) UnmarshalJSON(bytes []byte) error + type HopLink struct + Context *map[string]string + Issues *[]ConnectivityIssue + LinkType *string + NextHopId *string + Properties *HopLinkProperties + ResourceId *string + type HopLinkProperties struct + RoundTripTimeAvg *int64 + RoundTripTimeMax *int64 + RoundTripTimeMin *int64 + type IPFlowProtocol string + const IPFlowProtocolTCP + const IPFlowProtocolUDP + func (s *IPFlowProtocol) UnmarshalJSON(bytes []byte) error + type IPVersion string + const IPVersionIPvFour + const IPVersionIPvSix + func (s *IPVersion) UnmarshalJSON(bytes []byte) error + type IssueType string + const IssueTypeAgentStopped + const IssueTypeDnsResolution + const IssueTypeGuestFirewall + const IssueTypeNetworkSecurityRule + const IssueTypePlatform + const IssueTypePortThrottled + const IssueTypeSocketBind + const IssueTypeUnknown + const IssueTypeUserDefinedRoute + func (s *IssueType) UnmarshalJSON(bytes []byte) error + type ListAllOperationResponse struct + HttpResponse *http.Response + Model *NetworkWatcherListResult + OData *odata.OData + type ListAvailableProvidersOperationResponse struct + HttpResponse *http.Response + Model *AvailableProvidersList + OData *odata.OData + Poller pollers.Poller + type ListOperationResponse struct + HttpResponse *http.Response + Model *NetworkWatcherListResult + OData *odata.OData + type MatchedRule struct + Action *string + RuleName *string + type NetworkConfigurationDiagnosticParameters struct + Profiles []NetworkConfigurationDiagnosticProfile + TargetResourceId string + VerbosityLevel *VerbosityLevel + type NetworkConfigurationDiagnosticProfile struct + Destination string + DestinationPort string + Direction Direction + Protocol string + Source string + type NetworkConfigurationDiagnosticResponse struct + Results *[]NetworkConfigurationDiagnosticResult + type NetworkConfigurationDiagnosticResult struct + NetworkSecurityGroupResult *NetworkSecurityGroupResult + Profile *NetworkConfigurationDiagnosticProfile + type NetworkInterfaceAssociation struct + Id *string + SecurityRules *[]SecurityRule + type NetworkSecurityGroupResult struct + EvaluatedNetworkSecurityGroups *[]EvaluatedNetworkSecurityGroup + SecurityRuleAccessResult *SecurityRuleAccess + type NetworkSecurityRulesEvaluationResult struct + DestinationMatched *bool + DestinationPortMatched *bool + Name *string + ProtocolMatched *bool + SourceMatched *bool + SourcePortMatched *bool + type NetworkWatcher struct + Etag *string + Id *string + Location *string + Name *string + Properties *NetworkWatcherPropertiesFormat + Tags *map[string]string + Type *string + type NetworkWatcherId struct + NetworkWatcherName string + ResourceGroupName string + SubscriptionId string + func NewNetworkWatcherID(subscriptionId string, resourceGroupName string, networkWatcherName string) NetworkWatcherId + func ParseNetworkWatcherID(input string) (*NetworkWatcherId, error) + func ParseNetworkWatcherIDInsensitively(input string) (*NetworkWatcherId, error) + func (id *NetworkWatcherId) FromParseResult(input resourceids.ParseResult) error + func (id NetworkWatcherId) ID() string + func (id NetworkWatcherId) Segments() []resourceids.Segment + func (id NetworkWatcherId) String() string + type NetworkWatcherListResult struct + Value *[]NetworkWatcher + type NetworkWatcherPropertiesFormat struct + ProvisioningState *ProvisioningState + type NetworkWatchersClient struct + Client *resourcemanager.Client + func NewNetworkWatchersClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkWatchersClient, error) + 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 struct + DestinationIPAddress string + SourceIPAddress string + TargetNicResourceId *string + TargetResourceId string + type NextHopResult struct + NextHopIPAddress *string + NextHopType *NextHopType + RouteTableId *string + type NextHopType string + const NextHopTypeHyperNetGateway + const NextHopTypeInternet + const NextHopTypeNone + const NextHopTypeVirtualAppliance + const NextHopTypeVirtualNetworkGateway + const NextHopTypeVnetLocal + func (s *NextHopType) UnmarshalJSON(bytes []byte) error + type Origin string + const OriginInbound + const OriginLocal + const OriginOutbound + func (s *Origin) UnmarshalJSON(bytes []byte) error + type Protocol string + const ProtocolHTTP + const ProtocolHTTPS + const ProtocolIcmp + const ProtocolTcp + func (s *Protocol) UnmarshalJSON(bytes []byte) error + type ProtocolConfiguration struct + HTTPConfiguration *HTTPConfiguration + type ProvisioningState string + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type QueryTroubleshootingParameters struct + TargetResourceId string + type RetentionPolicyParameters struct + Days *int64 + Enabled *bool + type SecurityGroupNetworkInterface struct + Id *string + SecurityRuleAssociations *SecurityRuleAssociations + type SecurityGroupViewParameters struct + TargetResourceId string + type SecurityGroupViewResult struct + NetworkInterfaces *[]SecurityGroupNetworkInterface + type SecurityRule struct + Etag *string + Id *string + Name *string + Properties *SecurityRulePropertiesFormat + Type *string + type SecurityRuleAccess string + const SecurityRuleAccessAllow + const SecurityRuleAccessDeny + func (s *SecurityRuleAccess) UnmarshalJSON(bytes []byte) error + type SecurityRuleAssociations struct + DefaultSecurityRules *[]SecurityRule + EffectiveSecurityRules *[]EffectiveNetworkSecurityRule + NetworkInterfaceAssociation *NetworkInterfaceAssociation + SubnetAssociation *SubnetAssociation + type SecurityRuleDirection string + const SecurityRuleDirectionInbound + const SecurityRuleDirectionOutbound + func (s *SecurityRuleDirection) UnmarshalJSON(bytes []byte) error + type SecurityRulePropertiesFormat struct + Access SecurityRuleAccess + Description *string + DestinationAddressPrefix *string + DestinationAddressPrefixes *[]string + DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup + DestinationPortRange *string + DestinationPortRanges *[]string + Direction SecurityRuleDirection + Priority int64 + Protocol SecurityRuleProtocol + ProvisioningState *ProvisioningState + SourceAddressPrefix *string + SourceAddressPrefixes *[]string + SourceApplicationSecurityGroups *[]ApplicationSecurityGroup + SourcePortRange *string + SourcePortRanges *[]string + type SecurityRuleProtocol string + const SecurityRuleProtocolAh + const SecurityRuleProtocolAny + const SecurityRuleProtocolEsp + const SecurityRuleProtocolIcmp + const SecurityRuleProtocolTcp + const SecurityRuleProtocolUdp + func (s *SecurityRuleProtocol) UnmarshalJSON(bytes []byte) error + type SetFlowLogConfigurationOperationResponse struct + HttpResponse *http.Response + Model *FlowLogInformation + OData *odata.OData + Poller pollers.Poller + type Severity string + const SeverityError + const SeverityWarning + func (s *Severity) UnmarshalJSON(bytes []byte) error + type SubResource struct + Id *string + type SubnetAssociation struct + Id *string + SecurityRules *[]SecurityRule + type TagsObject struct + Tags *map[string]string + type Topology struct + CreatedDateTime *string + Id *string + LastModified *string + Resources *[]TopologyResource + func (o *Topology) GetCreatedDateTimeAsTime() (*time.Time, error) + func (o *Topology) GetLastModifiedAsTime() (*time.Time, error) + func (o *Topology) SetCreatedDateTimeAsTime(input time.Time) + func (o *Topology) SetLastModifiedAsTime(input time.Time) + type TopologyAssociation struct + AssociationType *AssociationType + Name *string + ResourceId *string + type TopologyParameters struct + TargetResourceGroupName *string + TargetSubnet *SubResource + TargetVirtualNetwork *SubResource + type TopologyResource struct + Associations *[]TopologyAssociation + Id *string + Location *string + Name *string + type TrafficAnalyticsConfigurationProperties struct + Enabled *bool + TrafficAnalyticsInterval *int64 + WorkspaceId *string + WorkspaceRegion *string + WorkspaceResourceId *string + type TrafficAnalyticsProperties struct + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties + type TroubleshootingDetails struct + Detail *string + Id *string + ReasonType *string + RecommendedActions *[]TroubleshootingRecommendedActions + Summary *string + type TroubleshootingParameters struct + Properties TroubleshootingProperties + TargetResourceId string + type TroubleshootingProperties struct + StorageId string + StoragePath string + type TroubleshootingRecommendedActions struct + ActionId *string + ActionText *string + ActionUri *string + ActionUriText *string + type TroubleshootingResult struct + Code *string + EndTime *string + Results *[]TroubleshootingDetails + StartTime *string + func (o *TroubleshootingResult) GetEndTimeAsTime() (*time.Time, error) + func (o *TroubleshootingResult) GetStartTimeAsTime() (*time.Time, error) + func (o *TroubleshootingResult) SetEndTimeAsTime(input time.Time) + func (o *TroubleshootingResult) SetStartTimeAsTime(input time.Time) + type UpdateTagsOperationResponse struct + HttpResponse *http.Response + Model *NetworkWatcher + OData *odata.OData + type VerbosityLevel string + const VerbosityLevelFull + const VerbosityLevelMinimum + const VerbosityLevelNormal + func (s *VerbosityLevel) UnmarshalJSON(bytes []byte) error + type VerificationIPFlowParameters struct + Direction Direction + LocalIPAddress string + LocalPort string + Protocol IPFlowProtocol + RemoteIPAddress string + RemotePort string + TargetNicResourceId *string + TargetResourceId string + type VerificationIPFlowResult struct + Access *Access + RuleName *string + type VerifyIPFlowOperationResponse struct + HttpResponse *http.Response + Model *VerificationIPFlowResult + OData *odata.OData + Poller pollers.Poller