import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing EventGrid Partner Registration * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.eventgrid.getPartnerRegistration({ * name: "my-eventgrid-partner-registration", * resourceGroupName: "example-resources", * }); * export const eventgridPartnerRegistrationId = example.then(example => example.partnerRegistrationId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.EventGrid` - 2025-02-15 */ export declare function getPartnerRegistration(args: GetPartnerRegistrationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPartnerRegistration. */ export interface GetPartnerRegistrationArgs { /** * The name of the EventGrid Partner Registration resource. */ name: string; /** * The name of the resource group in which the EventGrid Partner Registration exists. */ resourceGroupName: string; } /** * A collection of values returned by getPartnerRegistration. */ export interface GetPartnerRegistrationResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * The immutable id of the corresponding partner registration. */ readonly partnerRegistrationId: string; readonly resourceGroupName: string; /** * A mapping of tags which are assigned to the EventGrid Partner Registration. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing EventGrid Partner Registration * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.eventgrid.getPartnerRegistration({ * name: "my-eventgrid-partner-registration", * resourceGroupName: "example-resources", * }); * export const eventgridPartnerRegistrationId = example.then(example => example.partnerRegistrationId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.EventGrid` - 2025-02-15 */ export declare function getPartnerRegistrationOutput(args: GetPartnerRegistrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPartnerRegistration. */ export interface GetPartnerRegistrationOutputArgs { /** * The name of the EventGrid Partner Registration resource. */ name: pulumi.Input; /** * The name of the resource group in which the EventGrid Partner Registration exists. */ resourceGroupName: pulumi.Input; }