1. Packages
  2. Azure Native
  3. API Docs
  4. eventgrid
  5. getNamespaceTopic
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.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.eventgrid.getNamespaceTopic

Explore with Pulumi AI

azure-native logo
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.38.0 published on Monday, Apr 22, 2024 by Pulumi

    Get properties of a namespace topic. Azure REST API version: 2023-06-01-preview.

    Other available API versions: 2023-12-15-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:eventgrid:getNamespaceTopic
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NamespaceName string
    Name of the namespace.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    TopicName string
    Name of the namespace topic.
    NamespaceName string
    Name of the namespace.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    TopicName string
    Name of the namespace topic.
    namespaceName String
    Name of the namespace.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    topicName String
    Name of the namespace topic.
    namespaceName string
    Name of the namespace.
    resourceGroupName string
    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_name str
    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.
    resourceGroupName String
    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.AzureNative.EventGrid.Outputs.SystemDataResponse
    The system metadata relating to namespace topic resource.
    Type string
    Type of the resource.
    EventRetentionInDays int
    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 SystemDataResponse
    The system metadata relating to namespace topic resource.
    Type string
    Type of the resource.
    EventRetentionInDays int
    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 SystemDataResponse
    The system metadata relating to namespace topic resource.
    type String
    Type of the resource.
    eventRetentionInDays Integer
    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 SystemDataResponse
    The system metadata relating to namespace topic resource.
    type string
    Type of the resource.
    eventRetentionInDays number
    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 SystemDataResponse
    The system metadata relating to namespace topic resource.
    type str
    Type of the resource.
    event_retention_in_days int
    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.
    eventRetentionInDays Number
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.38.0 published on Monday, Apr 22, 2024 by Pulumi