SBTopic Constructors

Definition

Overloads

SBTopic()

Initializes a new instance of the SBTopic class.

SBTopic(String, String, String, String, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, MessageCountDetails, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int64>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<EntityStatus>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, SystemData)

Initializes a new instance of the SBTopic class.

SBTopic()

Initializes a new instance of the SBTopic class.

public SBTopic ();
Public Sub New ()

Applies to

SBTopic(String, String, String, String, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, MessageCountDetails, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int64>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<EntityStatus>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, SystemData)

Initializes a new instance of the SBTopic class.

public SBTopic (string id = default, string name = default, string type = default, string location = default, long? sizeInBytes = default, DateTime? createdAt = default, DateTime? updatedAt = default, DateTime? accessedAt = default, int? subscriptionCount = default, Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails countDetails = default, TimeSpan? defaultMessageTimeToLive = default, int? maxSizeInMegabytes = default, long? maxMessageSizeInKilobytes = default, bool? requiresDuplicateDetection = default, TimeSpan? duplicateDetectionHistoryTimeWindow = default, bool? enableBatchedOperations = default, Microsoft.Azure.Management.ServiceBus.Models.EntityStatus? status = default, bool? supportOrdering = default, TimeSpan? autoDeleteOnIdle = default, bool? enablePartitioning = default, bool? enableExpress = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.SBTopic : string * string * string * string * Nullable<int64> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails * Nullable<TimeSpan> * Nullable<int> * Nullable<int64> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<Microsoft.Azure.Management.ServiceBus.Models.EntityStatus> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.SBTopic
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional accessedAt As Nullable(Of DateTime) = Nothing, Optional subscriptionCount As Nullable(Of Integer) = Nothing, Optional countDetails As MessageCountDetails = Nothing, Optional defaultMessageTimeToLive As Nullable(Of TimeSpan) = Nothing, Optional maxSizeInMegabytes As Nullable(Of Integer) = Nothing, Optional maxMessageSizeInKilobytes As Nullable(Of Long) = Nothing, Optional requiresDuplicateDetection As Nullable(Of Boolean) = Nothing, Optional duplicateDetectionHistoryTimeWindow As Nullable(Of TimeSpan) = Nothing, Optional enableBatchedOperations As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional supportOrdering As Nullable(Of Boolean) = Nothing, Optional autoDeleteOnIdle As Nullable(Of TimeSpan) = Nothing, Optional enablePartitioning As Nullable(Of Boolean) = Nothing, Optional enableExpress As Nullable(Of Boolean) = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

location
String

The geo-location where the resource lives

sizeInBytes
Nullable<Int64>

Size of the topic, in bytes.

createdAt
Nullable<DateTime>

Exact time the message was created.

updatedAt
Nullable<DateTime>

The exact time the message was updated.

accessedAt
Nullable<DateTime>

Last time the message was sent, or a request was received, for this topic.

subscriptionCount
Nullable<Int32>

Number of subscriptions.

countDetails
MessageCountDetails

Message count details

defaultMessageTimeToLive
Nullable<TimeSpan>

ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

maxSizeInMegabytes
Nullable<Int32>

Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.

maxMessageSizeInKilobytes
Nullable<Int64>

Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.

requiresDuplicateDetection
Nullable<Boolean>

Value indicating if this topic requires duplicate detection.

duplicateDetectionHistoryTimeWindow
Nullable<TimeSpan>

ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

enableBatchedOperations
Nullable<Boolean>

Value that indicates whether server-side batched operations are enabled.

status
Nullable<EntityStatus>

Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'

supportOrdering
Nullable<Boolean>

Value that indicates whether the topic supports ordering.

autoDeleteOnIdle
Nullable<TimeSpan>

ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.

enablePartitioning
Nullable<Boolean>

Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.

enableExpress
Nullable<Boolean>

Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.

systemData
SystemData

The system meta data relating to this resource.

Applies to