1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. eds
  5. EcdPolicyGroup
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.eds.EcdPolicyGroup

Explore with Pulumi AI

Provides a Elastic Desktop Service (ECD) Policy Group resource.

For information about Elastic Desktop Service (ECD) Policy Group and how to use it, see What is Policy Group.

NOTE: Available since v1.130.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.eds.EcdPolicyGroup("default", {
    policyGroupName: "terraform-example",
    clipboard: "read",
    localDrive: "read",
    usbRedirect: "off",
    watermark: "off",
    authorizeAccessPolicyRules: [{
        description: "terraform-example",
        cidrIp: "1.2.3.45/24",
    }],
    authorizeSecurityPolicyRules: [{
        type: "inflow",
        policy: "accept",
        description: "terraform-example",
        portRange: "80/80",
        ipProtocol: "TCP",
        priority: "1",
        cidrIp: "1.2.3.4/24",
    }],
});
Copy
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.eds.EcdPolicyGroup("default",
    policy_group_name="terraform-example",
    clipboard="read",
    local_drive="read",
    usb_redirect="off",
    watermark="off",
    authorize_access_policy_rules=[{
        "description": "terraform-example",
        "cidr_ip": "1.2.3.45/24",
    }],
    authorize_security_policy_rules=[{
        "type": "inflow",
        "policy": "accept",
        "description": "terraform-example",
        "port_range": "80/80",
        "ip_protocol": "TCP",
        "priority": "1",
        "cidr_ip": "1.2.3.4/24",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String("terraform-example"),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("terraform-example"),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("terraform-example"),
					PortRange:   pulumi.String("80/80"),
					IpProtocol:  pulumi.String("TCP"),
					Priority:    pulumi.String("1"),
					CidrIp:      pulumi.String("1.2.3.4/24"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Eds.EcdPolicyGroup("default", new()
    {
        PolicyGroupName = "terraform-example",
        Clipboard = "read",
        LocalDrive = "read",
        UsbRedirect = "off",
        Watermark = "off",
        AuthorizeAccessPolicyRules = new[]
        {
            new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
            {
                Description = "terraform-example",
                CidrIp = "1.2.3.45/24",
            },
        },
        AuthorizeSecurityPolicyRules = new[]
        {
            new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
            {
                Type = "inflow",
                Policy = "accept",
                Description = "terraform-example",
                PortRange = "80/80",
                IpProtocol = "TCP",
                Priority = "1",
                CidrIp = "1.2.3.4/24",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EcdPolicyGroup;
import com.pulumi.alicloud.eds.EcdPolicyGroupArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var default_ = new EcdPolicyGroup("default", EcdPolicyGroupArgs.builder()
            .policyGroupName("terraform-example")
            .clipboard("read")
            .localDrive("read")
            .usbRedirect("off")
            .watermark("off")
            .authorizeAccessPolicyRules(EcdPolicyGroupAuthorizeAccessPolicyRuleArgs.builder()
                .description("terraform-example")
                .cidrIp("1.2.3.45/24")
                .build())
            .authorizeSecurityPolicyRules(EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs.builder()
                .type("inflow")
                .policy("accept")
                .description("terraform-example")
                .portRange("80/80")
                .ipProtocol("TCP")
                .priority("1")
                .cidrIp("1.2.3.4/24")
                .build())
            .build());

    }
}
Copy
resources:
  default:
    type: alicloud:eds:EcdPolicyGroup
    properties:
      policyGroupName: terraform-example
      clipboard: read
      localDrive: read
      usbRedirect: off
      watermark: off
      authorizeAccessPolicyRules:
        - description: terraform-example
          cidrIp: 1.2.3.45/24
      authorizeSecurityPolicyRules:
        - type: inflow
          policy: accept
          description: terraform-example
          portRange: 80/80
          ipProtocol: TCP
          priority: '1'
          cidrIp: 1.2.3.4/24
Copy

Create EcdPolicyGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EcdPolicyGroup(name: string, args?: EcdPolicyGroupArgs, opts?: CustomResourceOptions);
@overload
def EcdPolicyGroup(resource_name: str,
                   args: Optional[EcdPolicyGroupArgs] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def EcdPolicyGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authorize_access_policy_rules: Optional[Sequence[EcdPolicyGroupAuthorizeAccessPolicyRuleArgs]] = None,
                   authorize_security_policy_rules: Optional[Sequence[EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs]] = None,
                   camera_redirect: Optional[str] = None,
                   clipboard: Optional[str] = None,
                   domain_list: Optional[str] = None,
                   html_access: Optional[str] = None,
                   html_file_transfer: Optional[str] = None,
                   local_drive: Optional[str] = None,
                   policy_group_name: Optional[str] = None,
                   recording: Optional[str] = None,
                   recording_end_time: Optional[str] = None,
                   recording_expires: Optional[int] = None,
                   recording_fps: Optional[int] = None,
                   recording_start_time: Optional[str] = None,
                   usb_redirect: Optional[str] = None,
                   visual_quality: Optional[str] = None,
                   watermark: Optional[str] = None,
                   watermark_transparency: Optional[str] = None,
                   watermark_type: Optional[str] = None)
func NewEcdPolicyGroup(ctx *Context, name string, args *EcdPolicyGroupArgs, opts ...ResourceOption) (*EcdPolicyGroup, error)
public EcdPolicyGroup(string name, EcdPolicyGroupArgs? args = null, CustomResourceOptions? opts = null)
public EcdPolicyGroup(String name, EcdPolicyGroupArgs args)
public EcdPolicyGroup(String name, EcdPolicyGroupArgs args, CustomResourceOptions options)
type: alicloud:eds:EcdPolicyGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var ecdPolicyGroupResource = new AliCloud.Eds.EcdPolicyGroup("ecdPolicyGroupResource", new()
{
    AuthorizeAccessPolicyRules = new[]
    {
        new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
        {
            CidrIp = "string",
            Description = "string",
        },
    },
    AuthorizeSecurityPolicyRules = new[]
    {
        new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
        {
            CidrIp = "string",
            Description = "string",
            IpProtocol = "string",
            Policy = "string",
            PortRange = "string",
            Priority = "string",
            Type = "string",
        },
    },
    CameraRedirect = "string",
    Clipboard = "string",
    DomainList = "string",
    HtmlAccess = "string",
    HtmlFileTransfer = "string",
    LocalDrive = "string",
    PolicyGroupName = "string",
    Recording = "string",
    RecordingEndTime = "string",
    RecordingExpires = 0,
    RecordingFps = 0,
    RecordingStartTime = "string",
    UsbRedirect = "string",
    VisualQuality = "string",
    Watermark = "string",
    WatermarkTransparency = "string",
    WatermarkType = "string",
});
Copy
example, err := eds.NewEcdPolicyGroup(ctx, "ecdPolicyGroupResource", &eds.EcdPolicyGroupArgs{
	AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
		&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
			CidrIp:      pulumi.String("string"),
			Description: pulumi.String("string"),
		},
	},
	AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
		&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
			CidrIp:      pulumi.String("string"),
			Description: pulumi.String("string"),
			IpProtocol:  pulumi.String("string"),
			Policy:      pulumi.String("string"),
			PortRange:   pulumi.String("string"),
			Priority:    pulumi.String("string"),
			Type:        pulumi.String("string"),
		},
	},
	CameraRedirect:        pulumi.String("string"),
	Clipboard:             pulumi.String("string"),
	DomainList:            pulumi.String("string"),
	HtmlAccess:            pulumi.String("string"),
	HtmlFileTransfer:      pulumi.String("string"),
	LocalDrive:            pulumi.String("string"),
	PolicyGroupName:       pulumi.String("string"),
	Recording:             pulumi.String("string"),
	RecordingEndTime:      pulumi.String("string"),
	RecordingExpires:      pulumi.Int(0),
	RecordingFps:          pulumi.Int(0),
	RecordingStartTime:    pulumi.String("string"),
	UsbRedirect:           pulumi.String("string"),
	VisualQuality:         pulumi.String("string"),
	Watermark:             pulumi.String("string"),
	WatermarkTransparency: pulumi.String("string"),
	WatermarkType:         pulumi.String("string"),
})
Copy
var ecdPolicyGroupResource = new EcdPolicyGroup("ecdPolicyGroupResource", EcdPolicyGroupArgs.builder()
    .authorizeAccessPolicyRules(EcdPolicyGroupAuthorizeAccessPolicyRuleArgs.builder()
        .cidrIp("string")
        .description("string")
        .build())
    .authorizeSecurityPolicyRules(EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs.builder()
        .cidrIp("string")
        .description("string")
        .ipProtocol("string")
        .policy("string")
        .portRange("string")
        .priority("string")
        .type("string")
        .build())
    .cameraRedirect("string")
    .clipboard("string")
    .domainList("string")
    .htmlAccess("string")
    .htmlFileTransfer("string")
    .localDrive("string")
    .policyGroupName("string")
    .recording("string")
    .recordingEndTime("string")
    .recordingExpires(0)
    .recordingFps(0)
    .recordingStartTime("string")
    .usbRedirect("string")
    .visualQuality("string")
    .watermark("string")
    .watermarkTransparency("string")
    .watermarkType("string")
    .build());
Copy
ecd_policy_group_resource = alicloud.eds.EcdPolicyGroup("ecdPolicyGroupResource",
    authorize_access_policy_rules=[{
        "cidr_ip": "string",
        "description": "string",
    }],
    authorize_security_policy_rules=[{
        "cidr_ip": "string",
        "description": "string",
        "ip_protocol": "string",
        "policy": "string",
        "port_range": "string",
        "priority": "string",
        "type": "string",
    }],
    camera_redirect="string",
    clipboard="string",
    domain_list="string",
    html_access="string",
    html_file_transfer="string",
    local_drive="string",
    policy_group_name="string",
    recording="string",
    recording_end_time="string",
    recording_expires=0,
    recording_fps=0,
    recording_start_time="string",
    usb_redirect="string",
    visual_quality="string",
    watermark="string",
    watermark_transparency="string",
    watermark_type="string")
Copy
const ecdPolicyGroupResource = new alicloud.eds.EcdPolicyGroup("ecdPolicyGroupResource", {
    authorizeAccessPolicyRules: [{
        cidrIp: "string",
        description: "string",
    }],
    authorizeSecurityPolicyRules: [{
        cidrIp: "string",
        description: "string",
        ipProtocol: "string",
        policy: "string",
        portRange: "string",
        priority: "string",
        type: "string",
    }],
    cameraRedirect: "string",
    clipboard: "string",
    domainList: "string",
    htmlAccess: "string",
    htmlFileTransfer: "string",
    localDrive: "string",
    policyGroupName: "string",
    recording: "string",
    recordingEndTime: "string",
    recordingExpires: 0,
    recordingFps: 0,
    recordingStartTime: "string",
    usbRedirect: "string",
    visualQuality: "string",
    watermark: "string",
    watermarkTransparency: "string",
    watermarkType: "string",
});
Copy
type: alicloud:eds:EcdPolicyGroup
properties:
    authorizeAccessPolicyRules:
        - cidrIp: string
          description: string
    authorizeSecurityPolicyRules:
        - cidrIp: string
          description: string
          ipProtocol: string
          policy: string
          portRange: string
          priority: string
          type: string
    cameraRedirect: string
    clipboard: string
    domainList: string
    htmlAccess: string
    htmlFileTransfer: string
    localDrive: string
    policyGroupName: string
    recording: string
    recordingEndTime: string
    recordingExpires: 0
    recordingFps: 0
    recordingStartTime: string
    usbRedirect: string
    visualQuality: string
    watermark: string
    watermarkTransparency: string
    watermarkType: string
Copy

EcdPolicyGroup Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EcdPolicyGroup resource accepts the following input properties:

AuthorizeAccessPolicyRules List<Pulumi.AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRule>
The rule of authorize access rule. See authorize_access_policy_rules below.
AuthorizeSecurityPolicyRules List<Pulumi.AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRule>
The policy rule. See authorize_security_policy_rules below.
CameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
Clipboard string
The clipboard policy. Valid values: off, read, readwrite.
DomainList string
The list of domain.
HtmlAccess string
The access of html5. Valid values: off, on.
HtmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
LocalDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
PolicyGroupName string
The name of policy group.
Recording string
Whether to enable screen recording. Valid values: off, all-time, period.
RecordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
RecordingExpires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
RecordingFps int
The fps of recording. Valid values: 2, 5, 10, 15.
RecordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
UsbRedirect string
The usb redirect policy. Valid values: off, on.
VisualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
Watermark string
The watermark policy. Valid values: off, on.
WatermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
WatermarkType string
The type of watemark. Valid values: EndUserId, HostName.
AuthorizeAccessPolicyRules []EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
The rule of authorize access rule. See authorize_access_policy_rules below.
AuthorizeSecurityPolicyRules []EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
The policy rule. See authorize_security_policy_rules below.
CameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
Clipboard string
The clipboard policy. Valid values: off, read, readwrite.
DomainList string
The list of domain.
HtmlAccess string
The access of html5. Valid values: off, on.
HtmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
LocalDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
PolicyGroupName string
The name of policy group.
Recording string
Whether to enable screen recording. Valid values: off, all-time, period.
RecordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
RecordingExpires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
RecordingFps int
The fps of recording. Valid values: 2, 5, 10, 15.
RecordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
UsbRedirect string
The usb redirect policy. Valid values: off, on.
VisualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
Watermark string
The watermark policy. Valid values: off, on.
WatermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
WatermarkType string
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules List<EcdPolicyGroupAuthorizeAccessPolicyRule>
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules List<EcdPolicyGroupAuthorizeSecurityPolicyRule>
The policy rule. See authorize_security_policy_rules below.
cameraRedirect String
Whether to enable local camera redirection. Valid values: on, off.
clipboard String
The clipboard policy. Valid values: off, read, readwrite.
domainList String
The list of domain.
htmlAccess String
The access of html5. Valid values: off, on.
htmlFileTransfer String
The html5 file transfer. Valid values: all, download, off, upload.
localDrive String
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName String
The name of policy group.
recording String
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime String
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires Integer
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps Integer
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime String
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
usbRedirect String
The usb redirect policy. Valid values: off, on.
visualQuality String
The quality of visual. Valid values: high, lossless, low, medium.
watermark String
The watermark policy. Valid values: off, on.
watermarkTransparency String
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType String
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRule[]
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules EcdPolicyGroupAuthorizeSecurityPolicyRule[]
The policy rule. See authorize_security_policy_rules below.
cameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
clipboard string
The clipboard policy. Valid values: off, read, readwrite.
domainList string
The list of domain.
htmlAccess string
The access of html5. Valid values: off, on.
htmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
localDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName string
The name of policy group.
recording string
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires number
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps number
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
usbRedirect string
The usb redirect policy. Valid values: off, on.
visualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
watermark string
The watermark policy. Valid values: off, on.
watermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType string
The type of watemark. Valid values: EndUserId, HostName.
authorize_access_policy_rules Sequence[EcdPolicyGroupAuthorizeAccessPolicyRuleArgs]
The rule of authorize access rule. See authorize_access_policy_rules below.
authorize_security_policy_rules Sequence[EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs]
The policy rule. See authorize_security_policy_rules below.
camera_redirect str
Whether to enable local camera redirection. Valid values: on, off.
clipboard str
The clipboard policy. Valid values: off, read, readwrite.
domain_list str
The list of domain.
html_access str
The access of html5. Valid values: off, on.
html_file_transfer str
The html5 file transfer. Valid values: all, download, off, upload.
local_drive str
Local drive redirect policy. Valid values: readwrite, off, read.
policy_group_name str
The name of policy group.
recording str
Whether to enable screen recording. Valid values: off, all-time, period.
recording_end_time str
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recording_expires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recording_fps int
The fps of recording. Valid values: 2, 5, 10, 15.
recording_start_time str
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
usb_redirect str
The usb redirect policy. Valid values: off, on.
visual_quality str
The quality of visual. Valid values: high, lossless, low, medium.
watermark str
The watermark policy. Valid values: off, on.
watermark_transparency str
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermark_type str
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules List<Property Map>
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules List<Property Map>
The policy rule. See authorize_security_policy_rules below.
cameraRedirect String
Whether to enable local camera redirection. Valid values: on, off.
clipboard String
The clipboard policy. Valid values: off, read, readwrite.
domainList String
The list of domain.
htmlAccess String
The access of html5. Valid values: off, on.
htmlFileTransfer String
The html5 file transfer. Valid values: all, download, off, upload.
localDrive String
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName String
The name of policy group.
recording String
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime String
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires Number
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps Number
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime String
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
usbRedirect String
The usb redirect policy. Valid values: off, on.
visualQuality String
The quality of visual. Valid values: high, lossless, low, medium.
watermark String
The watermark policy. Valid values: off, on.
watermarkTransparency String
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType String
The type of watemark. Valid values: EndUserId, HostName.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of policy.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of policy.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of policy.
id string
The provider-assigned unique ID for this managed resource.
status string
The status of policy.
id str
The provider-assigned unique ID for this managed resource.
status str
The status of policy.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of policy.

Look up Existing EcdPolicyGroup Resource

Get an existing EcdPolicyGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EcdPolicyGroupState, opts?: CustomResourceOptions): EcdPolicyGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authorize_access_policy_rules: Optional[Sequence[EcdPolicyGroupAuthorizeAccessPolicyRuleArgs]] = None,
        authorize_security_policy_rules: Optional[Sequence[EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs]] = None,
        camera_redirect: Optional[str] = None,
        clipboard: Optional[str] = None,
        domain_list: Optional[str] = None,
        html_access: Optional[str] = None,
        html_file_transfer: Optional[str] = None,
        local_drive: Optional[str] = None,
        policy_group_name: Optional[str] = None,
        recording: Optional[str] = None,
        recording_end_time: Optional[str] = None,
        recording_expires: Optional[int] = None,
        recording_fps: Optional[int] = None,
        recording_start_time: Optional[str] = None,
        status: Optional[str] = None,
        usb_redirect: Optional[str] = None,
        visual_quality: Optional[str] = None,
        watermark: Optional[str] = None,
        watermark_transparency: Optional[str] = None,
        watermark_type: Optional[str] = None) -> EcdPolicyGroup
func GetEcdPolicyGroup(ctx *Context, name string, id IDInput, state *EcdPolicyGroupState, opts ...ResourceOption) (*EcdPolicyGroup, error)
public static EcdPolicyGroup Get(string name, Input<string> id, EcdPolicyGroupState? state, CustomResourceOptions? opts = null)
public static EcdPolicyGroup get(String name, Output<String> id, EcdPolicyGroupState state, CustomResourceOptions options)
resources:  _:    type: alicloud:eds:EcdPolicyGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AuthorizeAccessPolicyRules List<Pulumi.AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRule>
The rule of authorize access rule. See authorize_access_policy_rules below.
AuthorizeSecurityPolicyRules List<Pulumi.AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRule>
The policy rule. See authorize_security_policy_rules below.
CameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
Clipboard string
The clipboard policy. Valid values: off, read, readwrite.
DomainList string
The list of domain.
HtmlAccess string
The access of html5. Valid values: off, on.
HtmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
LocalDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
PolicyGroupName string
The name of policy group.
Recording string
Whether to enable screen recording. Valid values: off, all-time, period.
RecordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
RecordingExpires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
RecordingFps int
The fps of recording. Valid values: 2, 5, 10, 15.
RecordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
Status string
The status of policy.
UsbRedirect string
The usb redirect policy. Valid values: off, on.
VisualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
Watermark string
The watermark policy. Valid values: off, on.
WatermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
WatermarkType string
The type of watemark. Valid values: EndUserId, HostName.
AuthorizeAccessPolicyRules []EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
The rule of authorize access rule. See authorize_access_policy_rules below.
AuthorizeSecurityPolicyRules []EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
The policy rule. See authorize_security_policy_rules below.
CameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
Clipboard string
The clipboard policy. Valid values: off, read, readwrite.
DomainList string
The list of domain.
HtmlAccess string
The access of html5. Valid values: off, on.
HtmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
LocalDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
PolicyGroupName string
The name of policy group.
Recording string
Whether to enable screen recording. Valid values: off, all-time, period.
RecordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
RecordingExpires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
RecordingFps int
The fps of recording. Valid values: 2, 5, 10, 15.
RecordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
Status string
The status of policy.
UsbRedirect string
The usb redirect policy. Valid values: off, on.
VisualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
Watermark string
The watermark policy. Valid values: off, on.
WatermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
WatermarkType string
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules List<EcdPolicyGroupAuthorizeAccessPolicyRule>
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules List<EcdPolicyGroupAuthorizeSecurityPolicyRule>
The policy rule. See authorize_security_policy_rules below.
cameraRedirect String
Whether to enable local camera redirection. Valid values: on, off.
clipboard String
The clipboard policy. Valid values: off, read, readwrite.
domainList String
The list of domain.
htmlAccess String
The access of html5. Valid values: off, on.
htmlFileTransfer String
The html5 file transfer. Valid values: all, download, off, upload.
localDrive String
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName String
The name of policy group.
recording String
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime String
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires Integer
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps Integer
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime String
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
status String
The status of policy.
usbRedirect String
The usb redirect policy. Valid values: off, on.
visualQuality String
The quality of visual. Valid values: high, lossless, low, medium.
watermark String
The watermark policy. Valid values: off, on.
watermarkTransparency String
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType String
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRule[]
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules EcdPolicyGroupAuthorizeSecurityPolicyRule[]
The policy rule. See authorize_security_policy_rules below.
cameraRedirect string
Whether to enable local camera redirection. Valid values: on, off.
clipboard string
The clipboard policy. Valid values: off, read, readwrite.
domainList string
The list of domain.
htmlAccess string
The access of html5. Valid values: off, on.
htmlFileTransfer string
The html5 file transfer. Valid values: all, download, off, upload.
localDrive string
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName string
The name of policy group.
recording string
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime string
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires number
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps number
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime string
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
status string
The status of policy.
usbRedirect string
The usb redirect policy. Valid values: off, on.
visualQuality string
The quality of visual. Valid values: high, lossless, low, medium.
watermark string
The watermark policy. Valid values: off, on.
watermarkTransparency string
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType string
The type of watemark. Valid values: EndUserId, HostName.
authorize_access_policy_rules Sequence[EcdPolicyGroupAuthorizeAccessPolicyRuleArgs]
The rule of authorize access rule. See authorize_access_policy_rules below.
authorize_security_policy_rules Sequence[EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs]
The policy rule. See authorize_security_policy_rules below.
camera_redirect str
Whether to enable local camera redirection. Valid values: on, off.
clipboard str
The clipboard policy. Valid values: off, read, readwrite.
domain_list str
The list of domain.
html_access str
The access of html5. Valid values: off, on.
html_file_transfer str
The html5 file transfer. Valid values: all, download, off, upload.
local_drive str
Local drive redirect policy. Valid values: readwrite, off, read.
policy_group_name str
The name of policy group.
recording str
Whether to enable screen recording. Valid values: off, all-time, period.
recording_end_time str
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recording_expires int
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recording_fps int
The fps of recording. Valid values: 2, 5, 10, 15.
recording_start_time str
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
status str
The status of policy.
usb_redirect str
The usb redirect policy. Valid values: off, on.
visual_quality str
The quality of visual. Valid values: high, lossless, low, medium.
watermark str
The watermark policy. Valid values: off, on.
watermark_transparency str
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermark_type str
The type of watemark. Valid values: EndUserId, HostName.
authorizeAccessPolicyRules List<Property Map>
The rule of authorize access rule. See authorize_access_policy_rules below.
authorizeSecurityPolicyRules List<Property Map>
The policy rule. See authorize_security_policy_rules below.
cameraRedirect String
Whether to enable local camera redirection. Valid values: on, off.
clipboard String
The clipboard policy. Valid values: off, read, readwrite.
domainList String
The list of domain.
htmlAccess String
The access of html5. Valid values: off, on.
htmlFileTransfer String
The html5 file transfer. Valid values: all, download, off, upload.
localDrive String
Local drive redirect policy. Valid values: readwrite, off, read.
policyGroupName String
The name of policy group.
recording String
Whether to enable screen recording. Valid values: off, all-time, period.
recordingEndTime String
The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
recordingExpires Number
The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or all-time.
recordingFps Number
The fps of recording. Valid values: 2, 5, 10, 15.
recordingStartTime String
The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.
status String
The status of policy.
usbRedirect String
The usb redirect policy. Valid values: off, on.
visualQuality String
The quality of visual. Valid values: high, lossless, low, medium.
watermark String
The watermark policy. Valid values: off, on.
watermarkTransparency String
The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.
watermarkType String
The type of watemark. Valid values: EndUserId, HostName.

