1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. LabAccount
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.labservices.LabAccount

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Represents a lab account. Azure REST API version: 2018-10-15. Prior API version in Azure Native 1.x: 2018-10-15.

    Import

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

    $ pulumi import azure-native:labservices:LabAccount myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName} 
    

    Create LabAccount Resource

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

    Constructor syntax

    new LabAccount(name: string, args: LabAccountArgs, opts?: CustomResourceOptions);
    @overload
    def LabAccount(resource_name: str,
                   args: LabAccountArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def LabAccount(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   enabled_region_selection: Optional[bool] = None,
                   lab_account_name: Optional[str] = None,
                   location: Optional[str] = None,
                   provisioning_state: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   unique_identifier: Optional[str] = None)
    func NewLabAccount(ctx *Context, name string, args LabAccountArgs, opts ...ResourceOption) (*LabAccount, error)
    public LabAccount(string name, LabAccountArgs args, CustomResourceOptions? opts = null)
    public LabAccount(String name, LabAccountArgs args)
    public LabAccount(String name, LabAccountArgs args, CustomResourceOptions options)
    
    type: azure-native:labservices:LabAccount
    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 LabAccountArgs
    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 LabAccountArgs
    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 LabAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LabAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LabAccountArgs
    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 labAccountResource = new AzureNative.LabServices.LabAccount("labAccountResource", new()
    {
        ResourceGroupName = "string",
        EnabledRegionSelection = false,
        LabAccountName = "string",
        Location = "string",
        ProvisioningState = "string",
        Tags = 
        {
            { "string", "string" },
        },
        UniqueIdentifier = "string",
    });
    
    example, err := labservices.NewLabAccount(ctx, "labAccountResource", &labservices.LabAccountArgs{
    	ResourceGroupName:      pulumi.String("string"),
    	EnabledRegionSelection: pulumi.Bool(false),
    	LabAccountName:         pulumi.String("string"),
    	Location:               pulumi.String("string"),
    	ProvisioningState:      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UniqueIdentifier: pulumi.String("string"),
    })
    
    var labAccountResource = new LabAccount("labAccountResource", LabAccountArgs.builder()
        .resourceGroupName("string")
        .enabledRegionSelection(false)
        .labAccountName("string")
        .location("string")
        .provisioningState("string")
        .tags(Map.of("string", "string"))
        .uniqueIdentifier("string")
        .build());
    
    lab_account_resource = azure_native.labservices.LabAccount("labAccountResource",
        resource_group_name="string",
        enabled_region_selection=False,
        lab_account_name="string",
        location="string",
        provisioning_state="string",
        tags={
            "string": "string",
        },
        unique_identifier="string")
    
    const labAccountResource = new azure_native.labservices.LabAccount("labAccountResource", {
        resourceGroupName: "string",
        enabledRegionSelection: false,
        labAccountName: "string",
        location: "string",
        provisioningState: "string",
        tags: {
            string: "string",
        },
        uniqueIdentifier: "string",
    });
    
    type: azure-native:labservices:LabAccount
    properties:
        enabledRegionSelection: false
        labAccountName: string
        location: string
        provisioningState: string
        resourceGroupName: string
        tags:
            string: string
        uniqueIdentifier: string
    

    LabAccount 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 LabAccount resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group.
    EnabledRegionSelection bool
    Represents if region selection is enabled
    LabAccountName string
    The name of the lab Account.
    Location string
    The location of the resource.
    ProvisioningState string
    The provisioning status of the resource.
    Tags Dictionary<string, string>
    The tags of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    ResourceGroupName string
    The name of the resource group.
    EnabledRegionSelection bool
    Represents if region selection is enabled
    LabAccountName string
    The name of the lab Account.
    Location string
    The location of the resource.
    ProvisioningState string
    The provisioning status of the resource.
    Tags map[string]string
    The tags of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    resourceGroupName String
    The name of the resource group.
    enabledRegionSelection Boolean
    Represents if region selection is enabled
    labAccountName String
    The name of the lab Account.
    location String
    The location of the resource.
    provisioningState String
    The provisioning status of the resource.
    tags Map<String,String>
    The tags of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    resourceGroupName string
    The name of the resource group.
    enabledRegionSelection boolean
    Represents if region selection is enabled
    labAccountName string
    The name of the lab Account.
    location string
    The location of the resource.
    provisioningState string
    The provisioning status of the resource.
    tags {[key: string]: string}
    The tags of the resource.
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    resource_group_name str
    The name of the resource group.
    enabled_region_selection bool
    Represents if region selection is enabled
    lab_account_name str
    The name of the lab Account.
    location str
    The location of the resource.
    provisioning_state str
    The provisioning status of the resource.
    tags Mapping[str, str]
    The tags of the resource.
    unique_identifier str
    The unique immutable identifier of a resource (Guid).
    resourceGroupName String
    The name of the resource group.
    enabledRegionSelection Boolean
    Represents if region selection is enabled
    labAccountName String
    The name of the lab Account.
    location String
    The location of the resource.
    provisioningState String
    The provisioning status of the resource.
    tags Map<String>
    The tags of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LatestOperationResult Pulumi.AzureNative.LabServices.Outputs.LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    The name of the resource.
    SizeConfiguration Pulumi.AzureNative.LabServices.Outputs.SizeConfigurationPropertiesResponse
    Represents the size configuration under the lab account
    Type string
    The type of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    Name string
    The name of the resource.
    SizeConfiguration SizeConfigurationPropertiesResponse
    Represents the size configuration under the lab account
    Type string
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name String
    The name of the resource.
    sizeConfiguration SizeConfigurationPropertiesResponse
    Represents the size configuration under the lab account
    type String
    The type of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    latestOperationResult LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name string
    The name of the resource.
    sizeConfiguration SizeConfigurationPropertiesResponse
    Represents the size configuration under the lab account
    type string
    The type of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_operation_result LatestOperationResultResponse
    The details of the latest operation. ex: status, error
    name str
    The name of the resource.
    size_configuration SizeConfigurationPropertiesResponse
    Represents the size configuration under the lab account
    type str
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    latestOperationResult Property Map
    The details of the latest operation. ex: status, error
    name String
    The name of the resource.
    sizeConfiguration Property Map
    Represents the size configuration under the lab account
    type String
    The type of the resource.

    Supporting Types

    EnvironmentSizeResponse, EnvironmentSizeResponseArgs

    MaxPrice double
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    MinMemory double
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    MinNumberOfCores int
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    Name string
    The size category
    VmSizes List<Pulumi.AzureNative.LabServices.Inputs.SizeInfoResponse>
    Represents a set of compute sizes that can serve this given size type
    MaxPrice float64
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    MinMemory float64
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    MinNumberOfCores int
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    Name string
    The size category
    VmSizes []SizeInfoResponse
    Represents a set of compute sizes that can serve this given size type
    maxPrice Double
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    minMemory Double
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    minNumberOfCores Integer
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    name String
    The size category
    vmSizes List<SizeInfoResponse>
    Represents a set of compute sizes that can serve this given size type
    maxPrice number
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    minMemory number
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    minNumberOfCores number
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    name string
    The size category
    vmSizes SizeInfoResponse[]
    Represents a set of compute sizes that can serve this given size type
    max_price float
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    min_memory float
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    min_number_of_cores int
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    name str
    The size category
    vm_sizes Sequence[SizeInfoResponse]
    Represents a set of compute sizes that can serve this given size type
    maxPrice Number
    The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    minMemory Number
    The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    minNumberOfCores Number
    The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    name String
    The size category
    vmSizes List<Property Map>
    Represents a set of compute sizes that can serve this given size type

    LatestOperationResultResponse, LatestOperationResultResponseArgs

    ErrorCode string
    Error code on failure.
    ErrorMessage string
    The error message.
    HttpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    OperationUrl string
    The URL to use to check long-running operation status
    RequestUri string
    Request URI of the operation.
    Status string
    The current status of the operation.
    ErrorCode string
    Error code on failure.
    ErrorMessage string
    The error message.
    HttpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    OperationUrl string
    The URL to use to check long-running operation status
    RequestUri string
    Request URI of the operation.
    Status string
    The current status of the operation.
    errorCode String
    Error code on failure.
    errorMessage String
    The error message.
    httpMethod String
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl String
    The URL to use to check long-running operation status
    requestUri String
    Request URI of the operation.
    status String
    The current status of the operation.
    errorCode string
    Error code on failure.
    errorMessage string
    The error message.
    httpMethod string
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl string
    The URL to use to check long-running operation status
    requestUri string
    Request URI of the operation.
    status string
    The current status of the operation.
    error_code str
    Error code on failure.
    error_message str
    The error message.
    http_method str
    The HttpMethod - PUT/POST/DELETE for the operation.
    operation_url str
    The URL to use to check long-running operation status
    request_uri str
    Request URI of the operation.
    status str
    The current status of the operation.
    errorCode String
    Error code on failure.
    errorMessage String
    The error message.
    httpMethod String
    The HttpMethod - PUT/POST/DELETE for the operation.
    operationUrl String
    The URL to use to check long-running operation status
    requestUri String
    Request URI of the operation.
    status String
    The current status of the operation.

    SizeConfigurationPropertiesResponse, SizeConfigurationPropertiesResponseArgs

    EnvironmentSizes List<Pulumi.AzureNative.LabServices.Inputs.EnvironmentSizeResponse>
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    EnvironmentSizes []EnvironmentSizeResponse
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    environmentSizes List<EnvironmentSizeResponse>
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    environmentSizes EnvironmentSizeResponse[]
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    environment_sizes Sequence[EnvironmentSizeResponse]
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    environmentSizes List<Property Map>
    Represents a list of size categories supported by this Lab Account (Small, Medium, Large)

    SizeInfoResponse, SizeInfoResponseArgs

    ComputeSize string
    Represents the actual compute size, e.g. Standard_A2_v2.
    Memory double
    The amount of memory available (in GB).
    NumberOfCores int
    The number of cores a VM of this size has.
    Price double
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    ComputeSize string
    Represents the actual compute size, e.g. Standard_A2_v2.
    Memory float64
    The amount of memory available (in GB).
    NumberOfCores int
    The number of cores a VM of this size has.
    Price float64
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    computeSize String
    Represents the actual compute size, e.g. Standard_A2_v2.
    memory Double
    The amount of memory available (in GB).
    numberOfCores Integer
    The number of cores a VM of this size has.
    price Double
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    computeSize string
    Represents the actual compute size, e.g. Standard_A2_v2.
    memory number
    The amount of memory available (in GB).
    numberOfCores number
    The number of cores a VM of this size has.
    price number
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    compute_size str
    Represents the actual compute size, e.g. Standard_A2_v2.
    memory float
    The amount of memory available (in GB).
    number_of_cores int
    The number of cores a VM of this size has.
    price float
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    computeSize String
    Represents the actual compute size, e.g. Standard_A2_v2.
    memory Number
    The amount of memory available (in GB).
    numberOfCores Number
    The number of cores a VM of this size has.
    price Number
    The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi