tencentcloud.GaapProxyGroup
Explore with Pulumi AI
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:
- Group
Name string - Channel group alias.
- Project
Id double - ID of the project to which the proxy group belongs.
- Real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- Gaap
Proxy stringGroup Id - ID of the resource.
- Ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- Package
Type string - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- Group
Name string - Channel group alias.
- Project
Id float64 - ID of the project to which the proxy group belongs.
- Real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- Gaap
Proxy stringGroup Id - ID of the resource.
- Ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- Package
Type string - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- group
Name String - Channel group alias.
- project
Id Double - ID of the project to which the proxy group belongs.
- real
Server StringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy StringGroup Id - ID of the resource.
- ip
Address StringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type String - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- group
Name string - Channel group alias.
- project
Id number - ID of the project to which the proxy group belongs.
- real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy stringGroup Id - ID of the resource.
- ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type 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_ strregion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap_
proxy_ strgroup_ id - ID of the resource.
- ip_
address_ strversion - 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.
- group
Name String - Channel group alias.
- project
Id Number - ID of the project to which the proxy group belongs.
- real
Server StringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy StringGroup Id - ID of the resource.
- ip
Address StringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type 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.
- Gaap
Proxy stringGroup Id - ID of the resource.
- Group
Name string - Channel group alias.
- Ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- Package
Type string - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- Project
Id double - ID of the project to which the proxy group belongs.
- Real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- Gaap
Proxy stringGroup Id - ID of the resource.
- Group
Name string - Channel group alias.
- Ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- Package
Type string - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- Project
Id float64 - ID of the project to which the proxy group belongs.
- Real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy StringGroup Id - ID of the resource.
- group
Name String - Channel group alias.
- ip
Address StringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type String - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- project
Id Double - ID of the project to which the proxy group belongs.
- real
Server StringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy stringGroup Id - ID of the resource.
- group
Name string - Channel group alias.
- ip
Address stringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type string - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- project
Id number - ID of the project to which the proxy group belongs.
- real
Server stringRegion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap_
proxy_ strgroup_ id - ID of the resource.
- group_
name str - Channel group alias.
- ip_
address_ strversion - 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_ strregion - real server region, refer to the interface DescribeDestRegions to return the RegionId in the parameter RegionDetail.
- gaap
Proxy StringGroup Id - ID of the resource.
- group
Name String - Channel group alias.
- ip
Address StringVersion - IP version, can be taken as IPv4 or IPv6 with a default value of IPv4.
- package
Type String - Package type of channel group. Available values: Thunder and Accelerator. Default is Thunder.
- project
Id Number - ID of the project to which the proxy group belongs.
- real
Server StringRegion - 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.