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

94 lines (93 loc) 3.41 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get properties of a permission binding. * * 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 getPermissionBinding(args: GetPermissionBindingArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionBindingResult>; export interface GetPermissionBindingArgs { /** * Name of the namespace. */ namespaceName: string; /** * Name of the permission binding. */ permissionBindingName: string; /** * The name of the resource group within the user's subscription. */ resourceGroupName: string; } /** * The Permission binding resource. */ export interface GetPermissionBindingResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The name of the client group resource that the permission is bound to. * The client group needs to be a resource under the same namespace the permission binding is a part of. */ readonly clientGroupName?: string; /** * Description for the Permission Binding resource. */ readonly description?: string; /** * Fully qualified identifier of the resource. */ readonly id: string; /** * Name of the resource. */ readonly name: string; /** * The allowed permission. */ readonly permission?: string; /** * Provisioning state of the PermissionBinding resource. */ readonly provisioningState: string; /** * The system metadata relating to the Event Grid resource. */ readonly systemData: outputs.eventgrid.SystemDataResponse; /** * The name of the Topic Space resource that the permission is bound to. * The Topic space needs to be a resource under the same namespace the permission binding is a part of. */ readonly topicSpaceName?: string; /** * Type of the resource. */ readonly type: string; } /** * Get properties of a permission binding. * * 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 getPermissionBindingOutput(args: GetPermissionBindingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPermissionBindingResult>; export interface GetPermissionBindingOutputArgs { /** * Name of the namespace. */ namespaceName: pulumi.Input<string>; /** * Name of the permission binding. */ permissionBindingName: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. */ resourceGroupName: pulumi.Input<string>; }