UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

102 lines (101 loc) 2.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the properties of the specified machine learning workspace. * * Uses Azure REST API version 2019-10-01. */ export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceResult>; export interface GetWorkspaceArgs { /** * The name of the resource group to which the machine learning workspace belongs. */ resourceGroupName: string; /** * The name of the machine learning workspace. */ workspaceName: string; } /** * An object that represents a machine learning workspace. */ export interface GetWorkspaceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation time for this workspace resource. */ readonly creationTime: string; /** * The resource ID. */ readonly id: string; /** * The key vault identifier used for encrypted workspaces. */ readonly keyVaultIdentifierId?: string; /** * The location of the resource. This cannot be changed after the resource is created. */ readonly location: string; /** * The name of the resource. */ readonly name: string; /** * The email id of the owner for this workspace. */ readonly ownerEmail: string; /** * The sku of the workspace. */ readonly sku?: outputs.machinelearning.SkuResponse; /** * The regional endpoint for the machine learning studio service which hosts this workspace. */ readonly studioEndpoint: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; /** * The fully qualified arm id of the storage account associated with this workspace. */ readonly userStorageAccountId: string; /** * The immutable id associated with this workspace. */ readonly workspaceId: string; /** * The current state of workspace resource. */ readonly workspaceState: string; /** * The type of this workspace. */ readonly workspaceType: string; } /** * Gets the properties of the specified machine learning workspace. * * Uses Azure REST API version 2019-10-01. */ export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceResult>; export interface GetWorkspaceOutputArgs { /** * The name of the resource group to which the machine learning workspace belongs. */ resourceGroupName: pulumi.Input<string>; /** * The name of the machine learning workspace. */ workspaceName: pulumi.Input<string>; }