Share via


Topics Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.collection.SupportsListing<Topic> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.eventgrid.v2020_04_01_preview.implementation.TopicsInner> com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Topic> com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Topic>

public interface Topics
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion, com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Topic>, com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Topic>, com.microsoft.azure.arm.collection.SupportsListing<Topic>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.eventgrid.v2020_04_01_preview.implementation.TopicsInner>

Type representing Topics.

Method Summary

Modifier and Type Method and Description
abstract rx.Observable<EventType> listEventTypesAsync(String resourceGroupName, String providerNamespace, String resourceTypeName, String resourceName)

List topic event types.

abstract rx.Observable<TopicSharedAccessKeys> listSharedAccessKeysAsync(String resourceGroupName, String topicName)

List keys for a topic.

abstract rx.Observable<TopicSharedAccessKeys> regenerateKeyAsync(String resourceGroupName, String topicName, String keyName)

Regenerate key for a topic.

Method Details

listEventTypesAsync

public abstract Observable<EventType> listEventTypesAsync(String resourceGroupName, String providerNamespace, String resourceTypeName, String resourceName)

List topic event types. List event types for a topic.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
providerNamespace - Namespace of the provider of the topic.
resourceTypeName - Name of the topic type.
resourceName - Name of the topic.

Returns:

the observable for the request

listSharedAccessKeysAsync

public abstract Observable<TopicSharedAccessKeys> listSharedAccessKeysAsync(String resourceGroupName, String topicName)

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

Parameters:

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

Returns:

the observable for the request

regenerateKeyAsync

public abstract Observable<TopicSharedAccessKeys> regenerateKeyAsync(String resourceGroupName, String topicName, String keyName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
topicName - Name of the topic.
keyName - Key name to regenerate key1 or key2

Returns:

the observable for the request

Applies to