eds

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AdConnectorDirectory

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://help.aliyun.com/document_detail/436791.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := eds.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(defaultNetworks.Ids[0]),
			ZoneId: pulumi.StringRef(defaultZones.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		_, err = eds.NewAdConnectorDirectory(ctx, "defaultAdConnectorDirectory", &eds.AdConnectorDirectoryArgs{
			DirectoryName:     pulumi.Any(_var.Name),
			DesktopAccessType: pulumi.String("INTERNET"),
			DnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.2"),
			},
			DomainName:        pulumi.String("corp.example.com"),
			DomainPassword:    pulumi.String("YourPassword1234"),
			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{
				pulumi.String(defaultSwitches.Ids[0]),
			},
		})
		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

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

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

func (*AdConnectorDirectory) ElementType() reflect.Type

func (*AdConnectorDirectory) ToAdConnectorDirectoryOutput

func (i *AdConnectorDirectory) ToAdConnectorDirectoryOutput() AdConnectorDirectoryOutput

func (*AdConnectorDirectory) ToAdConnectorDirectoryOutputWithContext

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

type AdConnectorDirectoryArgs

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

func (AdConnectorDirectoryArgs) ElementType() reflect.Type

type AdConnectorDirectoryArray

type AdConnectorDirectoryArray []AdConnectorDirectoryInput

func (AdConnectorDirectoryArray) ElementType

func (AdConnectorDirectoryArray) ElementType() reflect.Type

