LinkedServiceArgs

data class LinkedServiceArgs(val identity: Output<IdentityArgs>? = null, val linkName: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val properties: Output<LinkedServicePropsArgs>? = null, val resourceGroupName: Output<String>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<LinkedServiceArgs>

Linked service. Uses Azure REST API version 2020-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2020-09-01-preview.

Example Usage

CreateLinkedService

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var linkedService = new AzureNative.MachineLearningServices.LinkedService("linkedService", new()
{
Identity = new AzureNative.MachineLearningServices.Inputs.IdentityArgs
{
Type = AzureNative.MachineLearningServices.ResourceIdentityType.SystemAssigned,
},
LinkName = "link-1",
Location = "westus",
Name = "link-1",
Properties = new AzureNative.MachineLearningServices.Inputs.LinkedServicePropsArgs
{
LinkedServiceResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1",
},
ResourceGroupName = "resourceGroup-1",
WorkspaceName = "workspace-1",
});
});
package main
import (
machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningservices.NewLinkedService(ctx, "linkedService", &machinelearningservices.LinkedServiceArgs{
Identity: &machinelearningservices.IdentityArgs{
Type: machinelearningservices.ResourceIdentityTypeSystemAssigned,
},
LinkName: pulumi.String("link-1"),
Location: pulumi.String("westus"),
Name: pulumi.String("link-1"),
Properties: &machinelearningservices.LinkedServicePropsArgs{
LinkedServiceResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1"),
},
ResourceGroupName: pulumi.String("resourceGroup-1"),
WorkspaceName: pulumi.String("workspace-1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.LinkedService;
import com.pulumi.azurenative.machinelearningservices.LinkedServiceArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.IdentityArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.LinkedServicePropsArgs;
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 linkedService = new LinkedService("linkedService", LinkedServiceArgs.builder()
.identity(IdentityArgs.builder()
.type("SystemAssigned")
.build())
.linkName("link-1")
.location("westus")
.name("link-1")
.properties(LinkedServicePropsArgs.builder()
.linkedServiceResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1")
.build())
.resourceGroupName("resourceGroup-1")
.workspaceName("workspace-1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:machinelearningservices:LinkedService link-1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedServices/{linkName}

Constructors

Link copied to clipboard
constructor(identity: Output<IdentityArgs>? = null, linkName: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, properties: Output<LinkedServicePropsArgs>? = null, resourceGroupName: Output<String>? = null, workspaceName: Output<String>? = null)

Properties

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

Identity for the resource.

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

Friendly name of the linked workspace

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

location of the linked service.

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

Friendly name of the linked service

Link copied to clipboard
val properties: Output<LinkedServicePropsArgs>? = null

LinkedService specific properties.

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

Name of the resource group in which workspace is located.

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

Name of Azure Machine Learning workspace.

Functions

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