Dela via


IDefinition Interface

Definition

The entirety of the Service Bus topic definition.

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.ITopic>, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IBlank
type IDefinition = interface
    interface IBlank
    interface IWithCreate
    interface ICreatable<ITopic>
    interface IIndexable
    interface IWithSize
    interface IWithPartitioning
    interface IWithDeleteOnIdle
    interface IWithDefaultMessageTTL
    interface IWithExpressMessage
    interface IWithMessageBatching
    interface IWithDuplicateMessageDetection
    interface IWithSubscription
    interface IWithAuthorizationRule
Public Interface IDefinition
Implements IBlank, ICreatable(Of ITopic)
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithDefaultMessageTTL(TimeSpan)

Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).

(Inherited from IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

The idle interval after which the topic is automatically deleted. Note: unless it is explicitly overridden the default delete on idle duration is infinite (TimeSpan.Max).

(Inherited from IWithDeleteOnIdle)
WithDuplicateMessageDetection(TimeSpan)

Specifies the duration of the duplicate message detection history.

(Inherited from IWithDuplicateMessageDetection)
WithExpressMessage()

Specifies that messages in this topic are express hence they can be cached in memory for some time before storing it in messaging store. Note: By default topic is not express.

(Inherited from IWithExpressMessage)
WithNewListenRule(String)

Creates a listen authorization rule for the topic.

(Inherited from IWithAuthorizationRule)
WithNewManageRule(String)

Creates a manage authorization rule for the topic.

(Inherited from IWithAuthorizationRule)
WithNewSendRule(String)

Creates a send authorization rule for the topic.

(Inherited from IWithAuthorizationRule)
WithNewSubscription(String)

Creates a subscription entity for the Service Bus topic.

(Inherited from IWithSubscription)
WithoutMessageBatching()

Specifies that the default batching should be disabled on this topic. With batching Service Bus can batch multiple message when it write or delete messages from it's internal store.

(Inherited from IWithMessageBatching)
WithoutPartitioning()

Specifies that the default partitioning should be disabled on this topic. Note: if the parent Service Bus is Premium SKU then partition cannot be disabled.

(Inherited from IWithPartitioning)
WithPartitioning()

Specifies that partitioning should be enabled on this topic.

(Inherited from IWithPartitioning)
WithSizeInMB(Int64)

Specifies the maximum size of memory allocated for the topic.

(Inherited from IWithSize)

Applies to