func (AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutput

func (i AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutput() AdConnectorDirectoryArrayOutput

func (AdConnectorDirectoryArray) ToAdConnectorDirectoryArrayOutputWithContext

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

type AdConnectorDirectoryArrayInput

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

type AdConnectorDirectoryArrayOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryArrayOutput) ElementType

func (AdConnectorDirectoryArrayOutput) Index

func (AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutput

func (o AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutput() AdConnectorDirectoryArrayOutput

func (AdConnectorDirectoryArrayOutput) ToAdConnectorDirectoryArrayOutputWithContext

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

type AdConnectorDirectoryInput

type AdConnectorDirectoryInput interface {
	pulumi.Input

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

type AdConnectorDirectoryMap

type AdConnectorDirectoryMap map[string]AdConnectorDirectoryInput

func (AdConnectorDirectoryMap) ElementType

func (AdConnectorDirectoryMap) ElementType() reflect.Type

func (AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutput

func (i AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutput() AdConnectorDirectoryMapOutput

func (AdConnectorDirectoryMap) ToAdConnectorDirectoryMapOutputWithContext

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

type AdConnectorDirectoryMapInput

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

type AdConnectorDirectoryMapOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryMapOutput) ElementType

func (AdConnectorDirectoryMapOutput) MapIndex

func (AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutput

func (o AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutput() AdConnectorDirectoryMapOutput

func (AdConnectorDirectoryMapOutput) ToAdConnectorDirectoryMapOutputWithContext

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

type AdConnectorDirectoryOutput

type AdConnectorDirectoryOutput struct{ *pulumi.OutputState }

func (AdConnectorDirectoryOutput) DesktopAccessType

func (o AdConnectorDirectoryOutput) DesktopAccessType() pulumi.StringOutput

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

func (AdConnectorDirectoryOutput) DirectoryName

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

The DNS address list.

func (AdConnectorDirectoryOutput) DomainName

The name of the domain.

func (AdConnectorDirectoryOutput) DomainPassword

func (o AdConnectorDirectoryOutput) DomainPassword() pulumi.StringOutput

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

func (AdConnectorDirectoryOutput) DomainUserName

func (o AdConnectorDirectoryOutput) DomainUserName() pulumi.StringOutput

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

func (AdConnectorDirectoryOutput) ElementType

func (AdConnectorDirectoryOutput) ElementType() reflect.Type

func (AdConnectorDirectoryOutput) EnableAdminAccess

func (o AdConnectorDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

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

func (AdConnectorDirectoryOutput) MfaEnabled

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

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

func (AdConnectorDirectoryOutput) Status

The status of directory.

func (AdConnectorDirectoryOutput) SubDomainDnsAddresses

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

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

func (o AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutput() AdConnectorDirectoryOutput

func (AdConnectorDirectoryOutput) ToAdConnectorDirectoryOutputWithContext

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

func (AdConnectorDirectoryOutput) VswitchIds

List of VSwitch IDs in the directory.

type AdConnectorDirectoryState

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

func (AdConnectorDirectoryState) ElementType() reflect.Type

type AdConnectorOfficeSite

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:
	// - `INTERNET`: connects clients to cloud desktops only over the Internet.
	// - `VPC`: connects clients to cloud desktops only over a VPC.
	// - `ANY`: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
	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/elastic-desktop-service/latest/createadconnectorofficesite).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", &cen.InstanceArgs{
			CenInstanceName: pulumi.Any(_var.Name),
			ProtectionLevel: pulumi.String("REDUCED"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewAdConnectorOfficeSite(ctx, "defaultAdConnectorOfficeSite", &eds.AdConnectorOfficeSiteArgs{
			AdConnectorOfficeSiteName: pulumi.Any(_var.Name),
			Bandwidth:                 pulumi.Int(100),
			CenId:                     defaultInstance.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("example1234.com"),
			DomainPassword:       pulumi.String("YourPassword1234"),
			DomainUserName:       pulumi.String("Administrator"),
			EnableAdminAccess:    pulumi.Bool(true),
			EnableInternetAccess: pulumi.Bool(true),
			MfaEnabled:           pulumi.Bool(false),
			SubDomainDnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.3"),
			},
			SubDomainName: pulumi.String("child.example1234.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

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

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

func (*AdConnectorOfficeSite) ElementType() reflect.Type

func (*AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutput

func (i *AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutput() AdConnectorOfficeSiteOutput

func (*AdConnectorOfficeSite) ToAdConnectorOfficeSiteOutputWithContext

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

type AdConnectorOfficeSiteArgs

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:
	// - `INTERNET`: connects clients to cloud desktops only over the Internet.
	// - `VPC`: connects clients to cloud desktops only over a VPC.
	// - `ANY`: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
	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

func (AdConnectorOfficeSiteArgs) ElementType() reflect.Type

type AdConnectorOfficeSiteArray

type AdConnectorOfficeSiteArray []AdConnectorOfficeSiteInput

func (AdConnectorOfficeSiteArray) ElementType

func (AdConnectorOfficeSiteArray) ElementType() reflect.Type

func (AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutput

func (i AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutput() AdConnectorOfficeSiteArrayOutput

func (AdConnectorOfficeSiteArray) ToAdConnectorOfficeSiteArrayOutputWithContext

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

type AdConnectorOfficeSiteArrayInput

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

type AdConnectorOfficeSiteArrayOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteArrayOutput) ElementType

func (AdConnectorOfficeSiteArrayOutput) Index

func (AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutput

func (o AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutput() AdConnectorOfficeSiteArrayOutput

func (AdConnectorOfficeSiteArrayOutput) ToAdConnectorOfficeSiteArrayOutputWithContext

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

type AdConnectorOfficeSiteInput

type AdConnectorOfficeSiteInput interface {
	pulumi.Input

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

type AdConnectorOfficeSiteMap

type AdConnectorOfficeSiteMap map[string]AdConnectorOfficeSiteInput

func (AdConnectorOfficeSiteMap) ElementType

func (AdConnectorOfficeSiteMap) ElementType() reflect.Type

func (AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutput

func (i AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutput() AdConnectorOfficeSiteMapOutput

func (AdConnectorOfficeSiteMap) ToAdConnectorOfficeSiteMapOutputWithContext

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

type AdConnectorOfficeSiteMapInput

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

type AdConnectorOfficeSiteMapOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteMapOutput) ElementType

func (AdConnectorOfficeSiteMapOutput) MapIndex

func (AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutput

func (o AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutput() AdConnectorOfficeSiteMapOutput

func (AdConnectorOfficeSiteMapOutput) ToAdConnectorOfficeSiteMapOutputWithContext

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

type AdConnectorOfficeSiteOutput

type AdConnectorOfficeSiteOutput struct{ *pulumi.OutputState }

func (AdConnectorOfficeSiteOutput) AdConnectorOfficeSiteName

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

The ad hostname.

func (AdConnectorOfficeSiteOutput) Bandwidth

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

The ID of the CEN instance.

func (AdConnectorOfficeSiteOutput) CenOwnerId

The cen owner id.

func (AdConnectorOfficeSiteOutput) CidrBlock

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (AdConnectorOfficeSiteOutput) DesktopAccessType

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: - `INTERNET`: connects clients to cloud desktops only over the Internet. - `VPC`: connects clients to cloud desktops only over a VPC. - `ANY`: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.

func (AdConnectorOfficeSiteOutput) DnsAddresses

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

func (AdConnectorOfficeSiteOutput) DomainName

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

func (AdConnectorOfficeSiteOutput) DomainPassword

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

func (AdConnectorOfficeSiteOutput) DomainUserName

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

func (AdConnectorOfficeSiteOutput) ElementType

func (AdConnectorOfficeSiteOutput) EnableAdminAccess

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

func (o AdConnectorOfficeSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Specifies whether to enable Internet access.

func (AdConnectorOfficeSiteOutput) MfaEnabled

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

func (AdConnectorOfficeSiteOutput) ProtocolType

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

func (AdConnectorOfficeSiteOutput) Specification

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

func (AdConnectorOfficeSiteOutput) Status

The resource State.

func (AdConnectorOfficeSiteOutput) SubDomainDnsAddresses

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

The domain name of the enterprise AD subdomain.

func (AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutput

func (o AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutput() AdConnectorOfficeSiteOutput

func (AdConnectorOfficeSiteOutput) ToAdConnectorOfficeSiteOutputWithContext

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

func (AdConnectorOfficeSiteOutput) VerifyCode

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

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:
	// - `INTERNET`: connects clients to cloud desktops only over the Internet.
	// - `VPC`: connects clients to cloud desktops only over a VPC.
	// - `ANY`: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
	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

func (AdConnectorOfficeSiteState) ElementType() reflect.Type

type Bundle

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.StringPtrOutput `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.StringPtrOutput `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://help.aliyun.com/document_detail/188883.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultImages, 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
		}
		defaultDesktopTypes, 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, "defaultBundle", &eds.BundleArgs{
			Description: pulumi.Any(_var.Name),
			DesktopType: pulumi.String(defaultDesktopTypes.Ids[0]),
			BundleName:  pulumi.Any(_var.Name),
			ImageId:     pulumi.String(defaultImages.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

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

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

func (*Bundle) ElementType() reflect.Type

func (*Bundle) ToBundleOutput

func (i *Bundle) ToBundleOutput() BundleOutput

func (*Bundle) ToBundleOutputWithContext

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

type BundleArgs

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

func (BundleArgs) ElementType() reflect.Type

type BundleArray

type BundleArray []BundleInput

func (BundleArray) ElementType

func (BundleArray) ElementType() reflect.Type

func (BundleArray) ToBundleArrayOutput

func (i BundleArray) ToBundleArrayOutput() BundleArrayOutput

func (BundleArray) ToBundleArrayOutputWithContext

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

type BundleArrayInput

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

type BundleArrayOutput struct{ *pulumi.OutputState }

func (BundleArrayOutput) ElementType

func (BundleArrayOutput) ElementType() reflect.Type

func (BundleArrayOutput) Index

func (BundleArrayOutput) ToBundleArrayOutput

func (o BundleArrayOutput) ToBundleArrayOutput() BundleArrayOutput

func (BundleArrayOutput) ToBundleArrayOutputWithContext

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

type BundleInput

type BundleInput interface {
	pulumi.Input

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

type BundleMap

type BundleMap map[string]BundleInput

func (BundleMap) ElementType

func (BundleMap) ElementType() reflect.Type

func (BundleMap) ToBundleMapOutput

func (i BundleMap) ToBundleMapOutput() BundleMapOutput

func (BundleMap) ToBundleMapOutputWithContext

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

type BundleMapInput

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

type BundleMapOutput struct{ *pulumi.OutputState }

func (BundleMapOutput) ElementType

func (BundleMapOutput) ElementType() reflect.Type

func (BundleMapOutput) MapIndex

func (BundleMapOutput) ToBundleMapOutput

func (o BundleMapOutput) ToBundleMapOutput() BundleMapOutput

func (BundleMapOutput) ToBundleMapOutputWithContext

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

type BundleOutput

type BundleOutput struct{ *pulumi.OutputState }

func (BundleOutput) BundleName

func (o BundleOutput) BundleName() pulumi.StringPtrOutput

The name of the bundle.

func (BundleOutput) Description

func (o BundleOutput) Description() pulumi.StringPtrOutput

The description of the bundle.

func (BundleOutput) DesktopType

func (o BundleOutput) DesktopType() pulumi.StringOutput

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

func (BundleOutput) ElementType

func (BundleOutput) ElementType() reflect.Type

func (BundleOutput) ImageId

func (o BundleOutput) ImageId() pulumi.StringOutput

The ID of the image.

func (BundleOutput) Language

func (o BundleOutput) Language() pulumi.StringPtrOutput

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

func (BundleOutput) RootDiskPerformanceLevel

func (o BundleOutput) RootDiskPerformanceLevel() pulumi.StringPtrOutput

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

func (BundleOutput) RootDiskSizeGib

func (o BundleOutput) RootDiskSizeGib() pulumi.IntOutput

The root disk size gib.

func (BundleOutput) ToBundleOutput

func (o BundleOutput) ToBundleOutput() BundleOutput

func (BundleOutput) ToBundleOutputWithContext

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

func (BundleOutput) UserDiskPerformanceLevel

func (o BundleOutput) UserDiskPerformanceLevel() pulumi.StringPtrOutput

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

func (BundleOutput) UserDiskSizeGibs

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

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

func (BundleState) ElementType() reflect.Type

type Command

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, 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, "defaultEcdPolicyGroup", &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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[0].Id),
			DesktopName:   pulumi.Any(_var.Name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewCommand(ctx, "defaultCommand", &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

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

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

func (*Command) ElementType() reflect.Type

func (*Command) ToCommandOutput

func (i *Command) ToCommandOutput() CommandOutput

func (*Command) ToCommandOutputWithContext

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

type CommandArgs

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

func (CommandArgs) ElementType() reflect.Type

type CommandArray

type CommandArray []CommandInput

func (CommandArray) ElementType

func (CommandArray) ElementType() reflect.Type

func (CommandArray) ToCommandArrayOutput

func (i CommandArray) ToCommandArrayOutput() CommandArrayOutput

func (CommandArray) ToCommandArrayOutputWithContext

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

type CommandArrayInput

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

type CommandArrayOutput struct{ *pulumi.OutputState }

func (CommandArrayOutput) ElementType

func (CommandArrayOutput) ElementType() reflect.Type

func (CommandArrayOutput) Index

func (CommandArrayOutput) ToCommandArrayOutput

func (o CommandArrayOutput) ToCommandArrayOutput() CommandArrayOutput

func (CommandArrayOutput) ToCommandArrayOutputWithContext

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

type CommandInput

type CommandInput interface {
	pulumi.Input

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

type CommandMap

type CommandMap map[string]CommandInput

func (CommandMap) ElementType

func (CommandMap) ElementType() reflect.Type

func (CommandMap) ToCommandMapOutput

func (i CommandMap) ToCommandMapOutput() CommandMapOutput

func (CommandMap) ToCommandMapOutputWithContext

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

type CommandMapInput

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

type CommandMapOutput struct{ *pulumi.OutputState }

func (CommandMapOutput) ElementType

func (CommandMapOutput) ElementType() reflect.Type

func (CommandMapOutput) MapIndex

func (CommandMapOutput) ToCommandMapOutput

func (o CommandMapOutput) ToCommandMapOutput() CommandMapOutput

func (CommandMapOutput) ToCommandMapOutputWithContext

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

type CommandOutput

type CommandOutput struct{ *pulumi.OutputState }

func (CommandOutput) CommandContent

func (o CommandOutput) CommandContent() pulumi.StringOutput

The Contents of the Script to Base64 Encoded Transmission.

func (CommandOutput) CommandType

func (o CommandOutput) CommandType() pulumi.StringOutput

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

func (CommandOutput) ContentEncoding

func (o CommandOutput) ContentEncoding() pulumi.StringPtrOutput

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

func (CommandOutput) DesktopId

func (o CommandOutput) DesktopId() pulumi.StringOutput

The desktop id of the Desktop.

func (CommandOutput) ElementType

func (CommandOutput) ElementType() reflect.Type

func (CommandOutput) Status

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

func (o CommandOutput) Timeout() pulumi.StringPtrOutput

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

func (CommandOutput) ToCommandOutput

func (o CommandOutput) ToCommandOutput() CommandOutput

func (CommandOutput) ToCommandOutputWithContext

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

type CommandState

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

func (CommandState) ElementType() reflect.Type

type CustomProperty

type CustomProperty struct {
	pulumi.CustomResourceState

	// The Custom attribute key.
	PropertyKey pulumi.StringOutput `pulumi:"propertyKey"`
	// Custom attribute sets the value of. See the following `Block propertyValues`.
	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://help.aliyun.com/document_detail/436381.html).

> **NOTE:** Available in 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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

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

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

func (*CustomProperty) ElementType() reflect.Type

func (*CustomProperty) ToCustomPropertyOutput

func (i *CustomProperty) ToCustomPropertyOutput() CustomPropertyOutput

func (*CustomProperty) ToCustomPropertyOutputWithContext

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

type CustomPropertyArgs

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

The set of arguments for constructing a CustomProperty resource.

func (CustomPropertyArgs) ElementType

func (CustomPropertyArgs) ElementType() reflect.Type

type CustomPropertyArray

type CustomPropertyArray []CustomPropertyInput

func (CustomPropertyArray) ElementType

func (CustomPropertyArray) ElementType() reflect.Type

func (CustomPropertyArray) ToCustomPropertyArrayOutput

func (i CustomPropertyArray) ToCustomPropertyArrayOutput() CustomPropertyArrayOutput

func (CustomPropertyArray) ToCustomPropertyArrayOutputWithContext

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

type CustomPropertyArrayInput

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

type CustomPropertyArrayOutput struct{ *pulumi.OutputState }

func (CustomPropertyArrayOutput) ElementType

func (CustomPropertyArrayOutput) ElementType() reflect.Type

func (CustomPropertyArrayOutput) Index

func (CustomPropertyArrayOutput) ToCustomPropertyArrayOutput

func (o CustomPropertyArrayOutput) ToCustomPropertyArrayOutput() CustomPropertyArrayOutput

func (CustomPropertyArrayOutput) ToCustomPropertyArrayOutputWithContext

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

type CustomPropertyInput

type CustomPropertyInput interface {
	pulumi.Input

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

type CustomPropertyMap

type CustomPropertyMap map[string]CustomPropertyInput

func (CustomPropertyMap) ElementType

func (CustomPropertyMap) ElementType() reflect.Type

func (CustomPropertyMap) ToCustomPropertyMapOutput

func (i CustomPropertyMap) ToCustomPropertyMapOutput() CustomPropertyMapOutput

func (CustomPropertyMap) ToCustomPropertyMapOutputWithContext

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

type CustomPropertyMapInput

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

type CustomPropertyMapOutput struct{ *pulumi.OutputState }

func (CustomPropertyMapOutput) ElementType

func (CustomPropertyMapOutput) ElementType() reflect.Type

func (CustomPropertyMapOutput) MapIndex

func (CustomPropertyMapOutput) ToCustomPropertyMapOutput

func (o CustomPropertyMapOutput) ToCustomPropertyMapOutput() CustomPropertyMapOutput

func (CustomPropertyMapOutput) ToCustomPropertyMapOutputWithContext

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

type CustomPropertyOutput

type CustomPropertyOutput struct{ *pulumi.OutputState }

func (CustomPropertyOutput) ElementType

func (CustomPropertyOutput) ElementType() reflect.Type

func (CustomPropertyOutput) PropertyKey

func (o CustomPropertyOutput) PropertyKey() pulumi.StringOutput

The Custom attribute key.

func (CustomPropertyOutput) PropertyValues

Custom attribute sets the value of. See the following `Block propertyValues`.

func (CustomPropertyOutput) ToCustomPropertyOutput

func (o CustomPropertyOutput) ToCustomPropertyOutput() CustomPropertyOutput

func (CustomPropertyOutput) ToCustomPropertyOutputWithContext

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

type CustomPropertyPropertyValue

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

type CustomPropertyPropertyValueArgs

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

func (CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutput

func (i CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutput() CustomPropertyPropertyValueOutput

func (CustomPropertyPropertyValueArgs) ToCustomPropertyPropertyValueOutputWithContext

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

type CustomPropertyPropertyValueArray

type CustomPropertyPropertyValueArray []CustomPropertyPropertyValueInput

func (CustomPropertyPropertyValueArray) ElementType

func (CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutput

func (i CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutput() CustomPropertyPropertyValueArrayOutput

func (CustomPropertyPropertyValueArray) ToCustomPropertyPropertyValueArrayOutputWithContext

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

type CustomPropertyPropertyValueArrayInput

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

type CustomPropertyPropertyValueArrayOutput struct{ *pulumi.OutputState }

func (CustomPropertyPropertyValueArrayOutput) ElementType

func (CustomPropertyPropertyValueArrayOutput) Index

func (CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutput

func (o CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutput() CustomPropertyPropertyValueArrayOutput

func (CustomPropertyPropertyValueArrayOutput) ToCustomPropertyPropertyValueArrayOutputWithContext

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

type CustomPropertyPropertyValueInput

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

type CustomPropertyPropertyValueOutput struct{ *pulumi.OutputState }

func (CustomPropertyPropertyValueOutput) ElementType

func (CustomPropertyPropertyValueOutput) PropertyValue

The value of an attribute.

func (CustomPropertyPropertyValueOutput) PropertyValueId

The value of an attribute id.

func (CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutput

func (o CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutput() CustomPropertyPropertyValueOutput

func (CustomPropertyPropertyValueOutput) ToCustomPropertyPropertyValueOutputWithContext

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

type CustomPropertyState

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

func (CustomPropertyState) ElementType

func (CustomPropertyState) ElementType() reflect.Type

type Desktop

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &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, "defaultUser", &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
		}
		_, err = eds.NewDesktop(ctx, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[0].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
			EndUserIds: pulumi.StringArray{
				defaultUser.ID(),
			},
		})
		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

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

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

func (*Desktop) ElementType() reflect.Type

func (*Desktop) ToDesktopOutput

func (i *Desktop) ToDesktopOutput() DesktopOutput

func (*Desktop) ToDesktopOutputWithContext

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

type DesktopArgs

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

func (DesktopArgs) ElementType() reflect.Type

type DesktopArray

type DesktopArray []DesktopInput

func (DesktopArray) ElementType

func (DesktopArray) ElementType() reflect.Type

func (DesktopArray) ToDesktopArrayOutput

func (i DesktopArray) ToDesktopArrayOutput() DesktopArrayOutput

func (DesktopArray) ToDesktopArrayOutputWithContext

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

type DesktopArrayInput

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

type DesktopArrayOutput struct{ *pulumi.OutputState }

func (DesktopArrayOutput) ElementType

func (DesktopArrayOutput) ElementType() reflect.Type

func (DesktopArrayOutput) Index

func (DesktopArrayOutput) ToDesktopArrayOutput

func (o DesktopArrayOutput) ToDesktopArrayOutput() DesktopArrayOutput

func (DesktopArrayOutput) ToDesktopArrayOutputWithContext

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

type DesktopInput

type DesktopInput interface {
	pulumi.Input

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

type DesktopMap

type DesktopMap map[string]DesktopInput

func (DesktopMap) ElementType

func (DesktopMap) ElementType() reflect.Type

func (DesktopMap) ToDesktopMapOutput

func (i DesktopMap) ToDesktopMapOutput() DesktopMapOutput

func (DesktopMap) ToDesktopMapOutputWithContext

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

type DesktopMapInput

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

type DesktopMapOutput struct{ *pulumi.OutputState }

func (DesktopMapOutput) ElementType

func (DesktopMapOutput) ElementType() reflect.Type

func (DesktopMapOutput) MapIndex

func (DesktopMapOutput) ToDesktopMapOutput

func (o DesktopMapOutput) ToDesktopMapOutput() DesktopMapOutput

func (DesktopMapOutput) ToDesktopMapOutputWithContext

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

type DesktopOutput

type DesktopOutput struct{ *pulumi.OutputState }

func (DesktopOutput) Amount

func (o DesktopOutput) Amount() pulumi.IntPtrOutput

The amount of the Desktop.

func (DesktopOutput) AutoPay

func (o DesktopOutput) AutoPay() pulumi.BoolPtrOutput

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

func (DesktopOutput) AutoRenew

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

func (o DesktopOutput) BundleId() pulumi.StringOutput

The bundle id of the Desktop.

func (DesktopOutput) DesktopName

func (o DesktopOutput) DesktopName() pulumi.StringPtrOutput

The desktop name of the Desktop.

func (DesktopOutput) DesktopType

func (o DesktopOutput) DesktopType() pulumi.StringOutput

The desktop type of the Desktop.

func (DesktopOutput) ElementType

func (DesktopOutput) ElementType() reflect.Type

func (DesktopOutput) EndUserIds

func (o DesktopOutput) EndUserIds() pulumi.StringArrayOutput

The desktop end user id of the Desktop.

func (DesktopOutput) HostName

func (o DesktopOutput) HostName() pulumi.StringPtrOutput

The hostname of the Desktop.

func (DesktopOutput) OfficeSiteId

func (o DesktopOutput) OfficeSiteId() pulumi.StringOutput

The ID of the Simple Office Site.

func (DesktopOutput) PaymentType

func (o DesktopOutput) PaymentType() pulumi.StringOutput

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

func (DesktopOutput) Period

func (o DesktopOutput) Period() pulumi.IntPtrOutput

The period of the Desktop.

func (DesktopOutput) PeriodUnit

func (o DesktopOutput) PeriodUnit() pulumi.StringPtrOutput

The period unit of the Desktop.

func (DesktopOutput) PolicyGroupId

func (o DesktopOutput) PolicyGroupId() pulumi.StringOutput

The policy group id of the Desktop.

func (DesktopOutput) RootDiskSizeGib

func (o DesktopOutput) RootDiskSizeGib() pulumi.IntPtrOutput

The root disk size gib of the Desktop.

func (DesktopOutput) Status

func (o DesktopOutput) Status() pulumi.StringOutput

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

func (DesktopOutput) StoppedMode

func (o DesktopOutput) StoppedMode() pulumi.StringOutput

The stopped mode of the Desktop.

func (DesktopOutput) Tags

func (o DesktopOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (DesktopOutput) ToDesktopOutput

func (o DesktopOutput) ToDesktopOutput() DesktopOutput

func (DesktopOutput) ToDesktopOutputWithContext

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

func (DesktopOutput) UserAssignMode

func (o DesktopOutput) UserAssignMode() pulumi.StringOutput

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

func (DesktopOutput) UserDiskSizeGib

func (o DesktopOutput) UserDiskSizeGib() pulumi.IntPtrOutput

The user disk size gib of the Desktop.

type DesktopState

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

func (DesktopState) ElementType() reflect.Type

type EcdPolicyGroup

type EcdPolicyGroup struct {
	pulumi.CustomResourceState

	// The rule of authorize access rule.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayOutput `pulumi:"authorizeAccessPolicyRules"`
	// The policy rule.
	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`, `alltime`, `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 `alltime`.
	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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					CidrIp:      pulumi.String("1.2.3.45/24"),
					Description: pulumi.String("my-description1"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					CidrIp:      pulumi.String("1.2.3.4/24"),
					Description: pulumi.String("my-description"),
					IpProtocol:  pulumi.String("TCP"),
					Policy:      pulumi.String("accept"),
					PortRange:   pulumi.String("80/80"),
					Priority:    pulumi.String("1"),
					Type:        pulumi.String("inflow"),
				},
			},
			Clipboard:       pulumi.String("read"),
			LocalDrive:      pulumi.String("read"),
			PolicyGroupName: pulumi.String("my-policy-group"),
			UsbRedirect:     pulumi.String("off"),
			Watermark:       pulumi.String("off"),
		})
		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.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput
	// The policy rule.
	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`, `alltime`, `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 `alltime`.
	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 authorize access rule.
	CidrIp *string `pulumi:"cidrIp"`
	// The description of authorize access rule.
	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 authorize access rule.
	CidrIp pulumi.StringPtrInput `pulumi:"cidrIp"`
	// The description of authorize access rule.
	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 authorize access rule.

func (EcdPolicyGroupAuthorizeSecurityPolicyRuleOutput) Description

The description of authorize access rule.

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

The rule of authorize access rule.

func (EcdPolicyGroupOutput) AuthorizeSecurityPolicyRules

The policy rule.

func (EcdPolicyGroupOutput) CameraRedirect

func (o EcdPolicyGroupOutput) CameraRedirect() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) Clipboard

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

func (EcdPolicyGroupOutput) DomainList

The list of domain.

func (EcdPolicyGroupOutput) ElementType

func (EcdPolicyGroupOutput) ElementType() reflect.Type

func (EcdPolicyGroupOutput) HtmlAccess

func (o EcdPolicyGroupOutput) HtmlAccess() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) HtmlFileTransfer

func (o EcdPolicyGroupOutput) HtmlFileTransfer() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) LocalDrive

func (o EcdPolicyGroupOutput) LocalDrive() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) PolicyGroupName

func (o EcdPolicyGroupOutput) PolicyGroupName() pulumi.StringPtrOutput

The name of policy group.

func (EcdPolicyGroupOutput) Recording

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

func (EcdPolicyGroupOutput) RecordingEndTime

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

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

func (EcdPolicyGroupOutput) RecordingFps

func (o EcdPolicyGroupOutput) RecordingFps() pulumi.IntOutput

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

func (EcdPolicyGroupOutput) RecordingStartTime

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

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

func (o EcdPolicyGroupOutput) UsbRedirect() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) VisualQuality

func (o EcdPolicyGroupOutput) VisualQuality() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) Watermark

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

func (EcdPolicyGroupOutput) WatermarkTransparency

func (o EcdPolicyGroupOutput) WatermarkTransparency() pulumi.StringOutput

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

func (EcdPolicyGroupOutput) WatermarkType

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.
	AuthorizeAccessPolicyRules EcdPolicyGroupAuthorizeAccessPolicyRuleArrayInput
	// The policy rule.
	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`, `alltime`, `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 `alltime`.
	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

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"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of directory.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorDirectories.

type GetAdConnectorDirectoriesDirectory

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

type GetAdConnectorDirectoriesDirectoryAdConnector 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 AD Connector specifications.
	Specification string `pulumi:"specification"`
	// The AD Connector control trust password.
	TrustKey string `pulumi:"trustKey"`
	// The ID of VSwitch.
	VswitchId string `pulumi:"vswitchId"`
}

type GetAdConnectorDirectoriesDirectoryAdConnectorArgs

type GetAdConnectorDirectoriesDirectoryAdConnectorArgs 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 AD Connector specifications.
	Specification pulumi.StringInput `pulumi:"specification"`
	// The AD Connector control trust password.
	TrustKey pulumi.StringInput `pulumi:"trustKey"`
	// The ID of VSwitch.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ElementType

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput() GetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArgs) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryAdConnectorArray

type GetAdConnectorDirectoriesDirectoryAdConnectorArray []GetAdConnectorDirectoriesDirectoryAdConnectorInput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ElementType

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

func (i GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput() GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArray) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayInput

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

type GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ElementType

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) Index

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorArrayOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorArrayOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryAdConnectorInput

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

type GetAdConnectorDirectoriesDirectoryAdConnectorOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) AdConnectorAddress

The address of AD connector.

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ConnectorStatus

The status of connector.

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ElementType

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) NetworkInterfaceId

The ID of the network interface.

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) Specification

The AD Connector specifications.

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (o GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutput() GetAdConnectorDirectoriesDirectoryAdConnectorOutput

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) ToGetAdConnectorDirectoriesDirectoryAdConnectorOutputWithContext

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

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) TrustKey

The AD Connector control trust password.

func (GetAdConnectorDirectoriesDirectoryAdConnectorOutput) VswitchId

The ID of VSwitch.

type GetAdConnectorDirectoriesDirectoryArgs

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

func (GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutput

func (i GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutput() GetAdConnectorDirectoriesDirectoryOutput

func (GetAdConnectorDirectoriesDirectoryArgs) ToGetAdConnectorDirectoriesDirectoryOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryArray

type GetAdConnectorDirectoriesDirectoryArray []GetAdConnectorDirectoriesDirectoryInput

func (GetAdConnectorDirectoriesDirectoryArray) ElementType

func (GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutput

func (i GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutput() GetAdConnectorDirectoriesDirectoryArrayOutput

func (GetAdConnectorDirectoriesDirectoryArray) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryArrayInput

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

type GetAdConnectorDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ElementType

func (GetAdConnectorDirectoriesDirectoryArrayOutput) Index

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutput

func (o GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutput() GetAdConnectorDirectoriesDirectoryArrayOutput

func (GetAdConnectorDirectoriesDirectoryArrayOutput) ToGetAdConnectorDirectoriesDirectoryArrayOutputWithContext

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

type GetAdConnectorDirectoriesDirectoryInput

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

type GetAdConnectorDirectoriesDirectoryOutput struct{ *pulumi.OutputState }

func (GetAdConnectorDirectoriesDirectoryOutput) AdConnectorDirectoryId

The ID of the ad connector directory.

func (GetAdConnectorDirectoriesDirectoryOutput) AdConnectors

The AD connectors.

func (GetAdConnectorDirectoriesDirectoryOutput) CreateTime

The CreateTime of resource.

func (GetAdConnectorDirectoriesDirectoryOutput) CustomSecurityGroupId

The ID of the security group.

func (GetAdConnectorDirectoriesDirectoryOutput) DirectoryName

The name of directory.

func (GetAdConnectorDirectoriesDirectoryOutput) DirectoryType

The name of the domain.

func (GetAdConnectorDirectoriesDirectoryOutput) DnsAddresses

The address of DNSAddress.

func (GetAdConnectorDirectoriesDirectoryOutput) DnsUserName

The username of DNS.

func (GetAdConnectorDirectoriesDirectoryOutput) DomainName

The name of the domain.

func (GetAdConnectorDirectoriesDirectoryOutput) DomainUserName

domain admin user name.

func (GetAdConnectorDirectoriesDirectoryOutput) ElementType

func (GetAdConnectorDirectoriesDirectoryOutput) EnableAdminAccess

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

func (GetAdConnectorDirectoriesDirectoryOutput) Id

The ID of the Ad Connector Directory.

func (GetAdConnectorDirectoriesDirectoryOutput) MfaEnabled

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

The status of directory.

func (GetAdConnectorDirectoriesDirectoryOutput) SubDnsAddresses

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

func (GetAdConnectorDirectoriesDirectoryOutput) SubDomainName

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

func (o GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutput() GetAdConnectorDirectoriesDirectoryOutput

func (GetAdConnectorDirectoriesDirectoryOutput) ToGetAdConnectorDirectoriesDirectoryOutputWithContext

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

func (GetAdConnectorDirectoriesDirectoryOutput) TrustPassword

The trust password.

func (GetAdConnectorDirectoriesDirectoryOutput) VpcId

The ID of the vpc.

func (GetAdConnectorDirectoriesDirectoryOutput) VswitchIds

List of VSwitch IDs in the directory.

type GetAdConnectorDirectoriesOutputArgs

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of directory.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorDirectories.

func (GetAdConnectorDirectoriesOutputArgs) ElementType

type GetAdConnectorDirectoriesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetAdConnectorDirectoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAdConnectorDirectories.

func (GetAdConnectorDirectoriesResultOutput) Directories

func (GetAdConnectorDirectoriesResultOutput) ElementType

func (GetAdConnectorDirectoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAdConnectorDirectoriesResultOutput) Ids

func (GetAdConnectorDirectoriesResultOutput) NameRegex

func (GetAdConnectorDirectoriesResultOutput) Names

func (GetAdConnectorDirectoriesResultOutput) OutputFile

func (GetAdConnectorDirectoriesResultOutput) Status

func (GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutput

func (o GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutput() GetAdConnectorDirectoriesResultOutput

func (GetAdConnectorDirectoriesResultOutput) ToGetAdConnectorDirectoriesResultOutputWithContext

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

type GetAdConnectorOfficeSitesArgs

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"`
	OutputFile *string `pulumi:"outputFile"`
	// The workspace status.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorOfficeSites.

type GetAdConnectorOfficeSitesOutputArgs

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The workspace status.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAdConnectorOfficeSites.

func (GetAdConnectorOfficeSitesOutputArgs) ElementType

type GetAdConnectorOfficeSitesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetAdConnectorOfficeSitesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAdConnectorOfficeSites.

func (GetAdConnectorOfficeSitesResultOutput) ElementType

func (GetAdConnectorOfficeSitesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAdConnectorOfficeSitesResultOutput) Ids

func (GetAdConnectorOfficeSitesResultOutput) NameRegex

func (GetAdConnectorOfficeSitesResultOutput) Names

func (GetAdConnectorOfficeSitesResultOutput) OutputFile

func (GetAdConnectorOfficeSitesResultOutput) Sites

func (GetAdConnectorOfficeSitesResultOutput) Status

func (GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutput

func (o GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutput() GetAdConnectorOfficeSitesResultOutput

func (GetAdConnectorOfficeSitesResultOutput) ToGetAdConnectorOfficeSitesResultOutputWithContext

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

type GetAdConnectorOfficeSitesSite

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

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

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

func (GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput

func (i GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput() GetAdConnectorOfficeSitesSiteAdConnectorOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArgs) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext

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

type GetAdConnectorOfficeSitesSiteAdConnectorArray

type GetAdConnectorOfficeSitesSiteAdConnectorArray []GetAdConnectorOfficeSitesSiteAdConnectorInput

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ElementType

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (i GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput() GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArray) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteAdConnectorArrayInput

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

type GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ElementType

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) Index

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (o GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutput() GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorArrayOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteAdConnectorInput

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

type GetAdConnectorOfficeSitesSiteAdConnectorOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) AdConnectorAddress

AD Connector across Zones, Its Connection Addresses.

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ConnectorStatus

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

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) NetworkInterfaceId

AD Connector Mount of the Card ID.

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput

func (o GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutput() GetAdConnectorOfficeSitesSiteAdConnectorOutput

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) ToGetAdConnectorOfficeSitesSiteAdConnectorOutputWithContext

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

func (GetAdConnectorOfficeSitesSiteAdConnectorOutput) VswitchId

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

type GetAdConnectorOfficeSitesSiteArgs

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

func (GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutput

func (i GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutput() GetAdConnectorOfficeSitesSiteOutput

func (GetAdConnectorOfficeSitesSiteArgs) ToGetAdConnectorOfficeSitesSiteOutputWithContext

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

type GetAdConnectorOfficeSitesSiteArray

type GetAdConnectorOfficeSitesSiteArray []GetAdConnectorOfficeSitesSiteInput

func (GetAdConnectorOfficeSitesSiteArray) ElementType

func (GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutput

func (i GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutput() GetAdConnectorOfficeSitesSiteArrayOutput

func (GetAdConnectorOfficeSitesSiteArray) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteArrayInput

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

type GetAdConnectorOfficeSitesSiteArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteArrayOutput) ElementType

func (GetAdConnectorOfficeSitesSiteArrayOutput) Index

func (GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutput

func (o GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutput() GetAdConnectorOfficeSitesSiteArrayOutput

func (GetAdConnectorOfficeSitesSiteArrayOutput) ToGetAdConnectorOfficeSitesSiteArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteInput

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

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

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

func (GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutput

func (i GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutput() GetAdConnectorOfficeSitesSiteLogOutput

func (GetAdConnectorOfficeSitesSiteLogArgs) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext

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

type GetAdConnectorOfficeSitesSiteLogArray

type GetAdConnectorOfficeSitesSiteLogArray []GetAdConnectorOfficeSitesSiteLogInput

func (GetAdConnectorOfficeSitesSiteLogArray) ElementType

func (GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutput

func (i GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutput() GetAdConnectorOfficeSitesSiteLogArrayOutput

func (GetAdConnectorOfficeSitesSiteLogArray) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteLogArrayInput

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

type GetAdConnectorOfficeSitesSiteLogArrayOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ElementType

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) Index

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutput

func (o GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutput() GetAdConnectorOfficeSitesSiteLogArrayOutput

func (GetAdConnectorOfficeSitesSiteLogArrayOutput) ToGetAdConnectorOfficeSitesSiteLogArrayOutputWithContext

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

type GetAdConnectorOfficeSitesSiteLogInput

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

type GetAdConnectorOfficeSitesSiteLogOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteLogOutput) ElementType

func (GetAdConnectorOfficeSitesSiteLogOutput) Level

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

func (GetAdConnectorOfficeSitesSiteLogOutput) Message

The Log Details.

func (GetAdConnectorOfficeSitesSiteLogOutput) Step

Log Information Corresponding to the Step.

func (GetAdConnectorOfficeSitesSiteLogOutput) TimeStamp

Log Print Time.

func (GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutput

func (o GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutput() GetAdConnectorOfficeSitesSiteLogOutput

func (GetAdConnectorOfficeSitesSiteLogOutput) ToGetAdConnectorOfficeSitesSiteLogOutputWithContext

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

type GetAdConnectorOfficeSitesSiteOutput

type GetAdConnectorOfficeSitesSiteOutput struct{ *pulumi.OutputState }

func (GetAdConnectorOfficeSitesSiteOutput) AdConnectorOfficeSiteName

func (o GetAdConnectorOfficeSitesSiteOutput) AdConnectorOfficeSiteName() pulumi.StringOutput

The Name of the ad connector office site.

func (GetAdConnectorOfficeSitesSiteOutput) AdConnectors

AD Connector Collection of Information.

func (GetAdConnectorOfficeSitesSiteOutput) Bandwidth

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

Cloud Enterprise Network Instance Id.

func (GetAdConnectorOfficeSitesSiteOutput) CidrBlock

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (GetAdConnectorOfficeSitesSiteOutput) CreateTime

Workspace Creation Time.

func (GetAdConnectorOfficeSitesSiteOutput) CustomSecurityGroupId

func (o GetAdConnectorOfficeSitesSiteOutput) CustomSecurityGroupId() pulumi.StringOutput

Security Group ID.

func (GetAdConnectorOfficeSitesSiteOutput) DesktopAccessType

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

func (GetAdConnectorOfficeSitesSiteOutput) DesktopVpcEndpoint

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

func (GetAdConnectorOfficeSitesSiteOutput) DnsAddresses

Enterprise Ad Corresponding DNS Address.

func (GetAdConnectorOfficeSitesSiteOutput) DnsUserName

The Easy-to-Use DNS Name.

func (GetAdConnectorOfficeSitesSiteOutput) DomainName

Enterprise of Ad Domain Name.

func (GetAdConnectorOfficeSitesSiteOutput) DomainUserName

The Domain Administrator's Username.

func (GetAdConnectorOfficeSitesSiteOutput) ElementType

func (GetAdConnectorOfficeSitesSiteOutput) EnableAdminAccess

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

func (GetAdConnectorOfficeSitesSiteOutput) EnableCrossDesktopAccess

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

func (o GetAdConnectorOfficeSitesSiteOutput) EnableInternetAccess() pulumi.BoolOutput

Whether the Open Internet Access Function.

func (GetAdConnectorOfficeSitesSiteOutput) FileSystemIds

NAS File System ID.

func (GetAdConnectorOfficeSitesSiteOutput) Id

The ID of the Ad Connector Office Site.

func (GetAdConnectorOfficeSitesSiteOutput) Logs

Registered Log Information.

func (GetAdConnectorOfficeSitesSiteOutput) MfaEnabled

Whether to Enable Multi-Factor Authentication MFA.

func (GetAdConnectorOfficeSitesSiteOutput) NetworkPackageId

The ID of the Internet Access.

func (GetAdConnectorOfficeSitesSiteOutput) OfficeSiteId

The ID of the Workspace.

func (GetAdConnectorOfficeSitesSiteOutput) OfficeSiteType

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

func (GetAdConnectorOfficeSitesSiteOutput) SsoEnabled

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

func (GetAdConnectorOfficeSitesSiteOutput) Status

The workspace status.

func (GetAdConnectorOfficeSitesSiteOutput) SubDomainDnsAddresses

Sub-Domain DNS Address.

func (GetAdConnectorOfficeSitesSiteOutput) SubDomainName

The AD Domain DNS Name.

func (GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutput

func (o GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutput() GetAdConnectorOfficeSitesSiteOutput

func (GetAdConnectorOfficeSitesSiteOutput) ToGetAdConnectorOfficeSitesSiteOutputWithContext

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

func (GetAdConnectorOfficeSitesSiteOutput) TrustPassword

The AD Trust Password.

func (GetAdConnectorOfficeSitesSiteOutput) VpcId

Security Office VPC ID.

func (GetAdConnectorOfficeSitesSiteOutput) VswitchIds

The vswitch ids.

type GetBundlesArgs

type GetBundlesArgs struct {
	// The bundle id of the bundle.
	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"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getBundles.

type GetBundlesBundle

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

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

func (GetBundlesBundleArgs) ElementType() reflect.Type

func (GetBundlesBundleArgs) ToGetBundlesBundleOutput

func (i GetBundlesBundleArgs) ToGetBundlesBundleOutput() GetBundlesBundleOutput

func (GetBundlesBundleArgs) ToGetBundlesBundleOutputWithContext

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

type GetBundlesBundleArray

type GetBundlesBundleArray []GetBundlesBundleInput

func (GetBundlesBundleArray) ElementType

func (GetBundlesBundleArray) ElementType() reflect.Type

func (GetBundlesBundleArray) ToGetBundlesBundleArrayOutput

func (i GetBundlesBundleArray) ToGetBundlesBundleArrayOutput() GetBundlesBundleArrayOutput

func (GetBundlesBundleArray) ToGetBundlesBundleArrayOutputWithContext

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

type GetBundlesBundleArrayInput

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

type GetBundlesBundleArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleArrayOutput) ElementType

func (GetBundlesBundleArrayOutput) Index

func (GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutput

func (o GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutput() GetBundlesBundleArrayOutput

func (GetBundlesBundleArrayOutput) ToGetBundlesBundleArrayOutputWithContext

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

type GetBundlesBundleDesktopTypeAttribute

type GetBundlesBundleDesktopTypeAttribute struct {
	// The cpu count attribute of the bundle.
	CpuCount int `pulumi:"cpuCount"`
	// The gpu count attribute of the bundle.
	GpuCount string `pulumi:"gpuCount"`
	// The gpu spec attribute of the bundle.
	GpuSpec string `pulumi:"gpuSpec"`
	// The memory size attribute of the bundle.
	MemorySize string `pulumi:"memorySize"`
}

type GetBundlesBundleDesktopTypeAttributeArgs

type GetBundlesBundleDesktopTypeAttributeArgs struct {
	// The cpu count attribute of the bundle.
	CpuCount pulumi.IntInput `pulumi:"cpuCount"`
	// The gpu count attribute of the bundle.
	GpuCount pulumi.StringInput `pulumi:"gpuCount"`
	// The gpu spec attribute of the bundle.
	GpuSpec pulumi.StringInput `pulumi:"gpuSpec"`
	// The memory size attribute of the bundle.
	MemorySize pulumi.StringInput `pulumi:"memorySize"`
}

func (GetBundlesBundleDesktopTypeAttributeArgs) ElementType

func (GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutput

func (i GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutput() GetBundlesBundleDesktopTypeAttributeOutput

func (GetBundlesBundleDesktopTypeAttributeArgs) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext

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

type GetBundlesBundleDesktopTypeAttributeArray

type GetBundlesBundleDesktopTypeAttributeArray []GetBundlesBundleDesktopTypeAttributeInput

func (GetBundlesBundleDesktopTypeAttributeArray) ElementType

func (GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutput

func (i GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutput() GetBundlesBundleDesktopTypeAttributeArrayOutput

func (GetBundlesBundleDesktopTypeAttributeArray) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext

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

type GetBundlesBundleDesktopTypeAttributeArrayInput

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

type GetBundlesBundleDesktopTypeAttributeArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ElementType

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) Index

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutput

func (o GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutput() GetBundlesBundleDesktopTypeAttributeArrayOutput

func (GetBundlesBundleDesktopTypeAttributeArrayOutput) ToGetBundlesBundleDesktopTypeAttributeArrayOutputWithContext

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

type GetBundlesBundleDesktopTypeAttributeInput

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

type GetBundlesBundleDesktopTypeAttributeOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDesktopTypeAttributeOutput) CpuCount

The cpu count attribute of the bundle.

func (GetBundlesBundleDesktopTypeAttributeOutput) ElementType

func (GetBundlesBundleDesktopTypeAttributeOutput) GpuCount

The gpu count attribute of the bundle.

func (GetBundlesBundleDesktopTypeAttributeOutput) GpuSpec

The gpu spec attribute of the bundle.

func (GetBundlesBundleDesktopTypeAttributeOutput) MemorySize

The memory size attribute of the bundle.

func (GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutput

func (o GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutput() GetBundlesBundleDesktopTypeAttributeOutput

func (GetBundlesBundleDesktopTypeAttributeOutput) ToGetBundlesBundleDesktopTypeAttributeOutputWithContext

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

type GetBundlesBundleDisk

type GetBundlesBundleDisk struct {
	// The disk size attribute of the bundle.
	DiskSize string `pulumi:"diskSize"`
	// The disk type attribute of the bundle.
	DiskType string `pulumi:"diskType"`
}

type GetBundlesBundleDiskArgs

type GetBundlesBundleDiskArgs struct {
	// The disk size attribute of the bundle.
	DiskSize pulumi.StringInput `pulumi:"diskSize"`
	// The disk type attribute of the bundle.
	DiskType pulumi.StringInput `pulumi:"diskType"`
}

func (GetBundlesBundleDiskArgs) ElementType

func (GetBundlesBundleDiskArgs) ElementType() reflect.Type

func (GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutput

func (i GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutput() GetBundlesBundleDiskOutput

func (GetBundlesBundleDiskArgs) ToGetBundlesBundleDiskOutputWithContext

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

type GetBundlesBundleDiskArray

type GetBundlesBundleDiskArray []GetBundlesBundleDiskInput

func (GetBundlesBundleDiskArray) ElementType

func (GetBundlesBundleDiskArray) ElementType() reflect.Type

func (GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutput

func (i GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutput() GetBundlesBundleDiskArrayOutput

func (GetBundlesBundleDiskArray) ToGetBundlesBundleDiskArrayOutputWithContext

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

type GetBundlesBundleDiskArrayInput

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

type GetBundlesBundleDiskArrayOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDiskArrayOutput) ElementType

func (GetBundlesBundleDiskArrayOutput) Index

func (GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutput

func (o GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutput() GetBundlesBundleDiskArrayOutput

func (GetBundlesBundleDiskArrayOutput) ToGetBundlesBundleDiskArrayOutputWithContext

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

type GetBundlesBundleDiskInput

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

type GetBundlesBundleDiskOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleDiskOutput) DiskSize

The disk size attribute of the bundle.

func (GetBundlesBundleDiskOutput) DiskType

The disk type attribute of the bundle.

func (GetBundlesBundleDiskOutput) ElementType

func (GetBundlesBundleDiskOutput) ElementType() reflect.Type

func (GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutput

func (o GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutput() GetBundlesBundleDiskOutput

func (GetBundlesBundleDiskOutput) ToGetBundlesBundleDiskOutputWithContext

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

type GetBundlesBundleInput

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

type GetBundlesBundleOutput struct{ *pulumi.OutputState }

func (GetBundlesBundleOutput) BundleId

The bundle id of the bundle.

func (GetBundlesBundleOutput) BundleName

The name of the bundle.

func (GetBundlesBundleOutput) BundleType

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

func (GetBundlesBundleOutput) Description

func (o GetBundlesBundleOutput) Description() pulumi.StringOutput

The description of the bundle.

func (GetBundlesBundleOutput) DesktopType

func (o GetBundlesBundleOutput) DesktopType() pulumi.StringOutput

The desktop type of the bundle.

func (GetBundlesBundleOutput) DesktopTypeAttributes

The desktop type attribute of the bundle.

func (GetBundlesBundleOutput) Disks

The disks of the bundle.

func (GetBundlesBundleOutput) ElementType

func (GetBundlesBundleOutput) ElementType() reflect.Type

func (GetBundlesBundleOutput) Id

The ID of the bundle.

func (GetBundlesBundleOutput) ImageId

The image id attribute of the bundle.

func (GetBundlesBundleOutput) OsType

The os type attribute of the bundle.

func (GetBundlesBundleOutput) ToGetBundlesBundleOutput

func (o GetBundlesBundleOutput) ToGetBundlesBundleOutput() GetBundlesBundleOutput

func (GetBundlesBundleOutput) ToGetBundlesBundleOutputWithContext

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

type GetBundlesOutputArgs

type GetBundlesOutputArgs struct {
	// The bundle id of the bundle.
	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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getBundles.

func (GetBundlesOutputArgs) ElementType

func (GetBundlesOutputArgs) ElementType() reflect.Type

type GetBundlesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetBundlesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBundles.

func (GetBundlesResultOutput) BundleIds

func (GetBundlesResultOutput) BundleType

func (GetBundlesResultOutput) Bundles

func (GetBundlesResultOutput) ElementType

func (GetBundlesResultOutput) ElementType() reflect.Type

func (GetBundlesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBundlesResultOutput) Ids

func (GetBundlesResultOutput) NameRegex

func (GetBundlesResultOutput) Names

func (GetBundlesResultOutput) OutputFile

func (GetBundlesResultOutput) ToGetBundlesResultOutput

func (o GetBundlesResultOutput) ToGetBundlesResultOutput() GetBundlesResultOutput

func (GetBundlesResultOutput) ToGetBundlesResultOutputWithContext

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

type GetCommandsArgs

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

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

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

func (GetCommandsCommandArgs) ElementType() reflect.Type

func (GetCommandsCommandArgs) ToGetCommandsCommandOutput

func (i GetCommandsCommandArgs) ToGetCommandsCommandOutput() GetCommandsCommandOutput

func (GetCommandsCommandArgs) ToGetCommandsCommandOutputWithContext

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

type GetCommandsCommandArray

type GetCommandsCommandArray []GetCommandsCommandInput

func (GetCommandsCommandArray) ElementType

func (GetCommandsCommandArray) ElementType() reflect.Type

func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutput

func (i GetCommandsCommandArray) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput

func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutputWithContext

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

type GetCommandsCommandArrayInput

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

type GetCommandsCommandArrayOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandArrayOutput) ElementType

func (GetCommandsCommandArrayOutput) Index

func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput

func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput

func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext

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

type GetCommandsCommandInput

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

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

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

func (GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutput

func (i GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutput() GetCommandsCommandInvokeDesktopOutput

func (GetCommandsCommandInvokeDesktopArgs) ToGetCommandsCommandInvokeDesktopOutputWithContext

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

type GetCommandsCommandInvokeDesktopArray

type GetCommandsCommandInvokeDesktopArray []GetCommandsCommandInvokeDesktopInput

func (GetCommandsCommandInvokeDesktopArray) ElementType

func (GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutput

func (i GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutput() GetCommandsCommandInvokeDesktopArrayOutput

func (GetCommandsCommandInvokeDesktopArray) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext

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

type GetCommandsCommandInvokeDesktopArrayInput

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

type GetCommandsCommandInvokeDesktopArrayOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandInvokeDesktopArrayOutput) ElementType

func (GetCommandsCommandInvokeDesktopArrayOutput) Index

func (GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutput

func (o GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutput() GetCommandsCommandInvokeDesktopArrayOutput

func (GetCommandsCommandInvokeDesktopArrayOutput) ToGetCommandsCommandInvokeDesktopArrayOutputWithContext

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

type GetCommandsCommandInvokeDesktopInput

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

type GetCommandsCommandInvokeDesktopOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandInvokeDesktopOutput) DesktopId

The desktop id of the Desktop.

func (GetCommandsCommandInvokeDesktopOutput) Dropped

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

func (GetCommandsCommandInvokeDesktopOutput) ElementType

func (GetCommandsCommandInvokeDesktopOutput) ErrorCode

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

func (GetCommandsCommandInvokeDesktopOutput) ErrorInfo

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

func (GetCommandsCommandInvokeDesktopOutput) ExitCode

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

func (GetCommandsCommandInvokeDesktopOutput) FinishTime

The Script Process until the End of Time.

func (GetCommandsCommandInvokeDesktopOutput) InvocationStatus

A Single Cloud Desktop Script Progress Status.

func (GetCommandsCommandInvokeDesktopOutput) Output

Script the Output of the Process.

func (GetCommandsCommandInvokeDesktopOutput) Repeats

Command in the Desktop Implementation.

func (GetCommandsCommandInvokeDesktopOutput) StartTime

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

func (GetCommandsCommandInvokeDesktopOutput) StopTime

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

func (GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutput

func (o GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutput() GetCommandsCommandInvokeDesktopOutput

func (GetCommandsCommandInvokeDesktopOutput) ToGetCommandsCommandInvokeDesktopOutputWithContext

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

type GetCommandsCommandOutput

type GetCommandsCommandOutput struct{ *pulumi.OutputState }

func (GetCommandsCommandOutput) CommandContent

func (o GetCommandsCommandOutput) CommandContent() pulumi.StringOutput

The Contents of the Script to Base64 Encoded Transmission.

func (GetCommandsCommandOutput) CommandType

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

func (GetCommandsCommandOutput) CreateTime

The Task of Creation Time.

func (GetCommandsCommandOutput) ElementType

func (GetCommandsCommandOutput) ElementType() reflect.Type

func (GetCommandsCommandOutput) Id

The ID of the Command.

func (GetCommandsCommandOutput) InvokeDesktops

The Implementation of the Target Cloud Desktop Collection.

func (GetCommandsCommandOutput) InvokeId

The invoke id of the Command.

func (GetCommandsCommandOutput) Status

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

func (GetCommandsCommandOutput) ToGetCommandsCommandOutput

func (o GetCommandsCommandOutput) ToGetCommandsCommandOutput() GetCommandsCommandOutput

func (GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext

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

type GetCommandsOutputArgs

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

func (GetCommandsOutputArgs) ElementType() reflect.Type

type GetCommandsResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, 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, "defaultEcdPolicyGroup", &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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[0].Id),
			DesktopName:   pulumi.Any(_var.Name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewCommand(ctx, "defaultCommand", &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

type GetCommandsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCommands.

func (GetCommandsResultOutput) CommandType

func (GetCommandsResultOutput) Commands

func (GetCommandsResultOutput) ContentEncoding

func (o GetCommandsResultOutput) ContentEncoding() pulumi.StringPtrOutput

func (GetCommandsResultOutput) DesktopId

func (GetCommandsResultOutput) ElementType

func (GetCommandsResultOutput) ElementType() reflect.Type

func (GetCommandsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCommandsResultOutput) Ids

func (GetCommandsResultOutput) OutputFile

func (GetCommandsResultOutput) Status

func (GetCommandsResultOutput) ToGetCommandsResultOutput

func (o GetCommandsResultOutput) ToGetCommandsResultOutput() GetCommandsResultOutput

func (GetCommandsResultOutput) ToGetCommandsResultOutputWithContext

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

type GetCustomPropertiesArgs

type GetCustomPropertiesArgs struct {
	// A list of Custom Property IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomProperties.

type GetCustomPropertiesOutputArgs

type GetCustomPropertiesOutputArgs struct {
	// A list of Custom Property IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomProperties.

func (GetCustomPropertiesOutputArgs) ElementType

type GetCustomPropertiesProperty

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

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

func (GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutput

func (i GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutput() GetCustomPropertiesPropertyOutput

func (GetCustomPropertiesPropertyArgs) ToGetCustomPropertiesPropertyOutputWithContext

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

type GetCustomPropertiesPropertyArray

type GetCustomPropertiesPropertyArray []GetCustomPropertiesPropertyInput

func (GetCustomPropertiesPropertyArray) ElementType

func (GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutput

func (i GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutput() GetCustomPropertiesPropertyArrayOutput

func (GetCustomPropertiesPropertyArray) ToGetCustomPropertiesPropertyArrayOutputWithContext

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

type GetCustomPropertiesPropertyArrayInput

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

type GetCustomPropertiesPropertyArrayOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyArrayOutput) ElementType

func (GetCustomPropertiesPropertyArrayOutput) Index

func (GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutput

func (o GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutput() GetCustomPropertiesPropertyArrayOutput

func (GetCustomPropertiesPropertyArrayOutput) ToGetCustomPropertiesPropertyArrayOutputWithContext

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

type GetCustomPropertiesPropertyInput

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

type GetCustomPropertiesPropertyOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyOutput) CustomPropertyId

The first ID of the resource.

func (GetCustomPropertiesPropertyOutput) ElementType

func (GetCustomPropertiesPropertyOutput) Id

The ID of the Custom Property.

func (GetCustomPropertiesPropertyOutput) PropertyKey

The Custom attribute key.

func (GetCustomPropertiesPropertyOutput) PropertyValues

Custom attribute sets the value of.

func (GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutput

func (o GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutput() GetCustomPropertiesPropertyOutput

func (GetCustomPropertiesPropertyOutput) ToGetCustomPropertiesPropertyOutputWithContext

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

type GetCustomPropertiesPropertyPropertyValue

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

type GetCustomPropertiesPropertyPropertyValueArgs

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

func (GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutput

func (i GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutput() GetCustomPropertiesPropertyPropertyValueOutput

func (GetCustomPropertiesPropertyPropertyValueArgs) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext

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

type GetCustomPropertiesPropertyPropertyValueArray

type GetCustomPropertiesPropertyPropertyValueArray []GetCustomPropertiesPropertyPropertyValueInput

func (GetCustomPropertiesPropertyPropertyValueArray) ElementType

func (GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutput

func (i GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutput() GetCustomPropertiesPropertyPropertyValueArrayOutput

func (GetCustomPropertiesPropertyPropertyValueArray) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext

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

type GetCustomPropertiesPropertyPropertyValueArrayInput

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

type GetCustomPropertiesPropertyPropertyValueArrayOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ElementType

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) Index

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutput

func (o GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutput() GetCustomPropertiesPropertyPropertyValueArrayOutput

func (GetCustomPropertiesPropertyPropertyValueArrayOutput) ToGetCustomPropertiesPropertyPropertyValueArrayOutputWithContext

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

type GetCustomPropertiesPropertyPropertyValueInput

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

type GetCustomPropertiesPropertyPropertyValueOutput struct{ *pulumi.OutputState }

func (GetCustomPropertiesPropertyPropertyValueOutput) ElementType

func (GetCustomPropertiesPropertyPropertyValueOutput) PropertyValue

The value of an attribute.

func (GetCustomPropertiesPropertyPropertyValueOutput) PropertyValueId

The value of an attribute id.

func (GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutput

func (o GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutput() GetCustomPropertiesPropertyPropertyValueOutput

func (GetCustomPropertiesPropertyPropertyValueOutput) ToGetCustomPropertiesPropertyPropertyValueOutputWithContext

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

type GetCustomPropertiesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetCustomPropertiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomProperties.

func (GetCustomPropertiesResultOutput) ElementType

func (GetCustomPropertiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCustomPropertiesResultOutput) Ids

func (GetCustomPropertiesResultOutput) OutputFile

func (GetCustomPropertiesResultOutput) Properties

func (GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutput

func (o GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutput() GetCustomPropertiesResultOutput

func (GetCustomPropertiesResultOutput) ToGetCustomPropertiesResultOutputWithContext

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

type GetDesktopTypesArgs

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"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getDesktopTypes.

type GetDesktopTypesOutputArgs

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

func (GetDesktopTypesOutputArgs) ElementType() reflect.Type

type GetDesktopTypesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetDesktopTypesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDesktopTypes.

func (GetDesktopTypesResultOutput) CpuCount

func (GetDesktopTypesResultOutput) ElementType

func (GetDesktopTypesResultOutput) GpuCount

func (GetDesktopTypesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDesktopTypesResultOutput) Ids

func (GetDesktopTypesResultOutput) InstanceTypeFamily

func (o GetDesktopTypesResultOutput) InstanceTypeFamily() pulumi.StringPtrOutput

func (GetDesktopTypesResultOutput) MemorySize

func (GetDesktopTypesResultOutput) OutputFile

func (GetDesktopTypesResultOutput) Status

func (GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutput

func (o GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutput() GetDesktopTypesResultOutput

func (GetDesktopTypesResultOutput) ToGetDesktopTypesResultOutputWithContext

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

func (GetDesktopTypesResultOutput) Types

type GetDesktopTypesType

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

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

func (GetDesktopTypesTypeArgs) ElementType() reflect.Type

func (GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutput

func (i GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutput() GetDesktopTypesTypeOutput

func (GetDesktopTypesTypeArgs) ToGetDesktopTypesTypeOutputWithContext

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

type GetDesktopTypesTypeArray

type GetDesktopTypesTypeArray []GetDesktopTypesTypeInput

func (GetDesktopTypesTypeArray) ElementType

func (GetDesktopTypesTypeArray) ElementType() reflect.Type

func (GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutput

func (i GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutput() GetDesktopTypesTypeArrayOutput

func (GetDesktopTypesTypeArray) ToGetDesktopTypesTypeArrayOutputWithContext

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

type GetDesktopTypesTypeArrayInput

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

type GetDesktopTypesTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDesktopTypesTypeArrayOutput) ElementType

func (GetDesktopTypesTypeArrayOutput) Index

func (GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutput

func (o GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutput() GetDesktopTypesTypeArrayOutput

func (GetDesktopTypesTypeArrayOutput) ToGetDesktopTypesTypeArrayOutputWithContext

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

type GetDesktopTypesTypeInput

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

type GetDesktopTypesTypeOutput struct{ *pulumi.OutputState }

func (GetDesktopTypesTypeOutput) CpuCount

The CPU cores.

func (GetDesktopTypesTypeOutput) DataDiskSize

The size of the data disk. Unit: GiB.

func (GetDesktopTypesTypeOutput) DesktopTypeId

func (o GetDesktopTypesTypeOutput) DesktopTypeId() pulumi.StringOutput

Specification ID.

func (GetDesktopTypesTypeOutput) ElementType

func (GetDesktopTypesTypeOutput) ElementType() reflect.Type

func (GetDesktopTypesTypeOutput) GpuCount

The GPU cores.

func (GetDesktopTypesTypeOutput) GpuSpec

The GPU video memory.

func (GetDesktopTypesTypeOutput) Id

The ID of the Desktop Type.

func (GetDesktopTypesTypeOutput) InstanceTypeFamily

func (o GetDesktopTypesTypeOutput) InstanceTypeFamily() pulumi.StringOutput

The Specification family.

func (GetDesktopTypesTypeOutput) MemorySize

The Memory size. Unit: MiB.

func (GetDesktopTypesTypeOutput) Status

The status of the resource.

func (GetDesktopTypesTypeOutput) SystemDiskSize

func (o GetDesktopTypesTypeOutput) SystemDiskSize() pulumi.StringOutput

The size of the system disk. Unit: GiB.

func (GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutput

func (o GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutput() GetDesktopTypesTypeOutput

func (GetDesktopTypesTypeOutput) ToGetDesktopTypesTypeOutputWithContext

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

type GetDesktopsArgs

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

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

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

func (GetDesktopsDesktopArgs) ElementType() reflect.Type

func (GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutput

func (i GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutput() GetDesktopsDesktopOutput

func (GetDesktopsDesktopArgs) ToGetDesktopsDesktopOutputWithContext

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

type GetDesktopsDesktopArray

type GetDesktopsDesktopArray []GetDesktopsDesktopInput

func (GetDesktopsDesktopArray) ElementType

func (GetDesktopsDesktopArray) ElementType() reflect.Type

func (GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutput

func (i GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutput() GetDesktopsDesktopArrayOutput

func (GetDesktopsDesktopArray) ToGetDesktopsDesktopArrayOutputWithContext

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

type GetDesktopsDesktopArrayInput

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

type GetDesktopsDesktopArrayOutput struct{ *pulumi.OutputState }

func (GetDesktopsDesktopArrayOutput) ElementType

func (GetDesktopsDesktopArrayOutput) Index

func (GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutput

func (o GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutput() GetDesktopsDesktopArrayOutput

func (GetDesktopsDesktopArrayOutput) ToGetDesktopsDesktopArrayOutputWithContext

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

type GetDesktopsDesktopInput

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

type GetDesktopsDesktopOutput struct{ *pulumi.OutputState }

func (GetDesktopsDesktopOutput) Cpu

The number of CPUs.

func (GetDesktopsDesktopOutput) CreateTime

The creation time of the Desktop.

func (GetDesktopsDesktopOutput) DesktopId

The desktop id of the Desktop.

func (GetDesktopsDesktopOutput) DesktopName

The desktop name of the Desktop.

func (GetDesktopsDesktopOutput) DesktopType

The desktop type of the Desktop.

func (GetDesktopsDesktopOutput) DirectoryId

The directory id of the Desktop.

func (GetDesktopsDesktopOutput) ElementType

func (GetDesktopsDesktopOutput) ElementType() reflect.Type

func (GetDesktopsDesktopOutput) EndUserIds

The desktop end user id of the Desktop.

func (GetDesktopsDesktopOutput) ExpiredTime

The expired time of the Desktop.

func (GetDesktopsDesktopOutput) Id

The ID of the Desktop.

func (GetDesktopsDesktopOutput) ImageId

The image id of the Desktop.

func (GetDesktopsDesktopOutput) Memory

The memory of the Desktop.

func (GetDesktopsDesktopOutput) NetworkInterfaceId

func (o GetDesktopsDesktopOutput) NetworkInterfaceId() pulumi.StringOutput

The network interface id of the Desktop.

func (GetDesktopsDesktopOutput) PaymentType

The payment type of the Desktop.

func (GetDesktopsDesktopOutput) PolicyGroupId

func (o GetDesktopsDesktopOutput) PolicyGroupId() pulumi.StringOutput

The policy group id of the Desktop.

func (GetDesktopsDesktopOutput) Status

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

func (GetDesktopsDesktopOutput) SystemDiskSize

func (o GetDesktopsDesktopOutput) SystemDiskSize() pulumi.IntOutput

The system disk size of the Desktop.

func (GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutput

func (o GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutput() GetDesktopsDesktopOutput

func (GetDesktopsDesktopOutput) ToGetDesktopsDesktopOutputWithContext

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

type GetDesktopsOutputArgs

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

func (GetDesktopsOutputArgs) ElementType() reflect.Type

type GetDesktopsResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &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, "defaultUser", &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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.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.StringOutput))
		ctx.Export("ecdDesktopId2", nameRegex.ApplyT(func(nameRegex eds.GetDesktopsResult) (string, error) {
			return nameRegex.Desktops[0].Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetDesktopsResultOutput

type GetDesktopsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDesktops.

func (GetDesktopsResultOutput) DesktopName

func (GetDesktopsResultOutput) Desktops

func (GetDesktopsResultOutput) ElementType

func (GetDesktopsResultOutput) ElementType() reflect.Type

func (GetDesktopsResultOutput) EndUserIds

func (GetDesktopsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDesktopsResultOutput) Ids

func (GetDesktopsResultOutput) NameRegex

func (GetDesktopsResultOutput) Names

func (GetDesktopsResultOutput) OfficeSiteId

func (GetDesktopsResultOutput) OutputFile

func (GetDesktopsResultOutput) PolicyGroupId

func (GetDesktopsResultOutput) Status

func (GetDesktopsResultOutput) ToGetDesktopsResultOutput

func (o GetDesktopsResultOutput) ToGetDesktopsResultOutput() GetDesktopsResultOutput

func (GetDesktopsResultOutput) ToGetDesktopsResultOutputWithContext

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

type GetImagesArgs

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

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

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

func (GetImagesImageArgs) ElementType() reflect.Type

func (GetImagesImageArgs) ToGetImagesImageOutput

func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageArgs) ToGetImagesImageOutputWithContext

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

type GetImagesImageArray

type GetImagesImageArray []GetImagesImageInput

func (GetImagesImageArray) ElementType

func (GetImagesImageArray) ElementType() reflect.Type

func (GetImagesImageArray) ToGetImagesImageArrayOutput

func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArray) ToGetImagesImageArrayOutputWithContext

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

type GetImagesImageArrayInput

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

type GetImagesImageArrayOutput struct{ *pulumi.OutputState }

func (GetImagesImageArrayOutput) ElementType

func (GetImagesImageArrayOutput) ElementType() reflect.Type

func (GetImagesImageArrayOutput) Index

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutput

func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext

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

type GetImagesImageInput

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

type GetImagesImageOutput struct{ *pulumi.OutputState }

func (GetImagesImageOutput) CreateTime

func (o GetImagesImageOutput) CreateTime() pulumi.StringOutput

The creation time of the image.

func (GetImagesImageOutput) DataDiskSize

func (o GetImagesImageOutput) DataDiskSize() pulumi.IntOutput

The size of data disk of the image.

func (GetImagesImageOutput) Description

func (o GetImagesImageOutput) Description() pulumi.StringOutput

The description of the image.

func (GetImagesImageOutput) ElementType

func (GetImagesImageOutput) ElementType() reflect.Type

func (GetImagesImageOutput) GpuCategory

func (o GetImagesImageOutput) GpuCategory() pulumi.BoolOutput

The Gpu Category of the image.

func (GetImagesImageOutput) Id

The ID of the Image.

func (GetImagesImageOutput) ImageId

The image id of the image.

func (GetImagesImageOutput) ImageName

The image name.

func (GetImagesImageOutput) ImageType

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

func (GetImagesImageOutput) OsType

The os type of the image.

func (GetImagesImageOutput) Progress

The progress of the image.

func (GetImagesImageOutput) Size

The size of the image.

func (GetImagesImageOutput) Status

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

func (GetImagesImageOutput) ToGetImagesImageOutput

func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageOutput) ToGetImagesImageOutputWithContext

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

type GetImagesOutputArgs

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

func (GetImagesOutputArgs) ElementType() reflect.Type

type GetImagesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[1].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
		})
		if err != nil {
			return err
		}
		defaultImage, err := eds.NewImage(ctx, "defaultImage", &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.StringOutput))
		ctx.Export("ecdImageId2", nameRegex.ApplyT(func(nameRegex eds.GetImagesResult) (string, error) {
			return nameRegex.Images[0].Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetImagesResultOutput

type GetImagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getImages.

func (GetImagesResultOutput) DesktopInstanceType

func (o GetImagesResultOutput) DesktopInstanceType() pulumi.StringPtrOutput

func (GetImagesResultOutput) ElementType

func (GetImagesResultOutput) ElementType() reflect.Type

func (GetImagesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetImagesResultOutput) Ids

func (GetImagesResultOutput) ImageType

func (GetImagesResultOutput) Images

func (GetImagesResultOutput) NameRegex

func (GetImagesResultOutput) Names

func (GetImagesResultOutput) OsType

func (GetImagesResultOutput) OutputFile

func (GetImagesResultOutput) Status

func (GetImagesResultOutput) ToGetImagesResultOutput

func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput

func (GetImagesResultOutput) ToGetImagesResultOutputWithContext

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

type GetNasFileSystemsArgs

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

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

type GetNasFileSystemsResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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, "defaultNasFileSystem", &eds.NasFileSystemArgs{
			Description:       pulumi.String("your_description"),
			OfficeSiteId:      defaultSimpleOfficeSite.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)
		ctx.Export("ecdNasFileSystemId2", nameRegex.ApplyT(func(nameRegex eds.GetNasFileSystemsResult) (string, error) {
			return nameRegex.Systems[0].Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetNasFileSystemsResultOutput

type GetNasFileSystemsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNasFileSystems.

func (GetNasFileSystemsResultOutput) ElementType

func (GetNasFileSystemsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNasFileSystemsResultOutput) Ids

func (GetNasFileSystemsResultOutput) NameRegex

func (GetNasFileSystemsResultOutput) Names

func (GetNasFileSystemsResultOutput) OfficeSiteId

func (GetNasFileSystemsResultOutput) OutputFile

func (GetNasFileSystemsResultOutput) Status

func (GetNasFileSystemsResultOutput) Systems

func (GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutput

func (o GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutput() GetNasFileSystemsResultOutput

func (GetNasFileSystemsResultOutput) ToGetNasFileSystemsResultOutputWithContext

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

type GetNasFileSystemsSystem

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

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

func (GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutput

func (i GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutput() GetNasFileSystemsSystemOutput

func (GetNasFileSystemsSystemArgs) ToGetNasFileSystemsSystemOutputWithContext

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

type GetNasFileSystemsSystemArray

type GetNasFileSystemsSystemArray []GetNasFileSystemsSystemInput

func (GetNasFileSystemsSystemArray) ElementType

func (GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutput

func (i GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutput() GetNasFileSystemsSystemArrayOutput

func (GetNasFileSystemsSystemArray) ToGetNasFileSystemsSystemArrayOutputWithContext

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

type GetNasFileSystemsSystemArrayInput

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

type GetNasFileSystemsSystemArrayOutput struct{ *pulumi.OutputState }

func (GetNasFileSystemsSystemArrayOutput) ElementType

func (GetNasFileSystemsSystemArrayOutput) Index

func (GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutput

func (o GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutput() GetNasFileSystemsSystemArrayOutput

func (GetNasFileSystemsSystemArrayOutput) ToGetNasFileSystemsSystemArrayOutputWithContext

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

type GetNasFileSystemsSystemInput

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

type GetNasFileSystemsSystemOutput struct{ *pulumi.OutputState }

func (GetNasFileSystemsSystemOutput) Capacity

The capacity of nas file system.

func (GetNasFileSystemsSystemOutput) CreateTime

The create time of nas file system.

func (GetNasFileSystemsSystemOutput) Description

The description of nas file system.

func (GetNasFileSystemsSystemOutput) ElementType

func (GetNasFileSystemsSystemOutput) FileSystemId

The filesystem id of nas file system.

func (GetNasFileSystemsSystemOutput) FileSystemType

The type of nas file system.

func (GetNasFileSystemsSystemOutput) Id

The ID of the Nas File System.

func (GetNasFileSystemsSystemOutput) MeteredSize

The size of metered.

func (GetNasFileSystemsSystemOutput) MountTargetDomain

func (o GetNasFileSystemsSystemOutput) MountTargetDomain() pulumi.StringOutput

The domain of mount target.

func (GetNasFileSystemsSystemOutput) MountTargetStatus

func (o GetNasFileSystemsSystemOutput) MountTargetStatus() pulumi.StringOutput

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

func (GetNasFileSystemsSystemOutput) NasFileSystemName

func (o GetNasFileSystemsSystemOutput) NasFileSystemName() pulumi.StringOutput

The name of nas file system.

func (GetNasFileSystemsSystemOutput) OfficeSiteId

The ID of office site.

func (GetNasFileSystemsSystemOutput) OfficeSiteName

The name of office site.

func (GetNasFileSystemsSystemOutput) Status

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

func (GetNasFileSystemsSystemOutput) StorageType

The storage type of nas file system.

func (GetNasFileSystemsSystemOutput) SupportAcl

Whether to support Acl.

func (GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutput

func (o GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutput() GetNasFileSystemsSystemOutput

func (GetNasFileSystemsSystemOutput) ToGetNasFileSystemsSystemOutputWithContext

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

func (GetNasFileSystemsSystemOutput) ZoneId

The zone id of nas file system.

type GetNetworkPackagesArgs

type GetNetworkPackagesArgs struct {
	// A list of Network Package IDs.
	Ids        []string `pulumi:"ids"`
	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

type GetNetworkPackagesOutputArgs struct {
	// A list of Network Package IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	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

type GetNetworkPackagesPackage

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

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

func (GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutput

func (i GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutput() GetNetworkPackagesPackageOutput

func (GetNetworkPackagesPackageArgs) ToGetNetworkPackagesPackageOutputWithContext

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

type GetNetworkPackagesPackageArray

type GetNetworkPackagesPackageArray []GetNetworkPackagesPackageInput

func (GetNetworkPackagesPackageArray) ElementType

func (GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutput

func (i GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutput() GetNetworkPackagesPackageArrayOutput

func (GetNetworkPackagesPackageArray) ToGetNetworkPackagesPackageArrayOutputWithContext

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

type GetNetworkPackagesPackageArrayInput

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

type GetNetworkPackagesPackageArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkPackagesPackageArrayOutput) ElementType

func (GetNetworkPackagesPackageArrayOutput) Index

func (GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutput

func (o GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutput() GetNetworkPackagesPackageArrayOutput

func (GetNetworkPackagesPackageArrayOutput) ToGetNetworkPackagesPackageArrayOutputWithContext

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

type GetNetworkPackagesPackageInput

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

type GetNetworkPackagesPackageOutput struct{ *pulumi.OutputState }

func (GetNetworkPackagesPackageOutput) Bandwidth

The bandwidth of package.

func (GetNetworkPackagesPackageOutput) CreateTime

The creation time of network package.

func (GetNetworkPackagesPackageOutput) EipAddresses

The public IP address list of the network packet.

func (GetNetworkPackagesPackageOutput) ElementType

func (GetNetworkPackagesPackageOutput) ExpiredTime

The expired time of package.

func (GetNetworkPackagesPackageOutput) Id

The ID of the Network Package.

func (GetNetworkPackagesPackageOutput) InternetChargeType

func (o GetNetworkPackagesPackageOutput) InternetChargeType() pulumi.StringOutput

The internet charge type of package.

func (GetNetworkPackagesPackageOutput) NetworkPackageId

The ID of network package.

func (GetNetworkPackagesPackageOutput) OfficeSiteId

The ID of office site.

func (GetNetworkPackagesPackageOutput) OfficeSiteName

The name of office site.

func (GetNetworkPackagesPackageOutput) Status

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

func (GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutput

func (o GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutput() GetNetworkPackagesPackageOutput

func (GetNetworkPackagesPackageOutput) ToGetNetworkPackagesPackageOutputWithContext

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

type GetNetworkPackagesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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, "defaultNetworkPackage", &eds.NetworkPackageArgs{
			Bandwidth:    pulumi.Int(10),
			OfficeSiteId: defaultSimpleOfficeSite.ID(),
		})
		if err != nil {
			return err
		}
		defaultNetworkPackages := eds.GetNetworkPackagesOutput(ctx, eds.GetNetworkPackagesOutputArgs{
			Ids: pulumi.StringArray{
				defaultNetworkPackage.ID(),
			},
		}, nil)
		ctx.Export("ecdNetworkPackageId1", defaultNetworkPackages.ApplyT(func(defaultNetworkPackages eds.GetNetworkPackagesResult) (string, error) {
			return defaultNetworkPackages.Packages[0].Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetNetworkPackagesResultOutput

type GetNetworkPackagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetworkPackages.

func (GetNetworkPackagesResultOutput) ElementType

func (GetNetworkPackagesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNetworkPackagesResultOutput) Ids

func (GetNetworkPackagesResultOutput) OutputFile

func (GetNetworkPackagesResultOutput) Packages

func (GetNetworkPackagesResultOutput) Status

func (GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutput

func (o GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutput() GetNetworkPackagesResultOutput

func (GetNetworkPackagesResultOutput) ToGetNetworkPackagesResultOutputWithContext

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

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

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

func (GetPolicyGroupsGroupOutput) RecordingEndTime

func (o GetPolicyGroupsGroupOutput) RecordingEndTime() pulumi.StringOutput

The end time of recording.

func (GetPolicyGroupsGroupOutput) RecordingFps

func (o GetPolicyGroupsGroupOutput) RecordingFps() pulumi.IntOutput

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

func (GetPolicyGroupsGroupOutput) RecordingStartTime

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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of policy.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getPolicyGroups.

func (GetPolicyGroupsOutputArgs) ElementType

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetPolicyGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPolicyGroups.

func (GetPolicyGroupsResultOutput) ElementType

func (GetPolicyGroupsResultOutput) Groups

func (GetPolicyGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPolicyGroupsResultOutput) Ids

func (GetPolicyGroupsResultOutput) NameRegex

func (GetPolicyGroupsResultOutput) Names

func (GetPolicyGroupsResultOutput) OutputFile

func (GetPolicyGroupsResultOutput) Status

func (GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutput

func (o GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutput() GetPolicyGroupsResultOutput

func (GetPolicyGroupsResultOutput) ToGetPolicyGroupsResultOutputWithContext

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

type GetRamDirectoriesArgs

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"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of directory.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRamDirectories.

type GetRamDirectoriesDirectory

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

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

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

func (GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutput

func (i GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutput() GetRamDirectoriesDirectoryAdConnectorOutput

func (GetRamDirectoriesDirectoryAdConnectorArgs) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext

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

type GetRamDirectoriesDirectoryAdConnectorArray

type GetRamDirectoriesDirectoryAdConnectorArray []GetRamDirectoriesDirectoryAdConnectorInput

func (GetRamDirectoriesDirectoryAdConnectorArray) ElementType

func (GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput

func (i GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput() GetRamDirectoriesDirectoryAdConnectorArrayOutput

func (GetRamDirectoriesDirectoryAdConnectorArray) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext

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

type GetRamDirectoriesDirectoryAdConnectorArrayInput

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

type GetRamDirectoriesDirectoryAdConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ElementType

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) Index

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput

func (o GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutput() GetRamDirectoriesDirectoryAdConnectorArrayOutput

func (GetRamDirectoriesDirectoryAdConnectorArrayOutput) ToGetRamDirectoriesDirectoryAdConnectorArrayOutputWithContext

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

type GetRamDirectoriesDirectoryAdConnectorInput

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

type GetRamDirectoriesDirectoryAdConnectorOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryAdConnectorOutput) AdConnectorAddress

The address of AD connector.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ConnectorStatus

The status of connector.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ElementType

func (GetRamDirectoriesDirectoryAdConnectorOutput) NetworkInterfaceId

The ID of the network interface.

func (GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutput

func (o GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutput() GetRamDirectoriesDirectoryAdConnectorOutput

func (GetRamDirectoriesDirectoryAdConnectorOutput) ToGetRamDirectoriesDirectoryAdConnectorOutputWithContext

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

func (GetRamDirectoriesDirectoryAdConnectorOutput) VswitchId

The ID of VSwitch.

type GetRamDirectoriesDirectoryArgs

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

func (GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutput

func (i GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutput() GetRamDirectoriesDirectoryOutput

func (GetRamDirectoriesDirectoryArgs) ToGetRamDirectoriesDirectoryOutputWithContext

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

type GetRamDirectoriesDirectoryArray

type GetRamDirectoriesDirectoryArray []GetRamDirectoriesDirectoryInput

func (GetRamDirectoriesDirectoryArray) ElementType

func (GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutput

func (i GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutput() GetRamDirectoriesDirectoryArrayOutput

func (GetRamDirectoriesDirectoryArray) ToGetRamDirectoriesDirectoryArrayOutputWithContext

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

type GetRamDirectoriesDirectoryArrayInput

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

type GetRamDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryArrayOutput) ElementType

func (GetRamDirectoriesDirectoryArrayOutput) Index

func (GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutput

func (o GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutput() GetRamDirectoriesDirectoryArrayOutput

func (GetRamDirectoriesDirectoryArrayOutput) ToGetRamDirectoriesDirectoryArrayOutputWithContext

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

type GetRamDirectoriesDirectoryInput

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

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

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

func (GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutput

func (i GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutput() GetRamDirectoriesDirectoryLogOutput

func (GetRamDirectoriesDirectoryLogArgs) ToGetRamDirectoriesDirectoryLogOutputWithContext

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

type GetRamDirectoriesDirectoryLogArray

type GetRamDirectoriesDirectoryLogArray []GetRamDirectoriesDirectoryLogInput

func (GetRamDirectoriesDirectoryLogArray) ElementType

func (GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutput

func (i GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutput() GetRamDirectoriesDirectoryLogArrayOutput

func (GetRamDirectoriesDirectoryLogArray) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext

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

type GetRamDirectoriesDirectoryLogArrayInput

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

type GetRamDirectoriesDirectoryLogArrayOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryLogArrayOutput) ElementType

func (GetRamDirectoriesDirectoryLogArrayOutput) Index

func (GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutput

func (o GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutput() GetRamDirectoriesDirectoryLogArrayOutput

func (GetRamDirectoriesDirectoryLogArrayOutput) ToGetRamDirectoriesDirectoryLogArrayOutputWithContext

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

type GetRamDirectoriesDirectoryLogInput

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

type GetRamDirectoriesDirectoryLogOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryLogOutput) ElementType

func (GetRamDirectoriesDirectoryLogOutput) Level

The level of log.

func (GetRamDirectoriesDirectoryLogOutput) Message

The message of log.

func (GetRamDirectoriesDirectoryLogOutput) Step

The step of log.

func (GetRamDirectoriesDirectoryLogOutput) TimeStamp

The time stamp of log.

func (GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutput

func (o GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutput() GetRamDirectoriesDirectoryLogOutput

func (GetRamDirectoriesDirectoryLogOutput) ToGetRamDirectoriesDirectoryLogOutputWithContext

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

type GetRamDirectoriesDirectoryOutput

type GetRamDirectoriesDirectoryOutput struct{ *pulumi.OutputState }

func (GetRamDirectoriesDirectoryOutput) AdConnectors

The AD connectors.

func (GetRamDirectoriesDirectoryOutput) CreateTime

The CreateTime of resource.

func (GetRamDirectoriesDirectoryOutput) CustomSecurityGroupId

func (o GetRamDirectoriesDirectoryOutput) CustomSecurityGroupId() pulumi.StringOutput

The id of the custom security group.

func (GetRamDirectoriesDirectoryOutput) DesktopAccessType

The desktop access type.

func (GetRamDirectoriesDirectoryOutput) DesktopVpcEndpoint

func (o GetRamDirectoriesDirectoryOutput) DesktopVpcEndpoint() pulumi.StringOutput

The desktop vpc endpoint.

func (GetRamDirectoriesDirectoryOutput) DirectoryType

The directory type.

func (GetRamDirectoriesDirectoryOutput) DnsAddresses

The address of DNSAddress.

func (GetRamDirectoriesDirectoryOutput) DnsUserName

The username of DNS.

func (GetRamDirectoriesDirectoryOutput) DomainName

The name of the domain.

func (GetRamDirectoriesDirectoryOutput) DomainPassword

The domain password.

func (GetRamDirectoriesDirectoryOutput) DomainUserName

The username of the domain.

func (GetRamDirectoriesDirectoryOutput) ElementType

func (GetRamDirectoriesDirectoryOutput) EnableAdminAccess

func (o GetRamDirectoriesDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to enable admin access.

func (GetRamDirectoriesDirectoryOutput) EnableCrossDesktopAccess

func (o GetRamDirectoriesDirectoryOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Whether to enable cross desktop access.

func (GetRamDirectoriesDirectoryOutput) EnableInternetAccess

func (o GetRamDirectoriesDirectoryOutput) EnableInternetAccess() pulumi.BoolOutput

Whether enable internet access.

func (GetRamDirectoriesDirectoryOutput) FileSystemIds

The ids of filesystem.

func (GetRamDirectoriesDirectoryOutput) Id

The ID of the Ram Directory.

func (GetRamDirectoriesDirectoryOutput) Logs

The register log information.

func (GetRamDirectoriesDirectoryOutput) MfaEnabled

Whether to enable MFA.

func (GetRamDirectoriesDirectoryOutput) RamDirectoryId

The ID of ram directory.

func (GetRamDirectoriesDirectoryOutput) RamDirectoryName

The name of directory.

func (GetRamDirectoriesDirectoryOutput) SsoEnabled

Whether to enable SSO.

func (GetRamDirectoriesDirectoryOutput) Status

The status of directory.

func (GetRamDirectoriesDirectoryOutput) SubDnsAddresses

The address of sub DNS.

func (GetRamDirectoriesDirectoryOutput) SubDomainName

The Name of the sub-domain.

func (GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutput

func (o GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutput() GetRamDirectoriesDirectoryOutput

func (GetRamDirectoriesDirectoryOutput) ToGetRamDirectoriesDirectoryOutputWithContext

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

func (GetRamDirectoriesDirectoryOutput) TrustPassword

The trust password.

func (GetRamDirectoriesDirectoryOutput) VpcId

The ID of the vpc.

func (GetRamDirectoriesDirectoryOutput) VswitchIds

List of VSwitch IDs in the directory.

type GetRamDirectoriesOutputArgs

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of directory.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRamDirectories.

func (GetRamDirectoriesOutputArgs) ElementType

type GetRamDirectoriesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetRamDirectoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRamDirectories.

func (GetRamDirectoriesResultOutput) Directories

func (GetRamDirectoriesResultOutput) ElementType

func (GetRamDirectoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRamDirectoriesResultOutput) Ids

func (GetRamDirectoriesResultOutput) NameRegex

func (GetRamDirectoriesResultOutput) Names

func (GetRamDirectoriesResultOutput) OutputFile

func (GetRamDirectoriesResultOutput) Status

func (GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutput

func (o GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutput() GetRamDirectoriesResultOutput

func (GetRamDirectoriesResultOutput) ToGetRamDirectoriesResultOutputWithContext

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

type GetSimpleOfficeSitesArgs

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

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

type GetSimpleOfficeSitesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetSimpleOfficeSitesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSimpleOfficeSites.

func (GetSimpleOfficeSitesResultOutput) ElementType

func (GetSimpleOfficeSitesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSimpleOfficeSitesResultOutput) Ids

func (GetSimpleOfficeSitesResultOutput) NameRegex

func (GetSimpleOfficeSitesResultOutput) Names

func (GetSimpleOfficeSitesResultOutput) OutputFile

func (GetSimpleOfficeSitesResultOutput) Sites

func (GetSimpleOfficeSitesResultOutput) Status

func (GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutput

func (o GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutput() GetSimpleOfficeSitesResultOutput

func (GetSimpleOfficeSitesResultOutput) ToGetSimpleOfficeSitesResultOutputWithContext

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

type GetSimpleOfficeSitesSite

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

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

func (GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutput

func (i GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutput() GetSimpleOfficeSitesSiteOutput

func (GetSimpleOfficeSitesSiteArgs) ToGetSimpleOfficeSitesSiteOutputWithContext

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

type GetSimpleOfficeSitesSiteArray

type GetSimpleOfficeSitesSiteArray []GetSimpleOfficeSitesSiteInput

func (GetSimpleOfficeSitesSiteArray) ElementType

func (GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutput

func (i GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutput() GetSimpleOfficeSitesSiteArrayOutput

func (GetSimpleOfficeSitesSiteArray) ToGetSimpleOfficeSitesSiteArrayOutputWithContext

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

type GetSimpleOfficeSitesSiteArrayInput

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

type GetSimpleOfficeSitesSiteArrayOutput struct{ *pulumi.OutputState }

func (GetSimpleOfficeSitesSiteArrayOutput) ElementType

func (GetSimpleOfficeSitesSiteArrayOutput) Index

func (GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutput

func (o GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutput() GetSimpleOfficeSitesSiteArrayOutput

func (GetSimpleOfficeSitesSiteArrayOutput) ToGetSimpleOfficeSitesSiteArrayOutputWithContext

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

type GetSimpleOfficeSitesSiteInput

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

type GetSimpleOfficeSitesSiteOutput struct{ *pulumi.OutputState }

func (GetSimpleOfficeSitesSiteOutput) Bandwidth deprecated

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

Cloud Enterprise Network Instance Id.

func (GetSimpleOfficeSitesSiteOutput) CidrBlock

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (GetSimpleOfficeSitesSiteOutput) CreateTime

Workspace Creation Time.

func (GetSimpleOfficeSitesSiteOutput) CustomSecurityGroupId

func (o GetSimpleOfficeSitesSiteOutput) CustomSecurityGroupId() pulumi.StringOutput

Security Group ID.

func (GetSimpleOfficeSitesSiteOutput) DesktopAccessType

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

func (o GetSimpleOfficeSitesSiteOutput) DesktopVpcEndpoint() pulumi.StringOutput

The Desktop Vpc Endpoint.

func (GetSimpleOfficeSitesSiteOutput) DnsAddresses

Enterprise Ad Corresponding DNS Address.

func (GetSimpleOfficeSitesSiteOutput) DnsUserName

Easy-to-Use DNS Name.

func (GetSimpleOfficeSitesSiteOutput) DomainName

Enterprise of Ad Domain Name.

func (GetSimpleOfficeSitesSiteOutput) DomainPassword

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

func (GetSimpleOfficeSitesSiteOutput) DomainUserName

The Domain Administrator's Username.

func (GetSimpleOfficeSitesSiteOutput) ElementType

func (GetSimpleOfficeSitesSiteOutput) EnableAdminAccess

func (o GetSimpleOfficeSitesSiteOutput) EnableAdminAccess() pulumi.BoolOutput

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

func (GetSimpleOfficeSitesSiteOutput) EnableCrossDesktopAccess

func (o GetSimpleOfficeSitesSiteOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Enable Cross-Desktop Access.

func (GetSimpleOfficeSitesSiteOutput) EnableInternetAccess deprecated

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

NAS File System ID.

func (GetSimpleOfficeSitesSiteOutput) Id

The ID of the Simple Office Site.

func (GetSimpleOfficeSitesSiteOutput) MfaEnabled

Whether to Enable Multi-Factor Authentication MFA.

func (GetSimpleOfficeSitesSiteOutput) NetworkPackageId

func (o GetSimpleOfficeSitesSiteOutput) NetworkPackageId() pulumi.StringOutput

Internet Access ID.

func (GetSimpleOfficeSitesSiteOutput) OfficeSiteId

The Workspace ID.

func (GetSimpleOfficeSitesSiteOutput) OfficeSiteType

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

func (GetSimpleOfficeSitesSiteOutput) SimpleOfficeSiteName

func (o GetSimpleOfficeSitesSiteOutput) SimpleOfficeSiteName() pulumi.StringOutput

The simple office site name.

func (GetSimpleOfficeSitesSiteOutput) SsoEnabled

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

func (GetSimpleOfficeSitesSiteOutput) SsoStatus

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

func (GetSimpleOfficeSitesSiteOutput) Status

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

func (GetSimpleOfficeSitesSiteOutput) SubDnsAddresses

AD Subdomain of the DNS Address.

func (GetSimpleOfficeSitesSiteOutput) SubDomainName

AD Domain DNS Name.

func (GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutput

func (o GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutput() GetSimpleOfficeSitesSiteOutput

func (GetSimpleOfficeSitesSiteOutput) ToGetSimpleOfficeSitesSiteOutputWithContext

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

func (GetSimpleOfficeSitesSiteOutput) TrustPassword

AD Trust Password.

func (GetSimpleOfficeSitesSiteOutput) VpcId

Security Office VPC ID.

func (GetSimpleOfficeSitesSiteOutput) VswitchIds

The vswitch ids.

type GetSnapshotsArgs

type GetSnapshotsArgs struct {
	// The ID of the cloud desktop to which the snapshot belongs.
	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"`
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the snapshot.
	SnapshotId *string `pulumi:"snapshotId"`
}

A collection of arguments for invoking getSnapshots.

type GetSnapshotsOutputArgs

type GetSnapshotsOutputArgs struct {
	// The ID of the cloud desktop to which the snapshot belongs.
	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"`
	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

func (GetSnapshotsOutputArgs) ElementType() reflect.Type

type GetSnapshotsResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetSnapshotsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshots.

func (GetSnapshotsResultOutput) DesktopId

func (GetSnapshotsResultOutput) ElementType

func (GetSnapshotsResultOutput) ElementType() reflect.Type

func (GetSnapshotsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSnapshotsResultOutput) Ids

func (GetSnapshotsResultOutput) NameRegex

func (GetSnapshotsResultOutput) Names

func (GetSnapshotsResultOutput) OutputFile

func (GetSnapshotsResultOutput) SnapshotId

func (GetSnapshotsResultOutput) Snapshots

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput

func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput

func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext

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

type GetSnapshotsSnapshot

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

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

func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type

func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput

func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput

func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext

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

type GetSnapshotsSnapshotArray

type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput

func (GetSnapshotsSnapshotArray) ElementType

func (GetSnapshotsSnapshotArray) ElementType() reflect.Type

func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput

func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput

func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext

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

type GetSnapshotsSnapshotArrayInput

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

type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotArrayOutput) ElementType

func (GetSnapshotsSnapshotArrayOutput) Index

func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput

func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput

func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext

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

type GetSnapshotsSnapshotInput

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

type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState }

func (GetSnapshotsSnapshotOutput) CreateTime

The time when the snapshot was created.

func (GetSnapshotsSnapshotOutput) Description

The description of the snapshot.

func (GetSnapshotsSnapshotOutput) DesktopId

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

func (GetSnapshotsSnapshotOutput) ElementType

func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type

func (GetSnapshotsSnapshotOutput) Id

The ID of the Snapshot.

func (GetSnapshotsSnapshotOutput) Progress

The progress of creating the snapshot.

func (GetSnapshotsSnapshotOutput) RemainTime

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

func (GetSnapshotsSnapshotOutput) SnapshotId

The ID of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotName

-The name of the snapshot.

func (GetSnapshotsSnapshotOutput) SnapshotType

The type of the snapshot.

func (GetSnapshotsSnapshotOutput) SourceDiskSize

func (o GetSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput

The capacity of the source disk. Unit: GiB.

func (GetSnapshotsSnapshotOutput) SourceDiskType

func (o GetSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput

The type of the source disk.

func (GetSnapshotsSnapshotOutput) Status

The status of the snapshot.

func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput

func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput

func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext

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

type GetUsersArgs

type GetUsersArgs struct {
	// A list of User IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs

type GetUsersOutputArgs struct {
	// A list of User IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	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

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func (GetUsersResultOutput) ElementType

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) Ids

func (GetUsersResultOutput) OutputFile

func (GetUsersResultOutput) Status

func (GetUsersResultOutput) ToGetUsersResultOutput

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext

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

func (GetUsersResultOutput) Users

type GetUsersUser

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

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

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext

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

type GetUsersUserArray

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext

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

type GetUsersUserArrayInput

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

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext

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

type GetUsersUserInput

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

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) ElementType

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email

The email of the user email.

func (GetUsersUserOutput) EndUserId

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

The ID of the user id.

func (GetUsersUserOutput) Phone

The phone of the mobile phone number.

func (GetUsersUserOutput) Status

The status of the resource.

func (GetUsersUserOutput) ToGetUsersUserOutput

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext

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

type GetZonesArgs

type GetZonesArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs

type GetZonesOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult

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

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/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eds"

)

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

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func (GetZonesResultOutput) ElementType

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) Ids

func (GetZonesResultOutput) OutputFile

func (GetZonesResultOutput) ToGetZonesResultOutput

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext

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

func (GetZonesResultOutput) Zones

type GetZonesZone

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

type GetZonesZoneArgs

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

func (GetZonesZoneArgs) ElementType

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext

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

type GetZonesZoneArray

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext

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

type GetZonesZoneArrayInput

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

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext

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

type GetZonesZoneInput

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

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) ToGetZonesZoneOutput

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext

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

func (GetZonesZoneOutput) ZoneId

String to filter results by zone id.

type Image

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &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
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[1].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewImage(ctx, "defaultImage", &eds.ImageArgs{
			ImageName:   pulumi.String("your_image_name"),
			DesktopId:   defaultDesktop.ID(),
			Description: pulumi.String("example_value"),
		})
		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

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

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

func (*Image) ElementType() reflect.Type

func (*Image) ToImageOutput

func (i *Image) ToImageOutput() ImageOutput

func (*Image) ToImageOutputWithContext

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

type ImageArgs

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

func (ImageArgs) ElementType() reflect.Type

type ImageArray

type ImageArray []ImageInput

func (ImageArray) ElementType

func (ImageArray) ElementType() reflect.Type

func (ImageArray) ToImageArrayOutput

func (i ImageArray) ToImageArrayOutput() ImageArrayOutput

func (ImageArray) ToImageArrayOutputWithContext

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

type ImageArrayInput

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

type ImageArrayOutput struct{ *pulumi.OutputState }

func (ImageArrayOutput) ElementType

func (ImageArrayOutput) ElementType() reflect.Type

func (ImageArrayOutput) Index

func (ImageArrayOutput) ToImageArrayOutput

func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput

func (ImageArrayOutput) ToImageArrayOutputWithContext

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

type ImageInput

type ImageInput interface {
	pulumi.Input

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

type ImageMap

type ImageMap map[string]ImageInput

func (ImageMap) ElementType

func (ImageMap) ElementType() reflect.Type

func (ImageMap) ToImageMapOutput

func (i ImageMap) ToImageMapOutput() ImageMapOutput

func (ImageMap) ToImageMapOutputWithContext

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

type ImageMapInput

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

type ImageMapOutput struct{ *pulumi.OutputState }

func (ImageMapOutput) ElementType

func (ImageMapOutput) ElementType() reflect.Type

func (ImageMapOutput) MapIndex

func (ImageMapOutput) ToImageMapOutput

func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput

func (ImageMapOutput) ToImageMapOutputWithContext

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

type ImageOutput

type ImageOutput struct{ *pulumi.OutputState }

func (ImageOutput) Description

func (o ImageOutput) Description() pulumi.StringPtrOutput

The description of the image.

func (ImageOutput) DesktopId

func (o ImageOutput) DesktopId() pulumi.StringOutput

The desktop id of the desktop.

func (ImageOutput) ElementType

func (ImageOutput) ElementType() reflect.Type

func (ImageOutput) ImageName

func (o ImageOutput) ImageName() pulumi.StringPtrOutput

The name of the image.

func (ImageOutput) Status

func (o ImageOutput) Status() pulumi.StringOutput

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

func (ImageOutput) ToImageOutput

func (o ImageOutput) ToImageOutput() ImageOutput

func (ImageOutput) ToImageOutputWithContext

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

type ImageState

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

func (ImageState) ElementType() reflect.Type

type NasFileSystem

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

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
		}
		_, err = eds.NewNasFileSystem(ctx, "example", &eds.NasFileSystemArgs{
			NasFileSystemName: pulumi.String("example_value"),
			OfficeSiteId:      _default.ID(),
			Description:       pulumi.String("example_value"),
		})
		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

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

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

func (*NasFileSystem) ElementType() reflect.Type

func (*NasFileSystem) ToNasFileSystemOutput

func (i *NasFileSystem) ToNasFileSystemOutput() NasFileSystemOutput

func (*NasFileSystem) ToNasFileSystemOutputWithContext

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

type NasFileSystemArgs

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

func (NasFileSystemArgs) ElementType() reflect.Type

type NasFileSystemArray

type NasFileSystemArray []NasFileSystemInput

func (NasFileSystemArray) ElementType

func (NasFileSystemArray) ElementType() reflect.Type

func (NasFileSystemArray) ToNasFileSystemArrayOutput

func (i NasFileSystemArray) ToNasFileSystemArrayOutput() NasFileSystemArrayOutput

func (NasFileSystemArray) ToNasFileSystemArrayOutputWithContext

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

type NasFileSystemArrayInput

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

type NasFileSystemArrayOutput struct{ *pulumi.OutputState }

func (NasFileSystemArrayOutput) ElementType

func (NasFileSystemArrayOutput) ElementType() reflect.Type

func (NasFileSystemArrayOutput) Index

func (NasFileSystemArrayOutput) ToNasFileSystemArrayOutput

func (o NasFileSystemArrayOutput) ToNasFileSystemArrayOutput() NasFileSystemArrayOutput

func (NasFileSystemArrayOutput) ToNasFileSystemArrayOutputWithContext

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

type NasFileSystemInput

type NasFileSystemInput interface {
	pulumi.Input

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

type NasFileSystemMap

type NasFileSystemMap map[string]NasFileSystemInput

func (NasFileSystemMap) ElementType

func (NasFileSystemMap) ElementType() reflect.Type

func (NasFileSystemMap) ToNasFileSystemMapOutput

func (i NasFileSystemMap) ToNasFileSystemMapOutput() NasFileSystemMapOutput

func (NasFileSystemMap) ToNasFileSystemMapOutputWithContext

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

type NasFileSystemMapInput

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

type NasFileSystemMapOutput struct{ *pulumi.OutputState }

func (NasFileSystemMapOutput) ElementType

func (NasFileSystemMapOutput) ElementType() reflect.Type

func (NasFileSystemMapOutput) MapIndex

func (NasFileSystemMapOutput) ToNasFileSystemMapOutput

func (o NasFileSystemMapOutput) ToNasFileSystemMapOutput() NasFileSystemMapOutput

func (NasFileSystemMapOutput) ToNasFileSystemMapOutputWithContext

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

type NasFileSystemOutput

type NasFileSystemOutput struct{ *pulumi.OutputState }

func (NasFileSystemOutput) Description

func (o NasFileSystemOutput) Description() pulumi.StringPtrOutput

The description of nas file system.

func (NasFileSystemOutput) ElementType

func (NasFileSystemOutput) ElementType() reflect.Type

func (NasFileSystemOutput) FileSystemId

func (o NasFileSystemOutput) FileSystemId() pulumi.StringOutput

The filesystem id of nas file system.

func (NasFileSystemOutput) MountTargetDomain

func (o NasFileSystemOutput) MountTargetDomain() pulumi.StringOutput

The domain of mount target.

func (NasFileSystemOutput) NasFileSystemName

func (o NasFileSystemOutput) NasFileSystemName() pulumi.StringPtrOutput

The name of nas file system.

func (NasFileSystemOutput) OfficeSiteId

func (o NasFileSystemOutput) OfficeSiteId() pulumi.StringOutput

The ID of office site.

func (NasFileSystemOutput) Reset

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

func (NasFileSystemOutput) Status

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

func (NasFileSystemOutput) ToNasFileSystemOutput

func (o NasFileSystemOutput) ToNasFileSystemOutput() NasFileSystemOutput

func (NasFileSystemOutput) ToNasFileSystemOutputWithContext

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

type NasFileSystemState

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

func (NasFileSystemState) ElementType() reflect.Type

type NetworkPackage

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

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"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewNetworkPackage(ctx, "example", &eds.NetworkPackageArgs{
			Bandwidth:    pulumi.Int(10),
			OfficeSiteId: _default.ID(),
		})
		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

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

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

func (*NetworkPackage) ElementType() reflect.Type

func (*NetworkPackage) ToNetworkPackageOutput

func (i *NetworkPackage) ToNetworkPackageOutput() NetworkPackageOutput

func (*NetworkPackage) ToNetworkPackageOutputWithContext

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

type NetworkPackageArgs

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

func (NetworkPackageArgs) ElementType() reflect.Type

type NetworkPackageArray

type NetworkPackageArray []NetworkPackageInput

func (NetworkPackageArray) ElementType

func (NetworkPackageArray) ElementType() reflect.Type

func (NetworkPackageArray) ToNetworkPackageArrayOutput

func (i NetworkPackageArray) ToNetworkPackageArrayOutput() NetworkPackageArrayOutput

func (NetworkPackageArray) ToNetworkPackageArrayOutputWithContext

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

type NetworkPackageArrayInput

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

type NetworkPackageArrayOutput struct{ *pulumi.OutputState }

func (NetworkPackageArrayOutput) ElementType

func (NetworkPackageArrayOutput) ElementType() reflect.Type

func (NetworkPackageArrayOutput) Index

func (NetworkPackageArrayOutput) ToNetworkPackageArrayOutput

func (o NetworkPackageArrayOutput) ToNetworkPackageArrayOutput() NetworkPackageArrayOutput

func (NetworkPackageArrayOutput) ToNetworkPackageArrayOutputWithContext

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

type NetworkPackageInput

type NetworkPackageInput interface {
	pulumi.Input

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

type NetworkPackageMap

type NetworkPackageMap map[string]NetworkPackageInput

func (NetworkPackageMap) ElementType

func (NetworkPackageMap) ElementType() reflect.Type

func (NetworkPackageMap) ToNetworkPackageMapOutput

func (i NetworkPackageMap) ToNetworkPackageMapOutput() NetworkPackageMapOutput

func (NetworkPackageMap) ToNetworkPackageMapOutputWithContext

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

type NetworkPackageMapInput

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

type NetworkPackageMapOutput struct{ *pulumi.OutputState }

func (NetworkPackageMapOutput) ElementType

func (NetworkPackageMapOutput) ElementType() reflect.Type

func (NetworkPackageMapOutput) MapIndex

func (NetworkPackageMapOutput) ToNetworkPackageMapOutput

func (o NetworkPackageMapOutput) ToNetworkPackageMapOutput() NetworkPackageMapOutput

func (NetworkPackageMapOutput) ToNetworkPackageMapOutputWithContext

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

type NetworkPackageOutput

type NetworkPackageOutput struct{ *pulumi.OutputState }

func (NetworkPackageOutput) Bandwidth

func (o NetworkPackageOutput) Bandwidth() pulumi.IntOutput

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

func (NetworkPackageOutput) ElementType

func (NetworkPackageOutput) ElementType() reflect.Type

func (NetworkPackageOutput) InternetChargeType

func (o NetworkPackageOutput) InternetChargeType() pulumi.StringOutput

The internet charge type of package.

func (NetworkPackageOutput) OfficeSiteId

func (o NetworkPackageOutput) OfficeSiteId() pulumi.StringOutput

The ID of office site.

func (NetworkPackageOutput) Status

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

func (NetworkPackageOutput) ToNetworkPackageOutput

func (o NetworkPackageOutput) ToNetworkPackageOutput() NetworkPackageOutput

func (NetworkPackageOutput) ToNetworkPackageOutputWithContext

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

type NetworkPackageState

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

func (NetworkPackageState) ElementType() reflect.Type

type RamDirectory

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://help.aliyun.com/document_detail/436216.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := eds.GetZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(defaultNetworks.Ids[0]),
			ZoneId: pulumi.StringRef(defaultZones.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		_, err = eds.NewRamDirectory(ctx, "defaultRamDirectory", &eds.RamDirectoryArgs{
			DesktopAccessType:    pulumi.String("INTERNET"),
			EnableAdminAccess:    pulumi.Bool(true),
			EnableInternetAccess: pulumi.Bool(true),
			RamDirectoryName:     pulumi.Any(_var.Name),
			VswitchIds: pulumi.StringArray{
				pulumi.String(defaultSwitches.Ids[0]),
			},
		})
		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

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

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

func (*RamDirectory) ElementType() reflect.Type

func (*RamDirectory) ToRamDirectoryOutput

func (i *RamDirectory) ToRamDirectoryOutput() RamDirectoryOutput

func (*RamDirectory) ToRamDirectoryOutputWithContext

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

type RamDirectoryArgs

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

func (RamDirectoryArgs) ElementType() reflect.Type

type RamDirectoryArray

type RamDirectoryArray []RamDirectoryInput

func (RamDirectoryArray) ElementType

func (RamDirectoryArray) ElementType() reflect.Type

func (RamDirectoryArray) ToRamDirectoryArrayOutput

func (i RamDirectoryArray) ToRamDirectoryArrayOutput() RamDirectoryArrayOutput

func (RamDirectoryArray) ToRamDirectoryArrayOutputWithContext

func (i RamDirectoryArray) ToRamDirectoryArrayOutputWithContext(ctx context.Context) RamDirectoryArrayOutput

type RamDirectoryArrayInput

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

type RamDirectoryArrayOutput struct{ *pulumi.OutputState }

func (RamDirectoryArrayOutput) ElementType

func (RamDirectoryArrayOutput) ElementType() reflect.Type

func (RamDirectoryArrayOutput) Index

func (RamDirectoryArrayOutput) ToRamDirectoryArrayOutput

func (o RamDirectoryArrayOutput) ToRamDirectoryArrayOutput() RamDirectoryArrayOutput

func (RamDirectoryArrayOutput) ToRamDirectoryArrayOutputWithContext

func (o RamDirectoryArrayOutput) ToRamDirectoryArrayOutputWithContext(ctx context.Context) RamDirectoryArrayOutput

type RamDirectoryInput

type RamDirectoryInput interface {
	pulumi.Input

	ToRamDirectoryOutput() RamDirectoryOutput
	ToRamDirectoryOutputWithContext(ctx context.Context) RamDirectoryOutput
}

type RamDirectoryMap

type RamDirectoryMap map[string]RamDirectoryInput

func (RamDirectoryMap) ElementType

func (RamDirectoryMap) ElementType() reflect.Type

func (RamDirectoryMap) ToRamDirectoryMapOutput

func (i RamDirectoryMap) ToRamDirectoryMapOutput() RamDirectoryMapOutput

func (RamDirectoryMap) ToRamDirectoryMapOutputWithContext

func (i RamDirectoryMap) ToRamDirectoryMapOutputWithContext(ctx context.Context) RamDirectoryMapOutput

type RamDirectoryMapInput

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

type RamDirectoryMapOutput struct{ *pulumi.OutputState }

func (RamDirectoryMapOutput) ElementType

func (RamDirectoryMapOutput) ElementType() reflect.Type

func (RamDirectoryMapOutput) MapIndex

func (RamDirectoryMapOutput) ToRamDirectoryMapOutput

func (o RamDirectoryMapOutput) ToRamDirectoryMapOutput() RamDirectoryMapOutput

func (RamDirectoryMapOutput) ToRamDirectoryMapOutputWithContext

func (o RamDirectoryMapOutput) ToRamDirectoryMapOutputWithContext(ctx context.Context) RamDirectoryMapOutput

type RamDirectoryOutput

type RamDirectoryOutput struct{ *pulumi.OutputState }

func (RamDirectoryOutput) DesktopAccessType

func (o RamDirectoryOutput) DesktopAccessType() pulumi.StringOutput

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

func (RamDirectoryOutput) ElementType

func (RamDirectoryOutput) ElementType() reflect.Type

func (RamDirectoryOutput) EnableAdminAccess

func (o RamDirectoryOutput) EnableAdminAccess() pulumi.BoolOutput

Whether to enable public network access.

func (RamDirectoryOutput) EnableInternetAccess

func (o RamDirectoryOutput) EnableInternetAccess() pulumi.BoolOutput

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

func (RamDirectoryOutput) RamDirectoryName

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

The status of directory.

func (RamDirectoryOutput) ToRamDirectoryOutput

func (o RamDirectoryOutput) ToRamDirectoryOutput() RamDirectoryOutput

func (RamDirectoryOutput) ToRamDirectoryOutputWithContext

func (o RamDirectoryOutput) ToRamDirectoryOutputWithContext(ctx context.Context) RamDirectoryOutput

func (RamDirectoryOutput) VswitchIds

List of VSwitch IDs in the directory.

type RamDirectoryState

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

func (RamDirectoryState) ElementType() reflect.Type

type SimpleOfficeSite

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			Bandwidth:         pulumi.Int(5),
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String("site_name"),
		})
		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

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

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

func (*SimpleOfficeSite) ElementType() reflect.Type

func (*SimpleOfficeSite) ToSimpleOfficeSiteOutput

func (i *SimpleOfficeSite) ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput

func (*SimpleOfficeSite) ToSimpleOfficeSiteOutputWithContext

func (i *SimpleOfficeSite) ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput

type SimpleOfficeSiteArgs

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

func (SimpleOfficeSiteArgs) ElementType() reflect.Type

type SimpleOfficeSiteArray

type SimpleOfficeSiteArray []SimpleOfficeSiteInput

func (SimpleOfficeSiteArray) ElementType

func (SimpleOfficeSiteArray) ElementType() reflect.Type

func (SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutput

func (i SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutput() SimpleOfficeSiteArrayOutput

func (SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutputWithContext

func (i SimpleOfficeSiteArray) ToSimpleOfficeSiteArrayOutputWithContext(ctx context.Context) SimpleOfficeSiteArrayOutput

type SimpleOfficeSiteArrayInput

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

type SimpleOfficeSiteArrayOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteArrayOutput) ElementType

func (SimpleOfficeSiteArrayOutput) Index

func (SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutput

func (o SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutput() SimpleOfficeSiteArrayOutput

func (SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutputWithContext

func (o SimpleOfficeSiteArrayOutput) ToSimpleOfficeSiteArrayOutputWithContext(ctx context.Context) SimpleOfficeSiteArrayOutput

type SimpleOfficeSiteInput

type SimpleOfficeSiteInput interface {
	pulumi.Input

	ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput
	ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput
}

type SimpleOfficeSiteMap

type SimpleOfficeSiteMap map[string]SimpleOfficeSiteInput

func (SimpleOfficeSiteMap) ElementType

func (SimpleOfficeSiteMap) ElementType() reflect.Type

func (SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutput

func (i SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutput() SimpleOfficeSiteMapOutput

func (SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutputWithContext

func (i SimpleOfficeSiteMap) ToSimpleOfficeSiteMapOutputWithContext(ctx context.Context) SimpleOfficeSiteMapOutput

type SimpleOfficeSiteMapInput

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

type SimpleOfficeSiteMapOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteMapOutput) ElementType

func (SimpleOfficeSiteMapOutput) ElementType() reflect.Type

func (SimpleOfficeSiteMapOutput) MapIndex

func (SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutput

func (o SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutput() SimpleOfficeSiteMapOutput

func (SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutputWithContext

func (o SimpleOfficeSiteMapOutput) ToSimpleOfficeSiteMapOutputWithContext(ctx context.Context) SimpleOfficeSiteMapOutput

type SimpleOfficeSiteOutput

type SimpleOfficeSiteOutput struct{ *pulumi.OutputState }

func (SimpleOfficeSiteOutput) Bandwidth deprecated

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

Cloud Enterprise Network Instance ID.

func (SimpleOfficeSiteOutput) CenOwnerId

The cen owner id.

func (SimpleOfficeSiteOutput) CidrBlock

Workspace Corresponds to the Security Office Network of IPv4 Segment.

func (SimpleOfficeSiteOutput) DesktopAccessType

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

func (SimpleOfficeSiteOutput) ElementType() reflect.Type

func (SimpleOfficeSiteOutput) EnableAdminAccess

func (o SimpleOfficeSiteOutput) EnableAdminAccess() pulumi.BoolOutput

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

func (SimpleOfficeSiteOutput) EnableCrossDesktopAccess

func (o SimpleOfficeSiteOutput) EnableCrossDesktopAccess() pulumi.BoolOutput

Enable Cross-Desktop Access.

func (SimpleOfficeSiteOutput) EnableInternetAccess deprecated

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

func (o SimpleOfficeSiteOutput) MfaEnabled() pulumi.BoolOutput

Whether to Enable Multi-Factor Authentication MFA.

func (SimpleOfficeSiteOutput) OfficeSiteName

func (o SimpleOfficeSiteOutput) OfficeSiteName() pulumi.StringPtrOutput

The office site name.

func (SimpleOfficeSiteOutput) SsoEnabled

func (o SimpleOfficeSiteOutput) SsoEnabled() pulumi.BoolOutput

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

func (SimpleOfficeSiteOutput) Status

Workspace State. Valid Values: `REGISTERED`,`REGISTERING`.

func (SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutput

func (o SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutput() SimpleOfficeSiteOutput

func (SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutputWithContext

func (o SimpleOfficeSiteOutput) ToSimpleOfficeSiteOutputWithContext(ctx context.Context) SimpleOfficeSiteOutput

type SimpleOfficeSiteState

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

func (SimpleOfficeSiteState) ElementType() reflect.Type

type Snapshot

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/elastic-desktop-service/latest/createsnapshot).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "example_value"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &eds.SimpleOfficeSiteArgs{
			CidrBlock:            pulumi.String("172.16.0.0/12"),
			DesktopAccessType:    pulumi.String("Internet"),
			OfficeSiteName:       pulumi.String(name),
			EnableInternetAccess: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String(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, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[0].Id),
			DesktopName:   pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewSnapshot(ctx, "defaultSnapshot", &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

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

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

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs

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

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput

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

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index

func (SnapshotArrayOutput) ToSnapshotArrayOutput

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput

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

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex

func (SnapshotMapOutput) ToSnapshotMapOutput

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) Description

func (o SnapshotOutput) Description() pulumi.StringPtrOutput

The description of the Snapshot.

func (SnapshotOutput) DesktopId

func (o SnapshotOutput) DesktopId() pulumi.StringOutput

The ID of the Desktop.

func (SnapshotOutput) ElementType

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) SnapshotName

func (o SnapshotOutput) SnapshotName() pulumi.StringOutput

The name of the Snapshot.

func (SnapshotOutput) SourceDiskType

func (o SnapshotOutput) SourceDiskType() pulumi.StringOutput

The type of the disk for which to create a snapshot. Valid values: `SYSTEM`, `DATA`.

func (SnapshotOutput) Status

func (o SnapshotOutput) Status() pulumi.StringOutput

The status of the snapshot.

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotState

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

func (SnapshotState) ElementType() reflect.Type

type User

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://help.aliyun.com/document_detail/188382.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eds.NewUser(ctx, "example", &eds.UserArgs{
			Email:     pulumi.String("your_email"),
			EndUserId: pulumi.String("example_value"),
		})
		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

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

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

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

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

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

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

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

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

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email

func (o UserOutput) Email() pulumi.StringOutput

The email of the user email.

func (UserOutput) EndUserId

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

func (o UserOutput) Password() pulumi.StringPtrOutput

The password of the user password.

func (UserOutput) Phone

func (o UserOutput) Phone() pulumi.StringPtrOutput

The phone of the mobile phone number.

func (UserOutput) Status

func (o UserOutput) Status() pulumi.StringOutput

The status of the resource. Valid values: `Unlocked`, `Locked`.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserState

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

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL