SharedPrivateLinkServiceArgs

data class SharedPrivateLinkServiceArgs(val name: Output<String>? = null, val requestMessage: Output<String>? = null, val searchServiceId: Output<String>? = null, val subresourceName: Output<String>? = null, val targetResourceId: Output<String>? = null) : ConvertibleToJava<SharedPrivateLinkServiceArgs>

Manages the Shared Private Link Service for an Azure Search Service.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.search.Service;
import com.pulumi.azure.search.ServiceArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.search.SharedPrivateLinkService;
import com.pulumi.azure.search.SharedPrivateLinkServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testResourceGroup = new ResourceGroup("testResourceGroup", ResourceGroupArgs.builder()
.location("east us")
.build());
var testService = new Service("testService", ServiceArgs.builder()
.resourceGroupName(testResourceGroup.name())
.location(testResourceGroup.location())
.sku("standard")
.build());
var testAccount = new Account("testAccount", AccountArgs.builder()
.resourceGroupName(testResourceGroup.name())
.location(testResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var testSharedPrivateLinkService = new SharedPrivateLinkService("testSharedPrivateLinkService", SharedPrivateLinkServiceArgs.builder()
.searchServiceId(testService.id())
.subresourceName("blob")
.targetResourceId(testAccount.id())
.requestMessage("please approve")
.build());
}
}

Import

Azure Search Shared Private Link Resource can be imported using the resource id, e.g.

$ pulumi import azure:search/sharedPrivateLinkService:SharedPrivateLinkService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Search/searchServices/service1/sharedPrivateLinkResources/resource1

Constructors

Link copied to clipboard
fun SharedPrivateLinkServiceArgs(name: Output<String>? = null, requestMessage: Output<String>? = null, searchServiceId: Output<String>? = null, subresourceName: Output<String>? = null, targetResourceId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SharedPrivateLinkServiceArgs

Properties

Link copied to clipboard
val name: Output<String>? = null

Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created.

Link copied to clipboard
val requestMessage: Output<String>? = null

Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.

Link copied to clipboard
val searchServiceId: Output<String>? = null

Specify the id of the Azure Search Service. Changing this forces a new resource to be created.

Link copied to clipboard
val subresourceName: Output<String>? = null

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.

Link copied to clipboard
val targetResourceId: Output<String>? = null

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.