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.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.73.0 published on Wednesday, Nov 20, 2024 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:
- Lab
Account stringName - The name of the lab Account.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- Lab
Account stringName - The name of the lab Account.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- lab
Account StringName - The name of the lab Account.
- resource
Group StringName - The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($expand=sizeConfiguration)'
- lab
Account stringName - The name of the lab Account.
- resource
Group 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)'
- lab
Account StringName - The name of the lab Account.
- resource
Group 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.
- Latest
Operation 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.
- Size
Configuration 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.
- Enabled
Region boolSelection - Represents if region selection is enabled
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Dictionary<string, string>
- The tags of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Id string
- The identifier of the resource.
- Latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- Size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- Type string
- The type of the resource.
- Enabled
Region boolSelection - Represents if region selection is enabled
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- map[string]string
- The tags of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- id String
- The identifier of the resource.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- type String
- The type of the resource.
- enabled
Region BooleanSelection - Represents if region selection is enabled
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String,String>
- The tags of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- id string
- The identifier of the resource.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name string
- The name of the resource.
- size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- type string
- The type of the resource.
- enabled
Region booleanSelection - Represents if region selection is enabled
- location string
- The location of the resource.
- provisioning
State string - The provisioning status of the resource.
- {[key: string]: string}
- The tags of the resource.
- unique
Identifier 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.
- latest
Operation Property MapResult - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- size
Configuration Property Map - Represents the size configuration under the lab account
- type String
- The type of the resource.
- enabled
Region BooleanSelection - Represents if region selection is enabled
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String>
- The tags of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
Supporting Types
EnvironmentSizeResponse
- Max
Price 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.
- Min
Memory double - 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 string
- The size category
- Vm
Sizes List<Pulumi.Azure Native. Lab Services. Inputs. Size Info Response> - Represents a set of compute sizes that can serve this given size type
- Max
Price 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.
- Min
Memory float64 - 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 string
- The size category
- Vm
Sizes []SizeInfo Response - Represents a set of compute sizes that can serve this given size type
- max
Price 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.
- min
Memory Double - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number 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
- vm
Sizes List<SizeInfo Response> - Represents a set of compute sizes that can serve this given size type
- max
Price 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.
- min
Memory number - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number 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
- vm
Sizes 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
- max
Price 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.
- min
Memory Number - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number 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
- vm
Sizes List<Property Map> - Represents a set of compute sizes that can serve this given size type
LatestOperationResultResponse
- Error
Code string - Error code on failure.
- Error
Message string - The error message.
- Http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string - The URL to use to check long-running operation status
- Request
Uri string - Request URI of the operation.
- Status string
- The current status of the operation.
- Error
Code string - Error code on failure.
- Error
Message string - The error message.
- Http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string - The URL to use to check long-running operation status
- Request
Uri string - Request URI of the operation.
- Status string
- The current status of the operation.
- error
Code String - Error code on failure.
- error
Message String - The error message.
- http
Method String - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String - The URL to use to check long-running operation status
- request
Uri String - Request URI of the operation.
- status String
- The current status of the operation.
- error
Code string - Error code on failure.
- error
Message string - The error message.
- http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url string - The URL to use to check long-running operation status
- request
Uri 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.
- error
Code String - Error code on failure.
- error
Message String - The error message.
- http
Method String - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String - The URL to use to check long-running operation status
- request
Uri String - Request URI of the operation.
- status String
- The current status of the operation.
SizeConfigurationPropertiesResponse
- Environment
Sizes List<Pulumi.Azure Native. Lab Services. Inputs. Environment Size Response> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- Environment
Sizes []EnvironmentSize Response - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment
Sizes List<EnvironmentSize Response> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment
Sizes 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)
- environment
Sizes List<Property Map> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
SizeInfoResponse
- Compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- Memory double
- The amount of memory available (in GB).
- Number
Of 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.
- Compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- Memory float64
- The amount of memory available (in GB).
- Number
Of 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.
- compute
Size String - Represents the actual compute size, e.g. Standard_A2_v2.
- memory Double
- The amount of memory available (in GB).
- number
Of 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.
- compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- memory number
- The amount of memory available (in GB).
- number
Of 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.
- compute
Size String - Represents the actual compute size, e.g. Standard_A2_v2.
- memory Number
- The amount of memory available (in GB).
- number
Of 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi