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

83 lines (82 loc) 3.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a partner registration with the specified parameters. * * Uses Azure REST API version 2025-02-15. * * Other available API versions: 2022-06-15, 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 getPartnerRegistration(args: GetPartnerRegistrationArgs, opts?: pulumi.InvokeOptions): Promise<GetPartnerRegistrationResult>; export interface GetPartnerRegistrationArgs { /** * Name of the partner registration. */ partnerRegistrationName: string; /** * The name of the resource group within the user's subscription. */ resourceGroupName: string; } /** * Information about a partner registration. */ export interface GetPartnerRegistrationResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified identifier of the resource. */ readonly id: string; /** * Location of the resource. */ readonly location: string; /** * Name of the resource. */ readonly name: string; /** * The immutableId of the corresponding partner registration. * Note: This property is marked for deprecation and is not supported in any future GA API version */ readonly partnerRegistrationImmutableId?: string; /** * Provisioning state of the partner registration. */ readonly provisioningState: string; /** * The system metadata relating to the Event Grid resource. */ readonly systemData: outputs.eventgrid.SystemDataResponse; /** * Tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * Type of the resource. */ readonly type: string; } /** * Gets a partner registration with the specified parameters. * * Uses Azure REST API version 2025-02-15. * * Other available API versions: 2022-06-15, 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 getPartnerRegistrationOutput(args: GetPartnerRegistrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPartnerRegistrationResult>; export interface GetPartnerRegistrationOutputArgs { /** * Name of the partner registration. */ partnerRegistrationName: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. */ resourceGroupName: pulumi.Input<string>; }