Supporting Types

EcdPolicyGroupAuthorizeAccessPolicyRule
, EcdPolicyGroupAuthorizeAccessPolicyRuleArgs

CidrIp string
The cidrip of authorize access rule.
Description string
The description of authorize access rule.
CidrIp string
The cidrip of authorize access rule.
Description string
The description of authorize access rule.
cidrIp String
The cidrip of authorize access rule.
description String
The description of authorize access rule.
cidrIp string
The cidrip of authorize access rule.
description string
The description of authorize access rule.
cidr_ip str
The cidrip of authorize access rule.
description str
The description of authorize access rule.
cidrIp String
The cidrip of authorize access rule.
description String
The description of authorize access rule.

EcdPolicyGroupAuthorizeSecurityPolicyRule
, EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs

CidrIp string
The cidrip of security rules.
Description string
The description of security rules.
IpProtocol string
The ip protocol of security rules.
Policy string
The policy of security rules.
PortRange string
The port range of security rules.
Priority string
The priority of security rules.
Type string
The type of security rules.
CidrIp string
The cidrip of security rules.
Description string
The description of security rules.
IpProtocol string
The ip protocol of security rules.
Policy string
The policy of security rules.
PortRange string
The port range of security rules.
Priority string
The priority of security rules.
Type string
The type of security rules.
cidrIp String
The cidrip of security rules.
description String
The description of security rules.
ipProtocol String
The ip protocol of security rules.
policy String
The policy of security rules.
portRange String
The port range of security rules.
priority String
The priority of security rules.
type String
The type of security rules.
cidrIp string
The cidrip of security rules.
description string
The description of security rules.
ipProtocol string
The ip protocol of security rules.
policy string
The policy of security rules.
portRange string
The port range of security rules.
priority string
The priority of security rules.
type string
The type of security rules.
cidr_ip str
The cidrip of security rules.
description str
The description of security rules.
ip_protocol str
The ip protocol of security rules.
policy str
The policy of security rules.
port_range str
The port range of security rules.
priority str
The priority of security rules.
type str
The type of security rules.
cidrIp String
The cidrip of security rules.
description String
The description of security rules.
ipProtocol String
The ip protocol of security rules.
policy String
The policy of security rules.
portRange String
The port range of security rules.
priority String
The priority of security rules.
type String
The type of security rules.

Import

Elastic Desktop Service (ECD) Policy Group can be imported using the id, e.g.

$ pulumi import alicloud:eds/ecdPolicyGroup:EcdPolicyGroup example <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.