tencentcloud.ApiGatewayService
Explore with Pulumi AI
Use this resource to create API gateway service.
NOTE: After setting
uniq_vpc_id
, it cannot be modified.
Example Usage
Shared Service
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const example = new tencentcloud.ApiGatewayService("example", {
serviceName: "tf-example",
protocol: "http&https",
serviceDesc: "desc.",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
uniqVpcId: vpc.vpcId,
tags: {
createdBy: "terraform",
},
releaseLimit: 500,
preLimit: 500,
testLimit: 500,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
example = tencentcloud.ApiGatewayService("example",
service_name="tf-example",
protocol="http&https",
service_desc="desc.",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4",
uniq_vpc_id=vpc.vpc_id,
tags={
"createdBy": "terraform",
},
release_limit=500,
pre_limit=500,
test_limit=500)
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 {
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewApiGatewayService(ctx, "example", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("tf-example"),
Protocol: pulumi.String("http&https"),
ServiceDesc: pulumi.String("desc."),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
UniqVpcId: vpc.VpcId,
Tags: pulumi.StringMap{
"createdBy": pulumi.String("terraform"),
},
ReleaseLimit: pulumi.Float64(500),
PreLimit: pulumi.Float64(500),
TestLimit: pulumi.Float64(500),
})
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 vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "10.0.0.0/16",
});
var example = new Tencentcloud.ApiGatewayService("example", new()
{
ServiceName = "tf-example",
Protocol = "http&https",
ServiceDesc = "desc.",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
UniqVpcId = vpc.VpcId,
Tags =
{
{ "createdBy", "terraform" },
},
ReleaseLimit = 500,
PreLimit = 500,
TestLimit = 500,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.ApiGatewayService;
import com.pulumi.tencentcloud.ApiGatewayServiceArgs;
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 vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.build());
var example = new ApiGatewayService("example", ApiGatewayServiceArgs.builder()
.serviceName("tf-example")
.protocol("http&https")
.serviceDesc("desc.")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.uniqVpcId(vpc.vpcId())
.tags(Map.of("createdBy", "terraform"))
.releaseLimit(500)
.preLimit(500)
.testLimit(500)
.build());
}
}
resources:
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 10.0.0.0/16
example:
type: tencentcloud:ApiGatewayService
properties:
serviceName: tf-example
protocol: http&https
serviceDesc: desc.
netTypes:
- INNER
- OUTER
ipVersion: IPv4
uniqVpcId: ${vpc.vpcId}
tags:
createdBy: terraform
releaseLimit: 500
preLimit: 500
testLimit: 500
Exclusive Service
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApiGatewayService("example", {
serviceName: "tf-example",
protocol: "http&https",
serviceDesc: "desc.",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
uniqVpcId: tencentcloud_vpc.vpc.id,
instanceId: "instance-rc6fcv4e",
tags: {
createdBy: "terraform",
},
releaseLimit: 500,
preLimit: 500,
testLimit: 500,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApiGatewayService("example",
service_name="tf-example",
protocol="http&https",
service_desc="desc.",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4",
uniq_vpc_id=tencentcloud_vpc["vpc"]["id"],
instance_id="instance-rc6fcv4e",
tags={
"createdBy": "terraform",
},
release_limit=500,
pre_limit=500,
test_limit=500)
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.NewApiGatewayService(ctx, "example", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("tf-example"),
Protocol: pulumi.String("http&https"),
ServiceDesc: pulumi.String("desc."),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
UniqVpcId: pulumi.Any(tencentcloud_vpc.Vpc.Id),
InstanceId: pulumi.String("instance-rc6fcv4e"),
Tags: pulumi.StringMap{
"createdBy": pulumi.String("terraform"),
},
ReleaseLimit: pulumi.Float64(500),
PreLimit: pulumi.Float64(500),
TestLimit: pulumi.Float64(500),
})
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 = new Tencentcloud.ApiGatewayService("example", new()
{
ServiceName = "tf-example",
Protocol = "http&https",
ServiceDesc = "desc.",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
UniqVpcId = tencentcloud_vpc.Vpc.Id,
InstanceId = "instance-rc6fcv4e",
Tags =
{
{ "createdBy", "terraform" },
},
ReleaseLimit = 500,
PreLimit = 500,
TestLimit = 500,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayService;
import com.pulumi.tencentcloud.ApiGatewayServiceArgs;
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 example = new ApiGatewayService("example", ApiGatewayServiceArgs.builder()
.serviceName("tf-example")
.protocol("http&https")
.serviceDesc("desc.")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.uniqVpcId(tencentcloud_vpc.vpc().id())
.instanceId("instance-rc6fcv4e")
.tags(Map.of("createdBy", "terraform"))
.releaseLimit(500)
.preLimit(500)
.testLimit(500)
.build());
}
}
resources:
example:
type: tencentcloud:ApiGatewayService
properties:
serviceName: tf-example
protocol: http&https
serviceDesc: desc.
netTypes:
- INNER
- OUTER
ipVersion: IPv4
uniqVpcId: ${tencentcloud_vpc.vpc.id}
instanceId: instance-rc6fcv4e
tags:
createdBy: terraform
releaseLimit: 500
preLimit: 500
testLimit: 500
Create ApiGatewayService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiGatewayService(name: string, args: ApiGatewayServiceArgs, opts?: CustomResourceOptions);
@overload
def ApiGatewayService(resource_name: str,
args: ApiGatewayServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiGatewayService(resource_name: str,
opts: Optional[ResourceOptions] = None,
service_name: Optional[str] = None,
net_types: Optional[Sequence[str]] = None,
protocol: Optional[str] = None,
exclusive_set_name: Optional[str] = None,
instance_id: Optional[str] = None,
ip_version: Optional[str] = None,
pre_limit: Optional[float] = None,
release_limit: Optional[float] = None,
service_desc: Optional[str] = None,
api_gateway_service_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
test_limit: Optional[float] = None,
uniq_vpc_id: Optional[str] = None)
func NewApiGatewayService(ctx *Context, name string, args ApiGatewayServiceArgs, opts ...ResourceOption) (*ApiGatewayService, error)
public ApiGatewayService(string name, ApiGatewayServiceArgs args, CustomResourceOptions? opts = null)
public ApiGatewayService(String name, ApiGatewayServiceArgs args)
public ApiGatewayService(String name, ApiGatewayServiceArgs args, CustomResourceOptions options)
type: tencentcloud:ApiGatewayService
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 ApiGatewayServiceArgs
- 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 ApiGatewayServiceArgs
- 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 ApiGatewayServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiGatewayServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiGatewayServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApiGatewayService 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 ApiGatewayService resource accepts the following input properties:
- Net
Types List<string> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - Protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - Service
Name string - Custom service name.
- Api
Gateway stringService Id - ID of the resource.
- Exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- Instance
Id string - Exclusive instance ID.
- Ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - Pre
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Release
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Service
Desc string - Custom service description.
- Dictionary<string, string>
- Tag description list.
- Test
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Uniq
Vpc stringId - VPC ID.
- Net
Types []string - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - Protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - Service
Name string - Custom service name.
- Api
Gateway stringService Id - ID of the resource.
- Exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- Instance
Id string - Exclusive instance ID.
- Ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - Pre
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Release
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Service
Desc string - Custom service description.
- map[string]string
- Tag description list.
- Test
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Uniq
Vpc stringId - VPC ID.
- net
Types List<String> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - protocol String
- Service frontend request type. Valid values:
http
,https
,http&https
. - service
Name String - Custom service name.
- api
Gateway StringService Id - ID of the resource.
- exclusive
Set StringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- instance
Id String - Exclusive instance ID.
- ip
Version String - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - pre
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - release
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc String - Custom service description.
- Map<String,String>
- Tag description list.
- test
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc StringId - VPC ID.
- net
Types string[] - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - service
Name string - Custom service name.
- api
Gateway stringService Id - ID of the resource.
- exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- instance
Id string - Exclusive instance ID.
- ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - pre
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - release
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc string - Custom service description.
- {[key: string]: string}
- Tag description list.
- test
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc stringId - VPC ID.
- net_
types Sequence[str] - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - protocol str
- Service frontend request type. Valid values:
http
,https
,http&https
. - service_
name str - Custom service name.
- api_
gateway_ strservice_ id - ID of the resource.
- exclusive_
set_ strname - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- instance_
id str - Exclusive instance ID.
- ip_
version str - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - pre_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - release_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service_
desc str - Custom service description.
- Mapping[str, str]
- Tag description list.
- test_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq_
vpc_ strid - VPC ID.
- net
Types List<String> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - protocol String
- Service frontend request type. Valid values:
http
,https
,http&https
. - service
Name String - Custom service name.
- api
Gateway StringService Id - ID of the resource.
- exclusive
Set StringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- instance
Id String - Exclusive instance ID.
- ip
Version String - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - pre
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - release
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc String - Custom service description.
- Map<String>
- Tag description list.
- test
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc StringId - VPC ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiGatewayService resource produces the following output properties:
- Api
Lists List<ApiGateway Service Api List> - A list of APIs.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Http doublePort - Port number for http access over private network.
- Inner
Https doublePort - Port number for https access over private network.
- Internal
Sub stringDomain - Private network access subdomain name.
- Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Outer
Sub stringDomain - Public network access subdomain name.
- Usage
Plan List<ApiLists Gateway Service Usage Plan List> - A list of attach usage plans.
- Api
Lists []ApiGateway Service Api List - A list of APIs.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inner
Http float64Port - Port number for http access over private network.
- Inner
Https float64Port - Port number for https access over private network.
- Internal
Sub stringDomain - Private network access subdomain name.
- Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Outer
Sub stringDomain - Public network access subdomain name.
- Usage
Plan []ApiLists Gateway Service Usage Plan List - A list of attach usage plans.
- api
Lists List<ApiGateway Service Api List> - A list of APIs.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Http DoublePort - Port number for http access over private network.
- inner
Https DoublePort - Port number for https access over private network.
- internal
Sub StringDomain - Private network access subdomain name.
- modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- outer
Sub StringDomain - Public network access subdomain name.
- usage
Plan List<ApiLists Gateway Service Usage Plan List> - A list of attach usage plans.
- api
Lists ApiGateway Service Api List[] - A list of APIs.
- create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id string
- The provider-assigned unique ID for this managed resource.
- inner
Http numberPort - Port number for http access over private network.
- inner
Https numberPort - Port number for https access over private network.
- internal
Sub stringDomain - Private network access subdomain name.
- modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- outer
Sub stringDomain - Public network access subdomain name.
- usage
Plan ApiLists Gateway Service Usage Plan List[] - A list of attach usage plans.
- api_
lists Sequence[ApiGateway Service Api List] - A list of APIs.
- create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id str
- The provider-assigned unique ID for this managed resource.
- inner_
http_ floatport - Port number for http access over private network.
- inner_
https_ floatport - Port number for https access over private network.
- internal_
sub_ strdomain - Private network access subdomain name.
- modify_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- outer_
sub_ strdomain - Public network access subdomain name.
- usage_
plan_ Sequence[Apilists Gateway Service Usage Plan List] - A list of attach usage plans.
- api
Lists List<Property Map> - A list of APIs.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id String
- The provider-assigned unique ID for this managed resource.
- inner
Http NumberPort - Port number for http access over private network.
- inner
Https NumberPort - Port number for https access over private network.
- internal
Sub StringDomain - Private network access subdomain name.
- modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- outer
Sub StringDomain - Public network access subdomain name.
- usage
Plan List<Property Map>Lists - A list of attach usage plans.
Look up Existing ApiGatewayService Resource
Get an existing ApiGatewayService 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?: ApiGatewayServiceState, opts?: CustomResourceOptions): ApiGatewayService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_gateway_service_id: Optional[str] = None,
api_lists: Optional[Sequence[ApiGatewayServiceApiListArgs]] = None,
create_time: Optional[str] = None,
exclusive_set_name: Optional[str] = None,
inner_http_port: Optional[float] = None,
inner_https_port: Optional[float] = None,
instance_id: Optional[str] = None,
internal_sub_domain: Optional[str] = None,
ip_version: Optional[str] = None,
modify_time: Optional[str] = None,
net_types: Optional[Sequence[str]] = None,
outer_sub_domain: Optional[str] = None,
pre_limit: Optional[float] = None,
protocol: Optional[str] = None,
release_limit: Optional[float] = None,
service_desc: Optional[str] = None,
service_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
test_limit: Optional[float] = None,
uniq_vpc_id: Optional[str] = None,
usage_plan_lists: Optional[Sequence[ApiGatewayServiceUsagePlanListArgs]] = None) -> ApiGatewayService
func GetApiGatewayService(ctx *Context, name string, id IDInput, state *ApiGatewayServiceState, opts ...ResourceOption) (*ApiGatewayService, error)
public static ApiGatewayService Get(string name, Input<string> id, ApiGatewayServiceState? state, CustomResourceOptions? opts = null)
public static ApiGatewayService get(String name, Output<String> id, ApiGatewayServiceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ApiGatewayService 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.
- Api
Gateway stringService Id - ID of the resource.
- Api
Lists List<ApiGateway Service Api List> - A list of APIs.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- Inner
Http doublePort - Port number for http access over private network.
- Inner
Https doublePort - Port number for https access over private network.
- Instance
Id string - Exclusive instance ID.
- Internal
Sub stringDomain - Private network access subdomain name.
- Ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Net
Types List<string> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - Outer
Sub stringDomain - Public network access subdomain name.
- Pre
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - Release
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Service
Desc string - Custom service description.
- Service
Name string - Custom service name.
- Dictionary<string, string>
- Tag description list.
- Test
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Uniq
Vpc stringId - VPC ID.
- Usage
Plan List<ApiLists Gateway Service Usage Plan List> - A list of attach usage plans.
- Api
Gateway stringService Id - ID of the resource.
- Api
Lists []ApiGateway Service Api List Args - A list of APIs.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- Inner
Http float64Port - Port number for http access over private network.
- Inner
Https float64Port - Port number for https access over private network.
- Instance
Id string - Exclusive instance ID.
- Internal
Sub stringDomain - Private network access subdomain name.
- Ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Net
Types []string - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - Outer
Sub stringDomain - Public network access subdomain name.
- Pre
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - Release
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Service
Desc string - Custom service description.
- Service
Name string - Custom service name.
- map[string]string
- Tag description list.
- Test
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Uniq
Vpc stringId - VPC ID.
- Usage
Plan []ApiLists Gateway Service Usage Plan List Args - A list of attach usage plans.
- api
Gateway StringService Id - ID of the resource.
- api
Lists List<ApiGateway Service Api List> - A list of APIs.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- exclusive
Set StringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- inner
Http DoublePort - Port number for http access over private network.
- inner
Https DoublePort - Port number for https access over private network.
- instance
Id String - Exclusive instance ID.
- internal
Sub StringDomain - Private network access subdomain name.
- ip
Version String - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- net
Types List<String> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - outer
Sub StringDomain - Public network access subdomain name.
- pre
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- Service frontend request type. Valid values:
http
,https
,http&https
. - release
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc String - Custom service description.
- service
Name String - Custom service name.
- Map<String,String>
- Tag description list.
- test
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc StringId - VPC ID.
- usage
Plan List<ApiLists Gateway Service Usage Plan List> - A list of attach usage plans.
- api
Gateway stringService Id - ID of the resource.
- api
Lists ApiGateway Service Api List[] - A list of APIs.
- create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- exclusive
Set stringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- inner
Http numberPort - Port number for http access over private network.
- inner
Https numberPort - Port number for https access over private network.
- instance
Id string - Exclusive instance ID.
- internal
Sub stringDomain - Private network access subdomain name.
- ip
Version string - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- net
Types string[] - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - outer
Sub stringDomain - Public network access subdomain name.
- pre
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol string
- Service frontend request type. Valid values:
http
,https
,http&https
. - release
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc string - Custom service description.
- service
Name string - Custom service name.
- {[key: string]: string}
- Tag description list.
- test
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc stringId - VPC ID.
- usage
Plan ApiLists Gateway Service Usage Plan List[] - A list of attach usage plans.
- api_
gateway_ strservice_ id - ID of the resource.
- api_
lists Sequence[ApiGateway Service Api List Args] - A list of APIs.
- create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- exclusive_
set_ strname - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- inner_
http_ floatport - Port number for http access over private network.
- inner_
https_ floatport - Port number for https access over private network.
- instance_
id str - Exclusive instance ID.
- internal_
sub_ strdomain - Private network access subdomain name.
- ip_
version str - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - modify_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- net_
types Sequence[str] - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - outer_
sub_ strdomain - Public network access subdomain name.
- pre_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol str
- Service frontend request type. Valid values:
http
,https
,http&https
. - release_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service_
desc str - Custom service description.
- service_
name str - Custom service name.
- Mapping[str, str]
- Tag description list.
- test_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq_
vpc_ strid - VPC ID.
- usage_
plan_ Sequence[Apilists Gateway Service Usage Plan List Args] - A list of attach usage plans.
- api
Gateway StringService Id - ID of the resource.
- api
Lists List<Property Map> - A list of APIs.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- exclusive
Set StringName - It has been deprecated from version 1.81.9. Self-deployed cluster name, which is used to specify the self-deployed cluster where the service is to be created.
- inner
Http NumberPort - Port number for http access over private network.
- inner
Https NumberPort - Port number for https access over private network.
- instance
Id String - Exclusive instance ID.
- internal
Sub StringDomain - Private network access subdomain name.
- ip
Version String - IP version number. Valid values:
IPv4
,IPv6
. Default value:IPv4
. - modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- net
Types List<String> - Network type list, which is used to specify the supported network types. Valid values:
INNER
,OUTER
.INNER
indicates access over private network, andOUTER
indicates access over public network. - outer
Sub StringDomain - Public network access subdomain name.
- pre
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- Service frontend request type. Valid values:
http
,https
,http&https
. - release
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - service
Desc String - Custom service description.
- service
Name String - Custom service name.
- Map<String>
- Tag description list.
- test
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - uniq
Vpc StringId - VPC ID.
- usage
Plan List<Property Map>Lists - A list of attach usage plans.
Supporting Types
ApiGatewayServiceApiList, ApiGatewayServiceApiListArgs
ApiGatewayServiceUsagePlanList, ApiGatewayServiceUsagePlanListArgs
- Api
Id string - ID of the API.
- Bind
Type string - Binding type.
- Usage
Plan stringId - ID of the usage plan.
- Usage
Plan stringName - Name of the usage plan.
- Api
Id string - ID of the API.
- Bind
Type string - Binding type.
- Usage
Plan stringId - ID of the usage plan.
- Usage
Plan stringName - Name of the usage plan.
- api
Id String - ID of the API.
- bind
Type String - Binding type.
- usage
Plan StringId - ID of the usage plan.
- usage
Plan StringName - Name of the usage plan.
- api
Id string - ID of the API.
- bind
Type string - Binding type.
- usage
Plan stringId - ID of the usage plan.
- usage
Plan stringName - Name of the usage plan.
- api_
id str - ID of the API.
- bind_
type str - Binding type.
- usage_
plan_ strid - ID of the usage plan.
- usage_
plan_ strname - Name of the usage plan.
- api
Id String - ID of the API.
- bind
Type String - Binding type.
- usage
Plan StringId - ID of the usage plan.
- usage
Plan StringName - Name of the usage plan.
Import
API gateway service can be imported using the id, e.g.
$ pulumi import tencentcloud:index/apiGatewayService:ApiGatewayService service service-pg6ud8pa
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.