Documentation ¶
Index ¶
- func PossibleValuesForFlowLogFormatType() []string
- func ValidateNetworkWatcherID(input interface{}, key string) (warnings []string, errors []error)
- type FlowLogFormatParameters
- type FlowLogFormatType
- type FlowLogInformation
- type FlowLogProperties
- type FlowLogStatusParameters
- type NetworkWatcherId
- type NetworkWatchersGetFlowLogStatusOperationResponse
- type NetworkWatchersSetFlowLogConfigurationOperationResponse
- type RetentionPolicyParameters
- type TrafficAnalyticsClient
- func (c TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatus(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) (result NetworkWatchersGetFlowLogStatusOperationResponse, err error)
- func (c TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatusThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) error
- func (c TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfiguration(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) (result NetworkWatchersSetFlowLogConfigurationOperationResponse, err error)
- func (c TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfigurationThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) error
- type TrafficAnalyticsConfigurationProperties
- type TrafficAnalyticsProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFlowLogFormatType ¶
func PossibleValuesForFlowLogFormatType() []string
func ValidateNetworkWatcherID ¶
ValidateNetworkWatcherID checks that 'input' can be parsed as a Network Watcher ID
Types ¶
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 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 TrafficAnalyticsClient ¶
type TrafficAnalyticsClient struct {
Client *resourcemanager.Client
}
func NewTrafficAnalyticsClientWithBaseURI ¶
func NewTrafficAnalyticsClientWithBaseURI(api environments.Api) (*TrafficAnalyticsClient, error)
func (TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatus ¶
func (c TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatus(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) (result NetworkWatchersGetFlowLogStatusOperationResponse, err error)
NetworkWatchersGetFlowLogStatus ...
func (TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatusThenPoll ¶
func (c TrafficAnalyticsClient) NetworkWatchersGetFlowLogStatusThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogStatusParameters) error
NetworkWatchersGetFlowLogStatusThenPoll performs NetworkWatchersGetFlowLogStatus then polls until it's completed
func (TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfiguration ¶
func (c TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfiguration(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) (result NetworkWatchersSetFlowLogConfigurationOperationResponse, err error)
NetworkWatchersSetFlowLogConfiguration ...
func (TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfigurationThenPoll ¶
func (c TrafficAnalyticsClient) NetworkWatchersSetFlowLogConfigurationThenPoll(ctx context.Context, id NetworkWatcherId, input FlowLogInformation) error
NetworkWatchersSetFlowLogConfigurationThenPoll performs NetworkWatchersSetFlowLogConfiguration then polls until it's completed
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"`
}
Source Files ¶
- client.go
- constants.go
- id_networkwatcher.go
- method_networkwatchersgetflowlogstatus.go
- method_networkwatcherssetflowlogconfiguration.go
- model_flowlogformatparameters.go
- model_flowloginformation.go
- model_flowlogproperties.go
- model_flowlogstatusparameters.go
- model_retentionpolicyparameters.go
- model_trafficanalyticsconfigurationproperties.go
- model_trafficanalyticsproperties.go
- version.go