共用方式為


DataCollectionRule Class

Definition

Low-level API implementation for the DataCollectionRule service. Provides operations for working with Azure Monitor data collection endpoints

public class DataCollectionRule
type DataCollectionRule = class
Public Class DataCollectionRule
Inheritance
DataCollectionRule

Constructors

DataCollectionRule()

Methods

DataCollectionEndpointsCreate(String, String, String, IDataCollectionEndpointResource, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

create a data collection endpoint.

DataCollectionEndpointsCreateViaIdentity(String, IDataCollectionEndpointResource, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

create a data collection endpoint.

DataCollectionEndpointsCreateViaIdentityWithResult(String, IDataCollectionEndpointResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionEndpointsCreateViaJsonString(String, String, String, String, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

create a data collection endpoint.

DataCollectionEndpointsCreateViaJsonStringWithResult(String, String, String, String, IEventListener, ISendAsync)
DataCollectionEndpointsCreateWithResult(String, String, String, IDataCollectionEndpointResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionEndpointsDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes a data collection endpoint.

DataCollectionEndpointsDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes a data collection endpoint.

DataCollectionEndpointsGet(String, String, String, Func<HttpResponseMessage, Task<IDataCollectionEndpointResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified data collection endpoint.

DataCollectionEndpointsGetViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionEndpointResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified data collection endpoint.

DataCollectionEndpointsGetViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionEndpointsGetWithResult(String, String, String, IEventListener, ISendAsync)
DataCollectionEndpointsListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IDataCollectionEndpointResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection endpoints in the specified resource group.

DataCollectionEndpointsListByResourceGroupViaIdentity(String, Func<HttpResponseMessage,Task<IDataCollectionEndpointResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists all data collection endpoints in the specified resource group.

DataCollectionEndpointsListByResourceGroupViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionEndpointsListByResourceGroupWithResult(String, String, IEventListener, ISendAsync)
DataCollectionEndpointsListBySubscription(String, Func<HttpResponseMessage, Task<IDataCollectionEndpointResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection endpoints in the specified subscription

DataCollectionEndpointsListBySubscriptionViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionEndpointResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection endpoints in the specified subscription

DataCollectionEndpointsListBySubscriptionViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionEndpointsListBySubscriptionWithResult(String, IEventListener, ISendAsync)
DataCollectionEndpointsUpdate(String, String, String, IResourceForUpdate, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

update part of a data collection endpoint.

DataCollectionEndpointsUpdateViaIdentity(String, IResourceForUpdate, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

update part of a data collection endpoint.

DataCollectionEndpointsUpdateViaIdentityWithResult(String, IResourceForUpdate, IEventListener, ISendAsync, SerializationMode)
DataCollectionEndpointsUpdateViaJsonString(String, String, String, String, Func<HttpResponseMessage,Task<IDataCollectionEndpointResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

update part of a data collection endpoint.

DataCollectionEndpointsUpdateViaJsonStringWithResult(String, String, String, String, IEventListener, ISendAsync)
DataCollectionEndpointsUpdateWithResult(String, String, String, IResourceForUpdate, IEventListener, ISendAsync, SerializationMode)
DataCollectionRuleAssociationsCreate(String, String, IDataCollectionRuleAssociationProxyOnlyResource, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

update an association.

DataCollectionRuleAssociationsCreateViaIdentity(String, IDataCollectionRuleAssociationProxyOnlyResource, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync, SerializationMode)

update an association.

DataCollectionRuleAssociationsCreateViaIdentityWithResult(String, IDataCollectionRuleAssociationProxyOnlyResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionRuleAssociationsCreateViaJsonString(String, String, String, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

update an association.

DataCollectionRuleAssociationsCreateViaJsonStringWithResult(String, String, String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsCreateWithResult(String, String, IDataCollectionRuleAssociationProxyOnlyResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionRuleAssociationsDelete(String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes an association.

DataCollectionRuleAssociationsDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes an association.

DataCollectionRuleAssociationsGet(String, String, Func<HttpResponseMessage, Task<IDataCollectionRuleAssociationProxyOnlyResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified association.

DataCollectionRuleAssociationsGetViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionRuleAssociationProxyOnlyResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified association.

DataCollectionRuleAssociationsGetViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsGetWithResult(String, String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByDataCollectionEndpoint(String, String, String, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified data collection endpoint.

DataCollectionRuleAssociationsListByDataCollectionEndpointViaIdentity(String, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified data collection endpoint.

DataCollectionRuleAssociationsListByDataCollectionEndpointViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByDataCollectionEndpointWithResult(String, String, String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByResource(String, Func<HttpResponseMessage, Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified resource.

DataCollectionRuleAssociationsListByResourceViaIdentity(String, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified resource.

DataCollectionRuleAssociationsListByResourceViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByResourceWithResult(String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByRule(String, String, String, Func<HttpResponseMessage,Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified data collection rule.

DataCollectionRuleAssociationsListByRuleViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionRuleAssociationProxyOnlyResourceListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

Lists associations for the specified data collection rule.

DataCollectionRuleAssociationsListByRuleViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRuleAssociationsListByRuleWithResult(String, String, String, IEventListener, ISendAsync)
DataCollectionRulesCreate(String, String, String, IDataCollectionRuleResource, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync, SerializationMode)

update a data collection rule.

DataCollectionRulesCreateViaIdentity(String, IDataCollectionRuleResource, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync, SerializationMode)

update a data collection rule.

DataCollectionRulesCreateViaIdentityWithResult(String, IDataCollectionRuleResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionRulesCreateViaJsonString(String, String, String, String, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>, Task>, Func<HttpResponseMessage,Task<IDataCollectionRuleResource>, Task>, Func<HttpResponseMessage,Task<IErrorResponseCommonV2>, Task>, IEventListener, ISendAsync)

update a data collection rule.

DataCollectionRulesCreateViaJsonStringWithResult(String, String, String, String, IEventListener, ISendAsync)
DataCollectionRulesCreateWithResult(String, String, String, IDataCollectionRuleResource, IEventListener, ISendAsync, SerializationMode)
DataCollectionRulesDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes a data collection rule.

DataCollectionRulesDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Deletes a data collection rule.

DataCollectionRulesGet(String, String, String, Func<HttpResponseMessage, Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified data collection rule.

DataCollectionRulesGetViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionRuleResource>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Returns the specified data collection rule.

DataCollectionRulesGetViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRulesGetWithResult(String, String, String, IEventListener, ISendAsync)
DataCollectionRulesListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IDataCollectionRuleResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection rules in the specified resource group.

DataCollectionRulesListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionRuleResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection rules in the specified resource group.

DataCollectionRulesListByResourceGroupViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRulesListByResourceGroupWithResult(String, String, IEventListener, ISendAsync)
DataCollectionRulesListBySubscription(String, Func<HttpResponseMessage, Task<IDataCollectionRuleResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection rules in the specified subscription.

DataCollectionRulesListBySubscriptionViaIdentity(String, Func<HttpResponseMessage, Task<IDataCollectionRuleResourceListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponseCommonV2>,Task>, IEventListener, ISendAsync)

Lists all data collection rules in the specified subscription.

DataCollectionRulesListBySubscriptionViaIdentityWithResult(String, IEventListener, ISendAsync)
DataCollectionRulesListBySubscriptionWithResult(String, IEventListener, ISendAsync)

Applies to