Data Source: oci_desktops_desktop_pools
This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service.
Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order.
Example Usage
data "oci_desktops_desktop_pools" "test_desktop_pools" {
#Required
compartment_id = var.compartment_id
#Optional
availability_domain = var.desktop_pool_availability_domain
display_name = var.desktop_pool_display_name
id = var.desktop_pool_id
state = var.desktop_pool_state
}
Argument Reference
The following arguments are supported:
availability_domain
- (Optional) The name of the availability domain.compartment_id
- (Required) The OCID of the compartment of the desktop pool.display_name
- (Optional) A filter to return only results with the given displayName.id
- (Optional) A filter to return only results with the given OCID.state
- (Optional) A filter to return only results with the given lifecycleState.
Attributes Reference
The following attributes are exported:
desktop_pool_collection
- The list of desktop_pool_collection.
DesktopPool Reference
The following attributes are exported:
active_desktops
- The number of active desktops in the desktop pool.are_privileged_users
- Indicates whether desktop pool users have administrative privileges on their desktop.availability_domain
- The availability domain of the desktop pool.availability_policy
- Provides the start and stop schedule information for desktop availability of the desktop pool.start_schedule
- Provides the schedule information for a desktop.cron_expression
- A cron expression describing the desktop’s schedule.timezone
- The timezone of the desktop’s schedule.
stop_schedule
- Provides the schedule information for a desktop.cron_expression
- A cron expression describing the desktop’s schedule.timezone
- The timezone of the desktop’s schedule.
compartment_id
- The OCID of the compartment of the desktop pool.contact_details
- Contact information of the desktop pool administrator. Avoid entering confidential information.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- A user friendly description providing additional information about the resource. Avoid entering confidential information.device_policy
- Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.audio_mode
- The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.cdm_mode
- The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.
clipboard_mode
- The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.is_display_enabled
- Indicates whether the display is enabled.is_keyboard_enabled
- Indicates whether the keyboard is enabled.is_pointer_enabled
- Indicates whether the pointer is enabled.is_printing_enabled
- Indicates whether printing is enabled.
display_name
- A user friendly display name. Avoid entering confidential information.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the desktop pool.image
- Provides information about the desktop image.image_id
- The OCID of the desktop image.image_name
- The name of the desktop image.operating_system
- The operating system of the desktop image, e.g. “Oracle Linux”, “Windows”.
is_storage_enabled
- Indicates whether storage is enabled for the desktop pool.maximum_size
- The maximum number of desktops permitted in the desktop pool.network_configuration
- Provides information about the network configuration of the desktop pool.nsg_ids
- A list of network security groups for the network.shape_config
- The shape configuration used for each desktop compute instance in the desktop pool.baseline_ocpu_utilization
- The baseline OCPU utilization for a subcore burstable VM instance used for each desktop compute instance in the desktop pool. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable withBASELINE_1_1
. The following values are supported:BASELINE_1_8
- baseline usage is 1⁄8 of an OCPU.BASELINE_1_2
- baseline usage is 1⁄2 of an OCPU.BASELINE_1_1
- baseline usage is the entire OCPU. This represents a non-burstable instance.
memory_in_gbs
- The total amount of memory available in gigabytes for each desktop compute instance in the desktop pool.ocpus
- The total number of OCPUs available for each desktop compute instance in the desktop pool.
private_access_details
- The details of the desktop’s private access network connectivity that were used to create the pool.endpoint_fqdn
- The three-label FQDN to use for the private endpoint. The customer VCN’s DNS records are updated with this FQDN. This enables the customer to use the FQDN instead of the private endpoint’s private IP address to access the service (for example, xyz.oraclecloud.com).nsg_ids
- A list of network security groups for the private access.private_ip
- The IPv4 address from the provided Oracle Cloud Infrastructure subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.subnet_id
- The OCID of the private subnet in the customer VCN where the connectivity will be established.vcn_id
- The OCID of the customer VCN.
session_lifecycle_actions
- Action to be triggered on inactivity or disconnectdisconnect
- Action and grace period for disconnectaction
- a disconnect action to be triggeredgrace_period_in_minutes
- The period of time (in minutes) after disconnect before any action occurs. If the value is not provided, a default value is used.
inactivity
- Action and grace period for inactivityaction
- an inactivity action to be triggeredgrace_period_in_minutes
- The period of time (in minutes) during which the session must remain inactive before any action occurs. If the value is not provided, a default value is used.
shape_name
- The shape of the desktop pool.standby_size
- The maximum number of standby desktops available in the desktop pool.state
- The current state of the desktop pool.storage_backup_policy_id
- The backup policy OCID of the storage.storage_size_in_gbs
- The size in GBs of the storage for the desktop pool.time_created
- The date and time the resource was created.time_start_scheduled
- The start time of the desktop pool.time_stop_scheduled
- The stop time of the desktop pool.use_dedicated_vm_host
- Indicates whether the desktop pool uses dedicated virtual machine hosts.