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

tencentcloud.GaapProxyGroup

Explore with Pulumi AI

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

    Provides a resource to create a gaap proxy group

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const proxyGroup = new tencentcloud.GaapProxyGroup("proxyGroup", {
        groupName: "tf-test-update",
        ipAddressVersion: "IPv4",
        packageType: "Thunder",
        projectId: 0,
        realServerRegion: "Beijing",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    proxy_group = tencentcloud.GaapProxyGroup("proxyGroup",
        group_name="tf-test-update",
        ip_address_version="IPv4",
        package_type="Thunder",
        project_id=0,
        real_server_region="Beijing")
    
    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.NewGaapProxyGroup(ctx, "proxyGroup", &tencentcloud.GaapProxyGroupArgs{
    			GroupName:        pulumi.String("tf-test-update"),
    			IpAddressVersion: pulumi.String("IPv4"),
    			PackageType:      pulumi.String("Thunder"),
    			ProjectId:        pulumi.Float64(0),
    			RealServerRegion: pulumi.String("Beijing"),
    		})
    		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 proxyGroup = new Tencentcloud.GaapProxyGroup("proxyGroup", new()
        {
            GroupName = "tf-test-update",
            IpAddressVersion = "IPv4",
            PackageType = "Thunder",
            ProjectId = 0,
            RealServerRegion = "Beijing",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.GaapProxyGroup;
    import com.pulumi.tencentcloud.GaapProxyGroupArgs;
    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 proxyGroup = new GaapProxyGroup("proxyGroup", GaapProxyGroupArgs.builder()
                .groupName("tf-test-update")
                .ipAddressVersion("IPv4")
                .packageType("Thunder")
                .projectId(0)
                .realServerRegion("Beijing")
                .build());
    
        }
    }
    
    resources:
      proxyGroup:
        type: tencentcloud:GaapProxyGroup
        properties:
          groupName: tf-test-update
          ipAddressVersion: IPv4
          packageType: Thunder
          projectId: 0
          realServerRegion: Beijing
    

    Create GaapProxyGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GaapProxyGroup(name: string, args: GaapProxyGroupArgs, opts?: CustomResourceOptions);
    @overload
    def GaapProxyGroup(resource_name: str,
                       args: GaapProxyGroupArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def GaapProxyGroup(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       group_name: Optional[str] = None,
                       project_id: Optional[float] = None,
                       real_server_region: Optional[str] = None,
                       gaap_proxy_group_id: Optional[str] = None,
                       ip_address_version: Optional[str] = None,
                       package_type: Optional[str] = None)
    func NewGaapProxyGroup(ctx *Context, name string, args GaapProxyGroupArgs, opts ...ResourceOption) (*GaapProxyGroup, error)
    public GaapProxyGroup(string name, GaapProxyGroupArgs args, CustomResourceOptions? opts = null)
    public GaapProxyGroup(String name, GaapProxyGroupArgs args)
    public GaapProxyGroup(String name, GaapProxyGroupArgs args, CustomResourceOptions options)
    
    type: tencentcloud:GaapProxyGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GaapProxyGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GaapProxyGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GaapProxyGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GaapProxyGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GaapProxyGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    GaapProxyGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GaapProxyGroup resource accepts the following input properties:

    GroupName string
    Channel group alias.
    ProjectId double
    ID of the project to which the proxy group belongs.
    RealServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    GaapProxyGroupId string
    ID of the resource.
    IpAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    PackageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    GroupName string
    Channel group alias.
    ProjectId float64
    ID of the project to which the proxy group belongs.
    RealServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    GaapProxyGroupId string
    ID of the resource.
    IpAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    PackageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    groupName String
    Channel group alias.
    projectId Double
    ID of the project to which the proxy group belongs.
    realServerRegion String
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId String
    ID of the resource.
    ipAddressVersion String
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType String
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    groupName string
    Channel group alias.
    projectId number
    ID of the project to which the proxy group belongs.
    realServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId string
    ID of the resource.
    ipAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    group_name str
    Channel group alias.
    project_id float
    ID of the project to which the proxy group belongs.
    real_server_region str
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaap_proxy_group_id str
    ID of the resource.
    ip_address_version str
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    package_type str
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    groupName String
    Channel group alias.
    projectId Number
    ID of the project to which the proxy group belongs.
    realServerRegion String
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId String
    ID of the resource.
    ipAddressVersion String
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType String
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GaapProxyGroup resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GaapProxyGroup Resource

    Get an existing GaapProxyGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GaapProxyGroupState, opts?: CustomResourceOptions): GaapProxyGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            gaap_proxy_group_id: Optional[str] = None,
            group_name: Optional[str] = None,
            ip_address_version: Optional[str] = None,
            package_type: Optional[str] = None,
            project_id: Optional[float] = None,
            real_server_region: Optional[str] = None) -> GaapProxyGroup
    func GetGaapProxyGroup(ctx *Context, name string, id IDInput, state *GaapProxyGroupState, opts ...ResourceOption) (*GaapProxyGroup, error)
    public static GaapProxyGroup Get(string name, Input<string> id, GaapProxyGroupState? state, CustomResourceOptions? opts = null)
    public static GaapProxyGroup get(String name, Output<String> id, GaapProxyGroupState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:GaapProxyGroup    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    GaapProxyGroupId string
    ID of the resource.
    GroupName string
    Channel group alias.
    IpAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    PackageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    ProjectId double
    ID of the project to which the proxy group belongs.
    RealServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    GaapProxyGroupId string
    ID of the resource.
    GroupName string
    Channel group alias.
    IpAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    PackageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    ProjectId float64
    ID of the project to which the proxy group belongs.
    RealServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId String
    ID of the resource.
    groupName String
    Channel group alias.
    ipAddressVersion String
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType String
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    projectId Double
    ID of the project to which the proxy group belongs.
    realServerRegion String
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId string
    ID of the resource.
    groupName string
    Channel group alias.
    ipAddressVersion string
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType string
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    projectId number
    ID of the project to which the proxy group belongs.
    realServerRegion string
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaap_proxy_group_id str
    ID of the resource.
    group_name str
    Channel group alias.
    ip_address_version str
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    package_type str
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    project_id float
    ID of the project to which the proxy group belongs.
    real_server_region str
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
    gaapProxyGroupId String
    ID of the resource.
    groupName String
    Channel group alias.
    ipAddressVersion String
    IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
    packageType String
    Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
    projectId Number
    ID of the project to which the proxy group belongs.
    realServerRegion String
    real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.

    Import

    gaap proxy_group can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/gaapProxyGroup:GaapProxyGroup proxy_group proxy_group_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    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