azure-native.machinelearningexperimentation.Account
Explore with Pulumi AI
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
The Account resource accepts the following input properties:
- Key
Vault stringId - The fully qualified arm id of the user key vault.
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Storage
Account Pulumi.Azure Native. Machine Learning Experimentation. Inputs. Storage Account Properties - The properties of the storage account for the machine learning team account.
- Vso
Account stringId - The fully qualified arm id of the vso account to be used for this team account.
- Account
Name string - The name of the machine learning team account.
- Description string
- The description of this workspace.
- Friendly
Name 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.
- Dictionary<string, string>
- The tags of the resource.
- Key
Vault stringId - The fully qualified arm id of the user key vault.
- Resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- Storage
Account StorageAccount Properties Args - The properties of the storage account for the machine learning team account.
- Vso
Account stringId - The fully qualified arm id of the vso account to be used for this team account.
- Account
Name string - The name of the machine learning team account.
- Description string
- The description of this workspace.
- Friendly
Name 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.
- map[string]string
- The tags of the resource.
- key
Vault StringId - The fully qualified arm id of the user key vault.
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- storage
Account StorageAccount Properties - The properties of the storage account for the machine learning team account.
- vso
Account StringId - The fully qualified arm id of the vso account to be used for this team account.
- account
Name String - The name of the machine learning team account.
- description String
- The description of this workspace.
- friendly
Name 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.
- Map<String,String>
- The tags of the resource.
- key
Vault stringId - The fully qualified arm id of the user key vault.
- resource
Group stringName - The name of the resource group to which the machine learning team account belongs.
- storage
Account StorageAccount Properties - The properties of the storage account for the machine learning team account.
- vso
Account stringId - The fully qualified arm id of the vso account to be used for this team account.
- account
Name string - The name of the machine learning team account.
- description string
- The description of this workspace.
- friendly
Name 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.
- {[key: string]: string}
- The tags of the resource.
- key_
vault_ strid - The fully qualified arm id of the user key vault.
- resource_
group_ strname - The name of the resource group to which the machine learning team account belongs.
- storage_
account StorageAccount Properties Args - The properties of the storage account for the machine learning team account.
- vso_
account_ strid - 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.
- Mapping[str, str]
- The tags of the resource.
- key
Vault StringId - The fully qualified arm id of the user key vault.
- resource
Group StringName - The name of the resource group to which the machine learning team account belongs.
- storage
Account Property Map - The properties of the storage account for the machine learning team account.
- vso
Account StringId - The fully qualified arm id of the vso account to be used for this team account.
- account
Name String - The name of the machine learning team account.
- description String
- The description of this workspace.
- friendly
Name 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.
- 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:
- Account
Id string - The immutable id associated with this team account.
- Creation
Date string - The creation date of the machine learning team account in ISO8601 format.
- Discovery
Uri 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.
- Provisioning
State 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 string - The immutable id associated with this team account.
- Creation
Date string - The creation date of the machine learning team account in ISO8601 format.
- Discovery
Uri 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.
- Provisioning
State 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 String - The immutable id associated with this team account.
- creation
Date String - The creation date of the machine learning team account in ISO8601 format.
- discovery
Uri 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.
- provisioning
State 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 string - The immutable id associated with this team account.
- creation
Date string - The creation date of the machine learning team account in ISO8601 format.
- discovery
Uri 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.
- provisioning
State 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.
- account
Id String - The immutable id associated with this team account.
- creation
Date String - The creation date of the machine learning team account in ISO8601 format.
- discovery
Uri 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.
- provisioning
State 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
- Access
Key string - The access key to the storage account.
- Storage
Account stringId - The fully qualified arm Id of the storage account.
- Access
Key string - The access key to the storage account.
- Storage
Account stringId - The fully qualified arm Id of the storage account.
- access
Key String - The access key to the storage account.
- storage
Account StringId - The fully qualified arm Id of the storage account.
- access
Key string - The access key to the storage account.
- storage
Account stringId - The fully qualified arm Id of the storage account.
- access_
key str - The access key to the storage account.
- storage_
account_ strid - The fully qualified arm Id of the storage account.
- access
Key String - The access key to the storage account.
- storage
Account StringId - The fully qualified arm Id of the storage account.
StorageAccountPropertiesResponse, StorageAccountPropertiesResponseArgs
- Access
Key string - The access key to the storage account.
- Storage
Account stringId - The fully qualified arm Id of the storage account.
- Access
Key string - The access key to the storage account.
- Storage
Account stringId - The fully qualified arm Id of the storage account.
- access
Key String - The access key to the storage account.
- storage
Account StringId - The fully qualified arm Id of the storage account.
- access
Key string - The access key to the storage account.
- storage
Account stringId - The fully qualified arm Id of the storage account.
- access_
key str - The access key to the storage account.
- storage_
account_ strid - The fully qualified arm Id of the storage account.
- access
Key String - The access key to the storage account.
- storage
Account StringId - 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