...

Package datacollection

import "github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-09-01-preview/datacollection"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package datacollection implements the Azure ARM Datacollection service API version 2021-09-01-preview.

Monitor Management Client

Index ▾

Constants
func UserAgent() string
func Version() string
type AzureMonitorMetricsDestination
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type ColumnDefinition
type ConfigurationAccessEndpointSpec
    func (caes ConfigurationAccessEndpointSpec) MarshalJSON() ([]byte, error)
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type DataFlow
type DataSourcesSpec
type DestinationsSpec
type DestinationsSpecAzureMonitorMetrics
type Endpoint
    func (e Endpoint) MarshalJSON() ([]byte, error)
type EndpointConfigurationAccess
    func (eA EndpointConfigurationAccess) MarshalJSON() ([]byte, error)
type EndpointLogsIngestion
    func (eI EndpointLogsIngestion) MarshalJSON() ([]byte, error)
type EndpointNetworkAcls
type EndpointResource
    func (er EndpointResource) MarshalJSON() ([]byte, error)
    func (er *EndpointResource) UnmarshalJSON(body []byte) error
type EndpointResourceListResult
    func (erlr EndpointResourceListResult) IsEmpty() bool
type EndpointResourceListResultIterator
    func NewEndpointResourceListResultIterator(page EndpointResourceListResultPage) EndpointResourceListResultIterator
    func (iter *EndpointResourceListResultIterator) Next() error
    func (iter *EndpointResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter EndpointResourceListResultIterator) NotDone() bool
    func (iter EndpointResourceListResultIterator) Response() EndpointResourceListResult
    func (iter EndpointResourceListResultIterator) Value() EndpointResource
type EndpointResourceListResultPage
    func NewEndpointResourceListResultPage(cur EndpointResourceListResult, getNextPage func(context.Context, EndpointResourceListResult) (EndpointResourceListResult, error)) EndpointResourceListResultPage
    func (page *EndpointResourceListResultPage) Next() error
    func (page *EndpointResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page EndpointResourceListResultPage) NotDone() bool
    func (page EndpointResourceListResultPage) Response() EndpointResourceListResult
    func (page EndpointResourceListResultPage) Values() []EndpointResource
type EndpointResourceProperties
    func (er EndpointResourceProperties) MarshalJSON() ([]byte, error)
