AccountArgs

data class AccountArgs(val accountName: Output<String>? = null, val description: Output<String>? = null, val friendlyName: Output<String>? = null, val keyVaultId: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val seats: Output<String>? = null, val storageAccount: Output<StorageAccountPropertiesArgs>? = null, val tags: Output<Map<String, String>>? = null, val vsoAccountId: Output<String>? = null) : ConvertibleToJava<AccountArgs>

An object that represents a machine learning team account. API Version: 2017-05-01-preview.

Example Usage

AccountCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var account = new AzureNative.MachineLearningExperimentation.Account("account", new()
{
AccountName = "accountcrud5678",
KeyVaultId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv",
Location = "East US",
ResourceGroupName = "accountcrud-1234",
StorageAccount = new AzureNative.MachineLearningExperimentation.Inputs.StorageAccountPropertiesArgs
{
AccessKey = "key",
StorageAccountId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
},
Tags =
{
{ "tagKey1", "TagValue1" },
},
VsoAccountId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/microsoft.visualstudio/account/vsotest",
});
});
package main
import (
machinelearningexperimentation "github.com/pulumi/pulumi-azure-native-sdk/machinelearningexperimentation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningexperimentation.NewAccount(ctx, "account", &machinelearningexperimentation.AccountArgs{
AccountName: pulumi.String("accountcrud5678"),
KeyVaultId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("accountcrud-1234"),
StorageAccount: &machinelearningexperimentation.StorageAccountPropertiesArgs{
AccessKey: pulumi.String("key"),
StorageAccountId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"),
},
Tags: pulumi.StringMap{
"tagKey1": pulumi.String("TagValue1"),
},
VsoAccountId: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/microsoft.visualstudio/account/vsotest"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningexperimentation.Account;
import com.pulumi.azurenative.machinelearningexperimentation.AccountArgs;
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 account = new Account("account", AccountArgs.builder()
.accountName("accountcrud5678")
.keyVaultId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv")
.location("East US")
.resourceGroupName("accountcrud-1234")
.storageAccount(Map.ofEntries(
Map.entry("accessKey", "key"),
Map.entry("storageAccountId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount")
))
.tags(Map.of("tagKey1", "TagValue1"))
.vsoAccountId("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/microsoft.visualstudio/account/vsotest")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:machinelearningexperimentation:Account accountcrud5678 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.MachineLearningExperimentation/accounts/accountcrud5678

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, description: Output<String>? = null, friendlyName: Output<String>? = null, keyVaultId: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, seats: Output<String>? = null, storageAccount: Output<StorageAccountPropertiesArgs>? = null, tags: Output<Map<String, String>>? = null, vsoAccountId: Output<String>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The name of the machine learning team account.

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

The description of this workspace.

Link copied to clipboard
val friendlyName: Output<String>? = null

The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created

Link copied to clipboard
val keyVaultId: Output<String>? = null

The fully qualified arm id of the user key vault.

Link copied to clipboard
val location: Output<String>? = null

The location of the resource. This cannot be changed after the resource is created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group to which the machine learning team account belongs.

Link copied to clipboard
val seats: Output<String>? = null

The no of users/seats who can access this team account. This property defines the charge on the team account.

Link copied to clipboard

The properties of the storage account for the machine learning team account.

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

The tags of the resource.

Link copied to clipboard
val vsoAccountId: Output<String>? = null

The fully qualified arm id of the vso account to be used for this team account.

Functions

Link copied to clipboard
open override fun toJava(): AccountArgs