次の方法で共有


NamespaceTopic Interface

public interface NamespaceTopic

An immutable client-side representation of NamespaceTopic.

Method Summary

Modifier and Type Method and Description
abstract Integer eventRetentionInDays()

Gets the eventRetentionInDays property: Event retention for the namespace topic expressed in days.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract NamespaceTopicInner innerModel()

Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.NamespaceTopicInner object.

abstract EventInputSchema inputSchema()

Gets the inputSchema property: This determines the format that is expected for incoming events published to the topic.

abstract TopicSharedAccessKeys listSharedAccessKeys()

List keys for a namespace topic.

abstract Response<TopicSharedAccessKeys> listSharedAccessKeysWithResponse(Context context)

List keys for a namespace topic.

abstract String name()

Gets the name property: The name of the resource.

abstract NamespaceTopicProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the namespace topic.

abstract PublisherType publisherType()

Gets the publisherType property: Publisher type of the namespace topic.

abstract NamespaceTopic refresh()

Refreshes the resource to sync with Azure.

abstract NamespaceTopic refresh(Context context)

Refreshes the resource to sync with Azure.

abstract TopicSharedAccessKeys regenerateKey(TopicRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace topic.

abstract TopicSharedAccessKeys regenerateKey(TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace topic.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: The system metadata relating to the Event Grid resource.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the NamespaceTopic resource.

Method Details

eventRetentionInDays

public abstract Integer eventRetentionInDays()

Gets the eventRetentionInDays property: Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.

Returns:

the eventRetentionInDays value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract NamespaceTopicInner innerModel()

Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.NamespaceTopicInner object.

Returns:

the inner object.

inputSchema

public abstract EventInputSchema inputSchema()

Gets the inputSchema property: This determines the format that is expected for incoming events published to the topic.

Returns:

the inputSchema value.

listSharedAccessKeys

public abstract TopicSharedAccessKeys listSharedAccessKeys()

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

Returns:

shared access keys of the Topic.

listSharedAccessKeysWithResponse

public abstract Response<TopicSharedAccessKeys> listSharedAccessKeysWithResponse(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

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

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract NamespaceTopicProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the namespace topic.

Returns:

the provisioningState value.

publisherType

public abstract PublisherType publisherType()

Gets the publisherType property: Publisher type of the namespace topic.

Returns:

the publisherType value.

refresh

public abstract NamespaceTopic refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract NamespaceTopic refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

regenerateKey

public abstract TopicSharedAccessKeys regenerateKey(TopicRegenerateKeyRequest regenerateKeyRequest)

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

Parameters:

regenerateKeyRequest - Request body to regenerate key.

Returns:

shared access keys of the Topic.

regenerateKey

public abstract TopicSharedAccessKeys regenerateKey(TopicRegenerateKeyRequest regenerateKeyRequest, Context context)

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

Parameters:

regenerateKeyRequest - Request body to regenerate key.
context - The context to associate with this operation.

Returns:

shared access keys of the Topic.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system metadata relating to the Event Grid resource.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract NamespaceTopic.Update update()

Begins update for the NamespaceTopic resource.

Returns:

the stage of resource update.

Applies to