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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.labservices.getLabAccount
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 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)
public static Output<GetLabAccountResult> getLabAccount(GetLabAccountArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:labservices:getLabAccount
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LabAccount stringName 
- The name of the lab Account.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- LabAccount stringName 
- The name of the lab Account.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- labAccount StringName 
- The name of the lab Account.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- labAccount stringName 
- The name of the lab Account.
- resourceGroup stringName 
- The name of the resource group.
- expand string
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- lab_account_ strname 
- The name of the lab Account.
- resource_group_ strname 
- The name of the resource group.
- expand str
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- labAccount StringName 
- The name of the lab Account.
- resourceGroup StringName 
- 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.
- LatestOperation Pulumi.Result Azure Native. Lab Services. Outputs. Latest Operation Result Response 
- The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- SizeConfiguration Pulumi.Azure Native. Lab Services. Outputs. Size Configuration Properties Response 
- Represents the size configuration under the lab account
- Type string
- The type of the resource.
- EnabledRegion boolSelection 
- Represents if region selection is enabled
- Location string
- The location of the resource.
- ProvisioningState string
- The provisioning status of the resource.
- 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.
- LatestOperation LatestResult Operation Result Response 
- The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- SizeConfiguration SizeConfiguration Properties Response 
- Represents the size configuration under the lab account
- Type string
- The type of the resource.
- EnabledRegion boolSelection 
- Represents if region selection is enabled
- Location string
- The location of the resource.
- ProvisioningState string
- The provisioning status of the resource.
- 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.
- latestOperation LatestResult Operation Result Response 
- The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- sizeConfiguration SizeConfiguration Properties Response 
- Represents the size configuration under the lab account
- type String
- The type of the resource.
- enabledRegion BooleanSelection 
- Represents if region selection is enabled
- location String
- The location of the resource.
- provisioningState String
- The provisioning status of the resource.
- 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.
- latestOperation LatestResult Operation Result Response 
- The details of the latest operation. ex: status, error
- name string
- The name of the resource.
- sizeConfiguration SizeConfiguration Properties Response 
- Represents the size configuration under the lab account
- type string
- The type of the resource.
- enabledRegion booleanSelection 
- Represents if region selection is enabled
- location string
- The location of the resource.
- provisioningState string
- The provisioning status of the resource.
- {[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_ Latestresult Operation Result Response 
- The details of the latest operation. ex: status, error
- name str
- The name of the resource.
- size_configuration SizeConfiguration Properties Response 
- Represents the size configuration under the lab account
- type str
- The type of the resource.
- enabled_region_ boolselection 
- Represents if region selection is enabled
- location str
- The location of the resource.
- provisioning_state str
- The provisioning status of the resource.
- 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.
- latestOperation Property MapResult 
- 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.
- enabledRegion BooleanSelection 
- Represents if region selection is enabled
- location String
- The location of the resource.
- provisioningState String
- The provisioning status of the resource.
- 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.
- MinNumber intOf Cores 
- 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.Azure Native. Lab Services. Inputs. Size Info Response> 
- 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.
- MinNumber intOf Cores 
- 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 []SizeInfo Response 
- 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.
- minNumber IntegerOf Cores 
- 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<SizeInfo Response> 
- 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.
- minNumber numberOf Cores 
- 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 SizeInfo Response[] 
- 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_ intof_ cores 
- 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[SizeInfo Response] 
- 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.
- minNumber NumberOf Cores 
- 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.Azure Native. Lab Services. Inputs. Environment Size Response> 
- Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- EnvironmentSizes []EnvironmentSize Response 
- Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environmentSizes List<EnvironmentSize Response> 
- Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environmentSizes EnvironmentSize Response[] 
- Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment_sizes Sequence[EnvironmentSize Response] 
- 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).
- NumberOf intCores 
- 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).
- NumberOf intCores 
- 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).
- numberOf IntegerCores 
- 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).
- numberOf numberCores 
- 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_ intcores 
- 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).
- numberOf NumberCores 
- 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
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi