ScheduledQueryRulesClient Interface

Implements

public interface ScheduledQueryRulesClient
extends InnerSupportsGet<ScheduledQueryRuleResourceInner>, InnerSupportsListing<ScheduledQueryRuleResourceInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract ScheduledQueryRuleResourceInner createOrUpdate(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

abstract Mono<ScheduledQueryRuleResourceInner> createOrUpdateAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

abstract Response<ScheduledQueryRuleResourceInner> createOrUpdateWithResponse(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters, Context context)

Creates or updates a scheduled query rule.

abstract Mono<Response<ScheduledQueryRuleResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

abstract void delete(String resourceGroupName, String ruleName)

Deletes a scheduled query rule.

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

Deletes a scheduled query rule.

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

Deletes a scheduled query rule.

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

Deletes a scheduled query rule.

abstract ScheduledQueryRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName)

Retrieve an scheduled query rule definition.

abstract Mono<ScheduledQueryRuleResourceInner> getByResourceGroupAsync(String resourceGroupName, String ruleName)

Retrieve an scheduled query rule definition.

abstract Response<ScheduledQueryRuleResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String ruleName, Context context)

Retrieve an scheduled query rule definition.

abstract Mono<Response<ScheduledQueryRuleResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ruleName)

Retrieve an scheduled query rule definition.

abstract PagedIterable<ScheduledQueryRuleResourceInner> list()

Retrieve a scheduled query rule definitions in a subscription.

abstract PagedIterable<ScheduledQueryRuleResourceInner> list(Context context)

Retrieve a scheduled query rule definitions in a subscription.

abstract PagedFlux<ScheduledQueryRuleResourceInner> listAsync()

Retrieve a scheduled query rule definitions in a subscription.

abstract PagedIterable<ScheduledQueryRuleResourceInner> listByResourceGroup(String resourceGroupName)

Retrieve scheduled query rule definitions in a resource group.

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

Retrieve scheduled query rule definitions in a resource group.

abstract PagedFlux<ScheduledQueryRuleResourceInner> listByResourceGroupAsync(String resourceGroupName)

Retrieve scheduled query rule definitions in a resource group.

abstract ScheduledQueryRuleResourceInner update(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

abstract Mono<ScheduledQueryRuleResourceInner> updateAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

abstract Response<ScheduledQueryRuleResourceInner> updateWithResponse(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters, Context context)

Update a scheduled query rule.

abstract Mono<Response<ScheduledQueryRuleResourceInner>> updateWithResponseAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

Method Details

createOrUpdate

public abstract ScheduledQueryRuleResourceInner createOrUpdate(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to create or update.

Returns:

the scheduled query rule resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to create or update.

Returns:

the scheduled query rule resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters, Context context)

Creates or updates a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to create or update.
context - The context to associate with this operation.

Returns:

the scheduled query rule resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters)

Creates or updates a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to create or update.

Returns:

the scheduled query rule resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String ruleName)

Deletes a scheduled query rule.

Parameters:

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

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String ruleName)

Deletes a scheduled query rule.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Deletes a scheduled query rule.

Parameters:

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

Returns:

deleteWithResponseAsync

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

Deletes a scheduled query rule.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ScheduledQueryRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName)

Retrieve an scheduled query rule definition.

Parameters:

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

Returns:

the scheduled query rule resource.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String ruleName)

Retrieve an scheduled query rule definition.

Parameters:

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

Returns:

the scheduled query rule resource on successful completion of Mono.

getByResourceGroupWithResponse

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

Retrieve an scheduled query rule definition.

Parameters:

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

Returns:

the scheduled query rule resource along with Response<T>.

getByResourceGroupWithResponseAsync

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

Retrieve an scheduled query rule definition.

Parameters:

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

Returns:

the scheduled query rule resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Retrieve a scheduled query rule definitions in a subscription.

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Retrieve a scheduled query rule definitions in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Retrieve a scheduled query rule definitions in a subscription.

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Retrieve scheduled query rule definitions in a resource group.

Parameters:

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

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Retrieve scheduled query rule definitions in a resource group.

Parameters:

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

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Retrieve scheduled query rule definitions in a resource group.

Parameters:

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

Returns:

represents a collection of scheduled query rule resources as paginated response with PagedFlux<T>.

update

public abstract ScheduledQueryRuleResourceInner update(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to update.

Returns:

the scheduled query rule resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to update.

Returns:

the scheduled query rule resource on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters, Context context)

Update a scheduled query rule.

Parameters:

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

Returns:

the scheduled query rule resource along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters)

Update a scheduled query rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ruleName - The name of the rule.
parameters - The parameters of the rule to update.

Returns:

the scheduled query rule resource along with Response<T> on successful completion of Mono.

Applies to