1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. eds
  5. getCommands
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.eds.getCommands

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

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

    NOTE: Available in v1.146.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const defaultSimpleOfficeSite = new alicloud.eds.SimpleOfficeSite("defaultSimpleOfficeSite", {
        cidrBlock: "172.16.0.0/12",
        desktopAccessType: "Internet",
        officeSiteName: "your_office_site_name",
    });
    const defaultBundles = alicloud.eds.getBundles({
        bundleType: "SYSTEM",
        nameRegex: "windows",
    });
    const defaultEcdPolicyGroup = new alicloud.eds.EcdPolicyGroup("defaultEcdPolicyGroup", {
        policyGroupName: "your_policy_group_name",
        clipboard: "readwrite",
        localDrive: "read",
        authorizeAccessPolicyRules: [{
            description: "example_value",
            cidrIp: "1.2.3.4/24",
        }],
        authorizeSecurityPolicyRules: [{
            type: "inflow",
            policy: "accept",
            description: "example_value",
            portRange: "80/80",
            ipProtocol: "TCP",
            priority: "1",
            cidrIp: "0.0.0.0/0",
        }],
    });
    const defaultDesktop = new alicloud.eds.Desktop("defaultDesktop", {
        officeSiteId: defaultSimpleOfficeSite.id,
        policyGroupId: defaultEcdPolicyGroup.id,
        bundleId: defaultBundles.then(defaultBundles => defaultBundles.bundles?.[0]?.id),
        desktopName: _var.name,
    });
    const defaultCommand = new alicloud.eds.Command("defaultCommand", {
        commandContent: "ipconfig",
        commandType: "RunPowerShellScript",
        desktopId: defaultDesktop.id,
    });
    const ids = alicloud.eds.getCommands({});
    export const ecdCommandId1 = ids.then(ids => ids.commands?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default_simple_office_site = alicloud.eds.SimpleOfficeSite("defaultSimpleOfficeSite",
        cidr_block="172.16.0.0/12",
        desktop_access_type="Internet",
        office_site_name="your_office_site_name")
    default_bundles = alicloud.eds.get_bundles(bundle_type="SYSTEM",
        name_regex="windows")
    default_ecd_policy_group = alicloud.eds.EcdPolicyGroup("defaultEcdPolicyGroup",
        policy_group_name="your_policy_group_name",
        clipboard="readwrite",
        local_drive="read",
        authorize_access_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs(
            description="example_value",
            cidr_ip="1.2.3.4/24",
        )],
        authorize_security_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs(
            type="inflow",
            policy="accept",
            description="example_value",
            port_range="80/80",
            ip_protocol="TCP",
            priority="1",
            cidr_ip="0.0.0.0/0",
        )])
    default_desktop = alicloud.eds.Desktop("defaultDesktop",
        office_site_id=default_simple_office_site.id,
        policy_group_id=default_ecd_policy_group.id,
        bundle_id=default_bundles.bundles[0].id,
        desktop_name=var["name"])
    default_command = alicloud.eds.Command("defaultCommand",
        command_content="ipconfig",
        command_type="RunPowerShellScript",
        desktop_id=default_desktop.id)
    ids = alicloud.eds.get_commands()
    pulumi.export("ecdCommandId1", ids.commands[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var defaultSimpleOfficeSite = new AliCloud.Eds.SimpleOfficeSite("defaultSimpleOfficeSite", new()
        {
            CidrBlock = "172.16.0.0/12",
            DesktopAccessType = "Internet",
            OfficeSiteName = "your_office_site_name",
        });
    
        var defaultBundles = AliCloud.Eds.GetBundles.Invoke(new()
        {
            BundleType = "SYSTEM",
            NameRegex = "windows",
        });
    
        var defaultEcdPolicyGroup = new AliCloud.Eds.EcdPolicyGroup("defaultEcdPolicyGroup", new()
        {
            PolicyGroupName = "your_policy_group_name",
            Clipboard = "readwrite",
            LocalDrive = "read",
            AuthorizeAccessPolicyRules = new[]
            {
                new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
                {
                    Description = "example_value",
                    CidrIp = "1.2.3.4/24",
                },
            },
            AuthorizeSecurityPolicyRules = new[]
            {
                new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
                {
                    Type = "inflow",
                    Policy = "accept",
                    Description = "example_value",
                    PortRange = "80/80",
                    IpProtocol = "TCP",
                    Priority = "1",
                    CidrIp = "0.0.0.0/0",
                },
            },
        });
    
        var defaultDesktop = new AliCloud.Eds.Desktop("defaultDesktop", new()
        {
            OfficeSiteId = defaultSimpleOfficeSite.Id,
            PolicyGroupId = defaultEcdPolicyGroup.Id,
            BundleId = defaultBundles.Apply(getBundlesResult => getBundlesResult.Bundles[0]?.Id),
            DesktopName = @var.Name,
        });
    
        var defaultCommand = new AliCloud.Eds.Command("defaultCommand", new()
        {
            CommandContent = "ipconfig",
            CommandType = "RunPowerShellScript",
            DesktopId = defaultDesktop.Id,
        });
    
        var ids = AliCloud.Eds.GetCommands.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["ecdCommandId1"] = ids.Apply(getCommandsResult => getCommandsResult.Commands[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.eds.SimpleOfficeSite;
    import com.pulumi.alicloud.eds.SimpleOfficeSiteArgs;
    import com.pulumi.alicloud.eds.EdsFunctions;
    import com.pulumi.alicloud.eds.inputs.GetBundlesArgs;
    import com.pulumi.alicloud.eds.EcdPolicyGroup;
    import com.pulumi.alicloud.eds.EcdPolicyGroupArgs;
    import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs;
    import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs;
    import com.pulumi.alicloud.eds.Desktop;
    import com.pulumi.alicloud.eds.DesktopArgs;
    import com.pulumi.alicloud.eds.Command;
    import com.pulumi.alicloud.eds.CommandArgs;
    import com.pulumi.alicloud.eds.inputs.GetCommandsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var defaultSimpleOfficeSite = new SimpleOfficeSite("defaultSimpleOfficeSite", SimpleOfficeSiteArgs.builder()        
                .cidrBlock("172.16.0.0/12")
                .desktopAccessType("Internet")
                .officeSiteName("your_office_site_name")
                .build());
    
            final var defaultBundles = EdsFunctions.getBundles(GetBundlesArgs.builder()
                .bundleType("SYSTEM")
                .nameRegex("windows")
                .build());
    
            var defaultEcdPolicyGroup = new EcdPolicyGroup("defaultEcdPolicyGroup", EcdPolicyGroupArgs.builder()        
                .policyGroupName("your_policy_group_name")
                .clipboard("readwrite")
                .localDrive("read")
                .authorizeAccessPolicyRules(EcdPolicyGroupAuthorizeAccessPolicyRuleArgs.builder()
                    .description("example_value")
                    .cidrIp("1.2.3.4/24")
                    .build())
                .authorizeSecurityPolicyRules(EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs.builder()
                    .type("inflow")
                    .policy("accept")
                    .description("example_value")
                    .portRange("80/80")
                    .ipProtocol("TCP")
                    .priority("1")
                    .cidrIp("0.0.0.0/0")
                    .build())
                .build());
    
            var defaultDesktop = new Desktop("defaultDesktop", DesktopArgs.builder()        
                .officeSiteId(defaultSimpleOfficeSite.id())
                .policyGroupId(defaultEcdPolicyGroup.id())
                .bundleId(defaultBundles.applyValue(getBundlesResult -> getBundlesResult.bundles()[0].id()))
                .desktopName(var_.name())
                .build());
    
            var defaultCommand = new Command("defaultCommand", CommandArgs.builder()        
                .commandContent("ipconfig")
                .commandType("RunPowerShellScript")
                .desktopId(defaultDesktop.id())
                .build());
    
            final var ids = EdsFunctions.getCommands();
    
            ctx.export("ecdCommandId1", ids.applyValue(getCommandsResult -> getCommandsResult.commands()[0].id()));
        }
    }
    
    resources:
      defaultSimpleOfficeSite:
        type: alicloud:eds:SimpleOfficeSite
        properties:
          cidrBlock: 172.16.0.0/12
          desktopAccessType: Internet
          officeSiteName: your_office_site_name
      defaultEcdPolicyGroup:
        type: alicloud:eds:EcdPolicyGroup
        properties:
          policyGroupName: your_policy_group_name
          clipboard: readwrite
          localDrive: read
          authorizeAccessPolicyRules:
            - description: example_value
              cidrIp: 1.2.3.4/24
          authorizeSecurityPolicyRules:
            - type: inflow
              policy: accept
              description: example_value
              portRange: 80/80
              ipProtocol: TCP
              priority: '1'
              cidrIp: 0.0.0.0/0
      defaultDesktop:
        type: alicloud:eds:Desktop
        properties:
          officeSiteId: ${defaultSimpleOfficeSite.id}
          policyGroupId: ${defaultEcdPolicyGroup.id}
          bundleId: ${defaultBundles.bundles[0].id}
          desktopName: ${var.name}
      defaultCommand:
        type: alicloud:eds:Command
        properties:
          commandContent: ipconfig
          commandType: RunPowerShellScript
          desktopId: ${defaultDesktop.id}
    variables:
      defaultBundles:
        fn::invoke:
          Function: alicloud:eds:getBundles
          Arguments:
            bundleType: SYSTEM
            nameRegex: windows
      ids:
        fn::invoke:
          Function: alicloud:eds:getCommands
          Arguments: {}
    outputs:
      ecdCommandId1: ${ids.commands[0].id}
    

    Using getCommands

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCommands(args: GetCommandsArgs, opts?: InvokeOptions): Promise<GetCommandsResult>
    function getCommandsOutput(args: GetCommandsOutputArgs, opts?: InvokeOptions): Output<GetCommandsResult>
    def get_commands(command_type: Optional[str] = None,
                     content_encoding: Optional[str] = None,
                     desktop_id: Optional[str] = None,
                     ids: Optional[Sequence[str]] = None,
                     output_file: Optional[str] = None,
                     status: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCommandsResult
    def get_commands_output(command_type: Optional[pulumi.Input[str]] = None,
                     content_encoding: Optional[pulumi.Input[str]] = None,
                     desktop_id: Optional[pulumi.Input[str]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     status: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCommandsResult]
    func GetCommands(ctx *Context, args *GetCommandsArgs, opts ...InvokeOption) (*GetCommandsResult, error)
    func GetCommandsOutput(ctx *Context, args *GetCommandsOutputArgs, opts ...InvokeOption) GetCommandsResultOutput

    > Note: This function is named GetCommands in the Go SDK.

    public static class GetCommands 
    {
        public static Task<GetCommandsResult> InvokeAsync(GetCommandsArgs args, InvokeOptions? opts = null)
        public static Output<GetCommandsResult> Invoke(GetCommandsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCommandsResult> getCommands(GetCommandsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:eds/getCommands:getCommands
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CommandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    ContentEncoding string
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    DesktopId string
    The desktop id of the Desktop.
    Ids List<string>
    A list of Command IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    CommandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    ContentEncoding string
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    DesktopId string
    The desktop id of the Desktop.
    Ids []string
    A list of Command IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandType String
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    contentEncoding String
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    desktopId String
    The desktop id of the Desktop.
    ids List<String>
    A list of Command IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    contentEncoding string
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    desktopId string
    The desktop id of the Desktop.
    ids string[]
    A list of Command IDs.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    command_type str
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    content_encoding str
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    desktop_id str
    The desktop id of the Desktop.
    ids Sequence[str]
    A list of Command IDs.
    output_file str
    File name where to save data source results (after running pulumi preview).
    status str
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandType String
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    contentEncoding String
    That Returns the Data Encoding Method. Valid values: Base64, PlainText.
    desktopId String
    The desktop id of the Desktop.
    ids List<String>
    A list of Command IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.

    getCommands Result

    The following output properties are available:

    Commands List<Pulumi.AliCloud.Eds.Outputs.GetCommandsCommand>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    CommandType string
    ContentEncoding string
    DesktopId string
    OutputFile string
    Status string
    Commands []GetCommandsCommand
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    CommandType string
    ContentEncoding string
    DesktopId string
    OutputFile string
    Status string
    commands List<GetCommandsCommand>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    commandType String
    contentEncoding String
    desktopId String
    outputFile String
    status String
    commands GetCommandsCommand[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    commandType string
    contentEncoding string
    desktopId string
    outputFile string
    status string
    commands Sequence[GetCommandsCommand]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    command_type str
    content_encoding str
    desktop_id str
    output_file str
    status str
    commands List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    commandType String
    contentEncoding String
    desktopId String
    outputFile String
    status String

    Supporting Types

    GetCommandsCommand

    CommandContent string
    The Contents of the Script to Base64 Encoded Transmission.
    CommandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    CreateTime string
    The Task of Creation Time.
    Id string
    The ID of the Command.
    InvokeDesktops List<Pulumi.AliCloud.Eds.Inputs.GetCommandsCommandInvokeDesktop>
    The Implementation of the Target Cloud Desktop Collection.
    InvokeId string
    The invoke id of the Command.
    Status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    CommandContent string
    The Contents of the Script to Base64 Encoded Transmission.
    CommandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    CreateTime string
    The Task of Creation Time.
    Id string
    The ID of the Command.
    InvokeDesktops []GetCommandsCommandInvokeDesktop
    The Implementation of the Target Cloud Desktop Collection.
    InvokeId string
    The invoke id of the Command.
    Status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandContent String
    The Contents of the Script to Base64 Encoded Transmission.
    commandType String
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    createTime String
    The Task of Creation Time.
    id String
    The ID of the Command.
    invokeDesktops List<GetCommandsCommandInvokeDesktop>
    The Implementation of the Target Cloud Desktop Collection.
    invokeId String
    The invoke id of the Command.
    status String
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandContent string
    The Contents of the Script to Base64 Encoded Transmission.
    commandType string
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    createTime string
    The Task of Creation Time.
    id string
    The ID of the Command.
    invokeDesktops GetCommandsCommandInvokeDesktop[]
    The Implementation of the Target Cloud Desktop Collection.
    invokeId string
    The invoke id of the Command.
    status string
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    command_content str
    The Contents of the Script to Base64 Encoded Transmission.
    command_type str
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    create_time str
    The Task of Creation Time.
    id str
    The ID of the Command.
    invoke_desktops Sequence[GetCommandsCommandInvokeDesktop]
    The Implementation of the Target Cloud Desktop Collection.
    invoke_id str
    The invoke id of the Command.
    status str
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.
    commandContent String
    The Contents of the Script to Base64 Encoded Transmission.
    commandType String
    The Script Type. Valid values: RunBatScript, RunPowerShellScript.
    createTime String
    The Task of Creation Time.
    id String
    The ID of the Command.
    invokeDesktops List<Property Map>
    The Implementation of the Target Cloud Desktop Collection.
    invokeId String
    The invoke id of the Command.
    status String
    Script Is Executed in the Overall Implementation of the State. Valid values: Pending, Failed, PartialFailed, Running, Stopped, Stopping, Finished, Success.

    GetCommandsCommandInvokeDesktop

    DesktopId string
    The desktop id of the Desktop.
    Dropped int
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    ErrorCode string
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    ErrorInfo string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    ExitCode string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    FinishTime string
    The Script Process until the End of Time.
    InvocationStatus string
    A Single Cloud Desktop Script Progress Status.
    Output string
    Script the Output of the Process.
    Repeats int
    Command in the Desktop Implementation.
    StartTime string
    The Script Process on the Desktop, in the Start Timing of the Execution.
    StopTime string
    If You Use the invocation Indicates That the Call of the Time.
    DesktopId string
    The desktop id of the Desktop.
    Dropped int
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    ErrorCode string
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    ErrorInfo string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    ExitCode string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    FinishTime string
    The Script Process until the End of Time.
    InvocationStatus string
    A Single Cloud Desktop Script Progress Status.
    Output string
    Script the Output of the Process.
    Repeats int
    Command in the Desktop Implementation.
    StartTime string
    The Script Process on the Desktop, in the Start Timing of the Execution.
    StopTime string
    If You Use the invocation Indicates That the Call of the Time.
    desktopId String
    The desktop id of the Desktop.
    dropped Integer
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    errorCode String
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    errorInfo String
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    exitCode String
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    finishTime String
    The Script Process until the End of Time.
    invocationStatus String
    A Single Cloud Desktop Script Progress Status.
    output String
    Script the Output of the Process.
    repeats Integer
    Command in the Desktop Implementation.
    startTime String
    The Script Process on the Desktop, in the Start Timing of the Execution.
    stopTime String
    If You Use the invocation Indicates That the Call of the Time.
    desktopId string
    The desktop id of the Desktop.
    dropped number
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    errorCode string
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    errorInfo string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    exitCode string
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    finishTime string
    The Script Process until the End of Time.
    invocationStatus string
    A Single Cloud Desktop Script Progress Status.
    output string
    Script the Output of the Process.
    repeats number
    Command in the Desktop Implementation.
    startTime string
    The Script Process on the Desktop, in the Start Timing of the Execution.
    stopTime string
    If You Use the invocation Indicates That the Call of the Time.
    desktop_id str
    The desktop id of the Desktop.
    dropped int
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    error_code str
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    error_info str
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    exit_code str
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    finish_time str
    The Script Process until the End of Time.
    invocation_status str
    A Single Cloud Desktop Script Progress Status.
    output str
    Script the Output of the Process.
    repeats int
    Command in the Desktop Implementation.
    start_time str
    The Script Process on the Desktop, in the Start Timing of the Execution.
    stop_time str
    If You Use the invocation Indicates That the Call of the Time.
    desktopId String
    The desktop id of the Desktop.
    dropped Number
    Output Field Text Length Exceeds 24 KB of Truncated Discarded Text Length.
    errorCode String
    Command of the Failure Or Perform the Reason for the Failure of the Code.
    errorInfo String
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    exitCode String
    Command of the Failure Or Perform the Reason for the Failure of the Details.
    finishTime String
    The Script Process until the End of Time.
    invocationStatus String
    A Single Cloud Desktop Script Progress Status.
    output String
    Script the Output of the Process.
    repeats Number
    Command in the Desktop Implementation.
    startTime String
    The Script Process on the Desktop, in the Start Timing of the Execution.
    stopTime String
    If You Use the invocation Indicates That the Call of the Time.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi