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.devtestlab.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-09-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,
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,
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:devtestlab:getLab
arguments:
# arguments dictionary
The following arguments are supported:
- 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=defaultStorageAccount)'
- 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=defaultStorageAccount)'
- 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=defaultStorageAccount)'
- 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=defaultStorageAccount)'
- 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=defaultStorageAccount)'
- 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=defaultStorageAccount)'
getLab Result
The following output properties are available:
- Artifacts
Storage stringAccount - The lab's artifact storage account.
- Created
Date string - The creation date of the lab.
- string
- The lab's default premium storage account.
- Default
Storage stringAccount - The lab's default storage account.
- Id string
- The identifier of the resource.
- Load
Balancer stringId - The load balancer used to for lab VMs that use shared IP address.
- Name string
- The name of the resource.
- Network
Security stringGroup Id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- string
- The lab's premium data disk storage account.
- Provisioning
State string - The provisioning status of the resource.
- Public
Ip stringId - The public IP address for the lab's load balancer.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Vault
Name string - The lab's Key vault.
- Vm
Creation stringResource Group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- Announcement
Pulumi.
Azure Native. Dev Test Lab. Outputs. Lab Announcement Properties Response - The properties of any lab announcement associated with this lab
- Environment
Permission string - The access rights to be granted to the user when provisioning an environment
- Extended
Properties Dictionary<string, string> - Extended properties of the lab used for experimental features
- Lab
Storage stringType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- Location string
- The location of the resource.
- Mandatory
Artifacts List<string>Resource Ids Linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- Mandatory
Artifacts List<string>Resource Ids Windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- string
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- Support
Pulumi.
Azure Native. Dev Test Lab. Outputs. Lab Support Properties Response - The properties of any lab support message associated with this lab
- Dictionary<string, string>
- The tags of the resource.
- Artifacts
Storage stringAccount - The lab's artifact storage account.
- Created
Date string - The creation date of the lab.
- string
- The lab's default premium storage account.
- Default
Storage stringAccount - The lab's default storage account.
- Id string
- The identifier of the resource.
- Load
Balancer stringId - The load balancer used to for lab VMs that use shared IP address.
- Name string
- The name of the resource.
- Network
Security stringGroup Id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- string
- The lab's premium data disk storage account.
- Provisioning
State string - The provisioning status of the resource.
- Public
Ip stringId - The public IP address for the lab's load balancer.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Vault
Name string - The lab's Key vault.
- Vm
Creation stringResource Group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- Announcement
Lab
Announcement Properties Response - The properties of any lab announcement associated with this lab
- Environment
Permission string - The access rights to be granted to the user when provisioning an environment
- Extended
Properties map[string]string - Extended properties of the lab used for experimental features
- Lab
Storage stringType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- Location string
- The location of the resource.
- Mandatory
Artifacts []stringResource Ids Linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- Mandatory
Artifacts []stringResource Ids Windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- string
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- Support
Lab
Support Properties Response - The properties of any lab support message associated with this lab
- map[string]string
- The tags of the resource.
- artifacts
Storage StringAccount - The lab's artifact storage account.
- created
Date String - The creation date of the lab.
- String
- The lab's default premium storage account.
- default
Storage StringAccount - The lab's default storage account.
- id String
- The identifier of the resource.
- load
Balancer StringId - The load balancer used to for lab VMs that use shared IP address.
- name String
- The name of the resource.
- network
Security StringGroup Id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- String
- The lab's premium data disk storage account.
- provisioning
State String - The provisioning status of the resource.
- public
Ip StringId - The public IP address for the lab's load balancer.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- vault
Name String - The lab's Key vault.
- vm
Creation StringResource Group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- announcement
Lab
Announcement Properties Response - The properties of any lab announcement associated with this lab
- environment
Permission String - The access rights to be granted to the user when provisioning an environment
- extended
Properties Map<String,String> - Extended properties of the lab used for experimental features
- lab
Storage StringType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- location String
- The location of the resource.
- mandatory
Artifacts List<String>Resource Ids Linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- mandatory
Artifacts List<String>Resource Ids Windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- String
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- support
Lab
Support Properties Response - The properties of any lab support message associated with this lab
- Map<String,String>
- The tags of the resource.
- artifacts
Storage stringAccount - The lab's artifact storage account.
- created
Date string - The creation date of the lab.
- string
- The lab's default premium storage account.
- default
Storage stringAccount - The lab's default storage account.
- id string
- The identifier of the resource.
- load
Balancer stringId - The load balancer used to for lab VMs that use shared IP address.
- name string
- The name of the resource.
- network
Security stringGroup Id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- string
- The lab's premium data disk storage account.
- provisioning
State string - The provisioning status of the resource.
- public
Ip stringId - The public IP address for the lab's load balancer.
- type string
- The type of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- vault
Name string - The lab's Key vault.
- vm
Creation stringResource Group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- announcement
Lab
Announcement Properties Response - The properties of any lab announcement associated with this lab
- environment
Permission string - The access rights to be granted to the user when provisioning an environment
- extended
Properties {[key: string]: string} - Extended properties of the lab used for experimental features
- lab
Storage stringType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- location string
- The location of the resource.
- mandatory
Artifacts string[]Resource Ids Linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- mandatory
Artifacts string[]Resource Ids Windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- string
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- support
Lab
Support Properties Response - The properties of any lab support message associated with this lab
- {[key: string]: string}
- The tags of the resource.
- artifacts_
storage_ straccount - The lab's artifact storage account.
- created_
date str - The creation date of the lab.
- str
- The lab's default premium storage account.
- default_
storage_ straccount - The lab's default storage account.
- id str
- The identifier of the resource.
- load_
balancer_ strid - The load balancer used to for lab VMs that use shared IP address.
- name str
- The name of the resource.
- network_
security_ strgroup_ id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- str
- The lab's premium data disk storage account.
- provisioning_
state str - The provisioning status of the resource.
- public_
ip_ strid - The public IP address for the lab's load balancer.
- type str
- The type of the resource.
- unique_
identifier str - The unique immutable identifier of a resource (Guid).
- vault_
name str - The lab's Key vault.
- vm_
creation_ strresource_ group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- announcement
Lab
Announcement Properties Response - The properties of any lab announcement associated with this lab
- environment_
permission str - The access rights to be granted to the user when provisioning an environment
- extended_
properties Mapping[str, str] - Extended properties of the lab used for experimental features
- lab_
storage_ strtype - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- location str
- The location of the resource.
- mandatory_
artifacts_ Sequence[str]resource_ ids_ linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- mandatory_
artifacts_ Sequence[str]resource_ ids_ windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- str
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- support
Lab
Support Properties Response - The properties of any lab support message associated with this lab
- Mapping[str, str]
- The tags of the resource.
- artifacts
Storage StringAccount - The lab's artifact storage account.
- created
Date String - The creation date of the lab.
- String
- The lab's default premium storage account.
- default
Storage StringAccount - The lab's default storage account.
- id String
- The identifier of the resource.
- load
Balancer StringId - The load balancer used to for lab VMs that use shared IP address.
- name String
- The name of the resource.
- network
Security StringGroup Id - The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
- String
- The lab's premium data disk storage account.
- provisioning
State String - The provisioning status of the resource.
- public
Ip StringId - The public IP address for the lab's load balancer.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- vault
Name String - The lab's Key vault.
- vm
Creation StringResource Group - The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.
- announcement Property Map
- The properties of any lab announcement associated with this lab
- environment
Permission String - The access rights to be granted to the user when provisioning an environment
- extended
Properties Map<String> - Extended properties of the lab used for experimental features
- lab
Storage StringType - Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
- location String
- The location of the resource.
- mandatory
Artifacts List<String>Resource Ids Linux - The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.
- mandatory
Artifacts List<String>Resource Ids Windows - The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.
- String
- The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.
- support Property Map
- The properties of any lab support message associated with this lab
- Map<String>
- The tags of the resource.
Supporting Types
LabAnnouncementPropertiesResponse
- Provisioning
State string - The provisioning status of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Enabled string
- Is the lab announcement active/enabled at this time?
- Expiration
Date string - The time at which the announcement expires (null for never)
- Expired bool
- Has this announcement expired?
- Markdown string
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- Title string
- The plain text title for the lab announcement
- Provisioning
State string - The provisioning status of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Enabled string
- Is the lab announcement active/enabled at this time?
- Expiration
Date string - The time at which the announcement expires (null for never)
- Expired bool
- Has this announcement expired?
- Markdown string
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- Title string
- The plain text title for the lab announcement
- provisioning
State String - The provisioning status of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- enabled String
- Is the lab announcement active/enabled at this time?
- expiration
Date String - The time at which the announcement expires (null for never)
- expired Boolean
- Has this announcement expired?
- markdown String
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- title String
- The plain text title for the lab announcement
- provisioning
State string - The provisioning status of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- enabled string
- Is the lab announcement active/enabled at this time?
- expiration
Date string - The time at which the announcement expires (null for never)
- expired boolean
- Has this announcement expired?
- markdown string
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- title string
- The plain text title for the lab announcement
- provisioning_
state str - The provisioning status of the resource.
- unique_
identifier str - The unique immutable identifier of a resource (Guid).
- enabled str
- Is the lab announcement active/enabled at this time?
- expiration_
date str - The time at which the announcement expires (null for never)
- expired bool
- Has this announcement expired?
- markdown str
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- title str
- The plain text title for the lab announcement
- provisioning
State String - The provisioning status of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- enabled String
- Is the lab announcement active/enabled at this time?
- expiration
Date String - The time at which the announcement expires (null for never)
- expired Boolean
- Has this announcement expired?
- markdown String
- The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- title String
- The plain text title for the lab announcement
LabSupportPropertiesResponse
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