Partilhar via


RulesClient Interface

public interface RulesClient

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

Method Summary

Modifier and Type Method and Description
abstract RuleInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

abstract Mono<RuleInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

abstract Response<RuleInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters, Context context)

Creates a new rule and updates an existing rule.

abstract Mono<Response<RuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

abstract void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Deletes an existing rule.

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

Deletes an existing rule.

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

Deletes an existing rule.

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

Deletes an existing rule.

abstract RuleInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

abstract Mono<RuleInner> getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

abstract Response<RuleInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, Context context)

Retrieves the description for the specified rule.

abstract Mono<Response<RuleInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

abstract PagedIterable<RuleInner> listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

List all the rules within given topic-subscription.

abstract PagedIterable<RuleInner> listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top, Context context)

List all the rules within given topic-subscription.

abstract PagedFlux<RuleInner> listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

List all the rules within given topic-subscription.

abstract PagedFlux<RuleInner> listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top)

List all the rules within given topic-subscription.

Method Details

createOrUpdate

public abstract RuleInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
parameters - Parameters supplied to create a rule.

Returns:

description of Rule Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
parameters - Parameters supplied to create a rule.

Returns:

description of Rule Resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters, Context context)

Creates a new rule and updates an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
parameters - Parameters supplied to create a rule.
context - The context to associate with this operation.

Returns:

description of Rule Resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)

Creates a new rule and updates an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
parameters - Parameters supplied to create a rule.

Returns:

description of Rule Resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Deletes an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Deletes an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Deletes an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Deletes an existing rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RuleInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

Returns:

description of Rule Resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

Returns:

description of Rule Resource on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, Context context)

Retrieves the description for the specified rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.
context - The context to associate with this operation.

Returns:

description of Rule Resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)

Retrieves the description for the specified rule.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
ruleName - The rule name.

Returns:

description of Rule Resource along with Response<T> on successful completion of Mono.

listBySubscriptions

public abstract PagedIterable listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

List all the rules within given topic-subscription.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

the response of the List rule operation as paginated response with PagedIterable<T>.

listBySubscriptions

public abstract PagedIterable listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top, Context context)

List all the rules within given topic-subscription.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
top - May be used to limit the number of results to the most recent N usageDetails.
context - The context to associate with this operation.

Returns:

the response of the List rule operation as paginated response with PagedIterable<T>.

listBySubscriptionsAsync

public abstract PagedFlux listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)

List all the rules within given topic-subscription.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.

Returns:

the response of the List rule operation as paginated response with PagedFlux<T>.

listBySubscriptionsAsync

public abstract PagedFlux listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top)

List all the rules within given topic-subscription.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
subscriptionName - The subscription name.
skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
top - May be used to limit the number of results to the most recent N usageDetails.

Returns:

the response of the List rule operation as paginated response with PagedFlux<T>.

Applies to