These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.labservices.getLab
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get lab API Version: 2018-10-15.
Using getLab
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 getLab(args: GetLabArgs, opts?: InvokeOptions): Promise<GetLabResult>
function getLabOutput(args: GetLabOutputArgs, opts?: InvokeOptions): Output<GetLabResult>
def get_lab(expand: Optional[str] = None,
lab_account_name: Optional[str] = None,
lab_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLabResult
def get_lab_output(expand: Optional[pulumi.Input[str]] = None,
lab_account_name: Optional[pulumi.Input[str]] = None,
lab_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLabResult]
func LookupLab(ctx *Context, args *LookupLabArgs, opts ...InvokeOption) (*LookupLabResult, error)
func LookupLabOutput(ctx *Context, args *LookupLabOutputArgs, opts ...InvokeOption) LookupLabResultOutput
> Note: This function is named LookupLab
in the Go SDK.
public static class GetLab
{
public static Task<GetLabResult> InvokeAsync(GetLabArgs args, InvokeOptions? opts = null)
public static Output<GetLabResult> Invoke(GetLabInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLabResult> getLab(GetLabArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:labservices:getLab
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Account stringName - The name of the lab Account.
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
- Lab
Account stringName - The name of the lab Account.
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
- lab
Account StringName - The name of the lab Account.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
- lab
Account stringName - The name of the lab Account.
- lab
Name string - The name of the lab.
- resource
Group stringName - The name of the resource group.
- expand string
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
- lab_
account_ strname - The name of the lab Account.
- lab_
name str - The name of the lab.
- resource_
group_ strname - The name of the resource group.
- expand str
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
- lab
Account StringName - The name of the lab Account.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- expand String
- Specify the $expand query. Example: 'properties($select=maxUsersInLab)'
getLab Result
The following output properties are available:
- Created
By stringObject Id - Object id of the user that created the lab.
- Created
By stringUser Principal Name - Lab creator name
- Created
Date string - Creation date for the lab
- Id string
- The identifier of the resource.
- Invitation
Code string - Invitation code that users can use to join a lab.
- 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.
- Type string
- The type of the resource.
- User
Quota int - Maximum value MaxUsersInLab can be set to, as specified by the service
- Location string
- The location of the resource.
- Max
Users intIn Lab - Maximum number of users allowed in the lab.
- 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).
- Usage
Quota string - Maximum duration a user can use an environment for in the lab.
- User
Access stringMode - Lab user access mode (open to all vs. restricted to those listed on the lab).
- Created
By stringObject Id - Object id of the user that created the lab.
- Created
By stringUser Principal Name - Lab creator name
- Created
Date string - Creation date for the lab
- Id string
- The identifier of the resource.
- Invitation
Code string - Invitation code that users can use to join a lab.
- Latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- Type string
- The type of the resource.
- User
Quota int - Maximum value MaxUsersInLab can be set to, as specified by the service
- Location string
- The location of the resource.
- Max
Users intIn Lab - Maximum number of users allowed in the lab.
- 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).
- Usage
Quota string - Maximum duration a user can use an environment for in the lab.
- User
Access stringMode - Lab user access mode (open to all vs. restricted to those listed on the lab).
- created
By StringObject Id - Object id of the user that created the lab.
- created
By StringUser Principal Name - Lab creator name
- created
Date String - Creation date for the lab
- id String
- The identifier of the resource.
- invitation
Code String - Invitation code that users can use to join a lab.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- type String
- The type of the resource.
- user
Quota Integer - Maximum value MaxUsersInLab can be set to, as specified by the service
- location String
- The location of the resource.
- max
Users IntegerIn Lab - Maximum number of users allowed in the lab.
- 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).
- usage
Quota String - Maximum duration a user can use an environment for in the lab.
- user
Access StringMode - Lab user access mode (open to all vs. restricted to those listed on the lab).
- created
By stringObject Id - Object id of the user that created the lab.
- created
By stringUser Principal Name - Lab creator name
- created
Date string - Creation date for the lab
- id string
- The identifier of the resource.
- invitation
Code string - Invitation code that users can use to join a lab.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name string
- The name of the resource.
- type string
- The type of the resource.
- user
Quota number - Maximum value MaxUsersInLab can be set to, as specified by the service
- location string
- The location of the resource.
- max
Users numberIn Lab - Maximum number of users allowed in the lab.
- 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).
- usage
Quota string - Maximum duration a user can use an environment for in the lab.
- user
Access stringMode - Lab user access mode (open to all vs. restricted to those listed on the lab).
- created_
by_ strobject_ id - Object id of the user that created the lab.
- created_
by_ struser_ principal_ name - Lab creator name
- created_
date str - Creation date for the lab
- id str
- The identifier of the resource.
- invitation_
code str - Invitation code that users can use to join a lab.
- latest_
operation_ Latestresult Operation Result Response - The details of the latest operation. ex: status, error
- name str
- The name of the resource.
- type str
- The type of the resource.
- user_
quota int - Maximum value MaxUsersInLab can be set to, as specified by the service
- location str
- The location of the resource.
- max_
users_ intin_ lab - Maximum number of users allowed in the lab.
- 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).
- usage_
quota str - Maximum duration a user can use an environment for in the lab.
- user_
access_ strmode - Lab user access mode (open to all vs. restricted to those listed on the lab).
- created
By StringObject Id - Object id of the user that created the lab.
- created
By StringUser Principal Name - Lab creator name
- created
Date String - Creation date for the lab
- id String
- The identifier of the resource.
- invitation
Code String - Invitation code that users can use to join a lab.
- latest
Operation Property MapResult - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- type String
- The type of the resource.
- user
Quota Number - Maximum value MaxUsersInLab can be set to, as specified by the service
- location String
- The location of the resource.
- max
Users NumberIn Lab - Maximum number of users allowed in the lab.
- 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).
- usage
Quota String - Maximum duration a user can use an environment for in the lab.
- user
Access StringMode - Lab user access mode (open to all vs. restricted to those listed on the lab).
Supporting Types
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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi