Documentation ¶
Overview ¶
Package insights implements the Azure ARM Insights service API version 2019-11-01-preview.
Monitor Management Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AzureMonitorMetricsDestination
- type BaseClient
- type DataCollectionRule
- type DataCollectionRuleAssociation
- type DataCollectionRuleAssociationProxyOnlyResource
- type DataCollectionRuleAssociationProxyOnlyResourceListResult
- type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator
- func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Next() error
- func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool
- func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
- func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value() DataCollectionRuleAssociationProxyOnlyResource
- type DataCollectionRuleAssociationProxyOnlyResourceListResultPage
- func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Next() error
- func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone() bool
- func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
- func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values() []DataCollectionRuleAssociationProxyOnlyResource
- type DataCollectionRuleAssociationProxyOnlyResourceProperties
- type DataCollectionRuleAssociationsClient
- func (client DataCollectionRuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, ...) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
- func (client DataCollectionRuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, ...) (*http.Request, error)
- func (client DataCollectionRuleAssociationsClient) CreateResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
- func (client DataCollectionRuleAssociationsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRuleAssociationsClient) Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)
- func (client DataCollectionRuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
- func (client DataCollectionRuleAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataCollectionRuleAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
- func (client DataCollectionRuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
- func (client DataCollectionRuleAssociationsClient) GetResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
- func (client DataCollectionRuleAssociationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
- func (client DataCollectionRuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, ...)
- func (client DataCollectionRuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)
- func (client DataCollectionRuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
- func (client DataCollectionRuleAssociationsClient) ListByResourceSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
- func (client DataCollectionRuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, ...)
- func (client DataCollectionRuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
- func (client DataCollectionRuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
- func (client DataCollectionRuleAssociationsClient) ListByRuleSender(req *http.Request) (*http.Response, error)
- type DataCollectionRuleDataSources
- type DataCollectionRuleDestinations
- type DataCollectionRuleResource
- type DataCollectionRuleResourceListResult
- type DataCollectionRuleResourceListResultIterator
- func (iter *DataCollectionRuleResourceListResultIterator) Next() error
- func (iter *DataCollectionRuleResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DataCollectionRuleResourceListResultIterator) NotDone() bool
- func (iter DataCollectionRuleResourceListResultIterator) Response() DataCollectionRuleResourceListResult
- func (iter DataCollectionRuleResourceListResultIterator) Value() DataCollectionRuleResource
- type DataCollectionRuleResourceListResultPage
- func (page *DataCollectionRuleResourceListResultPage) Next() error
- func (page *DataCollectionRuleResourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DataCollectionRuleResourceListResultPage) NotDone() bool
- func (page DataCollectionRuleResourceListResultPage) Response() DataCollectionRuleResourceListResult
- func (page DataCollectionRuleResourceListResultPage) Values() []DataCollectionRuleResource
- type DataCollectionRuleResourceProperties
- type DataCollectionRulesClient
- func (client DataCollectionRulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, ...) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, ...) (*http.Request, error)
- func (client DataCollectionRulesClient) CreateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRulesClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)
- func (client DataCollectionRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
- func (client DataCollectionRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataCollectionRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
- func (client DataCollectionRulesClient) GetResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultPage, err error)
- func (client DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultIterator, err error)
- func (client DataCollectionRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DataCollectionRulesClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
- func (client DataCollectionRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRulesClient) ListBySubscription(ctx context.Context) (result DataCollectionRuleResourceListResultPage, err error)
- func (client DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionRuleResourceListResultIterator, err error)
- func (client DataCollectionRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client DataCollectionRulesClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
- func (client DataCollectionRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client DataCollectionRulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, ...) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, ...) (*http.Request, error)
- func (client DataCollectionRulesClient) UpdateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
- func (client DataCollectionRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DataFlow
- type DataSourcesSpec
- type DestinationsSpec
- type DestinationsSpecAzureMonitorMetrics
- type ErrorAdditionalInfo
- type ErrorDetails
- type ErrorResponse
- type ErrorResponseError
- type ExtensionDataSource
- type KnownDataCollectionRuleAssociationProvisioningState
- type KnownDataCollectionRuleProvisioningState
- type KnownDataFlowStreams
- type KnownExtensionDataSourceStreams
- type KnownPerfCounterDataSourceScheduledTransferPeriod
- type KnownPerfCounterDataSourceStreams
- type KnownSyslogDataSourceFacilityNames
- type KnownSyslogDataSourceLogLevels
- type KnownSyslogDataSourceStreams
- type KnownWindowsEventLogDataSourceScheduledTransferPeriod
- type KnownWindowsEventLogDataSourceStreams
- type LogAnalyticsDestination
- type PerfCounterDataSource
- type ResourceForUpdate
- type SyslogDataSource
- type WindowsEventLogDataSource
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Insights
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
type AzureMonitorMetricsDestination ¶
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"` }
AzureMonitorMetricsDestination azure Monitor Metrics destination.
type BaseClient ¶
BaseClient is the base client for Insights.
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 DataCollectionRule ¶
type DataCollectionRule struct { // Description - Description of the data collection rule. Description *string `json:"description,omitempty"` // 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 *DataCollectionRuleDataSources `json:"dataSources,omitempty"` // Destinations - The specification of destinations. Destinations *DataCollectionRuleDestinations `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"` }
DataCollectionRule definition of what monitoring data to collect and where that data should be sent.
func (DataCollectionRule) MarshalJSON ¶
func (dcr DataCollectionRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRule.
type DataCollectionRuleAssociation ¶
type DataCollectionRuleAssociation 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"` // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed' ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"` }
DataCollectionRuleAssociation definition of association of a data collection rule with a monitored Azure resource.
func (DataCollectionRuleAssociation) MarshalJSON ¶
func (dcra DataCollectionRuleAssociation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRuleAssociation.
type DataCollectionRuleAssociationProxyOnlyResource ¶
type DataCollectionRuleAssociationProxyOnlyResource struct { autorest.Response `json:"-"` // DataCollectionRuleAssociationProxyOnlyResourceProperties - Resource properties. *DataCollectionRuleAssociationProxyOnlyResourceProperties `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"` }
DataCollectionRuleAssociationProxyOnlyResource definition of generic ARM proxy resource.
func (DataCollectionRuleAssociationProxyOnlyResource) MarshalJSON ¶
func (dcrapor DataCollectionRuleAssociationProxyOnlyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRuleAssociationProxyOnlyResource.
func (*DataCollectionRuleAssociationProxyOnlyResource) UnmarshalJSON ¶
func (dcrapor *DataCollectionRuleAssociationProxyOnlyResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataCollectionRuleAssociationProxyOnlyResource struct.
type DataCollectionRuleAssociationProxyOnlyResourceListResult ¶
type DataCollectionRuleAssociationProxyOnlyResourceListResult struct { autorest.Response `json:"-"` // Value - A list of resources. Value *[]DataCollectionRuleAssociationProxyOnlyResource `json:"value,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
DataCollectionRuleAssociationProxyOnlyResourceListResult a pageable list of resources.
func (DataCollectionRuleAssociationProxyOnlyResourceListResult) IsEmpty ¶
func (dcraporlr DataCollectionRuleAssociationProxyOnlyResourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator ¶
type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator struct {
// contains filtered or unexported fields
}
DataCollectionRuleAssociationProxyOnlyResourceListResultIterator provides access to a complete listing of DataCollectionRuleAssociationProxyOnlyResource values.
func NewDataCollectionRuleAssociationProxyOnlyResourceListResultIterator ¶
func NewDataCollectionRuleAssociationProxyOnlyResourceListResultIterator(page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) DataCollectionRuleAssociationProxyOnlyResourceListResultIterator
Creates a new instance of the DataCollectionRuleAssociationProxyOnlyResourceListResultIterator type.
func (*DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Next ¶
func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) 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 (*DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NextWithContext ¶
func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) 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 (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone ¶
func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response ¶
func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
Response returns the raw server response from the last page request.
func (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value ¶
func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value() DataCollectionRuleAssociationProxyOnlyResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DataCollectionRuleAssociationProxyOnlyResourceListResultPage ¶
type DataCollectionRuleAssociationProxyOnlyResourceListResultPage struct {
// contains filtered or unexported fields
}
DataCollectionRuleAssociationProxyOnlyResourceListResultPage contains a page of DataCollectionRuleAssociationProxyOnlyResource values.
func NewDataCollectionRuleAssociationProxyOnlyResourceListResultPage ¶
func NewDataCollectionRuleAssociationProxyOnlyResourceListResultPage(cur DataCollectionRuleAssociationProxyOnlyResourceListResult, getNextPage func(context.Context, DataCollectionRuleAssociationProxyOnlyResourceListResult) (DataCollectionRuleAssociationProxyOnlyResourceListResult, error)) DataCollectionRuleAssociationProxyOnlyResourceListResultPage
Creates a new instance of the DataCollectionRuleAssociationProxyOnlyResourceListResultPage type.
func (*DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Next ¶
func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) 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 (*DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NextWithContext ¶
func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) 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 (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone ¶
func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response ¶
func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
Response returns the raw server response from the last page request.
func (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values ¶
func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values() []DataCollectionRuleAssociationProxyOnlyResource
Values returns the slice of values for the current page or nil if there are no values.
type DataCollectionRuleAssociationProxyOnlyResourceProperties ¶
type DataCollectionRuleAssociationProxyOnlyResourceProperties 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"` // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed' ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"` }
DataCollectionRuleAssociationProxyOnlyResourceProperties resource properties.
func (DataCollectionRuleAssociationProxyOnlyResourceProperties) MarshalJSON ¶
func (dcrapor DataCollectionRuleAssociationProxyOnlyResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRuleAssociationProxyOnlyResourceProperties.
type DataCollectionRuleAssociationsClient ¶
type DataCollectionRuleAssociationsClient struct {
BaseClient
}
DataCollectionRuleAssociationsClient is the monitor Management Client
func NewDataCollectionRuleAssociationsClient ¶
func NewDataCollectionRuleAssociationsClient(subscriptionID string) DataCollectionRuleAssociationsClient
NewDataCollectionRuleAssociationsClient creates an instance of the DataCollectionRuleAssociationsClient client.
func NewDataCollectionRuleAssociationsClientWithBaseURI ¶
func NewDataCollectionRuleAssociationsClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRuleAssociationsClient
NewDataCollectionRuleAssociationsClientWithBaseURI creates an instance of the DataCollectionRuleAssociationsClient 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 (DataCollectionRuleAssociationsClient) Create ¶
func (client DataCollectionRuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
Create sends the create request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. body - the payload
func (DataCollectionRuleAssociationsClient) CreatePreparer ¶
func (client DataCollectionRuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (DataCollectionRuleAssociationsClient) CreateResponder ¶
func (client DataCollectionRuleAssociationsClient) CreateResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (DataCollectionRuleAssociationsClient) CreateSender ¶
func (client DataCollectionRuleAssociationsClient) 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 (DataCollectionRuleAssociationsClient) Delete ¶
func (client DataCollectionRuleAssociationsClient) 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.
func (DataCollectionRuleAssociationsClient) DeletePreparer ¶
func (client DataCollectionRuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DataCollectionRuleAssociationsClient) DeleteResponder ¶
func (client DataCollectionRuleAssociationsClient) 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 (DataCollectionRuleAssociationsClient) DeleteSender ¶
func (client DataCollectionRuleAssociationsClient) 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 (DataCollectionRuleAssociationsClient) Get ¶
func (client DataCollectionRuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
Get sends the get request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association.
func (DataCollectionRuleAssociationsClient) GetPreparer ¶
func (client DataCollectionRuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataCollectionRuleAssociationsClient) GetResponder ¶
func (client DataCollectionRuleAssociationsClient) GetResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DataCollectionRuleAssociationsClient) GetSender ¶
func (client DataCollectionRuleAssociationsClient) 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 (DataCollectionRuleAssociationsClient) ListByResource ¶
func (client DataCollectionRuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
ListByResource sends the list by resource request. Parameters: resourceURI - the identifier of the resource.
func (DataCollectionRuleAssociationsClient) ListByResourceComplete ¶
func (client DataCollectionRuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.
func (DataCollectionRuleAssociationsClient) ListByResourcePreparer ¶
func (client DataCollectionRuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)
ListByResourcePreparer prepares the ListByResource request.
func (DataCollectionRuleAssociationsClient) ListByResourceResponder ¶
func (client DataCollectionRuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.
func (DataCollectionRuleAssociationsClient) ListByResourceSender ¶
func (client DataCollectionRuleAssociationsClient) 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 (DataCollectionRuleAssociationsClient) ListByRule ¶
func (client DataCollectionRuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, 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 (DataCollectionRuleAssociationsClient) ListByRuleComplete ¶
func (client DataCollectionRuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
ListByRuleComplete enumerates all values, automatically crossing page boundaries as required.
func (DataCollectionRuleAssociationsClient) ListByRulePreparer ¶
func (client DataCollectionRuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
ListByRulePreparer prepares the ListByRule request.
func (DataCollectionRuleAssociationsClient) ListByRuleResponder ¶
func (client DataCollectionRuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
ListByRuleResponder handles the response to the ListByRule request. The method always closes the http.Response Body.
func (DataCollectionRuleAssociationsClient) ListByRuleSender ¶
func (client DataCollectionRuleAssociationsClient) 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 DataCollectionRuleDataSources ¶
type DataCollectionRuleDataSources 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"` }
DataCollectionRuleDataSources 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 DataCollectionRuleDestinations ¶
type DataCollectionRuleDestinations struct { // LogAnalytics - List of Log Analytics destinations. LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"` // AzureMonitorMetrics - Azure Monitor Metrics destination. AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"` }
DataCollectionRuleDestinations the specification of destinations.
type DataCollectionRuleResource ¶
type DataCollectionRuleResource struct { autorest.Response `json:"-"` // DataCollectionRuleResourceProperties - Resource properties. *DataCollectionRuleResourceProperties `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"` // 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"` }
DataCollectionRuleResource definition of ARM tracked top level resource.
func (DataCollectionRuleResource) MarshalJSON ¶
func (dcrr DataCollectionRuleResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRuleResource.
func (*DataCollectionRuleResource) UnmarshalJSON ¶
func (dcrr *DataCollectionRuleResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataCollectionRuleResource struct.
type DataCollectionRuleResourceListResult ¶
type DataCollectionRuleResourceListResult struct { autorest.Response `json:"-"` // Value - A list of resources. Value *[]DataCollectionRuleResource `json:"value,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
DataCollectionRuleResourceListResult a pageable list of resources.
func (DataCollectionRuleResourceListResult) IsEmpty ¶
func (dcrrlr DataCollectionRuleResourceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DataCollectionRuleResourceListResultIterator ¶
type DataCollectionRuleResourceListResultIterator struct {
// contains filtered or unexported fields
}
DataCollectionRuleResourceListResultIterator provides access to a complete listing of DataCollectionRuleResource values.
func NewDataCollectionRuleResourceListResultIterator ¶
func NewDataCollectionRuleResourceListResultIterator(page DataCollectionRuleResourceListResultPage) DataCollectionRuleResourceListResultIterator
Creates a new instance of the DataCollectionRuleResourceListResultIterator type.
func (*DataCollectionRuleResourceListResultIterator) Next ¶
func (iter *DataCollectionRuleResourceListResultIterator) 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 (*DataCollectionRuleResourceListResultIterator) NextWithContext ¶
func (iter *DataCollectionRuleResourceListResultIterator) 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 (DataCollectionRuleResourceListResultIterator) NotDone ¶
func (iter DataCollectionRuleResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DataCollectionRuleResourceListResultIterator) Response ¶
func (iter DataCollectionRuleResourceListResultIterator) Response() DataCollectionRuleResourceListResult
Response returns the raw server response from the last page request.
func (DataCollectionRuleResourceListResultIterator) Value ¶
func (iter DataCollectionRuleResourceListResultIterator) Value() DataCollectionRuleResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DataCollectionRuleResourceListResultPage ¶
type DataCollectionRuleResourceListResultPage struct {
// contains filtered or unexported fields
}
DataCollectionRuleResourceListResultPage contains a page of DataCollectionRuleResource values.
func NewDataCollectionRuleResourceListResultPage ¶
func NewDataCollectionRuleResourceListResultPage(cur DataCollectionRuleResourceListResult, getNextPage func(context.Context, DataCollectionRuleResourceListResult) (DataCollectionRuleResourceListResult, error)) DataCollectionRuleResourceListResultPage
Creates a new instance of the DataCollectionRuleResourceListResultPage type.
func (*DataCollectionRuleResourceListResultPage) Next ¶
func (page *DataCollectionRuleResourceListResultPage) 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 (*DataCollectionRuleResourceListResultPage) NextWithContext ¶
func (page *DataCollectionRuleResourceListResultPage) 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 (DataCollectionRuleResourceListResultPage) NotDone ¶
func (page DataCollectionRuleResourceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DataCollectionRuleResourceListResultPage) Response ¶
func (page DataCollectionRuleResourceListResultPage) Response() DataCollectionRuleResourceListResult
Response returns the raw server response from the last page request.
func (DataCollectionRuleResourceListResultPage) Values ¶
func (page DataCollectionRuleResourceListResultPage) Values() []DataCollectionRuleResource
Values returns the slice of values for the current page or nil if there are no values.
type DataCollectionRuleResourceProperties ¶
type DataCollectionRuleResourceProperties struct { // Description - Description of the data collection rule. Description *string `json:"description,omitempty"` // 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 *DataCollectionRuleDataSources `json:"dataSources,omitempty"` // Destinations - The specification of destinations. Destinations *DataCollectionRuleDestinations `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"` }
DataCollectionRuleResourceProperties resource properties.
func (DataCollectionRuleResourceProperties) MarshalJSON ¶
func (dcrr DataCollectionRuleResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataCollectionRuleResourceProperties.
type DataCollectionRulesClient ¶
type DataCollectionRulesClient struct {
BaseClient
}
DataCollectionRulesClient is the monitor Management Client
func NewDataCollectionRulesClient ¶
func NewDataCollectionRulesClient(subscriptionID string) DataCollectionRulesClient
NewDataCollectionRulesClient creates an instance of the DataCollectionRulesClient client.
func NewDataCollectionRulesClientWithBaseURI ¶
func NewDataCollectionRulesClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRulesClient
NewDataCollectionRulesClientWithBaseURI creates an instance of the DataCollectionRulesClient 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 (DataCollectionRulesClient) Create ¶
func (client DataCollectionRulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (result DataCollectionRuleResource, 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 (DataCollectionRulesClient) CreatePreparer ¶
func (client DataCollectionRulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (DataCollectionRulesClient) CreateResponder ¶
func (client DataCollectionRulesClient) CreateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (DataCollectionRulesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (DataCollectionRulesClient) Delete ¶
func (client DataCollectionRulesClient) 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 (DataCollectionRulesClient) DeletePreparer ¶
func (client DataCollectionRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DataCollectionRulesClient) DeleteResponder ¶
func (client DataCollectionRulesClient) 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 (DataCollectionRulesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DataCollectionRulesClient) Get ¶
func (client DataCollectionRulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleResource, 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 (DataCollectionRulesClient) GetPreparer ¶
func (client DataCollectionRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataCollectionRulesClient) GetResponder ¶
func (client DataCollectionRulesClient) GetResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DataCollectionRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DataCollectionRulesClient) ListByResourceGroup ¶
func (client DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultPage, err error)
ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (DataCollectionRulesClient) ListByResourceGroupComplete ¶
func (client DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DataCollectionRulesClient) ListByResourceGroupPreparer ¶
func (client DataCollectionRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DataCollectionRulesClient) ListByResourceGroupResponder ¶
func (client DataCollectionRulesClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (DataCollectionRulesClient) ListByResourceGroupSender ¶
func (client DataCollectionRulesClient) 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 (DataCollectionRulesClient) ListBySubscription ¶
func (client DataCollectionRulesClient) ListBySubscription(ctx context.Context) (result DataCollectionRuleResourceListResultPage, err error)
ListBySubscription sends the list by subscription request.
func (DataCollectionRulesClient) ListBySubscriptionComplete ¶
func (client DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionRuleResourceListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (DataCollectionRulesClient) ListBySubscriptionPreparer ¶
func (client DataCollectionRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (DataCollectionRulesClient) ListBySubscriptionResponder ¶
func (client DataCollectionRulesClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (DataCollectionRulesClient) ListBySubscriptionSender ¶
func (client DataCollectionRulesClient) 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 (DataCollectionRulesClient) Update ¶
func (client DataCollectionRulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (result DataCollectionRuleResource, 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 (DataCollectionRulesClient) UpdatePreparer ¶
func (client DataCollectionRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DataCollectionRulesClient) UpdateResponder ¶
func (client DataCollectionRulesClient) UpdateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DataCollectionRulesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DataFlow ¶
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"` }
DataFlow definition of which streams are sent to which destinations.
type DataSourcesSpec ¶
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"` }
DataSourcesSpec specification of data sources that will be collected.
type DestinationsSpec ¶
type DestinationsSpec struct { // LogAnalytics - List of Log Analytics destinations. LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"` // AzureMonitorMetrics - Azure Monitor Metrics destination. AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"` }
DestinationsSpec specification of destinations that can be used in data flows.
type DestinationsSpecAzureMonitorMetrics ¶
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"` }
DestinationsSpecAzureMonitorMetrics azure Monitor Metrics destination.
type ErrorAdditionalInfo ¶
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"` }
ErrorAdditionalInfo additional information for common error response.
type ErrorDetails ¶
type ErrorDetails struct { // Code - READ-ONLY; Error code which can be used to programmatically identify the class of error. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Describes the error in detail and provides debugging information. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The target of the particular error (for example, the name of the property in error). Target *string `json:"target,omitempty"` // Details - READ-ONLY; Additional nested error detail objects. Details *[]ErrorDetails `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; Additional error information. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorDetails common error details.
type ErrorResponse ¶
type ErrorResponse struct { // Error - READ-ONLY; Error details. Error *ErrorResponseError `json:"error,omitempty"` }
ErrorResponse common error response.
type ErrorResponseError ¶
type ErrorResponseError struct { // Code - READ-ONLY; Error code which can be used to programmatically identify the class of error. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Describes the error in detail and provides debugging information. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The target of the particular error (for example, the name of the property in error). Target *string `json:"target,omitempty"` // Details - READ-ONLY; Additional nested error detail objects. Details *[]ErrorDetails `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; Additional error information. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorResponseError error details.
type ExtensionDataSource ¶
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"` // 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"` }
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 KnownDataCollectionRuleAssociationProvisioningState ¶
type KnownDataCollectionRuleAssociationProvisioningState string
KnownDataCollectionRuleAssociationProvisioningState enumerates the values for known data collection rule association provisioning state.
const ( // Creating ... Creating KnownDataCollectionRuleAssociationProvisioningState = "Creating" // Deleting ... Deleting KnownDataCollectionRuleAssociationProvisioningState = "Deleting" // Failed ... Failed KnownDataCollectionRuleAssociationProvisioningState = "Failed" // Succeeded ... Succeeded KnownDataCollectionRuleAssociationProvisioningState = "Succeeded" // Updating ... Updating KnownDataCollectionRuleAssociationProvisioningState = "Updating" )
func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues ¶
func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState
PossibleKnownDataCollectionRuleAssociationProvisioningStateValues returns an array of possible values for the KnownDataCollectionRuleAssociationProvisioningState const type.
type KnownDataCollectionRuleProvisioningState ¶
type KnownDataCollectionRuleProvisioningState string
KnownDataCollectionRuleProvisioningState enumerates the values for known data collection rule provisioning state.
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 KnownDataFlowStreams ¶
type KnownDataFlowStreams string
KnownDataFlowStreams enumerates the values for known data flow streams.
const ( // MicrosoftAntiMalwareStatus ... MicrosoftAntiMalwareStatus KnownDataFlowStreams = "Microsoft-AntiMalwareStatus" // MicrosoftAuditd ... MicrosoftAuditd KnownDataFlowStreams = "Microsoft-Auditd" // MicrosoftCISCOASA ... MicrosoftCISCOASA KnownDataFlowStreams = "Microsoft-CISCOASA" // MicrosoftCommonSecurityLog ... MicrosoftCommonSecurityLog KnownDataFlowStreams = "Microsoft-CommonSecurityLog" // MicrosoftComputerGroup ... MicrosoftComputerGroup KnownDataFlowStreams = "Microsoft-ComputerGroup" // MicrosoftEvent ... MicrosoftEvent KnownDataFlowStreams = "Microsoft-Event" // MicrosoftFirewallLog ... MicrosoftFirewallLog KnownDataFlowStreams = "Microsoft-FirewallLog" // MicrosoftHealthStateChange ... MicrosoftHealthStateChange KnownDataFlowStreams = "Microsoft-HealthStateChange" // MicrosoftHeartbeat ... MicrosoftHeartbeat KnownDataFlowStreams = "Microsoft-Heartbeat" // MicrosoftInsightsMetrics ... MicrosoftInsightsMetrics KnownDataFlowStreams = "Microsoft-InsightsMetrics" // MicrosoftOperationLog ... MicrosoftOperationLog KnownDataFlowStreams = "Microsoft-OperationLog" // MicrosoftPerf ... MicrosoftPerf KnownDataFlowStreams = "Microsoft-Perf" // MicrosoftProcessInvestigator ... MicrosoftProcessInvestigator KnownDataFlowStreams = "Microsoft-ProcessInvestigator" // MicrosoftProtectionStatus ... MicrosoftProtectionStatus KnownDataFlowStreams = "Microsoft-ProtectionStatus" // MicrosoftRomeDetectionEvent ... MicrosoftRomeDetectionEvent KnownDataFlowStreams = "Microsoft-RomeDetectionEvent" // MicrosoftSecurityBaseline ... MicrosoftSecurityBaseline KnownDataFlowStreams = "Microsoft-SecurityBaseline" // MicrosoftSecurityBaselineSummary ... MicrosoftSecurityBaselineSummary KnownDataFlowStreams = "Microsoft-SecurityBaselineSummary" // MicrosoftSecurityEvent ... MicrosoftSecurityEvent KnownDataFlowStreams = "Microsoft-SecurityEvent" // MicrosoftSyslog ... MicrosoftSyslog KnownDataFlowStreams = "Microsoft-Syslog" // MicrosoftWindowsEvent ... MicrosoftWindowsEvent KnownDataFlowStreams = "Microsoft-WindowsEvent" )
func PossibleKnownDataFlowStreamsValues ¶
func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams
PossibleKnownDataFlowStreamsValues returns an array of possible values for the KnownDataFlowStreams const type.
type KnownExtensionDataSourceStreams ¶
type KnownExtensionDataSourceStreams string
KnownExtensionDataSourceStreams enumerates the values for known extension data source streams.
const ( // KnownExtensionDataSourceStreamsMicrosoftAntiMalwareStatus ... KnownExtensionDataSourceStreamsMicrosoftAntiMalwareStatus KnownExtensionDataSourceStreams = "Microsoft-AntiMalwareStatus" // KnownExtensionDataSourceStreamsMicrosoftAuditd ... KnownExtensionDataSourceStreamsMicrosoftAuditd KnownExtensionDataSourceStreams = "Microsoft-Auditd" // KnownExtensionDataSourceStreamsMicrosoftCISCOASA ... KnownExtensionDataSourceStreamsMicrosoftCISCOASA KnownExtensionDataSourceStreams = "Microsoft-CISCOASA" // KnownExtensionDataSourceStreamsMicrosoftCommonSecurityLog ... KnownExtensionDataSourceStreamsMicrosoftCommonSecurityLog KnownExtensionDataSourceStreams = "Microsoft-CommonSecurityLog" // KnownExtensionDataSourceStreamsMicrosoftComputerGroup ... KnownExtensionDataSourceStreamsMicrosoftComputerGroup KnownExtensionDataSourceStreams = "Microsoft-ComputerGroup" // KnownExtensionDataSourceStreamsMicrosoftEvent ... KnownExtensionDataSourceStreamsMicrosoftEvent KnownExtensionDataSourceStreams = "Microsoft-Event" // KnownExtensionDataSourceStreamsMicrosoftFirewallLog ... KnownExtensionDataSourceStreamsMicrosoftFirewallLog KnownExtensionDataSourceStreams = "Microsoft-FirewallLog" // KnownExtensionDataSourceStreamsMicrosoftHealthStateChange ... KnownExtensionDataSourceStreamsMicrosoftHealthStateChange KnownExtensionDataSourceStreams = "Microsoft-HealthStateChange" // KnownExtensionDataSourceStreamsMicrosoftHeartbeat ... KnownExtensionDataSourceStreamsMicrosoftHeartbeat KnownExtensionDataSourceStreams = "Microsoft-Heartbeat" // KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics ... KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics KnownExtensionDataSourceStreams = "Microsoft-InsightsMetrics" // KnownExtensionDataSourceStreamsMicrosoftOperationLog ... KnownExtensionDataSourceStreamsMicrosoftOperationLog KnownExtensionDataSourceStreams = "Microsoft-OperationLog" // KnownExtensionDataSourceStreamsMicrosoftPerf ... KnownExtensionDataSourceStreamsMicrosoftPerf KnownExtensionDataSourceStreams = "Microsoft-Perf" // KnownExtensionDataSourceStreamsMicrosoftProcessInvestigator ... KnownExtensionDataSourceStreamsMicrosoftProcessInvestigator KnownExtensionDataSourceStreams = "Microsoft-ProcessInvestigator" // KnownExtensionDataSourceStreamsMicrosoftProtectionStatus ... KnownExtensionDataSourceStreamsMicrosoftProtectionStatus KnownExtensionDataSourceStreams = "Microsoft-ProtectionStatus" // KnownExtensionDataSourceStreamsMicrosoftRomeDetectionEvent ... KnownExtensionDataSourceStreamsMicrosoftRomeDetectionEvent KnownExtensionDataSourceStreams = "Microsoft-RomeDetectionEvent" // KnownExtensionDataSourceStreamsMicrosoftSecurityBaseline ... KnownExtensionDataSourceStreamsMicrosoftSecurityBaseline KnownExtensionDataSourceStreams = "Microsoft-SecurityBaseline" // KnownExtensionDataSourceStreamsMicrosoftSecurityBaselineSummary ... KnownExtensionDataSourceStreamsMicrosoftSecurityBaselineSummary KnownExtensionDataSourceStreams = "Microsoft-SecurityBaselineSummary" // KnownExtensionDataSourceStreamsMicrosoftSecurityEvent ... KnownExtensionDataSourceStreamsMicrosoftSecurityEvent KnownExtensionDataSourceStreams = "Microsoft-SecurityEvent" // 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 KnownPerfCounterDataSourceScheduledTransferPeriod ¶
type KnownPerfCounterDataSourceScheduledTransferPeriod string
KnownPerfCounterDataSourceScheduledTransferPeriod enumerates the values for known perf counter data source scheduled transfer period.
const ( // PT15M ... PT15M KnownPerfCounterDataSourceScheduledTransferPeriod = "PT15M" // PT1M ... PT1M KnownPerfCounterDataSourceScheduledTransferPeriod = "PT1M" // PT30M ... PT30M KnownPerfCounterDataSourceScheduledTransferPeriod = "PT30M" // PT5M ... PT5M KnownPerfCounterDataSourceScheduledTransferPeriod = "PT5M" // PT60M ... PT60M KnownPerfCounterDataSourceScheduledTransferPeriod = "PT60M" )
func PossibleKnownPerfCounterDataSourceScheduledTransferPeriodValues ¶
func PossibleKnownPerfCounterDataSourceScheduledTransferPeriodValues() []KnownPerfCounterDataSourceScheduledTransferPeriod
PossibleKnownPerfCounterDataSourceScheduledTransferPeriodValues returns an array of possible values for the KnownPerfCounterDataSourceScheduledTransferPeriod const type.
type KnownPerfCounterDataSourceStreams ¶
type KnownPerfCounterDataSourceStreams string
KnownPerfCounterDataSourceStreams enumerates the values for known perf counter data source streams.
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 KnownSyslogDataSourceFacilityNames ¶
type KnownSyslogDataSourceFacilityNames string
KnownSyslogDataSourceFacilityNames enumerates the values for known syslog data source facility names.
const ( // Auth ... Auth KnownSyslogDataSourceFacilityNames = "auth" // Authpriv ... Authpriv KnownSyslogDataSourceFacilityNames = "authpriv" // Cron ... Cron KnownSyslogDataSourceFacilityNames = "cron" // Daemon ... Daemon KnownSyslogDataSourceFacilityNames = "daemon" // Kern ... Kern KnownSyslogDataSourceFacilityNames = "kern" // Local0 ... Local0 KnownSyslogDataSourceFacilityNames = "local0" // Local1 ... Local1 KnownSyslogDataSourceFacilityNames = "local1" // Local2 ... Local2 KnownSyslogDataSourceFacilityNames = "local2" // Local3 ... Local3 KnownSyslogDataSourceFacilityNames = "local3" // Local4 ... Local4 KnownSyslogDataSourceFacilityNames = "local4" // Local5 ... Local5 KnownSyslogDataSourceFacilityNames = "local5" // Local6 ... Local6 KnownSyslogDataSourceFacilityNames = "local6" // Local7 ... Local7 KnownSyslogDataSourceFacilityNames = "local7" // Lpr ... Lpr KnownSyslogDataSourceFacilityNames = "lpr" // Mail ... Mail KnownSyslogDataSourceFacilityNames = "mail" // Mark ... Mark KnownSyslogDataSourceFacilityNames = "mark" // News ... News KnownSyslogDataSourceFacilityNames = "news" // Syslog ... Syslog KnownSyslogDataSourceFacilityNames = "syslog" // User ... User KnownSyslogDataSourceFacilityNames = "user" // UUCP ... UUCP KnownSyslogDataSourceFacilityNames = "UUCP" )
func PossibleKnownSyslogDataSourceFacilityNamesValues ¶
func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames
PossibleKnownSyslogDataSourceFacilityNamesValues returns an array of possible values for the KnownSyslogDataSourceFacilityNames const type.
type KnownSyslogDataSourceLogLevels ¶
type KnownSyslogDataSourceLogLevels string
KnownSyslogDataSourceLogLevels enumerates the values for known syslog data source log levels.
const ( // Alert ... Alert KnownSyslogDataSourceLogLevels = "Alert" // Critical ... Critical KnownSyslogDataSourceLogLevels = "Critical" // Debug ... Debug KnownSyslogDataSourceLogLevels = "Debug" // Emergency ... Emergency KnownSyslogDataSourceLogLevels = "Emergency" // Error ... Error KnownSyslogDataSourceLogLevels = "Error" // Info ... Info KnownSyslogDataSourceLogLevels = "Info" // Notice ... Notice KnownSyslogDataSourceLogLevels = "Notice" // Warning ... Warning KnownSyslogDataSourceLogLevels = "Warning" )
func PossibleKnownSyslogDataSourceLogLevelsValues ¶
func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels
PossibleKnownSyslogDataSourceLogLevelsValues returns an array of possible values for the KnownSyslogDataSourceLogLevels const type.
type KnownSyslogDataSourceStreams ¶
type KnownSyslogDataSourceStreams string
KnownSyslogDataSourceStreams enumerates the values for known syslog data source streams.
const ( // KnownSyslogDataSourceStreamsMicrosoftSyslog ... KnownSyslogDataSourceStreamsMicrosoftSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog" )
func PossibleKnownSyslogDataSourceStreamsValues ¶
func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams
PossibleKnownSyslogDataSourceStreamsValues returns an array of possible values for the KnownSyslogDataSourceStreams const type.
type KnownWindowsEventLogDataSourceScheduledTransferPeriod ¶
type KnownWindowsEventLogDataSourceScheduledTransferPeriod string
KnownWindowsEventLogDataSourceScheduledTransferPeriod enumerates the values for known windows event log data source scheduled transfer period.
const ( // KnownWindowsEventLogDataSourceScheduledTransferPeriodPT15M ... KnownWindowsEventLogDataSourceScheduledTransferPeriodPT15M KnownWindowsEventLogDataSourceScheduledTransferPeriod = "PT15M" // KnownWindowsEventLogDataSourceScheduledTransferPeriodPT1M ... KnownWindowsEventLogDataSourceScheduledTransferPeriodPT1M KnownWindowsEventLogDataSourceScheduledTransferPeriod = "PT1M" // KnownWindowsEventLogDataSourceScheduledTransferPeriodPT30M ... KnownWindowsEventLogDataSourceScheduledTransferPeriodPT30M KnownWindowsEventLogDataSourceScheduledTransferPeriod = "PT30M" // KnownWindowsEventLogDataSourceScheduledTransferPeriodPT5M ... KnownWindowsEventLogDataSourceScheduledTransferPeriodPT5M KnownWindowsEventLogDataSourceScheduledTransferPeriod = "PT5M" // KnownWindowsEventLogDataSourceScheduledTransferPeriodPT60M ... KnownWindowsEventLogDataSourceScheduledTransferPeriodPT60M KnownWindowsEventLogDataSourceScheduledTransferPeriod = "PT60M" )
func PossibleKnownWindowsEventLogDataSourceScheduledTransferPeriodValues ¶
func PossibleKnownWindowsEventLogDataSourceScheduledTransferPeriodValues() []KnownWindowsEventLogDataSourceScheduledTransferPeriod
PossibleKnownWindowsEventLogDataSourceScheduledTransferPeriodValues returns an array of possible values for the KnownWindowsEventLogDataSourceScheduledTransferPeriod const type.
type KnownWindowsEventLogDataSourceStreams ¶
type KnownWindowsEventLogDataSourceStreams string
KnownWindowsEventLogDataSourceStreams enumerates the values for known windows event log data source streams.
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 ¶
type LogAnalyticsDestination struct { // WorkspaceResourceID - The resource ID of the Log Analytics workspace. WorkspaceResourceID *string `json:"workspaceResourceId,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"` }
LogAnalyticsDestination log Analytics destination.
type PerfCounterDataSource ¶
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"` // ScheduledTransferPeriod - The interval between data uploads (scheduled transfers), rounded up to the nearest minute. Possible values include: 'PT1M', 'PT5M', 'PT15M', 'PT30M', 'PT60M' ScheduledTransferPeriod KnownPerfCounterDataSourceScheduledTransferPeriod `json:"scheduledTransferPeriod,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"` }
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 ResourceForUpdate ¶
ResourceForUpdate definition of ARM tracked top level resource properties for update operation.
func (ResourceForUpdate) MarshalJSON ¶
func (rfu ResourceForUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceForUpdate.
type SyslogDataSource ¶
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"` }
SyslogDataSource definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines.
type WindowsEventLogDataSource ¶
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"` // ScheduledTransferPeriod - The interval between data uploads (scheduled transfers), rounded up to the nearest minute. Possible values include: 'KnownWindowsEventLogDataSourceScheduledTransferPeriodPT1M', 'KnownWindowsEventLogDataSourceScheduledTransferPeriodPT5M', 'KnownWindowsEventLogDataSourceScheduledTransferPeriodPT15M', 'KnownWindowsEventLogDataSourceScheduledTransferPeriodPT30M', 'KnownWindowsEventLogDataSourceScheduledTransferPeriodPT60M' ScheduledTransferPeriod KnownWindowsEventLogDataSourceScheduledTransferPeriod `json:"scheduledTransferPeriod,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"` }
WindowsEventLogDataSource definition of which Windows Event Log events will be collected and how they will be collected. Only collected from Windows machines.