This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.eventgrid.getNamespaceTopic
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get properties of a namespace topic. Azure REST API version: 2023-06-01-preview.
Other available API versions: 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-02-15.
Using getNamespaceTopic
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 getNamespaceTopic(args: GetNamespaceTopicArgs, opts?: InvokeOptions): Promise<GetNamespaceTopicResult>
function getNamespaceTopicOutput(args: GetNamespaceTopicOutputArgs, opts?: InvokeOptions): Output<GetNamespaceTopicResult>def get_namespace_topic(namespace_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        topic_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetNamespaceTopicResult
def get_namespace_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[GetNamespaceTopicResult]func LookupNamespaceTopic(ctx *Context, args *LookupNamespaceTopicArgs, opts ...InvokeOption) (*LookupNamespaceTopicResult, error)
func LookupNamespaceTopicOutput(ctx *Context, args *LookupNamespaceTopicOutputArgs, opts ...InvokeOption) LookupNamespaceTopicResultOutput> Note: This function is named LookupNamespaceTopic in the Go SDK.
public static class GetNamespaceTopic 
{
    public static Task<GetNamespaceTopicResult> InvokeAsync(GetNamespaceTopicArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceTopicResult> Invoke(GetNamespaceTopicInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceTopicResult> getNamespaceTopic(GetNamespaceTopicArgs args, InvokeOptions options)
public static Output<GetNamespaceTopicResult> getNamespaceTopic(GetNamespaceTopicArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:eventgrid:getNamespaceTopic
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NamespaceName string
- Name of the namespace.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription.
- TopicName string
- Name of the namespace topic.
- NamespaceName string
- Name of the namespace.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription.
- TopicName string
- Name of the namespace topic.
- namespaceName String
- Name of the namespace.
- resourceGroup StringName 
- The name of the resource group within the user's subscription.
- topicName String
- Name of the namespace topic.
- namespaceName string
- Name of the namespace.
- resourceGroup stringName 
- The name of the resource group within the user's subscription.
- topicName string
- Name of the namespace topic.
- namespace_name str
- Name of the namespace.
- resource_group_ strname 
- The name of the resource group within the user's subscription.
- topic_name str
- Name of the namespace topic.
- namespaceName String
- Name of the namespace.
- resourceGroup StringName 
- The name of the resource group within the user's subscription.
- topicName String
- Name of the namespace topic.
getNamespaceTopic Result
The following output properties are available:
- Id string
- Fully qualified identifier of the resource.
- Name string
- Name of the resource.
- ProvisioningState string
- Provisioning state of the namespace topic.
- SystemData Pulumi.Azure Native. Event Grid. Outputs. System Data Response 
- The system metadata relating to namespace topic resource.
- Type string
- Type of the resource.
- EventRetention intIn Days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- InputSchema string
- This determines the format that is expected for incoming events published to the topic.
- PublisherType string
- Publisher type of the namespace topic.
- Id string
- Fully qualified identifier of the resource.
- Name string
- Name of the resource.
- ProvisioningState string
- Provisioning state of the namespace topic.
- SystemData SystemData Response 
- The system metadata relating to namespace topic resource.
- Type string
- Type of the resource.
- EventRetention intIn Days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- InputSchema string
- This determines the format that is expected for incoming events published to the topic.
- PublisherType string
- Publisher type of the namespace topic.
- id String
- Fully qualified identifier of the resource.
- name String
- Name of the resource.
- provisioningState String
- Provisioning state of the namespace topic.
- systemData SystemData Response 
- The system metadata relating to namespace topic resource.
- type String
- Type of the resource.
- eventRetention IntegerIn Days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- inputSchema String
- This determines the format that is expected for incoming events published to the topic.
- publisherType String
- Publisher type of the namespace topic.
- id string
- Fully qualified identifier of the resource.
- name string
- Name of the resource.
- provisioningState string
- Provisioning state of the namespace topic.
- systemData SystemData Response 
- The system metadata relating to namespace topic resource.
- type string
- Type of the resource.
- eventRetention numberIn Days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- inputSchema string
- This determines the format that is expected for incoming events published to the topic.
- publisherType string
- Publisher type of the namespace topic.
- id str
- Fully qualified identifier of the resource.
- name str
- Name of the resource.
- provisioning_state str
- Provisioning state of the namespace topic.
- system_data SystemData Response 
- The system metadata relating to namespace topic resource.
- type str
- Type of the resource.
- event_retention_ intin_ days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- input_schema str
- This determines the format that is expected for incoming events published to the topic.
- publisher_type str
- Publisher type of the namespace topic.
- id String
- Fully qualified identifier of the resource.
- name String
- Name of the resource.
- provisioningState String
- Provisioning state of the namespace topic.
- systemData Property Map
- The system metadata relating to namespace topic resource.
- type String
- Type of the resource.
- eventRetention NumberIn Days 
- Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
- inputSchema String
- This determines the format that is expected for incoming events published to the topic.
- publisherType String
- Publisher type of the namespace topic.
Supporting Types
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi