Documentation ¶
Index ¶
- func PossibleValuesForKnownColumnDefinitionType() []string
- func PossibleValuesForKnownDataCollectionRuleProvisioningState() []string
- func PossibleValuesForKnownDataCollectionRuleResourceKind() []string
- func PossibleValuesForKnownDataFlowStreams() []string
- func PossibleValuesForKnownExtensionDataSourceStreams() []string
- func PossibleValuesForKnownLogFileTextSettingsRecordStartTimestampFormat() []string
- func PossibleValuesForKnownLogFilesDataSourceFormat() []string
- func PossibleValuesForKnownPerfCounterDataSourceStreams() []string
- func PossibleValuesForKnownPrometheusForwarderDataSourceStreams() []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 ColumnDefinition
- 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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DataCollectionRulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DataCollectionRulesClient) Update(ctx context.Context, id DataCollectionRuleId, input ResourceForUpdate) (result UpdateOperationResponse, err error)
- type DataFlow
- type DataImportSources
- type DataSourcesSpec
- type DeleteOperationResponse
- type DestinationsSpec
- type EventHubDataSource
- type EventHubDestination
- type EventHubDirectDestination
- type ExtensionDataSource
- type GetOperationResponse
- type IisLogsDataSource
- type KnownColumnDefinitionType
- type KnownDataCollectionRuleProvisioningState
- type KnownDataCollectionRuleResourceKind
- type KnownDataFlowStreams
- type KnownExtensionDataSourceStreams
- type KnownLogFileTextSettingsRecordStartTimestampFormat
- type KnownLogFilesDataSourceFormat
- type KnownPerfCounterDataSourceStreams
- type KnownPrometheusForwarderDataSourceStreams
- type KnownSyslogDataSourceFacilityNames
- type KnownSyslogDataSourceLogLevels
- type KnownSyslogDataSourceStreams
- type KnownWindowsEventLogDataSourceStreams
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type LogAnalyticsDestination
- type LogFileSettings
- type LogFileTextSettings
- type LogFilesDataSource
- type Metadata
- type MonitoringAccountDestination
- type PerfCounterDataSource
- type PlatformTelemetryDataSource
- type PrometheusForwarderDataSource
- type ResourceForUpdate
- type StorageBlobDestination
- type StorageTableDestination
- type StreamDeclaration
- type SyslogDataSource
- type UpdateOperationResponse
- type WindowsEventLogDataSource
- type WindowsFirewallLogsDataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKnownColumnDefinitionType ¶
func PossibleValuesForKnownColumnDefinitionType() []string
func PossibleValuesForKnownDataCollectionRuleProvisioningState ¶
func PossibleValuesForKnownDataCollectionRuleProvisioningState() []string
func PossibleValuesForKnownDataCollectionRuleResourceKind ¶
func PossibleValuesForKnownDataCollectionRuleResourceKind() []string
func PossibleValuesForKnownDataFlowStreams ¶
func PossibleValuesForKnownDataFlowStreams() []string
func PossibleValuesForKnownExtensionDataSourceStreams ¶
func PossibleValuesForKnownExtensionDataSourceStreams() []string
func PossibleValuesForKnownLogFileTextSettingsRecordStartTimestampFormat ¶
func PossibleValuesForKnownLogFileTextSettingsRecordStartTimestampFormat() []string
func PossibleValuesForKnownLogFilesDataSourceFormat ¶
func PossibleValuesForKnownLogFilesDataSourceFormat() []string
func PossibleValuesForKnownPerfCounterDataSourceStreams ¶
func PossibleValuesForKnownPerfCounterDataSourceStreams() []string
func PossibleValuesForKnownPrometheusForwarderDataSourceStreams ¶
func PossibleValuesForKnownPrometheusForwarderDataSourceStreams() []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 ColumnDefinition ¶
type ColumnDefinition struct { Name *string `json:"name,omitempty"` Type *KnownColumnDefinitionType `json:"type,omitempty"` }
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataCollectionRuleResource }
type DataCollectionRule ¶
type DataCollectionRule struct { DataCollectionEndpointId *string `json:"dataCollectionEndpointId,omitempty"` 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"` Metadata *Metadata `json:"metadata,omitempty"` ProvisioningState *KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"` StreamDeclarations *map[string]StreamDeclaration `json:"streamDeclarations,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"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,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 *resourcemanager.Client
}
func NewDataCollectionRulesClientWithBaseURI ¶
func NewDataCollectionRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*DataCollectionRulesClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DataCollectionRulesClient) ListByResourceGroupComplete ¶
func (c DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DataCollectionRuleResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DataCollectionRulesClient) ListBySubscription ¶
func (c DataCollectionRulesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DataCollectionRulesClient) ListBySubscriptionComplete ¶
func (c DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataCollectionRuleResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 { BuiltInTransform *string `json:"builtInTransform,omitempty"` Destinations *[]string `json:"destinations,omitempty"` OutputStream *string `json:"outputStream,omitempty"` Streams *[]KnownDataFlowStreams `json:"streams,omitempty"` TransformKql *string `json:"transformKql,omitempty"` }
type DataImportSources ¶
type DataImportSources struct {
EventHub *EventHubDataSource `json:"eventHub,omitempty"`
}
type DataSourcesSpec ¶
type DataSourcesSpec struct { DataImports *DataImportSources `json:"dataImports,omitempty"` Extensions *[]ExtensionDataSource `json:"extensions,omitempty"` IisLogs *[]IisLogsDataSource `json:"iisLogs,omitempty"` LogFiles *[]LogFilesDataSource `json:"logFiles,omitempty"` PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"` PlatformTelemetry *[]PlatformTelemetryDataSource `json:"platformTelemetry,omitempty"` PrometheusForwarder *[]PrometheusForwarderDataSource `json:"prometheusForwarder,omitempty"` Syslog *[]SyslogDataSource `json:"syslog,omitempty"` WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"` WindowsFirewallLogs *[]WindowsFirewallLogsDataSource `json:"windowsFirewallLogs,omitempty"` }
type DeleteOperationResponse ¶
type DestinationsSpec ¶
type DestinationsSpec struct { AzureMonitorMetrics *AzureMonitorMetricsDestination `json:"azureMonitorMetrics,omitempty"` EventHubs *[]EventHubDestination `json:"eventHubs,omitempty"` EventHubsDirect *[]EventHubDirectDestination `json:"eventHubsDirect,omitempty"` LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"` MonitoringAccounts *[]MonitoringAccountDestination `json:"monitoringAccounts,omitempty"` StorageAccounts *[]StorageBlobDestination `json:"storageAccounts,omitempty"` StorageBlobsDirect *[]StorageBlobDestination `json:"storageBlobsDirect,omitempty"` StorageTablesDirect *[]StorageTableDestination `json:"storageTablesDirect,omitempty"` }
type EventHubDataSource ¶
type EventHubDestination ¶
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 OData *odata.OData Model *DataCollectionRuleResource }
type IisLogsDataSource ¶
type KnownColumnDefinitionType ¶
type KnownColumnDefinitionType string
const ( KnownColumnDefinitionTypeBoolean KnownColumnDefinitionType = "boolean" KnownColumnDefinitionTypeDatetime KnownColumnDefinitionType = "datetime" KnownColumnDefinitionTypeDynamic KnownColumnDefinitionType = "dynamic" KnownColumnDefinitionTypeInt KnownColumnDefinitionType = "int" KnownColumnDefinitionTypeLong KnownColumnDefinitionType = "long" KnownColumnDefinitionTypeReal KnownColumnDefinitionType = "real" KnownColumnDefinitionTypeString KnownColumnDefinitionType = "string" )
func (*KnownColumnDefinitionType) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownColumnDefinitionType) UnmarshalJSON(bytes []byte) error
type KnownDataCollectionRuleProvisioningState ¶
type KnownDataCollectionRuleProvisioningState string
const ( KnownDataCollectionRuleProvisioningStateCanceled KnownDataCollectionRuleProvisioningState = "Canceled" KnownDataCollectionRuleProvisioningStateCreating KnownDataCollectionRuleProvisioningState = "Creating" KnownDataCollectionRuleProvisioningStateDeleting KnownDataCollectionRuleProvisioningState = "Deleting" KnownDataCollectionRuleProvisioningStateFailed KnownDataCollectionRuleProvisioningState = "Failed" KnownDataCollectionRuleProvisioningStateSucceeded KnownDataCollectionRuleProvisioningState = "Succeeded" KnownDataCollectionRuleProvisioningStateUpdating KnownDataCollectionRuleProvisioningState = "Updating" )
func (*KnownDataCollectionRuleProvisioningState) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownDataCollectionRuleProvisioningState) UnmarshalJSON(bytes []byte) error
type KnownDataCollectionRuleResourceKind ¶
type KnownDataCollectionRuleResourceKind string
const ( KnownDataCollectionRuleResourceKindLinux KnownDataCollectionRuleResourceKind = "Linux" KnownDataCollectionRuleResourceKindWindows KnownDataCollectionRuleResourceKind = "Windows" )
func (*KnownDataCollectionRuleResourceKind) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownDataCollectionRuleResourceKind) UnmarshalJSON(bytes []byte) error
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" )
func (*KnownDataFlowStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownDataFlowStreams) UnmarshalJSON(bytes []byte) error
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" )
func (*KnownExtensionDataSourceStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownExtensionDataSourceStreams) UnmarshalJSON(bytes []byte) error
type KnownLogFileTextSettingsRecordStartTimestampFormat ¶
type KnownLogFileTextSettingsRecordStartTimestampFormat string
const ( KnownLogFileTextSettingsRecordStartTimestampFormatDdMMMYyyyHHMmSsZzz KnownLogFileTextSettingsRecordStartTimestampFormat = "dd/MMM/yyyy:HH:mm:ss zzz" KnownLogFileTextSettingsRecordStartTimestampFormatDdMMyyHHMmSs KnownLogFileTextSettingsRecordStartTimestampFormat = "ddMMyy HH:mm:ss" KnownLogFileTextSettingsRecordStartTimestampFormatISOEightSixZeroOne KnownLogFileTextSettingsRecordStartTimestampFormat = "ISO 8601" KnownLogFileTextSettingsRecordStartTimestampFormatMDYYYYHHMMSSAMPM KnownLogFileTextSettingsRecordStartTimestampFormat = "M/D/YYYY HH:MM:SS AM/PM" KnownLogFileTextSettingsRecordStartTimestampFormatMMMDHhMmSs KnownLogFileTextSettingsRecordStartTimestampFormat = "MMM d hh:mm:ss" KnownLogFileTextSettingsRecordStartTimestampFormatMonDDYYYYHHMMSS KnownLogFileTextSettingsRecordStartTimestampFormat = "Mon DD, YYYY HH:MM:SS" KnownLogFileTextSettingsRecordStartTimestampFormatYYYYNegativeMMNegativeDDHHMMSS KnownLogFileTextSettingsRecordStartTimestampFormat = "YYYY-MM-DD HH:MM:SS" KnownLogFileTextSettingsRecordStartTimestampFormatYyMMddHHMmSs KnownLogFileTextSettingsRecordStartTimestampFormat = "yyMMdd HH:mm:ss" KnownLogFileTextSettingsRecordStartTimestampFormatYyyyNegativeMMNegativeddTHHMmSsK KnownLogFileTextSettingsRecordStartTimestampFormat = "yyyy-MM-ddTHH:mm:ssK" )
func (*KnownLogFileTextSettingsRecordStartTimestampFormat) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownLogFileTextSettingsRecordStartTimestampFormat) UnmarshalJSON(bytes []byte) error
type KnownLogFilesDataSourceFormat ¶
type KnownLogFilesDataSourceFormat string
const (
KnownLogFilesDataSourceFormatText KnownLogFilesDataSourceFormat = "text"
)
func (*KnownLogFilesDataSourceFormat) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownLogFilesDataSourceFormat) UnmarshalJSON(bytes []byte) error
type KnownPerfCounterDataSourceStreams ¶
type KnownPerfCounterDataSourceStreams string
const ( KnownPerfCounterDataSourceStreamsMicrosoftNegativeInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics" KnownPerfCounterDataSourceStreamsMicrosoftNegativePerf KnownPerfCounterDataSourceStreams = "Microsoft-Perf" )
func (*KnownPerfCounterDataSourceStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownPerfCounterDataSourceStreams) UnmarshalJSON(bytes []byte) error
type KnownPrometheusForwarderDataSourceStreams ¶
type KnownPrometheusForwarderDataSourceStreams string
const (
KnownPrometheusForwarderDataSourceStreamsMicrosoftNegativePrometheusMetrics KnownPrometheusForwarderDataSourceStreams = "Microsoft-PrometheusMetrics"
)
func (*KnownPrometheusForwarderDataSourceStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownPrometheusForwarderDataSourceStreams) UnmarshalJSON(bytes []byte) error
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" )
func (*KnownSyslogDataSourceFacilityNames) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownSyslogDataSourceFacilityNames) UnmarshalJSON(bytes []byte) error
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" )
func (*KnownSyslogDataSourceLogLevels) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownSyslogDataSourceLogLevels) UnmarshalJSON(bytes []byte) error
type KnownSyslogDataSourceStreams ¶
type KnownSyslogDataSourceStreams string
const (
KnownSyslogDataSourceStreamsMicrosoftNegativeSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog"
)
func (*KnownSyslogDataSourceStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownSyslogDataSourceStreams) UnmarshalJSON(bytes []byte) error
type KnownWindowsEventLogDataSourceStreams ¶
type KnownWindowsEventLogDataSourceStreams string
const ( KnownWindowsEventLogDataSourceStreamsMicrosoftNegativeEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-Event" KnownWindowsEventLogDataSourceStreamsMicrosoftNegativeWindowsEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-WindowsEvent" )
func (*KnownWindowsEventLogDataSourceStreams) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *KnownWindowsEventLogDataSourceStreams) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []DataCollectionRuleResource }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataCollectionRuleResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []DataCollectionRuleResource }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataCollectionRuleResource }
type LogAnalyticsDestination ¶
type LogFileSettings ¶
type LogFileSettings struct {
Text *LogFileTextSettings `json:"text,omitempty"`
}
type LogFileTextSettings ¶
type LogFileTextSettings struct {
RecordStartTimestampFormat KnownLogFileTextSettingsRecordStartTimestampFormat `json:"recordStartTimestampFormat"`
}
type LogFilesDataSource ¶
type LogFilesDataSource struct { FilePatterns []string `json:"filePatterns"` Format KnownLogFilesDataSourceFormat `json:"format"` Name *string `json:"name,omitempty"` Settings *LogFileSettings `json:"settings,omitempty"` Streams []string `json:"streams"` }
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 PrometheusForwarderDataSource ¶
type PrometheusForwarderDataSource struct { LabelIncludeFilter *map[string]string `json:"labelIncludeFilter,omitempty"` Name *string `json:"name,omitempty"` Streams *[]KnownPrometheusForwarderDataSourceStreams `json:"streams,omitempty"` }
type ResourceForUpdate ¶
type ResourceForUpdate struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type StorageBlobDestination ¶
type StorageTableDestination ¶
type StreamDeclaration ¶
type StreamDeclaration struct {
Columns *[]ColumnDefinition `json:"columns,omitempty"`
}
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 OData *odata.OData 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.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_azuremonitormetricsdestination.go
- model_columndefinition.go
- model_datacollectionrule.go
- model_datacollectionruleresource.go
- model_dataflow.go
- model_dataimportsources.go
- model_datasourcesspec.go
- model_destinationsspec.go
- model_eventhubdatasource.go
- model_eventhubdestination.go
- model_eventhubdirectdestination.go
- model_extensiondatasource.go
- model_iislogsdatasource.go
- model_loganalyticsdestination.go
- model_logfilesdatasource.go
- model_logfilesettings.go
- model_logfiletextsettings.go
- model_metadata.go
- model_monitoringaccountdestination.go
- model_perfcounterdatasource.go
- model_platformtelemetrydatasource.go
- model_prometheusforwarderdatasource.go
- model_resourceforupdate.go
- model_storageblobdestination.go
- model_storagetabledestination.go
- model_streamdeclaration.go
- model_syslogdatasource.go
- model_windowseventlogdatasource.go
- model_windowsfirewalllogsdatasource.go
- predicates.go
- version.go