This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
azure-native.machinelearningservices.LinkedWorkspace
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
Linked workspace. Azure REST API version: 2020-05-15-preview. Prior API version in Azure Native 1.x: 2020-03-01.
Example Usage
CreateLinkedWorkspace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var linkedWorkspace = new AzureNative.MachineLearningServices.LinkedWorkspace("linkedWorkspace", new()
{
LinkName = "link-1",
Name = "link-1",
Properties = new AzureNative.MachineLearningServices.Inputs.LinkedWorkspacePropsArgs
{
LinkedWorkspaceResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1",
UserAssignedIdentityResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1",
},
ResourceGroupName = "resourceGroup-1",
WorkspaceName = "workspace-1",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningservices.NewLinkedWorkspace(ctx, "linkedWorkspace", &machinelearningservices.LinkedWorkspaceArgs{
LinkName: pulumi.String("link-1"),
Name: pulumi.String("link-1"),
Properties: &machinelearningservices.LinkedWorkspacePropsArgs{
LinkedWorkspaceResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1"),
UserAssignedIdentityResourceId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"),
},
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.LinkedWorkspace;
import com.pulumi.azurenative.machinelearningservices.LinkedWorkspaceArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.LinkedWorkspacePropsArgs;
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 linkedWorkspace = new LinkedWorkspace("linkedWorkspace", LinkedWorkspaceArgs.builder()
.linkName("link-1")
.name("link-1")
.properties(LinkedWorkspacePropsArgs.builder()
.linkedWorkspaceResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1")
.userAssignedIdentityResourceId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1")
.build())
.resourceGroupName("resourceGroup-1")
.workspaceName("workspace-1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
linked_workspace = azure_native.machinelearningservices.LinkedWorkspace("linkedWorkspace",
link_name="link-1",
name="link-1",
properties=azure_native.machinelearningservices.LinkedWorkspacePropsArgs(
linked_workspace_resource_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1",
user_assigned_identity_resource_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1",
),
resource_group_name="resourceGroup-1",
workspace_name="workspace-1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const linkedWorkspace = new azure_native.machinelearningservices.LinkedWorkspace("linkedWorkspace", {
linkName: "link-1",
name: "link-1",
properties: {
linkedWorkspaceResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1",
userAssignedIdentityResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1",
},
resourceGroupName: "resourceGroup-1",
workspaceName: "workspace-1",
});
resources:
linkedWorkspace:
type: azure-native:machinelearningservices:LinkedWorkspace
properties:
linkName: link-1
name: link-1
properties:
linkedWorkspaceResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/linkedWorkspace-1
userAssignedIdentityResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1
resourceGroupName: resourceGroup-1
workspaceName: workspace-1
Create LinkedWorkspace Resource
new LinkedWorkspace(name: string, args: LinkedWorkspaceArgs, opts?: CustomResourceOptions);
@overload
def LinkedWorkspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
link_name: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[LinkedWorkspacePropsArgs] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None)
@overload
def LinkedWorkspace(resource_name: str,
args: LinkedWorkspaceArgs,
opts: Optional[ResourceOptions] = None)
func NewLinkedWorkspace(ctx *Context, name string, args LinkedWorkspaceArgs, opts ...ResourceOption) (*LinkedWorkspace, error)
public LinkedWorkspace(string name, LinkedWorkspaceArgs args, CustomResourceOptions? opts = null)
public LinkedWorkspace(String name, LinkedWorkspaceArgs args)
public LinkedWorkspace(String name, LinkedWorkspaceArgs args, CustomResourceOptions options)
type: azure-native:machinelearningservices:LinkedWorkspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkedWorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LinkedWorkspaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LinkedWorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkedWorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LinkedWorkspaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LinkedWorkspace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LinkedWorkspace resource accepts the following input properties:
- Resource
Group stringName - Name of the resource group in which workspace is located.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Link
Name string - Friendly name of the linked workspace
- Name string
- Friendly name of the linked workspace
- Properties
Pulumi.
Azure Native. Machine Learning Services. Inputs. Linked Workspace Props - LinkedWorkspace specific properties.
- Resource
Group stringName - Name of the resource group in which workspace is located.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Link
Name string - Friendly name of the linked workspace
- Name string
- Friendly name of the linked workspace
- Properties
Linked
Workspace Props Args - LinkedWorkspace specific properties.
- resource
Group StringName - Name of the resource group in which workspace is located.
- workspace
Name String - Name of Azure Machine Learning workspace.
- link
Name String - Friendly name of the linked workspace
- name String
- Friendly name of the linked workspace
- properties
Linked
Workspace Props - LinkedWorkspace specific properties.
- resource
Group stringName - Name of the resource group in which workspace is located.
- workspace
Name string - Name of Azure Machine Learning workspace.
- link
Name string - Friendly name of the linked workspace
- name string
- Friendly name of the linked workspace
- properties
Linked
Workspace Props - LinkedWorkspace specific properties.
- resource_
group_ strname - Name of the resource group in which workspace is located.
- workspace_
name str - Name of Azure Machine Learning workspace.
- link_
name str - Friendly name of the linked workspace
- name str
- Friendly name of the linked workspace
- properties
Linked
Workspace Props Args - LinkedWorkspace specific properties.
- resource
Group StringName - Name of the resource group in which workspace is located.
- workspace
Name String - Name of Azure Machine Learning workspace.
- link
Name String - Friendly name of the linked workspace
- name String
- Friendly name of the linked workspace
- properties Property Map
- LinkedWorkspace specific properties.
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkedWorkspace resource produces the following output properties:
Supporting Types
LinkedWorkspaceProps, LinkedWorkspacePropsArgs
- Linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- User
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- Linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- User
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace StringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned StringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked_
workspace_ strresource_ id - ResourceId of the link target of the linked workspace.
- user_
assigned_ stridentity_ resource_ id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace StringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned StringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
LinkedWorkspacePropsResponse, LinkedWorkspacePropsResponseArgs
- Linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- User
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- Linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- User
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace StringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned StringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace stringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned stringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
- linked_
workspace_ strresource_ id - ResourceId of the link target of the linked workspace.
- user_
assigned_ stridentity_ resource_ id - ResourceId of the user assigned identity for the linked workspace.
- linked
Workspace StringResource Id - ResourceId of the link target of the linked workspace.
- user
Assigned StringIdentity Resource Id - ResourceId of the user assigned identity for the linked workspace.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearningservices:LinkedWorkspace link-1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedWorkspaces/{linkName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi