import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/secure-desktops/latest/DesktopPool * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/desktops * * Creates a desktop pool with the given configuration parameters. * * ## Import * * DesktopPools can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" * ``` */ export declare class DesktopPool extends pulumi.CustomResource { /** * Get an existing DesktopPool resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DesktopPoolState, opts?: pulumi.CustomResourceOptions): DesktopPool; /** * Returns true if the given object is an instance of DesktopPool. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DesktopPool; /** * The number of active desktops in the desktop pool. */ readonly activeDesktops: pulumi.Output; /** * Indicates whether desktop pool users have administrative privileges on their desktop. */ readonly arePrivilegedUsers: pulumi.Output; /** * (Updatable) Indicates whether the volumes are preserved when a desktop pool is deleted. Default value is false. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly areVolumesPreserved: pulumi.Output; /** * The availability domain of the desktop pool. */ readonly availabilityDomain: pulumi.Output; /** * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. Use `availabilityPolicy { }` to not set a schedule. */ readonly availabilityPolicy: pulumi.Output; /** * (Updatable) The size in GBs of the boot volume for the desktop pool. */ readonly bootVolumeSizeInGbs: pulumi.Output; /** * (Updatable) The OCID of the compartment which will contain the desktop pool. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. */ readonly contactDetails: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. */ readonly devicePolicy: pulumi.Output; /** * (Updatable) A user friendly display name. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Provides information about the desktop image. */ readonly image: pulumi.Output; /** * Indicates whether storage is enabled for the desktop pool. */ readonly isStorageEnabled: pulumi.Output; /** * (Updatable) The maximum number of desktops permitted in the desktop pool. */ readonly maximumSize: pulumi.Output; /** * (Updatable) Provides information about the network configuration of the desktop pool. */ readonly networkConfiguration: pulumi.Output; /** * A list of network security groups for the private access. */ readonly nsgIds: pulumi.Output; /** * (Updatable) The details of the desktop's private access network connectivity to be set up for the desktop pool. */ readonly privateAccessDetails: pulumi.Output; /** * (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) for this resource. Each attribute can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ readonly securityAttributes: pulumi.Output<{ [key: string]: string; }>; /** * The details of action to be triggered in case of inactivity or disconnect */ readonly sessionLifecycleActions: pulumi.Output; /** * The compute instance shape configuration requested for each desktop in the desktop pool. */ readonly shapeConfig: pulumi.Output; /** * The shape of the desktop pool. */ readonly shapeName: pulumi.Output; /** * (Updatable) The maximum number of standby desktops available in the desktop pool. */ readonly standbySize: pulumi.Output; /** * The current state of the desktop pool. */ readonly state: pulumi.Output; /** * The backup policy OCID of the storage. */ readonly storageBackupPolicyId: pulumi.Output; /** * The size in GBs of the storage for the desktop pool. */ readonly storageSizeInGbs: pulumi.Output; /** * The date and time the resource was created. */ readonly timeCreated: pulumi.Output; /** * (Updatable) The start time of the desktop pool. */ readonly timeStartScheduled: pulumi.Output; /** * (Updatable) The stop time of the desktop pool. */ readonly timeStopScheduled: pulumi.Output; /** * Indicates whether the desktop pool uses dedicated virtual machine hosts. */ readonly useDedicatedVmHost: pulumi.Output; /** * Create a DesktopPool resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DesktopPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DesktopPool resources. */ export interface DesktopPoolState { /** * The number of active desktops in the desktop pool. */ activeDesktops?: pulumi.Input; /** * Indicates whether desktop pool users have administrative privileges on their desktop. */ arePrivilegedUsers?: pulumi.Input; /** * (Updatable) Indicates whether the volumes are preserved when a desktop pool is deleted. Default value is false. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ areVolumesPreserved?: pulumi.Input; /** * The availability domain of the desktop pool. */ availabilityDomain?: pulumi.Input; /** * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. Use `availabilityPolicy { }` to not set a schedule. */ availabilityPolicy?: pulumi.Input; /** * (Updatable) The size in GBs of the boot volume for the desktop pool. */ bootVolumeSizeInGbs?: pulumi.Input; /** * (Updatable) The OCID of the compartment which will contain the desktop pool. */ compartmentId?: pulumi.Input; /** * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. */ contactDetails?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. */ devicePolicy?: pulumi.Input; /** * (Updatable) A user friendly display name. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Provides information about the desktop image. */ image?: pulumi.Input; /** * Indicates whether storage is enabled for the desktop pool. */ isStorageEnabled?: pulumi.Input; /** * (Updatable) The maximum number of desktops permitted in the desktop pool. */ maximumSize?: pulumi.Input; /** * (Updatable) Provides information about the network configuration of the desktop pool. */ networkConfiguration?: pulumi.Input; /** * A list of network security groups for the private access. */ nsgIds?: pulumi.Input[] | undefined>; /** * (Updatable) The details of the desktop's private access network connectivity to be set up for the desktop pool. */ privateAccessDetails?: pulumi.Input; /** * (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) for this resource. Each attribute can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ securityAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The details of action to be triggered in case of inactivity or disconnect */ sessionLifecycleActions?: pulumi.Input; /** * The compute instance shape configuration requested for each desktop in the desktop pool. */ shapeConfig?: pulumi.Input; /** * The shape of the desktop pool. */ shapeName?: pulumi.Input; /** * (Updatable) The maximum number of standby desktops available in the desktop pool. */ standbySize?: pulumi.Input; /** * The current state of the desktop pool. */ state?: pulumi.Input; /** * The backup policy OCID of the storage. */ storageBackupPolicyId?: pulumi.Input; /** * The size in GBs of the storage for the desktop pool. */ storageSizeInGbs?: pulumi.Input; /** * The date and time the resource was created. */ timeCreated?: pulumi.Input; /** * (Updatable) The start time of the desktop pool. */ timeStartScheduled?: pulumi.Input; /** * (Updatable) The stop time of the desktop pool. */ timeStopScheduled?: pulumi.Input; /** * Indicates whether the desktop pool uses dedicated virtual machine hosts. */ useDedicatedVmHost?: pulumi.Input; } /** * The set of arguments for constructing a DesktopPool resource. */ export interface DesktopPoolArgs { /** * Indicates whether desktop pool users have administrative privileges on their desktop. */ arePrivilegedUsers: pulumi.Input; /** * (Updatable) Indicates whether the volumes are preserved when a desktop pool is deleted. Default value is false. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ areVolumesPreserved?: pulumi.Input; /** * The availability domain of the desktop pool. */ availabilityDomain: pulumi.Input; /** * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. Use `availabilityPolicy { }` to not set a schedule. */ availabilityPolicy: pulumi.Input; /** * (Updatable) The size in GBs of the boot volume for the desktop pool. */ bootVolumeSizeInGbs?: pulumi.Input; /** * (Updatable) The OCID of the compartment which will contain the desktop pool. */ compartmentId: pulumi.Input; /** * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. */ contactDetails: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. */ devicePolicy: pulumi.Input; /** * (Updatable) A user friendly display name. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Provides information about the desktop image. */ image: pulumi.Input; /** * Indicates whether storage is enabled for the desktop pool. */ isStorageEnabled: pulumi.Input; /** * (Updatable) The maximum number of desktops permitted in the desktop pool. */ maximumSize: pulumi.Input; /** * (Updatable) Provides information about the network configuration of the desktop pool. */ networkConfiguration: pulumi.Input; /** * A list of network security groups for the private access. */ nsgIds?: pulumi.Input[] | undefined>; /** * (Updatable) The details of the desktop's private access network connectivity to be set up for the desktop pool. */ privateAccessDetails?: pulumi.Input; /** * (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) for this resource. Each attribute can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ securityAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The details of action to be triggered in case of inactivity or disconnect */ sessionLifecycleActions?: pulumi.Input; /** * The compute instance shape configuration requested for each desktop in the desktop pool. */ shapeConfig?: pulumi.Input; /** * The shape of the desktop pool. */ shapeName: pulumi.Input; /** * (Updatable) The maximum number of standby desktops available in the desktop pool. */ standbySize: pulumi.Input; /** * The backup policy OCID of the storage. */ storageBackupPolicyId: pulumi.Input; /** * The size in GBs of the storage for the desktop pool. */ storageSizeInGbs: pulumi.Input; /** * (Updatable) The start time of the desktop pool. */ timeStartScheduled?: pulumi.Input; /** * (Updatable) The stop time of the desktop pool. */ timeStopScheduled?: pulumi.Input; /** * Indicates whether the desktop pool uses dedicated virtual machine hosts. */ useDedicatedVmHost?: pulumi.Input; } //# sourceMappingURL=desktopPool.d.ts.map