@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Machine Learning datastore object wrapped into ARM resource envelope.
*
* Uses Azure REST API version 2020-05-01-preview. In version 2.x of the Azure Native provider, it used API version 2020-05-01-preview.
*/
export declare class MachineLearningDatastore extends pulumi.CustomResource {
/**
* Get an existing MachineLearningDatastore resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MachineLearningDatastore;
/**
* Returns true if the given object is an instance of MachineLearningDatastore. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is MachineLearningDatastore;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The identity of the resource.
*/
readonly identity: pulumi.Output<outputs.machinelearningservices.IdentityResponse | undefined>;
/**
* Specifies the location of the resource.
*/
readonly location: pulumi.Output<string | undefined>;
/**
* Specifies the name of the resource.
*/
readonly name: pulumi.Output<string>;
/**
* Datastore properties
*/
readonly properties: pulumi.Output<outputs.machinelearningservices.DatastoreResponse>;
/**
* The sku of the workspace.
*/
readonly sku: pulumi.Output<outputs.machinelearningservices.SkuResponse | undefined>;
/**
* Contains resource tags defined as key/value pairs.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Specifies the type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Create a MachineLearningDatastore resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: MachineLearningDatastoreArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a MachineLearningDatastore resource.
*/
export interface MachineLearningDatastoreArgs {
/**
* Account Key of storage account.
*/
accountKey?: pulumi.Input<string>;
/**
* The name of the storage account.
*/
accountName?: pulumi.Input<string>;
/**
* The resource group the ADLS store belongs to. Defaults to selected resource group.
*/
adlsResourceGroup?: pulumi.Input<string>;
/**
* The ID of the subscription the ADLS store belongs to. Defaults to selected subscription.
*/
adlsSubscriptionId?: pulumi.Input<string>;
/**
* Authority url used to authenticate the user.
*/
authorityUrl?: pulumi.Input<string>;
/**
* The service principal's client/application ID.
*/
clientId?: pulumi.Input<string>;
/**
* The service principal's secret.
*/
clientSecret?: pulumi.Input<string>;
/**
* The name of the azure blob container.
*/
containerName?: pulumi.Input<string>;
/**
* Specifies datastore type.
*/
dataStoreType: pulumi.Input<string | enums.machinelearningservices.DatastoreTypeArm>;
/**
* The database name.
*/
databaseName?: pulumi.Input<string>;
/**
* The Datastore name.
*/
datastoreName?: pulumi.Input<string>;
/**
* The description of the datastore.
*/
description?: pulumi.Input<string>;
/**
* The endpoint of the server.
*/
endpoint?: pulumi.Input<string>;
/**
* This sets the ssl value of the server. Defaults to true if not set.
*/
enforceSSL?: pulumi.Input<boolean>;
/**
* The file system name of the ADLS Gen2.
*/
fileSystem?: pulumi.Input<string>;
/**
* Include datastore secret in response.
*/
includeSecret?: pulumi.Input<boolean>;
/**
* The name of the datastore.
*/
name?: pulumi.Input<string>;
/**
* The password.
*/
password?: pulumi.Input<string>;
/**
* The port number.
*/
port?: pulumi.Input<string>;
/**
* The protocol to be used
*/
protocol?: pulumi.Input<string>;
/**
* Name of the resource group in which workspace is located.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Determines what operations will be performed.
*/
resourceUrl?: pulumi.Input<string>;
/**
* Sas Token of storage account.
*/
sasToken?: pulumi.Input<string>;
/**
* The SQL/MySQL/PostgreSQL server name
*/
serverName?: pulumi.Input<string>;
/**
* The name of the file share.
*/
shareName?: pulumi.Input<string>;
/**
* Skip validation that ensures data can be loaded from the dataset before registration.
*/
skipValidation?: pulumi.Input<boolean>;
/**
* The resource group of the storage account. Defaults to selected resource group
*/
storageAccountResourceGroup?: pulumi.Input<string>;
/**
* The subscription ID of the storage account. Defaults to selected subscription
*/
storageAccountSubscriptionId?: pulumi.Input<string>;
/**
* The ADLS store name.
*/
storeName?: pulumi.Input<string>;
/**
* The service principal Tenant ID.
*/
tenantId?: pulumi.Input<string>;
/**
* The user ID.
*/
userId?: pulumi.Input<string>;
/**
* The username of the database user.
*/
userName?: pulumi.Input<string>;
/**
* Name of Azure Machine Learning workspace.
*/
workspaceName: pulumi.Input<string>;
/**
* If set to true, datastore support data access authenticated with Workspace MSI.
*/
workspaceSystemAssignedIdentity?: pulumi.Input<boolean>;
}