UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

89 lines (88 loc) 3.16 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get properties of a namespace topic. * * Uses Azure REST API version 2025-02-15. * * Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native eventgrid [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNamespaceTopic(args: GetNamespaceTopicArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceTopicResult>; export interface GetNamespaceTopicArgs { /** * Name of the namespace. */ namespaceName: string; /** * The name of the resource group within the user's subscription. */ resourceGroupName: string; /** * Name of the namespace topic. */ topicName: string; } /** * Namespace topic details. */ export interface GetNamespaceTopicResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * 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. */ readonly eventRetentionInDays?: number; /** * Fully qualified identifier of the resource. */ readonly id: string; /** * This determines the format that is expected for incoming events published to the topic. */ readonly inputSchema?: string; /** * Name of the resource. */ readonly name: string; /** * Provisioning state of the namespace topic. */ readonly provisioningState: string; /** * Publisher type of the namespace topic. */ readonly publisherType?: string; /** * The system metadata relating to the Event Grid resource. */ readonly systemData: outputs.eventgrid.SystemDataResponse; /** * Type of the resource. */ readonly type: string; } /** * Get properties of a namespace topic. * * Uses Azure REST API version 2025-02-15. * * Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native eventgrid [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNamespaceTopicOutput(args: GetNamespaceTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceTopicResult>; export interface GetNamespaceTopicOutputArgs { /** * Name of the namespace. */ namespaceName: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. */ resourceGroupName: pulumi.Input<string>; /** * Name of the namespace topic. */ topicName: pulumi.Input<string>; }