Documentation ¶
Index ¶
- func PossibleValuesForKnownDataCollectionRuleProvisioningState() []string
- func PossibleValuesForKnownDataCollectionRuleResourceKind() []string
- func PossibleValuesForKnownDataFlowStreams() []string
- func PossibleValuesForKnownExtensionDataSourceStreams() []string
- func PossibleValuesForKnownPerfCounterDataSourceStreams() []string
- func PossibleValuesForKnownSyslogDataSourceFacilityNames() []string
- func PossibleValuesForKnownSyslogDataSourceLogLevels() []string
- func PossibleValuesForKnownSyslogDataSourceStreams() []string
- func PossibleValuesForKnownWindowsEventLogDataSourceStreams() []string
- func ValidateDataCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
- type AzureMonitorMetricsDestination
- type CreateOperationResponse
- type DataCollectionRule
- type DataCollectionRuleId
- type DataCollectionRuleResource
- type DataCollectionRuleResourceOperationPredicate
- type DataCollectionRulesClient
- func (c DataCollectionRulesClient) Create(ctx context.Context, id DataCollectionRuleId, input DataCollectionRuleResource) (result CreateOperationResponse, err error)
- func (c DataCollectionRulesClient) Delete(ctx context.Context, id DataCollectionRuleId) (result DeleteOperationResponse, err error)
- func (c DataCollectionRulesClient) Get(ctx context.Context, id DataCollectionRuleId) (result GetOperationResponse, err error)
- func (c DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c DataCollectionRulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c DataCollectionRulesClient) Update(ctx context.Context, id DataCollectionRuleId, input ResourceForUpdate) (result UpdateOperationResponse, err error)
- type DataFlow
- type DataSourcesSpec
- type DeleteOperationResponse
- type DestinationsSpec
- type ExtensionDataSource
- type GetOperationResponse
- type KnownDataCollectionRuleProvisioningState
- type KnownDataCollectionRuleResourceKind
- type KnownDataFlowStreams
- type KnownExtensionDataSourceStreams
- type KnownPerfCounterDataSourceStreams
- type KnownSyslogDataSourceFacilityNames
- type KnownSyslogDataSourceLogLevels
- type KnownSyslogDataSourceStreams
- type KnownWindowsEventLogDataSourceStreams
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LogAnalyticsDestination
- type PerfCounterDataSource
- type ResourceForUpdate
- type SyslogDataSource
- type UpdateOperationResponse
- type WindowsEventLogDataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKnownDataCollectionRuleProvisioningState ¶
func PossibleValuesForKnownDataCollectionRuleProvisioningState() []string
func PossibleValuesForKnownDataCollectionRuleResourceKind ¶
func PossibleValuesForKnownDataCollectionRuleResourceKind() []string
func PossibleValuesForKnownDataFlowStreams ¶
func PossibleValuesForKnownDataFlowStreams() []string
func PossibleValuesForKnownExtensionDataSourceStreams ¶
func PossibleValuesForKnownExtensionDataSourceStreams() []string
func PossibleValuesForKnownPerfCounterDataSourceStreams ¶
func PossibleValuesForKnownPerfCounterDataSourceStreams() []string
func PossibleValuesForKnownSyslogDataSourceFacilityNames ¶
func PossibleValuesForKnownSyslogDataSourceFacilityNames() []string
func PossibleValuesForKnownSyslogDataSourceLogLevels ¶
func PossibleValuesForKnownSyslogDataSourceLogLevels() []string
func PossibleValuesForKnownSyslogDataSourceStreams ¶
func PossibleValuesForKnownSyslogDataSourceStreams() []string
func PossibleValuesForKnownWindowsEventLogDataSourceStreams ¶
func PossibleValuesForKnownWindowsEventLogDataSourceStreams() []string
func ValidateDataCollectionRuleID ¶
func ValidateDataCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateDataCollectionRuleID checks that 'input' can be parsed as a Data Collection Rule ID
Types ¶
type AzureMonitorMetricsDestination ¶
type AzureMonitorMetricsDestination struct {
Name *string `json:"name,omitempty"`
}
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *DataCollectionRuleResource }
type DataCollectionRule ¶
type DataCollectionRule struct { DataFlows *[]DataFlow `json:"dataFlows,omitempty"` DataSources *DataSourcesSpec `json:"dataSources,omitempty"` Description *string `json:"description,omitempty"` Destinations *DestinationsSpec `json:"destinations,omitempty"` ImmutableId *string `json:"immutableId,omitempty"` ProvisioningState *KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"` }
type DataCollectionRuleId ¶
type DataCollectionRuleId struct { SubscriptionId string ResourceGroupName string DataCollectionRuleName string }
DataCollectionRuleId is a struct representing the Resource ID for a Data Collection Rule
func NewDataCollectionRuleID ¶
func NewDataCollectionRuleID(subscriptionId string, resourceGroupName string, dataCollectionRuleName string) DataCollectionRuleId
NewDataCollectionRuleID returns a new DataCollectionRuleId struct
func ParseDataCollectionRuleID ¶
func ParseDataCollectionRuleID(input string) (*DataCollectionRuleId, error)
ParseDataCollectionRuleID parses 'input' into a DataCollectionRuleId
func ParseDataCollectionRuleIDInsensitively ¶
func ParseDataCollectionRuleIDInsensitively(input string) (*DataCollectionRuleId, error)
ParseDataCollectionRuleIDInsensitively parses 'input' case-insensitively into a DataCollectionRuleId note: this method should only be used for API response data and not user input
func (*DataCollectionRuleId) FromParseResult ¶
func (id *DataCollectionRuleId) FromParseResult(input resourceids.ParseResult) error
func (DataCollectionRuleId) ID ¶
func (id DataCollectionRuleId) ID() string
ID returns the formatted Data Collection Rule ID
func (DataCollectionRuleId) Segments ¶
func (id DataCollectionRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Collection Rule ID
func (DataCollectionRuleId) String ¶
func (id DataCollectionRuleId) String() string
String returns a human-readable description of this Data Collection Rule ID
type DataCollectionRuleResource ¶
type DataCollectionRuleResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind *KnownDataCollectionRuleResourceKind `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DataCollectionRule `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DataCollectionRuleResourceOperationPredicate ¶
type DataCollectionRuleResourceOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (DataCollectionRuleResourceOperationPredicate) Matches ¶
func (p DataCollectionRuleResourceOperationPredicate) Matches(input DataCollectionRuleResource) bool
type DataCollectionRulesClient ¶
type DataCollectionRulesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDataCollectionRulesClientWithBaseURI ¶
func NewDataCollectionRulesClientWithBaseURI(endpoint string) DataCollectionRulesClient
func (DataCollectionRulesClient) Create ¶
func (c DataCollectionRulesClient) Create(ctx context.Context, id DataCollectionRuleId, input DataCollectionRuleResource) (result CreateOperationResponse, err error)
Create ...
func (DataCollectionRulesClient) Delete ¶
func (c DataCollectionRulesClient) Delete(ctx context.Context, id DataCollectionRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (DataCollectionRulesClient) Get ¶
func (c DataCollectionRulesClient) Get(ctx context.Context, id DataCollectionRuleId) (result GetOperationResponse, err error)
Get ...
func (DataCollectionRulesClient) ListByResourceGroup ¶
func (c DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DataCollectionRulesClient) ListByResourceGroupComplete ¶
func (c DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DataCollectionRuleResourceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DataCollectionRulesClient) ListBySubscription ¶
func (c DataCollectionRulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DataCollectionRulesClient) ListBySubscriptionComplete ¶
func (c DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataCollectionRuleResourceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DataCollectionRulesClient) Update ¶
func (c DataCollectionRulesClient) Update(ctx context.Context, id DataCollectionRuleId, input ResourceForUpdate) (result UpdateOperationResponse, err error)
Update ...
type DataFlow ¶
type DataFlow struct { Destinations *[]string `json:"destinations,omitempty"` Streams *[]KnownDataFlowStreams `json:"streams,omitempty"` }
type DataSourcesSpec ¶
type DataSourcesSpec struct { Extensions *[]ExtensionDataSource `json:"extensions,omitempty"` PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"` Syslog *[]SyslogDataSource `json:"syslog,omitempty"` WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"` }
type DeleteOperationResponse ¶
type DestinationsSpec ¶
type DestinationsSpec struct { AzureMonitorMetrics *AzureMonitorMetricsDestination `json:"azureMonitorMetrics,omitempty"` LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"` }
type ExtensionDataSource ¶
type ExtensionDataSource struct { ExtensionName string `json:"extensionName"` ExtensionSettings *interface{} `json:"extensionSettings,omitempty"` InputDataSources *[]string `json:"inputDataSources,omitempty"` Name *string `json:"name,omitempty"` Streams *[]KnownExtensionDataSourceStreams `json:"streams,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DataCollectionRuleResource }
type KnownDataCollectionRuleProvisioningState ¶
type KnownDataCollectionRuleProvisioningState string
const ( KnownDataCollectionRuleProvisioningStateCreating KnownDataCollectionRuleProvisioningState = "Creating" KnownDataCollectionRuleProvisioningStateDeleting KnownDataCollectionRuleProvisioningState = "Deleting" KnownDataCollectionRuleProvisioningStateFailed KnownDataCollectionRuleProvisioningState = "Failed" KnownDataCollectionRuleProvisioningStateSucceeded KnownDataCollectionRuleProvisioningState = "Succeeded" KnownDataCollectionRuleProvisioningStateUpdating KnownDataCollectionRuleProvisioningState = "Updating" )
type KnownDataCollectionRuleResourceKind ¶
type KnownDataCollectionRuleResourceKind string
const ( KnownDataCollectionRuleResourceKindLinux KnownDataCollectionRuleResourceKind = "Linux" KnownDataCollectionRuleResourceKindWindows KnownDataCollectionRuleResourceKind = "Windows" )
type KnownDataFlowStreams ¶
type KnownDataFlowStreams string
const ( KnownDataFlowStreamsMicrosoftNegativeEvent KnownDataFlowStreams = "Microsoft-Event" KnownDataFlowStreamsMicrosoftNegativeInsightsMetrics KnownDataFlowStreams = "Microsoft-InsightsMetrics" KnownDataFlowStreamsMicrosoftNegativePerf KnownDataFlowStreams = "Microsoft-Perf" KnownDataFlowStreamsMicrosoftNegativeSyslog KnownDataFlowStreams = "Microsoft-Syslog" KnownDataFlowStreamsMicrosoftNegativeWindowsEvent KnownDataFlowStreams = "Microsoft-WindowsEvent" )
type KnownExtensionDataSourceStreams ¶
type KnownExtensionDataSourceStreams string
const ( KnownExtensionDataSourceStreamsMicrosoftNegativeEvent KnownExtensionDataSourceStreams = "Microsoft-Event" KnownExtensionDataSourceStreamsMicrosoftNegativeInsightsMetrics KnownExtensionDataSourceStreams = "Microsoft-InsightsMetrics" KnownExtensionDataSourceStreamsMicrosoftNegativePerf KnownExtensionDataSourceStreams = "Microsoft-Perf" KnownExtensionDataSourceStreamsMicrosoftNegativeSyslog KnownExtensionDataSourceStreams = "Microsoft-Syslog" KnownExtensionDataSourceStreamsMicrosoftNegativeWindowsEvent KnownExtensionDataSourceStreams = "Microsoft-WindowsEvent" )
type KnownPerfCounterDataSourceStreams ¶
type KnownPerfCounterDataSourceStreams string
const ( KnownPerfCounterDataSourceStreamsMicrosoftNegativeInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics" KnownPerfCounterDataSourceStreamsMicrosoftNegativePerf KnownPerfCounterDataSourceStreams = "Microsoft-Perf" )
type KnownSyslogDataSourceFacilityNames ¶
type KnownSyslogDataSourceFacilityNames string
const ( KnownSyslogDataSourceFacilityNamesAlert KnownSyslogDataSourceFacilityNames = "alert" KnownSyslogDataSourceFacilityNamesAny KnownSyslogDataSourceFacilityNames = "*" KnownSyslogDataSourceFacilityNamesAudit KnownSyslogDataSourceFacilityNames = "audit" KnownSyslogDataSourceFacilityNamesAuth KnownSyslogDataSourceFacilityNames = "auth" KnownSyslogDataSourceFacilityNamesAuthpriv KnownSyslogDataSourceFacilityNames = "authpriv" KnownSyslogDataSourceFacilityNamesClock KnownSyslogDataSourceFacilityNames = "clock" KnownSyslogDataSourceFacilityNamesCron KnownSyslogDataSourceFacilityNames = "cron" KnownSyslogDataSourceFacilityNamesDaemon KnownSyslogDataSourceFacilityNames = "daemon" KnownSyslogDataSourceFacilityNamesFtp KnownSyslogDataSourceFacilityNames = "ftp" KnownSyslogDataSourceFacilityNamesKern KnownSyslogDataSourceFacilityNames = "kern" KnownSyslogDataSourceFacilityNamesLocalFive KnownSyslogDataSourceFacilityNames = "local5" KnownSyslogDataSourceFacilityNamesLocalFour KnownSyslogDataSourceFacilityNames = "local4" KnownSyslogDataSourceFacilityNamesLocalOne KnownSyslogDataSourceFacilityNames = "local1" KnownSyslogDataSourceFacilityNamesLocalSeven KnownSyslogDataSourceFacilityNames = "local7" KnownSyslogDataSourceFacilityNamesLocalSix KnownSyslogDataSourceFacilityNames = "local6" KnownSyslogDataSourceFacilityNamesLocalThree KnownSyslogDataSourceFacilityNames = "local3" KnownSyslogDataSourceFacilityNamesLocalTwo KnownSyslogDataSourceFacilityNames = "local2" KnownSyslogDataSourceFacilityNamesLocalZero KnownSyslogDataSourceFacilityNames = "local0" KnownSyslogDataSourceFacilityNamesLpr KnownSyslogDataSourceFacilityNames = "lpr" KnownSyslogDataSourceFacilityNamesMail KnownSyslogDataSourceFacilityNames = "mail" KnownSyslogDataSourceFacilityNamesMark KnownSyslogDataSourceFacilityNames = "mark" KnownSyslogDataSourceFacilityNamesNews KnownSyslogDataSourceFacilityNames = "news" KnownSyslogDataSourceFacilityNamesNopri KnownSyslogDataSourceFacilityNames = "nopri" KnownSyslogDataSourceFacilityNamesNtp KnownSyslogDataSourceFacilityNames = "ntp" KnownSyslogDataSourceFacilityNamesSyslog KnownSyslogDataSourceFacilityNames = "syslog" KnownSyslogDataSourceFacilityNamesUser KnownSyslogDataSourceFacilityNames = "user" KnownSyslogDataSourceFacilityNamesUucp KnownSyslogDataSourceFacilityNames = "uucp" )
type KnownSyslogDataSourceLogLevels ¶
type KnownSyslogDataSourceLogLevels string
const ( KnownSyslogDataSourceLogLevelsAlert KnownSyslogDataSourceLogLevels = "Alert" KnownSyslogDataSourceLogLevelsAny KnownSyslogDataSourceLogLevels = "*" KnownSyslogDataSourceLogLevelsCritical KnownSyslogDataSourceLogLevels = "Critical" KnownSyslogDataSourceLogLevelsDebug KnownSyslogDataSourceLogLevels = "Debug" KnownSyslogDataSourceLogLevelsEmergency KnownSyslogDataSourceLogLevels = "Emergency" KnownSyslogDataSourceLogLevelsError KnownSyslogDataSourceLogLevels = "Error" KnownSyslogDataSourceLogLevelsInfo KnownSyslogDataSourceLogLevels = "Info" KnownSyslogDataSourceLogLevelsNotice KnownSyslogDataSourceLogLevels = "Notice" KnownSyslogDataSourceLogLevelsWarning KnownSyslogDataSourceLogLevels = "Warning" )
type KnownSyslogDataSourceStreams ¶
type KnownSyslogDataSourceStreams string
const (
KnownSyslogDataSourceStreamsMicrosoftNegativeSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog"
)
type KnownWindowsEventLogDataSourceStreams ¶
type KnownWindowsEventLogDataSourceStreams string
const ( KnownWindowsEventLogDataSourceStreamsMicrosoftNegativeEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-Event" KnownWindowsEventLogDataSourceStreamsMicrosoftNegativeWindowsEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-WindowsEvent" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []DataCollectionRuleResource
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]DataCollectionRuleResource // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []DataCollectionRuleResource
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]DataCollectionRuleResource // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type LogAnalyticsDestination ¶
type PerfCounterDataSource ¶
type PerfCounterDataSource struct { CounterSpecifiers *[]string `json:"counterSpecifiers,omitempty"` Name *string `json:"name,omitempty"` SamplingFrequencyInSeconds *int64 `json:"samplingFrequencyInSeconds,omitempty"` Streams *[]KnownPerfCounterDataSourceStreams `json:"streams,omitempty"` }
type ResourceForUpdate ¶
type SyslogDataSource ¶
type SyslogDataSource struct { FacilityNames *[]KnownSyslogDataSourceFacilityNames `json:"facilityNames,omitempty"` LogLevels *[]KnownSyslogDataSourceLogLevels `json:"logLevels,omitempty"` Name *string `json:"name,omitempty"` Streams *[]KnownSyslogDataSourceStreams `json:"streams,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *DataCollectionRuleResource }
type WindowsEventLogDataSource ¶
type WindowsEventLogDataSource struct { Name *string `json:"name,omitempty"` Streams *[]KnownWindowsEventLogDataSourceStreams `json:"streams,omitempty"` XPathQueries *[]string `json:"xPathQueries,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_datacollectionrule.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_azuremonitormetricsdestination.go
- model_datacollectionrule.go
- model_datacollectionruleresource.go
- model_dataflow.go
- model_datasourcesspec.go
- model_destinationsspec.go
- model_extensiondatasource.go
- model_loganalyticsdestination.go
- model_perfcounterdatasource.go
- model_resourceforupdate.go
- model_syslogdatasource.go
- model_windowseventlogdatasource.go
- predicates.go
- version.go