1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getIgtmInstancePackageList
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack

    Use this data source to query detailed information of IGTM instance package list

    Example Usage

    Query all igtm instance package list

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getIgtmInstancePackageList({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_igtm_instance_package_list()
    
    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.GetIgtmInstancePackageList(ctx, &tencentcloud.GetIgtmInstancePackageListArgs{}, 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.GetIgtmInstancePackageList.Invoke();
    
    });
    
    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.GetIgtmInstancePackageListArgs;
    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.getIgtmInstancePackageList(GetIgtmInstancePackageListArgs.builder()
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getIgtmInstancePackageList
          arguments: {}
    

    Query igtm instance package list by filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getIgtmInstancePackageList({
        filters: [{
            name: "InstanceId",
            values: ["gtm-uukztqtoaru"],
            fuzzy: true,
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_igtm_instance_package_list(filters=[{
        "name": "InstanceId",
        "values": ["gtm-uukztqtoaru"],
        "fuzzy": True,
    }])
    
    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.GetIgtmInstancePackageList(ctx, &tencentcloud.GetIgtmInstancePackageListArgs{
    			Filters: []tencentcloud.GetIgtmInstancePackageListFilter{
    				{
    					Name: "InstanceId",
    					Values: []string{
    						"gtm-uukztqtoaru",
    					},
    					Fuzzy: pulumi.BoolRef(true),
    				},
    			},
    		}, 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.GetIgtmInstancePackageList.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetIgtmInstancePackageListFilterInputArgs
                {
                    Name = "InstanceId",
                    Values = new[]
                    {
                        "gtm-uukztqtoaru",
                    },
                    Fuzzy = true,
                },
            },
        });
    
    });
    
    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.GetIgtmInstancePackageListArgs;
    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.getIgtmInstancePackageList(GetIgtmInstancePackageListArgs.builder()
                .filters(GetIgtmInstancePackageListFilterArgs.builder()
                    .name("InstanceId")
                    .values("gtm-uukztqtoaru")
                    .fuzzy(true)
                    .build())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getIgtmInstancePackageList
          arguments:
            filters:
              - name: InstanceId
                values:
                  - gtm-uukztqtoaru
                fuzzy: true
    

    Using getIgtmInstancePackageList

    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 getIgtmInstancePackageList(args: GetIgtmInstancePackageListArgs, opts?: InvokeOptions): Promise<GetIgtmInstancePackageListResult>
    function getIgtmInstancePackageListOutput(args: GetIgtmInstancePackageListOutputArgs, opts?: InvokeOptions): Output<GetIgtmInstancePackageListResult>
    def get_igtm_instance_package_list(filters: Optional[Sequence[GetIgtmInstancePackageListFilter]] = None,
                                       id: Optional[str] = None,
                                       is_used: Optional[float] = None,
                                       result_output_file: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetIgtmInstancePackageListResult
    def get_igtm_instance_package_list_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetIgtmInstancePackageListFilterArgs]]]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       is_used: Optional[pulumi.Input[float]] = None,
                                       result_output_file: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetIgtmInstancePackageListResult]
    func GetIgtmInstancePackageList(ctx *Context, args *GetIgtmInstancePackageListArgs, opts ...InvokeOption) (*GetIgtmInstancePackageListResult, error)
    func GetIgtmInstancePackageListOutput(ctx *Context, args *GetIgtmInstancePackageListOutputArgs, opts ...InvokeOption) GetIgtmInstancePackageListResultOutput

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

    public static class GetIgtmInstancePackageList 
    {
        public static Task<GetIgtmInstancePackageListResult> InvokeAsync(GetIgtmInstancePackageListArgs args, InvokeOptions? opts = null)
        public static Output<GetIgtmInstancePackageListResult> Invoke(GetIgtmInstancePackageListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIgtmInstancePackageListResult> getIgtmInstancePackageList(GetIgtmInstancePackageListArgs args, InvokeOptions options)
    public static Output<GetIgtmInstancePackageListResult> getIgtmInstancePackageList(GetIgtmInstancePackageListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getIgtmInstancePackageList:getIgtmInstancePackageList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetIgtmInstancePackageListFilter>
    Filter conditions.
    Id string
    IsUsed double
    Whether used: 0 not used 1 used.
    ResultOutputFile string
    Used to save results.
    Filters []GetIgtmInstancePackageListFilter
    Filter conditions.
    Id string
    IsUsed float64
    Whether used: 0 not used 1 used.
    ResultOutputFile string
    Used to save results.
    filters List<GetIgtmInstancePackageListFilter>
    Filter conditions.
    id String
    isUsed Double
    Whether used: 0 not used 1 used.
    resultOutputFile String
    Used to save results.
    filters GetIgtmInstancePackageListFilter[]
    Filter conditions.
    id string
    isUsed number
    Whether used: 0 not used 1 used.
    resultOutputFile string
    Used to save results.
    filters Sequence[GetIgtmInstancePackageListFilter]
    Filter conditions.
    id str
    is_used float
    Whether used: 0 not used 1 used.
    result_output_file str
    Used to save results.
    filters List<Property Map>
    Filter conditions.
    id String
    isUsed Number
    Whether used: 0 not used 1 used.
    resultOutputFile String
    Used to save results.

    getIgtmInstancePackageList Result

    The following output properties are available:

    Supporting Types

    GetIgtmInstancePackageListFilter

    Name string
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    Values List<string>
    Filter field value.
    Fuzzy bool
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).
    Name string
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    Values []string
    Filter field value.
    Fuzzy bool
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).
    name String
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    values List<String>
    Filter field value.
    fuzzy Boolean
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).
    name string
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    values string[]
    Filter field value.
    fuzzy boolean
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).
    name str
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    values Sequence[str]
    Filter field value.
    fuzzy bool
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).
    name String
    Filter field name, supported list as follows:

    • InstanceId: instance ID.
    • InstanceName: instance name.
    • ResourceId: package ID.
    • PackageType: package type. This is a required parameter, not passing it will cause interface query failure.
    values List<String>
    Filter field value.
    fuzzy Boolean
    Whether to enable fuzzy query, only supports filter field name as domain. When fuzzy query is enabled, maximum Value length is 1, otherwise maximum Value length is 5. (Reserved field, not currently used).

    GetIgtmInstancePackageListInstanceSet

    AutoRenewFlag double
    Whether auto-renew 0 no 1 yes.
    CostItemLists List<GetIgtmInstancePackageListInstanceSetCostItemList>
    Billing item.
    CreateTime string
    Package creation time.
    CurrentDeadline string
    Package expiration time.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    IsExpire double
    Whether expired 0 no 1 yes.
    MinCheckInterval double
    Minimum check interval time s.
    MinGlobalTtl double
    Minimum TTL s.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    Remark string
    Remark.
    ResourceId string
    Instance package resource ID.
    ScheduleStrategies List<string>
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    Status string
    Instance status ENABLED: Normal DISABLED: Disabled.
    TrafficStrategies List<string>
    Traffic strategy type: ALL return all, WEIGHT weight.
    AutoRenewFlag float64
    Whether auto-renew 0 no 1 yes.
    CostItemLists []GetIgtmInstancePackageListInstanceSetCostItemList
    Billing item.
    CreateTime string
    Package creation time.
    CurrentDeadline string
    Package expiration time.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    IsExpire float64
    Whether expired 0 no 1 yes.
    MinCheckInterval float64
    Minimum check interval time s.
    MinGlobalTtl float64
    Minimum TTL s.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    Remark string
    Remark.
    ResourceId string
    Instance package resource ID.
    ScheduleStrategies []string
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    Status string
    Instance status ENABLED: Normal DISABLED: Disabled.
    TrafficStrategies []string
    Traffic strategy type: ALL return all, WEIGHT weight.
    autoRenewFlag Double
    Whether auto-renew 0 no 1 yes.
    costItemLists List<GetIgtmInstancePackageListInstanceSetCostItemList>
    Billing item.
    createTime String
    Package creation time.
    currentDeadline String
    Package expiration time.
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    isExpire Double
    Whether expired 0 no 1 yes.
    minCheckInterval Double
    Minimum check interval time s.
    minGlobalTtl Double
    Minimum TTL s.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark String
    Remark.
    resourceId String
    Instance package resource ID.
    scheduleStrategies List<String>
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    status String
    Instance status ENABLED: Normal DISABLED: Disabled.
    trafficStrategies List<String>
    Traffic strategy type: ALL return all, WEIGHT weight.
    autoRenewFlag number
    Whether auto-renew 0 no 1 yes.
    costItemLists GetIgtmInstancePackageListInstanceSetCostItemList[]
    Billing item.
    createTime string
    Package creation time.
    currentDeadline string
    Package expiration time.
    instanceId string
    Instance ID.
    instanceName string
    Instance name.
    isExpire number
    Whether expired 0 no 1 yes.
    minCheckInterval number
    Minimum check interval time s.
    minGlobalTtl number
    Minimum TTL s.
    packageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark string
    Remark.
    resourceId string
    Instance package resource ID.
    scheduleStrategies string[]
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    status string
    Instance status ENABLED: Normal DISABLED: Disabled.
    trafficStrategies string[]
    Traffic strategy type: ALL return all, WEIGHT weight.
    auto_renew_flag float
    Whether auto-renew 0 no 1 yes.
    cost_item_lists Sequence[GetIgtmInstancePackageListInstanceSetCostItemList]
    Billing item.
    create_time str
    Package creation time.
    current_deadline str
    Package expiration time.
    instance_id str
    Instance ID.
    instance_name str
    Instance name.
    is_expire float
    Whether expired 0 no 1 yes.
    min_check_interval float
    Minimum check interval time s.
    min_global_ttl float
    Minimum TTL s.
    package_type str
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark str
    Remark.
    resource_id str
    Instance package resource ID.
    schedule_strategies Sequence[str]
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    status str
    Instance status ENABLED: Normal DISABLED: Disabled.
    traffic_strategies Sequence[str]
    Traffic strategy type: ALL return all, WEIGHT weight.
    autoRenewFlag Number
    Whether auto-renew 0 no 1 yes.
    costItemLists List<Property Map>
    Billing item.
    createTime String
    Package creation time.
    currentDeadline String
    Package expiration time.
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    isExpire Number
    Whether expired 0 no 1 yes.
    minCheckInterval Number
    Minimum check interval time s.
    minGlobalTtl Number
    Minimum TTL s.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark String
    Remark.
    resourceId String
    Instance package resource ID.
    scheduleStrategies List<String>
    Strategy type: LOCATION schedule by geographic location, DELAY schedule by delay.
    status String
    Instance status ENABLED: Normal DISABLED: Disabled.
    trafficStrategies List<String>
    Traffic strategy type: ALL return all, WEIGHT weight.

    GetIgtmInstancePackageListInstanceSetCostItemList

    CostName string
    Billing item name.
    CostValue double
    Billing item value.
    CostName string
    Billing item name.
    CostValue float64
    Billing item value.
    costName String
    Billing item name.
    costValue Double
    Billing item value.
    costName string
    Billing item name.
    costValue number
    Billing item value.
    cost_name str
    Billing item name.
    cost_value float
    Billing item value.
    costName String
    Billing item name.
    costValue Number
    Billing item value.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate