These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.servicebus.getTopic
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Returns a description for the specified topic. API Version: 2017-04-01.
Using getTopic
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTopic(args: GetTopicArgs, opts?: InvokeOptions): Promise<GetTopicResult>
function getTopicOutput(args: GetTopicOutputArgs, opts?: InvokeOptions): Output<GetTopicResult>
def get_topic(namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
topic_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTopicResult
def get_topic_output(namespace_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
topic_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTopicResult]
func LookupTopic(ctx *Context, args *LookupTopicArgs, opts ...InvokeOption) (*LookupTopicResult, error)
func LookupTopicOutput(ctx *Context, args *LookupTopicOutputArgs, opts ...InvokeOption) LookupTopicResultOutput
> Note: This function is named LookupTopic
in the Go SDK.
public static class GetTopic
{
public static Task<GetTopicResult> InvokeAsync(GetTopicArgs args, InvokeOptions? opts = null)
public static Output<GetTopicResult> Invoke(GetTopicInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTopicResult> getTopic(GetTopicArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:servicebus:getTopic
arguments:
# arguments dictionary
The following arguments are supported:
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Topic
Name string - The topic name.
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Topic
Name string - The topic name.
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- topic
Name String - The topic name.
- namespace
Name string - The namespace name
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- topic
Name string - The topic name.
- namespace_
name str - The namespace name
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- topic_
name str - The topic name.
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- topic
Name String - The topic name.
getTopic Result
The following output properties are available:
- Accessed
At string - Last time the message was sent, or a request was received, for this topic.
- Count
Details Pulumi.Azure Native. Service Bus. Outputs. Message Count Details Response - Message count details
- Created
At string - Exact time the message was created.
- Id string
- Resource Id
- Name string
- Resource name
- Size
In doubleBytes - Size of the topic, in bytes.
- Subscription
Count int - Number of subscriptions.
- Type string
- Resource type
- Updated
At string - The exact time the message was updated.
- Auto
Delete stringOn Idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- Default
Message stringTime To Live - 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.
- Duplicate
Detection stringHistory Time Window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- Enable
Batched boolOperations - 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.
- Max
Size intIn Megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- Requires
Duplicate boolDetection - Value indicating if this topic requires duplicate detection.
- Status string
- Enumerates the possible values for the status of a messaging entity.
- Support
Ordering bool - Value that indicates whether the topic supports ordering.
- Accessed
At string - Last time the message was sent, or a request was received, for this topic.
- Count
Details MessageCount Details Response - Message count details
- Created
At string - Exact time the message was created.
- Id string
- Resource Id
- Name string
- Resource name
- Size
In float64Bytes - Size of the topic, in bytes.
- Subscription
Count int - Number of subscriptions.
- Type string
- Resource type
- Updated
At string - The exact time the message was updated.
- Auto
Delete stringOn Idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- Default
Message stringTime To Live - 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.
- Duplicate
Detection stringHistory Time Window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- Enable
Batched boolOperations - 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.
- Max
Size intIn Megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- Requires
Duplicate boolDetection - Value indicating if this topic requires duplicate detection.
- Status string
- Enumerates the possible values for the status of a messaging entity.
- Support
Ordering bool - Value that indicates whether the topic supports ordering.
- accessed
At String - Last time the message was sent, or a request was received, for this topic.
- count
Details MessageCount Details Response - Message count details
- created
At String - Exact time the message was created.
- id String
- Resource Id
- name String
- Resource name
- size
In DoubleBytes - Size of the topic, in bytes.
- subscription
Count Integer - Number of subscriptions.
- type String
- Resource type
- updated
At String - The exact time the message was updated.
- auto
Delete StringOn Idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- default
Message StringTime To Live - 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.
- duplicate
Detection StringHistory Time Window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched BooleanOperations - Value that indicates whether server-side batched operations are enabled.
- enable
Express Boolean - 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 Boolean - Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
- max
Size IntegerIn Megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- requires
Duplicate BooleanDetection - Value indicating if this topic requires duplicate detection.
- status String
- Enumerates the possible values for the status of a messaging entity.
- support
Ordering Boolean - Value that indicates whether the topic supports ordering.
- accessed
At string - Last time the message was sent, or a request was received, for this topic.
- count
Details MessageCount Details Response - Message count details
- created
At string - Exact time the message was created.
- id string
- Resource Id
- name string
- Resource name
- size
In numberBytes - Size of the topic, in bytes.
- subscription
Count number - Number of subscriptions.
- type string
- Resource type
- updated
At string - The exact time the message was updated.
- auto
Delete stringOn Idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- default
Message stringTime To Live - 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.
- duplicate
Detection stringHistory Time Window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched booleanOperations - Value that indicates whether server-side batched operations are enabled.
- enable
Express boolean - 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 boolean - Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
- max
Size numberIn Megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- requires
Duplicate booleanDetection - Value indicating if this topic requires duplicate detection.
- status string
- Enumerates the possible values for the status of a messaging entity.
- support
Ordering boolean - Value that indicates whether the topic supports ordering.
- accessed_
at str - Last time the message was sent, or a request was received, for this topic.
- count_
details MessageCount Details Response - Message count details
- created_
at str - Exact time the message was created.
- id str
- Resource Id
- name str
- Resource name
- size_
in_ floatbytes - Size of the topic, in bytes.
- subscription_
count int - Number of subscriptions.
- type str
- Resource type
- updated_
at str - The exact time the message was updated.
- auto_
delete_ stron_ idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- default_
message_ strtime_ to_ live - 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.
- duplicate_
detection_ strhistory_ time_ window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable_
batched_ booloperations - 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.
- max_
size_ intin_ megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- requires_
duplicate_ booldetection - Value indicating if this topic requires duplicate detection.
- status str
- Enumerates the possible values for the status of a messaging entity.
- support_
ordering bool - Value that indicates whether the topic supports ordering.
- accessed
At String - Last time the message was sent, or a request was received, for this topic.
- count
Details Property Map - Message count details
- created
At String - Exact time the message was created.
- id String
- Resource Id
- name String
- Resource name
- size
In NumberBytes - Size of the topic, in bytes.
- subscription
Count Number - Number of subscriptions.
- type String
- Resource type
- updated
At String - The exact time the message was updated.
- auto
Delete StringOn Idle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- default
Message StringTime To Live - 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.
- duplicate
Detection StringHistory Time Window - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched BooleanOperations - Value that indicates whether server-side batched operations are enabled.
- enable
Express Boolean - 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 Boolean - Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
- max
Size NumberIn Megabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
- requires
Duplicate BooleanDetection - Value indicating if this topic requires duplicate detection.
- status String
- Enumerates the possible values for the status of a messaging entity.
- support
Ordering Boolean - Value that indicates whether the topic supports ordering.
Supporting Types
MessageCountDetailsResponse
- Active
Message doubleCount - Number of active messages in the queue, topic, or subscription.
- Dead
Letter doubleMessage Count - Number of messages that are dead lettered.
- Scheduled
Message doubleCount - Number of scheduled messages.
- Transfer
Dead doubleLetter Message Count - Number of messages transferred into dead letters.
- Transfer
Message doubleCount - Number of messages transferred to another queue, topic, or subscription.
- Active
Message float64Count - Number of active messages in the queue, topic, or subscription.
- Dead
Letter float64Message Count - Number of messages that are dead lettered.
- Scheduled
Message float64Count - Number of scheduled messages.
- Transfer
Dead float64Letter Message Count - Number of messages transferred into dead letters.
- Transfer
Message float64Count - Number of messages transferred to another queue, topic, or subscription.
- active
Message DoubleCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter DoubleMessage Count - Number of messages that are dead lettered.
- scheduled
Message DoubleCount - Number of scheduled messages.
- transfer
Dead DoubleLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message DoubleCount - Number of messages transferred to another queue, topic, or subscription.
- active
Message numberCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter numberMessage Count - Number of messages that are dead lettered.
- scheduled
Message numberCount - Number of scheduled messages.
- transfer
Dead numberLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message numberCount - Number of messages transferred to another queue, topic, or subscription.
- active_
message_ floatcount - Number of active messages in the queue, topic, or subscription.
- dead_
letter_ floatmessage_ count - Number of messages that are dead lettered.
- scheduled_
message_ floatcount - Number of scheduled messages.
- transfer_
dead_ floatletter_ message_ count - Number of messages transferred into dead letters.
- transfer_
message_ floatcount - Number of messages transferred to another queue, topic, or subscription.
- active
Message NumberCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter NumberMessage Count - Number of messages that are dead lettered.
- scheduled
Message NumberCount - Number of scheduled messages.
- transfer
Dead NumberLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message NumberCount - Number of messages transferred to another queue, topic, or subscription.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi