共用方式為


IWithCreate Interface

Definition

The stage of the definition which contains all the minimum required inputs for the resource to be created (via WithCreate.create()), but also allows for any other optional settings to be specified.

public interface IWithCreate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.ITopic>, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithAuthorizationRule, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithDefaultMessageTTL, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithDeleteOnIdle, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithDuplicateMessageDetection, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithExpressMessage, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithMessageBatching, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithPartitioning, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithSize, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithSubscription
type IWithCreate = interface
    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 IWithCreate
Implements ICreatable(Of ITopic), IWithAuthorizationRule, IWithDefaultMessageTTL, IWithDeleteOnIdle, IWithDuplicateMessageDetection, IWithExpressMessage, IWithMessageBatching, IWithPartitioning, IWithSize, IWithSubscription
Derived
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