@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.39 kB
TypeScript
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>;
}