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.getEnvironmentSetting
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 environment setting Azure REST API version: 2018-10-15.
Using getEnvironmentSetting
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 getEnvironmentSetting(args: GetEnvironmentSettingArgs, opts?: InvokeOptions): Promise<GetEnvironmentSettingResult>
function getEnvironmentSettingOutput(args: GetEnvironmentSettingOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentSettingResult>
def get_environment_setting(environment_setting_name: Optional[str] = None,
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) -> GetEnvironmentSettingResult
def get_environment_setting_output(environment_setting_name: Optional[pulumi.Input[str]] = None,
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[GetEnvironmentSettingResult]
func LookupEnvironmentSetting(ctx *Context, args *LookupEnvironmentSettingArgs, opts ...InvokeOption) (*LookupEnvironmentSettingResult, error)
func LookupEnvironmentSettingOutput(ctx *Context, args *LookupEnvironmentSettingOutputArgs, opts ...InvokeOption) LookupEnvironmentSettingResultOutput
> Note: This function is named LookupEnvironmentSetting
in the Go SDK.
public static class GetEnvironmentSetting
{
public static Task<GetEnvironmentSettingResult> InvokeAsync(GetEnvironmentSettingArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentSettingResult> Invoke(GetEnvironmentSettingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentSettingResult> getEnvironmentSetting(GetEnvironmentSettingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:labservices:getEnvironmentSetting
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Setting stringName - The name of the environment Setting.
- 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=publishingState)'
- Environment
Setting stringName - The name of the environment Setting.
- 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=publishingState)'
- environment
Setting StringName - The name of the environment Setting.
- 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=publishingState)'
- environment
Setting stringName - The name of the environment Setting.
- 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=publishingState)'
- environment_
setting_ strname - The name of the environment Setting.
- 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=publishingState)'
- environment
Setting StringName - The name of the environment Setting.
- 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=publishingState)'
getEnvironmentSetting Result
The following output properties are available:
- Id string
- The identifier of the resource.
- Last
Changed string - Time when the template VM was last changed.
- Last
Published string - Time when the template VM was last sent for publishing.
- 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.
- Publishing
State string - Describes the readiness of this environment setting
- Resource
Settings Pulumi.Azure Native. Lab Services. Outputs. Resource Settings Response - The resource specific settings
- Type string
- The type of the resource.
- Configuration
State string - Describes the user's progress in configuring their environment setting
- Description string
- Describes the environment and its resource settings
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Dictionary<string, string>
- The tags of the resource.
- Title string
- Brief title describing the environment and its resource settings
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Id string
- The identifier of the resource.
- Last
Changed string - Time when the template VM was last changed.
- Last
Published string - Time when the template VM was last sent for publishing.
- Latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- Publishing
State string - Describes the readiness of this environment setting
- Resource
Settings ResourceSettings Response - The resource specific settings
- Type string
- The type of the resource.
- Configuration
State string - Describes the user's progress in configuring their environment setting
- Description string
- Describes the environment and its resource settings
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- map[string]string
- The tags of the resource.
- Title string
- Brief title describing the environment and its resource settings
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- id String
- The identifier of the resource.
- last
Changed String - Time when the template VM was last changed.
- last
Published String - Time when the template VM was last sent for publishing.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- publishing
State String - Describes the readiness of this environment setting
- resource
Settings ResourceSettings Response - The resource specific settings
- type String
- The type of the resource.
- configuration
State String - Describes the user's progress in configuring their environment setting
- description String
- Describes the environment and its resource settings
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String,String>
- The tags of the resource.
- title String
- Brief title describing the environment and its resource settings
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- id string
- The identifier of the resource.
- last
Changed string - Time when the template VM was last changed.
- last
Published string - Time when the template VM was last sent for publishing.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name string
- The name of the resource.
- publishing
State string - Describes the readiness of this environment setting
- resource
Settings ResourceSettings Response - The resource specific settings
- type string
- The type of the resource.
- configuration
State string - Describes the user's progress in configuring their environment setting
- description string
- Describes the environment and its resource settings
- location string
- The location of the resource.
- provisioning
State string - The provisioning status of the resource.
- {[key: string]: string}
- The tags of the resource.
- title string
- Brief title describing the environment and its resource settings
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- id str
- The identifier of the 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_ Latestresult Operation Result Response - 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
- resource_
settings ResourceSettings Response - The resource specific settings
- type str
- The type of the resource.
- configuration_
state str - Describes the user's progress in configuring their environment setting
- description str
- Describes the environment and its resource settings
- location str
- The location of the resource.
- provisioning_
state str - The provisioning status of the resource.
- 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).
- id String
- The identifier of the resource.
- last
Changed String - Time when the template VM was last changed.
- last
Published String - Time when the template VM was last sent for publishing.
- latest
Operation Property MapResult - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- publishing
State String - Describes the readiness of this environment setting
- resource
Settings Property Map - The resource specific settings
- type String
- The type of the resource.
- configuration
State String - Describes the user's progress in configuring their environment setting
- description String
- Describes the environment and its resource settings
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String>
- The tags of the resource.
- title String
- Brief title describing the environment and its resource settings
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
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.
ReferenceVmResponse
- User
Name string - The username of the virtual machine
- Vm
Resource stringId - VM resource Id for the environment
- Vm
State Pulumi.Details Azure Native. Lab Services. Inputs. Vm State Details Response - 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 string - The username of the virtual machine
- Vm
Resource stringId - VM resource Id for the environment
- Vm
State VmDetails State Details Response - 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 String - The username of the virtual machine
- vm
Resource StringId - VM resource Id for the environment
- vm
State VmDetails State Details Response - 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 string - The username of the virtual machine
- vm
Resource stringId - VM resource Id for the environment
- vm
State VmDetails State Details Response - 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_ strid - VM resource Id for the environment
- vm_
state_ Vmdetails State Details Response - 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
- user
Name String - The username of the virtual machine
- vm
Resource StringId - VM resource Id for the environment
- vm
State Property MapDetails - 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
ResourceSettingsResponse
- Cores int
- The translated compute cores of the virtual machine
- Id string
- The unique id of the resource setting
- Image
Name string - The name of the image used to created the environment setting
- Reference
Vm Pulumi.Azure Native. Lab Services. Inputs. Reference Vm Response - Details specific to Reference Vm
- Gallery
Image stringResource Id - 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
- Image
Name string - The name of the image used to created the environment setting
- Reference
Vm ReferenceVm Response - Details specific to Reference Vm
- Gallery
Image stringResource Id - 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
- image
Name String - The name of the image used to created the environment setting
- reference
Vm ReferenceVm Response - Details specific to Reference Vm
- gallery
Image StringResource Id - 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
- image
Name string - The name of the image used to created the environment setting
- reference
Vm ReferenceVm Response - Details specific to Reference Vm
- gallery
Image stringResource Id - 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 ReferenceVm Response - Details specific to Reference Vm
- gallery_
image_ strresource_ id - 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
- image
Name String - The name of the image used to created the environment setting
- reference
Vm Property Map - Details specific to Reference Vm
- gallery
Image StringResource Id - The resource id of the gallery image used for creating the virtual machine
- size String
- The size of the virtual machine
VmStateDetailsResponse
- Last
Known stringPower State - Last known compute power state captured in DTL
- Power
State string - The power state of the reference virtual machine.
- string
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- string
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
- Last
Known stringPower State - Last known compute power state captured in DTL
- Power
State string - The power state of the reference virtual machine.
- string
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- string
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
- last
Known StringPower State - Last known compute power state captured in DTL
- power
State String - The power state of the reference virtual machine.
- String
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- String
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
- last
Known stringPower State - Last known compute power state captured in DTL
- power
State string - The power state of the reference virtual machine.
- string
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- string
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
- last_
known_ strpower_ state - Last known compute power state captured in DTL
- power_
state str - The power state of the reference virtual machine.
- str
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- str
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
- last
Known StringPower State - Last known compute power state captured in DTL
- power
State String - The power state of the reference virtual machine.
- String
- The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
- String
- The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
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