Freigeben über


ArmServiceBusModelFactory.ServiceBusTopicData Method

Definition

Initializes a new instance of ServiceBusTopicData.

public static Azure.ResourceManager.ServiceBus.ServiceBusTopicData ServiceBusTopicData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, long? sizeInBytes = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, DateTimeOffset? accessedOn = default, int? subscriptionCount = default, Azure.ResourceManager.ServiceBus.Models.MessageCountDetails countDetails = default, TimeSpan? defaultMessageTimeToLive = default, int? maxSizeInMegabytes = default, long? maxMessageSizeInKilobytes = default, bool? requiresDuplicateDetection = default, TimeSpan? duplicateDetectionHistoryTimeWindow = default, bool? enableBatchedOperations = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus? status = default, bool? supportOrdering = default, TimeSpan? autoDeleteOnIdle = default, bool? enablePartitioning = default, bool? enableExpress = default, Azure.Core.AzureLocation? location = default);
static member ServiceBusTopicData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.ResourceManager.ServiceBus.Models.MessageCountDetails * Nullable<TimeSpan> * Nullable<int> * Nullable<int64> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusMessagingEntityStatus> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.ServiceBus.ServiceBusTopicData
Public Shared Function ServiceBusTopicData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional accessedOn As Nullable(Of DateTimeOffset) = 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 ServiceBusMessagingEntityStatus) = 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 location As Nullable(Of AzureLocation) = Nothing) As ServiceBusTopicData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sizeInBytes
Nullable<Int64>

Size of the topic, in bytes.

createdOn
Nullable<DateTimeOffset>

Exact time the message was created.

updatedOn
Nullable<DateTimeOffset>

The exact time the message was updated.

accessedOn
Nullable<DateTimeOffset>

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<ServiceBusMessagingEntityStatus>

Enumerates the possible values for the status of a messaging entity.

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.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

Returns

A new ServiceBusTopicData instance for mocking.

Applies to