type EndpointResourceSystemData
type EndpointsClient
    func NewEndpointsClient(subscriptionID string) EndpointsClient
    func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient
    func (client EndpointsClient) Create(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *EndpointResource) (result EndpointResource, err error)
    func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *EndpointResource) (*http.Request, error)
    func (client EndpointsClient) CreateResponder(resp *http.Response) (result EndpointResource, err error)
    func (client EndpointsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result autorest.Response, err error)
    func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)
    func (client EndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client EndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result EndpointResource, err error)
    func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)
    func (client EndpointsClient) GetResponder(resp *http.Response) (result EndpointResource, err error)
    func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client EndpointsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EndpointResourceListResultPage, err error)
    func (client EndpointsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EndpointResourceListResultIterator, err error)
    func (client EndpointsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client EndpointsClient) ListByResourceGroupResponder(resp *http.Response) (result EndpointResourceListResult, err error)
    func (client EndpointsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client EndpointsClient) ListBySubscription(ctx context.Context) (result EndpointResourceListResultPage, err error)
    func (client EndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result EndpointResourceListResultIterator, err error)
    func (client EndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client EndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result EndpointResourceListResult, err error)
    func (client EndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (result EndpointResource, err error)
    func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (*http.Request, error)
    func (client EndpointsClient) UpdateResponder(resp *http.Response) (result EndpointResource, err error)
    func (client EndpointsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ErrorAdditionalInfo
    func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
type ErrorDetail
    func (ed ErrorDetail) MarshalJSON() ([]byte, error)
type ErrorResponseCommonV2
type ExtensionDataSource
type IisLogsDataSource
type KnownColumnDefinitionType
    func PossibleKnownColumnDefinitionTypeValues() []KnownColumnDefinitionType
type KnownDataCollectionEndpointProvisioningState
    func PossibleKnownDataCollectionEndpointProvisioningStateValues() []KnownDataCollectionEndpointProvisioningState
type KnownDataCollectionEndpointResourceKind
    func PossibleKnownDataCollectionEndpointResourceKindValues() []KnownDataCollectionEndpointResourceKind
type KnownDataCollectionRuleAssociationProvisioningState
    func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState
type KnownDataCollectionRuleProvisioningState
    func PossibleKnownDataCollectionRuleProvisioningStateValues() []KnownDataCollectionRuleProvisioningState
type KnownDataCollectionRuleResourceKind
    func PossibleKnownDataCollectionRuleResourceKindValues() []KnownDataCollectionRuleResourceKind
type KnownDataFlowStreams
    func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams
type KnownExtensionDataSourceStreams
    func PossibleKnownExtensionDataSourceStreamsValues() []KnownExtensionDataSourceStreams
type KnownLogFileTextSettingsRecordStartTimestampFormat
    func PossibleKnownLogFileTextSettingsRecordStartTimestampFormatValues() []KnownLogFileTextSettingsRecordStartTimestampFormat
type KnownPerfCounterDataSourceStreams
    func PossibleKnownPerfCounterDataSourceStreamsValues() []KnownPerfCounterDataSourceStreams
type KnownPublicNetworkAccessOptions
    func PossibleKnownPublicNetworkAccessOptionsValues() []KnownPublicNetworkAccessOptions
type KnownSyslogDataSourceFacilityNames
    func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames
type KnownSyslogDataSourceLogLevels
    func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels
type KnownSyslogDataSourceStreams
    func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams
type KnownWindowsEventLogDataSourceStreams
    func PossibleKnownWindowsEventLogDataSourceStreamsValues() []KnownWindowsEventLogDataSourceStreams
type LogAnalyticsDestination
    func (lad LogAnalyticsDestination) MarshalJSON() ([]byte, error)
type LogFileSettings
type LogFileSettingsText
type LogFileTextSettings
type LogFilesDataSource
type LogFilesDataSourceSettings
type LogsIngestionEndpointSpec
    func (lies LogsIngestionEndpointSpec) MarshalJSON() ([]byte, error)
type Metadata
    func (mVar Metadata) MarshalJSON() ([]byte, error)
type NetworkRuleSet
type PerfCounterDataSource
type ResourceForUpdate
    func (rfu ResourceForUpdate) MarshalJSON() ([]byte, error)
type Rule
    func (r Rule) MarshalJSON() ([]byte, error)
type RuleAssociation
    func (ra RuleAssociation) MarshalJSON() ([]byte, error)
type RuleAssociationMetadata
    func (ra RuleAssociationMetadata) MarshalJSON() ([]byte, error)
type RuleAssociationProxyOnlyResource
    func (rapor RuleAssociationProxyOnlyResource) MarshalJSON() ([]byte, error)
    func (rapor *RuleAssociationProxyOnlyResource) UnmarshalJSON(body []byte) error
type RuleAssociationProxyOnlyResourceListResult
    func (raporlr RuleAssociationProxyOnlyResourceListResult) IsEmpty() bool
type RuleAssociationProxyOnlyResourceListResultIterator
    func NewRuleAssociationProxyOnlyResourceListResultIterator(page RuleAssociationProxyOnlyResourceListResultPage) RuleAssociationProxyOnlyResourceListResultIterator
    func (iter *RuleAssociationProxyOnlyResourceListResultIterator) Next() error
    func (iter *RuleAssociationProxyOnlyResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool
    func (iter RuleAssociationProxyOnlyResourceListResultIterator) Response() RuleAssociationProxyOnlyResourceListResult
    func (iter RuleAssociationProxyOnlyResourceListResultIterator) Value() RuleAssociationProxyOnlyResource
type RuleAssociationProxyOnlyResourceListResultPage
    func NewRuleAssociationProxyOnlyResourceListResultPage(cur RuleAssociationProxyOnlyResourceListResult, getNextPage func(context.Context, RuleAssociationProxyOnlyResourceListResult) (RuleAssociationProxyOnlyResourceListResult, error)) RuleAssociationProxyOnlyResourceListResultPage
    func (page *RuleAssociationProxyOnlyResourceListResultPage) Next() error
    func (page *RuleAssociationProxyOnlyResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RuleAssociationProxyOnlyResourceListResultPage) NotDone() bool
    func (page RuleAssociationProxyOnlyResourceListResultPage) Response() RuleAssociationProxyOnlyResourceListResult
    func (page RuleAssociationProxyOnlyResourceListResultPage) Values() []RuleAssociationProxyOnlyResource
type RuleAssociationProxyOnlyResourceProperties
    func (rapor RuleAssociationProxyOnlyResourceProperties) MarshalJSON() ([]byte, error)
type RuleAssociationProxyOnlyResourceSystemData
type RuleAssociationsClient
    func NewRuleAssociationsClient(subscriptionID string) RuleAssociationsClient
    func NewRuleAssociationsClientWithBaseURI(baseURI string, subscriptionID string) RuleAssociationsClient
    func (client RuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, body *RuleAssociationProxyOnlyResource) (result RuleAssociationProxyOnlyResource, err error)
    func (client RuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, body *RuleAssociationProxyOnlyResource) (*http.Request, error)
    func (client RuleAssociationsClient) CreateResponder(resp *http.Response) (result RuleAssociationProxyOnlyResource, err error)
    func (client RuleAssociationsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client RuleAssociationsClient) Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)
    func (client RuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
    func (client RuleAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client RuleAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client RuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result RuleAssociationProxyOnlyResource, err error)
    func (client RuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
    func (client RuleAssociationsClient) GetResponder(resp *http.Response) (result RuleAssociationProxyOnlyResource, err error)
    func (client RuleAssociationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client RuleAssociationsClient) ListByDataCollectionEndpoint(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)
    func (client RuleAssociationsClient) ListByDataCollectionEndpointComplete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)
    func (client RuleAssociationsClient) ListByDataCollectionEndpointPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)
    func (client RuleAssociationsClient) ListByDataCollectionEndpointResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)
    func (client RuleAssociationsClient) ListByDataCollectionEndpointSender(req *http.Request) (*http.Response, error)
    func (client RuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)
    func (client RuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)
    func (client RuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client RuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)
    func (client RuleAssociationsClient) ListByResourceSender(req *http.Request) (*http.Response, error)
    func (client RuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)
    func (client RuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)
    func (client RuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client RuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)
    func (client RuleAssociationsClient) ListByRuleSender(req *http.Request) (*http.Response, error)
type RuleDataSources
type RuleDestinations
type RuleMetadata
    func (r RuleMetadata) MarshalJSON() ([]byte, error)
type RuleResource
    func (rr RuleResource) MarshalJSON() ([]byte, error)
    func (rr *RuleResource) UnmarshalJSON(body []byte) error
type RuleResourceListResult
    func (rrlr RuleResourceListResult) IsEmpty() bool
type RuleResourceListResultIterator
    func NewRuleResourceListResultIterator(page RuleResourceListResultPage) RuleResourceListResultIterator
    func (iter *RuleResourceListResultIterator) Next() error
    func (iter *RuleResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RuleResourceListResultIterator) NotDone() bool
    func (iter RuleResourceListResultIterator) Response() RuleResourceListResult
    func (iter RuleResourceListResultIterator) Value() RuleResource
type RuleResourceListResultPage
    func NewRuleResourceListResultPage(cur RuleResourceListResult, getNextPage func(context.Context, RuleResourceListResult) (RuleResourceListResult, error)) RuleResourceListResultPage
    func (page *RuleResourceListResultPage) Next() error
    func (page *RuleResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RuleResourceListResultPage) NotDone() bool
    func (page RuleResourceListResultPage) Response() RuleResourceListResult
    func (page RuleResourceListResultPage) Values() []RuleResource
type RuleResourceProperties
    func (rr RuleResourceProperties) MarshalJSON() ([]byte, error)
type RuleResourceSystemData
type RulesClient
    func NewRulesClient(subscriptionID string) RulesClient
    func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient
    func (client RulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *RuleResource) (result RuleResource, err error)
    func (client RulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *RuleResource) (*http.Request, error)
    func (client RulesClient) CreateResponder(resp *http.Response) (result RuleResource, err error)
    func (client RulesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client RulesClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)
    func (client RulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client RulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client RulesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client RulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleResource, err error)
    func (client RulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client RulesClient) GetResponder(resp *http.Response) (result RuleResource, err error)
    func (client RulesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client RulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RuleResourceListResultPage, err error)
    func (client RulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RuleResourceListResultIterator, err error)
    func (client RulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client RulesClient) ListByResourceGroupResponder(resp *http.Response) (result RuleResourceListResult, err error)
    func (client RulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client RulesClient) ListBySubscription(ctx context.Context) (result RuleResourceListResultPage, err error)
    func (client RulesClient) ListBySubscriptionComplete(ctx context.Context) (result RuleResourceListResultIterator, err error)
    func (client RulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client RulesClient) ListBySubscriptionResponder(resp *http.Response) (result RuleResourceListResult, err error)
    func (client RulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client RulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (result RuleResource, err error)
    func (client RulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (*http.Request, error)
    func (client RulesClient) UpdateResponder(resp *http.Response) (result RuleResource, err error)
    func (client RulesClient) UpdateSender(req *http.Request) (*http.Response, error)
type StreamDeclaration
type SyslogDataSource
type SystemData
type WindowsEventLogDataSource

Package files

client.go endpoints.go enums.go models.go ruleassociations.go rules.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Datacollection
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AzureMonitorMetricsDestination

AzureMonitorMetricsDestination azure Monitor Metrics destination.

type AzureMonitorMetricsDestination struct {
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type BaseClient

BaseClient is the base client for Datacollection.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type ColumnDefinition

ColumnDefinition definition of custom data column.

type ColumnDefinition struct {
    // Name - The name of the column.
    Name *string `json:"name,omitempty"`
    // Type - The type of the column data. Possible values include: 'KnownColumnDefinitionTypeString', 'KnownColumnDefinitionTypeInt', 'KnownColumnDefinitionTypeLong', 'KnownColumnDefinitionTypeReal', 'KnownColumnDefinitionTypeBoolean', 'KnownColumnDefinitionTypeDatetime', 'KnownColumnDefinitionTypeDynamic'
    Type KnownColumnDefinitionType `json:"type,omitempty"`
}

type ConfigurationAccessEndpointSpec

ConfigurationAccessEndpointSpec definition of the endpoint used for accessing configuration.

type ConfigurationAccessEndpointSpec struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (ConfigurationAccessEndpointSpec) MarshalJSON

func (caes ConfigurationAccessEndpointSpec) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationAccessEndpointSpec.

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type DataFlow

DataFlow definition of which streams are sent to which destinations.

type DataFlow struct {
    // Streams - List of streams for this data flow.
    Streams *[]KnownDataFlowStreams `json:"streams,omitempty"`
    // Destinations - List of destinations for this data flow.
    Destinations *[]string `json:"destinations,omitempty"`
    // TransformKql - The KQL query to transform stream data.
    TransformKql *string `json:"transformKql,omitempty"`
    // OutputStream - The output stream of the transform. Only required if the transform changes data to a different stream.
    OutputStream *string `json:"outputStream,omitempty"`
}

type DataSourcesSpec

DataSourcesSpec specification of data sources that will be collected.

type DataSourcesSpec struct {
    // PerformanceCounters - The list of performance counter data source configurations.
    PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"`
    // WindowsEventLogs - The list of Windows Event Log data source configurations.
    WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"`
    // Syslog - The list of Syslog data source configurations.
    Syslog *[]SyslogDataSource `json:"syslog,omitempty"`
    // Extensions - The list of Azure VM extension data source configurations.
    Extensions *[]ExtensionDataSource `json:"extensions,omitempty"`
    // LogFiles - The list of Log files source configurations.
    LogFiles *[]LogFilesDataSource `json:"logFiles,omitempty"`
    // IisLogs - The list of IIS logs source configurations.
    IisLogs *[]IisLogsDataSource `json:"iisLogs,omitempty"`
}

type DestinationsSpec

DestinationsSpec specification of destinations that can be used in data flows.

type DestinationsSpec struct {
    // LogAnalytics - List of Log Analytics destinations.
    LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"`
    // AzureMonitorMetrics - Azure Monitor Metrics destination.
    AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"`
}

type DestinationsSpecAzureMonitorMetrics

DestinationsSpecAzureMonitorMetrics azure Monitor Metrics destination.

type DestinationsSpecAzureMonitorMetrics struct {
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type Endpoint

Endpoint definition of data collection endpoint.

type Endpoint struct {
    // Description - Description of the data collection endpoint.
    Description *string `json:"description,omitempty"`
    // ImmutableID - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // ConfigurationAccess - The endpoint used by clients to access their configuration.
    ConfigurationAccess *EndpointConfigurationAccess `json:"configurationAccess,omitempty"`
    // LogsIngestion - The endpoint used by clients to ingest logs.
    LogsIngestion *EndpointLogsIngestion `json:"logsIngestion,omitempty"`
    // NetworkAcls - Network access control rules for the endpoints.
    NetworkAcls *EndpointNetworkAcls `json:"networkAcls,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. This property is READ-ONLY. Possible values include: 'KnownDataCollectionEndpointProvisioningStateCreating', 'KnownDataCollectionEndpointProvisioningStateUpdating', 'KnownDataCollectionEndpointProvisioningStateDeleting', 'KnownDataCollectionEndpointProvisioningStateSucceeded', 'KnownDataCollectionEndpointProvisioningStateFailed'
    ProvisioningState KnownDataCollectionEndpointProvisioningState `json:"provisioningState,omitempty"`
}

func (Endpoint) MarshalJSON

func (e Endpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Endpoint.

type EndpointConfigurationAccess

EndpointConfigurationAccess the endpoint used by clients to access their configuration.

type EndpointConfigurationAccess struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (EndpointConfigurationAccess) MarshalJSON

func (eA EndpointConfigurationAccess) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointConfigurationAccess.

type EndpointLogsIngestion

EndpointLogsIngestion the endpoint used by clients to ingest logs.

type EndpointLogsIngestion struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (EndpointLogsIngestion) MarshalJSON

func (eI EndpointLogsIngestion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointLogsIngestion.

type EndpointNetworkAcls

EndpointNetworkAcls network access control rules for the endpoints.

type EndpointNetworkAcls struct {
    // PublicNetworkAccess - The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: 'KnownPublicNetworkAccessOptionsEnabled', 'KnownPublicNetworkAccessOptionsDisabled'
    PublicNetworkAccess KnownPublicNetworkAccessOptions `json:"publicNetworkAccess,omitempty"`
}

type EndpointResource

EndpointResource definition of ARM tracked top level resource.

type EndpointResource struct {
    autorest.Response `json:"-"`
    // EndpointResourceProperties - Resource properties.
    *EndpointResourceProperties `json:"properties,omitempty"`
    // Location - The geo-location where the resource lives.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Kind - The kind of the resource. Possible values include: 'KnownDataCollectionEndpointResourceKindLinux', 'KnownDataCollectionEndpointResourceKindWindows'
    Kind KnownDataCollectionEndpointResourceKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *EndpointResourceSystemData `json:"systemData,omitempty"`
}

func (EndpointResource) MarshalJSON

func (er EndpointResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointResource.

func (*EndpointResource) UnmarshalJSON

func (er *EndpointResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EndpointResource struct.

type EndpointResourceListResult

EndpointResourceListResult a pageable list of resources.

type EndpointResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]EndpointResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (EndpointResourceListResult) IsEmpty

func (erlr EndpointResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EndpointResourceListResultIterator

EndpointResourceListResultIterator provides access to a complete listing of EndpointResource values.

type EndpointResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewEndpointResourceListResultIterator

func NewEndpointResourceListResultIterator(page EndpointResourceListResultPage) EndpointResourceListResultIterator

Creates a new instance of the EndpointResourceListResultIterator type.

func (*EndpointResourceListResultIterator) Next

func (iter *EndpointResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EndpointResourceListResultIterator) NextWithContext

func (iter *EndpointResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EndpointResourceListResultIterator) NotDone

func (iter EndpointResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EndpointResourceListResultIterator) Response

func (iter EndpointResourceListResultIterator) Response() EndpointResourceListResult

Response returns the raw server response from the last page request.

func (EndpointResourceListResultIterator) Value

func (iter EndpointResourceListResultIterator) Value() EndpointResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EndpointResourceListResultPage

EndpointResourceListResultPage contains a page of EndpointResource values.

type EndpointResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewEndpointResourceListResultPage

func NewEndpointResourceListResultPage(cur EndpointResourceListResult, getNextPage func(context.Context, EndpointResourceListResult) (EndpointResourceListResult, error)) EndpointResourceListResultPage

Creates a new instance of the EndpointResourceListResultPage type.

func (*EndpointResourceListResultPage) Next

func (page *EndpointResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EndpointResourceListResultPage) NextWithContext

func (page *EndpointResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EndpointResourceListResultPage) NotDone

func (page EndpointResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EndpointResourceListResultPage) Response

func (page EndpointResourceListResultPage) Response() EndpointResourceListResult

Response returns the raw server response from the last page request.

func (EndpointResourceListResultPage) Values

func (page EndpointResourceListResultPage) Values() []EndpointResource

Values returns the slice of values for the current page or nil if there are no values.

type EndpointResourceProperties

EndpointResourceProperties resource properties.

type EndpointResourceProperties struct {
    // Description - Description of the data collection endpoint.
    Description *string `json:"description,omitempty"`
    // ImmutableID - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // ConfigurationAccess - The endpoint used by clients to access their configuration.
    ConfigurationAccess *EndpointConfigurationAccess `json:"configurationAccess,omitempty"`
    // LogsIngestion - The endpoint used by clients to ingest logs.
    LogsIngestion *EndpointLogsIngestion `json:"logsIngestion,omitempty"`
    // NetworkAcls - Network access control rules for the endpoints.
    NetworkAcls *EndpointNetworkAcls `json:"networkAcls,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. This property is READ-ONLY. Possible values include: 'KnownDataCollectionEndpointProvisioningStateCreating', 'KnownDataCollectionEndpointProvisioningStateUpdating', 'KnownDataCollectionEndpointProvisioningStateDeleting', 'KnownDataCollectionEndpointProvisioningStateSucceeded', 'KnownDataCollectionEndpointProvisioningStateFailed'
    ProvisioningState KnownDataCollectionEndpointProvisioningState `json:"provisioningState,omitempty"`
}

func (EndpointResourceProperties) MarshalJSON

func (er EndpointResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointResourceProperties.

type EndpointResourceSystemData

EndpointResourceSystemData metadata pertaining to creation and last modification of the resource.

type EndpointResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type EndpointsClient

EndpointsClient is the monitor Management Client

type EndpointsClient struct {
    BaseClient
}

func NewEndpointsClient

func NewEndpointsClient(subscriptionID string) EndpointsClient

NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient

NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EndpointsClient) Create

func (client EndpointsClient) Create(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *EndpointResource) (result EndpointResource, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive. body - the payload

func (EndpointsClient) CreatePreparer

func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *EndpointResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (EndpointsClient) CreateResponder

func (client EndpointsClient) CreateResponder(resp *http.Response) (result EndpointResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (EndpointsClient) CreateSender

func (client EndpointsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Delete

func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive.

func (EndpointsClient) DeletePreparer

func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EndpointsClient) DeleteResponder

func (client EndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EndpointsClient) DeleteSender

func (client EndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Get

func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result EndpointResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive.

func (EndpointsClient) GetPreparer

func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EndpointsClient) GetResponder

func (client EndpointsClient) GetResponder(resp *http.Response) (result EndpointResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EndpointsClient) GetSender

func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) ListByResourceGroup

func (client EndpointsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EndpointResourceListResultPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (EndpointsClient) ListByResourceGroupComplete

func (client EndpointsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EndpointResourceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (EndpointsClient) ListByResourceGroupPreparer

func (client EndpointsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (EndpointsClient) ListByResourceGroupResponder

func (client EndpointsClient) ListByResourceGroupResponder(resp *http.Response) (result EndpointResourceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (EndpointsClient) ListByResourceGroupSender

func (client EndpointsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) ListBySubscription

func (client EndpointsClient) ListBySubscription(ctx context.Context) (result EndpointResourceListResultPage, err error)

ListBySubscription sends the list by subscription request.

func (EndpointsClient) ListBySubscriptionComplete

func (client EndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result EndpointResourceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (EndpointsClient) ListBySubscriptionPreparer

func (client EndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (EndpointsClient) ListBySubscriptionResponder

func (client EndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result EndpointResourceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (EndpointsClient) ListBySubscriptionSender

func (client EndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Update

func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (result EndpointResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive. body - the payload

func (EndpointsClient) UpdatePreparer

func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EndpointsClient) UpdateResponder

func (client EndpointsClient) UpdateResponder(resp *http.Response) (result EndpointResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EndpointsClient) UpdateSender

func (client EndpointsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ErrorAdditionalInfo

ErrorAdditionalInfo the resource management error additional info.

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

ErrorDetail the error detail.

type ErrorDetail struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorDetail `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponseCommonV2

ErrorResponseCommonV2 common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type ErrorResponseCommonV2 struct {
    // Error - The error object.
    Error *ErrorDetail `json:"error,omitempty"`
}

type ExtensionDataSource

ExtensionDataSource definition of which data will be collected from a separate VM extension that integrates with the Azure Monitor Agent. Collected from either Windows and Linux machines, depending on which extension is defined.

type ExtensionDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownExtensionDataSourceStreams `json:"streams,omitempty"`
    // ExtensionName - The name of the VM extension.
    ExtensionName *string `json:"extensionName,omitempty"`
    // ExtensionSettings - The extension settings. The format is specific for particular extension.
    ExtensionSettings interface{} `json:"extensionSettings,omitempty"`
    // InputDataSources - The list of data sources this extension needs data from.
    InputDataSources *[]string `json:"inputDataSources,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type IisLogsDataSource

IisLogsDataSource enables IIS logs to be collected by this data collection rule.

type IisLogsDataSource struct {
    // Streams - IIS streams
    Streams *[]string `json:"streams,omitempty"`
    // LogDirectories - Absolute paths file location
    LogDirectories *[]string `json:"logDirectories,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type KnownColumnDefinitionType

KnownColumnDefinitionType enumerates the values for known column definition type.

type KnownColumnDefinitionType string
const (
    // KnownColumnDefinitionTypeBoolean ...
    KnownColumnDefinitionTypeBoolean KnownColumnDefinitionType = "boolean"
    // KnownColumnDefinitionTypeDatetime ...
    KnownColumnDefinitionTypeDatetime KnownColumnDefinitionType = "datetime"
    // KnownColumnDefinitionTypeDynamic ...
    KnownColumnDefinitionTypeDynamic KnownColumnDefinitionType = "dynamic"
    // KnownColumnDefinitionTypeInt ...
    KnownColumnDefinitionTypeInt KnownColumnDefinitionType = "int"
    // KnownColumnDefinitionTypeLong ...
    KnownColumnDefinitionTypeLong KnownColumnDefinitionType = "long"
    // KnownColumnDefinitionTypeReal ...
    KnownColumnDefinitionTypeReal KnownColumnDefinitionType = "real"
    // KnownColumnDefinitionTypeString ...
    KnownColumnDefinitionTypeString KnownColumnDefinitionType = "string"
)

func PossibleKnownColumnDefinitionTypeValues

func PossibleKnownColumnDefinitionTypeValues() []KnownColumnDefinitionType

PossibleKnownColumnDefinitionTypeValues returns an array of possible values for the KnownColumnDefinitionType const type.

type KnownDataCollectionEndpointProvisioningState

KnownDataCollectionEndpointProvisioningState enumerates the values for known data collection endpoint provisioning state.

type KnownDataCollectionEndpointProvisioningState string
const (
    // KnownDataCollectionEndpointProvisioningStateCreating ...
    KnownDataCollectionEndpointProvisioningStateCreating KnownDataCollectionEndpointProvisioningState = "Creating"
    // KnownDataCollectionEndpointProvisioningStateDeleting ...
    KnownDataCollectionEndpointProvisioningStateDeleting KnownDataCollectionEndpointProvisioningState = "Deleting"
    // KnownDataCollectionEndpointProvisioningStateFailed ...
    KnownDataCollectionEndpointProvisioningStateFailed KnownDataCollectionEndpointProvisioningState = "Failed"
    // KnownDataCollectionEndpointProvisioningStateSucceeded ...
    KnownDataCollectionEndpointProvisioningStateSucceeded KnownDataCollectionEndpointProvisioningState = "Succeeded"
    // KnownDataCollectionEndpointProvisioningStateUpdating ...
    KnownDataCollectionEndpointProvisioningStateUpdating KnownDataCollectionEndpointProvisioningState = "Updating"
)

func PossibleKnownDataCollectionEndpointProvisioningStateValues

func PossibleKnownDataCollectionEndpointProvisioningStateValues() []KnownDataCollectionEndpointProvisioningState

PossibleKnownDataCollectionEndpointProvisioningStateValues returns an array of possible values for the KnownDataCollectionEndpointProvisioningState const type.

type KnownDataCollectionEndpointResourceKind

KnownDataCollectionEndpointResourceKind enumerates the values for known data collection endpoint resource kind.

type KnownDataCollectionEndpointResourceKind string
const (
    // KnownDataCollectionEndpointResourceKindLinux ...
    KnownDataCollectionEndpointResourceKindLinux KnownDataCollectionEndpointResourceKind = "Linux"
    // KnownDataCollectionEndpointResourceKindWindows ...
    KnownDataCollectionEndpointResourceKindWindows KnownDataCollectionEndpointResourceKind = "Windows"
)

func PossibleKnownDataCollectionEndpointResourceKindValues

func PossibleKnownDataCollectionEndpointResourceKindValues() []KnownDataCollectionEndpointResourceKind

PossibleKnownDataCollectionEndpointResourceKindValues returns an array of possible values for the KnownDataCollectionEndpointResourceKind const type.

type KnownDataCollectionRuleAssociationProvisioningState

KnownDataCollectionRuleAssociationProvisioningState enumerates the values for known data collection rule association provisioning state.

type KnownDataCollectionRuleAssociationProvisioningState string
const (
    // KnownDataCollectionRuleAssociationProvisioningStateCreating ...
    KnownDataCollectionRuleAssociationProvisioningStateCreating KnownDataCollectionRuleAssociationProvisioningState = "Creating"
    // KnownDataCollectionRuleAssociationProvisioningStateDeleting ...
    KnownDataCollectionRuleAssociationProvisioningStateDeleting KnownDataCollectionRuleAssociationProvisioningState = "Deleting"
    // KnownDataCollectionRuleAssociationProvisioningStateFailed ...
    KnownDataCollectionRuleAssociationProvisioningStateFailed KnownDataCollectionRuleAssociationProvisioningState = "Failed"
    // KnownDataCollectionRuleAssociationProvisioningStateSucceeded ...
    KnownDataCollectionRuleAssociationProvisioningStateSucceeded KnownDataCollectionRuleAssociationProvisioningState = "Succeeded"
    // KnownDataCollectionRuleAssociationProvisioningStateUpdating ...
    KnownDataCollectionRuleAssociationProvisioningStateUpdating KnownDataCollectionRuleAssociationProvisioningState = "Updating"
)

func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues

func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState

PossibleKnownDataCollectionRuleAssociationProvisioningStateValues returns an array of possible values for the KnownDataCollectionRuleAssociationProvisioningState const type.

type KnownDataCollectionRuleProvisioningState

KnownDataCollectionRuleProvisioningState enumerates the values for known data collection rule provisioning state.

type KnownDataCollectionRuleProvisioningState string
const (
    // KnownDataCollectionRuleProvisioningStateCreating ...
    KnownDataCollectionRuleProvisioningStateCreating KnownDataCollectionRuleProvisioningState = "Creating"
    // KnownDataCollectionRuleProvisioningStateDeleting ...
    KnownDataCollectionRuleProvisioningStateDeleting KnownDataCollectionRuleProvisioningState = "Deleting"
    // KnownDataCollectionRuleProvisioningStateFailed ...
    KnownDataCollectionRuleProvisioningStateFailed KnownDataCollectionRuleProvisioningState = "Failed"
    // KnownDataCollectionRuleProvisioningStateSucceeded ...
    KnownDataCollectionRuleProvisioningStateSucceeded KnownDataCollectionRuleProvisioningState = "Succeeded"
    // KnownDataCollectionRuleProvisioningStateUpdating ...
    KnownDataCollectionRuleProvisioningStateUpdating KnownDataCollectionRuleProvisioningState = "Updating"
)

func PossibleKnownDataCollectionRuleProvisioningStateValues

func PossibleKnownDataCollectionRuleProvisioningStateValues() []KnownDataCollectionRuleProvisioningState

PossibleKnownDataCollectionRuleProvisioningStateValues returns an array of possible values for the KnownDataCollectionRuleProvisioningState const type.

type KnownDataCollectionRuleResourceKind

KnownDataCollectionRuleResourceKind enumerates the values for known data collection rule resource kind.

type KnownDataCollectionRuleResourceKind string
const (
    // KnownDataCollectionRuleResourceKindLinux ...
    KnownDataCollectionRuleResourceKindLinux KnownDataCollectionRuleResourceKind = "Linux"
    // KnownDataCollectionRuleResourceKindWindows ...
    KnownDataCollectionRuleResourceKindWindows KnownDataCollectionRuleResourceKind = "Windows"
)

func PossibleKnownDataCollectionRuleResourceKindValues

func PossibleKnownDataCollectionRuleResourceKindValues() []KnownDataCollectionRuleResourceKind

PossibleKnownDataCollectionRuleResourceKindValues returns an array of possible values for the KnownDataCollectionRuleResourceKind const type.

type KnownDataFlowStreams

KnownDataFlowStreams enumerates the values for known data flow streams.

type KnownDataFlowStreams string
const (
    // KnownDataFlowStreamsMicrosoftEvent ...
    KnownDataFlowStreamsMicrosoftEvent KnownDataFlowStreams = "Microsoft-Event"
    // KnownDataFlowStreamsMicrosoftInsightsMetrics ...
    KnownDataFlowStreamsMicrosoftInsightsMetrics KnownDataFlowStreams = "Microsoft-InsightsMetrics"
    // KnownDataFlowStreamsMicrosoftPerf ...
    KnownDataFlowStreamsMicrosoftPerf KnownDataFlowStreams = "Microsoft-Perf"
    // KnownDataFlowStreamsMicrosoftSyslog ...
    KnownDataFlowStreamsMicrosoftSyslog KnownDataFlowStreams = "Microsoft-Syslog"
    // KnownDataFlowStreamsMicrosoftWindowsEvent ...
    KnownDataFlowStreamsMicrosoftWindowsEvent KnownDataFlowStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownDataFlowStreamsValues

func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams

PossibleKnownDataFlowStreamsValues returns an array of possible values for the KnownDataFlowStreams const type.

type KnownExtensionDataSourceStreams

KnownExtensionDataSourceStreams enumerates the values for known extension data source streams.

type KnownExtensionDataSourceStreams string
const (
    // KnownExtensionDataSourceStreamsMicrosoftEvent ...
    KnownExtensionDataSourceStreamsMicrosoftEvent KnownExtensionDataSourceStreams = "Microsoft-Event"
    // KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics ...
    KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics KnownExtensionDataSourceStreams = "Microsoft-InsightsMetrics"
    // KnownExtensionDataSourceStreamsMicrosoftPerf ...
    KnownExtensionDataSourceStreamsMicrosoftPerf KnownExtensionDataSourceStreams = "Microsoft-Perf"
    // KnownExtensionDataSourceStreamsMicrosoftSyslog ...
    KnownExtensionDataSourceStreamsMicrosoftSyslog KnownExtensionDataSourceStreams = "Microsoft-Syslog"
    // KnownExtensionDataSourceStreamsMicrosoftWindowsEvent ...
    KnownExtensionDataSourceStreamsMicrosoftWindowsEvent KnownExtensionDataSourceStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownExtensionDataSourceStreamsValues

func PossibleKnownExtensionDataSourceStreamsValues() []KnownExtensionDataSourceStreams

PossibleKnownExtensionDataSourceStreamsValues returns an array of possible values for the KnownExtensionDataSourceStreams const type.

type KnownLogFileTextSettingsRecordStartTimestampFormat

KnownLogFileTextSettingsRecordStartTimestampFormat enumerates the values for known log file text settings record start timestamp format.

type KnownLogFileTextSettingsRecordStartTimestampFormat string
const (
    // KnownLogFileTextSettingsRecordStartTimestampFormatDdMMMyyyyHHmmsszzz ...
    KnownLogFileTextSettingsRecordStartTimestampFormatDdMMMyyyyHHmmsszzz KnownLogFileTextSettingsRecordStartTimestampFormat = "dd/MMM/yyyy:HH:mm:ss zzz"
    // KnownLogFileTextSettingsRecordStartTimestampFormatDdMMyyHHmmss ...
    KnownLogFileTextSettingsRecordStartTimestampFormatDdMMyyHHmmss KnownLogFileTextSettingsRecordStartTimestampFormat = "ddMMyy HH:mm:ss"
    // KnownLogFileTextSettingsRecordStartTimestampFormatISO8601 ...
    KnownLogFileTextSettingsRecordStartTimestampFormatISO8601 KnownLogFileTextSettingsRecordStartTimestampFormat = "ISO 8601"
    // KnownLogFileTextSettingsRecordStartTimestampFormatMDYYYYHHMMSSAMPM ...
    KnownLogFileTextSettingsRecordStartTimestampFormatMDYYYYHHMMSSAMPM KnownLogFileTextSettingsRecordStartTimestampFormat = "M/D/YYYY HH:MM:SS AM/PM"
    // KnownLogFileTextSettingsRecordStartTimestampFormatMMMdhhmmss ...
    KnownLogFileTextSettingsRecordStartTimestampFormatMMMdhhmmss KnownLogFileTextSettingsRecordStartTimestampFormat = "MMM d hh:mm:ss"
    // KnownLogFileTextSettingsRecordStartTimestampFormatMonDDYYYYHHMMSS ...
    KnownLogFileTextSettingsRecordStartTimestampFormatMonDDYYYYHHMMSS KnownLogFileTextSettingsRecordStartTimestampFormat = "Mon DD, YYYY HH:MM:SS"
    // KnownLogFileTextSettingsRecordStartTimestampFormatYyMMddHHmmss ...
    KnownLogFileTextSettingsRecordStartTimestampFormatYyMMddHHmmss KnownLogFileTextSettingsRecordStartTimestampFormat = "yyMMdd HH:mm:ss"
    // KnownLogFileTextSettingsRecordStartTimestampFormatYYYYMMDDHHMMSS ...
    KnownLogFileTextSettingsRecordStartTimestampFormatYYYYMMDDHHMMSS KnownLogFileTextSettingsRecordStartTimestampFormat = "YYYY-MM-DD HH:MM:SS"
    // KnownLogFileTextSettingsRecordStartTimestampFormatYyyyMMDdTHHmmssK ...
    KnownLogFileTextSettingsRecordStartTimestampFormatYyyyMMDdTHHmmssK KnownLogFileTextSettingsRecordStartTimestampFormat = "yyyy-MM-ddTHH:mm:ssK"
)

func PossibleKnownLogFileTextSettingsRecordStartTimestampFormatValues

func PossibleKnownLogFileTextSettingsRecordStartTimestampFormatValues() []KnownLogFileTextSettingsRecordStartTimestampFormat

PossibleKnownLogFileTextSettingsRecordStartTimestampFormatValues returns an array of possible values for the KnownLogFileTextSettingsRecordStartTimestampFormat const type.

type KnownPerfCounterDataSourceStreams

KnownPerfCounterDataSourceStreams enumerates the values for known perf counter data source streams.

type KnownPerfCounterDataSourceStreams string
const (
    // KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics ...
    KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics"
    // KnownPerfCounterDataSourceStreamsMicrosoftPerf ...
    KnownPerfCounterDataSourceStreamsMicrosoftPerf KnownPerfCounterDataSourceStreams = "Microsoft-Perf"
)

func PossibleKnownPerfCounterDataSourceStreamsValues

func PossibleKnownPerfCounterDataSourceStreamsValues() []KnownPerfCounterDataSourceStreams

PossibleKnownPerfCounterDataSourceStreamsValues returns an array of possible values for the KnownPerfCounterDataSourceStreams const type.

type KnownPublicNetworkAccessOptions

KnownPublicNetworkAccessOptions enumerates the values for known public network access options.

type KnownPublicNetworkAccessOptions string
const (
    // KnownPublicNetworkAccessOptionsDisabled ...
    KnownPublicNetworkAccessOptionsDisabled KnownPublicNetworkAccessOptions = "Disabled"
    // KnownPublicNetworkAccessOptionsEnabled ...
    KnownPublicNetworkAccessOptionsEnabled KnownPublicNetworkAccessOptions = "Enabled"
)

func PossibleKnownPublicNetworkAccessOptionsValues

func PossibleKnownPublicNetworkAccessOptionsValues() []KnownPublicNetworkAccessOptions

PossibleKnownPublicNetworkAccessOptionsValues returns an array of possible values for the KnownPublicNetworkAccessOptions const type.

type KnownSyslogDataSourceFacilityNames

KnownSyslogDataSourceFacilityNames enumerates the values for known syslog data source facility names.

type KnownSyslogDataSourceFacilityNames string
const (
    // KnownSyslogDataSourceFacilityNamesAsterisk ...
    KnownSyslogDataSourceFacilityNamesAsterisk KnownSyslogDataSourceFacilityNames = "*"
    // KnownSyslogDataSourceFacilityNamesAuth ...
    KnownSyslogDataSourceFacilityNamesAuth KnownSyslogDataSourceFacilityNames = "auth"
    // KnownSyslogDataSourceFacilityNamesAuthpriv ...
    KnownSyslogDataSourceFacilityNamesAuthpriv KnownSyslogDataSourceFacilityNames = "authpriv"
    // KnownSyslogDataSourceFacilityNamesCron ...
    KnownSyslogDataSourceFacilityNamesCron KnownSyslogDataSourceFacilityNames = "cron"
    // KnownSyslogDataSourceFacilityNamesDaemon ...
    KnownSyslogDataSourceFacilityNamesDaemon KnownSyslogDataSourceFacilityNames = "daemon"
    // KnownSyslogDataSourceFacilityNamesKern ...
    KnownSyslogDataSourceFacilityNamesKern KnownSyslogDataSourceFacilityNames = "kern"
    // KnownSyslogDataSourceFacilityNamesLocal0 ...
    KnownSyslogDataSourceFacilityNamesLocal0 KnownSyslogDataSourceFacilityNames = "local0"
    // KnownSyslogDataSourceFacilityNamesLocal1 ...
    KnownSyslogDataSourceFacilityNamesLocal1 KnownSyslogDataSourceFacilityNames = "local1"
    // KnownSyslogDataSourceFacilityNamesLocal2 ...
    KnownSyslogDataSourceFacilityNamesLocal2 KnownSyslogDataSourceFacilityNames = "local2"
    // KnownSyslogDataSourceFacilityNamesLocal3 ...
    KnownSyslogDataSourceFacilityNamesLocal3 KnownSyslogDataSourceFacilityNames = "local3"
    // KnownSyslogDataSourceFacilityNamesLocal4 ...
    KnownSyslogDataSourceFacilityNamesLocal4 KnownSyslogDataSourceFacilityNames = "local4"
    // KnownSyslogDataSourceFacilityNamesLocal5 ...
    KnownSyslogDataSourceFacilityNamesLocal5 KnownSyslogDataSourceFacilityNames = "local5"
    // KnownSyslogDataSourceFacilityNamesLocal6 ...
    KnownSyslogDataSourceFacilityNamesLocal6 KnownSyslogDataSourceFacilityNames = "local6"
    // KnownSyslogDataSourceFacilityNamesLocal7 ...
    KnownSyslogDataSourceFacilityNamesLocal7 KnownSyslogDataSourceFacilityNames = "local7"
    // KnownSyslogDataSourceFacilityNamesLpr ...
    KnownSyslogDataSourceFacilityNamesLpr KnownSyslogDataSourceFacilityNames = "lpr"
    // KnownSyslogDataSourceFacilityNamesMail ...
    KnownSyslogDataSourceFacilityNamesMail KnownSyslogDataSourceFacilityNames = "mail"
    // KnownSyslogDataSourceFacilityNamesMark ...
    KnownSyslogDataSourceFacilityNamesMark KnownSyslogDataSourceFacilityNames = "mark"
    // KnownSyslogDataSourceFacilityNamesNews ...
    KnownSyslogDataSourceFacilityNamesNews KnownSyslogDataSourceFacilityNames = "news"
    // KnownSyslogDataSourceFacilityNamesSyslog ...
    KnownSyslogDataSourceFacilityNamesSyslog KnownSyslogDataSourceFacilityNames = "syslog"
    // KnownSyslogDataSourceFacilityNamesUser ...
    KnownSyslogDataSourceFacilityNamesUser KnownSyslogDataSourceFacilityNames = "user"
    // KnownSyslogDataSourceFacilityNamesUucp ...
    KnownSyslogDataSourceFacilityNamesUucp KnownSyslogDataSourceFacilityNames = "uucp"
)

func PossibleKnownSyslogDataSourceFacilityNamesValues

func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames

PossibleKnownSyslogDataSourceFacilityNamesValues returns an array of possible values for the KnownSyslogDataSourceFacilityNames const type.

type KnownSyslogDataSourceLogLevels

KnownSyslogDataSourceLogLevels enumerates the values for known syslog data source log levels.

type KnownSyslogDataSourceLogLevels string
const (
    // KnownSyslogDataSourceLogLevelsAlert ...
    KnownSyslogDataSourceLogLevelsAlert KnownSyslogDataSourceLogLevels = "Alert"
    // KnownSyslogDataSourceLogLevelsAsterisk ...
    KnownSyslogDataSourceLogLevelsAsterisk KnownSyslogDataSourceLogLevels = "*"
    // KnownSyslogDataSourceLogLevelsCritical ...
    KnownSyslogDataSourceLogLevelsCritical KnownSyslogDataSourceLogLevels = "Critical"
    // KnownSyslogDataSourceLogLevelsDebug ...
    KnownSyslogDataSourceLogLevelsDebug KnownSyslogDataSourceLogLevels = "Debug"
    // KnownSyslogDataSourceLogLevelsEmergency ...
    KnownSyslogDataSourceLogLevelsEmergency KnownSyslogDataSourceLogLevels = "Emergency"
    // KnownSyslogDataSourceLogLevelsError ...
    KnownSyslogDataSourceLogLevelsError KnownSyslogDataSourceLogLevels = "Error"
    // KnownSyslogDataSourceLogLevelsInfo ...
    KnownSyslogDataSourceLogLevelsInfo KnownSyslogDataSourceLogLevels = "Info"
    // KnownSyslogDataSourceLogLevelsNotice ...
    KnownSyslogDataSourceLogLevelsNotice KnownSyslogDataSourceLogLevels = "Notice"
    // KnownSyslogDataSourceLogLevelsWarning ...
    KnownSyslogDataSourceLogLevelsWarning KnownSyslogDataSourceLogLevels = "Warning"
)

func PossibleKnownSyslogDataSourceLogLevelsValues

func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels

PossibleKnownSyslogDataSourceLogLevelsValues returns an array of possible values for the KnownSyslogDataSourceLogLevels const type.

type KnownSyslogDataSourceStreams

KnownSyslogDataSourceStreams enumerates the values for known syslog data source streams.

type KnownSyslogDataSourceStreams string
const (
    // KnownSyslogDataSourceStreamsMicrosoftSyslog ...
    KnownSyslogDataSourceStreamsMicrosoftSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog"
)

func PossibleKnownSyslogDataSourceStreamsValues

func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams

PossibleKnownSyslogDataSourceStreamsValues returns an array of possible values for the KnownSyslogDataSourceStreams const type.

type KnownWindowsEventLogDataSourceStreams

KnownWindowsEventLogDataSourceStreams enumerates the values for known windows event log data source streams.

type KnownWindowsEventLogDataSourceStreams string
const (
    // KnownWindowsEventLogDataSourceStreamsMicrosoftEvent ...
    KnownWindowsEventLogDataSourceStreamsMicrosoftEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-Event"
    // KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent ...
    KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownWindowsEventLogDataSourceStreamsValues

func PossibleKnownWindowsEventLogDataSourceStreamsValues() []KnownWindowsEventLogDataSourceStreams

PossibleKnownWindowsEventLogDataSourceStreamsValues returns an array of possible values for the KnownWindowsEventLogDataSourceStreams const type.

type LogAnalyticsDestination

LogAnalyticsDestination log Analytics destination.

type LogAnalyticsDestination struct {
    // WorkspaceResourceID - The resource ID of the Log Analytics workspace.
    WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
    // WorkspaceID - READ-ONLY; The Customer ID of the Log Analytics workspace.
    WorkspaceID *string `json:"workspaceId,omitempty"`
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

func (LogAnalyticsDestination) MarshalJSON

func (lad LogAnalyticsDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogAnalyticsDestination.

type LogFileSettings

LogFileSettings settings for different log file formats

type LogFileSettings struct {
    // Text - Text settings
    Text *LogFileSettingsText `json:"text,omitempty"`
}

type LogFileSettingsText

LogFileSettingsText text settings

type LogFileSettingsText struct {
    // RecordStartTimestampFormat - One of the supported timestamp formats. Possible values include: 'KnownLogFileTextSettingsRecordStartTimestampFormatISO8601', 'KnownLogFileTextSettingsRecordStartTimestampFormatYYYYMMDDHHMMSS', 'KnownLogFileTextSettingsRecordStartTimestampFormatMDYYYYHHMMSSAMPM', 'KnownLogFileTextSettingsRecordStartTimestampFormatMonDDYYYYHHMMSS', 'KnownLogFileTextSettingsRecordStartTimestampFormatYyMMddHHmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatDdMMyyHHmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatMMMdhhmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatDdMMMyyyyHHmmsszzz', 'KnownLogFileTextSettingsRecordStartTimestampFormatYyyyMMDdTHHmmssK'
    RecordStartTimestampFormat KnownLogFileTextSettingsRecordStartTimestampFormat `json:"recordStartTimestampFormat,omitempty"`
}

type LogFileTextSettings

LogFileTextSettings settings for text log files

type LogFileTextSettings struct {
    // RecordStartTimestampFormat - One of the supported timestamp formats. Possible values include: 'KnownLogFileTextSettingsRecordStartTimestampFormatISO8601', 'KnownLogFileTextSettingsRecordStartTimestampFormatYYYYMMDDHHMMSS', 'KnownLogFileTextSettingsRecordStartTimestampFormatMDYYYYHHMMSSAMPM', 'KnownLogFileTextSettingsRecordStartTimestampFormatMonDDYYYYHHMMSS', 'KnownLogFileTextSettingsRecordStartTimestampFormatYyMMddHHmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatDdMMyyHHmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatMMMdhhmmss', 'KnownLogFileTextSettingsRecordStartTimestampFormatDdMMMyyyyHHmmsszzz', 'KnownLogFileTextSettingsRecordStartTimestampFormatYyyyMMDdTHHmmssK'
    RecordStartTimestampFormat KnownLogFileTextSettingsRecordStartTimestampFormat `json:"recordStartTimestampFormat,omitempty"`
}

type LogFilesDataSource

LogFilesDataSource definition of which custom log files will be collected by this data collection rule

type LogFilesDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data source
    Streams *[]string `json:"streams,omitempty"`
    // FilePatterns - File Patterns where the log files are located
    FilePatterns *[]string `json:"filePatterns,omitempty"`
    // Format - The data format of the log files
    Format *string `json:"format,omitempty"`
    // Settings - The log files specific settings.
    Settings *LogFilesDataSourceSettings `json:"settings,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type LogFilesDataSourceSettings

LogFilesDataSourceSettings the log files specific settings.

type LogFilesDataSourceSettings struct {
    // Text - Text settings
    Text *LogFileSettingsText `json:"text,omitempty"`
}

type LogsIngestionEndpointSpec

LogsIngestionEndpointSpec definition of the endpoint used for ingesting logs.

type LogsIngestionEndpointSpec struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (LogsIngestionEndpointSpec) MarshalJSON

func (lies LogsIngestionEndpointSpec) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogsIngestionEndpointSpec.

type Metadata

Metadata metadata about the resource

type Metadata struct {
    // ProvisionedBy - READ-ONLY; Azure offering managing this resource on-behalf-of customer.
    ProvisionedBy *string `json:"provisionedBy,omitempty"`
}

func (Metadata) MarshalJSON

func (mVar Metadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Metadata.

type NetworkRuleSet

NetworkRuleSet definition of the network rules.

type NetworkRuleSet struct {
    // PublicNetworkAccess - The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: 'KnownPublicNetworkAccessOptionsEnabled', 'KnownPublicNetworkAccessOptionsDisabled'
    PublicNetworkAccess KnownPublicNetworkAccessOptions `json:"publicNetworkAccess,omitempty"`
}

type PerfCounterDataSource

PerfCounterDataSource definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present.

type PerfCounterDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownPerfCounterDataSourceStreams `json:"streams,omitempty"`
    // SamplingFrequencyInSeconds - The number of seconds between consecutive counter measurements (samples).
    SamplingFrequencyInSeconds *int32 `json:"samplingFrequencyInSeconds,omitempty"`
    // CounterSpecifiers - A list of specifier names of the performance counters you want to collect.
    // Use a wildcard (*) to collect a counter for all instances.
    // To get a list of performance counters on Windows, run the command 'typeperf'.
    CounterSpecifiers *[]string `json:"counterSpecifiers,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type ResourceForUpdate

ResourceForUpdate definition of ARM tracked top level resource properties for update operation.

type ResourceForUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (ResourceForUpdate) MarshalJSON

func (rfu ResourceForUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceForUpdate.

type Rule

Rule definition of what monitoring data to collect and where that data should be sent.

type Rule struct {
    // Description - Description of the data collection rule.
    Description *string `json:"description,omitempty"`
    // ImmutableID - READ-ONLY; The immutable ID of this data collection rule. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that this rule can be used with.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // Metadata - READ-ONLY; Metadata about the resource
    Metadata *RuleMetadata `json:"metadata,omitempty"`
    // StreamDeclarations - Declaration of custom streams used in this rule.
    StreamDeclarations map[string]*StreamDeclaration `json:"streamDeclarations"`
    // DataSources - The specification of data sources.
    // This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
    DataSources *RuleDataSources `json:"dataSources,omitempty"`
    // Destinations - The specification of destinations.
    Destinations *RuleDestinations `json:"destinations,omitempty"`
    // DataFlows - The specification of data flows.
    DataFlows *[]DataFlow `json:"dataFlows,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleProvisioningStateCreating', 'KnownDataCollectionRuleProvisioningStateUpdating', 'KnownDataCollectionRuleProvisioningStateDeleting', 'KnownDataCollectionRuleProvisioningStateSucceeded', 'KnownDataCollectionRuleProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"`
}

func (Rule) MarshalJSON

func (r Rule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Rule.

type RuleAssociation

RuleAssociation definition of association of a data collection rule with a monitored Azure resource.

type RuleAssociation struct {
    // Description - Description of the association.
    Description *string `json:"description,omitempty"`
    // DataCollectionRuleID - The resource ID of the data collection rule that is to be associated.
    DataCollectionRuleID *string `json:"dataCollectionRuleId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that is to be associated.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleAssociationProvisioningStateCreating', 'KnownDataCollectionRuleAssociationProvisioningStateUpdating', 'KnownDataCollectionRuleAssociationProvisioningStateDeleting', 'KnownDataCollectionRuleAssociationProvisioningStateSucceeded', 'KnownDataCollectionRuleAssociationProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"`
    // Metadata - READ-ONLY; Metadata about the resource
    Metadata *RuleAssociationMetadata `json:"metadata,omitempty"`
}

func (RuleAssociation) MarshalJSON

func (ra RuleAssociation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleAssociation.

type RuleAssociationMetadata

RuleAssociationMetadata metadata about the resource

type RuleAssociationMetadata struct {
    // ProvisionedBy - READ-ONLY; Azure offering managing this resource on-behalf-of customer.
    ProvisionedBy *string `json:"provisionedBy,omitempty"`
}

func (RuleAssociationMetadata) MarshalJSON

func (ra RuleAssociationMetadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleAssociationMetadata.

type RuleAssociationProxyOnlyResource

RuleAssociationProxyOnlyResource definition of generic ARM proxy resource.

type RuleAssociationProxyOnlyResource struct {
    autorest.Response `json:"-"`
    // RuleAssociationProxyOnlyResourceProperties - Resource properties.
    *RuleAssociationProxyOnlyResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *RuleAssociationProxyOnlyResourceSystemData `json:"systemData,omitempty"`
}

func (RuleAssociationProxyOnlyResource) MarshalJSON

func (rapor RuleAssociationProxyOnlyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleAssociationProxyOnlyResource.

func (*RuleAssociationProxyOnlyResource) UnmarshalJSON

func (rapor *RuleAssociationProxyOnlyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleAssociationProxyOnlyResource struct.

type RuleAssociationProxyOnlyResourceListResult

RuleAssociationProxyOnlyResourceListResult a pageable list of resources.

type RuleAssociationProxyOnlyResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]RuleAssociationProxyOnlyResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (RuleAssociationProxyOnlyResourceListResult) IsEmpty

func (raporlr RuleAssociationProxyOnlyResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RuleAssociationProxyOnlyResourceListResultIterator

RuleAssociationProxyOnlyResourceListResultIterator provides access to a complete listing of RuleAssociationProxyOnlyResource values.

type RuleAssociationProxyOnlyResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewRuleAssociationProxyOnlyResourceListResultIterator

func NewRuleAssociationProxyOnlyResourceListResultIterator(page RuleAssociationProxyOnlyResourceListResultPage) RuleAssociationProxyOnlyResourceListResultIterator

Creates a new instance of the RuleAssociationProxyOnlyResourceListResultIterator type.

func (*RuleAssociationProxyOnlyResourceListResultIterator) Next

func (iter *RuleAssociationProxyOnlyResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleAssociationProxyOnlyResourceListResultIterator) NextWithContext

func (iter *RuleAssociationProxyOnlyResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RuleAssociationProxyOnlyResourceListResultIterator) NotDone

func (iter RuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RuleAssociationProxyOnlyResourceListResultIterator) Response

func (iter RuleAssociationProxyOnlyResourceListResultIterator) Response() RuleAssociationProxyOnlyResourceListResult

Response returns the raw server response from the last page request.

func (RuleAssociationProxyOnlyResourceListResultIterator) Value

func (iter RuleAssociationProxyOnlyResourceListResultIterator) Value() RuleAssociationProxyOnlyResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RuleAssociationProxyOnlyResourceListResultPage

RuleAssociationProxyOnlyResourceListResultPage contains a page of RuleAssociationProxyOnlyResource values.

type RuleAssociationProxyOnlyResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewRuleAssociationProxyOnlyResourceListResultPage

func NewRuleAssociationProxyOnlyResourceListResultPage(cur RuleAssociationProxyOnlyResourceListResult, getNextPage func(context.Context, RuleAssociationProxyOnlyResourceListResult) (RuleAssociationProxyOnlyResourceListResult, error)) RuleAssociationProxyOnlyResourceListResultPage

Creates a new instance of the RuleAssociationProxyOnlyResourceListResultPage type.

func (*RuleAssociationProxyOnlyResourceListResultPage) Next

func (page *RuleAssociationProxyOnlyResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleAssociationProxyOnlyResourceListResultPage) NextWithContext

func (page *RuleAssociationProxyOnlyResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RuleAssociationProxyOnlyResourceListResultPage) NotDone

func (page RuleAssociationProxyOnlyResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RuleAssociationProxyOnlyResourceListResultPage) Response

func (page RuleAssociationProxyOnlyResourceListResultPage) Response() RuleAssociationProxyOnlyResourceListResult

Response returns the raw server response from the last page request.

func (RuleAssociationProxyOnlyResourceListResultPage) Values

func (page RuleAssociationProxyOnlyResourceListResultPage) Values() []RuleAssociationProxyOnlyResource

Values returns the slice of values for the current page or nil if there are no values.

type RuleAssociationProxyOnlyResourceProperties

RuleAssociationProxyOnlyResourceProperties resource properties.

type RuleAssociationProxyOnlyResourceProperties struct {
    // Description - Description of the association.
    Description *string `json:"description,omitempty"`
    // DataCollectionRuleID - The resource ID of the data collection rule that is to be associated.
    DataCollectionRuleID *string `json:"dataCollectionRuleId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that is to be associated.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleAssociationProvisioningStateCreating', 'KnownDataCollectionRuleAssociationProvisioningStateUpdating', 'KnownDataCollectionRuleAssociationProvisioningStateDeleting', 'KnownDataCollectionRuleAssociationProvisioningStateSucceeded', 'KnownDataCollectionRuleAssociationProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"`
    // Metadata - READ-ONLY; Metadata about the resource
    Metadata *RuleAssociationMetadata `json:"metadata,omitempty"`
}

func (RuleAssociationProxyOnlyResourceProperties) MarshalJSON

func (rapor RuleAssociationProxyOnlyResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleAssociationProxyOnlyResourceProperties.

type RuleAssociationProxyOnlyResourceSystemData

RuleAssociationProxyOnlyResourceSystemData metadata pertaining to creation and last modification of the resource.

type RuleAssociationProxyOnlyResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type RuleAssociationsClient

RuleAssociationsClient is the monitor Management Client

type RuleAssociationsClient struct {
    BaseClient
}

func NewRuleAssociationsClient

func NewRuleAssociationsClient(subscriptionID string) RuleAssociationsClient

NewRuleAssociationsClient creates an instance of the RuleAssociationsClient client.

func NewRuleAssociationsClientWithBaseURI

func NewRuleAssociationsClientWithBaseURI(baseURI string, subscriptionID string) RuleAssociationsClient

NewRuleAssociationsClientWithBaseURI creates an instance of the RuleAssociationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RuleAssociationsClient) Create

func (client RuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, body *RuleAssociationProxyOnlyResource) (result RuleAssociationProxyOnlyResource, err error)

Create sends the create request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive. body - the payload

func (RuleAssociationsClient) CreatePreparer

func (client RuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, body *RuleAssociationProxyOnlyResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RuleAssociationsClient) CreateResponder

func (client RuleAssociationsClient) CreateResponder(resp *http.Response) (result RuleAssociationProxyOnlyResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RuleAssociationsClient) CreateSender

func (client RuleAssociationsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RuleAssociationsClient) Delete

func (client RuleAssociationsClient) Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive.

func (RuleAssociationsClient) DeletePreparer

func (client RuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RuleAssociationsClient) DeleteResponder

func (client RuleAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RuleAssociationsClient) DeleteSender

func (client RuleAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RuleAssociationsClient) Get

func (client RuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result RuleAssociationProxyOnlyResource, err error)

Get sends the get request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive.

func (RuleAssociationsClient) GetPreparer

func (client RuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RuleAssociationsClient) GetResponder

func (client RuleAssociationsClient) GetResponder(resp *http.Response) (result RuleAssociationProxyOnlyResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RuleAssociationsClient) GetSender

func (client RuleAssociationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RuleAssociationsClient) ListByDataCollectionEndpoint

func (client RuleAssociationsClient) ListByDataCollectionEndpoint(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)

ListByDataCollectionEndpoint sends the list by data collection endpoint request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive.

func (RuleAssociationsClient) ListByDataCollectionEndpointComplete

func (client RuleAssociationsClient) ListByDataCollectionEndpointComplete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)

ListByDataCollectionEndpointComplete enumerates all values, automatically crossing page boundaries as required.

func (RuleAssociationsClient) ListByDataCollectionEndpointPreparer

func (client RuleAssociationsClient) ListByDataCollectionEndpointPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)

ListByDataCollectionEndpointPreparer prepares the ListByDataCollectionEndpoint request.

func (RuleAssociationsClient) ListByDataCollectionEndpointResponder

func (client RuleAssociationsClient) ListByDataCollectionEndpointResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)

ListByDataCollectionEndpointResponder handles the response to the ListByDataCollectionEndpoint request. The method always closes the http.Response Body.

func (RuleAssociationsClient) ListByDataCollectionEndpointSender

func (client RuleAssociationsClient) ListByDataCollectionEndpointSender(req *http.Request) (*http.Response, error)

ListByDataCollectionEndpointSender sends the ListByDataCollectionEndpoint request. The method will close the http.Response Body if it receives an error.

func (RuleAssociationsClient) ListByResource

func (client RuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)

ListByResource sends the list by resource request. Parameters: resourceURI - the identifier of the resource.

func (RuleAssociationsClient) ListByResourceComplete

func (client RuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)

ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (RuleAssociationsClient) ListByResourcePreparer

func (client RuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)

ListByResourcePreparer prepares the ListByResource request.

func (RuleAssociationsClient) ListByResourceResponder

func (client RuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)

ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.

func (RuleAssociationsClient) ListByResourceSender

func (client RuleAssociationsClient) ListByResourceSender(req *http.Request) (*http.Response, error)

ListByResourceSender sends the ListByResource request. The method will close the http.Response Body if it receives an error.

func (RuleAssociationsClient) ListByRule

func (client RuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleAssociationProxyOnlyResourceListResultPage, err error)

ListByRule sends the list by rule request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (RuleAssociationsClient) ListByRuleComplete

func (client RuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleAssociationProxyOnlyResourceListResultIterator, err error)

ListByRuleComplete enumerates all values, automatically crossing page boundaries as required.

func (RuleAssociationsClient) ListByRulePreparer

func (client RuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

ListByRulePreparer prepares the ListByRule request.

func (RuleAssociationsClient) ListByRuleResponder

func (client RuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result RuleAssociationProxyOnlyResourceListResult, err error)

ListByRuleResponder handles the response to the ListByRule request. The method always closes the http.Response Body.

func (RuleAssociationsClient) ListByRuleSender

func (client RuleAssociationsClient) ListByRuleSender(req *http.Request) (*http.Response, error)

ListByRuleSender sends the ListByRule request. The method will close the http.Response Body if it receives an error.

type RuleDataSources

RuleDataSources the specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.

type RuleDataSources struct {
    // PerformanceCounters - The list of performance counter data source configurations.
    PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"`
    // WindowsEventLogs - The list of Windows Event Log data source configurations.
    WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"`
    // Syslog - The list of Syslog data source configurations.
    Syslog *[]SyslogDataSource `json:"syslog,omitempty"`
    // Extensions - The list of Azure VM extension data source configurations.
    Extensions *[]ExtensionDataSource `json:"extensions,omitempty"`
    // LogFiles - The list of Log files source configurations.
    LogFiles *[]LogFilesDataSource `json:"logFiles,omitempty"`
    // IisLogs - The list of IIS logs source configurations.
    IisLogs *[]IisLogsDataSource `json:"iisLogs,omitempty"`
}

type RuleDestinations

RuleDestinations the specification of destinations.

type RuleDestinations struct {
    // LogAnalytics - List of Log Analytics destinations.
    LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"`
    // AzureMonitorMetrics - Azure Monitor Metrics destination.
    AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"`
}

type RuleMetadata

RuleMetadata metadata about the resource

type RuleMetadata struct {
    // ProvisionedBy - READ-ONLY; Azure offering managing this resource on-behalf-of customer.
    ProvisionedBy *string `json:"provisionedBy,omitempty"`
}

func (RuleMetadata) MarshalJSON

func (r RuleMetadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleMetadata.

type RuleResource

RuleResource definition of ARM tracked top level resource.

type RuleResource struct {
    autorest.Response `json:"-"`
    // RuleResourceProperties - Resource properties.
    *RuleResourceProperties `json:"properties,omitempty"`
    // Location - The geo-location where the resource lives.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Kind - The kind of the resource. Possible values include: 'KnownDataCollectionRuleResourceKindLinux', 'KnownDataCollectionRuleResourceKindWindows'
    Kind KnownDataCollectionRuleResourceKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *RuleResourceSystemData `json:"systemData,omitempty"`
}

func (RuleResource) MarshalJSON

func (rr RuleResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleResource.

func (*RuleResource) UnmarshalJSON

func (rr *RuleResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleResource struct.

type RuleResourceListResult

RuleResourceListResult a pageable list of resources.

type RuleResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]RuleResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (RuleResourceListResult) IsEmpty

func (rrlr RuleResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RuleResourceListResultIterator

RuleResourceListResultIterator provides access to a complete listing of RuleResource values.

type RuleResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewRuleResourceListResultIterator

func NewRuleResourceListResultIterator(page RuleResourceListResultPage) RuleResourceListResultIterator

Creates a new instance of the RuleResourceListResultIterator type.

func (*RuleResourceListResultIterator) Next

func (iter *RuleResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleResourceListResultIterator) NextWithContext

func (iter *RuleResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RuleResourceListResultIterator) NotDone

func (iter RuleResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RuleResourceListResultIterator) Response

func (iter RuleResourceListResultIterator) Response() RuleResourceListResult

Response returns the raw server response from the last page request.

func (RuleResourceListResultIterator) Value

func (iter RuleResourceListResultIterator) Value() RuleResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RuleResourceListResultPage

RuleResourceListResultPage contains a page of RuleResource values.

type RuleResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewRuleResourceListResultPage

func NewRuleResourceListResultPage(cur RuleResourceListResult, getNextPage func(context.Context, RuleResourceListResult) (RuleResourceListResult, error)) RuleResourceListResultPage

Creates a new instance of the RuleResourceListResultPage type.

func (*RuleResourceListResultPage) Next

func (page *RuleResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleResourceListResultPage) NextWithContext

func (page *RuleResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RuleResourceListResultPage) NotDone

func (page RuleResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RuleResourceListResultPage) Response

func (page RuleResourceListResultPage) Response() RuleResourceListResult

Response returns the raw server response from the last page request.

func (RuleResourceListResultPage) Values

func (page RuleResourceListResultPage) Values() []RuleResource

Values returns the slice of values for the current page or nil if there are no values.

type RuleResourceProperties

RuleResourceProperties resource properties.

type RuleResourceProperties struct {
    // Description - Description of the data collection rule.
    Description *string `json:"description,omitempty"`
    // ImmutableID - READ-ONLY; The immutable ID of this data collection rule. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that this rule can be used with.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // Metadata - READ-ONLY; Metadata about the resource
    Metadata *RuleMetadata `json:"metadata,omitempty"`
    // StreamDeclarations - Declaration of custom streams used in this rule.
    StreamDeclarations map[string]*StreamDeclaration `json:"streamDeclarations"`
    // DataSources - The specification of data sources.
    // This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
    DataSources *RuleDataSources `json:"dataSources,omitempty"`
    // Destinations - The specification of destinations.
    Destinations *RuleDestinations `json:"destinations,omitempty"`
    // DataFlows - The specification of data flows.
    DataFlows *[]DataFlow `json:"dataFlows,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleProvisioningStateCreating', 'KnownDataCollectionRuleProvisioningStateUpdating', 'KnownDataCollectionRuleProvisioningStateDeleting', 'KnownDataCollectionRuleProvisioningStateSucceeded', 'KnownDataCollectionRuleProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"`
}

func (RuleResourceProperties) MarshalJSON

func (rr RuleResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleResourceProperties.

type RuleResourceSystemData

RuleResourceSystemData metadata pertaining to creation and last modification of the resource.

type RuleResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type RulesClient

RulesClient is the monitor Management Client

type RulesClient struct {
    BaseClient
}

func NewRulesClient

func NewRulesClient(subscriptionID string) RulesClient

NewRulesClient creates an instance of the RulesClient client.

func NewRulesClientWithBaseURI

func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient

NewRulesClientWithBaseURI creates an instance of the RulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RulesClient) Create

func (client RulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *RuleResource) (result RuleResource, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive. body - the payload

func (RulesClient) CreatePreparer

func (client RulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *RuleResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RulesClient) CreateResponder

func (client RulesClient) CreateResponder(resp *http.Response) (result RuleResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RulesClient) CreateSender

func (client RulesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Delete

func (client RulesClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (RulesClient) DeletePreparer

func (client RulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RulesClient) DeleteResponder

func (client RulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RulesClient) DeleteSender

func (client RulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Get

func (client RulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result RuleResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (RulesClient) GetPreparer

func (client RulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RulesClient) GetResponder

func (client RulesClient) GetResponder(resp *http.Response) (result RuleResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RulesClient) GetSender

func (client RulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RulesClient) ListByResourceGroup

func (client RulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RuleResourceListResultPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (RulesClient) ListByResourceGroupComplete

func (client RulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RuleResourceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (RulesClient) ListByResourceGroupPreparer

func (client RulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RulesClient) ListByResourceGroupResponder

func (client RulesClient) ListByResourceGroupResponder(resp *http.Response) (result RuleResourceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RulesClient) ListByResourceGroupSender

func (client RulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (RulesClient) ListBySubscription

func (client RulesClient) ListBySubscription(ctx context.Context) (result RuleResourceListResultPage, err error)

ListBySubscription sends the list by subscription request.

func (RulesClient) ListBySubscriptionComplete

func (client RulesClient) ListBySubscriptionComplete(ctx context.Context) (result RuleResourceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (RulesClient) ListBySubscriptionPreparer

func (client RulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (RulesClient) ListBySubscriptionResponder

func (client RulesClient) ListBySubscriptionResponder(resp *http.Response) (result RuleResourceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (RulesClient) ListBySubscriptionSender

func (client RulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Update

func (client RulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (result RuleResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive. body - the payload

func (RulesClient) UpdatePreparer

func (client RulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RulesClient) UpdateResponder

func (client RulesClient) UpdateResponder(resp *http.Response) (result RuleResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RulesClient) UpdateSender

func (client RulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type StreamDeclaration

StreamDeclaration declaration of a custom stream.

type StreamDeclaration struct {
    // Columns - List of columns used by data in this stream.
    Columns *[]ColumnDefinition `json:"columns,omitempty"`
}

type SyslogDataSource

SyslogDataSource definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines.

type SyslogDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownSyslogDataSourceStreams `json:"streams,omitempty"`
    // FacilityNames - The list of facility names.
    FacilityNames *[]KnownSyslogDataSourceFacilityNames `json:"facilityNames,omitempty"`
    // LogLevels - The log levels to collect.
    LogLevels *[]KnownSyslogDataSourceLogLevels `json:"logLevels,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type WindowsEventLogDataSource

WindowsEventLogDataSource definition of which Windows Event Log events will be collected and how they will be collected. Only collected from Windows machines.

type WindowsEventLogDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownWindowsEventLogDataSourceStreams `json:"streams,omitempty"`
    // XPathQueries - A list of Windows Event Log queries in XPATH format.
    XPathQueries *[]string `json:"xPathQueries,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

Subdirectories

Name Synopsis
..
datacollectionapi Deprecated: Please note, this package has been deprecated.