1. Packages
  2. Azure Native v1
  3. API Docs
  4. machinelearningexperimentation
  5. Account
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.machinelearningexperimentation.Account

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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 pulumi
    import pulumi_azure_native as azure_native
    
    account = azure_native.machinelearningexperimentation.Account("account",
        account_name="accountcrud5678",
        key_vault_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv",
        location="East US",
        resource_group_name="accountcrud-1234",
        storage_account=azure_native.machinelearningexperimentation.StorageAccountPropertiesArgs(
            access_key="key",
            storage_account_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
        ),
        tags={
            "tagKey1": "TagValue1",
        },
        vso_account_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/microsoft.visualstudio/account/vsotest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const account = new azure_native.machinelearningexperimentation.Account("account", {
        accountName: "accountcrud5678",
        keyVaultId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv",
        location: "East US",
        resourceGroupName: "accountcrud-1234",
        storageAccount: {
            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",
    });
    
    resources:
      account:
        type: azure-native:machinelearningexperimentation:Account
        properties:
          accountName: accountcrud5678
          keyVaultId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.KeyVault/vaults/testkv
          location: East US
          resourceGroupName: accountcrud-1234
          storageAccount:
            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
    

    Create Account Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
    @overload
    def Account(resource_name: str,
                args: AccountArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Account(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                key_vault_id: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                storage_account: Optional[StorageAccountPropertiesArgs] = None,
                vso_account_id: Optional[str] = None,
                account_name: Optional[str] = None,
                description: Optional[str] = None,
                friendly_name: Optional[str] = None,
                location: Optional[str] = None,
                seats: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
    public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
    public Account(String name, AccountArgs args)
    public Account(String name, AccountArgs args, CustomResourceOptions options)
    
    type: azure-native:machinelearningexperimentation:Account
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleaccountResourceResourceFromMachinelearningexperimentation = new AzureNative.Machinelearningexperimentation.Account("exampleaccountResourceResourceFromMachinelearningexperimentation", new()
    {
        KeyVaultId = "string",
        ResourceGroupName = "string",
        StorageAccount = 
        {
            { "accessKey", "string" },
            { "storageAccountId", "string" },
        },
        VsoAccountId = "string",
        AccountName = "string",
        Description = "string",
        FriendlyName = "string",
        Location = "string",
        Seats = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := machinelearningexperimentation.NewAccount(ctx, "exampleaccountResourceResourceFromMachinelearningexperimentation", &machinelearningexperimentation.AccountArgs{
    	KeyVaultId:        "string",
    	ResourceGroupName: "string",
    	StorageAccount: map[string]interface{}{
    		"accessKey":        "string",
    		"storageAccountId": "string",
    	},
    	VsoAccountId: "string",
    	AccountName:  "string",
    	Description:  "string",
    	FriendlyName: "string",
    	Location:     "string",
    	Seats:        "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var exampleaccountResourceResourceFromMachinelearningexperimentation = new Account("exampleaccountResourceResourceFromMachinelearningexperimentation", AccountArgs.builder()
        .keyVaultId("string")
        .resourceGroupName("string")
        .storageAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .vsoAccountId("string")
        .accountName("string")
        .description("string")
        .friendlyName("string")
        .location("string")
        .seats("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    exampleaccount_resource_resource_from_machinelearningexperimentation = azure_native.machinelearningexperimentation.Account("exampleaccountResourceResourceFromMachinelearningexperimentation",
        key_vault_id=string,
        resource_group_name=string,
        storage_account={
            accessKey: string,
            storageAccountId: string,
        },
        vso_account_id=string,
        account_name=string,
        description=string,
        friendly_name=string,
        location=string,
        seats=string,
        tags={
            string: string,
        })
    
    const exampleaccountResourceResourceFromMachinelearningexperimentation = new azure_native.machinelearningexperimentation.Account("exampleaccountResourceResourceFromMachinelearningexperimentation", {
        keyVaultId: "string",
        resourceGroupName: "string",
        storageAccount: {
            accessKey: "string",
            storageAccountId: "string",
        },
        vsoAccountId: "string",
        accountName: "string",
        description: "string",
        friendlyName: "string",
        location: "string",
        seats: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:machinelearningexperimentation:Account
    properties:
        accountName: string
        description: string
        friendlyName: string
        keyVaultId: string
        location: string
        resourceGroupName: string
        seats: string
        storageAccount:
            accessKey: string
            storageAccountId: string
        tags:
            string: string
        vsoAccountId: string
    

    Account Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Account resource accepts the following input properties:

    KeyVaultId string
    The fully qualified arm id of the user key vault.
    ResourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    StorageAccount Pulumi.AzureNative.MachineLearningExperimentation.Inputs.StorageAccountProperties
    The properties of the storage account for the machine learning team account.
    VsoAccountId string
    The fully qualified arm id of the vso account to be used for this team account.
    AccountName string
    The name of the machine learning team account.
    Description string
    The description of this workspace.
    FriendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    Seats string
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    Tags Dictionary<string, string>
    The tags of the resource.
    KeyVaultId string
    The fully qualified arm id of the user key vault.
    ResourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    StorageAccount StorageAccountPropertiesArgs
    The properties of the storage account for the machine learning team account.
    VsoAccountId string
    The fully qualified arm id of the vso account to be used for this team account.
    AccountName string
    The name of the machine learning team account.
    Description string
    The description of this workspace.
    FriendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    Seats string
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    Tags map[string]string
    The tags of the resource.
    keyVaultId String
    The fully qualified arm id of the user key vault.
    resourceGroupName String
    The name of the resource group to which the machine learning team account belongs.
    storageAccount StorageAccountProperties
    The properties of the storage account for the machine learning team account.
    vsoAccountId String
    The fully qualified arm id of the vso account to be used for this team account.
    accountName String
    The name of the machine learning team account.
    description String
    The description of this workspace.
    friendlyName String
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    location String
    The location of the resource. This cannot be changed after the resource is created.
    seats String
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    tags Map<String,String>
    The tags of the resource.
    keyVaultId string
    The fully qualified arm id of the user key vault.
    resourceGroupName string
    The name of the resource group to which the machine learning team account belongs.
    storageAccount StorageAccountProperties
    The properties of the storage account for the machine learning team account.
    vsoAccountId string
    The fully qualified arm id of the vso account to be used for this team account.
    accountName string
    The name of the machine learning team account.
    description string
    The description of this workspace.
    friendlyName string
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    location string
    The location of the resource. This cannot be changed after the resource is created.
    seats string
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    tags {[key: string]: string}
    The tags of the resource.
    key_vault_id str
    The fully qualified arm id of the user key vault.
    resource_group_name str
    The name of the resource group to which the machine learning team account belongs.
    storage_account StorageAccountPropertiesArgs
    The properties of the storage account for the machine learning team account.
    vso_account_id str
    The fully qualified arm id of the vso account to be used for this team account.
    account_name str
    The name of the machine learning team account.
    description str
    The description of this workspace.
    friendly_name str
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    location str
    The location of the resource. This cannot be changed after the resource is created.
    seats str
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    tags Mapping[str, str]
    The tags of the resource.
    keyVaultId String
    The fully qualified arm id of the user key vault.
    resourceGroupName String
    The name of the resource group to which the machine learning team account belongs.
    storageAccount Property Map
    The properties of the storage account for the machine learning team account.
    vsoAccountId String
    The fully qualified arm id of the vso account to be used for this team account.
    accountName String
    The name of the machine learning team account.
    description String
    The description of this workspace.
    friendlyName String
    The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created
    location String
    The location of the resource. This cannot be changed after the resource is created.
    seats String
    The no of users/seats who can access this team account. This property defines the charge on the team account.
    tags Map<String>
    The tags of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

    AccountId string
    The immutable id associated with this team account.
    CreationDate string
    The creation date of the machine learning team account in ISO8601 format.
    DiscoveryUri string
    The uri for this machine learning team account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    Type string
    The type of the resource.
    AccountId string
    The immutable id associated with this team account.
    CreationDate string
    The creation date of the machine learning team account in ISO8601 format.
    DiscoveryUri string
    The uri for this machine learning team account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    Type string
    The type of the resource.
    accountId String
    The immutable id associated with this team account.
    creationDate String
    The creation date of the machine learning team account in ISO8601 format.
    discoveryUri String
    The uri for this machine learning team account.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    type String
    The type of the resource.
    accountId string
    The immutable id associated with this team account.
    creationDate string
    The creation date of the machine learning team account in ISO8601 format.
    discoveryUri string
    The uri for this machine learning team account.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    type string
    The type of the resource.
    account_id str
    The immutable id associated with this team account.
    creation_date str
    The creation date of the machine learning team account in ISO8601 format.
    discovery_uri str
    The uri for this machine learning team account.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    type str
    The type of the resource.
    accountId String
    The immutable id associated with this team account.
    creationDate String
    The creation date of the machine learning team account in ISO8601 format.
    discoveryUri String
    The uri for this machine learning team account.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The current deployment state of team account resource. The provisioningState is to indicate states for resource provisioning.
    type String
    The type of the resource.

    Supporting Types

    StorageAccountProperties, StorageAccountPropertiesArgs

    AccessKey string
    The access key to the storage account.
    StorageAccountId string
    The fully qualified arm Id of the storage account.
    AccessKey string
    The access key to the storage account.
    StorageAccountId string
    The fully qualified arm Id of the storage account.
    accessKey String
    The access key to the storage account.
    storageAccountId String
    The fully qualified arm Id of the storage account.
    accessKey string
    The access key to the storage account.
    storageAccountId string
    The fully qualified arm Id of the storage account.
    access_key str
    The access key to the storage account.
    storage_account_id str
    The fully qualified arm Id of the storage account.
    accessKey String
    The access key to the storage account.
    storageAccountId String
    The fully qualified arm Id of the storage account.

    StorageAccountPropertiesResponse, StorageAccountPropertiesResponseArgs

    AccessKey string
    The access key to the storage account.
    StorageAccountId string
    The fully qualified arm Id of the storage account.
    AccessKey string
    The access key to the storage account.
    StorageAccountId string
    The fully qualified arm Id of the storage account.
    accessKey String
    The access key to the storage account.
    storageAccountId String
    The fully qualified arm Id of the storage account.
    accessKey string
    The access key to the storage account.
    storageAccountId string
    The fully qualified arm Id of the storage account.
    access_key str
    The access key to the storage account.
    storage_account_id str
    The fully qualified arm Id of the storage account.
    accessKey String
    The access key to the storage account.
    storageAccountId String
    The fully qualified arm Id of the storage account.

    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 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi