1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. getLabAccount
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.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.labservices.getLabAccount

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.8.0 published on Monday, Sep 18, 2023 by Pulumi

    Get lab account Azure REST API version: 2018-10-15.

    Using getLabAccount

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLabAccount(args: GetLabAccountArgs, opts?: InvokeOptions): Promise<GetLabAccountResult>
    function getLabAccountOutput(args: GetLabAccountOutputArgs, opts?: InvokeOptions): Output<GetLabAccountResult>
    def get_lab_account(expand: Optional[str] = None,
                        lab_account_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetLabAccountResult
    def get_lab_account_output(expand: Optional[pulumi.Input[str]] = None,
                        lab_account_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetLabAccountResult]
    func LookupLabAccount(ctx *Context, args *LookupLabAccountArgs, opts ...InvokeOption) (*LookupLabAccountResult, error)
    func LookupLabAccountOutput(ctx *Context, args *LookupLabAccountOutputArgs, opts ...InvokeOption) LookupLabAccountResultOutput

    > Note: This function is named LookupLabAccount in the Go SDK.

    public static class GetLabAccount 
    {
        public static Task<GetLabAccountResult> InvokeAsync(GetLabAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetLabAccountResult> Invoke(GetLabAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLabAccountResult> getLabAccount(GetLabAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:labservices:getLabAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LabAccountName string

    The name of the lab Account.

    ResourceGroupName string

    The name of the resource group.

    Expand string

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    LabAccountName string

    The name of the lab Account.

    ResourceGroupName string

    The name of the resource group.

    Expand string

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    labAccountName String

    The name of the lab Account.

    resourceGroupName String

    The name of the resource group.

    expand String

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    labAccountName string

    The name of the lab Account.

    resourceGroupName string

    The name of the resource group.

    expand string

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    lab_account_name str

    The name of the lab Account.

    resource_group_name str

    The name of the resource group.

    expand str

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    labAccountName String

    The name of the lab Account.

    resourceGroupName String

    The name of the resource group.

    expand String

    Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

    getLabAccount Result

    The following output properties are available:

    Id string

    The identifier of the 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.

    EnabledRegionSelection bool

    Represents if region selection is enabled

    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).

    Id string

    The identifier of the 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.

    EnabledRegionSelection bool

    Represents if region selection is enabled

    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).

    id String

    The identifier of the 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.

    enabledRegionSelection Boolean

    Represents if region selection is enabled

    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).

    id string

    The identifier of the 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.

    enabledRegionSelection boolean

    Represents if region selection is enabled

    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).

    id str

    The identifier of the 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.

    enabled_region_selection bool

    Represents if region selection is enabled

    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).

    id String

    The identifier of the 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.

    enabledRegionSelection Boolean

    Represents if region selection is enabled

    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).

    Supporting Types

    EnvironmentSizeResponse

    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

    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

    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

    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.8.0 published on Monday, Sep 18, 2023 by Pulumi