Module machinelearning

This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.

Resources

Functions

Others

Resources

Resource Workspace

class Workspace extends CustomResource

Manages a Azure Machine Learning Workspace

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const current = azure.core.getClientConfig({});
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleInsights = new azure.appinsights.Insights("exampleInsights", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    applicationType: "web",
});
const exampleKeyVault = new azure.keyvault.KeyVault("exampleKeyVault", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    tenantId: current.then(current => current.tenantId),
    skuName: "premium",
});
const exampleAccount = new azure.storage.Account("exampleAccount", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    accountTier: "Standard",
    accountReplicationType: "GRS",
});
const exampleWorkspace = new azure.machinelearning.Workspace("exampleWorkspace", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    applicationInsightsId: exampleInsights.id,
    keyVaultId: exampleKeyVault.id,
    storageAccountId: exampleAccount.id,
    identity: {
        type: "SystemAssigned",
    },
});

constructor

new Workspace(name: string, args: WorkspaceArgs, opts?: pulumi.CustomResourceOptions)

Create a Workspace resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceState, opts?: pulumi.CustomResourceOptions): Workspace

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Workspace

Returns true if the given object is an instance of Workspace. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property applicationInsightsId

public applicationInsightsId: pulumi.Output<string>;

The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property containerRegistryId

public containerRegistryId: pulumi.Output<string | undefined>;

The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property description

public description: pulumi.Output<string | undefined>;

The description of this Machine Learning Workspace.

property friendlyName

public friendlyName: pulumi.Output<string | undefined>;

Friendly name for this Machine Learning Workspace.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property identity

public identity: pulumi.Output<WorkspaceIdentity>;

An identity block defined below.

property keyVaultId

public keyVaultId: pulumi.Output<string>;

The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property location

public location: pulumi.Output<string>;

Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property skuName

public skuName: pulumi.Output<string | undefined>;

SKU/edition of the Machine Learning Workspace, possible values are Basic for a basic workspace or Enterprise for a feature rich workspace. Defaults to Basic.

property storageAccountId

public storageAccountId: pulumi.Output<string>;

The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property tags

public tags: pulumi.Output<{[key: string]: string} | undefined>;

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Functions

Function getWorkspace

getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceResult>

Use this data source to access information about an existing Machine Learning Workspace.

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const existing = azure.machinelearning.getWorkspace({
    name: "example-workspace",
    resourceGroupName: "example-resources",
});
export const id = azurerm_machine_learning_workspace.existing.id;

Others

interface GetWorkspaceArgs

interface GetWorkspaceArgs

A collection of arguments for invoking getWorkspace.

property name

name: string;

The name of the Machine Learning Workspace exists.

property resourceGroupName

resourceGroupName: string;

The name of the Resource Group where the Machine Learning Workspace exists.

interface GetWorkspaceResult

interface GetWorkspaceResult

A collection of values returned by getWorkspace.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property location

location: string;

The location where the Machine Learning Workspace exists.

property name

name: string;

property resourceGroupName

resourceGroupName: string;

property tags

tags: {[key: string]: string};

A mapping of tags assigned to the Machine Learning Workspace.

interface WorkspaceArgs

interface WorkspaceArgs

The set of arguments for constructing a Workspace resource.

property applicationInsightsId

applicationInsightsId: pulumi.Input<string>;

The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property containerRegistryId

containerRegistryId?: pulumi.Input<string>;

The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property description

description?: pulumi.Input<string>;

The description of this Machine Learning Workspace.

property friendlyName

friendlyName?: pulumi.Input<string>;

Friendly name for this Machine Learning Workspace.

property identity

identity: pulumi.Input<WorkspaceIdentity>;

An identity block defined below.

property keyVaultId

keyVaultId: pulumi.Input<string>;

The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property location

location?: pulumi.Input<string>;

Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property skuName

skuName?: pulumi.Input<string>;

SKU/edition of the Machine Learning Workspace, possible values are Basic for a basic workspace or Enterprise for a feature rich workspace. Defaults to Basic.

property storageAccountId

storageAccountId: pulumi.Input<string>;

The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

interface WorkspaceState

interface WorkspaceState

Input properties used for looking up and filtering Workspace resources.

property applicationInsightsId

applicationInsightsId?: pulumi.Input<string>;

The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property containerRegistryId

containerRegistryId?: pulumi.Input<string>;

The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property description

description?: pulumi.Input<string>;

The description of this Machine Learning Workspace.

property friendlyName

friendlyName?: pulumi.Input<string>;

Friendly name for this Machine Learning Workspace.

property identity

identity?: pulumi.Input<WorkspaceIdentity>;

An identity block defined below.

property keyVaultId

keyVaultId?: pulumi.Input<string>;

The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property location

location?: pulumi.Input<string>;

Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

property skuName

skuName?: pulumi.Input<string>;

SKU/edition of the Machine Learning Workspace, possible values are Basic for a basic workspace or Enterprise for a feature rich workspace. Defaults to Basic.

property storageAccountId

storageAccountId?: pulumi.Input<string>;

The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

property tags

tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.