TopicCreateOrUpdateParameters Class
Parameters supplied to the Create Or Update Topic operation.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
TopicCreateOrUpdateParameters
Constructor
TopicCreateOrUpdateParameters(*, location: str, name: Optional[str] = None, auto_delete_on_idle: Optional[str] = None, entity_availability_status: Optional[Union[str, azure.mgmt.servicebus.v2015_08_01.models._service_bus_management_client_enums.EntityAvailabilityStatus]] = None, default_message_time_to_live: Optional[str] = None, duplicate_detection_history_time_window: Optional[str] = None, enable_batched_operations: Optional[bool] = None, enable_express: Optional[bool] = None, enable_partitioning: Optional[bool] = None, filtering_messages_before_publishing: Optional[bool] = None, is_anonymous_accessible: Optional[bool] = None, is_express: Optional[bool] = None, max_size_in_megabytes: Optional[int] = None, requires_duplicate_detection: Optional[bool] = None, status: Optional[Union[str, azure.mgmt.servicebus.v2015_08_01.models._service_bus_management_client_enums.EntityStatus]] = None, support_ordering: Optional[bool] = None, **kwargs)
Parameters
- auto_delete_on_idle
- str
TimeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- entity_availability_status
- str or EntityAvailabilityStatus
Entity availability status for the topic. Possible values include: "Available", "Limited", "Renaming", "Restoring", "Unknown".
- default_message_time_to_live
- str
Default message time 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.
- duplicate_detection_history_time_window
- str
TimeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable_batched_operations
- bool
Value that indicates whether server-side batched operations are enabled.
- enable_express
- bool
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
- enable_partitioning
- bool
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
- filtering_messages_before_publishing
- bool
Whether messages should be filtered before publishing.
- is_anonymous_accessible
- bool
Value that indicates whether the message is accessible anonymously.
- is_express
- bool
- max_size_in_megabytes
- <xref:long>
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic.
- requires_duplicate_detection
- bool
Value indicating if this topic requires duplicate detection.
- status
- str or EntityStatus
Enumerates the possible values for the status of a messaging entity. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown".
Variables
- accessed_at
- datetime
Last time the message was sent, or a request was received, for this topic.
- created_at
- datetime
Exact time the message was created.
- count_details
- MessageCountDetails
Message Count Details.
- size_in_bytes
- <xref:long>
Size of the topic, in bytes.
- subscription_count
- int
Number of subscriptions.
- updated_at
- datetime
The exact time the message was updated.
Feedback
Submit and view feedback for