Account

class Account : KotlinCustomResource

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

Properties

Link copied to clipboard
val accountId: Output<String>

The immutable id associated with this team account.

Link copied to clipboard
val creationDate: Output<String>

The creation date of the machine learning team account in ISO8601 format.

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

The description of this workspace.

Link copied to clipboard
val discoveryUri: Output<String>

The uri for this machine learning team account.

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

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 id: Output<String>
Link copied to clipboard
val keyVaultId: Output<String>

The fully qualified arm id of the user key vault.

Link copied to clipboard
val location: Output<String>

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

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val seats: Output<String>?

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>>?

The tags of the resource.

Link copied to clipboard
val type: Output<String>

The type of the resource.

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

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