eds

package
v3.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdConnectorDirectory added in v3.23.0

type AdConnectorDirectory struct {
	pulumi.CustomResourceState

	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringOutput `pulumi:"desktopAccessType"`
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	DirectoryName pulumi.StringOutput `pulumi:"directoryName"`
	// The DNS address list.
	DnsAddresses pulumi.StringArrayOutput `pulumi:"dnsAddresses"`
	// The name of the domain.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// The user password of the domain administrator. The maximum number of English characters is 64.
	DomainPassword pulumi.StringOutput `pulumi:"domainPassword"`
	// The username of the domain administrator. The maximum number of English characters is 64.
	DomainUserName pulumi.StringOutput `pulumi:"domainUserName"`
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableAdminAccess pulumi.BoolOutput `pulumi:"enableAdminAccess"`
	// Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device. **NOTE:** The MFA device needs to be bound when logging in for the first time.
	MfaEnabled pulumi.BoolOutput `pulumi:"mfaEnabled"`
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrOutput `pulumi:"specification"`
	// The status of directory.
	Status pulumi.StringOutput `pulumi:"status"`
	// The Enterprise already has the DNS address of the AD subdomain. If `subDomainName` is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayOutput `pulumi:"subDomainDnsAddresses"`
	// The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
	SubDomainName pulumi.StringPtrOutput `pulumi:"subDomainName"`
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

Provides a ECD Ad Connector Directory resource.

For information about ECD Ad Connector Directory and how to use it, see [What is Ad Connector Directory](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createadconnectordirectory).

> **NOTE:** Available since v1.174.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := eds.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/24"),
			ZoneId:      pulumi.String(_default.Ids[0]),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_, err = eds.NewAdConnectorDirectory(ctx, "default", &eds.AdConnectorDirectoryArgs{
			DirectoryName:     pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
			DesktopAccessType: pulumi.String("INTERNET"),
			DnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.2"),
			},
			DomainName:        pulumi.String("corp.example.com"),
			DomainPassword:    pulumi.String("Example1234"),
			DomainUserName:    pulumi.String("sAMAccountName"),
			EnableAdminAccess: pulumi.Bool(false),
			MfaEnabled:        pulumi.Bool(false),
			Specification:     pulumi.Int(1),
			SubDomainDnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.3"),
			},
			SubDomainName: pulumi.String("child.example.com"),
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Ad Connector Directory can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/adConnectorDirectory:AdConnectorDirectory example <id> ```

func GetAdConnectorDirectory added in v3.23.0

func GetAdConnectorDirectory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AdConnectorDirectoryState, opts ...pulumi.ResourceOption) (*AdConnectorDirectory, error)

GetAdConnectorDirectory gets an existing AdConnectorDirectory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAdConnectorDirectory added in v3.23.0

func NewAdConnectorDirectory(ctx *pulumi.Context,
	name string, args *AdConnectorDirectoryArgs, opts ...pulumi.ResourceOption) (*AdConnectorDirectory, error)

NewAdConnectorDirectory registers a new resource with the given unique name, arguments, and options.

func (*AdConnectorDirectory) ElementType added in v3.23.0

func (*AdConnectorDirectory) ElementType() reflect.Type

func (*AdConnectorDirectory) ToAdConnectorDirectoryOutput added in v3.23.0

func (i *AdConnectorDirectory) ToAdConnectorDirectoryOutput() AdConnectorDirectoryOutput

func (*AdConnectorDirectory) ToAdConnectorDirectoryOutputWithContext added in v3.23.0

func (i *AdConnectorDirectory) ToAdConnectorDirectoryOutputWithContext(ctx context.Context) AdConnectorDirectoryOutput

type AdConnectorDirectoryArgs added in v3.23.0

type AdConnectorDirectoryArgs struct {
	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringPtrInput
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	DirectoryName pulumi.StringInput
	// The DNS address list.
	DnsAddresses pulumi.StringArrayInput
	// The name of the domain.
	DomainName pulumi.StringInput
	// The user password of the domain administrator. The maximum number of English characters is 64.
	DomainPassword pulumi.StringInput
	// The username of the domain administrator. The maximum number of English characters is 64.
	DomainUserName pulumi.StringInput
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableAdminAccess pulumi.BoolPtrInput
	// Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device. **NOTE:** The MFA device needs to be bound when logging in for the first time.
	MfaEnabled pulumi.BoolPtrInput
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrInput
	// The Enterprise already has the DNS address of the AD subdomain. If `subDomainName` is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayInput
	// The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
	SubDomainName pulumi.StringPtrInput
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a AdConnectorDirectory resource.

func (AdConnectorDirectoryArgs) ElementType added in v3.23.0

func (AdConnectorDirectoryArgs) ElementType() reflect.Type

type AdConnectorDirectoryArray added in v3.23.0

type AdConnectorDirectoryArray []AdConnectorDirectoryInput

func (AdConnectorDirectoryArray) ElementType added in v3.23.0

func (AdConnectorDirectoryArray) ElementType() reflect.Type

func (AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutput added in v3.23.0

func (i AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutput() AdConnectorDirectoryArrayOutput

func (AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutputWithContext added in v3.23.0

func (i AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutputWithContext(ctx context.Context) AdConnectorDirectoryArrayOutput

type AdConnectorDirectoryArrayInput added in v3.23.0

type AdConnectorDirectoryArrayInput interface {
	pulumi.Input

	ToAdConnectorDirectoryArrayOutput() AdConnectorDirectoryArrayOutput
	ToAdConnectorDirectoryArrayOutputWithContext(context.Context) AdConnectorDirectoryArrayOutput
}

AdConnectorDirectoryArrayInput is an input type that accepts AdConnectorDirectoryArray and AdConnectorDirectoryArrayOutput values. You can construct a concrete instance of `AdConnectorDirectoryArrayInput` via:

AdConnectorDirectoryArray{ AdConnectorDirectoryArgs{...} }

type AdConnectorDirectoryArrayOutput added in v3.23.0

type AdConnectorDirectoryArrayOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryArrayOutput) ElementType added in v3.23.0

func (AdConnectorDirectoryArrayOutput) Index added in v3.23.0

func (AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutput added in v3.23.0

func (o AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutput() AdConnectorDirectoryArrayOutput

func (AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutputWithContext added in v3.23.0

func (o AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutputWithContext(ctx context.Context) AdConnectorDirectoryArrayOutput

type AdConnectorDirectoryInput added in v3.23.0

type AdConnectorDirectoryInput interface {
	pulumi.Input

	ToAdConnectorDirectoryOutput() AdConnectorDirectoryOutput
	ToAdConnectorDirectoryOutputWithContext(ctx context.Context) AdConnectorDirectoryOutput
}

type AdConnectorDirectoryMap added in v3.23.0

type AdConnectorDirectoryMap map[string]AdConnectorDirectoryInput

func (AdConnectorDirectoryMap) ElementType added in v3.23.0

func (AdConnectorDirectoryMap) ElementType() reflect.Type

func (AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutput added in v3.23.0

func (i AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutput() AdConnectorDirectoryMapOutput

func (AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutputWithContext added in v3.23.0

func (i AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutputWithContext(ctx context.Context) AdConnectorDirectoryMapOutput

type AdConnectorDirectoryMapInput added in v3.23.0

type AdConnectorDirectoryMapInput interface {
	pulumi.Input

	ToAdConnectorDirectoryMapOutput() AdConnectorDirectoryMapOutput
	ToAdConnectorDirectoryMapOutputWithContext(context.Context) AdConnectorDirectoryMapOutput
}

AdConnectorDirectoryMapInput is an input type that accepts AdConnectorDirectoryMap and AdConnectorDirectoryMapOutput values. You can construct a concrete instance of `AdConnectorDirectoryMapInput` via:

AdConnectorDirectoryMap{ "key": AdConnectorDirectoryArgs{...} }

type AdConnectorDirectoryMapOutput added in v3.23.0

type AdConnectorDirectoryMapOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryMapOutput) ElementType added in v3.23.0

func (AdConnectorDirectoryMapOutput) MapIndex added in v3.23.0

func (AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutput added in v3.23.0

func (o AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutput() AdConnectorDirectoryMapOutput

func (AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutputWithContext added in v3.23.0

func (o AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutputWithContext(ctx context.Context) AdConnectorDirectoryMapOutput

type AdConnectorDirectoryOutput added in v3.23.0

type AdConnectorDirectoryOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryOutput) DesktopAccessType added in v3.27.0

func (o AdConnectorDirectoryOutput) DesktopAccessType() pulumi.StringOutput

The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.

func (AdConnectorDirectoryOutput) DirectoryName added in v3.27.0

The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

func (AdConnectorDirectoryOutput) DnsAddresses added in v3.27.0

The DNS address list.

func (AdConnectorDirectoryOutput) DomainName added in v3.27.0

The name of the domain.

func (AdConnectorDirectoryOutput) DomainPassword added in v3.27.0

func (o AdConnectorDirectoryOutput) DomainPassword() pulumi.StringOutput

The user password of the domain administrator. The maximum number of English characters is 64.

func (AdConnectorDirectoryOutput) DomainUserName added in v3.27.0

func (o AdConnectorDirectoryOutput) DomainUserName() pulumi.StringOutput

The username of the domain administrator. The maximum number of English characters is 64.

func (AdConnectorDirectoryOutput) ElementType added in v3.23.0

func (AdConnectorDirectoryOutput) ElementType() reflect.Type

func (AdConnectorDirectoryOutput) EnableAdminAccess added in v3.27.0

func (o AdConnectorDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to grant local administrator rights to users who use cloud desktops.

func (AdConnectorDirectoryOutput) MfaEnabled added in v3.27.0

Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device. **NOTE:** The MFA device needs to be bound when logging in for the first time.

func (AdConnectorDirectoryOutput) Specification added in v3.27.0

The AD Connector specifications. Valid values: `1`, `2`.

func (AdConnectorDirectoryOutput) Status added in v3.27.0

The status of directory.

func (AdConnectorDirectoryOutput) SubDomainDnsAddresses added in v3.27.0

func (o AdConnectorDirectoryOutput) SubDomainDnsAddresses() pulumi.StringArrayOutput

The Enterprise already has the DNS address of the AD subdomain. If `subDomainName` is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.

func (AdConnectorDirectoryOutput) SubDomainName added in v3.27.0

The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.

func (AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutput added in v3.23.0

func (o AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutput() AdConnectorDirectoryOutput

func (AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutputWithContext added in v3.23.0

func (o AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutputWithContext(ctx context.Context) AdConnectorDirectoryOutput

func (AdConnectorDirectoryOutput) VswitchIds added in v3.27.0

List of VSwitch IDs in the directory.

type AdConnectorDirectoryState added in v3.23.0

type AdConnectorDirectoryState struct {
	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringPtrInput
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	DirectoryName pulumi.StringPtrInput
	// The DNS address list.
	DnsAddresses pulumi.StringArrayInput
	// The name of the domain.
	DomainName pulumi.StringPtrInput
	// The user password of the domain administrator. The maximum number of English characters is 64.
	DomainPassword pulumi.StringPtrInput
	// The username of the domain administrator. The maximum number of English characters is 64.
	DomainUserName pulumi.StringPtrInput
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableAdminAccess pulumi.BoolPtrInput
	// Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device. **NOTE:** The MFA device needs to be bound when logging in for the first time.
	MfaEnabled pulumi.BoolPtrInput
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrInput
	// The status of directory.
	Status pulumi.StringPtrInput
	// The Enterprise already has the DNS address of the AD subdomain. If `subDomainName` is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayInput
	// The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
	SubDomainName pulumi.StringPtrInput
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput
}

func (AdConnectorDirectoryState) ElementType added in v3.23.0

func (AdConnectorDirectoryState) ElementType() reflect.Type

type AdConnectorOfficeSite added in v3.24.0

type AdConnectorOfficeSite struct {
	pulumi.CustomResourceState

	// The name of the workspace. The name must be 2 to 255 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
	AdConnectorOfficeSiteName pulumi.StringOutput `pulumi:"adConnectorOfficeSiteName"`
	// The ad hostname.
	AdHostname pulumi.StringPtrOutput `pulumi:"adHostname"`
	// The maximum public bandwidth value. Valid values: 0 to 200. If you do not specify this parameter or you set this parameter to 0, Internet access is disabled.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// The ID of the CEN instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The cen owner id.
	CenOwnerId pulumi.StringPtrOutput `pulumi:"cenOwnerId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The method that you use to connect to cloud desktops. **Note:** The VPC connection method is provided by Alibaba Cloud PrivateLink. You are not charged for PrivateLink. When you set this parameter to VPC or Any, PrivateLink is automatically activated. Default value: `INTERNET`. Valid values:
	DesktopAccessType pulumi.StringOutput `pulumi:"desktopAccessType"`
	// The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
	DnsAddresses pulumi.StringArrayOutput `pulumi:"dnsAddresses"`
	// The domain name of the enterprise AD system. You can register each domain name only once.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// The password of the domain administrator. The password can be up to 64 characters in length.
	DomainPassword pulumi.StringPtrOutput `pulumi:"domainPassword"`
	// The username of the domain administrator. The username can be up to 64 characters in length.
	DomainUserName pulumi.StringPtrOutput `pulumi:"domainUserName"`
	// Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
	EnableAdminAccess pulumi.BoolOutput `pulumi:"enableAdminAccess"`
	// Specifies whether to enable Internet access.
	EnableInternetAccess pulumi.BoolOutput `pulumi:"enableInternetAccess"`
	// Specifies whether to enable multi-factor authentication (MFA).
	MfaEnabled pulumi.BoolPtrOutput `pulumi:"mfaEnabled"`
	// The protocol type. Valid values: `ASP`, `HDX`.
	ProtocolType pulumi.StringPtrOutput `pulumi:"protocolType"`
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrOutput `pulumi:"specification"`
	// The resource State.
	Status pulumi.StringOutput `pulumi:"status"`
	// The DNS address N of the enterprise AD subdomain. If you specify a value for the `subDomainName` parameter but you do not specify a value for this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayOutput `pulumi:"subDomainDnsAddresses"`
	// The domain name of the enterprise AD subdomain.
	SubDomainName pulumi.StringPtrOutput `pulumi:"subDomainName"`
	// The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.
	VerifyCode pulumi.StringPtrOutput `pulumi:"verifyCode"`
}

Provides a ECD Ad Connector Office Site resource.

For information about ECD Ad Connector Office Site and how to use it, see [What is Ad Connector Office Site](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createadconnectorofficesite).

> **NOTE:** Available since v1.176.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := cen.NewInstance(ctx, "default", &cen.InstanceArgs{
			CenInstanceName: pulumi.String(name),
			ProtectionLevel: pulumi.String("REDUCED"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewAdConnectorOfficeSite(ctx, "default", &eds.AdConnectorOfficeSiteArgs{
			AdConnectorOfficeSiteName: pulumi.String(name),
			Bandwidth:                 pulumi.Int(100),
			CenId:                     _default.ID(),
			CidrBlock:                 pulumi.String("10.0.0.0/12"),
			DesktopAccessType:         pulumi.String("INTERNET"),
			DnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.2"),
			},
			DomainName:           pulumi.String("corp.example.com"),
			DomainPassword:       pulumi.String("Example1234"),
			DomainUserName:       pulumi.String("sAMAccountName"),
			EnableAdminAccess:    pulumi.Bool(false),
			EnableInternetAccess: pulumi.Bool(false),
			MfaEnabled:           pulumi.Bool(false),
			SubDomainDnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.3"),
			},
			SubDomainName: pulumi.String("child.example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Ad Connector Office Site can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/adConnectorOfficeSite:AdConnectorOfficeSite example <id> ```

func GetAdConnectorOfficeSite added in v3.24.0

func GetAdConnectorOfficeSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AdConnectorOfficeSiteState, opts ...pulumi.ResourceOption) (*AdConnectorOfficeSite, error)

GetAdConnectorOfficeSite gets an existing AdConnectorOfficeSite resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAdConnectorOfficeSite added in v3.24.0

func NewAdConnectorOfficeSite(ctx *pulumi.Context,
	name string, args *AdConnectorOfficeSiteArgs, opts ...pulumi.ResourceOption) (*AdConnectorOfficeSite, error)

NewAdConnectorOfficeSite registers a new resource with the given unique name, arguments, and options.

func (*AdConnectorOfficeSite) ElementType added in v3.24.0

func (*AdConnectorOfficeSite) ElementType() reflect.Type

func (*AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutput added in v3.24.0

func (i *AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutput() AdConnectorOfficeSiteOutput

func (*AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutputWithContext added in v3.24.0

func (i *AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutputWithContext(ctx context.Context) AdConnectorOfficeSiteOutput

type AdConnectorOfficeSiteArgs added in v3.24.0

type AdConnectorOfficeSiteArgs struct {
	// The name of the workspace. The name must be 2 to 255 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
	AdConnectorOfficeSiteName pulumi.StringInput
	// The ad hostname.
	AdHostname pulumi.StringPtrInput
	// The maximum public bandwidth value. Valid values: 0 to 200. If you do not specify this parameter or you set this parameter to 0, Internet access is disabled.
	Bandwidth pulumi.IntPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringInput
	// The cen owner id.
	CenOwnerId pulumi.StringPtrInput
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringInput
	// The method that you use to connect to cloud desktops. **Note:** The VPC connection method is provided by Alibaba Cloud PrivateLink. You are not charged for PrivateLink. When you set this parameter to VPC or Any, PrivateLink is automatically activated. Default value: `INTERNET`. Valid values:
	DesktopAccessType pulumi.StringPtrInput
	// The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
	DnsAddresses pulumi.StringArrayInput
	// The domain name of the enterprise AD system. You can register each domain name only once.
	DomainName pulumi.StringInput
	// The password of the domain administrator. The password can be up to 64 characters in length.
	DomainPassword pulumi.StringPtrInput
	// The username of the domain administrator. The username can be up to 64 characters in length.
	DomainUserName pulumi.StringPtrInput
	// Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
	EnableAdminAccess pulumi.BoolPtrInput
	// Specifies whether to enable Internet access.
	EnableInternetAccess pulumi.BoolPtrInput
	// Specifies whether to enable multi-factor authentication (MFA).
	MfaEnabled pulumi.BoolPtrInput
	// The protocol type. Valid values: `ASP`, `HDX`.
	ProtocolType pulumi.StringPtrInput
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrInput
	// The DNS address N of the enterprise AD subdomain. If you specify a value for the `subDomainName` parameter but you do not specify a value for this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayInput
	// The domain name of the enterprise AD subdomain.
	SubDomainName pulumi.StringPtrInput
	// The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.
	VerifyCode pulumi.StringPtrInput
}

The set of arguments for constructing a AdConnectorOfficeSite resource.

func (AdConnectorOfficeSiteArgs) ElementType added in v3.24.0

func (AdConnectorOfficeSiteArgs) ElementType() reflect.Type

type AdConnectorOfficeSiteArray added in v3.24.0

type AdConnectorOfficeSiteArray []AdConnectorOfficeSiteInput

func (AdConnectorOfficeSiteArray) ElementType added in v3.24.0

func (AdConnectorOfficeSiteArray) ElementType() reflect.Type

func (AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutput added in v3.24.0

func (i AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutput() AdConnectorOfficeSiteArrayOutput

func (AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutputWithContext added in v3.24.0

func (i AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutputWithContext(ctx context.Context) AdConnectorOfficeSiteArrayOutput

type AdConnectorOfficeSiteArrayInput added in v3.24.0

type AdConnectorOfficeSiteArrayInput interface {
	pulumi.Input

	ToAdConnectorOfficeSiteArrayOutput() AdConnectorOfficeSiteArrayOutput
	ToAdConnectorOfficeSiteArrayOutputWithContext(context.Context) AdConnectorOfficeSiteArrayOutput
}

AdConnectorOfficeSiteArrayInput is an input type that accepts AdConnectorOfficeSiteArray and AdConnectorOfficeSiteArrayOutput values. You can construct a concrete instance of `AdConnectorOfficeSiteArrayInput` via:

AdConnectorOfficeSiteArray{ AdConnectorOfficeSiteArgs{...} }

type AdConnectorOfficeSiteArrayOutput added in v3.24.0

type AdConnectorOfficeSiteArrayOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteArrayOutput) ElementType added in v3.24.0

func (AdConnectorOfficeSiteArrayOutput) Index added in v3.24.0

func (AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutput added in v3.24.0

func (o AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutput() AdConnectorOfficeSiteArrayOutput

func (AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutputWithContext added in v3.24.0

func (o AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutputWithContext(ctx context.Context) AdConnectorOfficeSiteArrayOutput

type AdConnectorOfficeSiteInput added in v3.24.0

type AdConnectorOfficeSiteInput interface {
	pulumi.Input

	ToAdConnectorOfficeSiteOutput() AdConnectorOfficeSiteOutput
	ToAdConnectorOfficeSiteOutputWithContext(ctx context.Context) AdConnectorOfficeSiteOutput
}

type AdConnectorOfficeSiteMap added in v3.24.0

type AdConnectorOfficeSiteMap map[string]AdConnectorOfficeSiteInput

func (AdConnectorOfficeSiteMap) ElementType added in v3.24.0

func (AdConnectorOfficeSiteMap) ElementType() reflect.Type

func (AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutput added in v3.24.0

func (i AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutput() AdConnectorOfficeSiteMapOutput

func (AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutputWithContext added in v3.24.0

func (i AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutputWithContext(ctx context.Context) AdConnectorOfficeSiteMapOutput

type AdConnectorOfficeSiteMapInput added in v3.24.0

type AdConnectorOfficeSiteMapInput interface {
	pulumi.Input

	ToAdConnectorOfficeSiteMapOutput() AdConnectorOfficeSiteMapOutput
	ToAdConnectorOfficeSiteMapOutputWithContext(context.Context) AdConnectorOfficeSiteMapOutput
}

AdConnectorOfficeSiteMapInput is an input type that accepts AdConnectorOfficeSiteMap and AdConnectorOfficeSiteMapOutput values. You can construct a concrete instance of `AdConnectorOfficeSiteMapInput` via:

AdConnectorOfficeSiteMap{ "key": AdConnectorOfficeSiteArgs{...} }

type AdConnectorOfficeSiteMapOutput added in v3.24.0

type AdConnectorOfficeSiteMapOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteMapOutput) ElementType added in v3.24.0

func (AdConnectorOfficeSiteMapOutput) MapIndex added in v3.24.0

func (AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutput added in v3.24.0

func (o AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutput() AdConnectorOfficeSiteMapOutput

func (AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutputWithContext added in v3.24.0

func (o AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutputWithContext(ctx context.Context) AdConnectorOfficeSiteMapOutput

type AdConnectorOfficeSiteOutput added in v3.24.0

type AdConnectorOfficeSiteOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteOutput) AdConnectorOfficeSiteName added in v3.27.0

func (o AdConnectorOfficeSiteOutput) AdConnectorOfficeSiteName() pulumi.StringOutput

The name of the workspace. The name must be 2 to 255 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).

func (AdConnectorOfficeSiteOutput) AdHostname added in v3.27.0

The ad hostname.

func (AdConnectorOfficeSiteOutput) Bandwidth added in v3.27.0

The maximum public bandwidth value. Valid values: 0 to 200. If you do not specify this parameter or you set this parameter to 0, Internet access is disabled.

func (AdConnectorOfficeSiteOutput) CenId added in v3.27.0

The ID of the CEN instance.

func (AdConnectorOfficeSiteOutput) CenOwnerId added in v3.27.0

The cen owner id.

func (AdConnectorOfficeSiteOutput) CidrBlock added in v3.27.0

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (AdConnectorOfficeSiteOutput) DesktopAccessType added in v3.27.0

func (o AdConnectorOfficeSiteOutput) DesktopAccessType() pulumi.StringOutput

The method that you use to connect to cloud desktops. **Note:** The VPC connection method is provided by Alibaba Cloud PrivateLink. You are not charged for PrivateLink. When you set this parameter to VPC or Any, PrivateLink is automatically activated. Default value: `INTERNET`. Valid values:

func (AdConnectorOfficeSiteOutput) DnsAddresses added in v3.27.0

The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.

func (AdConnectorOfficeSiteOutput) DomainName added in v3.27.0

The domain name of the enterprise AD system. You can register each domain name only once.

func (AdConnectorOfficeSiteOutput) DomainPassword added in v3.27.0

The password of the domain administrator. The password can be up to 64 characters in length.

func (AdConnectorOfficeSiteOutput) DomainUserName added in v3.27.0

The username of the domain administrator. The username can be up to 64 characters in length.

func (AdConnectorOfficeSiteOutput) ElementType added in v3.24.0

func (AdConnectorOfficeSiteOutput) EnableAdminAccess added in v3.27.0

func (o AdConnectorOfficeSiteOutput) EnableAdminAccess() pulumi.BoolOutput

Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.

func (AdConnectorOfficeSiteOutput) EnableInternetAccess added in v3.27.0

func (o AdConnectorOfficeSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Specifies whether to enable Internet access.

func (AdConnectorOfficeSiteOutput) MfaEnabled added in v3.27.0

Specifies whether to enable multi-factor authentication (MFA).

func (AdConnectorOfficeSiteOutput) ProtocolType added in v3.27.0

The protocol type. Valid values: `ASP`, `HDX`.

func (AdConnectorOfficeSiteOutput) Specification added in v3.27.0

The AD Connector specifications. Valid values: `1`, `2`.

func (AdConnectorOfficeSiteOutput) Status added in v3.27.0

The resource State.

func (AdConnectorOfficeSiteOutput) SubDomainDnsAddresses added in v3.27.0

func (o AdConnectorOfficeSiteOutput) SubDomainDnsAddresses() pulumi.StringArrayOutput

The DNS address N of the enterprise AD subdomain. If you specify a value for the `subDomainName` parameter but you do not specify a value for this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.

func (AdConnectorOfficeSiteOutput) SubDomainName added in v3.27.0

The domain name of the enterprise AD subdomain.

func (AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutput added in v3.24.0

func (o AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutput() AdConnectorOfficeSiteOutput

func (AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutputWithContext added in v3.24.0

func (o AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutputWithContext(ctx context.Context) AdConnectorOfficeSiteOutput

func (AdConnectorOfficeSiteOutput) VerifyCode added in v3.27.0

The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.

type AdConnectorOfficeSiteState added in v3.24.0

type AdConnectorOfficeSiteState struct {
	// The name of the workspace. The name must be 2 to 255 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
	AdConnectorOfficeSiteName pulumi.StringPtrInput
	// The ad hostname.
	AdHostname pulumi.StringPtrInput
	// The maximum public bandwidth value. Valid values: 0 to 200. If you do not specify this parameter or you set this parameter to 0, Internet access is disabled.
	Bandwidth pulumi.IntPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringPtrInput
	// The cen owner id.
	CenOwnerId pulumi.StringPtrInput
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringPtrInput
	// The method that you use to connect to cloud desktops. **Note:** The VPC connection method is provided by Alibaba Cloud PrivateLink. You are not charged for PrivateLink. When you set this parameter to VPC or Any, PrivateLink is automatically activated. Default value: `INTERNET`. Valid values:
	DesktopAccessType pulumi.StringPtrInput
	// The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
	DnsAddresses pulumi.StringArrayInput
	// The domain name of the enterprise AD system. You can register each domain name only once.
	DomainName pulumi.StringPtrInput
	// The password of the domain administrator. The password can be up to 64 characters in length.
	DomainPassword pulumi.StringPtrInput
	// The username of the domain administrator. The username can be up to 64 characters in length.
	DomainUserName pulumi.StringPtrInput
	// Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
	EnableAdminAccess pulumi.BoolPtrInput
	// Specifies whether to enable Internet access.
	EnableInternetAccess pulumi.BoolPtrInput
	// Specifies whether to enable multi-factor authentication (MFA).
	MfaEnabled pulumi.BoolPtrInput
	// The protocol type. Valid values: `ASP`, `HDX`.
	ProtocolType pulumi.StringPtrInput
	// The AD Connector specifications. Valid values: `1`, `2`.
	Specification pulumi.IntPtrInput
	// The resource State.
	Status pulumi.StringPtrInput
	// The DNS address N of the enterprise AD subdomain. If you specify a value for the `subDomainName` parameter but you do not specify a value for this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
	SubDomainDnsAddresses pulumi.StringArrayInput
	// The domain name of the enterprise AD subdomain.
	SubDomainName pulumi.StringPtrInput
	// The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.
	VerifyCode pulumi.StringPtrInput
}

func (AdConnectorOfficeSiteState) ElementType added in v3.24.0

func (AdConnectorOfficeSiteState) ElementType() reflect.Type

type Bundle added in v3.21.0

type Bundle struct {
	pulumi.CustomResourceState

	// The name of the bundle.
	BundleName pulumi.StringPtrOutput `pulumi:"bundleName"`
	// The description of the bundle.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The desktop type. You can call `eds.getDesktopTypes` to query desktop type.
	DesktopType pulumi.StringOutput `pulumi:"desktopType"`
	// The ID of the image.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The language. Valid values: `zh-CN`, `zh-HK`, `en-US`, `ja-JP`.
	Language pulumi.StringPtrOutput `pulumi:"language"`
	// The root disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	RootDiskPerformanceLevel pulumi.StringOutput `pulumi:"rootDiskPerformanceLevel"`
	// The root disk size gib.
	RootDiskSizeGib pulumi.IntOutput `pulumi:"rootDiskSizeGib"`
	// The user disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	UserDiskPerformanceLevel pulumi.StringOutput `pulumi:"userDiskPerformanceLevel"`
	// The size of the data disk. Currently, only one data disk can be set. Unit: GiB.
	// - The size of the data disk that supports the setting corresponds to the specification. For more information, see [Overview of Desktop Specifications](https://help.aliyun.com/document_detail/188609.htm?spm=a2c4g.11186623.0.0.6406297bE0U5DG).
	// - The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
	UserDiskSizeGibs pulumi.IntArrayOutput `pulumi:"userDiskSizeGibs"`
}

Provides a ECD Bundle resource.

For information about ECD Bundle and how to use it, see [What is Bundle](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createbundle).

> **NOTE:** Available since v1.170.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := eds.GetImages(ctx, &eds.GetImagesArgs{
			ImageType:           pulumi.StringRef("SYSTEM"),
			OsType:              pulumi.StringRef("Windows"),
			DesktopInstanceType: pulumi.StringRef("eds.hf.4c8g"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetDesktopTypes, err := eds.GetDesktopTypes(ctx, &eds.GetDesktopTypesArgs{
			InstanceTypeFamily: pulumi.StringRef("eds.hf"),
			CpuCount:           pulumi.IntRef(4),
			MemorySize:         pulumi.IntRef(8192),
		}, nil)
		if err != nil {
			return err
		}
		_, err = eds.NewBundle(ctx, "default", &eds.BundleArgs{
			Description: pulumi.String(name),
			DesktopType: pulumi.String(defaultGetDesktopTypes.Ids[0]),
			BundleName:  pulumi.String(name),
			ImageId:     pulumi.String(_default.Ids[0]),
			UserDiskSizeGibs: pulumi.IntArray{
				pulumi.Int(70),
			},
			RootDiskSizeGib:          pulumi.Int(80),
			RootDiskPerformanceLevel: pulumi.String("PL1"),
			UserDiskPerformanceLevel: pulumi.String("PL1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Bundle can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/bundle:Bundle example <id> ```

func GetBundle added in v3.21.0

func GetBundle(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BundleState, opts ...pulumi.ResourceOption) (*Bundle, error)

GetBundle gets an existing Bundle resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBundle added in v3.21.0

func NewBundle(ctx *pulumi.Context,
	name string, args *BundleArgs, opts ...pulumi.ResourceOption) (*Bundle, error)

NewBundle registers a new resource with the given unique name, arguments, and options.

func (*Bundle) ElementType added in v3.21.0

func (*Bundle) ElementType() reflect.Type

func (*Bundle) ToBundleOutput added in v3.21.0

func (i *Bundle) ToBundleOutput() BundleOutput

func (*Bundle) ToBundleOutputWithContext added in v3.21.0

func (i *Bundle) ToBundleOutputWithContext(ctx context.Context) BundleOutput

type BundleArgs added in v3.21.0

type BundleArgs struct {
	// The name of the bundle.
	BundleName pulumi.StringPtrInput
	// The description of the bundle.
	Description pulumi.StringPtrInput
	// The desktop type. You can call `eds.getDesktopTypes` to query desktop type.
	DesktopType pulumi.StringInput
	// The ID of the image.
	ImageId pulumi.StringInput
	// The language. Valid values: `zh-CN`, `zh-HK`, `en-US`, `ja-JP`.
	Language pulumi.StringPtrInput
	// The root disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	RootDiskPerformanceLevel pulumi.StringPtrInput
	// The root disk size gib.
	RootDiskSizeGib pulumi.IntInput
	// The user disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	UserDiskPerformanceLevel pulumi.StringPtrInput
	// The size of the data disk. Currently, only one data disk can be set. Unit: GiB.
	// - The size of the data disk that supports the setting corresponds to the specification. For more information, see [Overview of Desktop Specifications](https://help.aliyun.com/document_detail/188609.htm?spm=a2c4g.11186623.0.0.6406297bE0U5DG).
	// - The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
	UserDiskSizeGibs pulumi.IntArrayInput
}

The set of arguments for constructing a Bundle resource.

func (BundleArgs) ElementType added in v3.21.0

func (BundleArgs) ElementType() reflect.Type

type BundleArray added in v3.21.0

type BundleArray []BundleInput

func (BundleArray) ElementType added in v3.21.0

func (BundleArray) ElementType() reflect.Type

func (BundleArray) ToBundleArrayOutput added in v3.21.0

func (i BundleArray) ToBundleArrayOutput() BundleArrayOutput

func (BundleArray) ToBundleArrayOutputWithContext added in v3.21.0

func (i BundleArray) ToBundleArrayOutputWithContext(ctx context.Context) BundleArrayOutput

type BundleArrayInput added in v3.21.0

type BundleArrayInput interface {
	pulumi.Input

	ToBundleArrayOutput() BundleArrayOutput
	ToBundleArrayOutputWithContext(context.Context) BundleArrayOutput
}

BundleArrayInput is an input type that accepts BundleArray and BundleArrayOutput values. You can construct a concrete instance of `BundleArrayInput` via:

BundleArray{ BundleArgs{...} }

type BundleArrayOutput added in v3.21.0

type BundleArrayOutput struct{ *pulumi.OutputState }

func (BundleArrayOutput) ElementType added in v3.21.0

func (BundleArrayOutput) ElementType() reflect.Type

func (BundleArrayOutput) Index added in v3.21.0

func (BundleArrayOutput) ToBundleArrayOutput added in v3.21.0

func (o BundleArrayOutput) ToBundleArrayOutput() BundleArrayOutput

func (BundleArrayOutput) ToBundleArrayOutputWithContext added in v3.21.0

func (o BundleArrayOutput) ToBundleArrayOutputWithContext(ctx context.Context) BundleArrayOutput

type BundleInput added in v3.21.0

type BundleInput interface {
	pulumi.Input

	ToBundleOutput() BundleOutput
	ToBundleOutputWithContext(ctx context.Context) BundleOutput
}

type BundleMap added in v3.21.0

type BundleMap map[string]BundleInput

func (BundleMap) ElementType added in v3.21.0

func (BundleMap) ElementType() reflect.Type

func (BundleMap) ToBundleMapOutput added in v3.21.0

func (i BundleMap) ToBundleMapOutput() BundleMapOutput

func (BundleMap) ToBundleMapOutputWithContext added in v3.21.0

func (i BundleMap) ToBundleMapOutputWithContext(ctx context.Context) BundleMapOutput

type BundleMapInput added in v3.21.0

type BundleMapInput interface {
	pulumi.Input

	ToBundleMapOutput() BundleMapOutput
	ToBundleMapOutputWithContext(context.Context) BundleMapOutput
}

BundleMapInput is an input type that accepts BundleMap and BundleMapOutput values. You can construct a concrete instance of `BundleMapInput` via:

BundleMap{ "key": BundleArgs{...} }

type BundleMapOutput added in v3.21.0

type BundleMapOutput struct{ *pulumi.OutputState }

func (BundleMapOutput) ElementType added in v3.21.0

func (BundleMapOutput) ElementType() reflect.Type

func (BundleMapOutput) MapIndex added in v3.21.0

func (BundleMapOutput) ToBundleMapOutput added in v3.21.0

func (o BundleMapOutput) ToBundleMapOutput() BundleMapOutput

func (BundleMapOutput) ToBundleMapOutputWithContext added in v3.21.0

func (o BundleMapOutput) ToBundleMapOutputWithContext(ctx context.Context) BundleMapOutput

type BundleOutput added in v3.21.0

type BundleOutput struct{ *pulumi.OutputState }

func (BundleOutput) BundleName added in v3.27.0

func (o BundleOutput) BundleName() pulumi.StringPtrOutput

The name of the bundle.

func (BundleOutput) Description added in v3.27.0

func (o BundleOutput) Description() pulumi.StringPtrOutput

The description of the bundle.

func (BundleOutput) DesktopType added in v3.27.0

func (o BundleOutput) DesktopType() pulumi.StringOutput

The desktop type. You can call `eds.getDesktopTypes` to query desktop type.

func (BundleOutput) ElementType added in v3.21.0

func (BundleOutput) ElementType() reflect.Type

func (BundleOutput) ImageId added in v3.27.0

func (o BundleOutput) ImageId() pulumi.StringOutput

The ID of the image.

func (BundleOutput) Language added in v3.27.0

func (o BundleOutput) Language() pulumi.StringPtrOutput

The language. Valid values: `zh-CN`, `zh-HK`, `en-US`, `ja-JP`.

func (BundleOutput) RootDiskPerformanceLevel added in v3.27.0

func (o BundleOutput) RootDiskPerformanceLevel() pulumi.StringOutput

The root disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.

func (BundleOutput) RootDiskSizeGib added in v3.27.0

func (o BundleOutput) RootDiskSizeGib() pulumi.IntOutput

The root disk size gib.

func (BundleOutput) ToBundleOutput added in v3.21.0

func (o BundleOutput) ToBundleOutput() BundleOutput

func (BundleOutput) ToBundleOutputWithContext added in v3.21.0

func (o BundleOutput) ToBundleOutputWithContext(ctx context.Context) BundleOutput

func (BundleOutput) UserDiskPerformanceLevel added in v3.27.0

func (o BundleOutput) UserDiskPerformanceLevel() pulumi.StringOutput

The user disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.

func (BundleOutput) UserDiskSizeGibs added in v3.27.0

func (o BundleOutput) UserDiskSizeGibs() pulumi.IntArrayOutput

The size of the data disk. Currently, only one data disk can be set. Unit: GiB. - The size of the data disk that supports the setting corresponds to the specification. For more information, see [Overview of Desktop Specifications](https://help.aliyun.com/document_detail/188609.htm?spm=a2c4g.11186623.0.0.6406297bE0U5DG). - The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.

type BundleState added in v3.21.0

type BundleState struct {
	// The name of the bundle.
	BundleName pulumi.StringPtrInput
	// The description of the bundle.
	Description pulumi.StringPtrInput
	// The desktop type. You can call `eds.getDesktopTypes` to query desktop type.
	DesktopType pulumi.StringPtrInput
	// The ID of the image.
	ImageId pulumi.StringPtrInput
	// The language. Valid values: `zh-CN`, `zh-HK`, `en-US`, `ja-JP`.
	Language pulumi.StringPtrInput
	// The root disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	RootDiskPerformanceLevel pulumi.StringPtrInput
	// The root disk size gib.
	RootDiskSizeGib pulumi.IntPtrInput
	// The user disk performance level. Valid values: `PL0`, `PL1`, `PL2`, `PL3`.
	UserDiskPerformanceLevel pulumi.StringPtrInput
	// The size of the data disk. Currently, only one data disk can be set. Unit: GiB.
	// - The size of the data disk that supports the setting corresponds to the specification. For more information, see [Overview of Desktop Specifications](https://help.aliyun.com/document_detail/188609.htm?spm=a2c4g.11186623.0.0.6406297bE0U5DG).
	// - The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
	UserDiskSizeGibs pulumi.IntArrayInput
}

func (BundleState) ElementType added in v3.21.0

func (BundleState) ElementType() reflect.Type

type Command added in v3.11.0

type Command struct {
	pulumi.CustomResourceState

	// The Contents of the Script to Base64 Encoded Transmission.
	CommandContent pulumi.StringOutput `pulumi:"commandContent"`
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType pulumi.StringOutput `pulumi:"commandType"`
	// That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.
	ContentEncoding pulumi.StringPtrOutput `pulumi:"contentEncoding"`
	// The desktop id of the Desktop.
	DesktopId pulumi.StringOutput `pulumi:"desktopId"`
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The timeout period for script execution the unit is seconds. Default to: `60`.
	Timeout pulumi.StringPtrOutput `pulumi:"timeout"`
}

Provides a ECD Command resource.

For information about ECD Command and how to use it, see [What is Command](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-runcommand).

> **NOTE:** Available since v1.146.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(true),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
		})
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String(name),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String(name),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String(name),
					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
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[0].Id),
			DesktopName:   pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewCommand(ctx, "default", &eds.CommandArgs{
			CommandContent: pulumi.String("ipconfig"),
			CommandType:    pulumi.String("RunPowerShellScript"),
			DesktopId:      defaultDesktop.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Command can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/command:Command example <id> ```

func GetCommand added in v3.11.0

func GetCommand(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CommandState, opts ...pulumi.ResourceOption) (*Command, error)

GetCommand gets an existing Command resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCommand added in v3.11.0

func NewCommand(ctx *pulumi.Context,
	name string, args *CommandArgs, opts ...pulumi.ResourceOption) (*Command, error)

NewCommand registers a new resource with the given unique name, arguments, and options.

func (*Command) ElementType added in v3.11.0

func (*Command) ElementType() reflect.Type

func (*Command) ToCommandOutput added in v3.11.0

func (i *Command) ToCommandOutput() CommandOutput

func (*Command) ToCommandOutputWithContext added in v3.11.0

func (i *Command) ToCommandOutputWithContext(ctx context.Context) CommandOutput

type CommandArgs added in v3.11.0

type CommandArgs struct {
	// The Contents of the Script to Base64 Encoded Transmission.
	CommandContent pulumi.StringInput
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType pulumi.StringInput
	// That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.
	ContentEncoding pulumi.StringPtrInput
	// The desktop id of the Desktop.
	DesktopId pulumi.StringInput
	// The timeout period for script execution the unit is seconds. Default to: `60`.
	Timeout pulumi.StringPtrInput
}

The set of arguments for constructing a Command resource.

func (CommandArgs) ElementType added in v3.11.0

func (CommandArgs) ElementType() reflect.Type

type CommandArray added in v3.11.0

type CommandArray []CommandInput

func (CommandArray) ElementType added in v3.11.0

func (CommandArray) ElementType() reflect.Type

func (CommandArray) ToCommandArrayOutput added in v3.11.0

func (i CommandArray) ToCommandArrayOutput() CommandArrayOutput

func (CommandArray) ToCommandArrayOutputWithContext added in v3.11.0

func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandArrayInput added in v3.11.0

type CommandArrayInput interface {
	pulumi.Input

	ToCommandArrayOutput() CommandArrayOutput
	ToCommandArrayOutputWithContext(context.Context) CommandArrayOutput
}

CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. You can construct a concrete instance of `CommandArrayInput` via:

CommandArray{ CommandArgs{...} }

type CommandArrayOutput added in v3.11.0

type CommandArrayOutput struct{ *pulumi.OutputState }

func (CommandArrayOutput) ElementType added in v3.11.0

func (CommandArrayOutput) ElementType() reflect.Type

func (CommandArrayOutput) Index added in v3.11.0

func (CommandArrayOutput) ToCommandArrayOutput added in v3.11.0

func (o CommandArrayOutput) ToCommandArrayOutput() CommandArrayOutput

func (CommandArrayOutput) ToCommandArrayOutputWithContext added in v3.11.0

func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandInput added in v3.11.0

type CommandInput interface {
	pulumi.Input

	ToCommandOutput() CommandOutput
	ToCommandOutputWithContext(ctx context.Context) CommandOutput
}

type CommandMap added in v3.11.0

type CommandMap map[string]CommandInput

func (CommandMap) ElementType added in v3.11.0

func (CommandMap) ElementType() reflect.Type

func (CommandMap) ToCommandMapOutput added in v3.11.0

func (i CommandMap) ToCommandMapOutput() CommandMapOutput

func (CommandMap) ToCommandMapOutputWithContext added in v3.11.0

func (i CommandMap) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandMapInput added in v3.11.0

type CommandMapInput interface {
	pulumi.Input

	ToCommandMapOutput() CommandMapOutput
	ToCommandMapOutputWithContext(context.Context) CommandMapOutput
}

CommandMapInput is an input type that accepts CommandMap and CommandMapOutput values. You can construct a concrete instance of `CommandMapInput` via:

CommandMap{ "key": CommandArgs{...} }

type CommandMapOutput added in v3.11.0

type CommandMapOutput struct{ *pulumi.OutputState }

func (CommandMapOutput) ElementType added in v3.11.0

func (CommandMapOutput) ElementType() reflect.Type

func (CommandMapOutput) MapIndex added in v3.11.0

func (CommandMapOutput) ToCommandMapOutput added in v3.11.0

func (o CommandMapOutput) ToCommandMapOutput() CommandMapOutput

func (CommandMapOutput) ToCommandMapOutputWithContext added in v3.11.0

func (o CommandMapOutput) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandOutput added in v3.11.0

type CommandOutput struct{ *pulumi.OutputState }

func (CommandOutput) CommandContent added in v3.27.0

func (o CommandOutput) CommandContent() pulumi.StringOutput

The Contents of the Script to Base64 Encoded Transmission.

func (CommandOutput) CommandType added in v3.27.0

func (o CommandOutput) CommandType() pulumi.StringOutput

The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.

func (CommandOutput) ContentEncoding added in v3.27.0

func (o CommandOutput) ContentEncoding() pulumi.StringPtrOutput

That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.

func (CommandOutput) DesktopId added in v3.27.0

func (o CommandOutput) DesktopId() pulumi.StringOutput

The desktop id of the Desktop.

func (CommandOutput) ElementType added in v3.11.0

func (CommandOutput) ElementType() reflect.Type

func (CommandOutput) Status added in v3.27.0

func (o CommandOutput) Status() pulumi.StringOutput

Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.

func (CommandOutput) Timeout added in v3.27.0

func (o CommandOutput) Timeout() pulumi.StringPtrOutput

The timeout period for script execution the unit is seconds. Default to: `60`.

func (CommandOutput) ToCommandOutput added in v3.11.0

func (o CommandOutput) ToCommandOutput() CommandOutput

func (CommandOutput) ToCommandOutputWithContext added in v3.11.0

func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOutput

type CommandState added in v3.11.0

type CommandState struct {
	// The Contents of the Script to Base64 Encoded Transmission.
	CommandContent pulumi.StringPtrInput
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType pulumi.StringPtrInput
	// That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.
	ContentEncoding pulumi.StringPtrInput
	// The desktop id of the Desktop.
	DesktopId pulumi.StringPtrInput
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status pulumi.StringPtrInput
	// The timeout period for script execution the unit is seconds. Default to: `60`.
	Timeout pulumi.StringPtrInput
}

func (CommandState) ElementType added in v3.11.0

func (CommandState) ElementType() reflect.Type

type CustomProperty added in v3.24.0

type CustomProperty struct {
	pulumi.CustomResourceState

	// The Custom attribute key.
	PropertyKey pulumi.StringOutput `pulumi:"propertyKey"`
	// Custom attribute sets the value of. See `propertyValues` below.
	PropertyValues CustomPropertyPropertyValueArrayOutput `pulumi:"propertyValues"`
}

Provides a ECD Custom Property resource.

For information about ECD Custom Property and how to use it, see [What is Custom Property](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-eds-user-2021-03-08-createproperty-desktop).

> **NOTE:** Available since v1.176.0.

> **NOTE:** Up to 10 different attributes can be created under an alibaba cloud account. Up to 50 different attribute values can be added under an attribute.

## Example Usage

Basic Usage

```go 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.NewCustomProperty(ctx, "example", &eds.CustomPropertyArgs{
			PropertyKey: pulumi.String("example_key"),
			PropertyValues: eds.CustomPropertyPropertyValueArray{
				&eds.CustomPropertyPropertyValueArgs{
					PropertyValue: pulumi.String("example_value"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Custom Property can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/customProperty:CustomProperty example <id> ```

func GetCustomProperty added in v3.24.0

func GetCustomProperty(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomPropertyState, opts ...pulumi.ResourceOption) (*CustomProperty, error)

GetCustomProperty gets an existing CustomProperty resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomProperty added in v3.24.0

func NewCustomProperty(ctx *pulumi.Context,
	name string, args *CustomPropertyArgs, opts ...pulumi.ResourceOption) (*CustomProperty, error)

NewCustomProperty registers a new resource with the given unique name, arguments, and options.

func (*CustomProperty) ElementType added in v3.24.0

func (*CustomProperty) ElementType() reflect.Type

func (*CustomProperty) ToCustomPropertyOutput added in v3.24.0

func (i *CustomProperty) ToCustomPropertyOutput() CustomPropertyOutput

func (*CustomProperty) ToCustomPropertyOutputWithContext added in v3.24.0

func (i *CustomProperty) ToCustomPropertyOutputWithContext(ctx context.Context) CustomPropertyOutput

type CustomPropertyArgs added in v3.24.0

type CustomPropertyArgs struct {
	// The Custom attribute key.
	PropertyKey pulumi.StringInput
	// Custom attribute sets the value of. See `propertyValues` below.
	PropertyValues CustomPropertyPropertyValueArrayInput
}

The set of arguments for constructing a CustomProperty resource.

func (CustomPropertyArgs) ElementType added in v3.24.0

func (CustomPropertyArgs) ElementType() reflect.Type

type CustomPropertyArray added in v3.24.0

type CustomPropertyArray []CustomPropertyInput

func (CustomPropertyArray) ElementType added in v3.24.0

func (CustomPropertyArray) ElementType() reflect.Type

func (CustomPropertyArray) ToCustomPropertyArrayOutput added in v3.24.0

func (i CustomPropertyArray) ToCustomPropertyArrayOutput() CustomPropertyArrayOutput

func (CustomPropertyArray) ToCustomPropertyArrayOutputWithContext added in v3.24.0

func (i CustomPropertyArray) ToCustomPropertyArrayOutputWithContext(ctx context.Context) CustomPropertyArrayOutput

type CustomPropertyArrayInput added in v3.24.0

type CustomPropertyArrayInput interface {
	pulumi.Input

	ToCustomPropertyArrayOutput() CustomPropertyArrayOutput
	ToCustomPropertyArrayOutputWithContext(context.Context) CustomPropertyArrayOutput
}

CustomPropertyArrayInput is an input type that accepts CustomPropertyArray and CustomPropertyArrayOutput values. You can construct a concrete instance of `CustomPropertyArrayInput` via:

CustomPropertyArray{ CustomPropertyArgs{...} }

type CustomPropertyArrayOutput added in v3.24.0

type CustomPropertyArrayOutput struct{ *pulumi.OutputState }

func (CustomPropertyArrayOutput) ElementType added in v3.24.0

func (CustomPropertyArrayOutput) ElementType() reflect.Type

func (CustomPropertyArrayOutput) Index added in v3.24.0

func (CustomPropertyArrayOutput) ToCustomPropertyArrayOutput added in v3.24.0

func (o CustomPropertyArrayOutput) ToCustomPropertyArrayOutput() CustomPropertyArrayOutput

func (CustomPropertyArrayOutput) ToCustomPropertyArrayOutputWithContext added in v3.24.0

func (o CustomPropertyArrayOutput) ToCustomPropertyArrayOutputWithContext(ctx context.Context) CustomPropertyArrayOutput

type CustomPropertyInput added in v3.24.0

type CustomPropertyInput interface {
	pulumi.Input

	ToCustomPropertyOutput() CustomPropertyOutput
	ToCustomPropertyOutputWithContext(ctx context.Context) CustomPropertyOutput
}

type CustomPropertyMap added in v3.24.0

type CustomPropertyMap map[string]CustomPropertyInput

func (CustomPropertyMap) ElementType added in v3.24.0

func (CustomPropertyMap) ElementType() reflect.Type

func (CustomPropertyMap) ToCustomPropertyMapOutput added in v3.24.0

func (i CustomPropertyMap) ToCustomPropertyMapOutput() CustomPropertyMapOutput

func (CustomPropertyMap) ToCustomPropertyMapOutputWithContext added in v3.24.0

func (i CustomPropertyMap) ToCustomPropertyMapOutputWithContext(ctx context.Context) CustomPropertyMapOutput

type CustomPropertyMapInput added in v3.24.0

type CustomPropertyMapInput interface {
	pulumi.Input

	ToCustomPropertyMapOutput() CustomPropertyMapOutput
	ToCustomPropertyMapOutputWithContext(context.Context) CustomPropertyMapOutput
}

CustomPropertyMapInput is an input type that accepts CustomPropertyMap and CustomPropertyMapOutput values. You can construct a concrete instance of `CustomPropertyMapInput` via:

CustomPropertyMap{ "key": CustomPropertyArgs{...} }

type CustomPropertyMapOutput added in v3.24.0

type CustomPropertyMapOutput struct{ *pulumi.OutputState }

func (CustomPropertyMapOutput) ElementType added in v3.24.0

func (CustomPropertyMapOutput) ElementType() reflect.Type

func (CustomPropertyMapOutput) MapIndex added in v3.24.0

func (CustomPropertyMapOutput) ToCustomPropertyMapOutput added in v3.24.0

func (o CustomPropertyMapOutput) ToCustomPropertyMapOutput() CustomPropertyMapOutput

func (CustomPropertyMapOutput) ToCustomPropertyMapOutputWithContext added in v3.24.0

func (o CustomPropertyMapOutput) ToCustomPropertyMapOutputWithContext(ctx context.Context) CustomPropertyMapOutput

type CustomPropertyOutput added in v3.24.0

type CustomPropertyOutput struct{ *pulumi.OutputState }

func (CustomPropertyOutput) ElementType added in v3.24.0

func (CustomPropertyOutput) ElementType() reflect.Type

func (CustomPropertyOutput) PropertyKey added in v3.27.0

func (o CustomPropertyOutput) PropertyKey() pulumi.StringOutput

The Custom attribute key.

func (CustomPropertyOutput) PropertyValues added in v3.27.0

Custom attribute sets the value of. See `propertyValues` below.

func (CustomPropertyOutput) ToCustomPropertyOutput added in v3.24.0

func (o CustomPropertyOutput) ToCustomPropertyOutput() CustomPropertyOutput

func (CustomPropertyOutput) ToCustomPropertyOutputWithContext added in v3.24.0

func (o CustomPropertyOutput) ToCustomPropertyOutputWithContext(ctx context.Context) CustomPropertyOutput

type CustomPropertyPropertyValue added in v3.24.0

type CustomPropertyPropertyValue struct {
	// The value of an attribute.
	PropertyValue *string `pulumi:"propertyValue"`
	// The value of an attribute id.
	PropertyValueId *string `pulumi:"propertyValueId"`
}

type CustomPropertyPropertyValueArgs added in v3.24.0

type CustomPropertyPropertyValueArgs struct {
	// The value of an attribute.
	PropertyValue pulumi.StringPtrInput `pulumi:"propertyValue"`
	// The value of an attribute id.
	PropertyValueId pulumi.StringPtrInput `pulumi:"propertyValueId"`
}

func (CustomPropertyPropertyValueArgs) ElementType added in v3.24.0

func (CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutput added in v3.24.0

func (i CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutput() CustomPropertyPropertyValueOutput

func (CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutputWithContext added in v3.24.0

func (i CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutputWithContext(ctx context.Context) CustomPropertyPropertyValueOutput

type CustomPropertyPropertyValueArray added in v3.24.0

type CustomPropertyPropertyValueArray []CustomPropertyPropertyValueInput

func (CustomPropertyPropertyValueArray) ElementType added in v3.24.0

func (CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutput added in v3.24.0

func (i CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutput() CustomPropertyPropertyValueArrayOutput

func (CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutputWithContext added in v3.24.0

func (i CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutputWithContext(ctx context.Context) CustomPropertyPropertyValueArrayOutput

type CustomPropertyPropertyValueArrayInput added in v3.24.0

type CustomPropertyPropertyValueArrayInput interface {
	pulumi.Input

	ToCustomPropertyPropertyValueArrayOutput() CustomPropertyPropertyValueArrayOutput
	ToCustomPropertyPropertyValueArrayOutputWithContext(context.Context) CustomPropertyPropertyValueArrayOutput
}

CustomPropertyPropertyValueArrayInput is an input type that accepts CustomPropertyPropertyValueArray and CustomPropertyPropertyValueArrayOutput values. You can construct a concrete instance of `CustomPropertyPropertyValueArrayInput` via:

CustomPropertyPropertyValueArray{ CustomPropertyPropertyValueArgs{...} }

type CustomPropertyPropertyValueArrayOutput added in v3.24.0

type CustomPropertyPropertyValueArrayOutput struct{ *pulumi.OutputState }

func (CustomPropertyPropertyValueArrayOutput) ElementType added in v3.24.0

func (CustomPropertyPropertyValueArrayOutput) Index added in v3.24.0

func (CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutput added in v3.24.0

func (o CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutput() CustomPropertyPropertyValueArrayOutput

func (CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutputWithContext added in v3.24.0

func (o CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutputWithContext(ctx context.Context) CustomPropertyPropertyValueArrayOutput

type CustomPropertyPropertyValueInput added in v3.24.0

type CustomPropertyPropertyValueInput interface {
	pulumi.Input

	ToCustomPropertyPropertyValueOutput() CustomPropertyPropertyValueOutput
	ToCustomPropertyPropertyValueOutputWithContext(context.Context) CustomPropertyPropertyValueOutput
}

CustomPropertyPropertyValueInput is an input type that accepts CustomPropertyPropertyValueArgs and CustomPropertyPropertyValueOutput values. You can construct a concrete instance of `CustomPropertyPropertyValueInput` via:

CustomPropertyPropertyValueArgs{...}

type CustomPropertyPropertyValueOutput added in v3.24.0

type CustomPropertyPropertyValueOutput struct{ *pulumi.OutputState }

func (CustomPropertyPropertyValueOutput) ElementType added in v3.24.0

func (CustomPropertyPropertyValueOutput) PropertyValue added in v3.24.0

The value of an attribute.

func (CustomPropertyPropertyValueOutput) PropertyValueId added in v3.24.0

The value of an attribute id.

func (CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutput added in v3.24.0

func (o CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutput() CustomPropertyPropertyValueOutput

func (CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutputWithContext added in v3.24.0

func (o CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutputWithContext(ctx context.Context) CustomPropertyPropertyValueOutput

type CustomPropertyState added in v3.24.0

type CustomPropertyState struct {
	// The Custom attribute key.
	PropertyKey pulumi.StringPtrInput
	// Custom attribute sets the value of. See `propertyValues` below.
	PropertyValues CustomPropertyPropertyValueArrayInput
}

func (CustomPropertyState) ElementType added in v3.24.0

func (CustomPropertyState) ElementType() reflect.Type

type Desktop added in v3.10.0

type Desktop struct {
	pulumi.CustomResourceState

	// The amount of the Desktop.
	Amount pulumi.IntPtrOutput `pulumi:"amount"`
	// The auto-pay of the Desktop whether to pay automatically. values: `true`, `false`.
	AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"`
	// The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: `true`, `false`.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// The bundle id of the Desktop.
	BundleId pulumi.StringOutput `pulumi:"bundleId"`
	// The desktop name of the Desktop.
	DesktopName pulumi.StringPtrOutput `pulumi:"desktopName"`
	// The desktop type of the Desktop.
	DesktopType pulumi.StringOutput `pulumi:"desktopType"`
	// The desktop end user id of the Desktop.
	EndUserIds pulumi.StringArrayOutput `pulumi:"endUserIds"`
	// The hostname of the Desktop.
	HostName pulumi.StringPtrOutput `pulumi:"hostName"`
	// The ID of the Simple Office Site.
	OfficeSiteId pulumi.StringOutput `pulumi:"officeSiteId"`
	// The payment type of the Desktop. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The period of the Desktop.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The period unit of the Desktop.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// The policy group id of the Desktop.
	PolicyGroupId pulumi.StringOutput `pulumi:"policyGroupId"`
	// The root disk size gib of the Desktop.
	RootDiskSizeGib pulumi.IntPtrOutput `pulumi:"rootDiskSizeGib"`
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The stopped mode of the Desktop.
	StoppedMode pulumi.StringOutput `pulumi:"stoppedMode"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The user assign mode of the Desktop. Valid values: `ALL`, `PER_USER`. Default to `ALL`.
	UserAssignMode pulumi.StringOutput `pulumi:"userAssignMode"`
	// The user disk size gib of the Desktop.
	UserDiskSizeGib pulumi.IntPtrOutput `pulumi:"userDiskSizeGib"`
}

Provides a ECD Desktop resource.

For information about ECD Desktop and how to use it, see [What is Desktop](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createdesktops)

> **NOTE:** Available since v1.144.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(true),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
		})
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String(name),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String(name),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String(name),
					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
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[1].Id),
			DesktopName:   pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Desktop can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/desktop:Desktop example <id> ```

func GetDesktop added in v3.10.0

func GetDesktop(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DesktopState, opts ...pulumi.ResourceOption) (*Desktop, error)

GetDesktop gets an existing Desktop resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDesktop added in v3.10.0

func NewDesktop(ctx *pulumi.Context,
	name string, args *DesktopArgs, opts ...pulumi.ResourceOption) (*Desktop, error)

NewDesktop registers a new resource with the given unique name, arguments, and options.

func (*Desktop) ElementType added in v3.10.0

func (*Desktop) ElementType() reflect.Type

func (*Desktop) ToDesktopOutput added in v3.10.0

func (i *Desktop) ToDesktopOutput() DesktopOutput

func (*Desktop) ToDesktopOutputWithContext added in v3.10.0

func (i *Desktop) ToDesktopOutputWithContext(ctx context.Context) DesktopOutput

type DesktopArgs added in v3.10.0

type DesktopArgs struct {
	// The amount of the Desktop.
	Amount pulumi.IntPtrInput
	// The auto-pay of the Desktop whether to pay automatically. values: `true`, `false`.
	AutoPay pulumi.BoolPtrInput
	// The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: `true`, `false`.
	AutoRenew pulumi.BoolPtrInput
	// The bundle id of the Desktop.
	BundleId pulumi.StringInput
	// The desktop name of the Desktop.
	DesktopName pulumi.StringPtrInput
	// The desktop type of the Desktop.
	DesktopType pulumi.StringPtrInput
	// The desktop end user id of the Desktop.
	EndUserIds pulumi.StringArrayInput
	// The hostname of the Desktop.
	HostName pulumi.StringPtrInput
	// The ID of the Simple Office Site.
	OfficeSiteId pulumi.StringInput
	// The payment type of the Desktop. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`.
	PaymentType pulumi.StringPtrInput
	// The period of the Desktop.
	Period pulumi.IntPtrInput
	// The period unit of the Desktop.
	PeriodUnit pulumi.StringPtrInput
	// The policy group id of the Desktop.
	PolicyGroupId pulumi.StringInput
	// The root disk size gib of the Desktop.
	RootDiskSizeGib pulumi.IntPtrInput
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status pulumi.StringPtrInput
	// The stopped mode of the Desktop.
	StoppedMode pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The user assign mode of the Desktop. Valid values: `ALL`, `PER_USER`. Default to `ALL`.
	UserAssignMode pulumi.StringPtrInput
	// The user disk size gib of the Desktop.
	UserDiskSizeGib pulumi.IntPtrInput
}

The set of arguments for constructing a Desktop resource.

func (DesktopArgs) ElementType added in v3.10.0

func (DesktopArgs) ElementType() reflect.Type

type DesktopArray added in v3.10.0

type DesktopArray []DesktopInput

func (DesktopArray) ElementType added in v3.10.0

func (DesktopArray) ElementType() reflect.Type

func (DesktopArray) ToDesktopArrayOutput added in v3.10.0

func (i DesktopArray) ToDesktopArrayOutput() DesktopArrayOutput

func (DesktopArray) ToDesktopArrayOutputWithContext added in v3.10.0

func (i DesktopArray) ToDesktopArrayOutputWithContext(ctx context.Context) DesktopArrayOutput

type DesktopArrayInput added in v3.10.0

type DesktopArrayInput interface {
	pulumi.Input

	ToDesktopArrayOutput() DesktopArrayOutput
	ToDesktopArrayOutputWithContext(context.Context) DesktopArrayOutput
}

DesktopArrayInput is an input type that accepts DesktopArray and DesktopArrayOutput values. You can construct a concrete instance of `DesktopArrayInput` via:

DesktopArray{ DesktopArgs{...} }

type DesktopArrayOutput added in v3.10.0

type DesktopArrayOutput struct{ *pulumi.OutputState }

func (DesktopArrayOutput) ElementType added in v3.10.0

func (DesktopArrayOutput) ElementType() reflect.Type

func (DesktopArrayOutput) Index added in v3.10.0

func (DesktopArrayOutput) ToDesktopArrayOutput added in v3.10.0

func (o DesktopArrayOutput) ToDesktopArrayOutput() DesktopArrayOutput

func (DesktopArrayOutput) ToDesktopArrayOutputWithContext added in v3.10.0

func (o DesktopArrayOutput) ToDesktopArrayOutputWithContext(ctx context.Context) DesktopArrayOutput

type DesktopInput added in v3.10.0

type DesktopInput interface {
	pulumi.Input

	ToDesktopOutput() DesktopOutput
	ToDesktopOutputWithContext(ctx context.Context) DesktopOutput
}

type DesktopMap added in v3.10.0

type DesktopMap map[string]DesktopInput

func (DesktopMap) ElementType added in v3.10.0

func (DesktopMap) ElementType() reflect.Type

func (DesktopMap) ToDesktopMapOutput added in v3.10.0

func (i DesktopMap) ToDesktopMapOutput() DesktopMapOutput

func (DesktopMap) ToDesktopMapOutputWithContext added in v3.10.0

func (i DesktopMap) ToDesktopMapOutputWithContext(ctx context.Context) DesktopMapOutput

type DesktopMapInput added in v3.10.0

type DesktopMapInput interface {
	pulumi.Input

	ToDesktopMapOutput() DesktopMapOutput
	ToDesktopMapOutputWithContext(context.Context) DesktopMapOutput
}

DesktopMapInput is an input type that accepts DesktopMap and DesktopMapOutput values. You can construct a concrete instance of `DesktopMapInput` via:

DesktopMap{ "key": DesktopArgs{...} }

type DesktopMapOutput added in v3.10.0

type DesktopMapOutput struct{ *pulumi.OutputState }

func (DesktopMapOutput) ElementType added in v3.10.0

func (DesktopMapOutput) ElementType() reflect.Type

func (DesktopMapOutput) MapIndex added in v3.10.0

func (DesktopMapOutput) ToDesktopMapOutput added in v3.10.0

func (o DesktopMapOutput) ToDesktopMapOutput() DesktopMapOutput

func (DesktopMapOutput) ToDesktopMapOutputWithContext added in v3.10.0

func (o DesktopMapOutput) ToDesktopMapOutputWithContext(ctx context.Context) DesktopMapOutput

type DesktopOutput added in v3.10.0

type DesktopOutput struct{ *pulumi.OutputState }

func (DesktopOutput) Amount added in v3.27.0

func (o DesktopOutput) Amount() pulumi.IntPtrOutput

The amount of the Desktop.

func (DesktopOutput) AutoPay added in v3.27.0

func (o DesktopOutput) AutoPay() pulumi.BoolPtrOutput

The auto-pay of the Desktop whether to pay automatically. values: `true`, `false`.

func (DesktopOutput) AutoRenew added in v3.27.0

func (o DesktopOutput) AutoRenew() pulumi.BoolPtrOutput

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: `true`, `false`.

func (DesktopOutput) BundleId added in v3.27.0

func (o DesktopOutput) BundleId() pulumi.StringOutput

The bundle id of the Desktop.

func (DesktopOutput) DesktopName added in v3.27.0

func (o DesktopOutput) DesktopName() pulumi.StringPtrOutput

The desktop name of the Desktop.

func (DesktopOutput) DesktopType added in v3.27.0

func (o DesktopOutput) DesktopType() pulumi.StringOutput

The desktop type of the Desktop.

func (DesktopOutput) ElementType added in v3.10.0

func (DesktopOutput) ElementType() reflect.Type

func (DesktopOutput) EndUserIds added in v3.27.0

func (o DesktopOutput) EndUserIds() pulumi.StringArrayOutput

The desktop end user id of the Desktop.

func (DesktopOutput) HostName added in v3.27.0

func (o DesktopOutput) HostName() pulumi.StringPtrOutput

The hostname of the Desktop.

func (DesktopOutput) OfficeSiteId added in v3.27.0

func (o DesktopOutput) OfficeSiteId() pulumi.StringOutput

The ID of the Simple Office Site.

func (DesktopOutput) PaymentType added in v3.27.0

func (o DesktopOutput) PaymentType() pulumi.StringOutput

The payment type of the Desktop. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`.

func (DesktopOutput) Period added in v3.27.0

func (o DesktopOutput) Period() pulumi.IntPtrOutput

The period of the Desktop.

func (DesktopOutput) PeriodUnit added in v3.27.0

func (o DesktopOutput) PeriodUnit() pulumi.StringPtrOutput

The period unit of the Desktop.

func (DesktopOutput) PolicyGroupId added in v3.27.0

func (o DesktopOutput) PolicyGroupId() pulumi.StringOutput

The policy group id of the Desktop.

func (DesktopOutput) RootDiskSizeGib added in v3.27.0

func (o DesktopOutput) RootDiskSizeGib() pulumi.IntPtrOutput

The root disk size gib of the Desktop.

func (DesktopOutput) Status added in v3.27.0

func (o DesktopOutput) Status() pulumi.StringOutput

The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.

func (DesktopOutput) StoppedMode added in v3.27.0

func (o DesktopOutput) StoppedMode() pulumi.StringOutput

The stopped mode of the Desktop.

func (DesktopOutput) Tags added in v3.27.0

func (o DesktopOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (DesktopOutput) ToDesktopOutput added in v3.10.0

func (o DesktopOutput) ToDesktopOutput() DesktopOutput

func (DesktopOutput) ToDesktopOutputWithContext added in v3.10.0

func (o DesktopOutput) ToDesktopOutputWithContext(ctx context.Context) DesktopOutput

func (DesktopOutput) UserAssignMode added in v3.27.0

func (o DesktopOutput) UserAssignMode() pulumi.StringOutput

The user assign mode of the Desktop. Valid values: `ALL`, `PER_USER`. Default to `ALL`.

func (DesktopOutput) UserDiskSizeGib added in v3.27.0

func (o DesktopOutput) UserDiskSizeGib() pulumi.IntPtrOutput

The user disk size gib of the Desktop.

type DesktopState added in v3.10.0

type DesktopState struct {
	// The amount of the Desktop.
	Amount pulumi.IntPtrInput
	// The auto-pay of the Desktop whether to pay automatically. values: `true`, `false`.
	AutoPay pulumi.BoolPtrInput
	// The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: `true`, `false`.
	AutoRenew pulumi.BoolPtrInput
	// The bundle id of the Desktop.
	BundleId pulumi.StringPtrInput
	// The desktop name of the Desktop.
	DesktopName pulumi.StringPtrInput
	// The desktop type of the Desktop.
	DesktopType pulumi.StringPtrInput
	// The desktop end user id of the Desktop.
	EndUserIds pulumi.StringArrayInput
	// The hostname of the Desktop.
	HostName pulumi.StringPtrInput
	// The ID of the Simple Office Site.
	OfficeSiteId pulumi.StringPtrInput
	// The payment type of the Desktop. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`.
	PaymentType pulumi.StringPtrInput
	// The period of the Desktop.
	Period pulumi.IntPtrInput
	// The period unit of the Desktop.
	PeriodUnit pulumi.StringPtrInput
	// The policy group id of the Desktop.
	PolicyGroupId pulumi.StringPtrInput
	// The root disk size gib of the Desktop.
	RootDiskSizeGib pulumi.IntPtrInput
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status pulumi.StringPtrInput
	// The stopped mode of the Desktop.
	StoppedMode pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The user assign mode of the Desktop. Valid values: `ALL`, `PER_USER`. Default to `ALL`.
	UserAssignMode pulumi.StringPtrInput
	// The user disk size gib of the Desktop.
	UserDiskSizeGib pulumi.IntPtrInput
}

func (DesktopState) ElementType added in v3.10.0

func (DesktopState) ElementType() reflect.Type

type EcdPolicyGroup

type EcdPolicyGroup struct {
	pulumi.CustomResourceState

	// The rule of authorize access rule. See `authorizeAccessPolicyRules` below.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput `pulumi:"authorizeAccessPolicyRules"`
	// The policy rule. See `authorizeSecurityPolicyRules` below.
	AuthorizeSecurityPolicyRules EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput `pulumi:"authorizeSecurityPolicyRules"`
	// Whether to enable local camera redirection. Valid values: `on`, `off`.
	CameraRedirect pulumi.StringOutput `pulumi:"cameraRedirect"`
	// The clipboard policy. Valid values: `off`, `read`, `readwrite`.
	Clipboard pulumi.StringOutput `pulumi:"clipboard"`
	// The list of domain.
	DomainList pulumi.StringPtrOutput `pulumi:"domainList"`
	// The access of html5. Valid values: `off`, `on`.
	HtmlAccess pulumi.StringOutput `pulumi:"htmlAccess"`
	// The html5 file transfer. Valid values: `all`, `download`, `off`, `upload`.
	HtmlFileTransfer pulumi.StringOutput `pulumi:"htmlFileTransfer"`
	// Local drive redirect policy. Valid values: `  readwrite `, `off`, `read`.
	LocalDrive pulumi.StringOutput `pulumi:"localDrive"`
	// The name of policy group.
	PolicyGroupName pulumi.StringPtrOutput `pulumi:"policyGroupName"`
	// Whether to enable screen recording. Valid values: `off`, `all-time`, `period`.
	Recording pulumi.StringOutput `pulumi:"recording"`
	// The end time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingEndTime pulumi.StringPtrOutput `pulumi:"recordingEndTime"`
	// 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`.
	RecordingExpires pulumi.IntOutput `pulumi:"recordingExpires"`
	// The fps of recording. Valid values: `2`, `5`, `10`, `15`.
	RecordingFps pulumi.IntOutput `pulumi:"recordingFps"`
	// The start time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingStartTime pulumi.StringPtrOutput `pulumi:"recordingStartTime"`
	// The status of policy.
	Status pulumi.StringOutput `pulumi:"status"`
	// The usb redirect policy. Valid values: `off`, `on`.
	UsbRedirect pulumi.StringOutput `pulumi:"usbRedirect"`
	// The quality of visual. Valid values: `high`, `lossless`, `low`, `medium`.
	VisualQuality pulumi.StringOutput `pulumi:"visualQuality"`
	// The watermark policy. Valid values: `off`, `on`.
	Watermark pulumi.StringOutput `pulumi:"watermark"`
	// The watermark transparency. Valid values: `DARK`, `LIGHT`, `MIDDLE`.
	WatermarkTransparency pulumi.StringOutput `pulumi:"watermarkTransparency"`
	// The type of watemark. Valid values: `EndUserId`, `HostName`.
	WatermarkType pulumi.StringOutput `pulumi:"watermarkType"`
}

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](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createpolicygroup).

> **NOTE:** Available since v1.130.0.

## Example Usage

Basic Usage

```go 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
	})
}

```

## Import

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

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

func GetEcdPolicyGroup

func GetEcdPolicyGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EcdPolicyGroupState, opts ...pulumi.ResourceOption) (*EcdPolicyGroup, error)

GetEcdPolicyGroup gets an existing EcdPolicyGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEcdPolicyGroup

func NewEcdPolicyGroup(ctx *pulumi.Context,
	name string, args *EcdPolicyGroupArgs, opts ...pulumi.ResourceOption) (*EcdPolicyGroup, error)

NewEcdPolicyGroup registers a new resource with the given unique name, arguments, and options.

func (*EcdPolicyGroup) ElementType

func (*EcdPolicyGroup) ElementType() reflect.Type

func (*EcdPolicyGroup) ToEcdPolicyGroupOutput

func (i *EcdPolicyGroup) ToEcdPolicyGroupOutput() EcdPolicyGroupOutput

func (*EcdPolicyGroup) ToEcdPolicyGroupOutputWithContext

func (i *EcdPolicyGroup) ToEcdPolicyGroupOutputWithContext(ctx context.Context) EcdPolicyGroupOutput

type EcdPolicyGroupArgs

type EcdPolicyGroupArgs struct {
	// The rule of authorize access rule. See `authorizeAccessPolicyRules` below.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput
	// The policy rule. See `authorizeSecurityPolicyRules` below.
	AuthorizeSecurityPolicyRules EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput
	// Whether to enable local camera redirection. Valid values: `on`, `off`.
	CameraRedirect pulumi.StringPtrInput
	// The clipboard policy. Valid values: `off`, `read`, `readwrite`.
	Clipboard pulumi.StringPtrInput
	// The list of domain.
	DomainList pulumi.StringPtrInput
	// The access of html5. Valid values: `off`, `on`.
	HtmlAccess pulumi.StringPtrInput
	// The html5 file transfer. Valid values: `all`, `download`, `off`, `upload`.
	HtmlFileTransfer pulumi.StringPtrInput
	// Local drive redirect policy. Valid values: `  readwrite `, `off`, `read`.
	LocalDrive pulumi.StringPtrInput
	// The name of policy group.
	PolicyGroupName pulumi.StringPtrInput
	// Whether to enable screen recording. Valid values: `off`, `all-time`, `period`.
	Recording pulumi.StringPtrInput
	// The end time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingEndTime pulumi.StringPtrInput
	// 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`.
	RecordingExpires pulumi.IntPtrInput
	// The fps of recording. Valid values: `2`, `5`, `10`, `15`.
	RecordingFps pulumi.IntPtrInput
	// The start time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingStartTime pulumi.StringPtrInput
	// The usb redirect policy. Valid values: `off`, `on`.
	UsbRedirect pulumi.StringPtrInput
	// The quality of visual. Valid values: `high`, `lossless`, `low`, `medium`.
	VisualQuality pulumi.StringPtrInput
	// The watermark policy. Valid values: `off`, `on`.
	Watermark pulumi.StringPtrInput
	// The watermark transparency. Valid values: `DARK`, `LIGHT`, `MIDDLE`.
	WatermarkTransparency pulumi.StringPtrInput
	// The type of watemark. Valid values: `EndUserId`, `HostName`.
	WatermarkType pulumi.StringPtrInput
}

The set of arguments for constructing a EcdPolicyGroup resource.

func (EcdPolicyGroupArgs) ElementType

func (EcdPolicyGroupArgs) ElementType() reflect.Type

type EcdPolicyGroupArray

type EcdPolicyGroupArray []EcdPolicyGroupInput

func (EcdPolicyGroupArray) ElementType

func (EcdPolicyGroupArray) ElementType() reflect.Type

func (EcdPolicyGroupArray) ToEcdPolicyGroupArrayOutput

func (i EcdPolicyGroupArray) ToEcdPolicyGroupArrayOutput() EcdPolicyGroupArrayOutput

func (EcdPolicyGroupArray) ToEcdPolicyGroupArrayOutputWithContext

func (i EcdPolicyGroupArray) ToEcdPolicyGroupArrayOutputWithContext(ctx context.Context) EcdPolicyGroupArrayOutput

type EcdPolicyGroupArrayInput

type EcdPolicyGroupArrayInput interface {
	pulumi.Input

	ToEcdPolicyGroupArrayOutput() EcdPolicyGroupArrayOutput
	ToEcdPolicyGroupArrayOutputWithContext(context.Context) EcdPolicyGroupArrayOutput
}

EcdPolicyGroupArrayInput is an input type that accepts EcdPolicyGroupArray and EcdPolicyGroupArrayOutput values. You can construct a concrete instance of `EcdPolicyGroupArrayInput` via:

EcdPolicyGroupArray{ EcdPolicyGroupArgs{...} }

type EcdPolicyGroupArrayOutput

type EcdPolicyGroupArrayOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupArrayOutput) ElementType

func (EcdPolicyGroupArrayOutput) ElementType() reflect.Type

func (EcdPolicyGroupArrayOutput) Index

func (EcdPolicyGroupArrayOutput) ToEcdPolicyGroupArrayOutput

func (o EcdPolicyGroupArrayOutput) ToEcdPolicyGroupArrayOutput() EcdPolicyGroupArrayOutput

func (EcdPolicyGroupArrayOutput) ToEcdPolicyGroupArrayOutputWithContext

func (o EcdPolicyGroupArrayOutput) ToEcdPolicyGroupArrayOutputWithContext(ctx context.Context) EcdPolicyGroupArrayOutput

type EcdPolicyGroupAuthorizeAccessPolicyRule

type EcdPolicyGroupAuthorizeAccessPolicyRule struct {
	// The cidrip of authorize access rule.
	CidrIp *string `pulumi:"cidrIp"`
	// The description of authorize access rule.
	Description *string `pulumi:"description"`
}

type EcdPolicyGroupAuthorizeAccessPolicyRuleArgs

type EcdPolicyGroupAuthorizeAccessPolicyRuleArgs struct {
	// The cidrip of authorize access rule.
	CidrIp pulumi.StringPtrInput `pulumi:"cidrIp"`
	// The description of authorize access rule.
	Description pulumi.StringPtrInput `pulumi:"description"`
}

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArgs) ElementType

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArgs) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutput

func (i EcdPolicyGroupAuthorizeAccessPolicyRuleArgs) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleOutput

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArgs) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutputWithContext

func (i EcdPolicyGroupAuthorizeAccessPolicyRuleArgs) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleOutput

type EcdPolicyGroupAuthorizeAccessPolicyRuleArray

type EcdPolicyGroupAuthorizeAccessPolicyRuleArray []EcdPolicyGroupAuthorizeAccessPolicyRuleInput

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArray) ElementType

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArray) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

func (i EcdPolicyGroupAuthorizeAccessPolicyRuleArray) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArray) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutputWithContext

func (i EcdPolicyGroupAuthorizeAccessPolicyRuleArray) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput

type EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput interface {
	pulumi.Input

	ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput
	ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput
}

EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput is an input type that accepts EcdPolicyGroupAuthorizeAccessPolicyRuleArray and EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput values. You can construct a concrete instance of `EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput` via:

EcdPolicyGroupAuthorizeAccessPolicyRuleArray{ EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{...} }

type EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) ElementType

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) Index

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

func (o EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

func (EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutputWithContext

func (o EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeAccessPolicyRuleInput

type EcdPolicyGroupAuthorizeAccessPolicyRuleInput interface {
	pulumi.Input

	ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleOutput
	ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutputWithContext(context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleOutput
}

EcdPolicyGroupAuthorizeAccessPolicyRuleInput is an input type that accepts EcdPolicyGroupAuthorizeAccessPolicyRuleArgs and EcdPolicyGroupAuthorizeAccessPolicyRuleOutput values. You can construct a concrete instance of `EcdPolicyGroupAuthorizeAccessPolicyRuleInput` via:

EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{...}

type EcdPolicyGroupAuthorizeAccessPolicyRuleOutput

type EcdPolicyGroupAuthorizeAccessPolicyRuleOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) CidrIp

The cidrip of authorize access rule.

func (EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) Description

The description of authorize access rule.

func (EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) ElementType

func (EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutput

func (o EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutput() EcdPolicyGroupAuthorizeAccessPolicyRuleOutput

func (EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutputWithContext

func (o EcdPolicyGroupAuthorizeAccessPolicyRuleOutput) ToEcdPolicyGroupAuthorizeAccessPolicyRuleOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeAccessPolicyRuleOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRule

type EcdPolicyGroupAuthorizeSecurityPolicyRule struct {
	// The cidrip of security rules.
	CidrIp *string `pulumi:"cidrIp"`
	// The description of security rules.
	Description *string `pulumi:"description"`
	// The ip protocol of security rules.
	IpProtocol *string `pulumi:"ipProtocol"`
	// The policy of security rules.
	Policy *string `pulumi:"policy"`
	// The port range of security rules.
	PortRange *string `pulumi:"portRange"`
	// The priority of security rules.
	Priority *string `pulumi:"priority"`
	// The type of security rules.
	Type *string `pulumi:"type"`
}

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs struct {
	// The cidrip of security rules.
	CidrIp pulumi.StringPtrInput `pulumi:"cidrIp"`
	// The description of security rules.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The ip protocol of security rules.
	IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"`
	// The policy of security rules.
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// The port range of security rules.
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The priority of security rules.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// The type of security rules.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs) ElementType

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

func (i EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutput() EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutputWithContext

func (i EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArray

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArray []EcdPolicyGroupAuthorizeSecurityPolicyRuleInput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArray) ElementType

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArray) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

func (i EcdPolicyGroupAuthorizeSecurityPolicyRuleArray) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput() EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArray) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext

func (i EcdPolicyGroupAuthorizeSecurityPolicyRuleArray) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput interface {
	pulumi.Input

	ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput() EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput
	ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput
}

EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput is an input type that accepts EcdPolicyGroupAuthorizeSecurityPolicyRuleArray and EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput values. You can construct a concrete instance of `EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput` via:

EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{ EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{...} }

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput) ElementType

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput) Index

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext

func (o EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleInput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleInput interface {
	pulumi.Input

	ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutput() EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput
	ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutputWithContext(context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput
}

EcdPolicyGroupAuthorizeSecurityPolicyRuleInput is an input type that accepts EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs and EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput values. You can construct a concrete instance of `EcdPolicyGroupAuthorizeSecurityPolicyRuleInput` via:

EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{...}

type EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

type EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) CidrIp

The cidrip of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) Description

The description of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) ElementType

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) IpProtocol

The ip protocol of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) Policy

The policy of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) PortRange

The port range of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) Priority

The priority of security rules.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

func (o EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutput() EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutputWithContext

func (o EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) ToEcdPolicyGroupAuthorizeSecurityPolicyRuleOutputWithContext(ctx context.Context) EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) Type

The type of security rules.

type EcdPolicyGroupInput

type EcdPolicyGroupInput interface {
	pulumi.Input

	ToEcdPolicyGroupOutput() EcdPolicyGroupOutput
	ToEcdPolicyGroupOutputWithContext(ctx context.Context) EcdPolicyGroupOutput
}

type EcdPolicyGroupMap

type EcdPolicyGroupMap map[string]EcdPolicyGroupInput

func (EcdPolicyGroupMap) ElementType

func (EcdPolicyGroupMap) ElementType() reflect.Type

func (EcdPolicyGroupMap) ToEcdPolicyGroupMapOutput

func (i EcdPolicyGroupMap) ToEcdPolicyGroupMapOutput() EcdPolicyGroupMapOutput

func (EcdPolicyGroupMap) ToEcdPolicyGroupMapOutputWithContext

func (i EcdPolicyGroupMap) ToEcdPolicyGroupMapOutputWithContext(ctx context.Context) EcdPolicyGroupMapOutput

type EcdPolicyGroupMapInput

type EcdPolicyGroupMapInput interface {
	pulumi.Input

	ToEcdPolicyGroupMapOutput() EcdPolicyGroupMapOutput
	ToEcdPolicyGroupMapOutputWithContext(context.Context) EcdPolicyGroupMapOutput
}

EcdPolicyGroupMapInput is an input type that accepts EcdPolicyGroupMap and EcdPolicyGroupMapOutput values. You can construct a concrete instance of `EcdPolicyGroupMapInput` via:

EcdPolicyGroupMap{ "key": EcdPolicyGroupArgs{...} }

type EcdPolicyGroupMapOutput

type EcdPolicyGroupMapOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupMapOutput) ElementType

func (EcdPolicyGroupMapOutput) ElementType() reflect.Type

func (EcdPolicyGroupMapOutput) MapIndex

func (EcdPolicyGroupMapOutput) ToEcdPolicyGroupMapOutput

func (o EcdPolicyGroupMapOutput) ToEcdPolicyGroupMapOutput() EcdPolicyGroupMapOutput

func (EcdPolicyGroupMapOutput) ToEcdPolicyGroupMapOutputWithContext

func (o EcdPolicyGroupMapOutput) ToEcdPolicyGroupMapOutputWithContext(ctx context.Context) EcdPolicyGroupMapOutput

type EcdPolicyGroupOutput

type EcdPolicyGroupOutput struct{ *pulumi.OutputState }

func (EcdPolicyGroupOutput) AuthorizeAccessPolicyRules added in v3.27.0

The rule of authorize access rule. See `authorizeAccessPolicyRules` below.

func (EcdPolicyGroupOutput) AuthorizeSecurityPolicyRules added in v3.27.0

The policy rule. See `authorizeSecurityPolicyRules` below.

func (EcdPolicyGroupOutput) CameraRedirect added in v3.27.0

func (o EcdPolicyGroupOutput) CameraRedirect() pulumi.StringOutput

Whether to enable local camera redirection. Valid values: `on`, `off`.

func (EcdPolicyGroupOutput) Clipboard added in v3.27.0

The clipboard policy. Valid values: `off`, `read`, `readwrite`.

func (EcdPolicyGroupOutput) DomainList added in v3.27.0

The list of domain.

func (EcdPolicyGroupOutput) ElementType

func (EcdPolicyGroupOutput) ElementType() reflect.Type

func (EcdPolicyGroupOutput) HtmlAccess added in v3.27.0

func (o EcdPolicyGroupOutput) HtmlAccess() pulumi.StringOutput

The access of html5. Valid values: `off`, `on`.

func (EcdPolicyGroupOutput) HtmlFileTransfer added in v3.27.0

func (o EcdPolicyGroupOutput) HtmlFileTransfer() pulumi.StringOutput

The html5 file transfer. Valid values: `all`, `download`, `off`, `upload`.

func (EcdPolicyGroupOutput) LocalDrive added in v3.27.0

func (o EcdPolicyGroupOutput) LocalDrive() pulumi.StringOutput

Local drive redirect policy. Valid values: ` readwrite `, `off`, `read`.

func (EcdPolicyGroupOutput) PolicyGroupName added in v3.27.0

func (o EcdPolicyGroupOutput) PolicyGroupName() pulumi.StringPtrOutput

The name of policy group.

func (EcdPolicyGroupOutput) Recording added in v3.27.0

Whether to enable screen recording. Valid values: `off`, `all-time`, `period`.

func (EcdPolicyGroupOutput) RecordingEndTime added in v3.27.0

func (o EcdPolicyGroupOutput) RecordingEndTime() pulumi.StringPtrOutput

The end time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.

func (EcdPolicyGroupOutput) RecordingExpires added in v3.29.0

func (o EcdPolicyGroupOutput) RecordingExpires() pulumi.IntOutput

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`.

func (EcdPolicyGroupOutput) RecordingFps added in v3.27.0

func (o EcdPolicyGroupOutput) RecordingFps() pulumi.IntOutput

The fps of recording. Valid values: `2`, `5`, `10`, `15`.

func (EcdPolicyGroupOutput) RecordingStartTime added in v3.27.0

func (o EcdPolicyGroupOutput) RecordingStartTime() pulumi.StringPtrOutput

The start time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.

func (EcdPolicyGroupOutput) Status added in v3.27.0

The status of policy.

func (EcdPolicyGroupOutput) ToEcdPolicyGroupOutput

func (o EcdPolicyGroupOutput) ToEcdPolicyGroupOutput() EcdPolicyGroupOutput

func (EcdPolicyGroupOutput) ToEcdPolicyGroupOutputWithContext

func (o EcdPolicyGroupOutput) ToEcdPolicyGroupOutputWithContext(ctx context.Context) EcdPolicyGroupOutput

func (EcdPolicyGroupOutput) UsbRedirect added in v3.27.0

func (o EcdPolicyGroupOutput) UsbRedirect() pulumi.StringOutput

The usb redirect policy. Valid values: `off`, `on`.

func (EcdPolicyGroupOutput) VisualQuality added in v3.27.0

func (o EcdPolicyGroupOutput) VisualQuality() pulumi.StringOutput

The quality of visual. Valid values: `high`, `lossless`, `low`, `medium`.

func (EcdPolicyGroupOutput) Watermark added in v3.27.0

The watermark policy. Valid values: `off`, `on`.

func (EcdPolicyGroupOutput) WatermarkTransparency added in v3.27.0

func (o EcdPolicyGroupOutput) WatermarkTransparency() pulumi.StringOutput

The watermark transparency. Valid values: `DARK`, `LIGHT`, `MIDDLE`.

func (EcdPolicyGroupOutput) WatermarkType added in v3.27.0

func (o EcdPolicyGroupOutput) WatermarkType() pulumi.StringOutput

The type of watemark. Valid values: `EndUserId`, `HostName`.

type EcdPolicyGroupState

type EcdPolicyGroupState struct {
	// The rule of authorize access rule. See `authorizeAccessPolicyRules` below.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput
	// The policy rule. See `authorizeSecurityPolicyRules` below.
	AuthorizeSecurityPolicyRules EcdPolicyGroupAuthorizeSecurityPolicyRuleArrayInput
	// Whether to enable local camera redirection. Valid values: `on`, `off`.
	CameraRedirect pulumi.StringPtrInput
	// The clipboard policy. Valid values: `off`, `read`, `readwrite`.
	Clipboard pulumi.StringPtrInput
	// The list of domain.
	DomainList pulumi.StringPtrInput
	// The access of html5. Valid values: `off`, `on`.
	HtmlAccess pulumi.StringPtrInput
	// The html5 file transfer. Valid values: `all`, `download`, `off`, `upload`.
	HtmlFileTransfer pulumi.StringPtrInput
	// Local drive redirect policy. Valid values: `  readwrite `, `off`, `read`.
	LocalDrive pulumi.StringPtrInput
	// The name of policy group.
	PolicyGroupName pulumi.StringPtrInput
	// Whether to enable screen recording. Valid values: `off`, `all-time`, `period`.
	Recording pulumi.StringPtrInput
	// The end time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingEndTime pulumi.StringPtrInput
	// 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`.
	RecordingExpires pulumi.IntPtrInput
	// The fps of recording. Valid values: `2`, `5`, `10`, `15`.
	RecordingFps pulumi.IntPtrInput
	// The start time of recording, value: `HH:MM:SS`. This return value is meaningful only when the value of `recording` is `period`.
	RecordingStartTime pulumi.StringPtrInput
	// The status of policy.
	Status pulumi.StringPtrInput
	// The usb redirect policy. Valid values: `off`, `on`.
	UsbRedirect pulumi.StringPtrInput
	// The quality of visual. Valid values: `high`, `lossless`, `low`, `medium`.
	VisualQuality pulumi.StringPtrInput
	// The watermark policy. Valid values: `off`, `on`.
	Watermark pulumi.StringPtrInput
	// The watermark transparency. Valid values: `DARK`, `LIGHT`, `MIDDLE`.
	WatermarkTransparency pulumi.StringPtrInput
	// The type of watemark. Valid values: `EndUserId`, `HostName`.
	WatermarkType pulumi.StringPtrInput
}

func (EcdPolicyGroupState) ElementType

func (EcdPolicyGroupState) ElementType() reflect.Type

type GetAdConnectorDirectoriesArgs added in v3.23.0

type GetAdConnectorDirectoriesArgs struct {
	// A list of Ad Connector Directory IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Ad Connector Directory name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of directory. Valid values: `REGISTERING`, `REGISTERED`, `DEREGISTERING`, `NEEDCONFIGTRUST`, `CONFIGTRUSTFAILED`, `DEREGISTERED`, `ERROR`, `CONFIGTRUSTING`, `NEEDCONFIGUSER`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorDirectories.

type GetAdConnectorDirectoriesDirectory added in v3.23.0

type GetAdConnectorDirectoriesDirectory struct {
	// The ID of the ad connector directory.
	AdConnectorDirectoryId string `pulumi:"adConnectorDirectoryId"`
	// The AD connectors.
	AdConnectors []GetAdConnectorDirectoriesDirectoryAdConnector `pulumi:"adConnectors"`
	// The CreateTime of resource.
	CreateTime string `pulumi:"createTime"`
	// The ID of the security group.
	CustomSecurityGroupId string `pulumi:"customSecurityGroupId"`
	// The name of directory.
	DirectoryName string `pulumi:"directoryName"`
	// The name of the domain.
	DirectoryType string `pulumi:"directoryType"`
	// The address of DNSAddress.
	DnsAddresses []string `pulumi:"dnsAddresses"`
	// The username of DNS.
	DnsUserName string `pulumi:"dnsUserName"`
	// The name of the domain.
	DomainName string `pulumi:"domainName"`
	// domain admin user name.
	DomainUserName string `pulumi:"domainUserName"`
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableAdminAccess bool `pulumi:"enableAdminAccess"`
	// The ID of the Ad Connector Directory.
	Id string `pulumi:"id"`
	// Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device.
	MfaEnabled bool `pulumi:"mfaEnabled"`
	// The status of directory.
	Status string `pulumi:"status"`
	// The Enterprise already has the DNS address of the AD subdomain.
	SubDnsAddresses []string `pulumi:"subDnsAddresses"`
	// The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
	SubDomainName string `pulumi:"subDomainName"`
	// The trust password.
	TrustPassword string `pulumi:"trustPassword"`
	// The ID of the vpc.
	VpcId string `pulumi:"vpcId"`
	// List of VSwitch IDs in the directory.
	VswitchIds []string `pulumi:"vswitchIds"`
}

type GetAdConnectorDirectoriesDirectoryAdConnector added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnector struct {
	AdConnectorAddress string `pulumi:"adConnectorAddress"`
	ConnectorStatus    string `pulumi:"connectorStatus"`
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	Specification      string `pulumi:"specification"`
	TrustKey           string `pulumi:"trustKey"`
	VswitchId          string `pulumi:"vswitchId"`
}

type GetAdConnectorDirectoriesDirectoryAdConnectorArgs added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorArgs struct {
	AdConnectorAddress pulumi.StringInput `pulumi:"adConnectorAddress"`
	ConnectorStatus    pulumi.StringInput `pulumi:"connectorStatus"`
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	Specification      pulumi.StringInput `pulumi:"specification"`
	TrustKey           pulumi.StringInput `pulumi:"trustKey"`
	VswitchId          pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput() GetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorOutput

type GetAdConnectorDirectoriesDirectoryAdConnectorArray added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorArray []GetAdConnectorDirectoriesDirectoryAdConnectorInput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput() GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput interface {
	pulumi.Input

	ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput() GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput
	ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext(context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput
}

GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput is an input type that accepts GetAdConnectorDirectoriesDirectoryAdConnectorArray and GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput values. You can construct a concrete instance of `GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput` via:

GetAdConnectorDirectoriesDirectoryAdConnectorArray{ GetAdConnectorDirectoriesDirectoryAdConnectorArgs{...} }

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) Index added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

type GetAdConnectorDirectoriesDirectoryAdConnectorInput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorInput interface {
	pulumi.Input

	ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput() GetAdConnectorDirectoriesDirectoryAdConnectorOutput
	ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext(context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorOutput
}

GetAdConnectorDirectoriesDirectoryAdConnectorInput is an input type that accepts GetAdConnectorDirectoriesDirectoryAdConnectorArgs and GetAdConnectorDirectoriesDirectoryAdConnectorOutput values. You can construct a concrete instance of `GetAdConnectorDirectoriesDirectoryAdConnectorInput` via:

GetAdConnectorDirectoriesDirectoryAdConnectorArgs{...}

type GetAdConnectorDirectoriesDirectoryAdConnectorOutput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryAdConnectorOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) AdConnectorAddress added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ConnectorStatus added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) NetworkInterfaceId added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) Specification added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput() GetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) TrustKey added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) VswitchId added in v3.23.0

type GetAdConnectorDirectoriesDirectoryArgs added in v3.23.0

type GetAdConnectorDirectoriesDirectoryArgs struct {
	// The ID of the ad connector directory.
	AdConnectorDirectoryId pulumi.StringInput `pulumi:"adConnectorDirectoryId"`
	// The AD connectors.
	AdConnectors GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput `pulumi:"adConnectors"`
	// The CreateTime of resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the security group.
	CustomSecurityGroupId pulumi.StringInput `pulumi:"customSecurityGroupId"`
	// The name of directory.
	DirectoryName pulumi.StringInput `pulumi:"directoryName"`
	// The name of the domain.
	DirectoryType pulumi.StringInput `pulumi:"directoryType"`
	// The address of DNSAddress.
	DnsAddresses pulumi.StringArrayInput `pulumi:"dnsAddresses"`
	// The username of DNS.
	DnsUserName pulumi.StringInput `pulumi:"dnsUserName"`
	// The name of the domain.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// domain admin user name.
	DomainUserName pulumi.StringInput `pulumi:"domainUserName"`
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableAdminAccess pulumi.BoolInput `pulumi:"enableAdminAccess"`
	// The ID of the Ad Connector Directory.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device.
	MfaEnabled pulumi.BoolInput `pulumi:"mfaEnabled"`
	// The status of directory.
	Status pulumi.StringInput `pulumi:"status"`
	// The Enterprise already has the DNS address of the AD subdomain.
	SubDnsAddresses pulumi.StringArrayInput `pulumi:"subDnsAddresses"`
	// The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
	SubDomainName pulumi.StringInput `pulumi:"subDomainName"`
	// The trust password.
	TrustPassword pulumi.StringInput `pulumi:"trustPassword"`
	// The ID of the vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
}

func (GetAdConnectorDirectoriesDirectoryArgs) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutput added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutput() GetAdConnectorDirectoriesDirectoryOutput

func (GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutputWithContext added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryOutput

type GetAdConnectorDirectoriesDirectoryArray added in v3.23.0

type GetAdConnectorDirectoriesDirectoryArray []GetAdConnectorDirectoriesDirectoryInput

func (GetAdConnectorDirectoriesDirectoryArray) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutput added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutput() GetAdConnectorDirectoriesDirectoryArrayOutput

func (GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext added in v3.23.0

func (i GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryArrayOutput

type GetAdConnectorDirectoriesDirectoryArrayInput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryArrayInput interface {
	pulumi.Input

	ToGetAdConnectorDirectoriesDirectoryArrayOutput() GetAdConnectorDirectoriesDirectoryArrayOutput
	ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext(context.Context) GetAdConnectorDirectoriesDirectoryArrayOutput
}

GetAdConnectorDirectoriesDirectoryArrayInput is an input type that accepts GetAdConnectorDirectoriesDirectoryArray and GetAdConnectorDirectoriesDirectoryArrayOutput values. You can construct a concrete instance of `GetAdConnectorDirectoriesDirectoryArrayInput` via:

GetAdConnectorDirectoriesDirectoryArray{ GetAdConnectorDirectoriesDirectoryArgs{...} }

type GetAdConnectorDirectoriesDirectoryArrayOutput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryArrayOutput) Index added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutput added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutput() GetAdConnectorDirectoriesDirectoryArrayOutput

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryArrayOutput

type GetAdConnectorDirectoriesDirectoryInput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryInput interface {
	pulumi.Input

	ToGetAdConnectorDirectoriesDirectoryOutput() GetAdConnectorDirectoriesDirectoryOutput
	ToGetAdConnectorDirectoriesDirectoryOutputWithContext(context.Context) GetAdConnectorDirectoriesDirectoryOutput
}

GetAdConnectorDirectoriesDirectoryInput is an input type that accepts GetAdConnectorDirectoriesDirectoryArgs and GetAdConnectorDirectoriesDirectoryOutput values. You can construct a concrete instance of `GetAdConnectorDirectoriesDirectoryInput` via:

GetAdConnectorDirectoriesDirectoryArgs{...}

type GetAdConnectorDirectoriesDirectoryOutput added in v3.23.0

type GetAdConnectorDirectoriesDirectoryOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryOutput) AdConnectorDirectoryId added in v3.23.0

The ID of the ad connector directory.

func (GetAdConnectorDirectoriesDirectoryOutput) AdConnectors added in v3.23.0

The AD connectors.

func (GetAdConnectorDirectoriesDirectoryOutput) CreateTime added in v3.23.0

The CreateTime of resource.

func (GetAdConnectorDirectoriesDirectoryOutput) CustomSecurityGroupId added in v3.23.0

The ID of the security group.

func (GetAdConnectorDirectoriesDirectoryOutput) DirectoryName added in v3.23.0

The name of directory.

func (GetAdConnectorDirectoriesDirectoryOutput) DirectoryType added in v3.23.0

The name of the domain.

func (GetAdConnectorDirectoriesDirectoryOutput) DnsAddresses added in v3.23.0

The address of DNSAddress.

func (GetAdConnectorDirectoriesDirectoryOutput) DnsUserName added in v3.23.0

The username of DNS.

func (GetAdConnectorDirectoriesDirectoryOutput) DomainName added in v3.23.0

The name of the domain.

func (GetAdConnectorDirectoriesDirectoryOutput) DomainUserName added in v3.23.0

domain admin user name.

func (GetAdConnectorDirectoriesDirectoryOutput) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesDirectoryOutput) EnableAdminAccess added in v3.23.0

Whether to grant local administrator rights to users who use cloud desktops.

func (GetAdConnectorDirectoriesDirectoryOutput) Id added in v3.23.0

The ID of the Ad Connector Directory.

func (GetAdConnectorDirectoriesDirectoryOutput) MfaEnabled added in v3.23.0

Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device.

func (GetAdConnectorDirectoriesDirectoryOutput) Status added in v3.23.0

The status of directory.

func (GetAdConnectorDirectoriesDirectoryOutput) SubDnsAddresses added in v3.23.0

The Enterprise already has the DNS address of the AD subdomain.

func (GetAdConnectorDirectoriesDirectoryOutput) SubDomainName added in v3.23.0

The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.

func (GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutput added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutput() GetAdConnectorDirectoriesDirectoryOutput

func (GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutputWithContext added in v3.23.0

func (o GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesDirectoryOutput

func (GetAdConnectorDirectoriesDirectoryOutput) TrustPassword added in v3.23.0

The trust password.

func (GetAdConnectorDirectoriesDirectoryOutput) VpcId added in v3.23.0

The ID of the vpc.

func (GetAdConnectorDirectoriesDirectoryOutput) VswitchIds added in v3.23.0

List of VSwitch IDs in the directory.

type GetAdConnectorDirectoriesOutputArgs added in v3.23.0

type GetAdConnectorDirectoriesOutputArgs struct {
	// A list of Ad Connector Directory IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Ad Connector Directory name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of directory. Valid values: `REGISTERING`, `REGISTERED`, `DEREGISTERING`, `NEEDCONFIGTRUST`, `CONFIGTRUSTFAILED`, `DEREGISTERED`, `ERROR`, `CONFIGTRUSTING`, `NEEDCONFIGUSER`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorDirectories.

func (GetAdConnectorDirectoriesOutputArgs) ElementType added in v3.23.0

type GetAdConnectorDirectoriesResult added in v3.23.0

type GetAdConnectorDirectoriesResult struct {
	Directories []GetAdConnectorDirectoriesDirectory `pulumi:"directories"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getAdConnectorDirectories.

func GetAdConnectorDirectories added in v3.23.0

func GetAdConnectorDirectories(ctx *pulumi.Context, args *GetAdConnectorDirectoriesArgs, opts ...pulumi.InvokeOption) (*GetAdConnectorDirectoriesResult, error)

This data source provides the Ecd Ad Connector Directories of the current Alibaba Cloud user.

> **NOTE:** Available in v1.174.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetAdConnectorDirectories(ctx, &eds.GetAdConnectorDirectoriesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdAdConnectorDirectoryId1", ids.Directories[0].Id)
		return nil
	})
}

```

type GetAdConnectorDirectoriesResultOutput added in v3.23.0

type GetAdConnectorDirectoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAdConnectorDirectories.

func (GetAdConnectorDirectoriesResultOutput) Directories added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) ElementType added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) Id added in v3.23.0

The provider-assigned unique ID for this managed resource.

func (GetAdConnectorDirectoriesResultOutput) Ids added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) NameRegex added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) Names added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) OutputFile added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) Status added in v3.23.0

func (GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutput added in v3.23.0

func (o GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutput() GetAdConnectorDirectoriesResultOutput

func (GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutputWithContext added in v3.23.0

func (o GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutputWithContext(ctx context.Context) GetAdConnectorDirectoriesResultOutput

type GetAdConnectorOfficeSitesArgs added in v3.24.0

type GetAdConnectorOfficeSitesArgs struct {
	// A list of Ad Connector Office Site IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Ad Connector Office Site name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The workspace status.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorOfficeSites.

type GetAdConnectorOfficeSitesOutputArgs added in v3.24.0

type GetAdConnectorOfficeSitesOutputArgs struct {
	// A list of Ad Connector Office Site IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Ad Connector Office Site name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The workspace status.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorOfficeSites.

func (GetAdConnectorOfficeSitesOutputArgs) ElementType added in v3.24.0

type GetAdConnectorOfficeSitesResult added in v3.24.0

type GetAdConnectorOfficeSitesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                          `pulumi:"id"`
	Ids        []string                        `pulumi:"ids"`
	NameRegex  *string                         `pulumi:"nameRegex"`
	Names      []string                        `pulumi:"names"`
	OutputFile *string                         `pulumi:"outputFile"`
	Sites      []GetAdConnectorOfficeSitesSite `pulumi:"sites"`
	Status     *string                         `pulumi:"status"`
}

A collection of values returned by getAdConnectorOfficeSites.

func GetAdConnectorOfficeSites added in v3.24.0

func GetAdConnectorOfficeSites(ctx *pulumi.Context, args *GetAdConnectorOfficeSitesArgs, opts ...pulumi.InvokeOption) (*GetAdConnectorOfficeSitesResult, error)

This data source provides the Ecd Ad Connector Office Sites of the current Alibaba Cloud user.

> **NOTE:** Available in v1.176.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetAdConnectorOfficeSites(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdAdConnectorOfficeSiteId1", ids.Sites[0].Id)
		nameRegex, err := eds.GetAdConnectorOfficeSites(ctx, &eds.GetAdConnectorOfficeSitesArgs{
			NameRegex: pulumi.StringRef("^my-AdConnectorOfficeSite"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdAdConnectorOfficeSiteId2", nameRegex.Sites[0].Id)
		return nil
	})
}

```

type GetAdConnectorOfficeSitesResultOutput added in v3.24.0

type GetAdConnectorOfficeSitesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAdConnectorOfficeSites.

func (GetAdConnectorOfficeSitesResultOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) Id added in v3.24.0

The provider-assigned unique ID for this managed resource.

func (GetAdConnectorOfficeSitesResultOutput) Ids added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) NameRegex added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) Names added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) OutputFile added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) Sites added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) Status added in v3.24.0

func (GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutput() GetAdConnectorOfficeSitesResultOutput

func (GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesResultOutput

type GetAdConnectorOfficeSitesSite added in v3.24.0

type GetAdConnectorOfficeSitesSite struct {
	// The Name of the ad connector office site.
	AdConnectorOfficeSiteName string `pulumi:"adConnectorOfficeSiteName"`
	// AD Connector Collection of Information.
	AdConnectors []GetAdConnectorOfficeSitesSiteAdConnector `pulumi:"adConnectors"`
	// The Internet Bandwidth Peak. Possible Values: 0~200. If This Field Is Set to 0, Indicates That There Is No Open Internet Access.
	Bandwidth int `pulumi:"bandwidth"`
	// Cloud Enterprise Network Instance Id.
	CenId string `pulumi:"cenId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock string `pulumi:"cidrBlock"`
	// Workspace Creation Time.
	CreateTime string `pulumi:"createTime"`
	// Security Group ID.
	CustomSecurityGroupId string `pulumi:"customSecurityGroupId"`
	// The method that is used to connect the client to cloud desktops.
	DesktopAccessType string `pulumi:"desktopAccessType"`
	// The endpoint that is used to connect to cloud desktops over a VPC.
	DesktopVpcEndpoint string `pulumi:"desktopVpcEndpoint"`
	// Enterprise Ad Corresponding DNS Address.
	DnsAddresses []string `pulumi:"dnsAddresses"`
	// The Easy-to-Use DNS Name.
	DnsUserName string `pulumi:"dnsUserName"`
	// Enterprise of Ad Domain Name.
	DomainName string `pulumi:"domainName"`
	// The Domain Administrator's Username.
	DomainUserName string `pulumi:"domainUserName"`
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess bool `pulumi:"enableAdminAccess"`
	// Indicates whether the desktop communication feature is enabled for cloud desktops in the same workspace. After the feature is enabled, the cloud desktops in the same workspace can access each other.
	EnableCrossDesktopAccess bool `pulumi:"enableCrossDesktopAccess"`
	// Whether the Open Internet Access Function.
	EnableInternetAccess bool `pulumi:"enableInternetAccess"`
	// NAS File System ID.
	FileSystemIds []string `pulumi:"fileSystemIds"`
	// The ID of the Ad Connector Office Site.
	Id string `pulumi:"id"`
	// Registered Log Information.
	Logs []GetAdConnectorOfficeSitesSiteLog `pulumi:"logs"`
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled bool `pulumi:"mfaEnabled"`
	// The ID of the Internet Access.
	NetworkPackageId string `pulumi:"networkPackageId"`
	// The ID of the Workspace.
	OfficeSiteId string `pulumi:"officeSiteId"`
	// Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
	OfficeSiteType string `pulumi:"officeSiteType"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled bool `pulumi:"ssoEnabled"`
	// The workspace status.
	Status string `pulumi:"status"`
	// Sub-Domain DNS Address.
	SubDomainDnsAddresses []string `pulumi:"subDomainDnsAddresses"`
	// The AD Domain DNS Name.
	SubDomainName string `pulumi:"subDomainName"`
	// The AD Trust Password.
	TrustPassword string `pulumi:"trustPassword"`
	// Security Office VPC ID.
	VpcId string `pulumi:"vpcId"`
	// The vswitch ids.
	VswitchIds []string `pulumi:"vswitchIds"`
}

type GetAdConnectorOfficeSitesSiteAdConnector added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnector struct {
	// AD Connector across Zones, Its Connection Addresses.
	AdConnectorAddress string `pulumi:"adConnectorAddress"`
	// AD Connector of the State. Possible Values: Creating: in the Creation of. Connecting: Connection. Requires the User to Your Own Ad Configured on the Domain to Which. Running: Run. Expired: If You Are out-of-Date. CONNECT_ERROR: Connection Error.
	ConnectorStatus string `pulumi:"connectorStatus"`
	// AD Connector Mount of the Card ID.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// AD Connector in the Network Corresponding to the ID of the VSwitch in.
	VswitchId string `pulumi:"vswitchId"`
}

type GetAdConnectorOfficeSitesSiteAdConnectorArgs added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorArgs struct {
	// AD Connector across Zones, Its Connection Addresses.
	AdConnectorAddress pulumi.StringInput `pulumi:"adConnectorAddress"`
	// AD Connector of the State. Possible Values: Creating: in the Creation of. Connecting: Connection. Requires the User to Your Own Ad Configured on the Domain to Which. Running: Run. Expired: If You Are out-of-Date. CONNECT_ERROR: Connection Error.
	ConnectorStatus pulumi.StringInput `pulumi:"connectorStatus"`
	// AD Connector Mount of the Card ID.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// AD Connector in the Network Corresponding to the ID of the VSwitch in.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetAdConnectorOfficeSitesSiteAdConnectorArgs) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput() GetAdConnectorOfficeSitesSiteAdConnectorOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteAdConnectorOutput

type GetAdConnectorOfficeSitesSiteAdConnectorArray added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorArray []GetAdConnectorOfficeSitesSiteAdConnectorInput

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput() GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

type GetAdConnectorOfficeSitesSiteAdConnectorArrayInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorArrayInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput() GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput
	ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput
}

GetAdConnectorOfficeSitesSiteAdConnectorArrayInput is an input type that accepts GetAdConnectorOfficeSitesSiteAdConnectorArray and GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteAdConnectorArrayInput` via:

GetAdConnectorOfficeSitesSiteAdConnectorArray{ GetAdConnectorOfficeSitesSiteAdConnectorArgs{...} }

type GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) Index added in v3.24.0

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput() GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

type GetAdConnectorOfficeSitesSiteAdConnectorInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteAdConnectorOutput() GetAdConnectorOfficeSitesSiteAdConnectorOutput
	ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteAdConnectorOutput
}

GetAdConnectorOfficeSitesSiteAdConnectorInput is an input type that accepts GetAdConnectorOfficeSitesSiteAdConnectorArgs and GetAdConnectorOfficeSitesSiteAdConnectorOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteAdConnectorInput` via:

GetAdConnectorOfficeSitesSiteAdConnectorArgs{...}

type GetAdConnectorOfficeSitesSiteAdConnectorOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteAdConnectorOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) AdConnectorAddress added in v3.24.0

AD Connector across Zones, Its Connection Addresses.

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ConnectorStatus added in v3.24.0

AD Connector of the State. Possible Values: Creating: in the Creation of. Connecting: Connection. Requires the User to Your Own Ad Configured on the Domain to Which. Running: Run. Expired: If You Are out-of-Date. CONNECT_ERROR: Connection Error.

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) NetworkInterfaceId added in v3.24.0

AD Connector Mount of the Card ID.

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput() GetAdConnectorOfficeSitesSiteAdConnectorOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteAdConnectorOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) VswitchId added in v3.24.0

AD Connector in the Network Corresponding to the ID of the VSwitch in.

type GetAdConnectorOfficeSitesSiteArgs added in v3.24.0

type GetAdConnectorOfficeSitesSiteArgs struct {
	// The Name of the ad connector office site.
	AdConnectorOfficeSiteName pulumi.StringInput `pulumi:"adConnectorOfficeSiteName"`
	// AD Connector Collection of Information.
	AdConnectors GetAdConnectorOfficeSitesSiteAdConnectorArrayInput `pulumi:"adConnectors"`
	// The Internet Bandwidth Peak. Possible Values: 0~200. If This Field Is Set to 0, Indicates That There Is No Open Internet Access.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// Cloud Enterprise Network Instance Id.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Workspace Creation Time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Security Group ID.
	CustomSecurityGroupId pulumi.StringInput `pulumi:"customSecurityGroupId"`
	// The method that is used to connect the client to cloud desktops.
	DesktopAccessType pulumi.StringInput `pulumi:"desktopAccessType"`
	// The endpoint that is used to connect to cloud desktops over a VPC.
	DesktopVpcEndpoint pulumi.StringInput `pulumi:"desktopVpcEndpoint"`
	// Enterprise Ad Corresponding DNS Address.
	DnsAddresses pulumi.StringArrayInput `pulumi:"dnsAddresses"`
	// The Easy-to-Use DNS Name.
	DnsUserName pulumi.StringInput `pulumi:"dnsUserName"`
	// Enterprise of Ad Domain Name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The Domain Administrator's Username.
	DomainUserName pulumi.StringInput `pulumi:"domainUserName"`
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess pulumi.BoolInput `pulumi:"enableAdminAccess"`
	// Indicates whether the desktop communication feature is enabled for cloud desktops in the same workspace. After the feature is enabled, the cloud desktops in the same workspace can access each other.
	EnableCrossDesktopAccess pulumi.BoolInput `pulumi:"enableCrossDesktopAccess"`
	// Whether the Open Internet Access Function.
	EnableInternetAccess pulumi.BoolInput `pulumi:"enableInternetAccess"`
	// NAS File System ID.
	FileSystemIds pulumi.StringArrayInput `pulumi:"fileSystemIds"`
	// The ID of the Ad Connector Office Site.
	Id pulumi.StringInput `pulumi:"id"`
	// Registered Log Information.
	Logs GetAdConnectorOfficeSitesSiteLogArrayInput `pulumi:"logs"`
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled pulumi.BoolInput `pulumi:"mfaEnabled"`
	// The ID of the Internet Access.
	NetworkPackageId pulumi.StringInput `pulumi:"networkPackageId"`
	// The ID of the Workspace.
	OfficeSiteId pulumi.StringInput `pulumi:"officeSiteId"`
	// Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
	OfficeSiteType pulumi.StringInput `pulumi:"officeSiteType"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled pulumi.BoolInput `pulumi:"ssoEnabled"`
	// The workspace status.
	Status pulumi.StringInput `pulumi:"status"`
	// Sub-Domain DNS Address.
	SubDomainDnsAddresses pulumi.StringArrayInput `pulumi:"subDomainDnsAddresses"`
	// The AD Domain DNS Name.
	SubDomainName pulumi.StringInput `pulumi:"subDomainName"`
	// The AD Trust Password.
	TrustPassword pulumi.StringInput `pulumi:"trustPassword"`
	// Security Office VPC ID.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The vswitch ids.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
}

func (GetAdConnectorOfficeSitesSiteArgs) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutput() GetAdConnectorOfficeSitesSiteOutput

func (GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteOutput

type GetAdConnectorOfficeSitesSiteArray added in v3.24.0

type GetAdConnectorOfficeSitesSiteArray []GetAdConnectorOfficeSitesSiteInput

func (GetAdConnectorOfficeSitesSiteArray) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutput() GetAdConnectorOfficeSitesSiteArrayOutput

func (GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteArrayOutput

type GetAdConnectorOfficeSitesSiteArrayInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteArrayInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteArrayOutput() GetAdConnectorOfficeSitesSiteArrayOutput
	ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteArrayOutput
}

GetAdConnectorOfficeSitesSiteArrayInput is an input type that accepts GetAdConnectorOfficeSitesSiteArray and GetAdConnectorOfficeSitesSiteArrayOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteArrayInput` via:

GetAdConnectorOfficeSitesSiteArray{ GetAdConnectorOfficeSitesSiteArgs{...} }

type GetAdConnectorOfficeSitesSiteArrayOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteArrayOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteArrayOutput) Index added in v3.24.0

func (GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutput() GetAdConnectorOfficeSitesSiteArrayOutput

func (GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteArrayOutput

type GetAdConnectorOfficeSitesSiteInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteOutput() GetAdConnectorOfficeSitesSiteOutput
	ToGetAdConnectorOfficeSitesSiteOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteOutput
}

GetAdConnectorOfficeSitesSiteInput is an input type that accepts GetAdConnectorOfficeSitesSiteArgs and GetAdConnectorOfficeSitesSiteOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteInput` via:

GetAdConnectorOfficeSitesSiteArgs{...}

type GetAdConnectorOfficeSitesSiteLog added in v3.24.0

type GetAdConnectorOfficeSitesSiteLog struct {
	// Log Level. Possible Values: Info: Information Error: Error Warn: Warning.
	Level string `pulumi:"level"`
	// The Log Details.
	Message string `pulumi:"message"`
	// Log Information Corresponding to the Step.
	Step string `pulumi:"step"`
	// Log Print Time.
	TimeStamp string `pulumi:"timeStamp"`
}

type GetAdConnectorOfficeSitesSiteLogArgs added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogArgs struct {
	// Log Level. Possible Values: Info: Information Error: Error Warn: Warning.
	Level pulumi.StringInput `pulumi:"level"`
	// The Log Details.
	Message pulumi.StringInput `pulumi:"message"`
	// Log Information Corresponding to the Step.
	Step pulumi.StringInput `pulumi:"step"`
	// Log Print Time.
	TimeStamp pulumi.StringInput `pulumi:"timeStamp"`
}

func (GetAdConnectorOfficeSitesSiteLogArgs) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutput() GetAdConnectorOfficeSitesSiteLogOutput

func (GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteLogOutput

type GetAdConnectorOfficeSitesSiteLogArray added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogArray []GetAdConnectorOfficeSitesSiteLogInput

func (GetAdConnectorOfficeSitesSiteLogArray) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutput added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutput() GetAdConnectorOfficeSitesSiteLogArrayOutput

func (GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext added in v3.24.0

func (i GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteLogArrayOutput

type GetAdConnectorOfficeSitesSiteLogArrayInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogArrayInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteLogArrayOutput() GetAdConnectorOfficeSitesSiteLogArrayOutput
	ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteLogArrayOutput
}

GetAdConnectorOfficeSitesSiteLogArrayInput is an input type that accepts GetAdConnectorOfficeSitesSiteLogArray and GetAdConnectorOfficeSitesSiteLogArrayOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteLogArrayInput` via:

GetAdConnectorOfficeSitesSiteLogArray{ GetAdConnectorOfficeSitesSiteLogArgs{...} }

type GetAdConnectorOfficeSitesSiteLogArrayOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) Index added in v3.24.0

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutput() GetAdConnectorOfficeSitesSiteLogArrayOutput

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteLogArrayOutput

type GetAdConnectorOfficeSitesSiteLogInput added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogInput interface {
	pulumi.Input

	ToGetAdConnectorOfficeSitesSiteLogOutput() GetAdConnectorOfficeSitesSiteLogOutput
	ToGetAdConnectorOfficeSitesSiteLogOutputWithContext(context.Context) GetAdConnectorOfficeSitesSiteLogOutput
}

GetAdConnectorOfficeSitesSiteLogInput is an input type that accepts GetAdConnectorOfficeSitesSiteLogArgs and GetAdConnectorOfficeSitesSiteLogOutput values. You can construct a concrete instance of `GetAdConnectorOfficeSitesSiteLogInput` via:

GetAdConnectorOfficeSitesSiteLogArgs{...}

type GetAdConnectorOfficeSitesSiteLogOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteLogOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteLogOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteLogOutput) Level added in v3.24.0

Log Level. Possible Values: Info: Information Error: Error Warn: Warning.

func (GetAdConnectorOfficeSitesSiteLogOutput) Message added in v3.24.0

The Log Details.

func (GetAdConnectorOfficeSitesSiteLogOutput) Step added in v3.24.0

Log Information Corresponding to the Step.

func (GetAdConnectorOfficeSitesSiteLogOutput) TimeStamp added in v3.24.0

Log Print Time.

func (GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutput() GetAdConnectorOfficeSitesSiteLogOutput

func (GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteLogOutput

type GetAdConnectorOfficeSitesSiteOutput added in v3.24.0

type GetAdConnectorOfficeSitesSiteOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteOutput) AdConnectorOfficeSiteName added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) AdConnectorOfficeSiteName() pulumi.StringOutput

The Name of the ad connector office site.

func (GetAdConnectorOfficeSitesSiteOutput) AdConnectors added in v3.24.0

AD Connector Collection of Information.

func (GetAdConnectorOfficeSitesSiteOutput) Bandwidth added in v3.24.0

The Internet Bandwidth Peak. Possible Values: 0~200. If This Field Is Set to 0, Indicates That There Is No Open Internet Access.

func (GetAdConnectorOfficeSitesSiteOutput) CenId added in v3.24.0

Cloud Enterprise Network Instance Id.

func (GetAdConnectorOfficeSitesSiteOutput) CidrBlock added in v3.24.0

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (GetAdConnectorOfficeSitesSiteOutput) CreateTime added in v3.24.0

Workspace Creation Time.

func (GetAdConnectorOfficeSitesSiteOutput) CustomSecurityGroupId added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) CustomSecurityGroupId() pulumi.StringOutput

Security Group ID.

func (GetAdConnectorOfficeSitesSiteOutput) DesktopAccessType added in v3.24.0

The method that is used to connect the client to cloud desktops.

func (GetAdConnectorOfficeSitesSiteOutput) DesktopVpcEndpoint added in v3.24.0

The endpoint that is used to connect to cloud desktops over a VPC.

func (GetAdConnectorOfficeSitesSiteOutput) DnsAddresses added in v3.24.0

Enterprise Ad Corresponding DNS Address.

func (GetAdConnectorOfficeSitesSiteOutput) DnsUserName added in v3.24.0

The Easy-to-Use DNS Name.

func (GetAdConnectorOfficeSitesSiteOutput) DomainName added in v3.24.0

Enterprise of Ad Domain Name.

func (GetAdConnectorOfficeSitesSiteOutput) DomainUserName added in v3.24.0

The Domain Administrator's Username.

func (GetAdConnectorOfficeSitesSiteOutput) ElementType added in v3.24.0

func (GetAdConnectorOfficeSitesSiteOutput) EnableAdminAccess added in v3.24.0

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

func (GetAdConnectorOfficeSitesSiteOutput) EnableCrossDesktopAccess added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Indicates whether the desktop communication feature is enabled for cloud desktops in the same workspace. After the feature is enabled, the cloud desktops in the same workspace can access each other.

func (GetAdConnectorOfficeSitesSiteOutput) EnableInternetAccess added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Whether the Open Internet Access Function.

func (GetAdConnectorOfficeSitesSiteOutput) FileSystemIds added in v3.24.0

NAS File System ID.

func (GetAdConnectorOfficeSitesSiteOutput) Id added in v3.24.0

The ID of the Ad Connector Office Site.

func (GetAdConnectorOfficeSitesSiteOutput) Logs added in v3.24.0

Registered Log Information.

func (GetAdConnectorOfficeSitesSiteOutput) MfaEnabled added in v3.24.0

Whether to Enable Multi-Factor Authentication MFA.

func (GetAdConnectorOfficeSitesSiteOutput) NetworkPackageId added in v3.24.0

The ID of the Internet Access.

func (GetAdConnectorOfficeSitesSiteOutput) OfficeSiteId added in v3.24.0

The ID of the Workspace.

func (GetAdConnectorOfficeSitesSiteOutput) OfficeSiteType added in v3.24.0

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

func (GetAdConnectorOfficeSitesSiteOutput) SsoEnabled added in v3.24.0

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

func (GetAdConnectorOfficeSitesSiteOutput) Status added in v3.24.0

The workspace status.

func (GetAdConnectorOfficeSitesSiteOutput) SubDomainDnsAddresses added in v3.24.0

Sub-Domain DNS Address.

func (GetAdConnectorOfficeSitesSiteOutput) SubDomainName added in v3.24.0

The AD Domain DNS Name.

func (GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutput added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutput() GetAdConnectorOfficeSitesSiteOutput

func (GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutputWithContext added in v3.24.0

func (o GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutputWithContext(ctx context.Context) GetAdConnectorOfficeSitesSiteOutput

func (GetAdConnectorOfficeSitesSiteOutput) TrustPassword added in v3.24.0

The AD Trust Password.

func (GetAdConnectorOfficeSitesSiteOutput) VpcId added in v3.24.0

Security Office VPC ID.

func (GetAdConnectorOfficeSitesSiteOutput) VswitchIds added in v3.24.0

The vswitch ids.

type GetBundlesArgs added in v3.10.0

type GetBundlesArgs struct {
	BundleIds []string `pulumi:"bundleIds"`
	// The bundle type of  the bundle. Valid values: `SYSTEM`,`CUSTOM`.
	BundleType *string `pulumi:"bundleType"`
	// A list of Bundle IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Bundle name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getBundles.

type GetBundlesBundle added in v3.10.0

type GetBundlesBundle struct {
	// The bundle id of the bundle.
	BundleId string `pulumi:"bundleId"`
	// The name of the bundle.
	BundleName string `pulumi:"bundleName"`
	// The bundle type of  the bundle. Valid values: `SYSTEM`,`CUSTOM`.
	BundleType string `pulumi:"bundleType"`
	// The description of the bundle.
	Description string `pulumi:"description"`
	// The desktop type of the bundle.
	DesktopType string `pulumi:"desktopType"`
	// The desktop type attribute of the bundle.
	DesktopTypeAttributes []GetBundlesBundleDesktopTypeAttribute `pulumi:"desktopTypeAttributes"`
	// The disks of the bundle.
	Disks []GetBundlesBundleDisk `pulumi:"disks"`
	// The ID of the bundle.
	Id string `pulumi:"id"`
	// The image id attribute of the bundle.
	ImageId string `pulumi:"imageId"`
	// The os type attribute of the bundle.
	OsType string `pulumi:"osType"`
}

type GetBundlesBundleArgs added in v3.10.0

type GetBundlesBundleArgs struct {
	// The bundle id of the bundle.
	BundleId pulumi.StringInput `pulumi:"bundleId"`
	// The name of the bundle.
	BundleName pulumi.StringInput `pulumi:"bundleName"`
	// The bundle type of  the bundle. Valid values: `SYSTEM`,`CUSTOM`.
	BundleType pulumi.StringInput `pulumi:"bundleType"`
	// The description of the bundle.
	Description pulumi.StringInput `pulumi:"description"`
	// The desktop type of the bundle.
	DesktopType pulumi.StringInput `pulumi:"desktopType"`
	// The desktop type attribute of the bundle.
	DesktopTypeAttributes GetBundlesBundleDesktopTypeAttributeArrayInput `pulumi:"desktopTypeAttributes"`
	// The disks of the bundle.
	Disks GetBundlesBundleDiskArrayInput `pulumi:"disks"`
	// The ID of the bundle.
	Id pulumi.StringInput `pulumi:"id"`
	// The image id attribute of the bundle.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The os type attribute of the bundle.
	OsType pulumi.StringInput `pulumi:"osType"`
}

func (GetBundlesBundleArgs) ElementType added in v3.10.0

func (GetBundlesBundleArgs) ElementType() reflect.Type

func (GetBundlesBundleArgs) ToGetBundlesBundleOutput added in v3.10.0

func (i GetBundlesBundleArgs) ToGetBundlesBundleOutput() GetBundlesBundleOutput

func (GetBundlesBundleArgs) ToGetBundlesBundleOutputWithContext added in v3.10.0

func (i GetBundlesBundleArgs) ToGetBundlesBundleOutputWithContext(ctx context.Context) GetBundlesBundleOutput

type GetBundlesBundleArray added in v3.10.0

type GetBundlesBundleArray []GetBundlesBundleInput

func (GetBundlesBundleArray) ElementType added in v3.10.0

func (GetBundlesBundleArray) ElementType() reflect.Type

func (GetBundlesBundleArray) ToGetBundlesBundleArrayOutput added in v3.10.0

func (i GetBundlesBundleArray) ToGetBundlesBundleArrayOutput() GetBundlesBundleArrayOutput

func (GetBundlesBundleArray) ToGetBundlesBundleArrayOutputWithContext added in v3.10.0

func (i GetBundlesBundleArray) ToGetBundlesBundleArrayOutputWithContext(ctx context.Context) GetBundlesBundleArrayOutput

type GetBundlesBundleArrayInput added in v3.10.0

type GetBundlesBundleArrayInput interface {
	pulumi.Input

	ToGetBundlesBundleArrayOutput() GetBundlesBundleArrayOutput
	ToGetBundlesBundleArrayOutputWithContext(context.Context) GetBundlesBundleArrayOutput
}

GetBundlesBundleArrayInput is an input type that accepts GetBundlesBundleArray and GetBundlesBundleArrayOutput values. You can construct a concrete instance of `GetBundlesBundleArrayInput` via:

GetBundlesBundleArray{ GetBundlesBundleArgs{...} }

type GetBundlesBundleArrayOutput added in v3.10.0

type GetBundlesBundleArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleArrayOutput) ElementType added in v3.10.0

func (GetBundlesBundleArrayOutput) Index added in v3.10.0

func (GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutput added in v3.10.0

func (o GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutput() GetBundlesBundleArrayOutput

func (GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutputWithContext added in v3.10.0

func (o GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutputWithContext(ctx context.Context) GetBundlesBundleArrayOutput

type GetBundlesBundleDesktopTypeAttribute added in v3.10.0

type GetBundlesBundleDesktopTypeAttribute struct {
	CpuCount   int    `pulumi:"cpuCount"`
	GpuCount   string `pulumi:"gpuCount"`
	GpuSpec    string `pulumi:"gpuSpec"`
	MemorySize string `pulumi:"memorySize"`
}

type GetBundlesBundleDesktopTypeAttributeArgs added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeArgs struct {
	CpuCount   pulumi.IntInput    `pulumi:"cpuCount"`
	GpuCount   pulumi.StringInput `pulumi:"gpuCount"`
	GpuSpec    pulumi.StringInput `pulumi:"gpuSpec"`
	MemorySize pulumi.StringInput `pulumi:"memorySize"`
}

func (GetBundlesBundleDesktopTypeAttributeArgs) ElementType added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutput added in v3.10.0

func (i GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutput() GetBundlesBundleDesktopTypeAttributeOutput

func (GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext added in v3.10.0

func (i GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext(ctx context.Context) GetBundlesBundleDesktopTypeAttributeOutput

type GetBundlesBundleDesktopTypeAttributeArray added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeArray []GetBundlesBundleDesktopTypeAttributeInput

func (GetBundlesBundleDesktopTypeAttributeArray) ElementType added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutput added in v3.10.0

func (i GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutput() GetBundlesBundleDesktopTypeAttributeArrayOutput

func (GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext added in v3.10.0

func (i GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext(ctx context.Context) GetBundlesBundleDesktopTypeAttributeArrayOutput

type GetBundlesBundleDesktopTypeAttributeArrayInput added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeArrayInput interface {
	pulumi.Input

	ToGetBundlesBundleDesktopTypeAttributeArrayOutput() GetBundlesBundleDesktopTypeAttributeArrayOutput
	ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext(context.Context) GetBundlesBundleDesktopTypeAttributeArrayOutput
}

GetBundlesBundleDesktopTypeAttributeArrayInput is an input type that accepts GetBundlesBundleDesktopTypeAttributeArray and GetBundlesBundleDesktopTypeAttributeArrayOutput values. You can construct a concrete instance of `GetBundlesBundleDesktopTypeAttributeArrayInput` via:

GetBundlesBundleDesktopTypeAttributeArray{ GetBundlesBundleDesktopTypeAttributeArgs{...} }

type GetBundlesBundleDesktopTypeAttributeArrayOutput added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ElementType added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) Index added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutput added in v3.10.0

func (o GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutput() GetBundlesBundleDesktopTypeAttributeArrayOutput

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext added in v3.10.0

func (o GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext(ctx context.Context) GetBundlesBundleDesktopTypeAttributeArrayOutput

type GetBundlesBundleDesktopTypeAttributeInput added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeInput interface {
	pulumi.Input

	ToGetBundlesBundleDesktopTypeAttributeOutput() GetBundlesBundleDesktopTypeAttributeOutput
	ToGetBundlesBundleDesktopTypeAttributeOutputWithContext(context.Context) GetBundlesBundleDesktopTypeAttributeOutput
}

GetBundlesBundleDesktopTypeAttributeInput is an input type that accepts GetBundlesBundleDesktopTypeAttributeArgs and GetBundlesBundleDesktopTypeAttributeOutput values. You can construct a concrete instance of `GetBundlesBundleDesktopTypeAttributeInput` via:

GetBundlesBundleDesktopTypeAttributeArgs{...}

type GetBundlesBundleDesktopTypeAttributeOutput added in v3.10.0

type GetBundlesBundleDesktopTypeAttributeOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDesktopTypeAttributeOutput) CpuCount added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeOutput) ElementType added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeOutput) GpuCount added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeOutput) GpuSpec added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeOutput) MemorySize added in v3.10.0

func (GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutput added in v3.10.0

func (o GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutput() GetBundlesBundleDesktopTypeAttributeOutput

func (GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext added in v3.10.0

func (o GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext(ctx context.Context) GetBundlesBundleDesktopTypeAttributeOutput

type GetBundlesBundleDisk added in v3.10.0

type GetBundlesBundleDisk struct {
	DiskSize string `pulumi:"diskSize"`
	DiskType string `pulumi:"diskType"`
}

type GetBundlesBundleDiskArgs added in v3.10.0

type GetBundlesBundleDiskArgs struct {
	DiskSize pulumi.StringInput `pulumi:"diskSize"`
	DiskType pulumi.StringInput `pulumi:"diskType"`
}

func (GetBundlesBundleDiskArgs) ElementType added in v3.10.0

func (GetBundlesBundleDiskArgs) ElementType() reflect.Type

func (GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutput added in v3.10.0

func (i GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutput() GetBundlesBundleDiskOutput

func (GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutputWithContext added in v3.10.0

func (i GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutputWithContext(ctx context.Context) GetBundlesBundleDiskOutput

type GetBundlesBundleDiskArray added in v3.10.0

type GetBundlesBundleDiskArray []GetBundlesBundleDiskInput

func (GetBundlesBundleDiskArray) ElementType added in v3.10.0

func (GetBundlesBundleDiskArray) ElementType() reflect.Type

func (GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutput added in v3.10.0

func (i GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutput() GetBundlesBundleDiskArrayOutput

func (GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutputWithContext added in v3.10.0

func (i GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutputWithContext(ctx context.Context) GetBundlesBundleDiskArrayOutput

type GetBundlesBundleDiskArrayInput added in v3.10.0

type GetBundlesBundleDiskArrayInput interface {
	pulumi.Input

	ToGetBundlesBundleDiskArrayOutput() GetBundlesBundleDiskArrayOutput
	ToGetBundlesBundleDiskArrayOutputWithContext(context.Context) GetBundlesBundleDiskArrayOutput
}

GetBundlesBundleDiskArrayInput is an input type that accepts GetBundlesBundleDiskArray and GetBundlesBundleDiskArrayOutput values. You can construct a concrete instance of `GetBundlesBundleDiskArrayInput` via:

GetBundlesBundleDiskArray{ GetBundlesBundleDiskArgs{...} }

type GetBundlesBundleDiskArrayOutput added in v3.10.0

type GetBundlesBundleDiskArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDiskArrayOutput) ElementType added in v3.10.0

func (GetBundlesBundleDiskArrayOutput) Index added in v3.10.0

func (GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutput added in v3.10.0

func (o GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutput() GetBundlesBundleDiskArrayOutput

func (GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutputWithContext added in v3.10.0

func (o GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutputWithContext(ctx context.Context) GetBundlesBundleDiskArrayOutput

type GetBundlesBundleDiskInput added in v3.10.0

type GetBundlesBundleDiskInput interface {
	pulumi.Input

	ToGetBundlesBundleDiskOutput() GetBundlesBundleDiskOutput
	ToGetBundlesBundleDiskOutputWithContext(context.Context) GetBundlesBundleDiskOutput
}

GetBundlesBundleDiskInput is an input type that accepts GetBundlesBundleDiskArgs and GetBundlesBundleDiskOutput values. You can construct a concrete instance of `GetBundlesBundleDiskInput` via:

GetBundlesBundleDiskArgs{...}

type GetBundlesBundleDiskOutput added in v3.10.0

type GetBundlesBundleDiskOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDiskOutput) DiskSize added in v3.10.0

func (GetBundlesBundleDiskOutput) DiskType added in v3.10.0

func (GetBundlesBundleDiskOutput) ElementType added in v3.10.0

func (GetBundlesBundleDiskOutput) ElementType() reflect.Type

func (GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutput added in v3.10.0

func (o GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutput() GetBundlesBundleDiskOutput

func (GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutputWithContext added in v3.10.0

func (o GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutputWithContext(ctx context.Context) GetBundlesBundleDiskOutput

type GetBundlesBundleInput added in v3.10.0

type GetBundlesBundleInput interface {
	pulumi.Input

	ToGetBundlesBundleOutput() GetBundlesBundleOutput
	ToGetBundlesBundleOutputWithContext(context.Context) GetBundlesBundleOutput
}

GetBundlesBundleInput is an input type that accepts GetBundlesBundleArgs and GetBundlesBundleOutput values. You can construct a concrete instance of `GetBundlesBundleInput` via:

GetBundlesBundleArgs{...}

type GetBundlesBundleOutput added in v3.10.0

type GetBundlesBundleOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleOutput) BundleId added in v3.10.0

The bundle id of the bundle.

func (GetBundlesBundleOutput) BundleName added in v3.10.0

The name of the bundle.

func (GetBundlesBundleOutput) BundleType added in v3.10.0

The bundle type of the bundle. Valid values: `SYSTEM`,`CUSTOM`.

func (GetBundlesBundleOutput) Description added in v3.10.0

func (o GetBundlesBundleOutput) Description() pulumi.StringOutput

The description of the bundle.

func (GetBundlesBundleOutput) DesktopType added in v3.10.0

func (o GetBundlesBundleOutput) DesktopType() pulumi.StringOutput

The desktop type of the bundle.

func (GetBundlesBundleOutput) DesktopTypeAttributes added in v3.10.0

The desktop type attribute of the bundle.

func (GetBundlesBundleOutput) Disks added in v3.10.0

The disks of the bundle.

func (GetBundlesBundleOutput) ElementType added in v3.10.0

func (GetBundlesBundleOutput) ElementType() reflect.Type

func (GetBundlesBundleOutput) Id added in v3.10.0

The ID of the bundle.

func (GetBundlesBundleOutput) ImageId added in v3.10.0

The image id attribute of the bundle.

func (GetBundlesBundleOutput) OsType added in v3.10.0

The os type attribute of the bundle.

func (GetBundlesBundleOutput) ToGetBundlesBundleOutput added in v3.10.0

func (o GetBundlesBundleOutput) ToGetBundlesBundleOutput() GetBundlesBundleOutput

func (GetBundlesBundleOutput) ToGetBundlesBundleOutputWithContext added in v3.10.0

func (o GetBundlesBundleOutput) ToGetBundlesBundleOutputWithContext(ctx context.Context) GetBundlesBundleOutput

type GetBundlesOutputArgs added in v3.10.0

type GetBundlesOutputArgs struct {
	BundleIds pulumi.StringArrayInput `pulumi:"bundleIds"`
	// The bundle type of  the bundle. Valid values: `SYSTEM`,`CUSTOM`.
	BundleType pulumi.StringPtrInput `pulumi:"bundleType"`
	// A list of Bundle IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Bundle name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getBundles.

func (GetBundlesOutputArgs) ElementType added in v3.10.0

func (GetBundlesOutputArgs) ElementType() reflect.Type

type GetBundlesResult added in v3.10.0

type GetBundlesResult struct {
	BundleIds  []string           `pulumi:"bundleIds"`
	BundleType *string            `pulumi:"bundleType"`
	Bundles    []GetBundlesBundle `pulumi:"bundles"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getBundles.

func GetBundles added in v3.10.0

func GetBundles(ctx *pulumi.Context, args *GetBundlesArgs, opts ...pulumi.InvokeOption) (*GetBundlesResult, error)

This data source provides the Ecd bundles of the current Alibaba Cloud user.

> **NOTE:** Available in v1.143.0+.

## Example Usage

Basic Usage

```go 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.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBundlesResultOutput added in v3.10.0

type GetBundlesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBundles.

func GetBundlesOutput added in v3.10.0

func GetBundlesOutput(ctx *pulumi.Context, args GetBundlesOutputArgs, opts ...pulumi.InvokeOption) GetBundlesResultOutput

func (GetBundlesResultOutput) BundleIds added in v3.10.0

func (GetBundlesResultOutput) BundleType added in v3.10.0

func (GetBundlesResultOutput) Bundles added in v3.10.0

func (GetBundlesResultOutput) ElementType added in v3.10.0

func (GetBundlesResultOutput) ElementType() reflect.Type

func (GetBundlesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetBundlesResultOutput) Ids added in v3.10.0

func (GetBundlesResultOutput) NameRegex added in v3.10.0

func (GetBundlesResultOutput) Names added in v3.10.0

func (GetBundlesResultOutput) OutputFile added in v3.10.0

func (GetBundlesResultOutput) ToGetBundlesResultOutput added in v3.10.0

func (o GetBundlesResultOutput) ToGetBundlesResultOutput() GetBundlesResultOutput

func (GetBundlesResultOutput) ToGetBundlesResultOutputWithContext added in v3.10.0

func (o GetBundlesResultOutput) ToGetBundlesResultOutputWithContext(ctx context.Context) GetBundlesResultOutput

type GetCommandsArgs added in v3.11.0

type GetCommandsArgs struct {
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType *string `pulumi:"commandType"`
	// That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.
	ContentEncoding *string `pulumi:"contentEncoding"`
	// The desktop id of the Desktop.
	DesktopId *string `pulumi:"desktopId"`
	// A list of Command IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getCommands.

type GetCommandsCommand added in v3.11.0

type GetCommandsCommand struct {
	// The Contents of the Script to Base64 Encoded Transmission.
	CommandContent string `pulumi:"commandContent"`
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType string `pulumi:"commandType"`
	// The Task of Creation Time.
	CreateTime string `pulumi:"createTime"`
	// The ID of the Command.
	Id string `pulumi:"id"`
	// The Implementation of the Target Cloud Desktop Collection.
	InvokeDesktops []GetCommandsCommandInvokeDesktop `pulumi:"invokeDesktops"`
	// The invoke id of the Command.
	InvokeId string `pulumi:"invokeId"`
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status string `pulumi:"status"`
}

type GetCommandsCommandArgs added in v3.11.0

type GetCommandsCommandArgs struct {
	// The Contents of the Script to Base64 Encoded Transmission.
	CommandContent pulumi.StringInput `pulumi:"commandContent"`
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType pulumi.StringInput `pulumi:"commandType"`
	// The Task of Creation Time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the Command.
	Id pulumi.StringInput `pulumi:"id"`
	// The Implementation of the Target Cloud Desktop Collection.
	InvokeDesktops GetCommandsCommandInvokeDesktopArrayInput `pulumi:"invokeDesktops"`
	// The invoke id of the Command.
	InvokeId pulumi.StringInput `pulumi:"invokeId"`
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetCommandsCommandArgs) ElementType added in v3.11.0

func (GetCommandsCommandArgs) ElementType() reflect.Type

func (GetCommandsCommandArgs) ToGetCommandsCommandOutput added in v3.11.0

func (i GetCommandsCommandArgs) ToGetCommandsCommandOutput() GetCommandsCommandOutput

func (GetCommandsCommandArgs) ToGetCommandsCommandOutputWithContext added in v3.11.0

func (i GetCommandsCommandArgs) ToGetCommandsCommandOutputWithContext(ctx context.Context) GetCommandsCommandOutput

type GetCommandsCommandArray added in v3.11.0

type GetCommandsCommandArray []GetCommandsCommandInput

func (GetCommandsCommandArray) ElementType added in v3.11.0

func (GetCommandsCommandArray) ElementType() reflect.Type

func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutput added in v3.11.0

func (i GetCommandsCommandArray) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput

func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutputWithContext added in v3.11.0

func (i GetCommandsCommandArray) ToGetCommandsCommandArrayOutputWithContext(ctx context.Context) GetCommandsCommandArrayOutput

type GetCommandsCommandArrayInput added in v3.11.0

type GetCommandsCommandArrayInput interface {
	pulumi.Input

	ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput
	ToGetCommandsCommandArrayOutputWithContext(context.Context) GetCommandsCommandArrayOutput
}

GetCommandsCommandArrayInput is an input type that accepts GetCommandsCommandArray and GetCommandsCommandArrayOutput values. You can construct a concrete instance of `GetCommandsCommandArrayInput` via:

GetCommandsCommandArray{ GetCommandsCommandArgs{...} }

type GetCommandsCommandArrayOutput added in v3.11.0

type GetCommandsCommandArrayOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandArrayOutput) ElementType added in v3.11.0

func (GetCommandsCommandArrayOutput) Index added in v3.11.0

func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput added in v3.11.0

func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput

func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext added in v3.11.0

func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext(ctx context.Context) GetCommandsCommandArrayOutput

type GetCommandsCommandInput added in v3.11.0

type GetCommandsCommandInput interface {
	pulumi.Input

	ToGetCommandsCommandOutput() GetCommandsCommandOutput
	ToGetCommandsCommandOutputWithContext(context.Context) GetCommandsCommandOutput
}

GetCommandsCommandInput is an input type that accepts GetCommandsCommandArgs and GetCommandsCommandOutput values. You can construct a concrete instance of `GetCommandsCommandInput` via:

GetCommandsCommandArgs{...}

type GetCommandsCommandInvokeDesktop added in v3.11.0

type GetCommandsCommandInvokeDesktop struct {
	// The desktop id of the Desktop.
	DesktopId string `pulumi:"desktopId"`
	// Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
	Dropped int `pulumi:"dropped"`
	// Command of the Failure Or Perform the Reason for the Failure of the Code.
	ErrorCode string `pulumi:"errorCode"`
	// Command of the Failure Or Perform the Reason for the Failure of the Details.
	ErrorInfo string `pulumi:"errorInfo"`
	// Command of the Failure Or Perform the Reason for the Failure of the Details.
	ExitCode string `pulumi:"exitCode"`
	// The Script Process until the End of Time.
	FinishTime string `pulumi:"finishTime"`
	// A Single Cloud Desktop Script Progress Status.
	InvocationStatus string `pulumi:"invocationStatus"`
	// Script the Output of the Process.
	Output string `pulumi:"output"`
	// Command in the Desktop Implementation.
	Repeats int `pulumi:"repeats"`
	// The Script Process on the Desktop, in the Start Timing of the Execution.
	StartTime string `pulumi:"startTime"`
	// If You Use the invocation Indicates That the Call of the Time.
	StopTime string `pulumi:"stopTime"`
}

type GetCommandsCommandInvokeDesktopArgs added in v3.11.0

type GetCommandsCommandInvokeDesktopArgs struct {
	// The desktop id of the Desktop.
	DesktopId pulumi.StringInput `pulumi:"desktopId"`
	// Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
	Dropped pulumi.IntInput `pulumi:"dropped"`
	// Command of the Failure Or Perform the Reason for the Failure of the Code.
	ErrorCode pulumi.StringInput `pulumi:"errorCode"`
	// Command of the Failure Or Perform the Reason for the Failure of the Details.
	ErrorInfo pulumi.StringInput `pulumi:"errorInfo"`
	// Command of the Failure Or Perform the Reason for the Failure of the Details.
	ExitCode pulumi.StringInput `pulumi:"exitCode"`
	// The Script Process until the End of Time.
	FinishTime pulumi.StringInput `pulumi:"finishTime"`
	// A Single Cloud Desktop Script Progress Status.
	InvocationStatus pulumi.StringInput `pulumi:"invocationStatus"`
	// Script the Output of the Process.
	Output pulumi.StringInput `pulumi:"output"`
	// Command in the Desktop Implementation.
	Repeats pulumi.IntInput `pulumi:"repeats"`
	// The Script Process on the Desktop, in the Start Timing of the Execution.
	StartTime pulumi.StringInput `pulumi:"startTime"`
	// If You Use the invocation Indicates That the Call of the Time.
	StopTime pulumi.StringInput `pulumi:"stopTime"`
}

func (GetCommandsCommandInvokeDesktopArgs) ElementType added in v3.11.0

func (GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutput added in v3.11.0

func (i GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutput() GetCommandsCommandInvokeDesktopOutput

func (GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutputWithContext added in v3.11.0

func (i GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutputWithContext(ctx context.Context) GetCommandsCommandInvokeDesktopOutput

type GetCommandsCommandInvokeDesktopArray added in v3.11.0

type GetCommandsCommandInvokeDesktopArray []GetCommandsCommandInvokeDesktopInput

func (GetCommandsCommandInvokeDesktopArray) ElementType added in v3.11.0

func (GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutput added in v3.11.0

func (i GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutput() GetCommandsCommandInvokeDesktopArrayOutput

func (GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext added in v3.11.0

func (i GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext(ctx context.Context) GetCommandsCommandInvokeDesktopArrayOutput

type GetCommandsCommandInvokeDesktopArrayInput added in v3.11.0

type GetCommandsCommandInvokeDesktopArrayInput interface {
	pulumi.Input

	ToGetCommandsCommandInvokeDesktopArrayOutput() GetCommandsCommandInvokeDesktopArrayOutput
	ToGetCommandsCommandInvokeDesktopArrayOutputWithContext(context.Context) GetCommandsCommandInvokeDesktopArrayOutput
}

GetCommandsCommandInvokeDesktopArrayInput is an input type that accepts GetCommandsCommandInvokeDesktopArray and GetCommandsCommandInvokeDesktopArrayOutput values. You can construct a concrete instance of `GetCommandsCommandInvokeDesktopArrayInput` via:

GetCommandsCommandInvokeDesktopArray{ GetCommandsCommandInvokeDesktopArgs{...} }

type GetCommandsCommandInvokeDesktopArrayOutput added in v3.11.0

type GetCommandsCommandInvokeDesktopArrayOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandInvokeDesktopArrayOutput) ElementType added in v3.11.0

func (GetCommandsCommandInvokeDesktopArrayOutput) Index added in v3.11.0

func (GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutput added in v3.11.0

func (o GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutput() GetCommandsCommandInvokeDesktopArrayOutput

func (GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext added in v3.11.0

func (o GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext(ctx context.Context) GetCommandsCommandInvokeDesktopArrayOutput

type GetCommandsCommandInvokeDesktopInput added in v3.11.0

type GetCommandsCommandInvokeDesktopInput interface {
	pulumi.Input

	ToGetCommandsCommandInvokeDesktopOutput() GetCommandsCommandInvokeDesktopOutput
	ToGetCommandsCommandInvokeDesktopOutputWithContext(context.Context) GetCommandsCommandInvokeDesktopOutput
}

GetCommandsCommandInvokeDesktopInput is an input type that accepts GetCommandsCommandInvokeDesktopArgs and GetCommandsCommandInvokeDesktopOutput values. You can construct a concrete instance of `GetCommandsCommandInvokeDesktopInput` via:

GetCommandsCommandInvokeDesktopArgs{...}

type GetCommandsCommandInvokeDesktopOutput added in v3.11.0

type GetCommandsCommandInvokeDesktopOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandInvokeDesktopOutput) DesktopId added in v3.11.0

The desktop id of the Desktop.

func (GetCommandsCommandInvokeDesktopOutput) Dropped added in v3.11.0

Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.

func (GetCommandsCommandInvokeDesktopOutput) ElementType added in v3.11.0

func (GetCommandsCommandInvokeDesktopOutput) ErrorCode added in v3.11.0

Command of the Failure Or Perform the Reason for the Failure of the Code.

func (GetCommandsCommandInvokeDesktopOutput) ErrorInfo added in v3.11.0

Command of the Failure Or Perform the Reason for the Failure of the Details.

func (GetCommandsCommandInvokeDesktopOutput) ExitCode added in v3.11.0

Command of the Failure Or Perform the Reason for the Failure of the Details.

func (GetCommandsCommandInvokeDesktopOutput) FinishTime added in v3.11.0

The Script Process until the End of Time.

func (GetCommandsCommandInvokeDesktopOutput) InvocationStatus added in v3.11.0

A Single Cloud Desktop Script Progress Status.

func (GetCommandsCommandInvokeDesktopOutput) Output added in v3.11.0

Script the Output of the Process.

func (GetCommandsCommandInvokeDesktopOutput) Repeats added in v3.11.0

Command in the Desktop Implementation.

func (GetCommandsCommandInvokeDesktopOutput) StartTime added in v3.11.0

The Script Process on the Desktop, in the Start Timing of the Execution.

func (GetCommandsCommandInvokeDesktopOutput) StopTime added in v3.11.0

If You Use the invocation Indicates That the Call of the Time.

func (GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutput added in v3.11.0

func (o GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutput() GetCommandsCommandInvokeDesktopOutput

func (GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutputWithContext added in v3.11.0

func (o GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutputWithContext(ctx context.Context) GetCommandsCommandInvokeDesktopOutput

type GetCommandsCommandOutput added in v3.11.0

type GetCommandsCommandOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandOutput) CommandContent added in v3.11.0

func (o GetCommandsCommandOutput) CommandContent() pulumi.StringOutput

The Contents of the Script to Base64 Encoded Transmission.

func (GetCommandsCommandOutput) CommandType added in v3.11.0

The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.

func (GetCommandsCommandOutput) CreateTime added in v3.11.0

The Task of Creation Time.

func (GetCommandsCommandOutput) ElementType added in v3.11.0

func (GetCommandsCommandOutput) ElementType() reflect.Type

func (GetCommandsCommandOutput) Id added in v3.11.0

The ID of the Command.

func (GetCommandsCommandOutput) InvokeDesktops added in v3.11.0

The Implementation of the Target Cloud Desktop Collection.

func (GetCommandsCommandOutput) InvokeId added in v3.11.0

The invoke id of the Command.

func (GetCommandsCommandOutput) Status added in v3.11.0

Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.

func (GetCommandsCommandOutput) ToGetCommandsCommandOutput added in v3.11.0

func (o GetCommandsCommandOutput) ToGetCommandsCommandOutput() GetCommandsCommandOutput

func (GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext added in v3.11.0

func (o GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext(ctx context.Context) GetCommandsCommandOutput

type GetCommandsOutputArgs added in v3.11.0

type GetCommandsOutputArgs struct {
	// The Script Type. Valid values: `RunBatScript`, `RunPowerShellScript`.
	CommandType pulumi.StringPtrInput `pulumi:"commandType"`
	// That Returns the Data Encoding Method. Valid values: `Base64`, `PlainText`.
	ContentEncoding pulumi.StringPtrInput `pulumi:"contentEncoding"`
	// The desktop id of the Desktop.
	DesktopId pulumi.StringPtrInput `pulumi:"desktopId"`
	// A list of Command IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Script Is Executed in the Overall Implementation of the State. Valid values: `Pending`, `Failed`, `PartialFailed`, `Running`, `Stopped`, `Stopping`, `Finished`, `Success`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getCommands.

func (GetCommandsOutputArgs) ElementType added in v3.11.0

func (GetCommandsOutputArgs) ElementType() reflect.Type

type GetCommandsResult added in v3.11.0

type GetCommandsResult struct {
	CommandType     *string              `pulumi:"commandType"`
	Commands        []GetCommandsCommand `pulumi:"commands"`
	ContentEncoding *string              `pulumi:"contentEncoding"`
	DesktopId       *string              `pulumi:"desktopId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getCommands.

func GetCommands added in v3.11.0

func GetCommands(ctx *pulumi.Context, args *GetCommandsArgs, opts ...pulumi.InvokeOption) (*GetCommandsResult, error)

This data source provides the Ecd Commands of the current Alibaba Cloud user.

> **NOTE:** Available in v1.146.0+.

## Example Usage

Basic Usage

```go 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 {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String("your_office_site_name"),
		})
		if err != nil {
			return err
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
			NameRegex:  pulumi.StringRef("windows"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String("your_policy_group_name"),
			Clipboard:       pulumi.String("readwrite"),
			LocalDrive:      pulumi.String("read"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("example_value"),
					CidrIp:      pulumi.String("1.2.3.4/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("example_value"),
					PortRange:   pulumi.String("80/80"),
					IpProtocol:  pulumi.String("TCP"),
					Priority:    pulumi.String("1"),
					CidrIp:      pulumi.String("0.0.0.0/0"),
				},
			},
		})
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[0].Id),
			DesktopName:   pulumi.Any(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewCommand(ctx, "default", &eds.CommandArgs{
			CommandContent: pulumi.String("ipconfig"),
			CommandType:    pulumi.String("RunPowerShellScript"),
			DesktopId:      defaultDesktop.ID(),
		})
		if err != nil {
			return err
		}
		ids, err := eds.GetCommands(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdCommandId1", ids.Commands[0].Id)
		return nil
	})
}

```

type GetCommandsResultOutput added in v3.11.0

type GetCommandsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCommands.

func GetCommandsOutput added in v3.11.0

func GetCommandsOutput(ctx *pulumi.Context, args GetCommandsOutputArgs, opts ...pulumi.InvokeOption) GetCommandsResultOutput

func (GetCommandsResultOutput) CommandType added in v3.11.0

func (GetCommandsResultOutput) Commands added in v3.11.0

func (GetCommandsResultOutput) ContentEncoding added in v3.11.0

func (o GetCommandsResultOutput) ContentEncoding() pulumi.StringPtrOutput

func (GetCommandsResultOutput) DesktopId added in v3.11.0

func (GetCommandsResultOutput) ElementType added in v3.11.0

func (GetCommandsResultOutput) ElementType() reflect.Type

func (GetCommandsResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetCommandsResultOutput) Ids added in v3.11.0

func (GetCommandsResultOutput) OutputFile added in v3.11.0

func (GetCommandsResultOutput) Status added in v3.11.0

func (GetCommandsResultOutput) ToGetCommandsResultOutput added in v3.11.0

func (o GetCommandsResultOutput) ToGetCommandsResultOutput() GetCommandsResultOutput

func (GetCommandsResultOutput) ToGetCommandsResultOutputWithContext added in v3.11.0

func (o GetCommandsResultOutput) ToGetCommandsResultOutputWithContext(ctx context.Context) GetCommandsResultOutput

type GetCustomPropertiesArgs added in v3.24.0

type GetCustomPropertiesArgs struct {
	// A list of Custom Property IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomProperties.

type GetCustomPropertiesOutputArgs added in v3.24.0

type GetCustomPropertiesOutputArgs struct {
	// A list of Custom Property IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomProperties.

func (GetCustomPropertiesOutputArgs) ElementType added in v3.24.0

type GetCustomPropertiesProperty added in v3.24.0

type GetCustomPropertiesProperty struct {
	// The first ID of the resource.
	CustomPropertyId string `pulumi:"customPropertyId"`
	// The ID of the Custom Property.
	Id string `pulumi:"id"`
	// The Custom attribute key.
	PropertyKey string `pulumi:"propertyKey"`
	// Custom attribute sets the value of.
	PropertyValues []GetCustomPropertiesPropertyPropertyValue `pulumi:"propertyValues"`
}

type GetCustomPropertiesPropertyArgs added in v3.24.0

type GetCustomPropertiesPropertyArgs struct {
	// The first ID of the resource.
	CustomPropertyId pulumi.StringInput `pulumi:"customPropertyId"`
	// The ID of the Custom Property.
	Id pulumi.StringInput `pulumi:"id"`
	// The Custom attribute key.
	PropertyKey pulumi.StringInput `pulumi:"propertyKey"`
	// Custom attribute sets the value of.
	PropertyValues GetCustomPropertiesPropertyPropertyValueArrayInput `pulumi:"propertyValues"`
}

func (GetCustomPropertiesPropertyArgs) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutput added in v3.24.0

func (i GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutput() GetCustomPropertiesPropertyOutput

func (GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutputWithContext added in v3.24.0

func (i GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyOutput

type GetCustomPropertiesPropertyArray added in v3.24.0

type GetCustomPropertiesPropertyArray []GetCustomPropertiesPropertyInput

func (GetCustomPropertiesPropertyArray) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutput added in v3.24.0

func (i GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutput() GetCustomPropertiesPropertyArrayOutput

func (GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutputWithContext added in v3.24.0

func (i GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyArrayOutput

type GetCustomPropertiesPropertyArrayInput added in v3.24.0

type GetCustomPropertiesPropertyArrayInput interface {
	pulumi.Input

	ToGetCustomPropertiesPropertyArrayOutput() GetCustomPropertiesPropertyArrayOutput
	ToGetCustomPropertiesPropertyArrayOutputWithContext(context.Context) GetCustomPropertiesPropertyArrayOutput
}

GetCustomPropertiesPropertyArrayInput is an input type that accepts GetCustomPropertiesPropertyArray and GetCustomPropertiesPropertyArrayOutput values. You can construct a concrete instance of `GetCustomPropertiesPropertyArrayInput` via:

GetCustomPropertiesPropertyArray{ GetCustomPropertiesPropertyArgs{...} }

type GetCustomPropertiesPropertyArrayOutput added in v3.24.0

type GetCustomPropertiesPropertyArrayOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyArrayOutput) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyArrayOutput) Index added in v3.24.0

func (GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutput added in v3.24.0

func (o GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutput() GetCustomPropertiesPropertyArrayOutput

func (GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutputWithContext added in v3.24.0

func (o GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyArrayOutput

type GetCustomPropertiesPropertyInput added in v3.24.0

type GetCustomPropertiesPropertyInput interface {
	pulumi.Input

	ToGetCustomPropertiesPropertyOutput() GetCustomPropertiesPropertyOutput
	ToGetCustomPropertiesPropertyOutputWithContext(context.Context) GetCustomPropertiesPropertyOutput
}

GetCustomPropertiesPropertyInput is an input type that accepts GetCustomPropertiesPropertyArgs and GetCustomPropertiesPropertyOutput values. You can construct a concrete instance of `GetCustomPropertiesPropertyInput` via:

GetCustomPropertiesPropertyArgs{...}

type GetCustomPropertiesPropertyOutput added in v3.24.0

type GetCustomPropertiesPropertyOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyOutput) CustomPropertyId added in v3.24.0

The first ID of the resource.

func (GetCustomPropertiesPropertyOutput) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyOutput) Id added in v3.24.0

The ID of the Custom Property.

func (GetCustomPropertiesPropertyOutput) PropertyKey added in v3.24.0

The Custom attribute key.

func (GetCustomPropertiesPropertyOutput) PropertyValues added in v3.24.0

Custom attribute sets the value of.

func (GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutput added in v3.24.0

func (o GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutput() GetCustomPropertiesPropertyOutput

func (GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutputWithContext added in v3.24.0

func (o GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyOutput

type GetCustomPropertiesPropertyPropertyValue added in v3.24.0

type GetCustomPropertiesPropertyPropertyValue struct {
	// The value of an attribute.
	PropertyValue string `pulumi:"propertyValue"`
	// The value of an attribute id.
	PropertyValueId string `pulumi:"propertyValueId"`
}

type GetCustomPropertiesPropertyPropertyValueArgs added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueArgs struct {
	// The value of an attribute.
	PropertyValue pulumi.StringInput `pulumi:"propertyValue"`
	// The value of an attribute id.
	PropertyValueId pulumi.StringInput `pulumi:"propertyValueId"`
}

func (GetCustomPropertiesPropertyPropertyValueArgs) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutput added in v3.24.0

func (i GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutput() GetCustomPropertiesPropertyPropertyValueOutput

func (GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext added in v3.24.0

func (i GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyPropertyValueOutput

type GetCustomPropertiesPropertyPropertyValueArray added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueArray []GetCustomPropertiesPropertyPropertyValueInput

func (GetCustomPropertiesPropertyPropertyValueArray) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutput added in v3.24.0

func (i GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutput() GetCustomPropertiesPropertyPropertyValueArrayOutput

func (GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext added in v3.24.0

func (i GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyPropertyValueArrayOutput

type GetCustomPropertiesPropertyPropertyValueArrayInput added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueArrayInput interface {
	pulumi.Input

	ToGetCustomPropertiesPropertyPropertyValueArrayOutput() GetCustomPropertiesPropertyPropertyValueArrayOutput
	ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext(context.Context) GetCustomPropertiesPropertyPropertyValueArrayOutput
}

GetCustomPropertiesPropertyPropertyValueArrayInput is an input type that accepts GetCustomPropertiesPropertyPropertyValueArray and GetCustomPropertiesPropertyPropertyValueArrayOutput values. You can construct a concrete instance of `GetCustomPropertiesPropertyPropertyValueArrayInput` via:

GetCustomPropertiesPropertyPropertyValueArray{ GetCustomPropertiesPropertyPropertyValueArgs{...} }

type GetCustomPropertiesPropertyPropertyValueArrayOutput added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueArrayOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) Index added in v3.24.0

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutput added in v3.24.0

func (o GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutput() GetCustomPropertiesPropertyPropertyValueArrayOutput

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext added in v3.24.0

func (o GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyPropertyValueArrayOutput

type GetCustomPropertiesPropertyPropertyValueInput added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueInput interface {
	pulumi.Input

	ToGetCustomPropertiesPropertyPropertyValueOutput() GetCustomPropertiesPropertyPropertyValueOutput
	ToGetCustomPropertiesPropertyPropertyValueOutputWithContext(context.Context) GetCustomPropertiesPropertyPropertyValueOutput
}

GetCustomPropertiesPropertyPropertyValueInput is an input type that accepts GetCustomPropertiesPropertyPropertyValueArgs and GetCustomPropertiesPropertyPropertyValueOutput values. You can construct a concrete instance of `GetCustomPropertiesPropertyPropertyValueInput` via:

GetCustomPropertiesPropertyPropertyValueArgs{...}

type GetCustomPropertiesPropertyPropertyValueOutput added in v3.24.0

type GetCustomPropertiesPropertyPropertyValueOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyPropertyValueOutput) ElementType added in v3.24.0

func (GetCustomPropertiesPropertyPropertyValueOutput) PropertyValue added in v3.24.0

The value of an attribute.

func (GetCustomPropertiesPropertyPropertyValueOutput) PropertyValueId added in v3.24.0

The value of an attribute id.

func (GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutput added in v3.24.0

func (o GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutput() GetCustomPropertiesPropertyPropertyValueOutput

func (GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext added in v3.24.0

func (o GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext(ctx context.Context) GetCustomPropertiesPropertyPropertyValueOutput

type GetCustomPropertiesResult added in v3.24.0

type GetCustomPropertiesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                        `pulumi:"id"`
	Ids        []string                      `pulumi:"ids"`
	OutputFile *string                       `pulumi:"outputFile"`
	Properties []GetCustomPropertiesProperty `pulumi:"properties"`
}

A collection of values returned by getCustomProperties.

func GetCustomProperties added in v3.24.0

func GetCustomProperties(ctx *pulumi.Context, args *GetCustomPropertiesArgs, opts ...pulumi.InvokeOption) (*GetCustomPropertiesResult, error)

This data source provides the Ecd Custom Properties of the current Alibaba Cloud user.

> **NOTE:** Available in v1.176.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetCustomProperties(ctx, &eds.GetCustomPropertiesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdCustomPropertyId1", ids.Properties[0].Id)
		return nil
	})
}

```

type GetCustomPropertiesResultOutput added in v3.24.0

type GetCustomPropertiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomProperties.

func GetCustomPropertiesOutput added in v3.24.0

func (GetCustomPropertiesResultOutput) ElementType added in v3.24.0

func (GetCustomPropertiesResultOutput) Id added in v3.24.0

The provider-assigned unique ID for this managed resource.

func (GetCustomPropertiesResultOutput) Ids added in v3.24.0

func (GetCustomPropertiesResultOutput) OutputFile added in v3.24.0

func (GetCustomPropertiesResultOutput) Properties added in v3.24.0

func (GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutput added in v3.24.0

func (o GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutput() GetCustomPropertiesResultOutput

func (GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutputWithContext added in v3.24.0

func (o GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutputWithContext(ctx context.Context) GetCustomPropertiesResultOutput

type GetDesktopTypesArgs added in v3.21.0

type GetDesktopTypesArgs struct {
	// The CPU cores.
	CpuCount *int `pulumi:"cpuCount"`
	// The GPU cores.
	GpuCount *float64 `pulumi:"gpuCount"`
	// A list of Desktop Type IDs.
	Ids []string `pulumi:"ids"`
	// The Specification family.
	InstanceTypeFamily *string `pulumi:"instanceTypeFamily"`
	// The Memory size. Unit: MiB.
	MemorySize *int `pulumi:"memorySize"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getDesktopTypes.

type GetDesktopTypesOutputArgs added in v3.21.0

type GetDesktopTypesOutputArgs struct {
	// The CPU cores.
	CpuCount pulumi.IntPtrInput `pulumi:"cpuCount"`
	// The GPU cores.
	GpuCount pulumi.Float64PtrInput `pulumi:"gpuCount"`
	// A list of Desktop Type IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The Specification family.
	InstanceTypeFamily pulumi.StringPtrInput `pulumi:"instanceTypeFamily"`
	// The Memory size. Unit: MiB.
	MemorySize pulumi.IntPtrInput `pulumi:"memorySize"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getDesktopTypes.

func (GetDesktopTypesOutputArgs) ElementType added in v3.21.0

func (GetDesktopTypesOutputArgs) ElementType() reflect.Type

type GetDesktopTypesResult added in v3.21.0

type GetDesktopTypesResult struct {
	CpuCount *int     `pulumi:"cpuCount"`
	GpuCount *float64 `pulumi:"gpuCount"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string                `pulumi:"id"`
	Ids                []string              `pulumi:"ids"`
	InstanceTypeFamily *string               `pulumi:"instanceTypeFamily"`
	MemorySize         *int                  `pulumi:"memorySize"`
	OutputFile         *string               `pulumi:"outputFile"`
	Status             *string               `pulumi:"status"`
	Types              []GetDesktopTypesType `pulumi:"types"`
}

A collection of values returned by getDesktopTypes.

func GetDesktopTypes added in v3.21.0

func GetDesktopTypes(ctx *pulumi.Context, args *GetDesktopTypesArgs, opts ...pulumi.InvokeOption) (*GetDesktopTypesResult, error)

This data source provides the Ecd Desktop Types of the current Alibaba Cloud user.

> **NOTE:** Available in v1.170.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetDesktopTypes(ctx, &eds.GetDesktopTypesArgs{
			InstanceTypeFamily: pulumi.StringRef("eds.hf"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdDesktopTypeId1", ids.Types[0].Id)
		return nil
	})
}

```

type GetDesktopTypesResultOutput added in v3.21.0

type GetDesktopTypesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDesktopTypes.

func GetDesktopTypesOutput added in v3.21.0

func (GetDesktopTypesResultOutput) CpuCount added in v3.21.0

func (GetDesktopTypesResultOutput) ElementType added in v3.21.0

func (GetDesktopTypesResultOutput) GpuCount added in v3.21.0

func (GetDesktopTypesResultOutput) Id added in v3.21.0

The provider-assigned unique ID for this managed resource.

func (GetDesktopTypesResultOutput) Ids added in v3.21.0

func (GetDesktopTypesResultOutput) InstanceTypeFamily added in v3.21.0

func (o GetDesktopTypesResultOutput) InstanceTypeFamily() pulumi.StringPtrOutput

func (GetDesktopTypesResultOutput) MemorySize added in v3.21.0

func (GetDesktopTypesResultOutput) OutputFile added in v3.21.0

func (GetDesktopTypesResultOutput) Status added in v3.21.0

func (GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutput added in v3.21.0

func (o GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutput() GetDesktopTypesResultOutput

func (GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutputWithContext added in v3.21.0

func (o GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutputWithContext(ctx context.Context) GetDesktopTypesResultOutput

func (GetDesktopTypesResultOutput) Types added in v3.21.0

type GetDesktopTypesType added in v3.21.0

type GetDesktopTypesType struct {
	// The CPU cores.
	CpuCount string `pulumi:"cpuCount"`
	// The size of the data disk. Unit: GiB.
	DataDiskSize string `pulumi:"dataDiskSize"`
	// Specification ID.
	DesktopTypeId string `pulumi:"desktopTypeId"`
	// The GPU cores.
	GpuCount float64 `pulumi:"gpuCount"`
	// The GPU video memory.
	GpuSpec string `pulumi:"gpuSpec"`
	// The ID of the Desktop Type.
	Id string `pulumi:"id"`
	// The Specification family.
	InstanceTypeFamily string `pulumi:"instanceTypeFamily"`
	// The Memory size. Unit: MiB.
	MemorySize string `pulumi:"memorySize"`
	// The status of the resource.
	Status string `pulumi:"status"`
	// The size of the system disk. Unit: GiB.
	SystemDiskSize string `pulumi:"systemDiskSize"`
}

type GetDesktopTypesTypeArgs added in v3.21.0

type GetDesktopTypesTypeArgs struct {
	// The CPU cores.
	CpuCount pulumi.StringInput `pulumi:"cpuCount"`
	// The size of the data disk. Unit: GiB.
	DataDiskSize pulumi.StringInput `pulumi:"dataDiskSize"`
	// Specification ID.
	DesktopTypeId pulumi.StringInput `pulumi:"desktopTypeId"`
	// The GPU cores.
	GpuCount pulumi.Float64Input `pulumi:"gpuCount"`
	// The GPU video memory.
	GpuSpec pulumi.StringInput `pulumi:"gpuSpec"`
	// The ID of the Desktop Type.
	Id pulumi.StringInput `pulumi:"id"`
	// The Specification family.
	InstanceTypeFamily pulumi.StringInput `pulumi:"instanceTypeFamily"`
	// The Memory size. Unit: MiB.
	MemorySize pulumi.StringInput `pulumi:"memorySize"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
	// The size of the system disk. Unit: GiB.
	SystemDiskSize pulumi.StringInput `pulumi:"systemDiskSize"`
}

func (GetDesktopTypesTypeArgs) ElementType added in v3.21.0

func (GetDesktopTypesTypeArgs) ElementType() reflect.Type

func (GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutput added in v3.21.0

func (i GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutput() GetDesktopTypesTypeOutput

func (GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutputWithContext added in v3.21.0

func (i GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutputWithContext(ctx context.Context) GetDesktopTypesTypeOutput

type GetDesktopTypesTypeArray added in v3.21.0

type GetDesktopTypesTypeArray []GetDesktopTypesTypeInput

func (GetDesktopTypesTypeArray) ElementType added in v3.21.0

func (GetDesktopTypesTypeArray) ElementType() reflect.Type

func (GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutput added in v3.21.0

func (i GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutput() GetDesktopTypesTypeArrayOutput

func (GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutputWithContext added in v3.21.0

func (i GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutputWithContext(ctx context.Context) GetDesktopTypesTypeArrayOutput

type GetDesktopTypesTypeArrayInput added in v3.21.0

type GetDesktopTypesTypeArrayInput interface {
	pulumi.Input

	ToGetDesktopTypesTypeArrayOutput() GetDesktopTypesTypeArrayOutput
	ToGetDesktopTypesTypeArrayOutputWithContext(context.Context) GetDesktopTypesTypeArrayOutput
}

GetDesktopTypesTypeArrayInput is an input type that accepts GetDesktopTypesTypeArray and GetDesktopTypesTypeArrayOutput values. You can construct a concrete instance of `GetDesktopTypesTypeArrayInput` via:

GetDesktopTypesTypeArray{ GetDesktopTypesTypeArgs{...} }

type GetDesktopTypesTypeArrayOutput added in v3.21.0

type GetDesktopTypesTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDesktopTypesTypeArrayOutput) ElementType added in v3.21.0

func (GetDesktopTypesTypeArrayOutput) Index added in v3.21.0

func (GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutput added in v3.21.0

func (o GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutput() GetDesktopTypesTypeArrayOutput

func (GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutputWithContext added in v3.21.0

func (o GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutputWithContext(ctx context.Context) GetDesktopTypesTypeArrayOutput

type GetDesktopTypesTypeInput added in v3.21.0

type GetDesktopTypesTypeInput interface {
	pulumi.Input

	ToGetDesktopTypesTypeOutput() GetDesktopTypesTypeOutput
	ToGetDesktopTypesTypeOutputWithContext(context.Context) GetDesktopTypesTypeOutput
}

GetDesktopTypesTypeInput is an input type that accepts GetDesktopTypesTypeArgs and GetDesktopTypesTypeOutput values. You can construct a concrete instance of `GetDesktopTypesTypeInput` via:

GetDesktopTypesTypeArgs{...}

type GetDesktopTypesTypeOutput added in v3.21.0

type GetDesktopTypesTypeOutput struct{ *pulumi.OutputState }

func (GetDesktopTypesTypeOutput) CpuCount added in v3.21.0

The CPU cores.

func (GetDesktopTypesTypeOutput) DataDiskSize added in v3.21.0

The size of the data disk. Unit: GiB.

func (GetDesktopTypesTypeOutput) DesktopTypeId added in v3.21.0

func (o GetDesktopTypesTypeOutput) DesktopTypeId() pulumi.StringOutput

Specification ID.

func (GetDesktopTypesTypeOutput) ElementType added in v3.21.0

func (GetDesktopTypesTypeOutput) ElementType() reflect.Type

func (GetDesktopTypesTypeOutput) GpuCount added in v3.21.0

The GPU cores.

func (GetDesktopTypesTypeOutput) GpuSpec added in v3.21.0

The GPU video memory.

func (GetDesktopTypesTypeOutput) Id added in v3.21.0

The ID of the Desktop Type.

func (GetDesktopTypesTypeOutput) InstanceTypeFamily added in v3.21.0

func (o GetDesktopTypesTypeOutput) InstanceTypeFamily() pulumi.StringOutput

The Specification family.

func (GetDesktopTypesTypeOutput) MemorySize added in v3.21.0

The Memory size. Unit: MiB.

func (GetDesktopTypesTypeOutput) Status added in v3.21.0

The status of the resource.

func (GetDesktopTypesTypeOutput) SystemDiskSize added in v3.21.0

func (o GetDesktopTypesTypeOutput) SystemDiskSize() pulumi.StringOutput

The size of the system disk. Unit: GiB.

func (GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutput added in v3.21.0

func (o GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutput() GetDesktopTypesTypeOutput

func (GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutputWithContext added in v3.21.0

func (o GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutputWithContext(ctx context.Context) GetDesktopTypesTypeOutput

type GetDesktopsArgs added in v3.10.0

type GetDesktopsArgs struct {
	// The desktop name of the Desktop.
	DesktopName *string `pulumi:"desktopName"`
	// The desktop end user id of the Desktop.
	EndUserIds []string `pulumi:"endUserIds"`
	// A list of Desktop IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Desktop name.
	NameRegex *string `pulumi:"nameRegex"`
	// The ID of the Simple Office Site.
	OfficeSiteId *string `pulumi:"officeSiteId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The policy group id of the Desktop.
	PolicyGroupId *string `pulumi:"policyGroupId"`
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getDesktops.

type GetDesktopsDesktop added in v3.10.0

type GetDesktopsDesktop struct {
	// The number of CPUs.
	Cpu int `pulumi:"cpu"`
	// The creation time of the Desktop.
	CreateTime string `pulumi:"createTime"`
	// The desktop id of the Desktop.
	DesktopId string `pulumi:"desktopId"`
	// The desktop name of the Desktop.
	DesktopName string `pulumi:"desktopName"`
	// The desktop type of the Desktop.
	DesktopType string `pulumi:"desktopType"`
	// The directory id of the Desktop.
	DirectoryId string `pulumi:"directoryId"`
	// The desktop end user id of the Desktop.
	EndUserIds []string `pulumi:"endUserIds"`
	// The expired time of the Desktop.
	ExpiredTime string `pulumi:"expiredTime"`
	// The ID of the Desktop.
	Id string `pulumi:"id"`
	// The image id of the Desktop.
	ImageId string `pulumi:"imageId"`
	// The memory of the Desktop.
	Memory string `pulumi:"memory"`
	// The network interface id of the Desktop.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The payment type of the Desktop.
	PaymentType string `pulumi:"paymentType"`
	// The policy group id of the Desktop.
	PolicyGroupId string `pulumi:"policyGroupId"`
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status string `pulumi:"status"`
	// The system disk size of the Desktop.
	SystemDiskSize int `pulumi:"systemDiskSize"`
}

type GetDesktopsDesktopArgs added in v3.10.0

type GetDesktopsDesktopArgs struct {
	// The number of CPUs.
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// The creation time of the Desktop.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The desktop id of the Desktop.
	DesktopId pulumi.StringInput `pulumi:"desktopId"`
	// The desktop name of the Desktop.
	DesktopName pulumi.StringInput `pulumi:"desktopName"`
	// The desktop type of the Desktop.
	DesktopType pulumi.StringInput `pulumi:"desktopType"`
	// The directory id of the Desktop.
	DirectoryId pulumi.StringInput `pulumi:"directoryId"`
	// The desktop end user id of the Desktop.
	EndUserIds pulumi.StringArrayInput `pulumi:"endUserIds"`
	// The expired time of the Desktop.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The ID of the Desktop.
	Id pulumi.StringInput `pulumi:"id"`
	// The image id of the Desktop.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The memory of the Desktop.
	Memory pulumi.StringInput `pulumi:"memory"`
	// The network interface id of the Desktop.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The payment type of the Desktop.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// The policy group id of the Desktop.
	PolicyGroupId pulumi.StringInput `pulumi:"policyGroupId"`
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status pulumi.StringInput `pulumi:"status"`
	// The system disk size of the Desktop.
	SystemDiskSize pulumi.IntInput `pulumi:"systemDiskSize"`
}

func (GetDesktopsDesktopArgs) ElementType added in v3.10.0

func (GetDesktopsDesktopArgs) ElementType() reflect.Type

func (GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutput added in v3.10.0

func (i GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutput() GetDesktopsDesktopOutput

func (GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutputWithContext added in v3.10.0

func (i GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutputWithContext(ctx context.Context) GetDesktopsDesktopOutput

type GetDesktopsDesktopArray added in v3.10.0

type GetDesktopsDesktopArray []GetDesktopsDesktopInput

func (GetDesktopsDesktopArray) ElementType added in v3.10.0

func (GetDesktopsDesktopArray) ElementType() reflect.Type

func (GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutput added in v3.10.0

func (i GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutput() GetDesktopsDesktopArrayOutput

func (GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutputWithContext added in v3.10.0

func (i GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopArrayOutput

type GetDesktopsDesktopArrayInput added in v3.10.0

type GetDesktopsDesktopArrayInput interface {
	pulumi.Input

	ToGetDesktopsDesktopArrayOutput() GetDesktopsDesktopArrayOutput
	ToGetDesktopsDesktopArrayOutputWithContext(context.Context) GetDesktopsDesktopArrayOutput
}

GetDesktopsDesktopArrayInput is an input type that accepts GetDesktopsDesktopArray and GetDesktopsDesktopArrayOutput values. You can construct a concrete instance of `GetDesktopsDesktopArrayInput` via:

GetDesktopsDesktopArray{ GetDesktopsDesktopArgs{...} }

type GetDesktopsDesktopArrayOutput added in v3.10.0

type GetDesktopsDesktopArrayOutput struct{ *pulumi.OutputState }

func (GetDesktopsDesktopArrayOutput) ElementType added in v3.10.0

func (GetDesktopsDesktopArrayOutput) Index added in v3.10.0

func (GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutput added in v3.10.0

func (o GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutput() GetDesktopsDesktopArrayOutput

func (GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutputWithContext added in v3.10.0

func (o GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopArrayOutput

type GetDesktopsDesktopInput added in v3.10.0

type GetDesktopsDesktopInput interface {
	pulumi.Input

	ToGetDesktopsDesktopOutput() GetDesktopsDesktopOutput
	ToGetDesktopsDesktopOutputWithContext(context.Context) GetDesktopsDesktopOutput
}

GetDesktopsDesktopInput is an input type that accepts GetDesktopsDesktopArgs and GetDesktopsDesktopOutput values. You can construct a concrete instance of `GetDesktopsDesktopInput` via:

GetDesktopsDesktopArgs{...}

type GetDesktopsDesktopOutput added in v3.10.0

type GetDesktopsDesktopOutput struct{ *pulumi.OutputState }

func (GetDesktopsDesktopOutput) Cpu added in v3.10.0

The number of CPUs.

func (GetDesktopsDesktopOutput) CreateTime added in v3.10.0

The creation time of the Desktop.

func (GetDesktopsDesktopOutput) DesktopId added in v3.10.0

The desktop id of the Desktop.

func (GetDesktopsDesktopOutput) DesktopName added in v3.10.0

The desktop name of the Desktop.

func (GetDesktopsDesktopOutput) DesktopType added in v3.10.0

The desktop type of the Desktop.

func (GetDesktopsDesktopOutput) DirectoryId added in v3.10.0

The directory id of the Desktop.

func (GetDesktopsDesktopOutput) ElementType added in v3.10.0

func (GetDesktopsDesktopOutput) ElementType() reflect.Type

func (GetDesktopsDesktopOutput) EndUserIds added in v3.10.0

The desktop end user id of the Desktop.

func (GetDesktopsDesktopOutput) ExpiredTime added in v3.10.0

The expired time of the Desktop.

func (GetDesktopsDesktopOutput) Id added in v3.10.0

The ID of the Desktop.

func (GetDesktopsDesktopOutput) ImageId added in v3.10.0

The image id of the Desktop.

func (GetDesktopsDesktopOutput) Memory added in v3.10.0

The memory of the Desktop.

func (GetDesktopsDesktopOutput) NetworkInterfaceId added in v3.10.0

func (o GetDesktopsDesktopOutput) NetworkInterfaceId() pulumi.StringOutput

The network interface id of the Desktop.

func (GetDesktopsDesktopOutput) PaymentType added in v3.10.0

The payment type of the Desktop.

func (GetDesktopsDesktopOutput) PolicyGroupId added in v3.10.0

func (o GetDesktopsDesktopOutput) PolicyGroupId() pulumi.StringOutput

The policy group id of the Desktop.

func (GetDesktopsDesktopOutput) Status added in v3.10.0

The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.

func (GetDesktopsDesktopOutput) SystemDiskSize added in v3.10.0

func (o GetDesktopsDesktopOutput) SystemDiskSize() pulumi.IntOutput

The system disk size of the Desktop.

func (GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutput added in v3.10.0

func (o GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutput() GetDesktopsDesktopOutput

func (GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutputWithContext added in v3.10.0

func (o GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutputWithContext(ctx context.Context) GetDesktopsDesktopOutput

type GetDesktopsOutputArgs added in v3.10.0

type GetDesktopsOutputArgs struct {
	// The desktop name of the Desktop.
	DesktopName pulumi.StringPtrInput `pulumi:"desktopName"`
	// The desktop end user id of the Desktop.
	EndUserIds pulumi.StringArrayInput `pulumi:"endUserIds"`
	// A list of Desktop IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Desktop name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The ID of the Simple Office Site.
	OfficeSiteId pulumi.StringPtrInput `pulumi:"officeSiteId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The policy group id of the Desktop.
	PolicyGroupId pulumi.StringPtrInput `pulumi:"policyGroupId"`
	// The status of the Desktop. Valid values: `Deleted`, `Expired`, `Pending`, `Running`, `Starting`, `Stopped`, `Stopping`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getDesktops.

func (GetDesktopsOutputArgs) ElementType added in v3.10.0

func (GetDesktopsOutputArgs) ElementType() reflect.Type

type GetDesktopsResult added in v3.10.0

type GetDesktopsResult struct {
	DesktopName *string              `pulumi:"desktopName"`
	Desktops    []GetDesktopsDesktop `pulumi:"desktops"`
	EndUserIds  []string             `pulumi:"endUserIds"`
	// The provider-assigned unique ID for this managed resource.
	Id            string   `pulumi:"id"`
	Ids           []string `pulumi:"ids"`
	NameRegex     *string  `pulumi:"nameRegex"`
	Names         []string `pulumi:"names"`
	OfficeSiteId  *string  `pulumi:"officeSiteId"`
	OutputFile    *string  `pulumi:"outputFile"`
	PolicyGroupId *string  `pulumi:"policyGroupId"`
	Status        *string  `pulumi:"status"`
}

A collection of values returned by getDesktops.

func GetDesktops added in v3.10.0

func GetDesktops(ctx *pulumi.Context, args *GetDesktopsArgs, opts ...pulumi.InvokeOption) (*GetDesktopsResult, error)

This data source provides the Ecd Desktops of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go 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 {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String("your_office_site_name"),
		})
		if err != nil {
			return err
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String("your_policy_group_name"),
			Clipboard:       pulumi.String("readwrite"),
			LocalDrive:      pulumi.String("read"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("example_value"),
					CidrIp:      pulumi.String("1.2.3.4/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("example_value"),
					PortRange:   pulumi.String("80/80"),
					IpProtocol:  pulumi.String("TCP"),
					Priority:    pulumi.String("1"),
					CidrIp:      pulumi.String("0.0.0.0/0"),
				},
			},
		})
		if err != nil {
			return err
		}
		defaultUser, err := eds.NewUser(ctx, "default", &eds.UserArgs{
			EndUserId: pulumi.String("your_end_user_id"),
			Email:     pulumi.String("your_email"),
			Phone:     pulumi.String("your_phone"),
			Password:  pulumi.String("your_password"),
		})
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[0].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
			EndUserIds: pulumi.StringArray{
				defaultUser.ID(),
			},
		})
		if err != nil {
			return err
		}
		ids := eds.GetDesktopsOutput(ctx, eds.GetDesktopsOutputArgs{
			Ids: pulumi.StringArray{
				defaultDesktop.ID(),
			},
		}, nil)
		ctx.Export("ecdDesktopId1", ids.ApplyT(func(ids eds.GetDesktopsResult) (*string, error) {
			return &ids.Desktops[0].Id, nil
		}).(pulumi.StringPtrOutput))
		nameRegex := defaultDesktop.DesktopName.ApplyT(func(desktopName *string) (eds.GetDesktopsResult, error) {
			return eds.GetDesktopsOutput(ctx, eds.GetDesktopsOutputArgs{
				NameRegex: desktopName,
			}, nil), nil
		}).(eds.GetDesktopsResultOutput)
		ctx.Export("ecdDesktopId2", nameRegex.ApplyT(func(nameRegex eds.GetDesktopsResult) (*string, error) {
			return &nameRegex.Desktops[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetDesktopsResultOutput added in v3.10.0

type GetDesktopsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDesktops.

func GetDesktopsOutput added in v3.10.0

func GetDesktopsOutput(ctx *pulumi.Context, args GetDesktopsOutputArgs, opts ...pulumi.InvokeOption) GetDesktopsResultOutput

func (GetDesktopsResultOutput) DesktopName added in v3.10.0

func (GetDesktopsResultOutput) Desktops added in v3.10.0

func (GetDesktopsResultOutput) ElementType added in v3.10.0

func (GetDesktopsResultOutput) ElementType() reflect.Type

func (GetDesktopsResultOutput) EndUserIds added in v3.10.0

func (GetDesktopsResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetDesktopsResultOutput) Ids added in v3.10.0

func (GetDesktopsResultOutput) NameRegex added in v3.10.0

func (GetDesktopsResultOutput) Names added in v3.10.0

func (GetDesktopsResultOutput) OfficeSiteId added in v3.10.0

func (GetDesktopsResultOutput) OutputFile added in v3.10.0

func (GetDesktopsResultOutput) PolicyGroupId added in v3.10.0

func (GetDesktopsResultOutput) Status added in v3.10.0

func (GetDesktopsResultOutput) ToGetDesktopsResultOutput added in v3.10.0

func (o GetDesktopsResultOutput) ToGetDesktopsResultOutput() GetDesktopsResultOutput

func (GetDesktopsResultOutput) ToGetDesktopsResultOutputWithContext added in v3.10.0

func (o GetDesktopsResultOutput) ToGetDesktopsResultOutputWithContext(ctx context.Context) GetDesktopsResultOutput

type GetImagesArgs added in v3.11.0

type GetImagesArgs struct {
	// The desktop type of the image.
	DesktopInstanceType *string `pulumi:"desktopInstanceType"`
	// A list of Image IDs.
	Ids []string `pulumi:"ids"`
	// The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
	ImageType *string `pulumi:"imageType"`
	// A regex string to filter results by Image name.
	NameRegex *string `pulumi:"nameRegex"`
	// The os type of the image.
	OsType *string `pulumi:"osType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getImages.

type GetImagesImage added in v3.11.0

type GetImagesImage struct {
	// The creation time of the image.
	CreateTime string `pulumi:"createTime"`
	// The size of data disk of the image.
	DataDiskSize int `pulumi:"dataDiskSize"`
	// The description of the image.
	Description string `pulumi:"description"`
	// The Gpu Category of the image.
	GpuCategory bool `pulumi:"gpuCategory"`
	// The ID of the Image.
	Id string `pulumi:"id"`
	// The image id of the image.
	ImageId string `pulumi:"imageId"`
	// The image name.
	ImageName string `pulumi:"imageName"`
	// The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
	ImageType string `pulumi:"imageType"`
	// The os type of the image.
	OsType string `pulumi:"osType"`
	// The progress of the image.
	Progress string `pulumi:"progress"`
	// The size of the image.
	Size int `pulumi:"size"`
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status string `pulumi:"status"`
}

type GetImagesImageArgs added in v3.11.0

type GetImagesImageArgs struct {
	// The creation time of the image.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The size of data disk of the image.
	DataDiskSize pulumi.IntInput `pulumi:"dataDiskSize"`
	// The description of the image.
	Description pulumi.StringInput `pulumi:"description"`
	// The Gpu Category of the image.
	GpuCategory pulumi.BoolInput `pulumi:"gpuCategory"`
	// The ID of the Image.
	Id pulumi.StringInput `pulumi:"id"`
	// The image id of the image.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The image name.
	ImageName pulumi.StringInput `pulumi:"imageName"`
	// The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
	ImageType pulumi.StringInput `pulumi:"imageType"`
	// The os type of the image.
	OsType pulumi.StringInput `pulumi:"osType"`
	// The progress of the image.
	Progress pulumi.StringInput `pulumi:"progress"`
	// The size of the image.
	Size pulumi.IntInput `pulumi:"size"`
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetImagesImageArgs) ElementType added in v3.11.0

func (GetImagesImageArgs) ElementType() reflect.Type

func (GetImagesImageArgs) ToGetImagesImageOutput added in v3.11.0

func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageArgs) ToGetImagesImageOutputWithContext added in v3.11.0

func (i GetImagesImageArgs) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput

type GetImagesImageArray added in v3.11.0

type GetImagesImageArray []GetImagesImageInput

func (GetImagesImageArray) ElementType added in v3.11.0

func (GetImagesImageArray) ElementType() reflect.Type

func (GetImagesImageArray) ToGetImagesImageArrayOutput added in v3.11.0

func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArray) ToGetImagesImageArrayOutputWithContext added in v3.11.0

func (i GetImagesImageArray) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput

type GetImagesImageArrayInput added in v3.11.0

type GetImagesImageArrayInput interface {
	pulumi.Input

	ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
	ToGetImagesImageArrayOutputWithContext(context.Context) GetImagesImageArrayOutput
}

GetImagesImageArrayInput is an input type that accepts GetImagesImageArray and GetImagesImageArrayOutput values. You can construct a concrete instance of `GetImagesImageArrayInput` via:

GetImagesImageArray{ GetImagesImageArgs{...} }

type GetImagesImageArrayOutput added in v3.11.0

type GetImagesImageArrayOutput struct{ *pulumi.OutputState }

func (GetImagesImageArrayOutput) ElementType added in v3.11.0

func (GetImagesImageArrayOutput) ElementType() reflect.Type

func (GetImagesImageArrayOutput) Index added in v3.11.0

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutput added in v3.11.0

func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext added in v3.11.0

func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput

type GetImagesImageInput added in v3.11.0

type GetImagesImageInput interface {
	pulumi.Input

	ToGetImagesImageOutput() GetImagesImageOutput
	ToGetImagesImageOutputWithContext(context.Context) GetImagesImageOutput
}

GetImagesImageInput is an input type that accepts GetImagesImageArgs and GetImagesImageOutput values. You can construct a concrete instance of `GetImagesImageInput` via:

GetImagesImageArgs{...}

type GetImagesImageOutput added in v3.11.0

type GetImagesImageOutput struct{ *pulumi.OutputState }

func (GetImagesImageOutput) CreateTime added in v3.11.0

func (o GetImagesImageOutput) CreateTime() pulumi.StringOutput

The creation time of the image.

func (GetImagesImageOutput) DataDiskSize added in v3.11.0

func (o GetImagesImageOutput) DataDiskSize() pulumi.IntOutput

The size of data disk of the image.

func (GetImagesImageOutput) Description added in v3.11.0

func (o GetImagesImageOutput) Description() pulumi.StringOutput

The description of the image.

func (GetImagesImageOutput) ElementType added in v3.11.0

func (GetImagesImageOutput) ElementType() reflect.Type

func (GetImagesImageOutput) GpuCategory added in v3.11.0

func (o GetImagesImageOutput) GpuCategory() pulumi.BoolOutput

The Gpu Category of the image.

func (GetImagesImageOutput) Id added in v3.11.0

The ID of the Image.

func (GetImagesImageOutput) ImageId added in v3.11.0

The image id of the image.

func (GetImagesImageOutput) ImageName added in v3.11.0

The image name.

func (GetImagesImageOutput) ImageType added in v3.11.0

The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.

func (GetImagesImageOutput) OsType added in v3.11.0

The os type of the image.

func (GetImagesImageOutput) Progress added in v3.11.0

The progress of the image.

func (GetImagesImageOutput) Size added in v3.11.0

The size of the image.

func (GetImagesImageOutput) Status added in v3.11.0

The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.

func (GetImagesImageOutput) ToGetImagesImageOutput added in v3.11.0

func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageOutput) ToGetImagesImageOutputWithContext added in v3.11.0

func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput

type GetImagesOutputArgs added in v3.11.0

type GetImagesOutputArgs struct {
	// The desktop type of the image.
	DesktopInstanceType pulumi.StringPtrInput `pulumi:"desktopInstanceType"`
	// A list of Image IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
	ImageType pulumi.StringPtrInput `pulumi:"imageType"`
	// A regex string to filter results by Image name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The os type of the image.
	OsType pulumi.StringPtrInput `pulumi:"osType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getImages.

func (GetImagesOutputArgs) ElementType added in v3.11.0

func (GetImagesOutputArgs) ElementType() reflect.Type

type GetImagesResult added in v3.11.0

type GetImagesResult struct {
	DesktopInstanceType *string `pulumi:"desktopInstanceType"`
	// The provider-assigned unique ID for this managed resource.
	Id         string           `pulumi:"id"`
	Ids        []string         `pulumi:"ids"`
	ImageType  *string          `pulumi:"imageType"`
	Images     []GetImagesImage `pulumi:"images"`
	NameRegex  *string          `pulumi:"nameRegex"`
	Names      []string         `pulumi:"names"`
	OsType     *string          `pulumi:"osType"`
	OutputFile *string          `pulumi:"outputFile"`
	Status     *string          `pulumi:"status"`
}

A collection of values returned by getImages.

func GetImages added in v3.11.0

func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error)

This data source provides the Ecd Images of the current Alibaba Cloud user.

> **NOTE:** Available in v1.146.0+.

## Example Usage

Basic Usage

```go 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 {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String("your_simple_office_site_name"),
		})
		if err != nil {
			return err
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String("your_policy_group_name"),
			Clipboard:       pulumi.String("readwrite"),
			LocalDrive:      pulumi.String("read"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("example_value"),
					CidrIp:      pulumi.String("1.2.3.4/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("example_value"),
					PortRange:   pulumi.String("80/80"),
					IpProtocol:  pulumi.String("TCP"),
					Priority:    pulumi.String("1"),
					CidrIp:      pulumi.String("0.0.0.0/0"),
				},
			},
		})
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[1].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
		})
		if err != nil {
			return err
		}
		defaultImage, err := eds.NewImage(ctx, "default", &eds.ImageArgs{
			ImageName:   pulumi.String("your_image_name"),
			DesktopId:   defaultDesktop.ID(),
			Description: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		ids := eds.GetImagesOutput(ctx, eds.GetImagesOutputArgs{
			Ids: pulumi.StringArray{
				defaultImage.ID(),
			},
		}, nil)
		ctx.Export("ecdImageId1", ids.ApplyT(func(ids eds.GetImagesResult) (*string, error) {
			return &ids.Images[0].Id, nil
		}).(pulumi.StringPtrOutput))
		nameRegex := defaultImage.ImageName.ApplyT(func(imageName *string) (eds.GetImagesResult, error) {
			return eds.GetImagesOutput(ctx, eds.GetImagesOutputArgs{
				NameRegex: imageName,
			}, nil), nil
		}).(eds.GetImagesResultOutput)
		ctx.Export("ecdImageId2", nameRegex.ApplyT(func(nameRegex eds.GetImagesResult) (*string, error) {
			return &nameRegex.Images[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetImagesResultOutput added in v3.11.0

type GetImagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getImages.

func GetImagesOutput added in v3.11.0

func GetImagesOutput(ctx *pulumi.Context, args GetImagesOutputArgs, opts ...pulumi.InvokeOption) GetImagesResultOutput

func (GetImagesResultOutput) DesktopInstanceType added in v3.21.0

func (o GetImagesResultOutput) DesktopInstanceType() pulumi.StringPtrOutput

func (GetImagesResultOutput) ElementType added in v3.11.0

func (GetImagesResultOutput) ElementType() reflect.Type

func (GetImagesResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetImagesResultOutput) Ids added in v3.11.0

func (GetImagesResultOutput) ImageType added in v3.11.0

func (GetImagesResultOutput) Images added in v3.11.0

func (GetImagesResultOutput) NameRegex added in v3.11.0

func (GetImagesResultOutput) Names added in v3.11.0

func (GetImagesResultOutput) OsType added in v3.21.0

func (GetImagesResultOutput) OutputFile added in v3.11.0

func (GetImagesResultOutput) Status added in v3.11.0

func (GetImagesResultOutput) ToGetImagesResultOutput added in v3.11.0

func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput

func (GetImagesResultOutput) ToGetImagesResultOutputWithContext added in v3.11.0

func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput

type GetNasFileSystemsArgs added in v3.9.0

type GetNasFileSystemsArgs struct {
	// A list of Nas File System IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Nas File System name.
	NameRegex *string `pulumi:"nameRegex"`
	// The ID of office site.
	OfficeSiteId *string `pulumi:"officeSiteId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getNasFileSystems.

type GetNasFileSystemsOutputArgs added in v3.9.0

type GetNasFileSystemsOutputArgs struct {
	// A list of Nas File System IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Nas File System name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The ID of office site.
	OfficeSiteId pulumi.StringPtrInput `pulumi:"officeSiteId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getNasFileSystems.

func (GetNasFileSystemsOutputArgs) ElementType added in v3.9.0

type GetNasFileSystemsResult added in v3.9.0

type GetNasFileSystemsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id           string                    `pulumi:"id"`
	Ids          []string                  `pulumi:"ids"`
	NameRegex    *string                   `pulumi:"nameRegex"`
	Names        []string                  `pulumi:"names"`
	OfficeSiteId *string                   `pulumi:"officeSiteId"`
	OutputFile   *string                   `pulumi:"outputFile"`
	Status       *string                   `pulumi:"status"`
	Systems      []GetNasFileSystemsSystem `pulumi:"systems"`
}

A collection of values returned by getNasFileSystems.

func GetNasFileSystems added in v3.9.0

func GetNasFileSystems(ctx *pulumi.Context, args *GetNasFileSystemsArgs, opts ...pulumi.InvokeOption) (*GetNasFileSystemsResult, error)

This data source provides the Ecd Nas File Systems of the current Alibaba Cloud user.

> **NOTE:** Available in v1.141.0+.

## Example Usage

Basic Usage

```go 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.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:            pulumi.String("172.16.0.0/12"),
			DesktopAccessType:    pulumi.String("Internet"),
			OfficeSiteName:       pulumi.String("your_office_site_name"),
			EnableInternetAccess: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		defaultNasFileSystem, err := eds.NewNasFileSystem(ctx, "default", &eds.NasFileSystemArgs{
			Description:       pulumi.String("your_description"),
			OfficeSiteId:      _default.ID(),
			NasFileSystemName: pulumi.String("your_nas_file_system_name"),
		})
		if err != nil {
			return err
		}
		ids, err := eds.GetNasFileSystems(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdNasFileSystemId1", ids.Systems[0].Id)
		nameRegex := defaultNasFileSystem.NasFileSystemName.ApplyT(func(nasFileSystemName *string) (eds.GetNasFileSystemsResult, error) {
			return eds.GetNasFileSystemsOutput(ctx, eds.GetNasFileSystemsOutputArgs{
				NameRegex: nasFileSystemName,
			}, nil), nil
		}).(eds.GetNasFileSystemsResultOutput)
		ctx.Export("ecdNasFileSystemId2", nameRegex.ApplyT(func(nameRegex eds.GetNasFileSystemsResult) (*string, error) {
			return &nameRegex.Systems[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetNasFileSystemsResultOutput added in v3.9.0

type GetNasFileSystemsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNasFileSystems.

func GetNasFileSystemsOutput added in v3.9.0

func (GetNasFileSystemsResultOutput) ElementType added in v3.9.0

func (GetNasFileSystemsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetNasFileSystemsResultOutput) Ids added in v3.9.0

func (GetNasFileSystemsResultOutput) NameRegex added in v3.9.0

func (GetNasFileSystemsResultOutput) Names added in v3.9.0

func (GetNasFileSystemsResultOutput) OfficeSiteId added in v3.9.0

func (GetNasFileSystemsResultOutput) OutputFile added in v3.9.0

func (GetNasFileSystemsResultOutput) Status added in v3.9.0

func (GetNasFileSystemsResultOutput) Systems added in v3.9.0

func (GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutput added in v3.9.0

func (o GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutput() GetNasFileSystemsResultOutput

func (GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutputWithContext added in v3.9.0

func (o GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutputWithContext(ctx context.Context) GetNasFileSystemsResultOutput

type GetNasFileSystemsSystem added in v3.9.0

type GetNasFileSystemsSystem struct {
	// The capacity of nas file system.
	Capacity string `pulumi:"capacity"`
	// The create time of nas file system.
	CreateTime string `pulumi:"createTime"`
	// The description of nas file system.
	Description string `pulumi:"description"`
	// The filesystem id of nas file system.
	FileSystemId string `pulumi:"fileSystemId"`
	// The type of nas file system.
	FileSystemType string `pulumi:"fileSystemType"`
	// The ID of the Nas File System.
	Id string `pulumi:"id"`
	// The size of metered.
	MeteredSize string `pulumi:"meteredSize"`
	// The domain of mount target.
	MountTargetDomain string `pulumi:"mountTargetDomain"`
	// The status of mount target. Valid values: `Pending`, `Active`, `Inactive`,`Deleting`,`Invalid`.
	MountTargetStatus string `pulumi:"mountTargetStatus"`
	// The name of nas file system.
	NasFileSystemName string `pulumi:"nasFileSystemName"`
	// The ID of office site.
	OfficeSiteId string `pulumi:"officeSiteId"`
	// The name of office site.
	OfficeSiteName string `pulumi:"officeSiteName"`
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status string `pulumi:"status"`
	// The storage type of nas file system.
	StorageType string `pulumi:"storageType"`
	// Whether to support Acl.
	SupportAcl bool `pulumi:"supportAcl"`
	// The zone id of nas file system.
	ZoneId string `pulumi:"zoneId"`
}

type GetNasFileSystemsSystemArgs added in v3.9.0

type GetNasFileSystemsSystemArgs struct {
	// The capacity of nas file system.
	Capacity pulumi.StringInput `pulumi:"capacity"`
	// The create time of nas file system.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of nas file system.
	Description pulumi.StringInput `pulumi:"description"`
	// The filesystem id of nas file system.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
	// The type of nas file system.
	FileSystemType pulumi.StringInput `pulumi:"fileSystemType"`
	// The ID of the Nas File System.
	Id pulumi.StringInput `pulumi:"id"`
	// The size of metered.
	MeteredSize pulumi.StringInput `pulumi:"meteredSize"`
	// The domain of mount target.
	MountTargetDomain pulumi.StringInput `pulumi:"mountTargetDomain"`
	// The status of mount target. Valid values: `Pending`, `Active`, `Inactive`,`Deleting`,`Invalid`.
	MountTargetStatus pulumi.StringInput `pulumi:"mountTargetStatus"`
	// The name of nas file system.
	NasFileSystemName pulumi.StringInput `pulumi:"nasFileSystemName"`
	// The ID of office site.
	OfficeSiteId pulumi.StringInput `pulumi:"officeSiteId"`
	// The name of office site.
	OfficeSiteName pulumi.StringInput `pulumi:"officeSiteName"`
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status pulumi.StringInput `pulumi:"status"`
	// The storage type of nas file system.
	StorageType pulumi.StringInput `pulumi:"storageType"`
	// Whether to support Acl.
	SupportAcl pulumi.BoolInput `pulumi:"supportAcl"`
	// The zone id of nas file system.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetNasFileSystemsSystemArgs) ElementType added in v3.9.0

func (GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutput added in v3.9.0

func (i GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutput() GetNasFileSystemsSystemOutput

func (GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutputWithContext added in v3.9.0

func (i GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutputWithContext(ctx context.Context) GetNasFileSystemsSystemOutput

type GetNasFileSystemsSystemArray added in v3.9.0

type GetNasFileSystemsSystemArray []GetNasFileSystemsSystemInput

func (GetNasFileSystemsSystemArray) ElementType added in v3.9.0

func (GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutput added in v3.9.0

func (i GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutput() GetNasFileSystemsSystemArrayOutput

func (GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutputWithContext added in v3.9.0

func (i GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutputWithContext(ctx context.Context) GetNasFileSystemsSystemArrayOutput

type GetNasFileSystemsSystemArrayInput added in v3.9.0

type GetNasFileSystemsSystemArrayInput interface {
	pulumi.Input

	ToGetNasFileSystemsSystemArrayOutput() GetNasFileSystemsSystemArrayOutput
	ToGetNasFileSystemsSystemArrayOutputWithContext(context.Context) GetNasFileSystemsSystemArrayOutput
}

GetNasFileSystemsSystemArrayInput is an input type that accepts GetNasFileSystemsSystemArray and GetNasFileSystemsSystemArrayOutput values. You can construct a concrete instance of `GetNasFileSystemsSystemArrayInput` via:

GetNasFileSystemsSystemArray{ GetNasFileSystemsSystemArgs{...} }

type GetNasFileSystemsSystemArrayOutput added in v3.9.0

type GetNasFileSystemsSystemArrayOutput struct{ *pulumi.OutputState }

func (GetNasFileSystemsSystemArrayOutput) ElementType added in v3.9.0

func (GetNasFileSystemsSystemArrayOutput) Index added in v3.9.0

func (GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutput added in v3.9.0

func (o GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutput() GetNasFileSystemsSystemArrayOutput

func (GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutputWithContext added in v3.9.0

func (o GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutputWithContext(ctx context.Context) GetNasFileSystemsSystemArrayOutput

type GetNasFileSystemsSystemInput added in v3.9.0

type GetNasFileSystemsSystemInput interface {
	pulumi.Input

	ToGetNasFileSystemsSystemOutput() GetNasFileSystemsSystemOutput
	ToGetNasFileSystemsSystemOutputWithContext(context.Context) GetNasFileSystemsSystemOutput
}

GetNasFileSystemsSystemInput is an input type that accepts GetNasFileSystemsSystemArgs and GetNasFileSystemsSystemOutput values. You can construct a concrete instance of `GetNasFileSystemsSystemInput` via:

GetNasFileSystemsSystemArgs{...}

type GetNasFileSystemsSystemOutput added in v3.9.0

type GetNasFileSystemsSystemOutput struct{ *pulumi.OutputState }

func (GetNasFileSystemsSystemOutput) Capacity added in v3.9.0

The capacity of nas file system.

func (GetNasFileSystemsSystemOutput) CreateTime added in v3.9.0

The create time of nas file system.

func (GetNasFileSystemsSystemOutput) Description added in v3.9.0

The description of nas file system.

func (GetNasFileSystemsSystemOutput) ElementType added in v3.9.0

func (GetNasFileSystemsSystemOutput) FileSystemId added in v3.9.0

The filesystem id of nas file system.

func (GetNasFileSystemsSystemOutput) FileSystemType added in v3.9.0

The type of nas file system.

func (GetNasFileSystemsSystemOutput) Id added in v3.9.0

The ID of the Nas File System.

func (GetNasFileSystemsSystemOutput) MeteredSize added in v3.9.0

The size of metered.

func (GetNasFileSystemsSystemOutput) MountTargetDomain added in v3.9.0

func (o GetNasFileSystemsSystemOutput) MountTargetDomain() pulumi.StringOutput

The domain of mount target.

func (GetNasFileSystemsSystemOutput) MountTargetStatus added in v3.9.0

func (o GetNasFileSystemsSystemOutput) MountTargetStatus() pulumi.StringOutput

The status of mount target. Valid values: `Pending`, `Active`, `Inactive`,`Deleting`,`Invalid`.

func (GetNasFileSystemsSystemOutput) NasFileSystemName added in v3.9.0

func (o GetNasFileSystemsSystemOutput) NasFileSystemName() pulumi.StringOutput

The name of nas file system.

func (GetNasFileSystemsSystemOutput) OfficeSiteId added in v3.9.0

The ID of office site.

func (GetNasFileSystemsSystemOutput) OfficeSiteName added in v3.9.0

The name of office site.

func (GetNasFileSystemsSystemOutput) Status added in v3.9.0

The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.

func (GetNasFileSystemsSystemOutput) StorageType added in v3.9.0

The storage type of nas file system.

func (GetNasFileSystemsSystemOutput) SupportAcl added in v3.9.0

Whether to support Acl.

func (GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutput added in v3.9.0

func (o GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutput() GetNasFileSystemsSystemOutput

func (GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutputWithContext added in v3.9.0

func (o GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutputWithContext(ctx context.Context) GetNasFileSystemsSystemOutput

func (GetNasFileSystemsSystemOutput) ZoneId added in v3.9.0

The zone id of nas file system.

type GetNetworkPackagesArgs added in v3.10.0

type GetNetworkPackagesArgs struct {
	// A list of Network Package IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getNetworkPackages.

type GetNetworkPackagesOutputArgs added in v3.10.0

type GetNetworkPackagesOutputArgs struct {
	// A list of Network Package IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getNetworkPackages.

func (GetNetworkPackagesOutputArgs) ElementType added in v3.10.0

type GetNetworkPackagesPackage added in v3.10.0

type GetNetworkPackagesPackage struct {
	// The bandwidth of package.
	Bandwidth int `pulumi:"bandwidth"`
	// The creation time of network package.
	CreateTime string `pulumi:"createTime"`
	// The public IP address list of the network packet.
	EipAddresses []string `pulumi:"eipAddresses"`
	// The expired time of package.
	ExpiredTime string `pulumi:"expiredTime"`
	// The ID of the Network Package.
	Id string `pulumi:"id"`
	// The internet charge type  of  package.
	InternetChargeType string `pulumi:"internetChargeType"`
	// The ID of network package.
	NetworkPackageId string `pulumi:"networkPackageId"`
	// The ID of office site.
	OfficeSiteId string `pulumi:"officeSiteId"`
	// The name of office site.
	OfficeSiteName string `pulumi:"officeSiteName"`
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status string `pulumi:"status"`
}

type GetNetworkPackagesPackageArgs added in v3.10.0

type GetNetworkPackagesPackageArgs struct {
	// The bandwidth of package.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The creation time of network package.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The public IP address list of the network packet.
	EipAddresses pulumi.StringArrayInput `pulumi:"eipAddresses"`
	// The expired time of package.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The ID of the Network Package.
	Id pulumi.StringInput `pulumi:"id"`
	// The internet charge type  of  package.
	InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"`
	// The ID of network package.
	NetworkPackageId pulumi.StringInput `pulumi:"networkPackageId"`
	// The ID of office site.
	OfficeSiteId pulumi.StringInput `pulumi:"officeSiteId"`
	// The name of office site.
	OfficeSiteName pulumi.StringInput `pulumi:"officeSiteName"`
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetNetworkPackagesPackageArgs) ElementType added in v3.10.0

func (GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutput added in v3.10.0

func (i GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutput() GetNetworkPackagesPackageOutput

func (GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutputWithContext added in v3.10.0

func (i GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutputWithContext(ctx context.Context) GetNetworkPackagesPackageOutput

type GetNetworkPackagesPackageArray added in v3.10.0

type GetNetworkPackagesPackageArray []GetNetworkPackagesPackageInput

func (GetNetworkPackagesPackageArray) ElementType added in v3.10.0

func (GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutput added in v3.10.0

func (i GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutput() GetNetworkPackagesPackageArrayOutput

func (GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutputWithContext added in v3.10.0

func (i GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutputWithContext(ctx context.Context) GetNetworkPackagesPackageArrayOutput

type GetNetworkPackagesPackageArrayInput added in v3.10.0

type GetNetworkPackagesPackageArrayInput interface {
	pulumi.Input

	ToGetNetworkPackagesPackageArrayOutput() GetNetworkPackagesPackageArrayOutput
	ToGetNetworkPackagesPackageArrayOutputWithContext(context.Context) GetNetworkPackagesPackageArrayOutput
}

GetNetworkPackagesPackageArrayInput is an input type that accepts GetNetworkPackagesPackageArray and GetNetworkPackagesPackageArrayOutput values. You can construct a concrete instance of `GetNetworkPackagesPackageArrayInput` via:

GetNetworkPackagesPackageArray{ GetNetworkPackagesPackageArgs{...} }

type GetNetworkPackagesPackageArrayOutput added in v3.10.0

type GetNetworkPackagesPackageArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkPackagesPackageArrayOutput) ElementType added in v3.10.0

func (GetNetworkPackagesPackageArrayOutput) Index added in v3.10.0

func (GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutput added in v3.10.0

func (o GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutput() GetNetworkPackagesPackageArrayOutput

func (GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutputWithContext added in v3.10.0

func (o GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutputWithContext(ctx context.Context) GetNetworkPackagesPackageArrayOutput

type GetNetworkPackagesPackageInput added in v3.10.0

type GetNetworkPackagesPackageInput interface {
	pulumi.Input

	ToGetNetworkPackagesPackageOutput() GetNetworkPackagesPackageOutput
	ToGetNetworkPackagesPackageOutputWithContext(context.Context) GetNetworkPackagesPackageOutput
}

GetNetworkPackagesPackageInput is an input type that accepts GetNetworkPackagesPackageArgs and GetNetworkPackagesPackageOutput values. You can construct a concrete instance of `GetNetworkPackagesPackageInput` via:

GetNetworkPackagesPackageArgs{...}

type GetNetworkPackagesPackageOutput added in v3.10.0

type GetNetworkPackagesPackageOutput struct{ *pulumi.OutputState }

func (GetNetworkPackagesPackageOutput) Bandwidth added in v3.10.0

The bandwidth of package.

func (GetNetworkPackagesPackageOutput) CreateTime added in v3.10.0

The creation time of network package.

func (GetNetworkPackagesPackageOutput) EipAddresses added in v3.22.0

The public IP address list of the network packet.

func (GetNetworkPackagesPackageOutput) ElementType added in v3.10.0

func (GetNetworkPackagesPackageOutput) ExpiredTime added in v3.10.0

The expired time of package.

func (GetNetworkPackagesPackageOutput) Id added in v3.10.0

The ID of the Network Package.

func (GetNetworkPackagesPackageOutput) InternetChargeType added in v3.10.0

func (o GetNetworkPackagesPackageOutput) InternetChargeType() pulumi.StringOutput

The internet charge type of package.

func (GetNetworkPackagesPackageOutput) NetworkPackageId added in v3.10.0

The ID of network package.

func (GetNetworkPackagesPackageOutput) OfficeSiteId added in v3.10.0

The ID of office site.

func (GetNetworkPackagesPackageOutput) OfficeSiteName added in v3.10.0

The name of office site.

func (GetNetworkPackagesPackageOutput) Status added in v3.10.0

The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.

func (GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutput added in v3.10.0

func (o GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutput() GetNetworkPackagesPackageOutput

func (GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutputWithContext added in v3.10.0

func (o GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutputWithContext(ctx context.Context) GetNetworkPackagesPackageOutput

type GetNetworkPackagesResult added in v3.10.0

type GetNetworkPackagesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                      `pulumi:"id"`
	Ids        []string                    `pulumi:"ids"`
	OutputFile *string                     `pulumi:"outputFile"`
	Packages   []GetNetworkPackagesPackage `pulumi:"packages"`
	Status     *string                     `pulumi:"status"`
}

A collection of values returned by getNetworkPackages.

func GetNetworkPackages added in v3.10.0

func GetNetworkPackages(ctx *pulumi.Context, args *GetNetworkPackagesArgs, opts ...pulumi.InvokeOption) (*GetNetworkPackagesResult, error)

This data source provides the Ecd Network Packages of the current Alibaba Cloud user.

> **NOTE:** Available in v1.142.0+.

## Example Usage

Basic Usage

```go 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 { defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{ CidrBlock: pulumi.String("172.16.0.0/12"), DesktopAccessType: pulumi.String("Internet"), OfficeSiteName: pulumi.String("example_value"), }) if err != nil { return err } defaultNetworkPackage, err := eds.NewNetworkPackage(ctx, "default", &eds.NetworkPackageArgs{ Bandwidth: pulumi.Int(10), OfficeSiteId: defaultSimpleOfficeSite.ID(), }) if err != nil { return err } _default := eds.GetNetworkPackagesOutput(ctx, eds.GetNetworkPackagesOutputArgs{ Ids: pulumi.StringArray{ defaultNetworkPackage.ID(), }, }, nil); ctx.Export("ecdNetworkPackageId1", _default.ApplyT(func(_default eds.GetNetworkPackagesResult) (*string, error) { return &default.Packages[0].Id, nil }).(pulumi.StringPtrOutput)) return nil }) } ```

type GetNetworkPackagesResultOutput added in v3.10.0

type GetNetworkPackagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetworkPackages.

func GetNetworkPackagesOutput added in v3.10.0

func (GetNetworkPackagesResultOutput) ElementType added in v3.10.0

func (GetNetworkPackagesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetNetworkPackagesResultOutput) Ids added in v3.10.0

func (GetNetworkPackagesResultOutput) OutputFile added in v3.10.0

func (GetNetworkPackagesResultOutput) Packages added in v3.10.0

func (GetNetworkPackagesResultOutput) Status added in v3.10.0

func (GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutput added in v3.10.0

func (o GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutput() GetNetworkPackagesResultOutput

func (GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutputWithContext added in v3.10.0

func (o GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutputWithContext(ctx context.Context) GetNetworkPackagesResultOutput

type GetPolicyGroupsArgs

type GetPolicyGroupsArgs struct {
	// A list of Policy Group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Policy Group name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of policy.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getPolicyGroups.

type GetPolicyGroupsGroup

type GetPolicyGroupsGroup struct {
	// The rule of authorize access rule.
	AuthorizeAccessPolicyRules []GetPolicyGroupsGroupAuthorizeAccessPolicyRule `pulumi:"authorizeAccessPolicyRules"`
	// The policy rule.
	AuthorizeSecurityPolicyRules []GetPolicyGroupsGroupAuthorizeSecurityPolicyRule `pulumi:"authorizeSecurityPolicyRules"`
	// Whether to enable local camera redirection. Valid values: `on`, `off`.
	CameraRedirect string `pulumi:"cameraRedirect"`
	// The clipboard policy.
	Clipboard string `pulumi:"clipboard"`
	// The list of domain.
	DomainList string `pulumi:"domainList"`
	// The count of eds.
	EdsCount int `pulumi:"edsCount"`
	// The access of html5.
	HtmlAccess string `pulumi:"htmlAccess"`
	// The html5 file transfer.
	HtmlFileTransfer string `pulumi:"htmlFileTransfer"`
	// The ID of the Policy Group.
	Id string `pulumi:"id"`
	// Local drive redirect policy.
	LocalDrive string `pulumi:"localDrive"`
	// The policy group id.
	PolicyGroupId string `pulumi:"policyGroupId"`
	// The name of policy group.
	PolicyGroupName string `pulumi:"policyGroupName"`
	// The type of policy group.
	PolicyGroupType string `pulumi:"policyGroupType"`
	// Whether to enable screen recording. Valid values: `off`, `alltime`, `period`.
	Recording string `pulumi:"recording"`
	// The end time of recording.
	RecordingEndTime string `pulumi:"recordingEndTime"`
	// The fps of recording. Valid values: `2`, `5`, `10`, `15`.
	RecordingFps int `pulumi:"recordingFps"`
	// The start time of recording.
	RecordingStartTime string `pulumi:"recordingStartTime"`
	// The status of policy.
	Status string `pulumi:"status"`
	// The usb redirect policy.
	UsbRedirect string `pulumi:"usbRedirect"`
	// The quality of visual.sae_ecdsae_nameecd_po
	VisualQuality string `pulumi:"visualQuality"`
	// The watermark policy.
	Watermark string `pulumi:"watermark"`
	// The watermark transparency.
	WatermarkTransparency string `pulumi:"watermarkTransparency"`
	// The type of watemark.
	WatermarkType string `pulumi:"watermarkType"`
}

type GetPolicyGroupsGroupArgs

type GetPolicyGroupsGroupArgs struct {
	// The rule of authorize access rule.
	AuthorizeAccessPolicyRules GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayInput `pulumi:"authorizeAccessPolicyRules"`
	// The policy rule.
	AuthorizeSecurityPolicyRules GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayInput `pulumi:"authorizeSecurityPolicyRules"`
	// Whether to enable local camera redirection. Valid values: `on`, `off`.
	CameraRedirect pulumi.StringInput `pulumi:"cameraRedirect"`
	// The clipboard policy.
	Clipboard pulumi.StringInput `pulumi:"clipboard"`
	// The list of domain.
	DomainList pulumi.StringInput `pulumi:"domainList"`
	// The count of eds.
	EdsCount pulumi.IntInput `pulumi:"edsCount"`
	// The access of html5.
	HtmlAccess pulumi.StringInput `pulumi:"htmlAccess"`
	// The html5 file transfer.
	HtmlFileTransfer pulumi.StringInput `pulumi:"htmlFileTransfer"`
	// The ID of the Policy Group.
	Id pulumi.StringInput `pulumi:"id"`
	// Local drive redirect policy.
	LocalDrive pulumi.StringInput `pulumi:"localDrive"`
	// The policy group id.
	PolicyGroupId pulumi.StringInput `pulumi:"policyGroupId"`
	// The name of policy group.
	PolicyGroupName pulumi.StringInput `pulumi:"policyGroupName"`
	// The type of policy group.
	PolicyGroupType pulumi.StringInput `pulumi:"policyGroupType"`
	// Whether to enable screen recording. Valid values: `off`, `alltime`, `period`.
	Recording pulumi.StringInput `pulumi:"recording"`
	// The end time of recording.
	RecordingEndTime pulumi.StringInput `pulumi:"recordingEndTime"`
	// The fps of recording. Valid values: `2`, `5`, `10`, `15`.
	RecordingFps pulumi.IntInput `pulumi:"recordingFps"`
	// The start time of recording.
	RecordingStartTime pulumi.StringInput `pulumi:"recordingStartTime"`
	// The status of policy.
	Status pulumi.StringInput `pulumi:"status"`
	// The usb redirect policy.
	UsbRedirect pulumi.StringInput `pulumi:"usbRedirect"`
	// The quality of visual.sae_ecdsae_nameecd_po
	VisualQuality pulumi.StringInput `pulumi:"visualQuality"`
	// The watermark policy.
	Watermark pulumi.StringInput `pulumi:"watermark"`
	// The watermark transparency.
	WatermarkTransparency pulumi.StringInput `pulumi:"watermarkTransparency"`
	// The type of watemark.
	WatermarkType pulumi.StringInput `pulumi:"watermarkType"`
}

func (GetPolicyGroupsGroupArgs) ElementType

func (GetPolicyGroupsGroupArgs) ElementType() reflect.Type

func (GetPolicyGroupsGroupArgs) ToGetPolicyGroupsGroupOutput

func (i GetPolicyGroupsGroupArgs) ToGetPolicyGroupsGroupOutput() GetPolicyGroupsGroupOutput

func (GetPolicyGroupsGroupArgs) ToGetPolicyGroupsGroupOutputWithContext

func (i GetPolicyGroupsGroupArgs) ToGetPolicyGroupsGroupOutputWithContext(ctx context.Context) GetPolicyGroupsGroupOutput

type GetPolicyGroupsGroupArray

type GetPolicyGroupsGroupArray []GetPolicyGroupsGroupInput

func (GetPolicyGroupsGroupArray) ElementType

func (GetPolicyGroupsGroupArray) ElementType() reflect.Type

func (GetPolicyGroupsGroupArray) ToGetPolicyGroupsGroupArrayOutput

func (i GetPolicyGroupsGroupArray) ToGetPolicyGroupsGroupArrayOutput() GetPolicyGroupsGroupArrayOutput

func (GetPolicyGroupsGroupArray) ToGetPolicyGroupsGroupArrayOutputWithContext

func (i GetPolicyGroupsGroupArray) ToGetPolicyGroupsGroupArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupArrayOutput

type GetPolicyGroupsGroupArrayInput

type GetPolicyGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupArrayOutput() GetPolicyGroupsGroupArrayOutput
	ToGetPolicyGroupsGroupArrayOutputWithContext(context.Context) GetPolicyGroupsGroupArrayOutput
}

GetPolicyGroupsGroupArrayInput is an input type that accepts GetPolicyGroupsGroupArray and GetPolicyGroupsGroupArrayOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupArrayInput` via:

GetPolicyGroupsGroupArray{ GetPolicyGroupsGroupArgs{...} }

type GetPolicyGroupsGroupArrayOutput

type GetPolicyGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupArrayOutput) ElementType

func (GetPolicyGroupsGroupArrayOutput) Index

func (GetPolicyGroupsGroupArrayOutput) ToGetPolicyGroupsGroupArrayOutput

func (o GetPolicyGroupsGroupArrayOutput) ToGetPolicyGroupsGroupArrayOutput() GetPolicyGroupsGroupArrayOutput

func (GetPolicyGroupsGroupArrayOutput) ToGetPolicyGroupsGroupArrayOutputWithContext

func (o GetPolicyGroupsGroupArrayOutput) ToGetPolicyGroupsGroupArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupArrayOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRule

type GetPolicyGroupsGroupAuthorizeAccessPolicyRule struct {
	// The cidrip of security rules.
	CidrIp string `pulumi:"cidrIp"`
	// The description of security rules.
	Description string `pulumi:"description"`
}

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs struct {
	// The cidrip of security rules.
	CidrIp pulumi.StringInput `pulumi:"cidrIp"`
	// The description of security rules.
	Description pulumi.StringInput `pulumi:"description"`
}

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs) ElementType

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

func (i GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput() GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutputWithContext

func (i GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray []GetPolicyGroupsGroupAuthorizeAccessPolicyRuleInput

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray) ElementType

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

func (i GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput() GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutputWithContext

func (i GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayInput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput() GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput
	ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput
}

GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayInput is an input type that accepts GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray and GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayInput` via:

GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArray{ GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs{...} }

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput) ElementType

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput) Index

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutputWithContext

func (o GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleInput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput() GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput
	ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutputWithContext(context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput
}

GetPolicyGroupsGroupAuthorizeAccessPolicyRuleInput is an input type that accepts GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs and GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupAuthorizeAccessPolicyRuleInput` via:

GetPolicyGroupsGroupAuthorizeAccessPolicyRuleArgs{...}

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

type GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) CidrIp

The cidrip of security rules.

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) Description

The description of security rules.

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) ElementType

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

func (o GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput() GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

func (GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutputWithContext

func (o GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeAccessPolicyRuleOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRule

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRule struct {
	// The cidrip of security rules.
	CidrIp string `pulumi:"cidrIp"`
	// The description of security rules.
	Description string `pulumi:"description"`
	// The ip protocol of security rules.
	IpProtocol string `pulumi:"ipProtocol"`
	// The policy of security rules.
	Policy string `pulumi:"policy"`
	// The port range of security rules.
	PortRange string `pulumi:"portRange"`
	// The priority of security rules.
	Priority string `pulumi:"priority"`
	// The type of security rules.
	Type string `pulumi:"type"`
}

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs struct {
	// The cidrip of security rules.
	CidrIp pulumi.StringInput `pulumi:"cidrIp"`
	// The description of security rules.
	Description pulumi.StringInput `pulumi:"description"`
	// The ip protocol of security rules.
	IpProtocol pulumi.StringInput `pulumi:"ipProtocol"`
	// The policy of security rules.
	Policy pulumi.StringInput `pulumi:"policy"`
	// The port range of security rules.
	PortRange pulumi.StringInput `pulumi:"portRange"`
	// The priority of security rules.
	Priority pulumi.StringInput `pulumi:"priority"`
	// The type of security rules.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs) ElementType

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

func (i GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput() GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutputWithContext

func (i GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray []GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleInput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray) ElementType

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

func (i GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput() GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext

func (i GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayInput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput() GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput
	ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput
}

GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayInput is an input type that accepts GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray and GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayInput` via:

GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArray{ GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs{...} }

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput) ElementType

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput) Index

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext

func (o GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArrayOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleInput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput() GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput
	ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutputWithContext(context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput
}

GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleInput is an input type that accepts GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs and GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleInput` via:

GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleArgs{...}

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

type GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) CidrIp

The cidrip of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) Description

The description of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) ElementType

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) IpProtocol

The ip protocol of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) Policy

The policy of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) PortRange

The port range of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) Priority

The priority of security rules.

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutputWithContext

func (o GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) ToGetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutputWithContext(ctx context.Context) GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput

func (GetPolicyGroupsGroupAuthorizeSecurityPolicyRuleOutput) Type

The type of security rules.

type GetPolicyGroupsGroupInput

type GetPolicyGroupsGroupInput interface {
	pulumi.Input

	ToGetPolicyGroupsGroupOutput() GetPolicyGroupsGroupOutput
	ToGetPolicyGroupsGroupOutputWithContext(context.Context) GetPolicyGroupsGroupOutput
}

GetPolicyGroupsGroupInput is an input type that accepts GetPolicyGroupsGroupArgs and GetPolicyGroupsGroupOutput values. You can construct a concrete instance of `GetPolicyGroupsGroupInput` via:

GetPolicyGroupsGroupArgs{...}

type GetPolicyGroupsGroupOutput

type GetPolicyGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetPolicyGroupsGroupOutput) AuthorizeAccessPolicyRules

The rule of authorize access rule.

func (GetPolicyGroupsGroupOutput) AuthorizeSecurityPolicyRules

The policy rule.

func (GetPolicyGroupsGroupOutput) CameraRedirect added in v3.21.0

func (o GetPolicyGroupsGroupOutput) CameraRedirect() pulumi.StringOutput

Whether to enable local camera redirection. Valid values: `on`, `off`.

func (GetPolicyGroupsGroupOutput) Clipboard

The clipboard policy.

func (GetPolicyGroupsGroupOutput) DomainList

The list of domain.

func (GetPolicyGroupsGroupOutput) EdsCount

The count of eds.

func (GetPolicyGroupsGroupOutput) ElementType

func (GetPolicyGroupsGroupOutput) ElementType() reflect.Type

func (GetPolicyGroupsGroupOutput) HtmlAccess

The access of html5.

func (GetPolicyGroupsGroupOutput) HtmlFileTransfer

func (o GetPolicyGroupsGroupOutput) HtmlFileTransfer() pulumi.StringOutput

The html5 file transfer.

func (GetPolicyGroupsGroupOutput) Id

The ID of the Policy Group.

func (GetPolicyGroupsGroupOutput) LocalDrive

Local drive redirect policy.

func (GetPolicyGroupsGroupOutput) PolicyGroupId

The policy group id.

func (GetPolicyGroupsGroupOutput) PolicyGroupName

func (o GetPolicyGroupsGroupOutput) PolicyGroupName() pulumi.StringOutput

The name of policy group.

func (GetPolicyGroupsGroupOutput) PolicyGroupType

func (o GetPolicyGroupsGroupOutput) PolicyGroupType() pulumi.StringOutput

The type of policy group.

func (GetPolicyGroupsGroupOutput) Recording added in v3.21.0

Whether to enable screen recording. Valid values: `off`, `alltime`, `period`.

func (GetPolicyGroupsGroupOutput) RecordingEndTime added in v3.21.0

func (o GetPolicyGroupsGroupOutput) RecordingEndTime() pulumi.StringOutput

The end time of recording.

func (GetPolicyGroupsGroupOutput) RecordingFps added in v3.21.0

func (o GetPolicyGroupsGroupOutput) RecordingFps() pulumi.IntOutput

The fps of recording. Valid values: `2`, `5`, `10`, `15`.

func (GetPolicyGroupsGroupOutput) RecordingStartTime added in v3.21.0

func (o GetPolicyGroupsGroupOutput) RecordingStartTime() pulumi.StringOutput

The start time of recording.

func (GetPolicyGroupsGroupOutput) Status

The status of policy.

func (GetPolicyGroupsGroupOutput) ToGetPolicyGroupsGroupOutput

func (o GetPolicyGroupsGroupOutput) ToGetPolicyGroupsGroupOutput() GetPolicyGroupsGroupOutput

func (GetPolicyGroupsGroupOutput) ToGetPolicyGroupsGroupOutputWithContext

func (o GetPolicyGroupsGroupOutput) ToGetPolicyGroupsGroupOutputWithContext(ctx context.Context) GetPolicyGroupsGroupOutput

func (GetPolicyGroupsGroupOutput) UsbRedirect

The usb redirect policy.

func (GetPolicyGroupsGroupOutput) VisualQuality

The quality of visual.sae_ecdsae_nameecd_po

func (GetPolicyGroupsGroupOutput) Watermark

The watermark policy.

func (GetPolicyGroupsGroupOutput) WatermarkTransparency

func (o GetPolicyGroupsGroupOutput) WatermarkTransparency() pulumi.StringOutput

The watermark transparency.

func (GetPolicyGroupsGroupOutput) WatermarkType

The type of watemark.

type GetPolicyGroupsOutputArgs added in v3.9.0

type GetPolicyGroupsOutputArgs struct {
	// A list of Policy Group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Policy Group name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of policy.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getPolicyGroups.

func (GetPolicyGroupsOutputArgs) ElementType added in v3.9.0

func (GetPolicyGroupsOutputArgs) ElementType() reflect.Type

type GetPolicyGroupsResult

type GetPolicyGroupsResult struct {
	Groups []GetPolicyGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getPolicyGroups.

func GetPolicyGroups

func GetPolicyGroups(ctx *pulumi.Context, args *GetPolicyGroupsArgs, opts ...pulumi.InvokeOption) (*GetPolicyGroupsResult, error)

This data source provides the Ecd Policy Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.130.0+.

## Example Usage

Basic Usage

```go 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("my-policy-group"),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("my-description1"),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("my-description"),
					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
		}
		nameRegex, err := eds.GetPolicyGroups(ctx, &eds.GetPolicyGroupsArgs{
			NameRegex: pulumi.StringRef("^my-policy"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdPolicyGroupId", nameRegex.Groups[0].Id)
		return nil
	})
}

```

type GetPolicyGroupsResultOutput added in v3.9.0

type GetPolicyGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPolicyGroups.

func GetPolicyGroupsOutput added in v3.9.0

func (GetPolicyGroupsResultOutput) ElementType added in v3.9.0

func (GetPolicyGroupsResultOutput) Groups added in v3.9.0

func (GetPolicyGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetPolicyGroupsResultOutput) Ids added in v3.9.0

func (GetPolicyGroupsResultOutput) NameRegex added in v3.9.0

func (GetPolicyGroupsResultOutput) Names added in v3.9.0

func (GetPolicyGroupsResultOutput) OutputFile added in v3.9.0

func (GetPolicyGroupsResultOutput) Status added in v3.9.0

func (GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutput added in v3.9.0

func (o GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutput() GetPolicyGroupsResultOutput

func (GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutputWithContext added in v3.9.0

func (o GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutputWithContext(ctx context.Context) GetPolicyGroupsResultOutput

type GetRamDirectoriesArgs added in v3.23.0

type GetRamDirectoriesArgs struct {
	// A list of Ram Directory IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Ram Directory name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of directory.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRamDirectories.

type GetRamDirectoriesDirectory added in v3.23.0

type GetRamDirectoriesDirectory struct {
	// The AD connectors.
	AdConnectors []GetRamDirectoriesDirectoryAdConnector `pulumi:"adConnectors"`
	// The CreateTime of resource.
	CreateTime string `pulumi:"createTime"`
	// The id of the custom security group.
	CustomSecurityGroupId string `pulumi:"customSecurityGroupId"`
	// The desktop access type.
	DesktopAccessType string `pulumi:"desktopAccessType"`
	// The desktop vpc endpoint.
	DesktopVpcEndpoint string `pulumi:"desktopVpcEndpoint"`
	// The directory type.
	DirectoryType string `pulumi:"directoryType"`
	// The address of DNSAddress.
	DnsAddresses []string `pulumi:"dnsAddresses"`
	// The username of DNS.
	DnsUserName string `pulumi:"dnsUserName"`
	// The name of the domain.
	DomainName string `pulumi:"domainName"`
	// The domain password.
	DomainPassword string `pulumi:"domainPassword"`
	// The username of the domain.
	DomainUserName string `pulumi:"domainUserName"`
	// Whether to enable admin access.
	EnableAdminAccess bool `pulumi:"enableAdminAccess"`
	// Whether to enable cross desktop access.
	EnableCrossDesktopAccess bool `pulumi:"enableCrossDesktopAccess"`
	// Whether enable internet access.
	EnableInternetAccess bool `pulumi:"enableInternetAccess"`
	// The ids of filesystem.
	FileSystemIds []string `pulumi:"fileSystemIds"`
	// The ID of the Ram Directory.
	Id string `pulumi:"id"`
	// The register log information.
	Logs []GetRamDirectoriesDirectoryLog `pulumi:"logs"`
	// Whether to enable MFA.
	MfaEnabled bool `pulumi:"mfaEnabled"`
	// The ID of ram directory.
	RamDirectoryId string `pulumi:"ramDirectoryId"`
	// The name of directory.
	RamDirectoryName string `pulumi:"ramDirectoryName"`
	// Whether to enable SSO.
	SsoEnabled bool `pulumi:"ssoEnabled"`
	// The status of directory.
	Status string `pulumi:"status"`
	// The address of sub DNS.
	SubDnsAddresses []string `pulumi:"subDnsAddresses"`
	// The Name of the sub-domain.
	SubDomainName string `pulumi:"subDomainName"`
	// The trust password.
	TrustPassword string `pulumi:"trustPassword"`
	// The ID of the vpc.
	VpcId string `pulumi:"vpcId"`
	// List of VSwitch IDs in the directory.
	VswitchIds []string `pulumi:"vswitchIds"`
}

type GetRamDirectoriesDirectoryAdConnector added in v3.23.0

type GetRamDirectoriesDirectoryAdConnector struct {
	// The address of AD connector.
	AdConnectorAddress string `pulumi:"adConnectorAddress"`
	// The status of connector.
	ConnectorStatus string `pulumi:"connectorStatus"`
	// The ID of the network interface.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The ID of VSwitch.
	VswitchId string `pulumi:"vswitchId"`
}

type GetRamDirectoriesDirectoryAdConnectorArgs added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorArgs struct {
	// The address of AD connector.
	AdConnectorAddress pulumi.StringInput `pulumi:"adConnectorAddress"`
	// The status of connector.
	ConnectorStatus pulumi.StringInput `pulumi:"connectorStatus"`
	// The ID of the network interface.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The ID of VSwitch.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetRamDirectoriesDirectoryAdConnectorArgs) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutput() GetRamDirectoriesDirectoryAdConnectorOutput

func (GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryAdConnectorOutput

type GetRamDirectoriesDirectoryAdConnectorArray added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorArray []GetRamDirectoriesDirectoryAdConnectorInput

func (GetRamDirectoriesDirectoryAdConnectorArray) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput() GetRamDirectoriesDirectoryAdConnectorArrayOutput

func (GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryAdConnectorArrayOutput

type GetRamDirectoriesDirectoryAdConnectorArrayInput added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorArrayInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryAdConnectorArrayOutput() GetRamDirectoriesDirectoryAdConnectorArrayOutput
	ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext(context.Context) GetRamDirectoriesDirectoryAdConnectorArrayOutput
}

GetRamDirectoriesDirectoryAdConnectorArrayInput is an input type that accepts GetRamDirectoriesDirectoryAdConnectorArray and GetRamDirectoriesDirectoryAdConnectorArrayOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryAdConnectorArrayInput` via:

GetRamDirectoriesDirectoryAdConnectorArray{ GetRamDirectoriesDirectoryAdConnectorArgs{...} }

type GetRamDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) Index added in v3.23.0

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput() GetRamDirectoriesDirectoryAdConnectorArrayOutput

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryAdConnectorArrayOutput

type GetRamDirectoriesDirectoryAdConnectorInput added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryAdConnectorOutput() GetRamDirectoriesDirectoryAdConnectorOutput
	ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext(context.Context) GetRamDirectoriesDirectoryAdConnectorOutput
}

GetRamDirectoriesDirectoryAdConnectorInput is an input type that accepts GetRamDirectoriesDirectoryAdConnectorArgs and GetRamDirectoriesDirectoryAdConnectorOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryAdConnectorInput` via:

GetRamDirectoriesDirectoryAdConnectorArgs{...}

type GetRamDirectoriesDirectoryAdConnectorOutput added in v3.23.0

type GetRamDirectoriesDirectoryAdConnectorOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryAdConnectorOutput) AdConnectorAddress added in v3.23.0

The address of AD connector.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ConnectorStatus added in v3.23.0

The status of connector.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryAdConnectorOutput) NetworkInterfaceId added in v3.23.0

The ID of the network interface.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutput() GetRamDirectoriesDirectoryAdConnectorOutput

func (GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryAdConnectorOutput

func (GetRamDirectoriesDirectoryAdConnectorOutput) VswitchId added in v3.23.0

The ID of VSwitch.

type GetRamDirectoriesDirectoryArgs added in v3.23.0

type GetRamDirectoriesDirectoryArgs struct {
	// The AD connectors.
	AdConnectors GetRamDirectoriesDirectoryAdConnectorArrayInput `pulumi:"adConnectors"`
	// The CreateTime of resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The id of the custom security group.
	CustomSecurityGroupId pulumi.StringInput `pulumi:"customSecurityGroupId"`
	// The desktop access type.
	DesktopAccessType pulumi.StringInput `pulumi:"desktopAccessType"`
	// The desktop vpc endpoint.
	DesktopVpcEndpoint pulumi.StringInput `pulumi:"desktopVpcEndpoint"`
	// The directory type.
	DirectoryType pulumi.StringInput `pulumi:"directoryType"`
	// The address of DNSAddress.
	DnsAddresses pulumi.StringArrayInput `pulumi:"dnsAddresses"`
	// The username of DNS.
	DnsUserName pulumi.StringInput `pulumi:"dnsUserName"`
	// The name of the domain.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The domain password.
	DomainPassword pulumi.StringInput `pulumi:"domainPassword"`
	// The username of the domain.
	DomainUserName pulumi.StringInput `pulumi:"domainUserName"`
	// Whether to enable admin access.
	EnableAdminAccess pulumi.BoolInput `pulumi:"enableAdminAccess"`
	// Whether to enable cross desktop access.
	EnableCrossDesktopAccess pulumi.BoolInput `pulumi:"enableCrossDesktopAccess"`
	// Whether enable internet access.
	EnableInternetAccess pulumi.BoolInput `pulumi:"enableInternetAccess"`
	// The ids of filesystem.
	FileSystemIds pulumi.StringArrayInput `pulumi:"fileSystemIds"`
	// The ID of the Ram Directory.
	Id pulumi.StringInput `pulumi:"id"`
	// The register log information.
	Logs GetRamDirectoriesDirectoryLogArrayInput `pulumi:"logs"`
	// Whether to enable MFA.
	MfaEnabled pulumi.BoolInput `pulumi:"mfaEnabled"`
	// The ID of ram directory.
	RamDirectoryId pulumi.StringInput `pulumi:"ramDirectoryId"`
	// The name of directory.
	RamDirectoryName pulumi.StringInput `pulumi:"ramDirectoryName"`
	// Whether to enable SSO.
	SsoEnabled pulumi.BoolInput `pulumi:"ssoEnabled"`
	// The status of directory.
	Status pulumi.StringInput `pulumi:"status"`
	// The address of sub DNS.
	SubDnsAddresses pulumi.StringArrayInput `pulumi:"subDnsAddresses"`
	// The Name of the sub-domain.
	SubDomainName pulumi.StringInput `pulumi:"subDomainName"`
	// The trust password.
	TrustPassword pulumi.StringInput `pulumi:"trustPassword"`
	// The ID of the vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
}

func (GetRamDirectoriesDirectoryArgs) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutput() GetRamDirectoriesDirectoryOutput

func (GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryOutput

type GetRamDirectoriesDirectoryArray added in v3.23.0

type GetRamDirectoriesDirectoryArray []GetRamDirectoriesDirectoryInput

func (GetRamDirectoriesDirectoryArray) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutput() GetRamDirectoriesDirectoryArrayOutput

func (GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryArrayOutput

type GetRamDirectoriesDirectoryArrayInput added in v3.23.0

type GetRamDirectoriesDirectoryArrayInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryArrayOutput() GetRamDirectoriesDirectoryArrayOutput
	ToGetRamDirectoriesDirectoryArrayOutputWithContext(context.Context) GetRamDirectoriesDirectoryArrayOutput
}

GetRamDirectoriesDirectoryArrayInput is an input type that accepts GetRamDirectoriesDirectoryArray and GetRamDirectoriesDirectoryArrayOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryArrayInput` via:

GetRamDirectoriesDirectoryArray{ GetRamDirectoriesDirectoryArgs{...} }

type GetRamDirectoriesDirectoryArrayOutput added in v3.23.0

type GetRamDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryArrayOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryArrayOutput) Index added in v3.23.0

func (GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutput() GetRamDirectoriesDirectoryArrayOutput

func (GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryArrayOutput

type GetRamDirectoriesDirectoryInput added in v3.23.0

type GetRamDirectoriesDirectoryInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryOutput() GetRamDirectoriesDirectoryOutput
	ToGetRamDirectoriesDirectoryOutputWithContext(context.Context) GetRamDirectoriesDirectoryOutput
}

GetRamDirectoriesDirectoryInput is an input type that accepts GetRamDirectoriesDirectoryArgs and GetRamDirectoriesDirectoryOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryInput` via:

GetRamDirectoriesDirectoryArgs{...}

type GetRamDirectoriesDirectoryLog added in v3.23.0

type GetRamDirectoriesDirectoryLog struct {
	// The level of log.
	Level string `pulumi:"level"`
	// The message of log.
	Message string `pulumi:"message"`
	// The step of log.
	Step string `pulumi:"step"`
	// The time stamp of log.
	TimeStamp string `pulumi:"timeStamp"`
}

type GetRamDirectoriesDirectoryLogArgs added in v3.23.0

type GetRamDirectoriesDirectoryLogArgs struct {
	// The level of log.
	Level pulumi.StringInput `pulumi:"level"`
	// The message of log.
	Message pulumi.StringInput `pulumi:"message"`
	// The step of log.
	Step pulumi.StringInput `pulumi:"step"`
	// The time stamp of log.
	TimeStamp pulumi.StringInput `pulumi:"timeStamp"`
}

func (GetRamDirectoriesDirectoryLogArgs) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutput() GetRamDirectoriesDirectoryLogOutput

func (GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryLogOutput

type GetRamDirectoriesDirectoryLogArray added in v3.23.0

type GetRamDirectoriesDirectoryLogArray []GetRamDirectoriesDirectoryLogInput

func (GetRamDirectoriesDirectoryLogArray) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutput added in v3.23.0

func (i GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutput() GetRamDirectoriesDirectoryLogArrayOutput

func (GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext added in v3.23.0

func (i GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryLogArrayOutput

type GetRamDirectoriesDirectoryLogArrayInput added in v3.23.0

type GetRamDirectoriesDirectoryLogArrayInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryLogArrayOutput() GetRamDirectoriesDirectoryLogArrayOutput
	ToGetRamDirectoriesDirectoryLogArrayOutputWithContext(context.Context) GetRamDirectoriesDirectoryLogArrayOutput
}

GetRamDirectoriesDirectoryLogArrayInput is an input type that accepts GetRamDirectoriesDirectoryLogArray and GetRamDirectoriesDirectoryLogArrayOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryLogArrayInput` via:

GetRamDirectoriesDirectoryLogArray{ GetRamDirectoriesDirectoryLogArgs{...} }

type GetRamDirectoriesDirectoryLogArrayOutput added in v3.23.0

type GetRamDirectoriesDirectoryLogArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryLogArrayOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryLogArrayOutput) Index added in v3.23.0

func (GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutput() GetRamDirectoriesDirectoryLogArrayOutput

func (GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryLogArrayOutput

type GetRamDirectoriesDirectoryLogInput added in v3.23.0

type GetRamDirectoriesDirectoryLogInput interface {
	pulumi.Input

	ToGetRamDirectoriesDirectoryLogOutput() GetRamDirectoriesDirectoryLogOutput
	ToGetRamDirectoriesDirectoryLogOutputWithContext(context.Context) GetRamDirectoriesDirectoryLogOutput
}

GetRamDirectoriesDirectoryLogInput is an input type that accepts GetRamDirectoriesDirectoryLogArgs and GetRamDirectoriesDirectoryLogOutput values. You can construct a concrete instance of `GetRamDirectoriesDirectoryLogInput` via:

GetRamDirectoriesDirectoryLogArgs{...}

type GetRamDirectoriesDirectoryLogOutput added in v3.23.0

type GetRamDirectoriesDirectoryLogOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryLogOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryLogOutput) Level added in v3.23.0

The level of log.

func (GetRamDirectoriesDirectoryLogOutput) Message added in v3.23.0

The message of log.

func (GetRamDirectoriesDirectoryLogOutput) Step added in v3.23.0

The step of log.

func (GetRamDirectoriesDirectoryLogOutput) TimeStamp added in v3.23.0

The time stamp of log.

func (GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutput() GetRamDirectoriesDirectoryLogOutput

func (GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryLogOutput

type GetRamDirectoriesDirectoryOutput added in v3.23.0

type GetRamDirectoriesDirectoryOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryOutput) AdConnectors added in v3.23.0

The AD connectors.

func (GetRamDirectoriesDirectoryOutput) CreateTime added in v3.23.0

The CreateTime of resource.

func (GetRamDirectoriesDirectoryOutput) CustomSecurityGroupId added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) CustomSecurityGroupId() pulumi.StringOutput

The id of the custom security group.

func (GetRamDirectoriesDirectoryOutput) DesktopAccessType added in v3.23.0

The desktop access type.

func (GetRamDirectoriesDirectoryOutput) DesktopVpcEndpoint added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) DesktopVpcEndpoint() pulumi.StringOutput

The desktop vpc endpoint.

func (GetRamDirectoriesDirectoryOutput) DirectoryType added in v3.23.0

The directory type.

func (GetRamDirectoriesDirectoryOutput) DnsAddresses added in v3.23.0

The address of DNSAddress.

func (GetRamDirectoriesDirectoryOutput) DnsUserName added in v3.23.0

The username of DNS.

func (GetRamDirectoriesDirectoryOutput) DomainName added in v3.23.0

The name of the domain.

func (GetRamDirectoriesDirectoryOutput) DomainPassword added in v3.23.0

The domain password.

func (GetRamDirectoriesDirectoryOutput) DomainUserName added in v3.23.0

The username of the domain.

func (GetRamDirectoriesDirectoryOutput) ElementType added in v3.23.0

func (GetRamDirectoriesDirectoryOutput) EnableAdminAccess added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to enable admin access.

func (GetRamDirectoriesDirectoryOutput) EnableCrossDesktopAccess added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Whether to enable cross desktop access.

func (GetRamDirectoriesDirectoryOutput) EnableInternetAccess added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) EnableInternetAccess() pulumi.BoolOutput

Whether enable internet access.

func (GetRamDirectoriesDirectoryOutput) FileSystemIds added in v3.23.0

The ids of filesystem.

func (GetRamDirectoriesDirectoryOutput) Id added in v3.23.0

The ID of the Ram Directory.

func (GetRamDirectoriesDirectoryOutput) Logs added in v3.23.0

The register log information.

func (GetRamDirectoriesDirectoryOutput) MfaEnabled added in v3.23.0

Whether to enable MFA.

func (GetRamDirectoriesDirectoryOutput) RamDirectoryId added in v3.23.0

The ID of ram directory.

func (GetRamDirectoriesDirectoryOutput) RamDirectoryName added in v3.23.0

The name of directory.

func (GetRamDirectoriesDirectoryOutput) SsoEnabled added in v3.23.0

Whether to enable SSO.

func (GetRamDirectoriesDirectoryOutput) Status added in v3.23.0

The status of directory.

func (GetRamDirectoriesDirectoryOutput) SubDnsAddresses added in v3.23.0

The address of sub DNS.

func (GetRamDirectoriesDirectoryOutput) SubDomainName added in v3.23.0

The Name of the sub-domain.

func (GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutput added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutput() GetRamDirectoriesDirectoryOutput

func (GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutputWithContext added in v3.23.0

func (o GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutputWithContext(ctx context.Context) GetRamDirectoriesDirectoryOutput

func (GetRamDirectoriesDirectoryOutput) TrustPassword added in v3.23.0

The trust password.

func (GetRamDirectoriesDirectoryOutput) VpcId added in v3.23.0

The ID of the vpc.

func (GetRamDirectoriesDirectoryOutput) VswitchIds added in v3.23.0

List of VSwitch IDs in the directory.

type GetRamDirectoriesOutputArgs added in v3.23.0

type GetRamDirectoriesOutputArgs struct {
	// A list of Ram Directory IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Ram Directory name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of directory.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRamDirectories.

func (GetRamDirectoriesOutputArgs) ElementType added in v3.23.0

type GetRamDirectoriesResult added in v3.23.0

type GetRamDirectoriesResult struct {
	Directories []GetRamDirectoriesDirectory `pulumi:"directories"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getRamDirectories.

func GetRamDirectories added in v3.23.0

func GetRamDirectories(ctx *pulumi.Context, args *GetRamDirectoriesArgs, opts ...pulumi.InvokeOption) (*GetRamDirectoriesResult, error)

This data source provides the Ecd Ram Directories of the current Alibaba Cloud user.

> **NOTE:** Available in v1.174.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetRamDirectories(ctx, &eds.GetRamDirectoriesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdRamDirectoryId1", ids.Directories[0].Id)
		nameRegex, err := eds.GetRamDirectories(ctx, &eds.GetRamDirectoriesArgs{
			NameRegex: pulumi.StringRef("^my-RamDirectory"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdRamDirectoryId2", nameRegex.Directories[0].Id)
		return nil
	})
}

```

type GetRamDirectoriesResultOutput added in v3.23.0

type GetRamDirectoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRamDirectories.

func GetRamDirectoriesOutput added in v3.23.0

func (GetRamDirectoriesResultOutput) Directories added in v3.23.0

func (GetRamDirectoriesResultOutput) ElementType added in v3.23.0

func (GetRamDirectoriesResultOutput) Id added in v3.23.0

The provider-assigned unique ID for this managed resource.

func (GetRamDirectoriesResultOutput) Ids added in v3.23.0

func (GetRamDirectoriesResultOutput) NameRegex added in v3.23.0

func (GetRamDirectoriesResultOutput) Names added in v3.23.0

func (GetRamDirectoriesResultOutput) OutputFile added in v3.23.0

func (GetRamDirectoriesResultOutput) Status added in v3.23.0

func (GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutput added in v3.23.0

func (o GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutput() GetRamDirectoriesResultOutput

func (GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutputWithContext added in v3.23.0

func (o GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutputWithContext(ctx context.Context) GetRamDirectoriesResultOutput

type GetSimpleOfficeSitesArgs added in v3.9.0

type GetSimpleOfficeSitesArgs struct {
	// A list of Simple Office Site IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Simple Office Site name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getSimpleOfficeSites.

type GetSimpleOfficeSitesOutputArgs added in v3.9.0

type GetSimpleOfficeSitesOutputArgs struct {
	// A list of Simple Office Site IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Simple Office Site name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getSimpleOfficeSites.

func (GetSimpleOfficeSitesOutputArgs) ElementType added in v3.9.0

type GetSimpleOfficeSitesResult added in v3.9.0

type GetSimpleOfficeSitesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                     `pulumi:"id"`
	Ids        []string                   `pulumi:"ids"`
	NameRegex  *string                    `pulumi:"nameRegex"`
	Names      []string                   `pulumi:"names"`
	OutputFile *string                    `pulumi:"outputFile"`
	Sites      []GetSimpleOfficeSitesSite `pulumi:"sites"`
	Status     *string                    `pulumi:"status"`
}

A collection of values returned by getSimpleOfficeSites.

func GetSimpleOfficeSites added in v3.9.0

func GetSimpleOfficeSites(ctx *pulumi.Context, args *GetSimpleOfficeSitesArgs, opts ...pulumi.InvokeOption) (*GetSimpleOfficeSitesResult, error)

This data source provides the Ecd Simple Office Sites of the current Alibaba Cloud user.

> **NOTE:** Available in v1.140.0+.

## Example Usage

Basic Usage

```go 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 {
		_default, err := eds.GetSimpleOfficeSites(ctx, &eds.GetSimpleOfficeSitesArgs{
			Ids: []string{
				"example_id",
			},
			Status: pulumi.StringRef("REGISTERED"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("desktopAccessType", _default.Sites[0].DesktopAccessType)
		return nil
	})
}

```

type GetSimpleOfficeSitesResultOutput added in v3.9.0

type GetSimpleOfficeSitesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSimpleOfficeSites.

func GetSimpleOfficeSitesOutput added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) ElementType added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetSimpleOfficeSitesResultOutput) Ids added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) NameRegex added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) Names added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) OutputFile added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) Sites added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) Status added in v3.9.0

func (GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutput added in v3.9.0

func (o GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutput() GetSimpleOfficeSitesResultOutput

func (GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutputWithContext added in v3.9.0

func (o GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutputWithContext(ctx context.Context) GetSimpleOfficeSitesResultOutput

type GetSimpleOfficeSitesSite added in v3.9.0

type GetSimpleOfficeSitesSite struct {
	// The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
	//
	// Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.
	Bandwidth int `pulumi:"bandwidth"`
	// Cloud Enterprise Network Instance Id.
	CenId string `pulumi:"cenId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock string `pulumi:"cidrBlock"`
	// Workspace Creation Time.
	CreateTime string `pulumi:"createTime"`
	// Security Group ID.
	CustomSecurityGroupId string `pulumi:"customSecurityGroupId"`
	// Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
	DesktopAccessType string `pulumi:"desktopAccessType"`
	// The Desktop Vpc Endpoint.
	DesktopVpcEndpoint string `pulumi:"desktopVpcEndpoint"`
	// Enterprise Ad Corresponding DNS Address.
	DnsAddresses []string `pulumi:"dnsAddresses"`
	// Easy-to-Use DNS Name.
	DnsUserName string `pulumi:"dnsUserName"`
	// Enterprise of Ad Domain Name.
	DomainName string `pulumi:"domainName"`
	// Domain of the User Who Will Administer This Target Application Password.
	DomainPassword string `pulumi:"domainPassword"`
	// The Domain Administrator's Username.
	DomainUserName string `pulumi:"domainUserName"`
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess bool `pulumi:"enableAdminAccess"`
	// Enable Cross-Desktop Access.
	EnableCrossDesktopAccess bool `pulumi:"enableCrossDesktopAccess"`
	// Whether the Open Internet Access Function.
	//
	// Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
	EnableInternetAccess bool `pulumi:"enableInternetAccess"`
	// NAS File System ID.
	FileSystemIds []string `pulumi:"fileSystemIds"`
	// The ID of the Simple Office Site.
	Id string `pulumi:"id"`
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled bool `pulumi:"mfaEnabled"`
	// Internet Access ID.
	NetworkPackageId string `pulumi:"networkPackageId"`
	// The Workspace ID.
	OfficeSiteId string `pulumi:"officeSiteId"`
	// Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
	OfficeSiteType string `pulumi:"officeSiteType"`
	// The simple office site name.
	SimpleOfficeSiteName string `pulumi:"simpleOfficeSiteName"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled bool `pulumi:"ssoEnabled"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoStatus bool `pulumi:"ssoStatus"`
	// Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
	Status string `pulumi:"status"`
	// AD Subdomain of the DNS Address.
	SubDnsAddresses []string `pulumi:"subDnsAddresses"`
	// AD Domain DNS Name.
	SubDomainName string `pulumi:"subDomainName"`
	// AD Trust Password.
	TrustPassword string `pulumi:"trustPassword"`
	// Security Office VPC ID.
	VpcId string `pulumi:"vpcId"`
	// The vswitch ids.
	VswitchIds []string `pulumi:"vswitchIds"`
}

type GetSimpleOfficeSitesSiteArgs added in v3.9.0

type GetSimpleOfficeSitesSiteArgs struct {
	// The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
	//
	// Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// Cloud Enterprise Network Instance Id.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Workspace Creation Time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Security Group ID.
	CustomSecurityGroupId pulumi.StringInput `pulumi:"customSecurityGroupId"`
	// Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
	DesktopAccessType pulumi.StringInput `pulumi:"desktopAccessType"`
	// The Desktop Vpc Endpoint.
	DesktopVpcEndpoint pulumi.StringInput `pulumi:"desktopVpcEndpoint"`
	// Enterprise Ad Corresponding DNS Address.
	DnsAddresses pulumi.StringArrayInput `pulumi:"dnsAddresses"`
	// Easy-to-Use DNS Name.
	DnsUserName pulumi.StringInput `pulumi:"dnsUserName"`
	// Enterprise of Ad Domain Name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Domain of the User Who Will Administer This Target Application Password.
	DomainPassword pulumi.StringInput `pulumi:"domainPassword"`
	// The Domain Administrator's Username.
	DomainUserName pulumi.StringInput `pulumi:"domainUserName"`
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess pulumi.BoolInput `pulumi:"enableAdminAccess"`
	// Enable Cross-Desktop Access.
	EnableCrossDesktopAccess pulumi.BoolInput `pulumi:"enableCrossDesktopAccess"`
	// Whether the Open Internet Access Function.
	//
	// Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
	EnableInternetAccess pulumi.BoolInput `pulumi:"enableInternetAccess"`
	// NAS File System ID.
	FileSystemIds pulumi.StringArrayInput `pulumi:"fileSystemIds"`
	// The ID of the Simple Office Site.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled pulumi.BoolInput `pulumi:"mfaEnabled"`
	// Internet Access ID.
	NetworkPackageId pulumi.StringInput `pulumi:"networkPackageId"`
	// The Workspace ID.
	OfficeSiteId pulumi.StringInput `pulumi:"officeSiteId"`
	// Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
	OfficeSiteType pulumi.StringInput `pulumi:"officeSiteType"`
	// The simple office site name.
	SimpleOfficeSiteName pulumi.StringInput `pulumi:"simpleOfficeSiteName"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled pulumi.BoolInput `pulumi:"ssoEnabled"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoStatus pulumi.BoolInput `pulumi:"ssoStatus"`
	// Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
	Status pulumi.StringInput `pulumi:"status"`
	// AD Subdomain of the DNS Address.
	SubDnsAddresses pulumi.StringArrayInput `pulumi:"subDnsAddresses"`
	// AD Domain DNS Name.
	SubDomainName pulumi.StringInput `pulumi:"subDomainName"`
	// AD Trust Password.
	TrustPassword pulumi.StringInput `pulumi:"trustPassword"`
	// Security Office VPC ID.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The vswitch ids.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
}

func (GetSimpleOfficeSitesSiteArgs) ElementType added in v3.9.0

func (GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutput added in v3.9.0

func (i GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutput() GetSimpleOfficeSitesSiteOutput

func (GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutputWithContext added in v3.9.0

func (i GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutputWithContext(ctx context.Context) GetSimpleOfficeSitesSiteOutput

type GetSimpleOfficeSitesSiteArray added in v3.9.0

type GetSimpleOfficeSitesSiteArray []GetSimpleOfficeSitesSiteInput

func (GetSimpleOfficeSitesSiteArray) ElementType added in v3.9.0

func (GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutput added in v3.9.0

func (i GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutput() GetSimpleOfficeSitesSiteArrayOutput

func (GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutputWithContext added in v3.9.0

func (i GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutputWithContext(ctx context.Context) GetSimpleOfficeSitesSiteArrayOutput

type GetSimpleOfficeSitesSiteArrayInput added in v3.9.0

type GetSimpleOfficeSitesSiteArrayInput interface {
	pulumi.Input

	ToGetSimpleOfficeSitesSiteArrayOutput() GetSimpleOfficeSitesSiteArrayOutput
	ToGetSimpleOfficeSitesSiteArrayOutputWithContext(context.Context) GetSimpleOfficeSitesSiteArrayOutput
}

GetSimpleOfficeSitesSiteArrayInput is an input type that accepts GetSimpleOfficeSitesSiteArray and GetSimpleOfficeSitesSiteArrayOutput values. You can construct a concrete instance of `GetSimpleOfficeSitesSiteArrayInput` via:

GetSimpleOfficeSitesSiteArray{ GetSimpleOfficeSitesSiteArgs{...} }

type GetSimpleOfficeSitesSiteArrayOutput added in v3.9.0

type GetSimpleOfficeSitesSiteArrayOutput struct{ *pulumi.OutputState }

func (GetSimpleOfficeSitesSiteArrayOutput) ElementType added in v3.9.0

func (GetSimpleOfficeSitesSiteArrayOutput) Index added in v3.9.0

func (GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutput added in v3.9.0

func (o GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutput() GetSimpleOfficeSitesSiteArrayOutput

func (GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutputWithContext added in v3.9.0

func (o GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutputWithContext(ctx context.Context) GetSimpleOfficeSitesSiteArrayOutput

type GetSimpleOfficeSitesSiteInput added in v3.9.0

type GetSimpleOfficeSitesSiteInput interface {
	pulumi.Input

	ToGetSimpleOfficeSitesSiteOutput() GetSimpleOfficeSitesSiteOutput
	ToGetSimpleOfficeSitesSiteOutputWithContext(context.Context) GetSimpleOfficeSitesSiteOutput
}

GetSimpleOfficeSitesSiteInput is an input type that accepts GetSimpleOfficeSitesSiteArgs and GetSimpleOfficeSitesSiteOutput values. You can construct a concrete instance of `GetSimpleOfficeSitesSiteInput` via:

GetSimpleOfficeSitesSiteArgs{...}

type GetSimpleOfficeSitesSiteOutput added in v3.9.0

type GetSimpleOfficeSitesSiteOutput struct{ *pulumi.OutputState }

func (GetSimpleOfficeSitesSiteOutput) Bandwidth deprecated added in v3.9.0

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.

Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.

func (GetSimpleOfficeSitesSiteOutput) CenId added in v3.9.0

Cloud Enterprise Network Instance Id.

func (GetSimpleOfficeSitesSiteOutput) CidrBlock added in v3.9.0

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (GetSimpleOfficeSitesSiteOutput) CreateTime added in v3.9.0

Workspace Creation Time.

func (GetSimpleOfficeSitesSiteOutput) CustomSecurityGroupId added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) CustomSecurityGroupId() pulumi.StringOutput

Security Group ID.

func (GetSimpleOfficeSitesSiteOutput) DesktopAccessType added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) DesktopAccessType() pulumi.StringOutput

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.

func (GetSimpleOfficeSitesSiteOutput) DesktopVpcEndpoint added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) DesktopVpcEndpoint() pulumi.StringOutput

The Desktop Vpc Endpoint.

func (GetSimpleOfficeSitesSiteOutput) DnsAddresses added in v3.9.0

Enterprise Ad Corresponding DNS Address.

func (GetSimpleOfficeSitesSiteOutput) DnsUserName added in v3.9.0

Easy-to-Use DNS Name.

func (GetSimpleOfficeSitesSiteOutput) DomainName added in v3.9.0

Enterprise of Ad Domain Name.

func (GetSimpleOfficeSitesSiteOutput) DomainPassword added in v3.9.0

Domain of the User Who Will Administer This Target Application Password.

func (GetSimpleOfficeSitesSiteOutput) DomainUserName added in v3.9.0

The Domain Administrator's Username.

func (GetSimpleOfficeSitesSiteOutput) ElementType added in v3.9.0

func (GetSimpleOfficeSitesSiteOutput) EnableAdminAccess added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

func (GetSimpleOfficeSitesSiteOutput) EnableCrossDesktopAccess added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Enable Cross-Desktop Access.

func (GetSimpleOfficeSitesSiteOutput) EnableInternetAccess deprecated added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Whether the Open Internet Access Function.

Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

func (GetSimpleOfficeSitesSiteOutput) FileSystemIds added in v3.9.0

NAS File System ID.

func (GetSimpleOfficeSitesSiteOutput) Id added in v3.9.0

The ID of the Simple Office Site.

func (GetSimpleOfficeSitesSiteOutput) MfaEnabled added in v3.9.0

Whether to Enable Multi-Factor Authentication MFA.

func (GetSimpleOfficeSitesSiteOutput) NetworkPackageId added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) NetworkPackageId() pulumi.StringOutput

Internet Access ID.

func (GetSimpleOfficeSitesSiteOutput) OfficeSiteId added in v3.9.0

The Workspace ID.

func (GetSimpleOfficeSitesSiteOutput) OfficeSiteType added in v3.9.0

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

func (GetSimpleOfficeSitesSiteOutput) SimpleOfficeSiteName added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) SimpleOfficeSiteName() pulumi.StringOutput

The simple office site name.

func (GetSimpleOfficeSitesSiteOutput) SsoEnabled added in v3.9.0

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

func (GetSimpleOfficeSitesSiteOutput) SsoStatus added in v3.9.0

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

func (GetSimpleOfficeSitesSiteOutput) Status added in v3.9.0

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

func (GetSimpleOfficeSitesSiteOutput) SubDnsAddresses added in v3.9.0

AD Subdomain of the DNS Address.

func (GetSimpleOfficeSitesSiteOutput) SubDomainName added in v3.9.0

AD Domain DNS Name.

func (GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutput added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutput() GetSimpleOfficeSitesSiteOutput

func (GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutputWithContext added in v3.9.0

func (o GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutputWithContext(ctx context.Context) GetSimpleOfficeSitesSiteOutput

func (GetSimpleOfficeSitesSiteOutput) TrustPassword added in v3.9.0

AD Trust Password.

func (GetSimpleOfficeSitesSiteOutput) VpcId added in v3.9.0

Security Office VPC ID.

func (GetSimpleOfficeSitesSiteOutput) VswitchIds added in v3.9.0

The vswitch ids.

type GetSnapshotsArgs added in v3.20.0

type GetSnapshotsArgs struct {
	// The ID of the Desktop.
	DesktopId *string `pulumi:"desktopId"`
	// A list of Snapshot IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Snapshot name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the Snapshot.
	SnapshotId *string `pulumi:"snapshotId"`
}

A collection of arguments for invoking getSnapshots.

type GetSnapshotsOutputArgs added in v3.20.0

type GetSnapshotsOutputArgs struct {
	// The ID of the Desktop.
	DesktopId pulumi.StringPtrInput `pulumi:"desktopId"`
	// A list of Snapshot IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Snapshot name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the Snapshot.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

A collection of arguments for invoking getSnapshots.

func (GetSnapshotsOutputArgs) ElementType added in v3.20.0

func (GetSnapshotsOutputArgs) ElementType() reflect.Type

type GetSnapshotsResult added in v3.20.0

type GetSnapshotsResult struct {
	DesktopId *string `pulumi:"desktopId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Ids        []string               `pulumi:"ids"`
	NameRegex  *string                `pulumi:"nameRegex"`
	Names      []string               `pulumi:"names"`
	OutputFile *string                `pulumi:"outputFile"`
	SnapshotId *string                `pulumi:"snapshotId"`
	Snapshots  []GetSnapshotsSnapshot `pulumi:"snapshots"`
}

A collection of values returned by getSnapshots.

func GetSnapshots added in v3.20.0

func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error)

This data source provides the Ecd Snapshots of the current Alibaba Cloud user.

> **NOTE:** Available in v1.169.0+.

## Example Usage

Basic Usage

```go 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 {
		ids, err := eds.GetSnapshots(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdSnapshotId1", ids.Snapshots[0].Id)
		return nil
	})
}

```

type GetSnapshotsResultOutput added in v3.20.0

type GetSnapshotsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshots.

func GetSnapshotsOutput added in v3.20.0

func GetSnapshotsOutput(ctx *pulumi.Context, args GetSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) DesktopId added in v3.20.0

func (GetSnapshotsResultOutput) ElementType added in v3.20.0

func (GetSnapshotsResultOutput) ElementType() reflect.Type

func (GetSnapshotsResultOutput) Id added in v3.20.0

The provider-assigned unique ID for this managed resource.

func (GetSnapshotsResultOutput) Ids added in v3.20.0

func (GetSnapshotsResultOutput) NameRegex added in v3.20.0

func (GetSnapshotsResultOutput) Names added in v3.20.0

func (GetSnapshotsResultOutput) OutputFile added in v3.20.0

func (GetSnapshotsResultOutput) SnapshotId added in v3.20.0

func (GetSnapshotsResultOutput) Snapshots added in v3.20.0

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput added in v3.20.0

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext added in v3.20.0

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput

type GetSnapshotsSnapshot added in v3.20.0

type GetSnapshotsSnapshot struct {
	// The time when the snapshot was created.
	CreateTime string `pulumi:"createTime"`
	// The description of the snapshot.
	Description string `pulumi:"description"`
	// The ID of the cloud desktop to which the snapshot belongs.
	DesktopId string `pulumi:"desktopId"`
	// The ID of the Snapshot.
	Id string `pulumi:"id"`
	// The progress of creating the snapshot.
	Progress string `pulumi:"progress"`
	// The remaining time that is required to create the snapshot. Unit: seconds.
	RemainTime int `pulumi:"remainTime"`
	// The ID of the snapshot.
	SnapshotId string `pulumi:"snapshotId"`
	// The name of the snapshot.
	SnapshotName string `pulumi:"snapshotName"`
	// The type of the snapshot.
	SnapshotType string `pulumi:"snapshotType"`
	// The capacity of the source disk. Unit: GiB.
	SourceDiskSize string `pulumi:"sourceDiskSize"`
	// The type of the source disk.
	SourceDiskType string `pulumi:"sourceDiskType"`
	// The status of the snapshot.
	Status string `pulumi:"status"`
}

type GetSnapshotsSnapshotArgs added in v3.20.0

type GetSnapshotsSnapshotArgs struct {
	// The time when the snapshot was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the snapshot.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the cloud desktop to which the snapshot belongs.
	DesktopId pulumi.StringInput `pulumi:"desktopId"`
	// The ID of the Snapshot.
	Id pulumi.StringInput `pulumi:"id"`
	// The progress of creating the snapshot.
	Progress pulumi.StringInput `pulumi:"progress"`
	// The remaining time that is required to create the snapshot. Unit: seconds.
	RemainTime pulumi.IntInput `pulumi:"remainTime"`
	// The ID of the snapshot.
	SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
	// The name of the snapshot.
	SnapshotName pulumi.StringInput `pulumi:"snapshotName"`
	// The type of the snapshot.
	SnapshotType pulumi.StringInput `pulumi:"snapshotType"`
	// The capacity of the source disk. Unit: GiB.
	SourceDiskSize pulumi.StringInput `pulumi:"sourceDiskSize"`
	// The type of the source disk.
	SourceDiskType pulumi.StringInput `pulumi:"sourceDiskType"`
	// The status of the snapshot.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetSnapshotsSnapshotArgs) ElementType added in v3.20.0

func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type

func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput added in v3.20.0

func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput

func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext added in v3.20.0

func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput

type GetSnapshotsSnapshotArray added in v3.20.0

type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput

func (GetSnapshotsSnapshotArray) ElementType added in v3.20.0

func (GetSnapshotsSnapshotArray) ElementType() reflect.Type

func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput added in v3.20.0

func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput

func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext added in v3.20.0

func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput

type GetSnapshotsSnapshotArrayInput added in v3.20.0

type GetSnapshotsSnapshotArrayInput interface {
	pulumi.Input

	ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
	ToGetSnapshotsSnapshotArrayOutputWithContext(context.Context) GetSnapshotsSnapshotArrayOutput
}

GetSnapshotsSnapshotArrayInput is an input type that accepts GetSnapshotsSnapshotArray and GetSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotArrayInput` via:

GetSnapshotsSnapshotArray{ GetSnapshotsSnapshotArgs{...} }

type GetSnapshotsSnapshotArrayOutput added in v3.20.0

type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotArrayOutput) ElementType added in v3.20.0

func (GetSnapshotsSnapshotArrayOutput) Index added in v3.20.0

func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput added in v3.20.0

func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput

func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext added in v3.20.0

func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput

type GetSnapshotsSnapshotInput added in v3.20.0

type GetSnapshotsSnapshotInput interface {
	pulumi.Input

	ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
	ToGetSnapshotsSnapshotOutputWithContext(context.Context) GetSnapshotsSnapshotOutput
}

GetSnapshotsSnapshotInput is an input type that accepts GetSnapshotsSnapshotArgs and GetSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotInput` via:

GetSnapshotsSnapshotArgs{...}

type GetSnapshotsSnapshotOutput added in v3.20.0

type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotOutput) CreateTime added in v3.20.0

The time when the snapshot was created.

func (GetSnapshotsSnapshotOutput) Description added in v3.20.0

The description of the snapshot.

func (GetSnapshotsSnapshotOutput) DesktopId added in v3.20.0

The ID of the cloud desktop to which the snapshot belongs.

func (GetSnapshotsSnapshotOutput) ElementType added in v3.20.0

func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type

func (GetSnapshotsSnapshotOutput) Id added in v3.20.0

The ID of the Snapshot.

func (GetSnapshotsSnapshotOutput) Progress added in v3.20.0

The progress of creating the snapshot.

func (GetSnapshotsSnapshotOutput) RemainTime added in v3.20.0

The remaining time that is required to create the snapshot. Unit: seconds.

func (GetSnapshotsSnapshotOutput) SnapshotId added in v3.20.0

The ID of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotName added in v3.20.0

The name of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotType added in v3.20.0

The type of the snapshot.

func (GetSnapshotsSnapshotOutput) SourceDiskSize added in v3.20.0

func (o GetSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput

The capacity of the source disk. Unit: GiB.

func (GetSnapshotsSnapshotOutput) SourceDiskType added in v3.20.0

func (o GetSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput

The type of the source disk.

func (GetSnapshotsSnapshotOutput) Status added in v3.20.0

The status of the snapshot.

func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput added in v3.20.0

func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput

func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext added in v3.20.0

func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput

type GetUsersArgs added in v3.10.0

type GetUsersArgs struct {
	// A list of User IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs added in v3.10.0

type GetUsersOutputArgs struct {
	// A list of User IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType added in v3.10.0

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult added in v3.10.0

type GetUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string         `pulumi:"id"`
	Ids        []string       `pulumi:"ids"`
	OutputFile *string        `pulumi:"outputFile"`
	Status     *string        `pulumi:"status"`
	Users      []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers added in v3.10.0

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

This data source provides the Elastic Desktop Service (ECD) Users of the current Alibaba Cloud user.

> **NOTE:** Available in v1.142.0+.

## Example Usage

Basic Usage

```go 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.NewUser(ctx, "default", &eds.UserArgs{
			EndUserId: pulumi.String("example_value"),
			Email:     pulumi.String("your_email"),
			Phone:     pulumi.String("your_phone"),
			Password:  pulumi.String("your_password"),
		})
		if err != nil {
			return err
		}
		ids, err := eds.GetUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecdUserId1", ids.Users[0].Id)
		return nil
	})
}

```

type GetUsersResultOutput added in v3.10.0

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func GetUsersOutput added in v3.10.0

func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput

func (GetUsersResultOutput) ElementType added in v3.10.0

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) Ids added in v3.10.0

func (GetUsersResultOutput) OutputFile added in v3.10.0

func (GetUsersResultOutput) Status added in v3.10.0

func (GetUsersResultOutput) ToGetUsersResultOutput added in v3.10.0

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext added in v3.10.0

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Users added in v3.10.0

type GetUsersUser added in v3.10.0

type GetUsersUser struct {
	// The email of the user email.
	Email string `pulumi:"email"`
	// The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
	EndUserId string `pulumi:"endUserId"`
	// The ID of the user id.
	Id string `pulumi:"id"`
	// The phone of the mobile phone number.
	Phone string `pulumi:"phone"`
	// The status of the resource.
	Status string `pulumi:"status"`
}

type GetUsersUserArgs added in v3.10.0

type GetUsersUserArgs struct {
	// The email of the user email.
	Email pulumi.StringInput `pulumi:"email"`
	// The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
	EndUserId pulumi.StringInput `pulumi:"endUserId"`
	// The ID of the user id.
	Id pulumi.StringInput `pulumi:"id"`
	// The phone of the mobile phone number.
	Phone pulumi.StringInput `pulumi:"phone"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetUsersUserArgs) ElementType added in v3.10.0

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput added in v3.10.0

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext added in v3.10.0

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray added in v3.10.0

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType added in v3.10.0

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput added in v3.10.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext added in v3.10.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput added in v3.10.0

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput added in v3.10.0

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType added in v3.10.0

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index added in v3.10.0

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput added in v3.10.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext added in v3.10.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput added in v3.10.0

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput added in v3.10.0

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) ElementType added in v3.10.0

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email added in v3.10.0

The email of the user email.

func (GetUsersUserOutput) EndUserId added in v3.10.0

func (o GetUsersUserOutput) EndUserId() pulumi.StringOutput

The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.

func (GetUsersUserOutput) Id added in v3.10.0

The ID of the user id.

func (GetUsersUserOutput) Phone added in v3.10.0

The phone of the mobile phone number.

func (GetUsersUserOutput) Status added in v3.10.0

The status of the resource.

func (GetUsersUserOutput) ToGetUsersUserOutput added in v3.10.0

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext added in v3.10.0

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetZonesArgs added in v3.23.0

type GetZonesArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs added in v3.23.0

type GetZonesOutputArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType added in v3.23.0

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult added in v3.23.0

type GetZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string         `pulumi:"id"`
	Ids        []string       `pulumi:"ids"`
	OutputFile *string        `pulumi:"outputFile"`
	Zones      []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones added in v3.23.0

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source provides the available zones with the Elastic Desktop Service (ECD) of the current Alibaba Cloud user.

> **NOTE:** Available in v1.174.0+.

## Example Usage

Basic Usage

```go 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 {
		_default, err := eds.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("alicloudEcdZones", _default.Zones[0].ZoneId)
		return nil
	})
}

```

type GetZonesResultOutput added in v3.23.0

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func GetZonesOutput added in v3.23.0

func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput

func (GetZonesResultOutput) ElementType added in v3.23.0

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Id added in v3.23.0

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) Ids added in v3.23.0

func (GetZonesResultOutput) OutputFile added in v3.23.0

func (GetZonesResultOutput) ToGetZonesResultOutput added in v3.23.0

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext added in v3.23.0

func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput

func (GetZonesResultOutput) Zones added in v3.23.0

type GetZonesZone added in v3.23.0

type GetZonesZone struct {
	// String to filter results by zone id.
	ZoneId string `pulumi:"zoneId"`
}

type GetZonesZoneArgs added in v3.23.0

type GetZonesZoneArgs struct {
	// String to filter results by zone id.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetZonesZoneArgs) ElementType added in v3.23.0

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput added in v3.23.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext added in v3.23.0

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray added in v3.23.0

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType added in v3.23.0

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput added in v3.23.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext added in v3.23.0

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput added in v3.23.0

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput added in v3.23.0

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType added in v3.23.0

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index added in v3.23.0

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput added in v3.23.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext added in v3.23.0

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneInput added in v3.23.0

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneOutput added in v3.23.0

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType added in v3.23.0

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) ToGetZonesZoneOutput added in v3.23.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext added in v3.23.0

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

func (GetZonesZoneOutput) ZoneId added in v3.23.0

String to filter results by zone id.

type Image added in v3.11.0

type Image struct {
	pulumi.CustomResourceState

	// The description of the image.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The desktop id of the desktop.
	DesktopId pulumi.StringOutput `pulumi:"desktopId"`
	// The name of the image.
	ImageName pulumi.StringPtrOutput `pulumi:"imageName"`
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a ECD Image resource.

For information about ECD Image and how to use it, see [What is Image](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createimage).

> **NOTE:** Available since v1.146.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(true),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
		})
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String(name),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String(name),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String(name),
					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
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[1].Id),
			DesktopName:   pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewImage(ctx, "default", &eds.ImageArgs{
			ImageName:   pulumi.String(name),
			DesktopId:   defaultDesktop.ID(),
			Description: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Image can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/image:Image example <id> ```

func GetImage added in v3.11.0

func GetImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error)

GetImage gets an existing Image resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImage added in v3.11.0

func NewImage(ctx *pulumi.Context,
	name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

NewImage registers a new resource with the given unique name, arguments, and options.

func (*Image) ElementType added in v3.11.0

func (*Image) ElementType() reflect.Type

func (*Image) ToImageOutput added in v3.11.0

func (i *Image) ToImageOutput() ImageOutput

func (*Image) ToImageOutputWithContext added in v3.11.0

func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageArgs added in v3.11.0

type ImageArgs struct {
	// The description of the image.
	Description pulumi.StringPtrInput
	// The desktop id of the desktop.
	DesktopId pulumi.StringInput
	// The name of the image.
	ImageName pulumi.StringPtrInput
}

The set of arguments for constructing a Image resource.

func (ImageArgs) ElementType added in v3.11.0

func (ImageArgs) ElementType() reflect.Type

type ImageArray added in v3.11.0

type ImageArray []ImageInput

func (ImageArray) ElementType added in v3.11.0

func (ImageArray) ElementType() reflect.Type

func (ImageArray) ToImageArrayOutput added in v3.11.0

func (i ImageArray) ToImageArrayOutput() ImageArrayOutput

func (ImageArray) ToImageArrayOutputWithContext added in v3.11.0

func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageArrayInput added in v3.11.0

type ImageArrayInput interface {
	pulumi.Input

	ToImageArrayOutput() ImageArrayOutput
	ToImageArrayOutputWithContext(context.Context) ImageArrayOutput
}

ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. You can construct a concrete instance of `ImageArrayInput` via:

ImageArray{ ImageArgs{...} }

type ImageArrayOutput added in v3.11.0

type ImageArrayOutput struct{ *pulumi.OutputState }

func (ImageArrayOutput) ElementType added in v3.11.0

func (ImageArrayOutput) ElementType() reflect.Type

func (ImageArrayOutput) Index added in v3.11.0

func (ImageArrayOutput) ToImageArrayOutput added in v3.11.0

func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput

func (ImageArrayOutput) ToImageArrayOutputWithContext added in v3.11.0

func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput

type ImageInput added in v3.11.0

type ImageInput interface {
	pulumi.Input

	ToImageOutput() ImageOutput
	ToImageOutputWithContext(ctx context.Context) ImageOutput
}

type ImageMap added in v3.11.0

type ImageMap map[string]ImageInput

func (ImageMap) ElementType added in v3.11.0

func (ImageMap) ElementType() reflect.Type

func (ImageMap) ToImageMapOutput added in v3.11.0

func (i ImageMap) ToImageMapOutput() ImageMapOutput

func (ImageMap) ToImageMapOutputWithContext added in v3.11.0

func (i ImageMap) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageMapInput added in v3.11.0

type ImageMapInput interface {
	pulumi.Input

	ToImageMapOutput() ImageMapOutput
	ToImageMapOutputWithContext(context.Context) ImageMapOutput
}

ImageMapInput is an input type that accepts ImageMap and ImageMapOutput values. You can construct a concrete instance of `ImageMapInput` via:

ImageMap{ "key": ImageArgs{...} }

type ImageMapOutput added in v3.11.0

type ImageMapOutput struct{ *pulumi.OutputState }

func (ImageMapOutput) ElementType added in v3.11.0

func (ImageMapOutput) ElementType() reflect.Type

func (ImageMapOutput) MapIndex added in v3.11.0

func (ImageMapOutput) ToImageMapOutput added in v3.11.0

func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput

func (ImageMapOutput) ToImageMapOutputWithContext added in v3.11.0

func (o ImageMapOutput) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput

type ImageOutput added in v3.11.0

type ImageOutput struct{ *pulumi.OutputState }

func (ImageOutput) Description added in v3.27.0

func (o ImageOutput) Description() pulumi.StringPtrOutput

The description of the image.

func (ImageOutput) DesktopId added in v3.27.0

func (o ImageOutput) DesktopId() pulumi.StringOutput

The desktop id of the desktop.

func (ImageOutput) ElementType added in v3.11.0

func (ImageOutput) ElementType() reflect.Type

func (ImageOutput) ImageName added in v3.27.0

func (o ImageOutput) ImageName() pulumi.StringPtrOutput

The name of the image.

func (ImageOutput) Status added in v3.27.0

func (o ImageOutput) Status() pulumi.StringOutput

The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.

func (ImageOutput) ToImageOutput added in v3.11.0

func (o ImageOutput) ToImageOutput() ImageOutput

func (ImageOutput) ToImageOutputWithContext added in v3.11.0

func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput

type ImageState added in v3.11.0

type ImageState struct {
	// The description of the image.
	Description pulumi.StringPtrInput
	// The desktop id of the desktop.
	DesktopId pulumi.StringPtrInput
	// The name of the image.
	ImageName pulumi.StringPtrInput
	// The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
	Status pulumi.StringPtrInput
}

func (ImageState) ElementType added in v3.11.0

func (ImageState) ElementType() reflect.Type

type NasFileSystem added in v3.9.0

type NasFileSystem struct {
	pulumi.CustomResourceState

	// The description of nas file system.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The filesystem id of nas file system.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The domain of mount target.
	MountTargetDomain pulumi.StringOutput `pulumi:"mountTargetDomain"`
	// The name of nas file system.
	NasFileSystemName pulumi.StringPtrOutput `pulumi:"nasFileSystemName"`
	// The ID of office site.
	OfficeSiteId pulumi.StringOutput `pulumi:"officeSiteId"`
	// The mount point is in an inactive state, reset the mount point of the NAS file system. Default to `false`.
	Reset pulumi.BoolPtrOutput `pulumi:"reset"`
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a ECD Nas File System resource.

For information about ECD Nas File System and how to use it, see [What is Nas File System](https://www.alibabacloud.com/help/en/elastic-desktop-service/latest/api-reference-for-easy-use-1).

> **NOTE:** Available since v1.141.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(false),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("%v-%v", name, _default.Result)),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewNasFileSystem(ctx, "example", &eds.NasFileSystemArgs{
			NasFileSystemName: pulumi.String(name),
			OfficeSiteId:      defaultSimpleOfficeSite.ID(),
			Description:       pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Nas File System can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/nasFileSystem:NasFileSystem example <id> ```

func GetNasFileSystem added in v3.9.0

func GetNasFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NasFileSystemState, opts ...pulumi.ResourceOption) (*NasFileSystem, error)

GetNasFileSystem gets an existing NasFileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNasFileSystem added in v3.9.0

func NewNasFileSystem(ctx *pulumi.Context,
	name string, args *NasFileSystemArgs, opts ...pulumi.ResourceOption) (*NasFileSystem, error)

NewNasFileSystem registers a new resource with the given unique name, arguments, and options.

func (*NasFileSystem) ElementType added in v3.9.0

func (*NasFileSystem) ElementType() reflect.Type

func (*NasFileSystem) ToNasFileSystemOutput added in v3.9.0

func (i *NasFileSystem) ToNasFileSystemOutput() NasFileSystemOutput

func (*NasFileSystem) ToNasFileSystemOutputWithContext added in v3.9.0

func (i *NasFileSystem) ToNasFileSystemOutputWithContext(ctx context.Context) NasFileSystemOutput

type NasFileSystemArgs added in v3.9.0

type NasFileSystemArgs struct {
	// The description of nas file system.
	Description pulumi.StringPtrInput
	// The filesystem id of nas file system.
	FileSystemId pulumi.StringPtrInput
	// The domain of mount target.
	MountTargetDomain pulumi.StringPtrInput
	// The name of nas file system.
	NasFileSystemName pulumi.StringPtrInput
	// The ID of office site.
	OfficeSiteId pulumi.StringInput
	// The mount point is in an inactive state, reset the mount point of the NAS file system. Default to `false`.
	Reset pulumi.BoolPtrInput
}

The set of arguments for constructing a NasFileSystem resource.

func (NasFileSystemArgs) ElementType added in v3.9.0

func (NasFileSystemArgs) ElementType() reflect.Type

type NasFileSystemArray added in v3.9.0

type NasFileSystemArray []NasFileSystemInput

func (NasFileSystemArray) ElementType added in v3.9.0

func (NasFileSystemArray) ElementType() reflect.Type

func (NasFileSystemArray) ToNasFileSystemArrayOutput added in v3.9.0

func (i NasFileSystemArray) ToNasFileSystemArrayOutput() NasFileSystemArrayOutput

func (NasFileSystemArray) ToNasFileSystemArrayOutputWithContext added in v3.9.0

func (i NasFileSystemArray) ToNasFileSystemArrayOutputWithContext(ctx context.Context) NasFileSystemArrayOutput

type NasFileSystemArrayInput added in v3.9.0

type NasFileSystemArrayInput interface {
	pulumi.Input

	ToNasFileSystemArrayOutput() NasFileSystemArrayOutput
	ToNasFileSystemArrayOutputWithContext(context.Context) NasFileSystemArrayOutput
}

NasFileSystemArrayInput is an input type that accepts NasFileSystemArray and NasFileSystemArrayOutput values. You can construct a concrete instance of `NasFileSystemArrayInput` via:

NasFileSystemArray{ NasFileSystemArgs{...} }

type NasFileSystemArrayOutput added in v3.9.0

type NasFileSystemArrayOutput struct{ *pulumi.OutputState }

func (NasFileSystemArrayOutput) ElementType added in v3.9.0

func (NasFileSystemArrayOutput) ElementType() reflect.Type

func (NasFileSystemArrayOutput) Index added in v3.9.0

func (NasFileSystemArrayOutput) ToNasFileSystemArrayOutput added in v3.9.0

func (o NasFileSystemArrayOutput) ToNasFileSystemArrayOutput() NasFileSystemArrayOutput

func (NasFileSystemArrayOutput) ToNasFileSystemArrayOutputWithContext added in v3.9.0

func (o NasFileSystemArrayOutput) ToNasFileSystemArrayOutputWithContext(ctx context.Context) NasFileSystemArrayOutput

type NasFileSystemInput added in v3.9.0

type NasFileSystemInput interface {
	pulumi.Input

	ToNasFileSystemOutput() NasFileSystemOutput
	ToNasFileSystemOutputWithContext(ctx context.Context) NasFileSystemOutput
}

type NasFileSystemMap added in v3.9.0

type NasFileSystemMap map[string]NasFileSystemInput

func (NasFileSystemMap) ElementType added in v3.9.0

func (NasFileSystemMap) ElementType() reflect.Type

func (NasFileSystemMap) ToNasFileSystemMapOutput added in v3.9.0

func (i NasFileSystemMap) ToNasFileSystemMapOutput() NasFileSystemMapOutput

func (NasFileSystemMap) ToNasFileSystemMapOutputWithContext added in v3.9.0

func (i NasFileSystemMap) ToNasFileSystemMapOutputWithContext(ctx context.Context) NasFileSystemMapOutput

type NasFileSystemMapInput added in v3.9.0

type NasFileSystemMapInput interface {
	pulumi.Input

	ToNasFileSystemMapOutput() NasFileSystemMapOutput
	ToNasFileSystemMapOutputWithContext(context.Context) NasFileSystemMapOutput
}

NasFileSystemMapInput is an input type that accepts NasFileSystemMap and NasFileSystemMapOutput values. You can construct a concrete instance of `NasFileSystemMapInput` via:

NasFileSystemMap{ "key": NasFileSystemArgs{...} }

type NasFileSystemMapOutput added in v3.9.0

type NasFileSystemMapOutput struct{ *pulumi.OutputState }

func (NasFileSystemMapOutput) ElementType added in v3.9.0

func (NasFileSystemMapOutput) ElementType() reflect.Type

func (NasFileSystemMapOutput) MapIndex added in v3.9.0

func (NasFileSystemMapOutput) ToNasFileSystemMapOutput added in v3.9.0

func (o NasFileSystemMapOutput) ToNasFileSystemMapOutput() NasFileSystemMapOutput

func (NasFileSystemMapOutput) ToNasFileSystemMapOutputWithContext added in v3.9.0

func (o NasFileSystemMapOutput) ToNasFileSystemMapOutputWithContext(ctx context.Context) NasFileSystemMapOutput

type NasFileSystemOutput added in v3.9.0

type NasFileSystemOutput struct{ *pulumi.OutputState }

func (NasFileSystemOutput) Description added in v3.27.0

func (o NasFileSystemOutput) Description() pulumi.StringPtrOutput

The description of nas file system.

func (NasFileSystemOutput) ElementType added in v3.9.0

func (NasFileSystemOutput) ElementType() reflect.Type

func (NasFileSystemOutput) FileSystemId added in v3.27.0

func (o NasFileSystemOutput) FileSystemId() pulumi.StringOutput

The filesystem id of nas file system.

func (NasFileSystemOutput) MountTargetDomain added in v3.27.0

func (o NasFileSystemOutput) MountTargetDomain() pulumi.StringOutput

The domain of mount target.

func (NasFileSystemOutput) NasFileSystemName added in v3.27.0

func (o NasFileSystemOutput) NasFileSystemName() pulumi.StringPtrOutput

The name of nas file system.

func (NasFileSystemOutput) OfficeSiteId added in v3.27.0

func (o NasFileSystemOutput) OfficeSiteId() pulumi.StringOutput

The ID of office site.

func (NasFileSystemOutput) Reset added in v3.27.0

The mount point is in an inactive state, reset the mount point of the NAS file system. Default to `false`.

func (NasFileSystemOutput) Status added in v3.27.0

The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.

func (NasFileSystemOutput) ToNasFileSystemOutput added in v3.9.0

func (o NasFileSystemOutput) ToNasFileSystemOutput() NasFileSystemOutput

func (NasFileSystemOutput) ToNasFileSystemOutputWithContext added in v3.9.0

func (o NasFileSystemOutput) ToNasFileSystemOutputWithContext(ctx context.Context) NasFileSystemOutput

type NasFileSystemState added in v3.9.0

type NasFileSystemState struct {
	// The description of nas file system.
	Description pulumi.StringPtrInput
	// The filesystem id of nas file system.
	FileSystemId pulumi.StringPtrInput
	// The domain of mount target.
	MountTargetDomain pulumi.StringPtrInput
	// The name of nas file system.
	NasFileSystemName pulumi.StringPtrInput
	// The ID of office site.
	OfficeSiteId pulumi.StringPtrInput
	// The mount point is in an inactive state, reset the mount point of the NAS file system. Default to `false`.
	Reset pulumi.BoolPtrInput
	// The status of nas file system. Valid values: `Pending`, `Running`, `Stopped`,`Deleting`, `Deleted`, `Invalid`.
	Status pulumi.StringPtrInput
}

func (NasFileSystemState) ElementType added in v3.9.0

func (NasFileSystemState) ElementType() reflect.Type

type NetworkPackage added in v3.10.0

type NetworkPackage struct {
	pulumi.CustomResourceState

	// The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The internet charge type  of  package.
	InternetChargeType pulumi.StringOutput `pulumi:"internetChargeType"`
	// The ID of office site.
	OfficeSiteId pulumi.StringOutput `pulumi:"officeSiteId"`
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a ECD Network Package resource.

For information about ECD Network Package and how to use it, see [What is Network Package](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createnetworkpackage).

> **NOTE:** Available since v1.142.0.

## Example Usage

Basic Usage

```go 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 {
		_default, err := eds.GetSimpleOfficeSites(ctx, &eds.GetSimpleOfficeSitesArgs{
			Status:    pulumi.StringRef("REGISTERED"),
			NameRegex: pulumi.StringRef("default"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = eds.NewNetworkPackage(ctx, "default", &eds.NetworkPackageArgs{
			Bandwidth:    pulumi.Int(10),
			OfficeSiteId: pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Network Package can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/networkPackage:NetworkPackage example <id> ```

func GetNetworkPackage added in v3.10.0

func GetNetworkPackage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkPackageState, opts ...pulumi.ResourceOption) (*NetworkPackage, error)

GetNetworkPackage gets an existing NetworkPackage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkPackage added in v3.10.0

func NewNetworkPackage(ctx *pulumi.Context,
	name string, args *NetworkPackageArgs, opts ...pulumi.ResourceOption) (*NetworkPackage, error)

NewNetworkPackage registers a new resource with the given unique name, arguments, and options.

func (*NetworkPackage) ElementType added in v3.10.0

func (*NetworkPackage) ElementType() reflect.Type

func (*NetworkPackage) ToNetworkPackageOutput added in v3.10.0

func (i *NetworkPackage) ToNetworkPackageOutput() NetworkPackageOutput

func (*NetworkPackage) ToNetworkPackageOutputWithContext added in v3.10.0

func (i *NetworkPackage) ToNetworkPackageOutputWithContext(ctx context.Context) NetworkPackageOutput

type NetworkPackageArgs added in v3.10.0

type NetworkPackageArgs struct {
	// The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.
	Bandwidth pulumi.IntInput
	// The ID of office site.
	OfficeSiteId pulumi.StringInput
}

The set of arguments for constructing a NetworkPackage resource.

func (NetworkPackageArgs) ElementType added in v3.10.0

func (NetworkPackageArgs) ElementType() reflect.Type

type NetworkPackageArray added in v3.10.0

type NetworkPackageArray []NetworkPackageInput

func (NetworkPackageArray) ElementType added in v3.10.0

func (NetworkPackageArray) ElementType() reflect.Type

func (NetworkPackageArray) ToNetworkPackageArrayOutput added in v3.10.0

func (i NetworkPackageArray) ToNetworkPackageArrayOutput() NetworkPackageArrayOutput

func (NetworkPackageArray) ToNetworkPackageArrayOutputWithContext added in v3.10.0

func (i NetworkPackageArray) ToNetworkPackageArrayOutputWithContext(ctx context.Context) NetworkPackageArrayOutput

type NetworkPackageArrayInput added in v3.10.0

type NetworkPackageArrayInput interface {
	pulumi.Input

	ToNetworkPackageArrayOutput() NetworkPackageArrayOutput
	ToNetworkPackageArrayOutputWithContext(context.Context) NetworkPackageArrayOutput
}

NetworkPackageArrayInput is an input type that accepts NetworkPackageArray and NetworkPackageArrayOutput values. You can construct a concrete instance of `NetworkPackageArrayInput` via:

NetworkPackageArray{ NetworkPackageArgs{...} }

type NetworkPackageArrayOutput added in v3.10.0

type NetworkPackageArrayOutput struct{ *pulumi.OutputState }

func (NetworkPackageArrayOutput) ElementType added in v3.10.0

func (NetworkPackageArrayOutput) ElementType() reflect.Type

func (NetworkPackageArrayOutput) Index added in v3.10.0

func (NetworkPackageArrayOutput) ToNetworkPackageArrayOutput added in v3.10.0

func (o NetworkPackageArrayOutput) ToNetworkPackageArrayOutput() NetworkPackageArrayOutput

func (NetworkPackageArrayOutput) ToNetworkPackageArrayOutputWithContext added in v3.10.0

func (o NetworkPackageArrayOutput) ToNetworkPackageArrayOutputWithContext(ctx context.Context) NetworkPackageArrayOutput

type NetworkPackageInput added in v3.10.0

type NetworkPackageInput interface {
	pulumi.Input

	ToNetworkPackageOutput() NetworkPackageOutput
	ToNetworkPackageOutputWithContext(ctx context.Context) NetworkPackageOutput
}

type NetworkPackageMap added in v3.10.0

type NetworkPackageMap map[string]NetworkPackageInput

func (NetworkPackageMap) ElementType added in v3.10.0

func (NetworkPackageMap) ElementType() reflect.Type

func (NetworkPackageMap) ToNetworkPackageMapOutput added in v3.10.0

func (i NetworkPackageMap) ToNetworkPackageMapOutput() NetworkPackageMapOutput

func (NetworkPackageMap) ToNetworkPackageMapOutputWithContext added in v3.10.0

func (i NetworkPackageMap) ToNetworkPackageMapOutputWithContext(ctx context.Context) NetworkPackageMapOutput

type NetworkPackageMapInput added in v3.10.0

type NetworkPackageMapInput interface {
	pulumi.Input

	ToNetworkPackageMapOutput() NetworkPackageMapOutput
	ToNetworkPackageMapOutputWithContext(context.Context) NetworkPackageMapOutput
}

NetworkPackageMapInput is an input type that accepts NetworkPackageMap and NetworkPackageMapOutput values. You can construct a concrete instance of `NetworkPackageMapInput` via:

NetworkPackageMap{ "key": NetworkPackageArgs{...} }

type NetworkPackageMapOutput added in v3.10.0

type NetworkPackageMapOutput struct{ *pulumi.OutputState }

func (NetworkPackageMapOutput) ElementType added in v3.10.0

func (NetworkPackageMapOutput) ElementType() reflect.Type

func (NetworkPackageMapOutput) MapIndex added in v3.10.0

func (NetworkPackageMapOutput) ToNetworkPackageMapOutput added in v3.10.0

func (o NetworkPackageMapOutput) ToNetworkPackageMapOutput() NetworkPackageMapOutput

func (NetworkPackageMapOutput) ToNetworkPackageMapOutputWithContext added in v3.10.0

func (o NetworkPackageMapOutput) ToNetworkPackageMapOutputWithContext(ctx context.Context) NetworkPackageMapOutput

type NetworkPackageOutput added in v3.10.0

type NetworkPackageOutput struct{ *pulumi.OutputState }

func (NetworkPackageOutput) Bandwidth added in v3.27.0

func (o NetworkPackageOutput) Bandwidth() pulumi.IntOutput

The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.

func (NetworkPackageOutput) ElementType added in v3.10.0

func (NetworkPackageOutput) ElementType() reflect.Type

func (NetworkPackageOutput) InternetChargeType added in v3.27.0

func (o NetworkPackageOutput) InternetChargeType() pulumi.StringOutput

The internet charge type of package.

func (NetworkPackageOutput) OfficeSiteId added in v3.27.0

func (o NetworkPackageOutput) OfficeSiteId() pulumi.StringOutput

The ID of office site.

func (NetworkPackageOutput) Status added in v3.27.0

The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.

func (NetworkPackageOutput) ToNetworkPackageOutput added in v3.10.0

func (o NetworkPackageOutput) ToNetworkPackageOutput() NetworkPackageOutput

func (NetworkPackageOutput) ToNetworkPackageOutputWithContext added in v3.10.0

func (o NetworkPackageOutput) ToNetworkPackageOutputWithContext(ctx context.Context) NetworkPackageOutput

type NetworkPackageState added in v3.10.0

type NetworkPackageState struct {
	// The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.
	Bandwidth pulumi.IntPtrInput
	// The internet charge type  of  package.
	InternetChargeType pulumi.StringPtrInput
	// The ID of office site.
	OfficeSiteId pulumi.StringPtrInput
	// The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
	Status pulumi.StringPtrInput
}

func (NetworkPackageState) ElementType added in v3.10.0

func (NetworkPackageState) ElementType() reflect.Type

type RamDirectory added in v3.23.0

type RamDirectory struct {
	pulumi.CustomResourceState

	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringOutput `pulumi:"desktopAccessType"`
	// Whether to enable public network access.
	EnableAdminAccess pulumi.BoolOutput `pulumi:"enableAdminAccess"`
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableInternetAccess pulumi.BoolOutput `pulumi:"enableInternetAccess"`
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	RamDirectoryName pulumi.StringOutput `pulumi:"ramDirectoryName"`
	// The status of directory.
	Status pulumi.StringOutput `pulumi:"status"`
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

Provides a ECD Ram Directory resource.

For information about ECD Ram Directory and how to use it, see [What is Ram Directory](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createramdirectory).

> **NOTE:** Available since v1.174.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := eds.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/24"),
			ZoneId:      pulumi.String(_default.Ids[0]),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewRamDirectory(ctx, "default", &eds.RamDirectoryArgs{
			DesktopAccessType: pulumi.String("INTERNET"),
			EnableAdminAccess: pulumi.Bool(true),
			RamDirectoryName:  pulumi.String(name),
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Ram Directory can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/ramDirectory:RamDirectory example <id> ```

func GetRamDirectory added in v3.23.0

func GetRamDirectory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RamDirectoryState, opts ...pulumi.ResourceOption) (*RamDirectory, error)

GetRamDirectory gets an existing RamDirectory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRamDirectory added in v3.23.0

func NewRamDirectory(ctx *pulumi.Context,
	name string, args *RamDirectoryArgs, opts ...pulumi.ResourceOption) (*RamDirectory, error)

NewRamDirectory registers a new resource with the given unique name, arguments, and options.

func (*RamDirectory) ElementType added in v3.23.0

func (*RamDirectory) ElementType() reflect.Type

func (*RamDirectory) ToRamDirectoryOutput added in v3.23.0

func (i *RamDirectory) ToRamDirectoryOutput() RamDirectoryOutput

func (*RamDirectory) ToRamDirectoryOutputWithContext added in v3.23.0

func (i *RamDirectory) ToRamDirectoryOutputWithContext(ctx context.Context) RamDirectoryOutput

type RamDirectoryArgs added in v3.23.0

type RamDirectoryArgs struct {
	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringPtrInput
	// Whether to enable public network access.
	EnableAdminAccess pulumi.BoolPtrInput
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableInternetAccess pulumi.BoolPtrInput
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	RamDirectoryName pulumi.StringInput
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a RamDirectory resource.

func (RamDirectoryArgs) ElementType added in v3.23.0

func (RamDirectoryArgs) ElementType() reflect.Type

type RamDirectoryArray added in v3.23.0

type RamDirectoryArray []RamDirectoryInput

func (RamDirectoryArray) ElementType added in v3.23.0

func (RamDirectoryArray) ElementType() reflect.Type

func (RamDirectoryArray) ToRamDirectoryArrayOutput added in v3.23.0

func (i RamDirectoryArray) ToRamDirectoryArrayOutput() RamDirectoryArrayOutput

func (RamDirectoryArray) ToRamDirectoryArrayOutputWithContext added in v3.23.0

func (i RamDirectoryArray) ToRamDirectoryArrayOutputWithContext(ctx context.Context) RamDirectoryArrayOutput

type RamDirectoryArrayInput added in v3.23.0

type RamDirectoryArrayInput interface {
	pulumi.Input

	ToRamDirectoryArrayOutput() RamDirectoryArrayOutput
	ToRamDirectoryArrayOutputWithContext(context.Context) RamDirectoryArrayOutput
}

RamDirectoryArrayInput is an input type that accepts RamDirectoryArray and RamDirectoryArrayOutput values. You can construct a concrete instance of `RamDirectoryArrayInput` via:

RamDirectoryArray{ RamDirectoryArgs{...} }

type RamDirectoryArrayOutput added in v3.23.0

type RamDirectoryArrayOutput struct{ *pulumi.OutputState }

func (RamDirectoryArrayOutput) ElementType added in v3.23.0

func (RamDirectoryArrayOutput) ElementType() reflect.Type

func (RamDirectoryArrayOutput) Index added in v3.23.0

func (RamDirectoryArrayOutput) ToRamDirectoryArrayOutput added in v3.23.0

func (o RamDirectoryArrayOutput) ToRamDirectoryArrayOutput() RamDirectoryArrayOutput

func (RamDirectoryArrayOutput) ToRamDirectoryArrayOutputWithContext added in v3.23.0

func (o RamDirectoryArrayOutput) ToRamDirectoryArrayOutputWithContext(ctx context.Context) RamDirectoryArrayOutput

type RamDirectoryInput added in v3.23.0

type RamDirectoryInput interface {
	pulumi.Input

	ToRamDirectoryOutput() RamDirectoryOutput
	ToRamDirectoryOutputWithContext(ctx context.Context) RamDirectoryOutput
}

type RamDirectoryMap added in v3.23.0

type RamDirectoryMap map[string]RamDirectoryInput

func (RamDirectoryMap) ElementType added in v3.23.0

func (RamDirectoryMap) ElementType() reflect.Type

func (RamDirectoryMap) ToRamDirectoryMapOutput added in v3.23.0

func (i RamDirectoryMap) ToRamDirectoryMapOutput() RamDirectoryMapOutput

func (RamDirectoryMap) ToRamDirectoryMapOutputWithContext added in v3.23.0

func (i RamDirectoryMap) ToRamDirectoryMapOutputWithContext(ctx context.Context) RamDirectoryMapOutput

type RamDirectoryMapInput added in v3.23.0

type RamDirectoryMapInput interface {
	pulumi.Input

	ToRamDirectoryMapOutput() RamDirectoryMapOutput
	ToRamDirectoryMapOutputWithContext(context.Context) RamDirectoryMapOutput
}

RamDirectoryMapInput is an input type that accepts RamDirectoryMap and RamDirectoryMapOutput values. You can construct a concrete instance of `RamDirectoryMapInput` via:

RamDirectoryMap{ "key": RamDirectoryArgs{...} }

type RamDirectoryMapOutput added in v3.23.0

type RamDirectoryMapOutput struct{ *pulumi.OutputState }

func (RamDirectoryMapOutput) ElementType added in v3.23.0

func (RamDirectoryMapOutput) ElementType() reflect.Type

func (RamDirectoryMapOutput) MapIndex added in v3.23.0

func (RamDirectoryMapOutput) ToRamDirectoryMapOutput added in v3.23.0

func (o RamDirectoryMapOutput) ToRamDirectoryMapOutput() RamDirectoryMapOutput

func (RamDirectoryMapOutput) ToRamDirectoryMapOutputWithContext added in v3.23.0

func (o RamDirectoryMapOutput) ToRamDirectoryMapOutputWithContext(ctx context.Context) RamDirectoryMapOutput

type RamDirectoryOutput added in v3.23.0

type RamDirectoryOutput struct{ *pulumi.OutputState }

func (RamDirectoryOutput) DesktopAccessType added in v3.27.0

func (o RamDirectoryOutput) DesktopAccessType() pulumi.StringOutput

The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.

func (RamDirectoryOutput) ElementType added in v3.23.0

func (RamDirectoryOutput) ElementType() reflect.Type

func (RamDirectoryOutput) EnableAdminAccess added in v3.27.0

func (o RamDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to enable public network access.

func (RamDirectoryOutput) EnableInternetAccess added in v3.27.0

func (o RamDirectoryOutput) EnableInternetAccess() pulumi.BoolOutput

Whether to grant local administrator rights to users who use cloud desktops.

func (RamDirectoryOutput) RamDirectoryName added in v3.27.0

func (o RamDirectoryOutput) RamDirectoryName() pulumi.StringOutput

The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

func (RamDirectoryOutput) Status added in v3.27.0

The status of directory.

func (RamDirectoryOutput) ToRamDirectoryOutput added in v3.23.0

func (o RamDirectoryOutput) ToRamDirectoryOutput() RamDirectoryOutput

func (RamDirectoryOutput) ToRamDirectoryOutputWithContext added in v3.23.0

func (o RamDirectoryOutput) ToRamDirectoryOutputWithContext(ctx context.Context) RamDirectoryOutput

func (RamDirectoryOutput) VswitchIds added in v3.27.0

List of VSwitch IDs in the directory.

type RamDirectoryState added in v3.23.0

type RamDirectoryState struct {
	// The desktop access type. Valid values: `VPC`, `INTERNET`, `ANY`.
	DesktopAccessType pulumi.StringPtrInput
	// Whether to enable public network access.
	EnableAdminAccess pulumi.BoolPtrInput
	// Whether to grant local administrator rights to users who use cloud desktops.
	EnableInternetAccess pulumi.BoolPtrInput
	// The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
	RamDirectoryName pulumi.StringPtrInput
	// The status of directory.
	Status pulumi.StringPtrInput
	// List of VSwitch IDs in the directory.
	VswitchIds pulumi.StringArrayInput
}

func (RamDirectoryState) ElementType added in v3.23.0

func (RamDirectoryState) ElementType() reflect.Type

type SimpleOfficeSite added in v3.9.0

type SimpleOfficeSite struct {
	pulumi.CustomResourceState

	// The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
	//
	// Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// Cloud Enterprise Network Instance ID.
	CenId pulumi.StringPtrOutput `pulumi:"cenId"`
	// The cen owner id.
	CenOwnerId pulumi.StringPtrOutput `pulumi:"cenOwnerId"`
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: `Any`, `Internet`, `VPC`.
	DesktopAccessType pulumi.StringOutput `pulumi:"desktopAccessType"`
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess pulumi.BoolOutput `pulumi:"enableAdminAccess"`
	// Enable Cross-Desktop Access.
	EnableCrossDesktopAccess pulumi.BoolOutput `pulumi:"enableCrossDesktopAccess"`
	// Whether the Open Internet Access Function.
	//
	// Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
	EnableInternetAccess pulumi.BoolOutput `pulumi:"enableInternetAccess"`
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled pulumi.BoolOutput `pulumi:"mfaEnabled"`
	// The office site name.
	OfficeSiteName pulumi.StringPtrOutput `pulumi:"officeSiteName"`
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled pulumi.BoolOutput `pulumi:"ssoEnabled"`
	// Workspace State. Valid Values: `REGISTERED`,`REGISTERING`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a ECD Simple Office Site resource.

For information about ECD Simple Office Site and how to use it, see [What is Simple Office Site](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createsimpleofficesite).

> **NOTE:** Available since v1.140.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_, err = eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(true),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("terraform-example-%v", _default.Result)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Simple Office Site can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/simpleOfficeSite:SimpleOfficeSite example <id> ```

func GetSimpleOfficeSite added in v3.9.0

func GetSimpleOfficeSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SimpleOfficeSiteState, opts ...pulumi.ResourceOption) (*SimpleOfficeSite, error)

GetSimpleOfficeSite gets an existing SimpleOfficeSite resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSimpleOfficeSite added in v3.9.0

func NewSimpleOfficeSite(ctx *pulumi.Context,
	name string, args *SimpleOfficeSiteArgs, opts ...pulumi.ResourceOption) (*SimpleOfficeSite, error)

NewSimpleOfficeSite registers a new resource with the given unique name, arguments, and options.

func (*SimpleOfficeSite) ElementType added in v3.9.0

func (*SimpleOfficeSite) ElementType() reflect.Type

func (*SimpleOfficeSite) ToSimpleOfficeSiteOutput added in v3.9.0

func (i *SimpleOfficeSite) ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput

func (*SimpleOfficeSite) ToSimpleOfficeSiteOutputWithContext added in v3.9.0

func (i *SimpleOfficeSite) ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput

type SimpleOfficeSiteArgs added in v3.9.0

type SimpleOfficeSiteArgs struct {
	// The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
	//
	// Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.
	Bandwidth pulumi.IntPtrInput
	// Cloud Enterprise Network Instance ID.
	CenId pulumi.StringPtrInput
	// The cen owner id.
	CenOwnerId pulumi.StringPtrInput
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringInput
	// Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: `Any`, `Internet`, `VPC`.
	DesktopAccessType pulumi.StringPtrInput
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess pulumi.BoolPtrInput
	// Enable Cross-Desktop Access.
	EnableCrossDesktopAccess pulumi.BoolPtrInput
	// Whether the Open Internet Access Function.
	//
	// Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
	EnableInternetAccess pulumi.BoolPtrInput
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled pulumi.BoolPtrInput
	// The office site name.
	OfficeSiteName pulumi.StringPtrInput
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a SimpleOfficeSite resource.

func (SimpleOfficeSiteArgs) ElementType added in v3.9.0

func (SimpleOfficeSiteArgs) ElementType() reflect.Type

type SimpleOfficeSiteArray added in v3.9.0

type SimpleOfficeSiteArray []SimpleOfficeSiteInput

func (SimpleOfficeSiteArray) ElementType added in v3.9.0

func (SimpleOfficeSiteArray) ElementType() reflect.Type

func (SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutput added in v3.9.0

func (i SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutput() SimpleOfficeSiteArrayOutput

func (SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutputWithContext added in v3.9.0

func (i SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutputWithContext(ctx context.Context) SimpleOfficeSiteArrayOutput

type SimpleOfficeSiteArrayInput added in v3.9.0

type SimpleOfficeSiteArrayInput interface {
	pulumi.Input

	ToSimpleOfficeSiteArrayOutput() SimpleOfficeSiteArrayOutput
	ToSimpleOfficeSiteArrayOutputWithContext(context.Context) SimpleOfficeSiteArrayOutput
}

SimpleOfficeSiteArrayInput is an input type that accepts SimpleOfficeSiteArray and SimpleOfficeSiteArrayOutput values. You can construct a concrete instance of `SimpleOfficeSiteArrayInput` via:

SimpleOfficeSiteArray{ SimpleOfficeSiteArgs{...} }

type SimpleOfficeSiteArrayOutput added in v3.9.0

type SimpleOfficeSiteArrayOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteArrayOutput) ElementType added in v3.9.0

func (SimpleOfficeSiteArrayOutput) Index added in v3.9.0

func (SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutput added in v3.9.0

func (o SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutput() SimpleOfficeSiteArrayOutput

func (SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutputWithContext added in v3.9.0

func (o SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutputWithContext(ctx context.Context) SimpleOfficeSiteArrayOutput

type SimpleOfficeSiteInput added in v3.9.0

type SimpleOfficeSiteInput interface {
	pulumi.Input

	ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput
	ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput
}

type SimpleOfficeSiteMap added in v3.9.0

type SimpleOfficeSiteMap map[string]SimpleOfficeSiteInput

func (SimpleOfficeSiteMap) ElementType added in v3.9.0

func (SimpleOfficeSiteMap) ElementType() reflect.Type

func (SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutput added in v3.9.0

func (i SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutput() SimpleOfficeSiteMapOutput

func (SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutputWithContext added in v3.9.0

func (i SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutputWithContext(ctx context.Context) SimpleOfficeSiteMapOutput

type SimpleOfficeSiteMapInput added in v3.9.0

type SimpleOfficeSiteMapInput interface {
	pulumi.Input

	ToSimpleOfficeSiteMapOutput() SimpleOfficeSiteMapOutput
	ToSimpleOfficeSiteMapOutputWithContext(context.Context) SimpleOfficeSiteMapOutput
}

SimpleOfficeSiteMapInput is an input type that accepts SimpleOfficeSiteMap and SimpleOfficeSiteMapOutput values. You can construct a concrete instance of `SimpleOfficeSiteMapInput` via:

SimpleOfficeSiteMap{ "key": SimpleOfficeSiteArgs{...} }

type SimpleOfficeSiteMapOutput added in v3.9.0

type SimpleOfficeSiteMapOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteMapOutput) ElementType added in v3.9.0

func (SimpleOfficeSiteMapOutput) ElementType() reflect.Type

func (SimpleOfficeSiteMapOutput) MapIndex added in v3.9.0

func (SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutput added in v3.9.0

func (o SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutput() SimpleOfficeSiteMapOutput

func (SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutputWithContext added in v3.9.0

func (o SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutputWithContext(ctx context.Context) SimpleOfficeSiteMapOutput

type SimpleOfficeSiteOutput added in v3.9.0

type SimpleOfficeSiteOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteOutput) Bandwidth deprecated added in v3.27.0

func (o SimpleOfficeSiteOutput) Bandwidth() pulumi.IntOutput

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.

func (SimpleOfficeSiteOutput) CenId added in v3.27.0

Cloud Enterprise Network Instance ID.

func (SimpleOfficeSiteOutput) CenOwnerId added in v3.27.0

The cen owner id.

func (SimpleOfficeSiteOutput) CidrBlock added in v3.27.0

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (SimpleOfficeSiteOutput) DesktopAccessType added in v3.27.0

func (o SimpleOfficeSiteOutput) DesktopAccessType() pulumi.StringOutput

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: `Any`, `Internet`, `VPC`.

func (SimpleOfficeSiteOutput) ElementType added in v3.9.0

func (SimpleOfficeSiteOutput) ElementType() reflect.Type

func (SimpleOfficeSiteOutput) EnableAdminAccess added in v3.27.0

func (o SimpleOfficeSiteOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

func (SimpleOfficeSiteOutput) EnableCrossDesktopAccess added in v3.27.0

func (o SimpleOfficeSiteOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Enable Cross-Desktop Access.

func (SimpleOfficeSiteOutput) EnableInternetAccess deprecated added in v3.27.0

func (o SimpleOfficeSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Whether the Open Internet Access Function.

Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

func (SimpleOfficeSiteOutput) MfaEnabled added in v3.27.0

func (o SimpleOfficeSiteOutput) MfaEnabled() pulumi.BoolOutput

Whether to Enable Multi-Factor Authentication MFA.

func (SimpleOfficeSiteOutput) OfficeSiteName added in v3.27.0

func (o SimpleOfficeSiteOutput) OfficeSiteName() pulumi.StringPtrOutput

The office site name.

func (SimpleOfficeSiteOutput) SsoEnabled added in v3.27.0

func (o SimpleOfficeSiteOutput) SsoEnabled() pulumi.BoolOutput

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

func (SimpleOfficeSiteOutput) Status added in v3.27.0

Workspace State. Valid Values: `REGISTERED`,`REGISTERING`.

func (SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutput added in v3.9.0

func (o SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput

func (SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutputWithContext added in v3.9.0

func (o SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput

type SimpleOfficeSiteState added in v3.9.0

type SimpleOfficeSiteState struct {
	// The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
	//
	// Deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.
	Bandwidth pulumi.IntPtrInput
	// Cloud Enterprise Network Instance ID.
	CenId pulumi.StringPtrInput
	// The cen owner id.
	CenOwnerId pulumi.StringPtrInput
	// Workspace Corresponds to the Security Office Network of IPv4 Segment.
	CidrBlock pulumi.StringPtrInput
	// Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: `Any`, `Internet`, `VPC`.
	DesktopAccessType pulumi.StringPtrInput
	// Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
	EnableAdminAccess pulumi.BoolPtrInput
	// Enable Cross-Desktop Access.
	EnableCrossDesktopAccess pulumi.BoolPtrInput
	// Whether the Open Internet Access Function.
	//
	// Deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
	EnableInternetAccess pulumi.BoolPtrInput
	// Whether to Enable Multi-Factor Authentication MFA.
	MfaEnabled pulumi.BoolPtrInput
	// The office site name.
	OfficeSiteName pulumi.StringPtrInput
	// Whether to Enable Single Sign-on (SSO) for User-Based SSO.
	SsoEnabled pulumi.BoolPtrInput
	// Workspace State. Valid Values: `REGISTERED`,`REGISTERING`.
	Status pulumi.StringPtrInput
}

func (SimpleOfficeSiteState) ElementType added in v3.9.0

func (SimpleOfficeSiteState) ElementType() reflect.Type

type Snapshot added in v3.20.0

type Snapshot struct {
	pulumi.CustomResourceState

	// The description of the Snapshot.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the Desktop.
	DesktopId pulumi.StringOutput `pulumi:"desktopId"`
	// The name of the Snapshot.
	SnapshotName pulumi.StringOutput `pulumi:"snapshotName"`
	// The type of the disk for which to create a snapshot. Valid values: `SYSTEM`, `DATA`.
	SourceDiskType pulumi.StringOutput `pulumi:"sourceDiskType"`
	// The status of the snapshot.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a ECD Snapshot resource.

For information about ECD Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-ecd-2020-09-30-createsnapshot).

> **NOTE:** Available since v1.169.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			EnableAdminAccess: pulumi.Bool(true),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
		})
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String(name),
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String(name),
					CidrIp:      pulumi.String("1.2.3.45/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String(name),
					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
		}
		_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultDesktop, err := eds.NewDesktop(ctx, "default", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(_default.Bundles[1].Id),
			DesktopName:   pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewSnapshot(ctx, "default", &eds.SnapshotArgs{
			Description:    pulumi.String(name),
			DesktopId:      defaultDesktop.ID(),
			SnapshotName:   pulumi.String(name),
			SourceDiskType: pulumi.String("SYSTEM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD Snapshot can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/snapshot:Snapshot example <id> ```

func GetSnapshot added in v3.20.0

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSnapshot added in v3.20.0

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

NewSnapshot registers a new resource with the given unique name, arguments, and options.

func (*Snapshot) ElementType added in v3.20.0

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput added in v3.20.0

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext added in v3.20.0

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs added in v3.20.0

type SnapshotArgs struct {
	// The description of the Snapshot.
	Description pulumi.StringPtrInput
	// The ID of the Desktop.
	DesktopId pulumi.StringInput
	// The name of the Snapshot.
	SnapshotName pulumi.StringInput
	// The type of the disk for which to create a snapshot. Valid values: `SYSTEM`, `DATA`.
	SourceDiskType pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType added in v3.20.0

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray added in v3.20.0

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType added in v3.20.0

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput added in v3.20.0

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext added in v3.20.0

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput added in v3.20.0

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput added in v3.20.0

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType added in v3.20.0

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index added in v3.20.0

func (SnapshotArrayOutput) ToSnapshotArrayOutput added in v3.20.0

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext added in v3.20.0

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput added in v3.20.0

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap added in v3.20.0

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType added in v3.20.0

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput added in v3.20.0

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext added in v3.20.0

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput added in v3.20.0

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput added in v3.20.0

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType added in v3.20.0

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex added in v3.20.0

func (SnapshotMapOutput) ToSnapshotMapOutput added in v3.20.0

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext added in v3.20.0

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput added in v3.20.0

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) Description added in v3.27.0

func (o SnapshotOutput) Description() pulumi.StringPtrOutput

The description of the Snapshot.

func (SnapshotOutput) DesktopId added in v3.27.0

func (o SnapshotOutput) DesktopId() pulumi.StringOutput

The ID of the Desktop.

func (SnapshotOutput) ElementType added in v3.20.0

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) SnapshotName added in v3.27.0

func (o SnapshotOutput) SnapshotName() pulumi.StringOutput

The name of the Snapshot.

func (SnapshotOutput) SourceDiskType added in v3.27.0

func (o SnapshotOutput) SourceDiskType() pulumi.StringOutput

The type of the disk for which to create a snapshot. Valid values: `SYSTEM`, `DATA`.

func (SnapshotOutput) Status added in v3.27.0

func (o SnapshotOutput) Status() pulumi.StringOutput

The status of the snapshot.

func (SnapshotOutput) ToSnapshotOutput added in v3.20.0

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext added in v3.20.0

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotState added in v3.20.0

type SnapshotState struct {
	// The description of the Snapshot.
	Description pulumi.StringPtrInput
	// The ID of the Desktop.
	DesktopId pulumi.StringPtrInput
	// The name of the Snapshot.
	SnapshotName pulumi.StringPtrInput
	// The type of the disk for which to create a snapshot. Valid values: `SYSTEM`, `DATA`.
	SourceDiskType pulumi.StringPtrInput
	// The status of the snapshot.
	Status pulumi.StringPtrInput
}

func (SnapshotState) ElementType added in v3.20.0

func (SnapshotState) ElementType() reflect.Type

type User added in v3.10.0

type User struct {
	pulumi.CustomResourceState

	// The email of the user email.
	Email pulumi.StringOutput `pulumi:"email"`
	// The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
	EndUserId pulumi.StringOutput `pulumi:"endUserId"`
	// The password of the user password.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The phone of the mobile phone number.
	Phone pulumi.StringPtrOutput `pulumi:"phone"`
	// The status of the resource. Valid values: `Unlocked`, `Locked`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Elastic Desktop Service (ECD) User resource.

For information about Elastic Desktop Service (ECD) User and how to use it, see [What is User](https://www.alibabacloud.com/help/en/wuying-workspace/developer-reference/api-eds-user-2021-03-08-createusers-desktop).

> **NOTE:** Available since v1.142.0.

## Example Usage

Basic Usage

```go 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.NewUser(ctx, "default", &eds.UserArgs{
			EndUserId: pulumi.String("terraform_example123"),
			Email:     pulumi.String("tf.example@abc.com"),
			Phone:     pulumi.String("18888888888"),
			Password:  pulumi.String("Example_123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECD User can be imported using the id, e.g.

```sh $ pulumi import alicloud:eds/user:User example <end_user_id> ```

func GetUser added in v3.10.0

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser added in v3.10.0

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType added in v3.10.0

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v3.10.0

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v3.10.0

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs added in v3.10.0

type UserArgs struct {
	// The email of the user email.
	Email pulumi.StringInput
	// The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
	EndUserId pulumi.StringInput
	// The password of the user password.
	Password pulumi.StringPtrInput
	// The phone of the mobile phone number.
	Phone pulumi.StringPtrInput
	// The status of the resource. Valid values: `Unlocked`, `Locked`.
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType added in v3.10.0

func (UserArgs) ElementType() reflect.Type

type UserArray added in v3.10.0

type UserArray []UserInput

func (UserArray) ElementType added in v3.10.0

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v3.10.0

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v3.10.0

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v3.10.0

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput added in v3.10.0

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v3.10.0

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v3.10.0

func (UserArrayOutput) ToUserArrayOutput added in v3.10.0

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v3.10.0

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput added in v3.10.0

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v3.10.0

type UserMap map[string]UserInput

func (UserMap) ElementType added in v3.10.0

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v3.10.0

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v3.10.0

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v3.10.0

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput added in v3.10.0

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v3.10.0

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v3.10.0

func (UserMapOutput) ToUserMapOutput added in v3.10.0

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v3.10.0

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput added in v3.10.0

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ElementType added in v3.10.0

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email added in v3.27.0

func (o UserOutput) Email() pulumi.StringOutput

The email of the user email.

func (UserOutput) EndUserId added in v3.27.0

func (o UserOutput) EndUserId() pulumi.StringOutput

The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.

func (UserOutput) Password added in v3.27.0

func (o UserOutput) Password() pulumi.StringPtrOutput

The password of the user password.

func (UserOutput) Phone added in v3.27.0

func (o UserOutput) Phone() pulumi.StringPtrOutput

The phone of the mobile phone number.

func (UserOutput) Status added in v3.27.0

func (o UserOutput) Status() pulumi.StringOutput

The status of the resource. Valid values: `Unlocked`, `Locked`.

func (UserOutput) ToUserOutput added in v3.10.0

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v3.10.0

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserState added in v3.10.0

type UserState struct {
	// The email of the user email.
	Email pulumi.StringPtrInput
	// The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
	EndUserId pulumi.StringPtrInput
	// The password of the user password.
	Password pulumi.StringPtrInput
	// The phone of the mobile phone number.
	Phone pulumi.StringPtrInput
	// The status of the resource. Valid values: `Unlocked`, `Locked`.
	Status pulumi.StringPtrInput
}

func (UserState) ElementType added in v3.10.0

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL