import * as pulumi from "@pulumi/pulumi"; /** * Manages an EventGrid Partner Registration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const examplePartnerRegistration = new azure.eventgrid.PartnerRegistration("example", { * name: "example-partner-registration", * resourceGroupName: example.name, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.EventGrid` - 2025-02-15 * * ## Import * * EventGrid Partner Registrations can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:eventgrid/partnerRegistration:PartnerRegistration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.EventGrid/partnerRegistrations/example * ``` */ export declare class PartnerRegistration extends pulumi.CustomResource { /** * Get an existing PartnerRegistration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PartnerRegistrationState, opts?: pulumi.CustomResourceOptions): PartnerRegistration; /** * Returns true if the given object is an instance of PartnerRegistration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PartnerRegistration; /** * The name which should be used for this EventGrid Partner Registration. Changing this forces a new EventGrid Partner Registration to be created. */ readonly name: pulumi.Output; /** * The immutable id of the corresponding partner registration. */ readonly partnerRegistrationId: pulumi.Output; /** * The name of the Resource Group where the EventGrid Partner Registration should exist. Changing this forces a new EventGrid Partner Registration to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the EventGrid Partner Registration. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a PartnerRegistration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PartnerRegistrationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PartnerRegistration resources. */ export interface PartnerRegistrationState { /** * The name which should be used for this EventGrid Partner Registration. Changing this forces a new EventGrid Partner Registration to be created. */ name?: pulumi.Input; /** * The immutable id of the corresponding partner registration. */ partnerRegistrationId?: pulumi.Input; /** * The name of the Resource Group where the EventGrid Partner Registration should exist. Changing this forces a new EventGrid Partner Registration to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the EventGrid Partner Registration. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a PartnerRegistration resource. */ export interface PartnerRegistrationArgs { /** * The name which should be used for this EventGrid Partner Registration. Changing this forces a new EventGrid Partner Registration to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the EventGrid Partner Registration should exist. Changing this forces a new EventGrid Partner Registration to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the EventGrid Partner Registration. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }