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

86 lines (85 loc) 2.39 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Datastore by name. * * Uses Azure REST API version 2020-05-01-preview. */ export declare function getMachineLearningDatastore(args: GetMachineLearningDatastoreArgs, opts?: pulumi.InvokeOptions): Promise<GetMachineLearningDatastoreResult>; export interface GetMachineLearningDatastoreArgs { /** * The Datastore name. */ datastoreName: string; /** * Name of the resource group in which workspace is located. */ resourceGroupName: string; /** * Name of Azure Machine Learning workspace. */ workspaceName: string; } /** * Machine Learning datastore object wrapped into ARM resource envelope. */ export interface GetMachineLearningDatastoreResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Specifies the resource ID. */ readonly id: string; /** * The identity of the resource. */ readonly identity?: outputs.machinelearningservices.IdentityResponse; /** * Specifies the location of the resource. */ readonly location?: string; /** * Specifies the name of the resource. */ readonly name: string; /** * Datastore properties */ readonly properties: outputs.machinelearningservices.DatastoreResponse; /** * The sku of the workspace. */ readonly sku?: outputs.machinelearningservices.SkuResponse; /** * Contains resource tags defined as key/value pairs. */ readonly tags?: { [key: string]: string; }; /** * Specifies the type of the resource. */ readonly type: string; } /** * Get a Datastore by name. * * Uses Azure REST API version 2020-05-01-preview. */ export declare function getMachineLearningDatastoreOutput(args: GetMachineLearningDatastoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMachineLearningDatastoreResult>; export interface GetMachineLearningDatastoreOutputArgs { /** * The Datastore name. */ datastoreName: pulumi.Input<string>; /** * Name of the resource group in which workspace is located. */ resourceGroupName: pulumi.Input<string>; /** * Name of Azure Machine Learning workspace. */ workspaceName: pulumi.Input<string>; }