1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCwpMachinesSimple
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCwpMachinesSimple

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of cwp machines_simple

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCwpMachinesSimple({
        machineRegion: "ap-guangzhou",
        machineType: "CVM",
        projectIds: [
            1210293,
            1157652,
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cwp_machines_simple(machine_region="ap-guangzhou",
        machine_type="CVM",
        project_ids=[
            1210293,
            1157652,
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCwpMachinesSimple(ctx, &tencentcloud.GetCwpMachinesSimpleArgs{
    			MachineRegion: "ap-guangzhou",
    			MachineType:   "CVM",
    			ProjectIds: []float64{
    				1210293,
    				1157652,
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCwpMachinesSimple.Invoke(new()
        {
            MachineRegion = "ap-guangzhou",
            MachineType = "CVM",
            ProjectIds = new[]
            {
                1210293,
                1157652,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCwpMachinesSimpleArgs;
    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) {
            final var example = TencentcloudFunctions.getCwpMachinesSimple(GetCwpMachinesSimpleArgs.builder()
                .machineRegion("ap-guangzhou")
                .machineType("CVM")
                .projectIds(            
                    1210293,
                    1157652)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCwpMachinesSimple
          arguments:
            machineRegion: ap-guangzhou
            machineType: CVM
            projectIds:
              - 1.210293e+06
              - 1.157652e+06
    

    Query by Keyword filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCwpMachinesSimple({
        filters: [{
            exactMatch: true,
            name: "Keywords",
            values: ["tf_example"],
        }],
        machineRegion: "ap-guangzhou",
        machineType: "CVM",
        projectIds: [0],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cwp_machines_simple(filters=[{
            "exact_match": True,
            "name": "Keywords",
            "values": ["tf_example"],
        }],
        machine_region="ap-guangzhou",
        machine_type="CVM",
        project_ids=[0])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCwpMachinesSimple(ctx, &tencentcloud.GetCwpMachinesSimpleArgs{
    			Filters: []tencentcloud.GetCwpMachinesSimpleFilter{
    				{
    					ExactMatch: pulumi.BoolRef(true),
    					Name:       "Keywords",
    					Values: []string{
    						"tf_example",
    					},
    				},
    			},
    			MachineRegion: "ap-guangzhou",
    			MachineType:   "CVM",
    			ProjectIds: []float64{
    				0,
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCwpMachinesSimple.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetCwpMachinesSimpleFilterInputArgs
                {
                    ExactMatch = true,
                    Name = "Keywords",
                    Values = new[]
                    {
                        "tf_example",
                    },
                },
            },
            MachineRegion = "ap-guangzhou",
            MachineType = "CVM",
            ProjectIds = new[]
            {
                0,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCwpMachinesSimpleArgs;
    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) {
            final var example = TencentcloudFunctions.getCwpMachinesSimple(GetCwpMachinesSimpleArgs.builder()
                .filters(GetCwpMachinesSimpleFilterArgs.builder()
                    .exactMatch(true)
                    .name("Keywords")
                    .values("tf_example")
                    .build())
                .machineRegion("ap-guangzhou")
                .machineType("CVM")
                .projectIds(0)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCwpMachinesSimple
          arguments:
            filters:
              - exactMatch: true
                name: Keywords
                values:
                  - tf_example
            machineRegion: ap-guangzhou
            machineType: CVM
            projectIds:
              - 0
    

    Query by Version filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCwpMachinesSimple({
        filters: [{
            exactMatch: true,
            name: "Version",
            values: ["BASIC_VERSION"],
        }],
        machineRegion: "ap-guangzhou",
        machineType: "CVM",
        projectIds: [0],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cwp_machines_simple(filters=[{
            "exact_match": True,
            "name": "Version",
            "values": ["BASIC_VERSION"],
        }],
        machine_region="ap-guangzhou",
        machine_type="CVM",
        project_ids=[0])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCwpMachinesSimple(ctx, &tencentcloud.GetCwpMachinesSimpleArgs{
    			Filters: []tencentcloud.GetCwpMachinesSimpleFilter{
    				{
    					ExactMatch: pulumi.BoolRef(true),
    					Name:       "Version",
    					Values: []string{
    						"BASIC_VERSION",
    					},
    				},
    			},
    			MachineRegion: "ap-guangzhou",
    			MachineType:   "CVM",
    			ProjectIds: []float64{
    				0,
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCwpMachinesSimple.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetCwpMachinesSimpleFilterInputArgs
                {
                    ExactMatch = true,
                    Name = "Version",
                    Values = new[]
                    {
                        "BASIC_VERSION",
                    },
                },
            },
            MachineRegion = "ap-guangzhou",
            MachineType = "CVM",
            ProjectIds = new[]
            {
                0,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCwpMachinesSimpleArgs;
    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) {
            final var example = TencentcloudFunctions.getCwpMachinesSimple(GetCwpMachinesSimpleArgs.builder()
                .filters(GetCwpMachinesSimpleFilterArgs.builder()
                    .exactMatch(true)
                    .name("Version")
                    .values("BASIC_VERSION")
                    .build())
                .machineRegion("ap-guangzhou")
                .machineType("CVM")
                .projectIds(0)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCwpMachinesSimple
          arguments:
            filters:
              - exactMatch: true
                name: Version
                values:
                  - BASIC_VERSION
            machineRegion: ap-guangzhou
            machineType: CVM
            projectIds:
              - 0
    

    Query by TagId filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCwpMachinesSimple({
        filters: [{
            exactMatch: true,
            name: "TagId",
            values: ["13771"],
        }],
        machineRegion: "all-regions",
        machineType: "ALL",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cwp_machines_simple(filters=[{
            "exact_match": True,
            "name": "TagId",
            "values": ["13771"],
        }],
        machine_region="all-regions",
        machine_type="ALL")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCwpMachinesSimple(ctx, &tencentcloud.GetCwpMachinesSimpleArgs{
    			Filters: []tencentcloud.GetCwpMachinesSimpleFilter{
    				{
    					ExactMatch: pulumi.BoolRef(true),
    					Name:       "TagId",
    					Values: []string{
    						"13771",
    					},
    				},
    			},
    			MachineRegion: "all-regions",
    			MachineType:   "ALL",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCwpMachinesSimple.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetCwpMachinesSimpleFilterInputArgs
                {
                    ExactMatch = true,
                    Name = "TagId",
                    Values = new[]
                    {
                        "13771",
                    },
                },
            },
            MachineRegion = "all-regions",
            MachineType = "ALL",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCwpMachinesSimpleArgs;
    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) {
            final var example = TencentcloudFunctions.getCwpMachinesSimple(GetCwpMachinesSimpleArgs.builder()
                .filters(GetCwpMachinesSimpleFilterArgs.builder()
                    .exactMatch(true)
                    .name("TagId")
                    .values("13771")
                    .build())
                .machineRegion("all-regions")
                .machineType("ALL")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCwpMachinesSimple
          arguments:
            filters:
              - exactMatch: true
                name: TagId
                values:
                  - '13771'
            machineRegion: all-regions
            machineType: ALL
    

    Using getCwpMachinesSimple

    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 getCwpMachinesSimple(args: GetCwpMachinesSimpleArgs, opts?: InvokeOptions): Promise<GetCwpMachinesSimpleResult>
    function getCwpMachinesSimpleOutput(args: GetCwpMachinesSimpleOutputArgs, opts?: InvokeOptions): Output<GetCwpMachinesSimpleResult>
    def get_cwp_machines_simple(filters: Optional[Sequence[GetCwpMachinesSimpleFilter]] = None,
                                id: Optional[str] = None,
                                machine_region: Optional[str] = None,
                                machine_type: Optional[str] = None,
                                project_ids: Optional[Sequence[float]] = None,
                                result_output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCwpMachinesSimpleResult
    def get_cwp_machines_simple_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCwpMachinesSimpleFilterArgs]]]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                machine_region: Optional[pulumi.Input[str]] = None,
                                machine_type: Optional[pulumi.Input[str]] = None,
                                project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCwpMachinesSimpleResult]
    func GetCwpMachinesSimple(ctx *Context, args *GetCwpMachinesSimpleArgs, opts ...InvokeOption) (*GetCwpMachinesSimpleResult, error)
    func GetCwpMachinesSimpleOutput(ctx *Context, args *GetCwpMachinesSimpleOutputArgs, opts ...InvokeOption) GetCwpMachinesSimpleResultOutput

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

    public static class GetCwpMachinesSimple 
    {
        public static Task<GetCwpMachinesSimpleResult> InvokeAsync(GetCwpMachinesSimpleArgs args, InvokeOptions? opts = null)
        public static Output<GetCwpMachinesSimpleResult> Invoke(GetCwpMachinesSimpleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCwpMachinesSimpleResult> getCwpMachinesSimple(GetCwpMachinesSimpleArgs args, InvokeOptions options)
    public static Output<GetCwpMachinesSimpleResult> getCwpMachinesSimple(GetCwpMachinesSimpleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCwpMachinesSimple:getCwpMachinesSimple
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MachineRegion string
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    Filters List<GetCwpMachinesSimpleFilter>
    filter list.
    Id string
    ProjectIds List<double>
    Project id list.
    ResultOutputFile string
    Used to save results.
    MachineRegion string
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    Filters []GetCwpMachinesSimpleFilter
    filter list.
    Id string
    ProjectIds []float64
    Project id list.
    ResultOutputFile string
    Used to save results.
    machineRegion String
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    filters List<GetCwpMachinesSimpleFilter>
    filter list.
    id String
    projectIds List<Double>
    Project id list.
    resultOutputFile String
    Used to save results.
    machineRegion string
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    machineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    filters GetCwpMachinesSimpleFilter[]
    filter list.
    id string
    projectIds number[]
    Project id list.
    resultOutputFile string
    Used to save results.
    machine_region str
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    machine_type str
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    filters Sequence[GetCwpMachinesSimpleFilter]
    filter list.
    id str
    project_ids Sequence[float]
    Project id list.
    result_output_file str
    Used to save results.
    machineRegion String
    The area where the machine belongs,Such as: ap-guangzhou, ap-shanghai, all-regions: All server region types.
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    filters List<Property Map>
    filter list.
    id String
    projectIds List<Number>
    Project id list.
    resultOutputFile String
    Used to save results.

    getCwpMachinesSimple Result

    The following output properties are available:

    Id string
    MachineRegion string
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    Machines List<GetCwpMachinesSimpleMachine>
    Machine list.
    Filters List<GetCwpMachinesSimpleFilter>
    ProjectIds List<double>
    ResultOutputFile string
    Id string
    MachineRegion string
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    Machines []GetCwpMachinesSimpleMachine
    Machine list.
    Filters []GetCwpMachinesSimpleFilter
    ProjectIds []float64
    ResultOutputFile string
    id String
    machineRegion String
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machines List<GetCwpMachinesSimpleMachine>
    Machine list.
    filters List<GetCwpMachinesSimpleFilter>
    projectIds List<Double>
    resultOutputFile String
    id string
    machineRegion string
    machineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machines GetCwpMachinesSimpleMachine[]
    Machine list.
    filters GetCwpMachinesSimpleFilter[]
    projectIds number[]
    resultOutputFile string
    id str
    machine_region str
    machine_type str
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machines Sequence[GetCwpMachinesSimpleMachine]
    Machine list.
    filters Sequence[GetCwpMachinesSimpleFilter]
    project_ids Sequence[float]
    result_output_file str
    id String
    machineRegion String
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machines List<Property Map>
    Machine list.
    filters List<Property Map>
    projectIds List<Number>
    resultOutputFile String

    Supporting Types

    GetCwpMachinesSimpleFilter

    Name string
    Only supported Keywords, Version and TagId.
    Values List<string>
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    ExactMatch bool
    exact match. true or false.
    Name string
    Only supported Keywords, Version and TagId.
    Values []string
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    ExactMatch bool
    exact match. true or false.
    name String
    Only supported Keywords, Version and TagId.
    values List<String>
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    exactMatch Boolean
    exact match. true or false.
    name string
    Only supported Keywords, Version and TagId.
    values string[]
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    exactMatch boolean
    exact match. true or false.
    name str
    Only supported Keywords, Version and TagId.
    values Sequence[str]
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    exact_match bool
    exact match. true or false.
    name String
    Only supported Keywords, Version and TagId.
    values List<String>
    If name is Keywords: enter keyword query; If name is Version: enter PRO_VERSION: Professional Edition | BASIC_VERSION: Basic | Flagship: Flagship | ProtectedMachines: Professional+Flagship | UnFlagship: Non Flagship | PRO_POST_PAY: Professional Edition Pay by Volume | PRO_PRE_PAY: Professional Edition Monthly Package query; If name is TagId: enter tag ID query.
    exactMatch Boolean
    exact match. true or false.

    GetCwpMachinesSimpleMachine

    CloudTags List<GetCwpMachinesSimpleMachineCloudTag>
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceId string
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceState string
    Instance status.
    IsProVersion bool
    Paid version or not. true: yes; false: no.
    KernelVersion string
    Core Version.
    LicenseOrders List<GetCwpMachinesSimpleMachineLicenseOrder>
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    MachineIp string
    Machine Internal net IP.
    MachineName string
    Machine name.
    MachineOs string
    Machine OS System.
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    MachineWanIp string
    Machine Outer net IP.
    PayMode string
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    ProjectId double
    Project ID.
    ProtectType string
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    Quuid string
    Cloud server sole UUID.
    RegionInfos List<GetCwpMachinesSimpleMachineRegionInfo>
    Region detail.
    Tags List<GetCwpMachinesSimpleMachineTag>
    Tag.
    Uuid string
    Cwp client sole UUID.
    CloudTags []GetCwpMachinesSimpleMachineCloudTag
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceId string
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceState string
    Instance status.
    IsProVersion bool
    Paid version or not. true: yes; false: no.
    KernelVersion string
    Core Version.
    LicenseOrders []GetCwpMachinesSimpleMachineLicenseOrder
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    MachineIp string
    Machine Internal net IP.
    MachineName string
    Machine name.
    MachineOs string
    Machine OS System.
    MachineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    MachineWanIp string
    Machine Outer net IP.
    PayMode string
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    ProjectId float64
    Project ID.
    ProtectType string
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    Quuid string
    Cloud server sole UUID.
    RegionInfos []GetCwpMachinesSimpleMachineRegionInfo
    Region detail.
    Tags []GetCwpMachinesSimpleMachineTag
    Tag.
    Uuid string
    Cwp client sole UUID.
    cloudTags List<GetCwpMachinesSimpleMachineCloudTag>
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceId String
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceState String
    Instance status.
    isProVersion Boolean
    Paid version or not. true: yes; false: no.
    kernelVersion String
    Core Version.
    licenseOrders List<GetCwpMachinesSimpleMachineLicenseOrder>
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    machineIp String
    Machine Internal net IP.
    machineName String
    Machine name.
    machineOs String
    Machine OS System.
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machineWanIp String
    Machine Outer net IP.
    payMode String
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    projectId Double
    Project ID.
    protectType String
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    quuid String
    Cloud server sole UUID.
    regionInfos List<GetCwpMachinesSimpleMachineRegionInfo>
    Region detail.
    tags List<GetCwpMachinesSimpleMachineTag>
    Tag.
    uuid String
    Cwp client sole UUID.
    cloudTags GetCwpMachinesSimpleMachineCloudTag[]
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceId string
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceState string
    Instance status.
    isProVersion boolean
    Paid version or not. true: yes; false: no.
    kernelVersion string
    Core Version.
    licenseOrders GetCwpMachinesSimpleMachineLicenseOrder[]
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    machineIp string
    Machine Internal net IP.
    machineName string
    Machine name.
    machineOs string
    Machine OS System.
    machineType string
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machineWanIp string
    Machine Outer net IP.
    payMode string
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    projectId number
    Project ID.
    protectType string
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    quuid string
    Cloud server sole UUID.
    regionInfos GetCwpMachinesSimpleMachineRegionInfo[]
    Region detail.
    tags GetCwpMachinesSimpleMachineTag[]
    Tag.
    uuid string
    Cwp client sole UUID.
    cloud_tags Sequence[GetCwpMachinesSimpleMachineCloudTag]
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    instance_id str
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    instance_state str
    Instance status.
    is_pro_version bool
    Paid version or not. true: yes; false: no.
    kernel_version str
    Core Version.
    license_orders Sequence[GetCwpMachinesSimpleMachineLicenseOrder]
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    machine_ip str
    Machine Internal net IP.
    machine_name str
    Machine name.
    machine_os str
    Machine OS System.
    machine_type str
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machine_wan_ip str
    Machine Outer net IP.
    pay_mode str
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    project_id float
    Project ID.
    protect_type str
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    quuid str
    Cloud server sole UUID.
    region_infos Sequence[GetCwpMachinesSimpleMachineRegionInfo]
    Region detail.
    tags Sequence[GetCwpMachinesSimpleMachineTag]
    Tag.
    uuid str
    Cwp client sole UUID.
    cloudTags List<Property Map>
    Cloud tags detailNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceId String
    Instance IDNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceState String
    Instance status.
    isProVersion Boolean
    Paid version or not. true: yes; false: no.
    kernelVersion String
    Core Version.
    licenseOrders List<Property Map>
    License Order ObjectNote: This field may return null, indicating that a valid value cannot be obtained.
    machineIp String
    Machine Internal net IP.
    machineName String
    Machine name.
    machineOs String
    Machine OS System.
    machineType String
    Service types. -CVM: Cloud Virtual Machine; -ECM: Edge Computing Machine; -LH: Lighthouse; -Other: Mixed cloud; -ALL: All server types.
    machineWanIp String
    Machine Outer net IP.
    payMode String
    Payment model. POSTPAY: Pay as you go; PREPAY: Monthly subscription.
    projectId Number
    Project ID.
    protectType String
    Protection Version. -BASIC_VERSION: Basic Version; -PRO_VERSION: Pro Version -Flagship: Flagship Version; -GENERAL_DISCOUNT: CWP-LH Version.
    quuid String
    Cloud server sole UUID.
    regionInfos List<Property Map>
    Region detail.
    tags List<Property Map>
    Tag.
    uuid String
    Cwp client sole UUID.

    GetCwpMachinesSimpleMachineCloudTag

    TagKey string
    Tag key.
    TagValue string
    Tag value.
    TagKey string
    Tag key.
    TagValue string
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.
    tagKey string
    Tag key.
    tagValue string
    Tag value.
    tag_key str
    Tag key.
    tag_value str
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.

    GetCwpMachinesSimpleMachineLicenseOrder

    LicenseId double
    License ID.
    LicenseType double
    License Types.
    ResourceId string
    Resource ID.
    SourceType double
    Order types.
    Status double
    License Order Status.
    LicenseId float64
    License ID.
    LicenseType float64
    License Types.
    ResourceId string
    Resource ID.
    SourceType float64
    Order types.
    Status float64
    License Order Status.
    licenseId Double
    License ID.
    licenseType Double
    License Types.
    resourceId String
    Resource ID.
    sourceType Double
    Order types.
    status Double
    License Order Status.
    licenseId number
    License ID.
    licenseType number
    License Types.
    resourceId string
    Resource ID.
    sourceType number
    Order types.
    status number
    License Order Status.
    license_id float
    License ID.
    license_type float
    License Types.
    resource_id str
    Resource ID.
    source_type float
    Order types.
    status float
    License Order Status.
    licenseId Number
    License ID.
    licenseType Number
    License Types.
    resourceId String
    Resource ID.
    sourceType Number
    Order types.
    status Number
    License Order Status.

    GetCwpMachinesSimpleMachineRegionInfo

    Region string
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    RegionCode string
    Region Code.
    RegionId double
    Region ID.
    RegionName string
    Regional Chinese name.
    RegionNameEn string
    Regional English name.
    Region string
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    RegionCode string
    Region Code.
    RegionId float64
    Region ID.
    RegionName string
    Regional Chinese name.
    RegionNameEn string
    Regional English name.
    region String
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    regionCode String
    Region Code.
    regionId Double
    Region ID.
    regionName String
    Regional Chinese name.
    regionNameEn String
    Regional English name.
    region string
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    regionCode string
    Region Code.
    regionId number
    Region ID.
    regionName string
    Regional Chinese name.
    regionNameEn string
    Regional English name.
    region str
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    region_code str
    Region Code.
    region_id float
    Region ID.
    region_name str
    Regional Chinese name.
    region_name_en str
    Regional English name.
    region String
    Region, Such as ap-guangzhou, ap-shanghai, ap-beijing.
    regionCode String
    Region Code.
    regionId Number
    Region ID.
    regionName String
    Regional Chinese name.
    regionNameEn String
    Regional English name.

    GetCwpMachinesSimpleMachineTag

    Name string
    Tag name.
    Rid double
    Relevance tag id.
    TagId double
    Tag ID.
    Name string
    Tag name.
    Rid float64
    Relevance tag id.
    TagId float64
    Tag ID.
    name String
    Tag name.
    rid Double
    Relevance tag id.
    tagId Double
    Tag ID.
    name string
    Tag name.
    rid number
    Relevance tag id.
    tagId number
    Tag ID.
    name str
    Tag name.
    rid float
    Relevance tag id.
    tag_id float
    Tag ID.
    name String
    Tag name.
    rid Number
    Relevance tag id.
    tagId Number
    Tag ID.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack