DatastoreDatalakeGen2

class DatastoreDatalakeGen2 : KotlinCustomResource

Manages a Machine Learning Data Lake Gen2 DataStore.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appinsights.Insights;
import com.pulumi.azure.appinsights.InsightsArgs;
import com.pulumi.azure.keyvault.KeyVault;
import com.pulumi.azure.keyvault.KeyVaultArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.machinelearning.Workspace;
import com.pulumi.azure.machinelearning.WorkspaceArgs;
import com.pulumi.azure.machinelearning.inputs.WorkspaceIdentityArgs;
import com.pulumi.azure.storage.Container;
import com.pulumi.azure.storage.ContainerArgs;
import com.pulumi.azure.machinelearning.DatastoreDatalakeGen2;
import com.pulumi.azure.machinelearning.DatastoreDatalakeGen2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var current = CoreFunctions.getClientConfig();
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.applicationType("web")
.build());
var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
.skuName("premium")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.accountTier("Standard")
.accountReplicationType("GRS")
.build());
var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.applicationInsightsId(exampleInsights.id())
.keyVaultId(exampleKeyVault.id())
.storageAccountId(exampleAccount.id())
.identity(WorkspaceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.build());
var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
.storageAccountName(exampleAccount.name())
.containerAccessType("private")
.build());
var exampleDatastoreDatalakeGen2 = new DatastoreDatalakeGen2("exampleDatastoreDatalakeGen2", DatastoreDatalakeGen2Args.builder()
.workspaceId(exampleWorkspace.id())
.storageContainerId(exampleContainer.resourceManagerId())
.build());
}
}

Import

Machine Learning DataStores can be imported using the resource id, e.g.

$ pulumi import azure:machinelearning/datastoreDatalakeGen2:DatastoreDatalakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1

Properties

Link copied to clipboard
val authorityUrl: Output<String>

An URL used for authentication.

Link copied to clipboard
val clientId: Output<String>?

The object ID of the Service Principal.

Link copied to clipboard
val clientSecret: Output<String>?

The secret of the Service Principal.

Link copied to clipboard
val description: Output<String>?

Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isDefault: Output<Boolean>

Indicates whether this Machines Learning DataStore is the default for the Workspace.

Link copied to clipboard
val name: Output<String>

The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies which identity to use when retrieving data from the specified source. Defaults to None. Possible values are None, WorkspaceSystemAssignedIdentity and WorkspaceUserAssignedIdentity.

Link copied to clipboard

The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

Link copied to clipboard
val tenantId: Output<String>?

The ID of the Tenant which the Service Principal belongs to.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val workspaceId: Output<String>

The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.