Partilhar via


TopicsClient Interface

public interface TopicsClient

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

Method Summary

Modifier and Type Method and Description
abstract SBTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

abstract Mono<SBTopicInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

abstract SBAuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

abstract Mono<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

abstract Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters, Context context)

Creates an authorization rule for the specified topic.

abstract Mono<Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

abstract Response<SBTopicInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters, Context context)

Creates a topic in the specified namespace.

abstract Mono<Response<SBTopicInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

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

Deletes a topic from the specified namespace and resource group.

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

Deletes a topic from the specified namespace and resource group.

abstract void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

abstract Mono<Void> deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

abstract Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Deletes a topic authorization rule.

abstract Mono<Response<Void>> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

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

Deletes a topic from the specified namespace and resource group.

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

Deletes a topic from the specified namespace and resource group.

abstract SBTopicInner get(String resourceGroupName, String namespaceName, String topicName)

Returns a description for the specified topic.

abstract Mono<SBTopicInner> getAsync(String resourceGroupName, String namespaceName, String topicName)

Returns a description for the specified topic.

abstract SBAuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

abstract Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

abstract Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Returns the specified authorization rule.

abstract Mono<Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

abstract Response<SBTopicInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, Context context)

Returns a description for the specified topic.

abstract Mono<Response<SBTopicInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String topicName)

Returns a description for the specified topic.

abstract PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName)

Gets authorization rules for a topic.

abstract PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName, Context context)

Gets authorization rules for a topic.

abstract PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String topicName)

Gets authorization rules for a topic.

abstract PagedIterable<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName)

Gets all the topics in a namespace.

abstract PagedIterable<SBTopicInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, Context context)

Gets all the topics in a namespace.

abstract PagedFlux<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName)

Gets all the topics in a namespace.

abstract PagedFlux<SBTopicInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top)

Gets all the topics in a namespace.

abstract AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

abstract Mono<AccessKeysInner> listKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

abstract Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Gets the primary and secondary connection strings for the topic.

abstract Mono<Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

abstract AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

abstract Mono<AccessKeysInner> regenerateKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

abstract Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, Context context)

Regenerates primary or secondary connection strings for the topic.

abstract Mono<Response<AccessKeysInner>> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

Method Details

createOrUpdate

public abstract SBTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

Parameters:

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

Returns:

description of topic resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

Parameters:

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

Returns:

description of topic resource on successful completion of Mono.

createOrUpdateAuthorizationRule

public abstract SBAuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - The shared access authorization rule.

Returns:

description of a namespace authorization rule.

createOrUpdateAuthorizationRuleAsync

public abstract Mono createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - The shared access authorization rule.

Returns:

description of a namespace authorization rule on successful completion of Mono.

createOrUpdateAuthorizationRuleWithResponse

public abstract Response createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters, Context context)

Creates an authorization rule for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - The shared access authorization rule.
context - The context to associate with this operation.

Returns:

description of a namespace authorization rule along with Response<T>.

createOrUpdateAuthorizationRuleWithResponseAsync

public abstract Mono> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, SBAuthorizationRuleInner parameters)

Creates an authorization rule for the specified topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - The shared access authorization rule.

Returns:

description of a namespace authorization rule along with Response<T> on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters, Context context)

Creates a topic in the specified namespace.

Parameters:

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

Returns:

description of topic resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, SBTopicInner parameters)

Creates a topic in the specified namespace.

Parameters:

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

Returns:

description of topic resource along with Response<T> on successful completion of Mono.

delete

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

Deletes a topic from the specified namespace and resource group.

Parameters:

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

deleteAsync

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

Deletes a topic from the specified namespace and resource group.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteAuthorizationRule

public abstract void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

Parameters:

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

deleteAuthorizationRuleAsync

public abstract Mono deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteAuthorizationRuleWithResponse

public abstract Response deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Deletes a topic authorization rule.

Parameters:

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

Returns:

deleteAuthorizationRuleWithResponseAsync

public abstract Mono> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Deletes a topic authorization rule.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponse

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

Deletes a topic from the specified namespace and resource group.

Parameters:

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

Returns:

deleteWithResponseAsync

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

Deletes a topic from the specified namespace and resource group.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

get

public abstract SBTopicInner get(String resourceGroupName, String namespaceName, String topicName)

Returns a description for the specified topic.

Parameters:

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

Returns:

description of topic resource.

getAsync

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

Returns a description for the specified topic.

Parameters:

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

Returns:

description of topic resource on successful completion of Mono.

getAuthorizationRule

public abstract SBAuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

Parameters:

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

Returns:

description of a namespace authorization rule.

getAuthorizationRuleAsync

public abstract Mono getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

Parameters:

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

Returns:

description of a namespace authorization rule on successful completion of Mono.

getAuthorizationRuleWithResponse

public abstract Response getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Returns the specified authorization rule.

Parameters:

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

Returns:

description of a namespace authorization rule along with Response<T>.

getAuthorizationRuleWithResponseAsync

public abstract Mono> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Returns the specified authorization rule.

Parameters:

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

Returns:

description of a namespace authorization rule along with Response<T> on successful completion of Mono.

getWithResponse

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

Returns a description for the specified topic.

Parameters:

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

Returns:

description of topic resource along with Response<T>.

getWithResponseAsync

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

Returns a description for the specified topic.

Parameters:

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

Returns:

description of topic resource along with Response<T> on successful completion of Mono.

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName)

Gets authorization rules for a topic.

Parameters:

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

Returns:

authorization rules for a topic as paginated response with PagedIterable<T>.

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules(String resourceGroupName, String namespaceName, String topicName, Context context)

Gets authorization rules for a topic.

Parameters:

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

Returns:

authorization rules for a topic as paginated response with PagedIterable<T>.

listAuthorizationRulesAsync

public abstract PagedFlux listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String topicName)

Gets authorization rules for a topic.

Parameters:

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

Returns:

authorization rules for a topic as paginated response with PagedFlux<T>.

listByNamespace

public abstract PagedIterable listByNamespace(String resourceGroupName, String namespaceName)

Gets all the topics in a namespace.

Parameters:

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

Returns:

all the topics in a namespace as paginated response with PagedIterable<T>.

listByNamespace

public abstract PagedIterable listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, Context context)

Gets all the topics in a namespace.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace 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:

all the topics in a namespace as paginated response with PagedIterable<T>.

listByNamespaceAsync

public abstract PagedFlux listByNamespaceAsync(String resourceGroupName, String namespaceName)

Gets all the topics in a namespace.

Parameters:

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

Returns:

all the topics in a namespace as paginated response with PagedFlux<T>.

listByNamespaceAsync

public abstract PagedFlux listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top)

Gets all the topics in a namespace.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace 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:

all the topics in a namespace as paginated response with PagedFlux<T>.

listKeys

public abstract AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

Parameters:

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

Returns:

the primary and secondary connection strings for the topic.

listKeysAsync

public abstract Mono listKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

Parameters:

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

Returns:

the primary and secondary connection strings for the topic on successful completion of Mono.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, Context context)

Gets the primary and secondary connection strings for the topic.

Parameters:

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

Returns:

the primary and secondary connection strings for the topic along with Response<T>.

listKeysWithResponseAsync

public abstract Mono> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName)

Gets the primary and secondary connection strings for the topic.

Parameters:

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

Returns:

the primary and secondary connection strings for the topic along with Response<T> on successful completion of Mono.

regenerateKeys

public abstract AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the authorization rule.

Returns:

namespace/ServiceBus Connection String.

regenerateKeysAsync

public abstract Mono regenerateKeysAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the authorization rule.

Returns:

namespace/ServiceBus Connection String on successful completion of Mono.

regenerateKeysWithResponse

public abstract Response regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, Context context)

Regenerates primary or secondary connection strings for the topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the authorization rule.
context - The context to associate with this operation.

Returns:

namespace/ServiceBus Connection String along with Response<T>.

regenerateKeysWithResponseAsync

public abstract Mono> regenerateKeysWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)

Regenerates primary or secondary connection strings for the topic.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
namespaceName - The namespace name.
topicName - The topic name.
authorizationRuleName - The authorization rule name.
parameters - Parameters supplied to regenerate the authorization rule.

Returns:

namespace/ServiceBus Connection String along with Response<T> on successful completion of Mono.

Applies to