Documentation ¶
Index ¶
- func PossibleValuesForFlowLogFormatType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateFlowLogID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetworkWatcherID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FlowLog
- type FlowLogFormatParameters
- type FlowLogFormatType
- type FlowLogId
- type FlowLogOperationPredicate
- type FlowLogPropertiesFormat
- type FlowLogsClient
- func (c FlowLogsClient) CreateOrUpdate(ctx context.Context, id FlowLogId, input FlowLog) (result CreateOrUpdateOperationResponse, err error)
- func (c FlowLogsClient) CreateOrUpdateThenPoll(ctx context.Context, id FlowLogId, input FlowLog) error
- func (c FlowLogsClient) Delete(ctx context.Context, id FlowLogId) (result DeleteOperationResponse, err error)
- func (c FlowLogsClient) DeleteThenPoll(ctx context.Context, id FlowLogId) error
- func (c FlowLogsClient) Get(ctx context.Context, id FlowLogId) (result GetOperationResponse, err error)
- func (c FlowLogsClient) List(ctx context.Context, id NetworkWatcherId) (result ListOperationResponse, err error)
- func (c FlowLogsClient) ListComplete(ctx context.Context, id NetworkWatcherId) (ListCompleteResult, error)
- func (c FlowLogsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkWatcherId, predicate FlowLogOperationPredicate) (result ListCompleteResult, err error)
- func (c FlowLogsClient) UpdateTags(ctx context.Context, id FlowLogId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NetworkWatcherId
- type ProvisioningState
- type RetentionPolicyParameters
- type TagsObject
- type TrafficAnalyticsConfigurationProperties
- type TrafficAnalyticsProperties
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFlowLogFormatType ¶
func PossibleValuesForFlowLogFormatType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateFlowLogID ¶
ValidateFlowLogID checks that 'input' can be parsed as a Flow Log ID
func ValidateNetworkWatcherID ¶
ValidateNetworkWatcherID checks that 'input' can be parsed as a Network Watcher ID
Types ¶
type DeleteOperationResponse ¶
type FlowLog ¶
type FlowLog struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,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 FlowLogId ¶
type FlowLogId struct { SubscriptionId string ResourceGroupName string NetworkWatcherName string FlowLogName string }
FlowLogId is a struct representing the Resource ID for a Flow Log
func NewFlowLogID ¶
func NewFlowLogID(subscriptionId string, resourceGroupName string, networkWatcherName string, flowLogName string) FlowLogId
NewFlowLogID returns a new FlowLogId struct
func ParseFlowLogID ¶
ParseFlowLogID parses 'input' into a FlowLogId
func ParseFlowLogIDInsensitively ¶
ParseFlowLogIDInsensitively parses 'input' case-insensitively into a FlowLogId note: this method should only be used for API response data and not user input
func (*FlowLogId) FromParseResult ¶
func (id *FlowLogId) FromParseResult(input resourceids.ParseResult) error
func (FlowLogId) Segments ¶
func (id FlowLogId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flow Log ID
type FlowLogOperationPredicate ¶
type FlowLogOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (FlowLogOperationPredicate) Matches ¶
func (p FlowLogOperationPredicate) Matches(input FlowLog) bool
type FlowLogPropertiesFormat ¶
type FlowLogPropertiesFormat struct { Enabled *bool `json:"enabled,omitempty"` FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` Format *FlowLogFormatParameters `json:"format,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` StorageId string `json:"storageId"` TargetResourceGuid *string `json:"targetResourceGuid,omitempty"` TargetResourceId string `json:"targetResourceId"` }
type FlowLogsClient ¶
type FlowLogsClient struct {
Client *resourcemanager.Client
}
func NewFlowLogsClientWithBaseURI ¶
func NewFlowLogsClientWithBaseURI(sdkApi sdkEnv.Api) (*FlowLogsClient, error)
func (FlowLogsClient) CreateOrUpdate ¶
func (c FlowLogsClient) CreateOrUpdate(ctx context.Context, id FlowLogId, input FlowLog) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FlowLogsClient) CreateOrUpdateThenPoll ¶
func (c FlowLogsClient) CreateOrUpdateThenPoll(ctx context.Context, id FlowLogId, input FlowLog) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FlowLogsClient) Delete ¶
func (c FlowLogsClient) Delete(ctx context.Context, id FlowLogId) (result DeleteOperationResponse, err error)
Delete ...
func (FlowLogsClient) DeleteThenPoll ¶
func (c FlowLogsClient) DeleteThenPoll(ctx context.Context, id FlowLogId) error
DeleteThenPoll performs Delete then polls until it's completed
func (FlowLogsClient) Get ¶
func (c FlowLogsClient) Get(ctx context.Context, id FlowLogId) (result GetOperationResponse, err error)
Get ...
func (FlowLogsClient) List ¶
func (c FlowLogsClient) List(ctx context.Context, id NetworkWatcherId) (result ListOperationResponse, err error)
List ...
func (FlowLogsClient) ListComplete ¶
func (c FlowLogsClient) ListComplete(ctx context.Context, id NetworkWatcherId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FlowLogsClient) ListCompleteMatchingPredicate ¶
func (c FlowLogsClient) ListCompleteMatchingPredicate(ctx context.Context, id NetworkWatcherId, predicate FlowLogOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FlowLogsClient) UpdateTags ¶
func (c FlowLogsClient) UpdateTags(ctx context.Context, id FlowLogId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
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 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 TagsObject ¶
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_flowlog.go
- id_networkwatcher.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_updatetags.go
- model_flowlog.go
- model_flowlogformatparameters.go
- model_flowlogpropertiesformat.go
- model_retentionpolicyparameters.go
- model_tagsobject.go
- model_trafficanalyticsconfigurationproperties.go
- model_trafficanalyticsproperties.go
- predicates.go
- version.go