Compartilhar via


NamespaceTopicsClient Interface

public interface NamespaceTopicsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo)

Create a namespace topic.

abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo, Context context)

Create a namespace topic.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String topicName)

Delete a namespace topic.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String topicName, Context context)

Delete a namespace topic.

abstract SyncPoller<PollResult<TopicSharedAccessKeysInner>,TopicSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace topic.

abstract SyncPoller<PollResult<TopicSharedAccessKeysInner>,TopicSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace topic.

abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters)

Update a namespace topic.

abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context)

Update a namespace topic.

abstract NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo)

Create a namespace topic.

abstract NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo, Context context)

Create a namespace topic.

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

Delete a namespace topic.

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

Delete a namespace topic.

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

Get a namespace topic.

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

Get a namespace topic.

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

List namespace topics under a namespace.

abstract PagedIterable<NamespaceTopicInner> listByNamespace(String resourceGroupName, String namespaceName, String filter, Integer top, Context context)

List namespace topics under a namespace.

abstract TopicSharedAccessKeysInner listSharedAccessKeys(String resourceGroupName, String namespaceName, String topicName)

List keys for a namespace topic.

abstract Response<TopicSharedAccessKeysInner> listSharedAccessKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, Context context)

List keys for a namespace topic.

abstract TopicSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace topic.

abstract TopicSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace topic.

abstract NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters)

Update a namespace topic.

abstract NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context)

Update a namespace topic.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo)

Create a namespace topic. Asynchronously creates a new namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicInfo - Namespace topic information.

Returns:

the SyncPoller<T,U> for polling of namespace topic details.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo, Context context)

Create a namespace topic. Asynchronously creates a new namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicInfo - Namespace topic information.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace topic details.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String topicName)

Delete a namespace topic. Delete existing namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String topicName, Context context)

Delete a namespace topic. Delete existing namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRegenerateKey

public abstract SyncPoller<PollResult<TopicSharedAccessKeysInner>,TopicSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace topic. Regenerate a shared access key for a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
regenerateKeyRequest - Request body to regenerate key.

Returns:

the SyncPoller<T,U> for polling of shared access keys of the Topic.

beginRegenerateKey

public abstract SyncPoller<PollResult<TopicSharedAccessKeysInner>,TopicSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace topic. Regenerate a shared access key for a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
regenerateKeyRequest - Request body to regenerate key.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of shared access keys of the Topic.

beginUpdate

public abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters)

Update a namespace topic. Asynchronously updates a namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicUpdateParameters - Namespace topic update information.

Returns:

the SyncPoller<T,U> for polling of namespace topic details.

beginUpdate

public abstract SyncPoller<PollResult<NamespaceTopicInner>,NamespaceTopicInner> beginUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context)

Update a namespace topic. Asynchronously updates a namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicUpdateParameters - Namespace topic update information.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace topic details.

createOrUpdate

public abstract NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo)

Create a namespace topic. Asynchronously creates a new namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicInfo - Namespace topic information.

Returns:

namespace topic details.

createOrUpdate

public abstract NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicInner namespaceTopicInfo, Context context)

Create a namespace topic. Asynchronously creates a new namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicInfo - Namespace topic information.
context - The context to associate with this operation.

Returns:

namespace topic details.

delete

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

Delete a namespace topic. Delete existing namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.

delete

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

Delete a namespace topic. Delete existing namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
context - The context to associate with this operation.

get

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

Get a namespace topic. Get properties of a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.

Returns:

properties of a namespace topic.

getWithResponse

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

Get a namespace topic. Get properties of a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
context - The context to associate with this operation.

Returns:

properties of a namespace topic along with Response<T>.

listByNamespace

public abstract PagedIterable<NamespaceTopicInner> listByNamespace(String resourceGroupName, String namespaceName)

List namespace topics under a namespace. List all the namespace topics under a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

Returns:

result of the List namespace topics operation as paginated response with PagedIterable<T>.

listByNamespace

public abstract PagedIterable<NamespaceTopicInner> listByNamespace(String resourceGroupName, String namespaceName, String filter, Integer top, Context context)

List namespace topics under a namespace. List all the namespace topics under a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
context - The context to associate with this operation.

Returns:

result of the List namespace topics operation as paginated response with PagedIterable<T>.

listSharedAccessKeys

public abstract TopicSharedAccessKeysInner listSharedAccessKeys(String resourceGroupName, String namespaceName, String topicName)

List keys for a namespace topic. List the two keys used to publish to a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.

Returns:

shared access keys of the Topic.

listSharedAccessKeysWithResponse

public abstract Response<TopicSharedAccessKeysInner> listSharedAccessKeysWithResponse(String resourceGroupName, String namespaceName, String topicName, Context context)

List keys for a namespace topic. List the two keys used to publish to a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
context - The context to associate with this operation.

Returns:

shared access keys of the Topic along with Response<T>.

regenerateKey

public abstract TopicSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace topic. Regenerate a shared access key for a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
regenerateKeyRequest - Request body to regenerate key.

Returns:

shared access keys of the Topic.

regenerateKey

public abstract TopicSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, String topicName, TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace topic. Regenerate a shared access key for a namespace topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the topic.
regenerateKeyRequest - Request body to regenerate key.
context - The context to associate with this operation.

Returns:

shared access keys of the Topic.

update

public abstract NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters)

Update a namespace topic. Asynchronously updates a namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicUpdateParameters - Namespace topic update information.

Returns:

namespace topic details.

update

public abstract NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context)

Update a namespace topic. Asynchronously updates a namespace topic with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
topicName - Name of the namespace topic.
namespaceTopicUpdateParameters - Namespace topic update information.
context - The context to associate with this operation.

Returns:

namespace topic details.

Applies to