1. Packages
  2. Azure Classic
  3. API Docs
  4. machinelearning
  5. WorkspaceNetworkOutboundRulePrivateEndpoint

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint

Explore with Pulumi AI

Manages an Azure Machine Learning Workspace Network Outbound Rule Private Endpoint.

Example Usage

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: "example-resources",
    location: "West Europe",
});
const exampleInsights = new azure.appinsights.Insights("example", {
    name: "workspace-example-ai",
    location: example.location,
    resourceGroupName: example.name,
    applicationType: "web",
});
const exampleKeyVault = new azure.keyvault.KeyVault("example", {
    name: "workspaceexamplekeyvault",
    location: example.location,
    resourceGroupName: example.name,
    tenantId: current.then(current => current.tenantId),
    skuName: "premium",
});
const exampleAccount = new azure.storage.Account("example", {
    name: "workspacestorageaccount",
    location: example.location,
    resourceGroupName: example.name,
    accountTier: "Standard",
    accountReplicationType: "GRS",
});
const exampleWorkspace = new azure.machinelearning.Workspace("example", {
    name: "example-workspace",
    location: example.location,
    resourceGroupName: example.name,
    applicationInsightsId: exampleInsights.id,
    keyVaultId: exampleKeyVault.id,
    storageAccountId: exampleAccount.id,
    managedNetwork: {
        isolationMode: "AllowOnlyApprovedOutbound",
    },
    identity: {
        type: "SystemAssigned",
    },
});
const example2 = new azure.storage.Account("example2", {
    name: "example-sa",
    location: test.location,
    resourceGroupName: test.name,
    accountTier: "Standard",
    accountReplicationType: "LRS",
});
const exampleWorkspaceNetworkOutboundRulePrivateEndpoint = new azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint("example", {
    name: "example-outboundrule",
    workspaceId: exampleWorkspace.id,
    serviceResourceId: example2.id,
    subResourceTarget: "blob",
});
Copy
import pulumi
import pulumi_azure as azure

current = azure.core.get_client_config()
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_insights = azure.appinsights.Insights("example",
    name="workspace-example-ai",
    location=example.location,
    resource_group_name=example.name,
    application_type="web")
example_key_vault = azure.keyvault.KeyVault("example",
    name="workspaceexamplekeyvault",
    location=example.location,
    resource_group_name=example.name,
    tenant_id=current.tenant_id,
    sku_name="premium")
example_account = azure.storage.Account("example",
    name="workspacestorageaccount",
    location=example.location,
    resource_group_name=example.name,
    account_tier="Standard",
    account_replication_type="GRS")
example_workspace = azure.machinelearning.Workspace("example",
    name="example-workspace",
    location=example.location,
    resource_group_name=example.name,
    application_insights_id=example_insights.id,
    key_vault_id=example_key_vault.id,
    storage_account_id=example_account.id,
    managed_network={
        "isolation_mode": "AllowOnlyApprovedOutbound",
    },
    identity={
        "type": "SystemAssigned",
    })
example2 = azure.storage.Account("example2",
    name="example-sa",
    location=test["location"],
    resource_group_name=test["name"],
    account_tier="Standard",
    account_replication_type="LRS")
example_workspace_network_outbound_rule_private_endpoint = azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint("example",
    name="example-outboundrule",
    workspace_id=example_workspace.id,
    service_resource_id=example2.id,
    sub_resource_target="blob")
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appinsights"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/keyvault"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/machinelearning"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("workspace-example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:              pulumi.String("workspaceexamplekeyvault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			TenantId:          pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("workspacestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-workspace"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			ManagedNetwork: &machinelearning.WorkspaceManagedNetworkArgs{
				IsolationMode: pulumi.String("AllowOnlyApprovedOutbound"),
			},
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		example2, err := storage.NewAccount(ctx, "example2", &storage.AccountArgs{
			Name:                   pulumi.String("example-sa"),
			Location:               pulumi.Any(test.Location),
			ResourceGroupName:      pulumi.Any(test.Name),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspaceNetworkOutboundRulePrivateEndpoint(ctx, "example", &machinelearning.WorkspaceNetworkOutboundRulePrivateEndpointArgs{
			Name:              pulumi.String("example-outboundrule"),
			WorkspaceId:       exampleWorkspace.ID(),
			ServiceResourceId: example2.ID(),
			SubResourceTarget: pulumi.String("blob"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var current = Azure.Core.GetClientConfig.Invoke();

    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });

    var exampleInsights = new Azure.AppInsights.Insights("example", new()
    {
        Name = "workspace-example-ai",
        Location = example.Location,
        ResourceGroupName = example.Name,
        ApplicationType = "web",
    });

    var exampleKeyVault = new Azure.KeyVault.KeyVault("example", new()
    {
        Name = "workspaceexamplekeyvault",
        Location = example.Location,
        ResourceGroupName = example.Name,
        TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
        SkuName = "premium",
    });

    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "workspacestorageaccount",
        Location = example.Location,
        ResourceGroupName = example.Name,
        AccountTier = "Standard",
        AccountReplicationType = "GRS",
    });

    var exampleWorkspace = new Azure.MachineLearning.Workspace("example", new()
    {
        Name = "example-workspace",
        Location = example.Location,
        ResourceGroupName = example.Name,
        ApplicationInsightsId = exampleInsights.Id,
        KeyVaultId = exampleKeyVault.Id,
        StorageAccountId = exampleAccount.Id,
        ManagedNetwork = new Azure.MachineLearning.Inputs.WorkspaceManagedNetworkArgs
        {
            IsolationMode = "AllowOnlyApprovedOutbound",
        },
        Identity = new Azure.MachineLearning.Inputs.WorkspaceIdentityArgs
        {
            Type = "SystemAssigned",
        },
    });

    var example2 = new Azure.Storage.Account("example2", new()
    {
        Name = "example-sa",
        Location = test.Location,
        ResourceGroupName = test.Name,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });

    var exampleWorkspaceNetworkOutboundRulePrivateEndpoint = new Azure.MachineLearning.WorkspaceNetworkOutboundRulePrivateEndpoint("example", new()
    {
        Name = "example-outboundrule",
        WorkspaceId = exampleWorkspace.Id,
        ServiceResourceId = example2.Id,
        SubResourceTarget = "blob",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appinsights.Insights;
import com.pulumi.azure.appinsights.InsightsArgs;
import com.pulumi.azure.keyvault.KeyVault;
import com.pulumi.azure.keyvault.KeyVaultArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.machinelearning.Workspace;
import com.pulumi.azure.machinelearning.WorkspaceArgs;
import com.pulumi.azure.machinelearning.inputs.WorkspaceManagedNetworkArgs;
import com.pulumi.azure.machinelearning.inputs.WorkspaceIdentityArgs;
import com.pulumi.azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint;
import com.pulumi.azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpointArgs;
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) {
        final var current = CoreFunctions.getClientConfig();

        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());

        var exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()
            .name("workspace-example-ai")
            .location(example.location())
            .resourceGroupName(example.name())
            .applicationType("web")
            .build());

        var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
            .name("workspaceexamplekeyvault")
            .location(example.location())
            .resourceGroupName(example.name())
            .tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
            .skuName("premium")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("workspacestorageaccount")
            .location(example.location())
            .resourceGroupName(example.name())
            .accountTier("Standard")
            .accountReplicationType("GRS")
            .build());

        var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
            .name("example-workspace")
            .location(example.location())
            .resourceGroupName(example.name())
            .applicationInsightsId(exampleInsights.id())
            .keyVaultId(exampleKeyVault.id())
            .storageAccountId(exampleAccount.id())
            .managedNetwork(WorkspaceManagedNetworkArgs.builder()
                .isolationMode("AllowOnlyApprovedOutbound")
                .build())
            .identity(WorkspaceIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .build());

        var example2 = new Account("example2", AccountArgs.builder()
            .name("example-sa")
            .location(test.location())
            .resourceGroupName(test.name())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .build());

        var exampleWorkspaceNetworkOutboundRulePrivateEndpoint = new WorkspaceNetworkOutboundRulePrivateEndpoint("exampleWorkspaceNetworkOutboundRulePrivateEndpoint", WorkspaceNetworkOutboundRulePrivateEndpointArgs.builder()
            .name("example-outboundrule")
            .workspaceId(exampleWorkspace.id())
            .serviceResourceId(example2.id())
            .subResourceTarget("blob")
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleInsights:
    type: azure:appinsights:Insights
    name: example
    properties:
      name: workspace-example-ai
      location: ${example.location}
      resourceGroupName: ${example.name}
      applicationType: web
  exampleKeyVault:
    type: azure:keyvault:KeyVault
    name: example
    properties:
      name: workspaceexamplekeyvault
      location: ${example.location}
      resourceGroupName: ${example.name}
      tenantId: ${current.tenantId}
      skuName: premium
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: workspacestorageaccount
      location: ${example.location}
      resourceGroupName: ${example.name}
      accountTier: Standard
      accountReplicationType: GRS
  exampleWorkspace:
    type: azure:machinelearning:Workspace
    name: example
    properties:
      name: example-workspace
      location: ${example.location}
      resourceGroupName: ${example.name}
      applicationInsightsId: ${exampleInsights.id}
      keyVaultId: ${exampleKeyVault.id}
      storageAccountId: ${exampleAccount.id}
      managedNetwork:
        isolationMode: AllowOnlyApprovedOutbound
      identity:
        type: SystemAssigned
  example2:
    type: azure:storage:Account
    properties:
      name: example-sa
      location: ${test.location}
      resourceGroupName: ${test.name}
      accountTier: Standard
      accountReplicationType: LRS
  exampleWorkspaceNetworkOutboundRulePrivateEndpoint:
    type: azure:machinelearning:WorkspaceNetworkOutboundRulePrivateEndpoint
    name: example
    properties:
      name: example-outboundrule
      workspaceId: ${exampleWorkspace.id}
      serviceResourceId: ${example2.id}
      subResourceTarget: blob
variables:
  current:
    fn::invoke:
      function: azure:core:getClientConfig
      arguments: {}
Copy

Create WorkspaceNetworkOutboundRulePrivateEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new WorkspaceNetworkOutboundRulePrivateEndpoint(name: string, args: WorkspaceNetworkOutboundRulePrivateEndpointArgs, opts?: CustomResourceOptions);
@overload
def WorkspaceNetworkOutboundRulePrivateEndpoint(resource_name: str,
                                                args: WorkspaceNetworkOutboundRulePrivateEndpointArgs,
                                                opts: Optional[ResourceOptions] = None)

@overload
def WorkspaceNetworkOutboundRulePrivateEndpoint(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                service_resource_id: Optional[str] = None,
                                                sub_resource_target: Optional[str] = None,
                                                workspace_id: Optional[str] = None,
                                                name: Optional[str] = None,
                                                spark_enabled: Optional[bool] = None)
func NewWorkspaceNetworkOutboundRulePrivateEndpoint(ctx *Context, name string, args WorkspaceNetworkOutboundRulePrivateEndpointArgs, opts ...ResourceOption) (*WorkspaceNetworkOutboundRulePrivateEndpoint, error)
public WorkspaceNetworkOutboundRulePrivateEndpoint(string name, WorkspaceNetworkOutboundRulePrivateEndpointArgs args, CustomResourceOptions? opts = null)
public WorkspaceNetworkOutboundRulePrivateEndpoint(String name, WorkspaceNetworkOutboundRulePrivateEndpointArgs args)
public WorkspaceNetworkOutboundRulePrivateEndpoint(String name, WorkspaceNetworkOutboundRulePrivateEndpointArgs args, CustomResourceOptions options)
type: azure:machinelearning:WorkspaceNetworkOutboundRulePrivateEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WorkspaceNetworkOutboundRulePrivateEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WorkspaceNetworkOutboundRulePrivateEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WorkspaceNetworkOutboundRulePrivateEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WorkspaceNetworkOutboundRulePrivateEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WorkspaceNetworkOutboundRulePrivateEndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var workspaceNetworkOutboundRulePrivateEndpointResource = new Azure.MachineLearning.WorkspaceNetworkOutboundRulePrivateEndpoint("workspaceNetworkOutboundRulePrivateEndpointResource", new()
{
    ServiceResourceId = "string",
    SubResourceTarget = "string",
    WorkspaceId = "string",
    Name = "string",
    SparkEnabled = false,
});
Copy
example, err := machinelearning.NewWorkspaceNetworkOutboundRulePrivateEndpoint(ctx, "workspaceNetworkOutboundRulePrivateEndpointResource", &machinelearning.WorkspaceNetworkOutboundRulePrivateEndpointArgs{
	ServiceResourceId: pulumi.String("string"),
	SubResourceTarget: pulumi.String("string"),
	WorkspaceId:       pulumi.String("string"),
	Name:              pulumi.String("string"),
	SparkEnabled:      pulumi.Bool(false),
})
Copy
var workspaceNetworkOutboundRulePrivateEndpointResource = new WorkspaceNetworkOutboundRulePrivateEndpoint("workspaceNetworkOutboundRulePrivateEndpointResource", WorkspaceNetworkOutboundRulePrivateEndpointArgs.builder()
    .serviceResourceId("string")
    .subResourceTarget("string")
    .workspaceId("string")
    .name("string")
    .sparkEnabled(false)
    .build());
Copy
workspace_network_outbound_rule_private_endpoint_resource = azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint("workspaceNetworkOutboundRulePrivateEndpointResource",
    service_resource_id="string",
    sub_resource_target="string",
    workspace_id="string",
    name="string",
    spark_enabled=False)
Copy
const workspaceNetworkOutboundRulePrivateEndpointResource = new azure.machinelearning.WorkspaceNetworkOutboundRulePrivateEndpoint("workspaceNetworkOutboundRulePrivateEndpointResource", {
    serviceResourceId: "string",
    subResourceTarget: "string",
    workspaceId: "string",
    name: "string",
    sparkEnabled: false,
});
Copy
type: azure:machinelearning:WorkspaceNetworkOutboundRulePrivateEndpoint
properties:
    name: string
    serviceResourceId: string
    sparkEnabled: false
    subResourceTarget: string
    workspaceId: string
Copy

WorkspaceNetworkOutboundRulePrivateEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The WorkspaceNetworkOutboundRulePrivateEndpoint resource accepts the following input properties:

ServiceResourceId
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

SubResourceTarget
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

WorkspaceId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
SparkEnabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
ServiceResourceId
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

SubResourceTarget
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

WorkspaceId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
SparkEnabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
serviceResourceId
This property is required.
Changes to this property will trigger replacement.
String

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

subResourceTarget
This property is required.
Changes to this property will trigger replacement.
String

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId
This property is required.
Changes to this property will trigger replacement.
String
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
sparkEnabled Changes to this property will trigger replacement. Boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
serviceResourceId
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

subResourceTarget
This property is required.
Changes to this property will trigger replacement.
string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId
This property is required.
Changes to this property will trigger replacement.
string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
sparkEnabled Changes to this property will trigger replacement. boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
service_resource_id
This property is required.
Changes to this property will trigger replacement.
str

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

sub_resource_target
This property is required.
Changes to this property will trigger replacement.
str

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspace_id
This property is required.
Changes to this property will trigger replacement.
str
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
spark_enabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
serviceResourceId
This property is required.
Changes to this property will trigger replacement.
String

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

subResourceTarget
This property is required.
Changes to this property will trigger replacement.
String

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId
This property is required.
Changes to this property will trigger replacement.
String
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
sparkEnabled Changes to this property will trigger replacement. Boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the WorkspaceNetworkOutboundRulePrivateEndpoint resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing WorkspaceNetworkOutboundRulePrivateEndpoint Resource

Get an existing WorkspaceNetworkOutboundRulePrivateEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: WorkspaceNetworkOutboundRulePrivateEndpointState, opts?: CustomResourceOptions): WorkspaceNetworkOutboundRulePrivateEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        service_resource_id: Optional[str] = None,
        spark_enabled: Optional[bool] = None,
        sub_resource_target: Optional[str] = None,
        workspace_id: Optional[str] = None) -> WorkspaceNetworkOutboundRulePrivateEndpoint
func GetWorkspaceNetworkOutboundRulePrivateEndpoint(ctx *Context, name string, id IDInput, state *WorkspaceNetworkOutboundRulePrivateEndpointState, opts ...ResourceOption) (*WorkspaceNetworkOutboundRulePrivateEndpoint, error)
public static WorkspaceNetworkOutboundRulePrivateEndpoint Get(string name, Input<string> id, WorkspaceNetworkOutboundRulePrivateEndpointState? state, CustomResourceOptions? opts = null)
public static WorkspaceNetworkOutboundRulePrivateEndpoint get(String name, Output<String> id, WorkspaceNetworkOutboundRulePrivateEndpointState state, CustomResourceOptions options)
resources:  _:    type: azure:machinelearning:WorkspaceNetworkOutboundRulePrivateEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
ServiceResourceId Changes to this property will trigger replacement. string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

SparkEnabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
SubResourceTarget Changes to this property will trigger replacement. string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

WorkspaceId Changes to this property will trigger replacement. string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
ServiceResourceId Changes to this property will trigger replacement. string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

SparkEnabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
SubResourceTarget Changes to this property will trigger replacement. string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

WorkspaceId Changes to this property will trigger replacement. string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
serviceResourceId Changes to this property will trigger replacement. String

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

sparkEnabled Changes to this property will trigger replacement. Boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
subResourceTarget Changes to this property will trigger replacement. String

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId Changes to this property will trigger replacement. String
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
serviceResourceId Changes to this property will trigger replacement. string

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

sparkEnabled Changes to this property will trigger replacement. boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
subResourceTarget Changes to this property will trigger replacement. string

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId Changes to this property will trigger replacement. string
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
service_resource_id Changes to this property will trigger replacement. str

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

spark_enabled Changes to this property will trigger replacement. bool
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
sub_resource_target Changes to this property will trigger replacement. str

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspace_id Changes to this property will trigger replacement. str
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name of the Machine Learning Workspace Network Outbound Rule Private Endpoint. Changing this forces a new resource to be created.
serviceResourceId Changes to this property will trigger replacement. String

Specifies the Service Resource ID to connect. Changing this forces a new resource to be created.

Note Supported service resources: Key Vault, Storage Account, Machine Learning Workspace, Redis.

sparkEnabled Changes to this property will trigger replacement. Boolean
Whether to enable an additional private endpoint to be used by jobs running on Spark. Changing this forces a new resource to be created.
subResourceTarget Changes to this property will trigger replacement. String

Specifies the Sub Resource of the service resource to connect to. Possible values are vault,amlworkspace,blob,table,queue,file,web,dfs, redisCache. Changing this forces a new resource to be created.

| Service | Sub Resource Type | |----------------------------|-------------------------------------------| | Machine Learning Workspace | amlworkspace | | Redis | redisCache | | Storage Account | blob,table,queue,file,web,dfs | | Key Vault | vault |

workspaceId Changes to this property will trigger replacement. String
Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.

Import

Machine Learning Workspace Network Outbound Rule Private Endpoint can be imported using the resource id, e.g.

$ pulumi import azure:machinelearning/workspaceNetworkOutboundRulePrivateEndpoint:WorkspaceNetworkOutboundRulePrivateEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/outboundRules/rule1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.