labs_environments
Creates, updates, deletes, gets or lists a labs_environments
resource.
Overview
Name | labs_environments |
Type | Resource |
Id | azure.dev_test_labs.labs_environments |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create | INSERT | name, resourceGroupName, subscriptionId | Create virtual machines in a lab. This operation can take a while to complete. |
INSERT
example
Use the following StackQL query and manifest file to create a new labs_environments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.dev_test_labs.labs_environments (
name,
resourceGroupName,
subscriptionId,
properties,
name,
location,
tags
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: bulkCreationParameters
value:
- name: instanceCount
value: integer
- name: notes
value: string
- name: ownerObjectId
value: string
- name: ownerUserPrincipalName
value: string
- name: createdDate
value: string
- name: customImageId
value: string
- name: size
value: string
- name: userName
value: string
- name: password
value: string
- name: sshKey
value: string
- name: isAuthenticationWithSshKey
value: boolean
- name: labSubnetName
value: string
- name: labVirtualNetworkId
value: string
- name: disallowPublicIpAddress
value: boolean
- name: artifacts
value:
- - name: artifactId
value: string
- name: artifactTitle
value: string
- name: parameters
value:
- - name: name
value: string
- name: value
value: string
- name: status
value: string
- name: deploymentStatusMessage
value: string
- name: vmExtensionStatusMessage
value: string
- name: installTime
value: string
- name: galleryImageReference
value:
- name: offer
value: string
- name: publisher
value: string
- name: sku
value: string
- name: osType
value: string
- name: version
value: string
- name: planId
value: string
- name: networkInterface
value:
- name: virtualNetworkId
value: string
- name: subnetId
value: string
- name: publicIpAddressId
value: string
- name: publicIpAddress
value: string
- name: privateIpAddress
value: string
- name: dnsName
value: string
- name: rdpAuthority
value: string
- name: sshAuthority
value: string
- name: sharedPublicIpAddressConfiguration
value:
- name: inboundNatRules
value:
- - name: transportProtocol
value: string
- name: frontendPort
value: integer
- name: backendPort
value: integer
- name: expirationDate
value: string
- name: allowClaim
value: boolean
- name: storageType
value: string
- name: environmentId
value: string
- name: dataDiskParameters
value:
- - name: attachNewDataDiskOptions
value:
- name: diskSizeGiB
value: integer
- name: diskName
value: string
- name: diskType
value: string
- name: existingLabDiskId
value: string
- name: hostCaching
value: string
- name: scheduleParameters
value:
- - name: properties
value:
- name: status
value: string
- name: taskType
value: string
- name: weeklyRecurrence
value:
- name: weekdays
value:
- string
- name: time
value: string
- name: dailyRecurrence
value:
- name: time
value: string
- name: hourlyRecurrence
value:
- name: minute
value: integer
- name: timeZoneId
value: string
- name: notificationSettings
value:
- name: status
value: string
- name: timeInMinutes
value: integer
- name: webhookUrl
value: string
- name: emailRecipient
value: string
- name: notificationLocale
value: string
- name: targetResourceId
value: string
- name: name
value: string
- name: location
value: string
- name: tags
value: object
- name: name
value: string
- name: location
value: string
- name: tags
value: object