import * as pulumi from "@pulumi/pulumi"; /** * Manages the Shared Private Link Resource for a Signalr service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.core.getClientConfig({}); * const example = new azure.core.ResourceGroup("example", { * name: "terraform-signalr", * location: "east us", * }); * const exampleKeyVault = new azure.keyvault.KeyVault("example", { * name: "examplekeyvault", * location: example.location, * resourceGroupName: example.name, * tenantId: current.then(current => current.tenantId), * skuName: "standard", * softDeleteRetentionDays: 7, * accessPolicies: [{ * tenantId: current.then(current => current.tenantId), * objectId: current.then(current => current.objectId), * certificatePermissions: ["ManageContacts"], * keyPermissions: ["Create"], * secretPermissions: ["Set"], * }], * }); * const test = new azure.signalr.Service("test", { * name: "tfex-signalr", * location: testAzurermResourceGroup.location, * resourceGroupName: testAzurermResourceGroup.name, * sku: { * name: "Standard_S1", * capacity: 1, * }, * }); * const exampleSharedPrivateLinkResource = new azure.signalr.SharedPrivateLinkResource("example", { * name: "tfex-signalr-splr", * signalrServiceId: exampleAzurermSignalrService.id, * subResourceName: "vault", * targetResourceId: exampleKeyVault.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.SignalRService` - 2024-03-01 * * ## Import * * Signalr Shared Private Link Resource can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:signalr/sharedPrivateLinkResource:SharedPrivateLinkResource example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1/sharedPrivateLinkResources/resource1 * ``` */ export declare class SharedPrivateLinkResource extends pulumi.CustomResource { /** * Get an existing SharedPrivateLinkResource 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?: SharedPrivateLinkResourceState, opts?: pulumi.CustomResourceOptions): SharedPrivateLinkResource; /** * Returns true if the given object is an instance of SharedPrivateLinkResource. 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 SharedPrivateLinkResource; /** * The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ readonly requestMessage: pulumi.Output; /** * The id of the Signalr Service. Changing this forces a new resource to be created. */ readonly signalrServiceId: pulumi.Output; /** * The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`. */ readonly status: pulumi.Output; /** * The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created. */ readonly subResourceName: pulumi.Output; /** * The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified. */ readonly targetResourceId: pulumi.Output; /** * Create a SharedPrivateLinkResource 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: SharedPrivateLinkResourceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SharedPrivateLinkResource resources. */ export interface SharedPrivateLinkResourceState { /** * The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ requestMessage?: pulumi.Input; /** * The id of the Signalr Service. Changing this forces a new resource to be created. */ signalrServiceId?: pulumi.Input; /** * The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`. */ status?: pulumi.Input; /** * The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created. */ subResourceName?: pulumi.Input; /** * The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified. */ targetResourceId?: pulumi.Input; } /** * The set of arguments for constructing a SharedPrivateLinkResource resource. */ export interface SharedPrivateLinkResourceArgs { /** * The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ requestMessage?: pulumi.Input; /** * The id of the Signalr Service. Changing this forces a new resource to be created. */ signalrServiceId: pulumi.Input; /** * The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created. */ subResourceName: pulumi.Input; /** * The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified. */ targetResourceId: pulumi.Input; }