DataCollectionRulesClient Interface

Implements

public interface DataCollectionRulesClient
extends InnerSupportsGet<DataCollectionRuleResourceInner>, InnerSupportsListing<DataCollectionRuleResourceInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in DataCollectionRulesClient.

Method Summary

Modifier and Type Method and Description
abstract DataCollectionRuleResourceInner create(String resourceGroupName, String dataCollectionRuleName)

Creates or updates a data collection rule.

abstract Mono<DataCollectionRuleResourceInner> createAsync(String resourceGroupName, String dataCollectionRuleName)

Creates or updates a data collection rule.

abstract Response<DataCollectionRuleResourceInner> createWithResponse(String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body, Context context)

Creates or updates a data collection rule.

abstract Mono<Response<DataCollectionRuleResourceInner>> createWithResponseAsync(String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body)

Creates or updates a data collection rule.

abstract void delete(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context)

Deletes a data collection rule.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

abstract DataCollectionRuleResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

abstract Mono<DataCollectionRuleResourceInner> getByResourceGroupAsync(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

abstract Response<DataCollectionRuleResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context)

Returns the specified data collection rule.

abstract Mono<Response<DataCollectionRuleResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

abstract PagedIterable<DataCollectionRuleResourceInner> list()

Lists all data collection rules in the specified subscription.

abstract PagedIterable<DataCollectionRuleResourceInner> list(Context context)

Lists all data collection rules in the specified subscription.

abstract PagedFlux<DataCollectionRuleResourceInner> listAsync()

Lists all data collection rules in the specified subscription.

abstract PagedIterable<DataCollectionRuleResourceInner> listByResourceGroup(String resourceGroupName)

Lists all data collection rules in the specified resource group.

abstract PagedIterable<DataCollectionRuleResourceInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all data collection rules in the specified resource group.

abstract PagedFlux<DataCollectionRuleResourceInner> listByResourceGroupAsync(String resourceGroupName)

Lists all data collection rules in the specified resource group.

abstract DataCollectionRuleResourceInner update(String resourceGroupName, String dataCollectionRuleName)

Updates part of a data collection rule.

abstract Mono<DataCollectionRuleResourceInner> updateAsync(String resourceGroupName, String dataCollectionRuleName)

Updates part of a data collection rule.

abstract Response<DataCollectionRuleResourceInner> updateWithResponse(String resourceGroupName, String dataCollectionRuleName, ResourceForUpdate body, Context context)

Updates part of a data collection rule.

abstract Mono<Response<DataCollectionRuleResourceInner>> updateWithResponseAsync(String resourceGroupName, String dataCollectionRuleName, ResourceForUpdate body)

Updates part of a data collection rule.

Method Details

create

public abstract DataCollectionRuleResourceInner create(String resourceGroupName, String dataCollectionRuleName)

Creates or updates a data collection rule.

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.

Returns:

definition of ARM tracked top level resource.

createAsync

public abstract Mono createAsync(String resourceGroupName, String dataCollectionRuleName)

Creates or updates a data collection rule.

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.

Returns:

definition of ARM tracked top level resource on successful completion of Mono.

createWithResponse

public abstract Response createWithResponse(String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body, Context context)

Creates or updates a data collection rule.

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.
context - The context to associate with this operation.

Returns:

definition of ARM tracked top level resource along with Response<T>.

createWithResponseAsync

public abstract Mono> createWithResponseAsync(String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body)

Creates or updates a data collection rule.

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.

Returns:

definition of ARM tracked top level resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

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.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

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.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context)

Deletes a data collection rule.

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.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String dataCollectionRuleName)

Deletes a data collection rule.

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.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract DataCollectionRuleResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

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.

Returns:

definition of ARM tracked top level resource.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

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.

Returns:

definition of ARM tracked top level resource on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context)

Returns the specified data collection rule.

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.
context - The context to associate with this operation.

Returns:

definition of ARM tracked top level resource along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String dataCollectionRuleName)

Returns the specified data collection rule.

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.

Returns:

definition of ARM tracked top level resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all data collection rules in the specified subscription.

Returns:

a pageable list of resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all data collection rules in the specified subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a pageable list of resources as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all data collection rules in the specified subscription.

Returns:

a pageable list of resources as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all data collection rules in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a pageable list of resources as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all data collection rules in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

a pageable list of resources as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all data collection rules in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a pageable list of resources as paginated response with PagedFlux<T>.

update

public abstract DataCollectionRuleResourceInner update(String resourceGroupName, String dataCollectionRuleName)

Updates part of a data collection rule.

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.

Returns:

definition of ARM tracked top level resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String dataCollectionRuleName)

Updates part of a data collection rule.

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.

Returns:

definition of ARM tracked top level resource on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String dataCollectionRuleName, ResourceForUpdate body, Context context)

Updates part of a data collection rule.

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.
context - The context to associate with this operation.

Returns:

definition of ARM tracked top level resource along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String dataCollectionRuleName, ResourceForUpdate body)

Updates part of a data collection rule.

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.

Returns:

definition of ARM tracked top level resource along with Response<T> on successful completion of Mono.

Applies to