@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get properties of an event subscription 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 getNamespaceTopicEventSubscription(args: GetNamespaceTopicEventSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceTopicEventSubscriptionResult>;
export interface GetNamespaceTopicEventSubscriptionArgs {
/**
* Name of the event subscription to be found.
*/
eventSubscriptionName: string;
/**
* 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;
}
/**
* Event Subscription.
*/
export interface GetNamespaceTopicEventSubscriptionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Information about the delivery configuration of the event subscription.
*/
readonly deliveryConfiguration?: outputs.eventgrid.DeliveryConfigurationResponse;
/**
* The event delivery schema for the event subscription.
*/
readonly eventDeliverySchema?: string;
/**
* Expiration time of the event subscription.
*/
readonly expirationTimeUtc?: string;
/**
* Information about the filter for the event subscription.
*/
readonly filtersConfiguration?: outputs.eventgrid.FiltersConfigurationResponse;
/**
* Fully qualified identifier of the resource.
*/
readonly id: string;
/**
* Name of the resource.
*/
readonly name: string;
/**
* Provisioning state of the event subscription.
*/
readonly provisioningState: 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 an event subscription 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 getNamespaceTopicEventSubscriptionOutput(args: GetNamespaceTopicEventSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceTopicEventSubscriptionResult>;
export interface GetNamespaceTopicEventSubscriptionOutputArgs {
/**
* Name of the event subscription to be found.
*/
eventSubscriptionName: pulumi.Input<string>;
/**
* 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>;
}