import * as pulumi from "@pulumi/pulumi"; /** * Manages the Shared Private Link Service for an Azure Search Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const test = new azure.core.ResourceGroup("test", { * name: "example-resourceGroup", * location: "east us", * }); * const testService = new azure.search.Service("test", { * name: "example-search", * resourceGroupName: test.name, * location: test.location, * sku: "standard", * }); * const testAccount = new azure.storage.Account("test", { * name: "example", * resourceGroupName: test.name, * location: test.location, * accountTier: "Standard", * accountReplicationType: "LRS", * }); * const testSharedPrivateLinkService = new azure.search.SharedPrivateLinkService("test", { * name: "example-spl", * searchServiceId: testService.id, * subresourceName: "blob", * targetResourceId: testAccount.id, * requestMessage: "please approve", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Search` - 2025-05-01 * * ## Import * * Azure Search Shared Private Link Resource can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:search/sharedPrivateLinkService:SharedPrivateLinkService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Search/searchServices/service1/sharedPrivateLinkResources/resource1 * ``` */ export declare class SharedPrivateLinkService extends pulumi.CustomResource { /** * Get an existing SharedPrivateLinkService 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?: SharedPrivateLinkServiceState, opts?: pulumi.CustomResourceOptions): SharedPrivateLinkService; /** * Returns true if the given object is an instance of SharedPrivateLinkService. 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 SharedPrivateLinkService; /** * Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ readonly requestMessage: pulumi.Output; /** * Specify the id of the Azure Search Service. Changing this forces a new resource to be created. */ readonly searchServiceId: pulumi.Output; /** * The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected. */ readonly status: pulumi.Output; /** * Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created. */ readonly subresourceName: pulumi.Output; /** * Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The sub resource name should match with the type of the target resource id that's being specified. */ readonly targetResourceId: pulumi.Output; /** * Create a SharedPrivateLinkService 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: SharedPrivateLinkServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SharedPrivateLinkService resources. */ export interface SharedPrivateLinkServiceState { /** * Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ requestMessage?: pulumi.Input; /** * Specify the id of the Azure Search Service. Changing this forces a new resource to be created. */ searchServiceId?: pulumi.Input; /** * The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected. */ status?: pulumi.Input; /** * Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created. */ subresourceName?: pulumi.Input; /** * Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The sub resource name should match with the type of the target resource id that's being specified. */ targetResourceId?: pulumi.Input; } /** * The set of arguments for constructing a SharedPrivateLinkService resource. */ export interface SharedPrivateLinkServiceArgs { /** * Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource. */ requestMessage?: pulumi.Input; /** * Specify the id of the Azure Search Service. Changing this forces a new resource to be created. */ searchServiceId: pulumi.Input; /** * Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created. */ subresourceName: pulumi.Input; /** * Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created. * * > **Note:** The sub resource name should match with the type of the target resource id that's being specified. */ targetResourceId: pulumi.Input; }