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",
}],
});
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=[alicloud.eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs(
description="terraform-example",
cidr_ip="1.2.3.45/24",
)],
authorize_security_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs(
type="inflow",
policy="accept",
description="terraform-example",
port_range="80/80",
ip_protocol="TCP",
priority="1",
cidr_ip="1.2.3.4/24",
)])
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
})
}
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",
},
},
});
});
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());
}
}
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
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
ecd_policy_group_resource = alicloud.eds.EcdPolicyGroup("ecdPolicyGroupResource",
authorize_access_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs(
cidr_ip="string",
description="string",
)],
authorize_security_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs(
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")
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",
});
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
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
The EcdPolicyGroup resource accepts the following input properties:
- List<Pulumi.
Ali Cloud. Eds. Inputs. Ecd Policy Group Authorize Access Policy Rule> - The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Pulumi.
Ali Cloud. Eds. Inputs. Ecd Policy Group Authorize Security Policy Rule> - The policy rule. See
authorize_security_policy_rules
below. - Camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - Clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - Domain
List string - The list of domain.
- Html
Access string - The access of html5. Valid values:
off
,on
. - Html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - Local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - Policy
Group stringName - The name of policy group.
- Recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - Recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - Recording
Fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - Recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - Usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - Visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - Watermark string
- The watermark policy. Valid values:
off
,on
. - Watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - Watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- []Ecd
Policy Group Authorize Access Policy Rule Args - The rule of authorize access rule. See
authorize_access_policy_rules
below. - []Ecd
Policy Group Authorize Security Policy Rule Args - The policy rule. See
authorize_security_policy_rules
below. - Camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - Clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - Domain
List string - The list of domain.
- Html
Access string - The access of html5. Valid values:
off
,on
. - Html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - Local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - Policy
Group stringName - The name of policy group.
- Recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - Recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - Recording
Fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - Recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - Usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - Visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - Watermark string
- The watermark policy. Valid values:
off
,on
. - Watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - Watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- List<Ecd
Policy Group Authorize Access Policy Rule> - The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Ecd
Policy Group Authorize Security Policy Rule> - The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect String - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard String
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List String - The list of domain.
- html
Access String - The access of html5. Valid values:
off
,on
. - html
File StringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive String - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group StringName - The name of policy group.
- recording String
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End StringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires Integer - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps Integer - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start StringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - usb
Redirect String - The usb redirect policy. Valid values:
off
,on
. - visual
Quality String - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark String
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency String - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type String - The type of watemark. Valid values:
EndUserId
,HostName
.
- Ecd
Policy Group Authorize Access Policy Rule[] - The rule of authorize access rule. See
authorize_access_policy_rules
below. - Ecd
Policy Group Authorize Security Policy Rule[] - The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List string - The list of domain.
- html
Access string - The access of html5. Valid values:
off
,on
. - html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group stringName - The name of policy group.
- recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires number - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps number - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark string
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- Sequence[Ecd
Policy Group Authorize Access Policy Rule Args] - The rule of authorize access rule. See
authorize_access_policy_rules
below. - Sequence[Ecd
Policy Group Authorize Security Policy Rule Args] - 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_ strtransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local_
drive str - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy_
group_ strname - The name of policy group.
- recording str
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording_
end_ strtime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - recording_
fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - recording_
start_ strtime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
.
- List<Property Map>
- The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Property Map>
- The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect String - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard String
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List String - The list of domain.
- html
Access String - The access of html5. Valid values:
off
,on
. - html
File StringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive String - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group StringName - The name of policy group.
- recording String
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End StringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires Number - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps Number - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start StringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - usb
Redirect String - The usb redirect policy. Valid values:
off
,on
. - visual
Quality String - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark String
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency String - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type 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:
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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- List<Pulumi.
Ali Cloud. Eds. Inputs. Ecd Policy Group Authorize Access Policy Rule> - The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Pulumi.
Ali Cloud. Eds. Inputs. Ecd Policy Group Authorize Security Policy Rule> - The policy rule. See
authorize_security_policy_rules
below. - Camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - Clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - Domain
List string - The list of domain.
- Html
Access string - The access of html5. Valid values:
off
,on
. - Html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - Local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - Policy
Group stringName - The name of policy group.
- Recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - Recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - Recording
Fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - Recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - Status string
- The status of policy.
- Usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - Visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - Watermark string
- The watermark policy. Valid values:
off
,on
. - Watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - Watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- []Ecd
Policy Group Authorize Access Policy Rule Args - The rule of authorize access rule. See
authorize_access_policy_rules
below. - []Ecd
Policy Group Authorize Security Policy Rule Args - The policy rule. See
authorize_security_policy_rules
below. - Camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - Clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - Domain
List string - The list of domain.
- Html
Access string - The access of html5. Valid values:
off
,on
. - Html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - Local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - Policy
Group stringName - The name of policy group.
- Recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - Recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - Recording
Fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - Recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - Status string
- The status of policy.
- Usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - Visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - Watermark string
- The watermark policy. Valid values:
off
,on
. - Watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - Watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- List<Ecd
Policy Group Authorize Access Policy Rule> - The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Ecd
Policy Group Authorize Security Policy Rule> - The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect String - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard String
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List String - The list of domain.
- html
Access String - The access of html5. Valid values:
off
,on
. - html
File StringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive String - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group StringName - The name of policy group.
- recording String
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End StringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires Integer - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps Integer - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start StringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - status String
- The status of policy.
- usb
Redirect String - The usb redirect policy. Valid values:
off
,on
. - visual
Quality String - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark String
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency String - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type String - The type of watemark. Valid values:
EndUserId
,HostName
.
- Ecd
Policy Group Authorize Access Policy Rule[] - The rule of authorize access rule. See
authorize_access_policy_rules
below. - Ecd
Policy Group Authorize Security Policy Rule[] - The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect string - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard string
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List string - The list of domain.
- html
Access string - The access of html5. Valid values:
off
,on
. - html
File stringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive string - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group stringName - The name of policy group.
- recording string
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End stringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires number - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps number - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start stringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - status string
- The status of policy.
- usb
Redirect string - The usb redirect policy. Valid values:
off
,on
. - visual
Quality string - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark string
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency string - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type string - The type of watemark. Valid values:
EndUserId
,HostName
.
- Sequence[Ecd
Policy Group Authorize Access Policy Rule Args] - The rule of authorize access rule. See
authorize_access_policy_rules
below. - Sequence[Ecd
Policy Group Authorize Security Policy Rule Args] - 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_ strtransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local_
drive str - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy_
group_ strname - The name of policy group.
- recording str
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording_
end_ strtime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
isperiod
orall-time
. - recording_
fps int - The fps of recording. Valid values:
2
,5
,10
,15
. - recording_
start_ strtime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - 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
.
- List<Property Map>
- The rule of authorize access rule. See
authorize_access_policy_rules
below. - List<Property Map>
- The policy rule. See
authorize_security_policy_rules
below. - camera
Redirect String - Whether to enable local camera redirection. Valid values:
on
,off
. - clipboard String
- The clipboard policy. Valid values:
off
,read
,readwrite
. - domain
List String - The list of domain.
- html
Access String - The access of html5. Valid values:
off
,on
. - html
File StringTransfer - The html5 file transfer. Valid values:
all
,download
,off
,upload
. - local
Drive String - Local drive redirect policy. Valid values:
readwrite
,off
,read
. - policy
Group StringName - The name of policy group.
- recording String
- Whether to enable screen recording. Valid values:
off
,all-time
,period
. - recording
End StringTime - The end time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - recording
Expires Number - The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of
recording
isperiod
orall-time
. - recording
Fps Number - The fps of recording. Valid values:
2
,5
,10
,15
. - recording
Start StringTime - The start time of recording, value:
HH:MM:SS
. This return value is meaningful only when the value ofrecording
isperiod
. - status String
- The status of policy.
- usb
Redirect String - The usb redirect policy. Valid values:
off
,on
. - visual
Quality String - The quality of visual. Valid values:
high
,lossless
,low
,medium
. - watermark String
- The watermark policy. Valid values:
off
,on
. - watermark
Transparency String - The watermark transparency. Valid values:
DARK
,LIGHT
,MIDDLE
. - watermark
Type String - The type of watemark. Valid values:
EndUserId
,HostName
.
Supporting Types
EcdPolicyGroupAuthorizeAccessPolicyRule, EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
- Cidr
Ip string - The cidrip of authorize access rule.
- Description string
- The description of authorize access rule.
- Cidr
Ip string - The cidrip of authorize access rule.
- Description string
- The description of authorize access rule.
- cidr
Ip String - The cidrip of authorize access rule.
- description String
- The description of authorize access rule.
- cidr
Ip 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.
- cidr
Ip String - The cidrip of authorize access rule.
- description String
- The description of authorize access rule.
EcdPolicyGroupAuthorizeSecurityPolicyRule, EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
- Cidr
Ip string - The cidrip of security rules.
- Description string
- The description of security rules.
- Ip
Protocol string - The ip protocol of security rules.
- Policy string
- The policy of security rules.
- Port
Range string - The port range of security rules.
- Priority string
- The priority of security rules.
- Type string
- The type of security rules.
- Cidr
Ip string - The cidrip of security rules.
- Description string
- The description of security rules.
- Ip
Protocol string - The ip protocol of security rules.
- Policy string
- The policy of security rules.
- Port
Range string - The port range of security rules.
- Priority string
- The priority of security rules.
- Type string
- The type of security rules.
- cidr
Ip String - The cidrip of security rules.
- description String
- The description of security rules.
- ip
Protocol String - The ip protocol of security rules.
- policy String
- The policy of security rules.
- port
Range String - The port range of security rules.
- priority String
- The priority of security rules.
- type String
- The type of security rules.
- cidr
Ip string - The cidrip of security rules.
- description string
- The description of security rules.
- ip
Protocol string - The ip protocol of security rules.
- policy string
- The policy of security rules.
- port
Range 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.
- cidr
Ip String - The cidrip of security rules.
- description String
- The description of security rules.
- ip
Protocol String - The ip protocol of security rules.
- policy String
- The policy of security rules.
- port
Range 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>
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.