All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.machinelearningservices.kotlin.MachineLearningDatastoreArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin

import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs.builder
import com.pulumi.azurenative.machinelearningservices.kotlin.enums.DatastoreTypeArm
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Machine Learning datastore object wrapped into ARM resource envelope.
 * Azure REST API version: 2020-05-01-preview. Prior API version in Azure Native 1.x: 2020-05-01-preview.
 * ## Example Usage
 * ### Create ADLS  Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         ClientId = "233d7008-b157-4354-88d1-ba191f06a900",
 *         ClientSecret = "vdvgdvdvdv",
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Adls,
 *         DatastoreName = "adlsDatastore",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         StoreName = "stanley",
 *         TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			ClientId:          pulumi.String("233d7008-b157-4354-88d1-ba191f06a900"),
 * 			ClientSecret:      pulumi.String("vdvgdvdvdv"),
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmAdls),
 * 			DatastoreName:     pulumi.String("adlsDatastore"),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			StoreName:         pulumi.String("stanley"),
 * 			TenantId:          pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .clientId("233d7008-b157-4354-88d1-ba191f06a900")
 *             .clientSecret("vdvgdvdvdv")
 *             .dataStoreType("adls")
 *             .datastoreName("adlsDatastore")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .storeName("stanley")
 *             .tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create ADLS Gen2 Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         AccountName = "nicksadlsgen2storage",
 *         ClientId = "233d7008-b157-4354-88d1-ba191f06a900",
 *         ClientSecret = "vdegbvedgeg",
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Adls_gen2,
 *         DatastoreName = "adlsgen2Datastore",
 *         FileSystem = "testfs1",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			AccountName:       pulumi.String("nicksadlsgen2storage"),
 * 			ClientId:          pulumi.String("233d7008-b157-4354-88d1-ba191f06a900"),
 * 			ClientSecret:      pulumi.String("vdegbvedgeg"),
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArm_Adls_Gen2),
 * 			DatastoreName:     pulumi.String("adlsgen2Datastore"),
 * 			FileSystem:        pulumi.String("testfs1"),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			TenantId:          pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .accountName("nicksadlsgen2storage")
 *             .clientId("233d7008-b157-4354-88d1-ba191f06a900")
 *             .clientSecret("vdegbvedgeg")
 *             .dataStoreType("adls-gen2")
 *             .datastoreName("adlsgen2Datastore")
 *             .fileSystem("testfs1")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create Blob Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         AccountKey = "wddrfewfewsgewgrrwegwreg",
 *         AccountName = "acjainmleastus9484093746",
 *         ContainerName = "azureml-blobstore-5da947c5-53aa-41a5-bb2b-074074e73b7",
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Blob,
 *         DatastoreName = "blobDatastore",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			AccountKey:        pulumi.String("wddrfewfewsgewgrrwegwreg"),
 * 			AccountName:       pulumi.String("acjainmleastus9484093746"),
 * 			ContainerName:     pulumi.String("azureml-blobstore-5da947c5-53aa-41a5-bb2b-074074e73b7"),
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmBlob),
 * 			DatastoreName:     pulumi.String("blobDatastore"),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .accountKey("wddrfewfewsgewgrrwegwreg")
 *             .accountName("acjainmleastus9484093746")
 *             .containerName("azureml-blobstore-5da947c5-53aa-41a5-bb2b-074074e73b7")
 *             .dataStoreType("blob")
 *             .datastoreName("blobDatastore")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create Databricks File System Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Dbfs,
 *         DatastoreName = "blobDatastore",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmDbfs),
 * 			DatastoreName:     pulumi.String("blobDatastore"),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .dataStoreType("dbfs")
 *             .datastoreName("blobDatastore")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create File Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         AccountKey = "wddrfewfewsgewgrrwegwreg",
 *         AccountName = "acjainmleastus9484093746",
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.File,
 *         DatastoreName = "fileDatastore",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         ShareName = "azureml-filestore-5da947c5-53aa-41a5-bb2b-074074e73b76",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			AccountKey:        pulumi.String("wddrfewfewsgewgrrwegwreg"),
 * 			AccountName:       pulumi.String("acjainmleastus9484093746"),
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmFile),
 * 			DatastoreName:     pulumi.String("fileDatastore"),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			ShareName:         pulumi.String("azureml-filestore-5da947c5-53aa-41a5-bb2b-074074e73b76"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .accountKey("wddrfewfewsgewgrrwegwreg")
 *             .accountName("acjainmleastus9484093746")
 *             .dataStoreType("file")
 *             .datastoreName("fileDatastore")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .shareName("azureml-filestore-5da947c5-53aa-41a5-bb2b-074074e73b76")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create MySQL Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Mysqldb,
 *         DatabaseName = "dataset",
 *         DatastoreName = "mySqlDatastore",
 *         Password = "",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         ServerName = "dataset-mysql-srv",
 *         UserId = "demo_user@dataset-mysql-srv",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmMysqldb),
 * 			DatabaseName:      pulumi.String("dataset"),
 * 			DatastoreName:     pulumi.String("mySqlDatastore"),
 * 			Password:          pulumi.String(""),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			ServerName:        pulumi.String("dataset-mysql-srv"),
 * 			UserId:            pulumi.String("demo_user@dataset-mysql-srv"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .dataStoreType("mysqldb")
 *             .databaseName("dataset")
 *             .datastoreName("mySqlDatastore")
 *             .password("")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .serverName("dataset-mysql-srv")
 *             .userId("demo_user@dataset-mysql-srv")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create PostgreSQL Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Psqldb,
 *         DatabaseName = "dataset",
 *         DatastoreName = "postgreSqlDatastore",
 *         Password = "",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         ServerName = "dataset-pgsql-srv",
 *         UserId = "demo_user@dataset-pgsql-srv",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmPsqldb),
 * 			DatabaseName:      pulumi.String("dataset"),
 * 			DatastoreName:     pulumi.String("postgreSqlDatastore"),
 * 			Password:          pulumi.String(""),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			ServerName:        pulumi.String("dataset-pgsql-srv"),
 * 			UserId:            pulumi.String("demo_user@dataset-pgsql-srv"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .dataStoreType("psqldb")
 *             .databaseName("dataset")
 *             .datastoreName("postgreSqlDatastore")
 *             .password("")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .serverName("dataset-pgsql-srv")
 *             .userId("demo_user@dataset-pgsql-srv")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ### Create SQL Datastore
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var machineLearningDatastore = new AzureNative.MachineLearningServices.MachineLearningDatastore("machineLearningDatastore", new()
 *     {
 *         DataStoreType = AzureNative.MachineLearningServices.DatastoreTypeArm.Sqldb,
 *         DatabaseName = "dataset",
 *         DatastoreName = "sqlDatastore",
 *         Password = "",
 *         ResourceGroupName = "acjain-mleastUS2",
 *         ServerName = "dataset-azsql-srv",
 *         UserName = "demo_user",
 *         WorkspaceName = "acjain-mleastUS2",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := machinelearningservices.NewMachineLearningDatastore(ctx, "machineLearningDatastore", &machinelearningservices.MachineLearningDatastoreArgs{
 * 			DataStoreType:     pulumi.String(machinelearningservices.DatastoreTypeArmSqldb),
 * 			DatabaseName:      pulumi.String("dataset"),
 * 			DatastoreName:     pulumi.String("sqlDatastore"),
 * 			Password:          pulumi.String(""),
 * 			ResourceGroupName: pulumi.String("acjain-mleastUS2"),
 * 			ServerName:        pulumi.String("dataset-azsql-srv"),
 * 			UserName:          pulumi.String("demo_user"),
 * 			WorkspaceName:     pulumi.String("acjain-mleastUS2"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastore;
 * import com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs;
 * 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) {
 *         var machineLearningDatastore = new MachineLearningDatastore("machineLearningDatastore", MachineLearningDatastoreArgs.builder()
 *             .dataStoreType("sqldb")
 *             .databaseName("dataset")
 *             .datastoreName("sqlDatastore")
 *             .password("")
 *             .resourceGroupName("acjain-mleastUS2")
 *             .serverName("dataset-azsql-srv")
 *             .userName("demo_user")
 *             .workspaceName("acjain-mleastUS2")
 *             .build());
 *     }
 * }
 * ```
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:machinelearningservices:MachineLearningDatastore sqlDatastore /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{datastoreName}
 * ```
 * @property accountKey Account Key of storage account.
 * @property accountName The name of the storage account.
 * @property adlsResourceGroup The resource group the ADLS store belongs to. Defaults to selected resource group.
 * @property adlsSubscriptionId The ID of the subscription the ADLS store belongs to. Defaults to selected subscription.
 * @property authorityUrl Authority url used to authenticate the user.
 * @property clientId The service principal's client/application ID.
 * @property clientSecret The service principal's secret.
 * @property containerName The name of the azure blob container.
 * @property dataStoreType Specifies datastore type.
 * @property databaseName The database name.
 * @property datastoreName The Datastore name.
 * @property description The description of the datastore.
 * @property endpoint The endpoint of the server.
 * @property enforceSSL This sets the ssl value of the server. Defaults to true if not set.
 * @property fileSystem The file system name of the ADLS Gen2.
 * @property includeSecret Include datastore secret in response.
 * @property name The name of the datastore.
 * @property password The password.
 * @property port The port number.
 * @property protocol The protocol to be used
 * @property resourceGroupName Name of the resource group in which workspace is located.
 * @property resourceUrl Determines what operations will be performed.
 * @property sasToken Sas Token of storage account.
 * @property serverName The SQL/MySQL/PostgreSQL server name
 * @property shareName The name of the file share.
 * @property skipValidation Skip validation that ensures data can be loaded from the dataset before registration.
 * @property storageAccountResourceGroup The resource group of the storage account. Defaults to selected resource group
 * @property storageAccountSubscriptionId The subscription ID of the storage account. Defaults to selected subscription
 * @property storeName The ADLS store name.
 * @property tenantId The service principal Tenant ID.
 * @property userId The user ID.
 * @property userName The username of the database user.
 * @property workspaceName Name of Azure Machine Learning workspace.
 * @property workspaceSystemAssignedIdentity If set to true, datastore support data access authenticated with Workspace MSI.
 */
public data class MachineLearningDatastoreArgs(
    public val accountKey: Output? = null,
    public val accountName: Output? = null,
    public val adlsResourceGroup: Output? = null,
    public val adlsSubscriptionId: Output? = null,
    public val authorityUrl: Output? = null,
    public val clientId: Output? = null,
    public val clientSecret: Output? = null,
    public val containerName: Output? = null,
    public val dataStoreType: Output>? = null,
    public val databaseName: Output? = null,
    public val datastoreName: Output? = null,
    public val description: Output? = null,
    public val endpoint: Output? = null,
    public val enforceSSL: Output? = null,
    public val fileSystem: Output? = null,
    public val includeSecret: Output? = null,
    public val name: Output? = null,
    public val password: Output? = null,
    public val port: Output? = null,
    public val protocol: Output? = null,
    public val resourceGroupName: Output? = null,
    public val resourceUrl: Output? = null,
    public val sasToken: Output? = null,
    public val serverName: Output? = null,
    public val shareName: Output? = null,
    public val skipValidation: Output? = null,
    public val storageAccountResourceGroup: Output? = null,
    public val storageAccountSubscriptionId: Output? = null,
    public val storeName: Output? = null,
    public val tenantId: Output? = null,
    public val userId: Output? = null,
    public val userName: Output? = null,
    public val workspaceName: Output? = null,
    public val workspaceSystemAssignedIdentity: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs = com.pulumi.azurenative.machinelearningservices.MachineLearningDatastoreArgs.builder()
        .accountKey(accountKey?.applyValue({ args0 -> args0 }))
        .accountName(accountName?.applyValue({ args0 -> args0 }))
        .adlsResourceGroup(adlsResourceGroup?.applyValue({ args0 -> args0 }))
        .adlsSubscriptionId(adlsSubscriptionId?.applyValue({ args0 -> args0 }))
        .authorityUrl(authorityUrl?.applyValue({ args0 -> args0 }))
        .clientId(clientId?.applyValue({ args0 -> args0 }))
        .clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
        .containerName(containerName?.applyValue({ args0 -> args0 }))
        .dataStoreType(
            dataStoreType?.applyValue({ args0 ->
                args0.transform({ args0 -> args0 }, { args0 ->
                    args0.let({ args0 -> args0.toJava() })
                })
            }),
        )
        .databaseName(databaseName?.applyValue({ args0 -> args0 }))
        .datastoreName(datastoreName?.applyValue({ args0 -> args0 }))
        .description(description?.applyValue({ args0 -> args0 }))
        .endpoint(endpoint?.applyValue({ args0 -> args0 }))
        .enforceSSL(enforceSSL?.applyValue({ args0 -> args0 }))
        .fileSystem(fileSystem?.applyValue({ args0 -> args0 }))
        .includeSecret(includeSecret?.applyValue({ args0 -> args0 }))
        .name(name?.applyValue({ args0 -> args0 }))
        .password(password?.applyValue({ args0 -> args0 }))
        .port(port?.applyValue({ args0 -> args0 }))
        .protocol(protocol?.applyValue({ args0 -> args0 }))
        .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
        .resourceUrl(resourceUrl?.applyValue({ args0 -> args0 }))
        .sasToken(sasToken?.applyValue({ args0 -> args0 }))
        .serverName(serverName?.applyValue({ args0 -> args0 }))
        .shareName(shareName?.applyValue({ args0 -> args0 }))
        .skipValidation(skipValidation?.applyValue({ args0 -> args0 }))
        .storageAccountResourceGroup(storageAccountResourceGroup?.applyValue({ args0 -> args0 }))
        .storageAccountSubscriptionId(storageAccountSubscriptionId?.applyValue({ args0 -> args0 }))
        .storeName(storeName?.applyValue({ args0 -> args0 }))
        .tenantId(tenantId?.applyValue({ args0 -> args0 }))
        .userId(userId?.applyValue({ args0 -> args0 }))
        .userName(userName?.applyValue({ args0 -> args0 }))
        .workspaceName(workspaceName?.applyValue({ args0 -> args0 }))
        .workspaceSystemAssignedIdentity(
            workspaceSystemAssignedIdentity?.applyValue({ args0 ->
                args0
            }),
        ).build()
}

/**
 * Builder for [MachineLearningDatastoreArgs].
 */
@PulumiTagMarker
public class MachineLearningDatastoreArgsBuilder internal constructor() {
    private var accountKey: Output? = null

    private var accountName: Output? = null

    private var adlsResourceGroup: Output? = null

    private var adlsSubscriptionId: Output? = null

    private var authorityUrl: Output? = null

    private var clientId: Output? = null

    private var clientSecret: Output? = null

    private var containerName: Output? = null

    private var dataStoreType: Output>? = null

    private var databaseName: Output? = null

    private var datastoreName: Output? = null

    private var description: Output? = null

    private var endpoint: Output? = null

    private var enforceSSL: Output? = null

    private var fileSystem: Output? = null

    private var includeSecret: Output? = null

    private var name: Output? = null

    private var password: Output? = null

    private var port: Output? = null

    private var protocol: Output? = null

    private var resourceGroupName: Output? = null

    private var resourceUrl: Output? = null

    private var sasToken: Output? = null

    private var serverName: Output? = null

    private var shareName: Output? = null

    private var skipValidation: Output? = null

    private var storageAccountResourceGroup: Output? = null

    private var storageAccountSubscriptionId: Output? = null

    private var storeName: Output? = null

    private var tenantId: Output? = null

    private var userId: Output? = null

    private var userName: Output? = null

    private var workspaceName: Output? = null

    private var workspaceSystemAssignedIdentity: Output? = null

    /**
     * @param value Account Key of storage account.
     */
    @JvmName("wydgthspiwasnbsv")
    public suspend fun accountKey(`value`: Output) {
        this.accountKey = value
    }

    /**
     * @param value The name of the storage account.
     */
    @JvmName("kgbxvkioakgfttqc")
    public suspend fun accountName(`value`: Output) {
        this.accountName = value
    }

    /**
     * @param value The resource group the ADLS store belongs to. Defaults to selected resource group.
     */
    @JvmName("bomjruceijmcrlry")
    public suspend fun adlsResourceGroup(`value`: Output) {
        this.adlsResourceGroup = value
    }

    /**
     * @param value The ID of the subscription the ADLS store belongs to. Defaults to selected subscription.
     */
    @JvmName("adxoovlqmnmurwii")
    public suspend fun adlsSubscriptionId(`value`: Output) {
        this.adlsSubscriptionId = value
    }

    /**
     * @param value Authority url used to authenticate the user.
     */
    @JvmName("mnjwxogoejlmcplt")
    public suspend fun authorityUrl(`value`: Output) {
        this.authorityUrl = value
    }

    /**
     * @param value The service principal's client/application ID.
     */
    @JvmName("dhvfwtphlwvigglq")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The service principal's secret.
     */
    @JvmName("yowmrexsnhjguvfx")
    public suspend fun clientSecret(`value`: Output) {
        this.clientSecret = value
    }

    /**
     * @param value The name of the azure blob container.
     */
    @JvmName("uetparddxtvndujc")
    public suspend fun containerName(`value`: Output) {
        this.containerName = value
    }

    /**
     * @param value Specifies datastore type.
     */
    @JvmName("oswlswojqdmrbwtf")
    public suspend fun dataStoreType(`value`: Output>) {
        this.dataStoreType = value
    }

    /**
     * @param value The database name.
     */
    @JvmName("xlcutlpnjpudkcgv")
    public suspend fun databaseName(`value`: Output) {
        this.databaseName = value
    }

    /**
     * @param value The Datastore name.
     */
    @JvmName("yuwkyjesfnvuidhj")
    public suspend fun datastoreName(`value`: Output) {
        this.datastoreName = value
    }

    /**
     * @param value The description of the datastore.
     */
    @JvmName("rcmoltwbularxvlv")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The endpoint of the server.
     */
    @JvmName("jchtyhpqtkifwxpm")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value This sets the ssl value of the server. Defaults to true if not set.
     */
    @JvmName("jtdnvvwhwnjvnhbm")
    public suspend fun enforceSSL(`value`: Output) {
        this.enforceSSL = value
    }

    /**
     * @param value The file system name of the ADLS Gen2.
     */
    @JvmName("slsknjqahdgyymlv")
    public suspend fun fileSystem(`value`: Output) {
        this.fileSystem = value
    }

    /**
     * @param value Include datastore secret in response.
     */
    @JvmName("sixknaihdadxwnnt")
    public suspend fun includeSecret(`value`: Output) {
        this.includeSecret = value
    }

    /**
     * @param value The name of the datastore.
     */
    @JvmName("jedqesejhhkxqisr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The password.
     */
    @JvmName("axltgwhhrqlgnvsq")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value The port number.
     */
    @JvmName("ptrhyyugfubcosmn")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The protocol to be used
     */
    @JvmName("odvvphsnwocofyaa")
    public suspend fun protocol(`value`: Output) {
        this.protocol = value
    }

    /**
     * @param value Name of the resource group in which workspace is located.
     */
    @JvmName("pnvupmqidhnnbavo")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value Determines what operations will be performed.
     */
    @JvmName("cwuvinrlusrhlukp")
    public suspend fun resourceUrl(`value`: Output) {
        this.resourceUrl = value
    }

    /**
     * @param value Sas Token of storage account.
     */
    @JvmName("fuwgyolkwdihgipy")
    public suspend fun sasToken(`value`: Output) {
        this.sasToken = value
    }

    /**
     * @param value The SQL/MySQL/PostgreSQL server name
     */
    @JvmName("ufxroynbwphwrxui")
    public suspend fun serverName(`value`: Output) {
        this.serverName = value
    }

    /**
     * @param value The name of the file share.
     */
    @JvmName("orcpbycvhonrbpyu")
    public suspend fun shareName(`value`: Output) {
        this.shareName = value
    }

    /**
     * @param value Skip validation that ensures data can be loaded from the dataset before registration.
     */
    @JvmName("jwssmobbennfptoa")
    public suspend fun skipValidation(`value`: Output) {
        this.skipValidation = value
    }

    /**
     * @param value The resource group of the storage account. Defaults to selected resource group
     */
    @JvmName("nkskxdxpcdfufyxq")
    public suspend fun storageAccountResourceGroup(`value`: Output) {
        this.storageAccountResourceGroup = value
    }

    /**
     * @param value The subscription ID of the storage account. Defaults to selected subscription
     */
    @JvmName("wuwlgpbgdlatmtre")
    public suspend fun storageAccountSubscriptionId(`value`: Output) {
        this.storageAccountSubscriptionId = value
    }

    /**
     * @param value The ADLS store name.
     */
    @JvmName("kpjrrsetgekrfjqc")
    public suspend fun storeName(`value`: Output) {
        this.storeName = value
    }

    /**
     * @param value The service principal Tenant ID.
     */
    @JvmName("wxhdkrwrdhxqmiyl")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value The user ID.
     */
    @JvmName("ubmlbqbhayfqkcme")
    public suspend fun userId(`value`: Output) {
        this.userId = value
    }

    /**
     * @param value The username of the database user.
     */
    @JvmName("vbnkdmlefgocrrpe")
    public suspend fun userName(`value`: Output) {
        this.userName = value
    }

    /**
     * @param value Name of Azure Machine Learning workspace.
     */
    @JvmName("denaeeehhhateufx")
    public suspend fun workspaceName(`value`: Output) {
        this.workspaceName = value
    }

    /**
     * @param value If set to true, datastore support data access authenticated with Workspace MSI.
     */
    @JvmName("moyosplecdglewwo")
    public suspend fun workspaceSystemAssignedIdentity(`value`: Output) {
        this.workspaceSystemAssignedIdentity = value
    }

    /**
     * @param value Account Key of storage account.
     */
    @JvmName("qedaovvofyepggxm")
    public suspend fun accountKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountKey = mapped
    }

    /**
     * @param value The name of the storage account.
     */
    @JvmName("clmgeftrvsksvogn")
    public suspend fun accountName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountName = mapped
    }

    /**
     * @param value The resource group the ADLS store belongs to. Defaults to selected resource group.
     */
    @JvmName("pecxoflshegurttd")
    public suspend fun adlsResourceGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adlsResourceGroup = mapped
    }

    /**
     * @param value The ID of the subscription the ADLS store belongs to. Defaults to selected subscription.
     */
    @JvmName("reqhvnmpnkavafic")
    public suspend fun adlsSubscriptionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adlsSubscriptionId = mapped
    }

    /**
     * @param value Authority url used to authenticate the user.
     */
    @JvmName("iglyjlfbcktjibar")
    public suspend fun authorityUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authorityUrl = mapped
    }

    /**
     * @param value The service principal's client/application ID.
     */
    @JvmName("ivtmiuyrbjklygpr")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The service principal's secret.
     */
    @JvmName("rjedbqlqaupkribg")
    public suspend fun clientSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSecret = mapped
    }

    /**
     * @param value The name of the azure blob container.
     */
    @JvmName("xvquvuvcrvulbxep")
    public suspend fun containerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerName = mapped
    }

    /**
     * @param value Specifies datastore type.
     */
    @JvmName("hebvcgpyepbwpyvw")
    public suspend fun dataStoreType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataStoreType = mapped
    }

    /**
     * @param value Specifies datastore type.
     */
    @JvmName("fkwlyuksvmuxblxl")
    public fun dataStoreType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataStoreType = mapped
    }

    /**
     * @param value Specifies datastore type.
     */
    @JvmName("tmacybwuegxpcwuk")
    public fun dataStoreType(`value`: DatastoreTypeArm) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataStoreType = mapped
    }

    /**
     * @param value The database name.
     */
    @JvmName("rbnvmmtrkmmnulkv")
    public suspend fun databaseName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.databaseName = mapped
    }

    /**
     * @param value The Datastore name.
     */
    @JvmName("qqpgvbvegutntqep")
    public suspend fun datastoreName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datastoreName = mapped
    }

    /**
     * @param value The description of the datastore.
     */
    @JvmName("njrklwpvmqhgjywj")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The endpoint of the server.
     */
    @JvmName("pkbricafohxvwejt")
    public suspend fun endpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param value This sets the ssl value of the server. Defaults to true if not set.
     */
    @JvmName("eygtmvypjgekjudc")
    public suspend fun enforceSSL(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enforceSSL = mapped
    }

    /**
     * @param value The file system name of the ADLS Gen2.
     */
    @JvmName("scxehkmlrntrnhsg")
    public suspend fun fileSystem(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileSystem = mapped
    }

    /**
     * @param value Include datastore secret in response.
     */
    @JvmName("kcjietabhvluvciw")
    public suspend fun includeSecret(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includeSecret = mapped
    }

    /**
     * @param value The name of the datastore.
     */
    @JvmName("rtjhonfkvyapdyay")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The password.
     */
    @JvmName("uipijkcnyexchrdx")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The port number.
     */
    @JvmName("aikuawbdqcxykbyt")
    public suspend fun port(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value The protocol to be used
     */
    @JvmName("sfneslqxspbouxiy")
    public suspend fun protocol(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.protocol = mapped
    }

    /**
     * @param value Name of the resource group in which workspace is located.
     */
    @JvmName("ickxbodfaylsbiyj")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value Determines what operations will be performed.
     */
    @JvmName("uxwvsgcklhmvgqdi")
    public suspend fun resourceUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceUrl = mapped
    }

    /**
     * @param value Sas Token of storage account.
     */
    @JvmName("rnkhuirvnjmoelpl")
    public suspend fun sasToken(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sasToken = mapped
    }

    /**
     * @param value The SQL/MySQL/PostgreSQL server name
     */
    @JvmName("ptatupbqpejcdamp")
    public suspend fun serverName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serverName = mapped
    }

    /**
     * @param value The name of the file share.
     */
    @JvmName("ckfajtyrviwkauxf")
    public suspend fun shareName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.shareName = mapped
    }

    /**
     * @param value Skip validation that ensures data can be loaded from the dataset before registration.
     */
    @JvmName("whvgnytbbsupvahb")
    public suspend fun skipValidation(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.skipValidation = mapped
    }

    /**
     * @param value The resource group of the storage account. Defaults to selected resource group
     */
    @JvmName("dautjabqycblknbr")
    public suspend fun storageAccountResourceGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountResourceGroup = mapped
    }

    /**
     * @param value The subscription ID of the storage account. Defaults to selected subscription
     */
    @JvmName("wchghcrqppkdlcbx")
    public suspend fun storageAccountSubscriptionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountSubscriptionId = mapped
    }

    /**
     * @param value The ADLS store name.
     */
    @JvmName("leiultelnkqtbbds")
    public suspend fun storeName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storeName = mapped
    }

    /**
     * @param value The service principal Tenant ID.
     */
    @JvmName("meojmnbwocqbgccp")
    public suspend fun tenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    /**
     * @param value The user ID.
     */
    @JvmName("mqxbuxnqeuuchvrw")
    public suspend fun userId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userId = mapped
    }

    /**
     * @param value The username of the database user.
     */
    @JvmName("sgpnyjfeidxykbrd")
    public suspend fun userName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userName = mapped
    }

    /**
     * @param value Name of Azure Machine Learning workspace.
     */
    @JvmName("vaklnkotmhowtgfg")
    public suspend fun workspaceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workspaceName = mapped
    }

    /**
     * @param value If set to true, datastore support data access authenticated with Workspace MSI.
     */
    @JvmName("gfsnagcxhiqqgwgk")
    public suspend fun workspaceSystemAssignedIdentity(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workspaceSystemAssignedIdentity = mapped
    }

    internal fun build(): MachineLearningDatastoreArgs = MachineLearningDatastoreArgs(
        accountKey = accountKey,
        accountName = accountName,
        adlsResourceGroup = adlsResourceGroup,
        adlsSubscriptionId = adlsSubscriptionId,
        authorityUrl = authorityUrl,
        clientId = clientId,
        clientSecret = clientSecret,
        containerName = containerName,
        dataStoreType = dataStoreType,
        databaseName = databaseName,
        datastoreName = datastoreName,
        description = description,
        endpoint = endpoint,
        enforceSSL = enforceSSL,
        fileSystem = fileSystem,
        includeSecret = includeSecret,
        name = name,
        password = password,
        port = port,
        protocol = protocol,
        resourceGroupName = resourceGroupName,
        resourceUrl = resourceUrl,
        sasToken = sasToken,
        serverName = serverName,
        shareName = shareName,
        skipValidation = skipValidation,
        storageAccountResourceGroup = storageAccountResourceGroup,
        storageAccountSubscriptionId = storageAccountSubscriptionId,
        storeName = storeName,
        tenantId = tenantId,
        userId = userId,
        userName = userName,
        workspaceName = workspaceName,
        workspaceSystemAssignedIdentity = workspaceSystemAssignedIdentity,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy