1. Packages
  2. Azure Native v2
  3. API Docs
  4. eventgrid
  5. getNamespaceTopic
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.eventgrid.getNamespaceTopic

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 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.

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>
Copy
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]
Copy
func LookupNamespaceTopic(ctx *Context, args *LookupNamespaceTopicArgs, opts ...InvokeOption) (*LookupNamespaceTopicResult, error)
func LookupNamespaceTopicOutput(ctx *Context, args *LookupNamespaceTopicOutputArgs, opts ...InvokeOption) LookupNamespaceTopicResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetNamespaceTopicResult> getNamespaceTopic(GetNamespaceTopicArgs args, InvokeOptions options)
public static Output<GetNamespaceTopicResult> getNamespaceTopic(GetNamespaceTopicArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:eventgrid:getNamespaceTopic
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
TopicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace topic.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
TopicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace topic.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the namespace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription.
topic_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the namespace topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi