datacollectionrules

package
v0.20240112.1095456 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionrules Documentation

The datacollectionrules SDK allows for interaction with the Azure Resource Manager Service insights (API Version 2022-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionrules"

Client Initialization

client := datacollectionrules.NewDataCollectionRulesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DataCollectionRulesClient.Create

ctx := context.TODO()
id := datacollectionrules.NewDataCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dataCollectionRuleValue")

payload := datacollectionrules.DataCollectionRuleResource{
	// ...
}


read, err := client.Create(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataCollectionRulesClient.Delete

ctx := context.TODO()
id := datacollectionrules.NewDataCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dataCollectionRuleValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataCollectionRulesClient.Get

ctx := context.TODO()
id := datacollectionrules.NewDataCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dataCollectionRuleValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataCollectionRulesClient.ListByResourceGroup

ctx := context.TODO()
id := datacollectionrules.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DataCollectionRulesClient.ListBySubscription

ctx := context.TODO()
id := datacollectionrules.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DataCollectionRulesClient.Update

ctx := context.TODO()
id := datacollectionrules.NewDataCollectionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "dataCollectionRuleValue")

payload := datacollectionrules.ResourceForUpdate{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

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
	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 added in v0.20231127.1171502

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

type DataCollectionRulesClient

type DataCollectionRulesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDataCollectionRulesClientWithBaseURI

func NewDataCollectionRulesClientWithBaseURI(endpoint string) DataCollectionRulesClient

func (DataCollectionRulesClient) Create

Create ...

func (DataCollectionRulesClient) Delete

Delete ...

func (DataCollectionRulesClient) Get

Get ...

func (DataCollectionRulesClient) ListByResourceGroup

ListByResourceGroup ...

func (DataCollectionRulesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (DataCollectionRulesClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DataCollectionRulesClient) ListBySubscription

ListBySubscription ...

func (DataCollectionRulesClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (DataCollectionRulesClient) ListBySubscriptionCompleteMatchingPredicate

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DataCollectionRulesClient) Update

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 DeleteOperationResponse struct {
	HttpResponse *http.Response
}

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 EventHubDataSource struct {
	ConsumerGroup *string `json:"consumerGroup,omitempty"`
	Name          *string `json:"name,omitempty"`
	Stream        *string `json:"stream,omitempty"`
}

type EventHubDestination

type EventHubDestination struct {
	EventHubResourceId *string `json:"eventHubResourceId,omitempty"`
	Name               *string `json:"name,omitempty"`
}

type EventHubDirectDestination

type EventHubDirectDestination struct {
	EventHubResourceId *string `json:"eventHubResourceId,omitempty"`
	Name               *string `json:"name,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 IisLogsDataSource

type IisLogsDataSource struct {
	LogDirectories *[]string `json:"logDirectories,omitempty"`
	Name           *string   `json:"name,omitempty"`
	Streams        []string  `json:"streams"`
}

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"
)

type KnownDataCollectionRuleProvisioningState

type KnownDataCollectionRuleProvisioningState string
const (
	KnownDataCollectionRuleProvisioningStateCanceled  KnownDataCollectionRuleProvisioningState = "Canceled"
	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 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"
)

type KnownLogFilesDataSourceFormat

type KnownLogFilesDataSourceFormat string
const (
	KnownLogFilesDataSourceFormatText KnownLogFilesDataSourceFormat = "text"
)

type KnownPerfCounterDataSourceStreams

type KnownPerfCounterDataSourceStreams string
const (
	KnownPerfCounterDataSourceStreamsMicrosoftNegativeInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics"
	KnownPerfCounterDataSourceStreamsMicrosoftNegativePerf            KnownPerfCounterDataSourceStreams = "Microsoft-Perf"
)

type KnownPrometheusForwarderDataSourceStreams

type KnownPrometheusForwarderDataSourceStreams string
const (
	KnownPrometheusForwarderDataSourceStreamsMicrosoftNegativePrometheusMetrics KnownPrometheusForwarderDataSourceStreams = "Microsoft-PrometheusMetrics"
)

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 (ListByResourceGroupOperationResponse) LoadMore

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 (ListBySubscriptionOperationResponse) LoadMore

type LogAnalyticsDestination

type LogAnalyticsDestination struct {
	Name                *string `json:"name,omitempty"`
	WorkspaceId         *string `json:"workspaceId,omitempty"`
	WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"`
}

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 Metadata

type Metadata struct {
	ProvisionedBy           *string `json:"provisionedBy,omitempty"`
	ProvisionedByResourceId *string `json:"provisionedByResourceId,omitempty"`
}

type MonitoringAccountDestination

type MonitoringAccountDestination struct {
	AccountId         *string `json:"accountId,omitempty"`
	AccountResourceId *string `json:"accountResourceId,omitempty"`
	Name              *string `json:"name,omitempty"`
}

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 PlatformTelemetryDataSource

type PlatformTelemetryDataSource struct {
	Name    *string  `json:"name,omitempty"`
	Streams []string `json:"streams"`
}

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 StorageBlobDestination struct {
	ContainerName            *string `json:"containerName,omitempty"`
	Name                     *string `json:"name,omitempty"`
	StorageAccountResourceId *string `json:"storageAccountResourceId,omitempty"`
}

type StorageTableDestination

type StorageTableDestination struct {
	Name                     *string `json:"name,omitempty"`
	StorageAccountResourceId *string `json:"storageAccountResourceId,omitempty"`
	TableName                *string `json:"tableName,omitempty"`
}

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
	Model        *DataCollectionRuleResource
}

type WindowsEventLogDataSource

type WindowsEventLogDataSource struct {
	Name         *string                                  `json:"name,omitempty"`
	Streams      *[]KnownWindowsEventLogDataSourceStreams `json:"streams,omitempty"`
	XPathQueries *[]string                                `json:"xPathQueries,omitempty"`
}

type WindowsFirewallLogsDataSource

type WindowsFirewallLogsDataSource struct {
	Name    *string  `json:"name,omitempty"`
	Streams []string `json:"streams"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL