Azure Native

v1.78.0 published on Wednesday, Sep 14, 2022 by Pulumi

Account

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

Example Usage

AccountCreate

using System.Collections.Generic;
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/go/azure/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 a Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            description: Optional[str] = None,
            friendly_name: Optional[str] = None,
            key_vault_id: Optional[str] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            seats: Optional[str] = None,
            storage_account: Optional[StorageAccountPropertiesArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            vso_account_id: Optional[str] = None)
@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = 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.

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.

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

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.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 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 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 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 {[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

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0