Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

EnvironmentSetting

Represents settings of an environment, from which environment instances would be created API Version: 2018-10-15.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:labservices:EnvironmentSetting myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName} 

Create a EnvironmentSetting Resource

new EnvironmentSetting(name: string, args: EnvironmentSettingArgs, opts?: CustomResourceOptions);
@overload
def EnvironmentSetting(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       configuration_state: Optional[Union[str, ConfigurationState]] = None,
                       description: Optional[str] = None,
                       environment_setting_name: Optional[str] = None,
                       lab_account_name: Optional[str] = None,
                       lab_name: Optional[str] = None,
                       location: Optional[str] = None,
                       provisioning_state: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       resource_settings: Optional[ResourceSettingsArgs] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       title: Optional[str] = None,
                       unique_identifier: Optional[str] = None)
@overload
def EnvironmentSetting(resource_name: str,
                       args: EnvironmentSettingArgs,
                       opts: Optional[ResourceOptions] = None)
func NewEnvironmentSetting(ctx *Context, name string, args EnvironmentSettingArgs, opts ...ResourceOption) (*EnvironmentSetting, error)
public EnvironmentSetting(string name, EnvironmentSettingArgs args, CustomResourceOptions? opts = null)
public EnvironmentSetting(String name, EnvironmentSettingArgs args)
public EnvironmentSetting(String name, EnvironmentSettingArgs args, CustomResourceOptions options)
type: azure-native:labservices:EnvironmentSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnvironmentSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EnvironmentSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EnvironmentSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnvironmentSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnvironmentSettingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EnvironmentSetting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EnvironmentSetting resource accepts the following input properties:

LabAccountName string

The name of the lab Account.

LabName string

The name of the lab.

ResourceGroupName string

The name of the resource group.

ResourceSettings Pulumi.AzureNative.LabServices.Inputs.ResourceSettingsArgs

The resource specific settings

ConfigurationState string | Pulumi.AzureNative.LabServices.ConfigurationState

Describes the user's progress in configuring their environment setting

Description string

Describes the environment and its resource settings

EnvironmentSettingName string

The name of the environment Setting.

Location string

The location of the resource.

ProvisioningState string

The provisioning status of the resource.

Tags Dictionary<string, string>

The tags of the resource.

Title string

Brief title describing the environment and its resource settings

UniqueIdentifier string

The unique immutable identifier of a resource (Guid).

LabAccountName string

The name of the lab Account.

LabName string

The name of the lab.

ResourceGroupName string

The name of the resource group.

ResourceSettings ResourceSettingsArgs

The resource specific settings

ConfigurationState string | ConfigurationState

Describes the user's progress in configuring their environment setting

Description string

Describes the environment and its resource settings

EnvironmentSettingName string

The name of the environment Setting.

Location string

The location of the resource.

ProvisioningState string

The provisioning status of the resource.

Tags map[string]string

The tags of the resource.

Title string

Brief title describing the environment and its resource settings

UniqueIdentifier string

The unique immutable identifier of a resource (Guid).

labAccountName String

The name of the lab Account.

labName String

The name of the lab.

resourceGroupName String

The name of the resource group.

resourceSettings ResourceSettingsArgs

The resource specific settings

configurationState String | ConfigurationState

Describes the user's progress in configuring their environment setting

description String

Describes the environment and its resource settings

environmentSettingName String

The name of the environment Setting.

location String

The location of the resource.

provisioningState String

The provisioning status of the resource.

tags Map<String,String>

The tags of the resource.

title String

Brief title describing the environment and its resource settings

uniqueIdentifier String

The unique immutable identifier of a resource (Guid).

labAccountName string

The name of the lab Account.

labName string

The name of the lab.

resourceGroupName string

The name of the resource group.

resourceSettings ResourceSettingsArgs

The resource specific settings

configurationState string | ConfigurationState

Describes the user's progress in configuring their environment setting

description string

Describes the environment and its resource settings

environmentSettingName string

The name of the environment Setting.

location string

The location of the resource.

provisioningState string

The provisioning status of the resource.

tags {[key: string]: string}

The tags of the resource.

title string

Brief title describing the environment and its resource settings

uniqueIdentifier string

The unique immutable identifier of a resource (Guid).

lab_account_name str

The name of the lab Account.

lab_name str

The name of the lab.

resource_group_name str

The name of the resource group.

resource_settings ResourceSettingsArgs

The resource specific settings

configuration_state str | ConfigurationState

Describes the user's progress in configuring their environment setting

description str

Describes the environment and its resource settings

environment_setting_name str

The name of the environment Setting.

location str

The location of the resource.

provisioning_state str

The provisioning status of the resource.

tags Mapping[str, str]

The tags of the resource.

title str

Brief title describing the environment and its resource settings

unique_identifier str

The unique immutable identifier of a resource (Guid).

labAccountName String

The name of the lab Account.

labName String

The name of the lab.

resourceGroupName String

The name of the resource group.

resourceSettings Property Map

The resource specific settings

configurationState String | "NotApplicable" | "Completed"

Describes the user's progress in configuring their environment setting

description String

Describes the environment and its resource settings

environmentSettingName String

The name of the environment Setting.

location String

The location of the resource.

provisioningState String

The provisioning status of the resource.

tags Map<String>

The tags of the resource.

title String

Brief title describing the environment and its resource settings

uniqueIdentifier String

The unique immutable identifier of a resource (Guid).

Outputs

All input properties are implicitly available as output properties. Additionally, the EnvironmentSetting resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

LastChanged string

Time when the template VM was last changed.

LastPublished string

Time when the template VM was last sent for publishing.

LatestOperationResult Pulumi.AzureNative.LabServices.Outputs.LatestOperationResultResponse

The details of the latest operation. ex: status, error

Name string

The name of the resource.

PublishingState string

Describes the readiness of this environment setting

Type string

The type of the resource.

Id string

The provider-assigned unique ID for this managed resource.

LastChanged string

Time when the template VM was last changed.

LastPublished string

Time when the template VM was last sent for publishing.

LatestOperationResult LatestOperationResultResponse

The details of the latest operation. ex: status, error

Name string

The name of the resource.

PublishingState string

Describes the readiness of this environment setting

Type string

The type of the resource.

id String

The provider-assigned unique ID for this managed resource.

lastChanged String

Time when the template VM was last changed.

lastPublished String

Time when the template VM was last sent for publishing.

latestOperationResult LatestOperationResultResponse

The details of the latest operation. ex: status, error

name String

The name of the resource.

publishingState String

Describes the readiness of this environment setting

type String

The type of the resource.

id string

The provider-assigned unique ID for this managed resource.

lastChanged string

Time when the template VM was last changed.

lastPublished string

Time when the template VM was last sent for publishing.

latestOperationResult LatestOperationResultResponse

The details of the latest operation. ex: status, error

name string

The name of the resource.

publishingState string

Describes the readiness of this environment setting

type string

The type of the resource.

id str

The provider-assigned unique ID for this managed resource.

last_changed str

Time when the template VM was last changed.

last_published str

Time when the template VM was last sent for publishing.

latest_operation_result LatestOperationResultResponse

The details of the latest operation. ex: status, error

name str

The name of the resource.

publishing_state str

Describes the readiness of this environment setting

type str

The type of the resource.

id String

The provider-assigned unique ID for this managed resource.

lastChanged String

Time when the template VM was last changed.

lastPublished String

Time when the template VM was last sent for publishing.

latestOperationResult Property Map

The details of the latest operation. ex: status, error

name String

The name of the resource.

publishingState String

Describes the readiness of this environment setting

type String

The type of the resource.

Supporting Types

ConfigurationState

NotApplicable
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

Completed
Completed

User is finished modifying the template.

ConfigurationStateNotApplicable
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

ConfigurationStateCompleted
Completed

User is finished modifying the template.

NotApplicable
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

Completed
Completed

User is finished modifying the template.

NotApplicable
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

Completed
Completed

User is finished modifying the template.

NOT_APPLICABLE
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

COMPLETED
Completed

User is finished modifying the template.

"NotApplicable"
NotApplicable

User either hasn't started configuring their template or they haven't started the configuration process.

"Completed"
Completed

User is finished modifying the template.

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.

ManagedLabVmSize

Basic
Basic

The base VM size

Standard
Standard

The standard or default VM size

Performance
Performance

The most performant VM size

ManagedLabVmSizeBasic
Basic

The base VM size

ManagedLabVmSizeStandard
Standard

The standard or default VM size

ManagedLabVmSizePerformance
Performance

The most performant VM size

Basic
Basic

The base VM size

Standard
Standard

The standard or default VM size

Performance
Performance

The most performant VM size

Basic
Basic

The base VM size

Standard
Standard

The standard or default VM size

Performance
Performance

The most performant VM size

BASIC
Basic

The base VM size

STANDARD
Standard

The standard or default VM size

PERFORMANCE
Performance

The most performant VM size

"Basic"
Basic

The base VM size

"Standard"
Standard

The standard or default VM size

"Performance"
Performance

The most performant VM size

ReferenceVm

UserName string

The username of the virtual machine

Password string

The password of the virtual machine. This will be set to null in GET resource API

UserName string

The username of the virtual machine

Password string

The password of the virtual machine. This will be set to null in GET resource API

userName String

The username of the virtual machine

password String

The password of the virtual machine. This will be set to null in GET resource API

userName string

The username of the virtual machine

password string

The password of the virtual machine. This will be set to null in GET resource API

user_name str

The username of the virtual machine

password str

The password of the virtual machine. This will be set to null in GET resource API

userName String

The username of the virtual machine

password String

The password of the virtual machine. This will be set to null in GET resource API

ReferenceVmResponse

UserName string

The username of the virtual machine

VmResourceId string

VM resource Id for the environment

VmStateDetails Pulumi.AzureNative.LabServices.Inputs.VmStateDetailsResponse

The state details for the reference virtual machine.

Password string

The password of the virtual machine. This will be set to null in GET resource API

UserName string

The username of the virtual machine

VmResourceId string

VM resource Id for the environment

VmStateDetails VmStateDetailsResponse

The state details for the reference virtual machine.

Password string

The password of the virtual machine. This will be set to null in GET resource API

userName String

The username of the virtual machine

vmResourceId String

VM resource Id for the environment

vmStateDetails VmStateDetailsResponse

The state details for the reference virtual machine.

password String

The password of the virtual machine. This will be set to null in GET resource API

userName string

The username of the virtual machine

vmResourceId string

VM resource Id for the environment

vmStateDetails VmStateDetailsResponse

The state details for the reference virtual machine.

password string

The password of the virtual machine. This will be set to null in GET resource API

user_name str

The username of the virtual machine

vm_resource_id str

VM resource Id for the environment

vm_state_details VmStateDetailsResponse

The state details for the reference virtual machine.

password str

The password of the virtual machine. This will be set to null in GET resource API

userName String

The username of the virtual machine

vmResourceId String

VM resource Id for the environment

vmStateDetails Property Map

The state details for the reference virtual machine.

password String

The password of the virtual machine. This will be set to null in GET resource API

ResourceSettings

ReferenceVm Pulumi.AzureNative.LabServices.Inputs.ReferenceVm

Details specific to Reference Vm

GalleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

Size string | Pulumi.AzureNative.LabServices.ManagedLabVmSize

The size of the virtual machine

ReferenceVm ReferenceVm

Details specific to Reference Vm

GalleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

Size string | ManagedLabVmSize

The size of the virtual machine

referenceVm ReferenceVm

Details specific to Reference Vm

galleryImageResourceId String

The resource id of the gallery image used for creating the virtual machine

size String | ManagedLabVmSize

The size of the virtual machine

referenceVm ReferenceVm

Details specific to Reference Vm

galleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

size string | ManagedLabVmSize

The size of the virtual machine

reference_vm ReferenceVm

Details specific to Reference Vm

gallery_image_resource_id str

The resource id of the gallery image used for creating the virtual machine

size str | ManagedLabVmSize

The size of the virtual machine

referenceVm Property Map

Details specific to Reference Vm

galleryImageResourceId String

The resource id of the gallery image used for creating the virtual machine

size String | "Basic" | "Standard" | "Performance"

The size of the virtual machine

ResourceSettingsResponse

Cores int

The translated compute cores of the virtual machine

Id string

The unique id of the resource setting

ImageName string

The name of the image used to created the environment setting

ReferenceVm Pulumi.AzureNative.LabServices.Inputs.ReferenceVmResponse

Details specific to Reference Vm

GalleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

Size string

The size of the virtual machine

Cores int

The translated compute cores of the virtual machine

Id string

The unique id of the resource setting

ImageName string

The name of the image used to created the environment setting

ReferenceVm ReferenceVmResponse

Details specific to Reference Vm

GalleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

Size string

The size of the virtual machine

cores Integer

The translated compute cores of the virtual machine

id String

The unique id of the resource setting

imageName String

The name of the image used to created the environment setting

referenceVm ReferenceVmResponse

Details specific to Reference Vm

galleryImageResourceId String

The resource id of the gallery image used for creating the virtual machine

size String

The size of the virtual machine

cores number

The translated compute cores of the virtual machine

id string

The unique id of the resource setting

imageName string

The name of the image used to created the environment setting

referenceVm ReferenceVmResponse

Details specific to Reference Vm

galleryImageResourceId string

The resource id of the gallery image used for creating the virtual machine

size string

The size of the virtual machine

cores int

The translated compute cores of the virtual machine

id str

The unique id of the resource setting

image_name str

The name of the image used to created the environment setting

reference_vm ReferenceVmResponse

Details specific to Reference Vm

gallery_image_resource_id str

The resource id of the gallery image used for creating the virtual machine

size str

The size of the virtual machine

cores Number

The translated compute cores of the virtual machine

id String

The unique id of the resource setting

imageName String

The name of the image used to created the environment setting

referenceVm Property Map

Details specific to Reference Vm

galleryImageResourceId String

The resource id of the gallery image used for creating the virtual machine

size String

The size of the virtual machine

VmStateDetailsResponse

LastKnownPowerState string

Last known compute power state captured in DTL

PowerState string

The power state of the reference virtual machine.

RdpAuthority string

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

SshAuthority string

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

LastKnownPowerState string

Last known compute power state captured in DTL

PowerState string

The power state of the reference virtual machine.

RdpAuthority string

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

SshAuthority string

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

lastKnownPowerState String

Last known compute power state captured in DTL

powerState String

The power state of the reference virtual machine.

rdpAuthority String

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

sshAuthority String

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

lastKnownPowerState string

Last known compute power state captured in DTL

powerState string

The power state of the reference virtual machine.

rdpAuthority string

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

sshAuthority string

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

last_known_power_state str

Last known compute power state captured in DTL

power_state str

The power state of the reference virtual machine.

rdp_authority str

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

ssh_authority str

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

lastKnownPowerState String

Last known compute power state captured in DTL

powerState String

The power state of the reference virtual machine.

rdpAuthority String

The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

sshAuthority String

The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0