flexibleengine.ApigInstance
Explore with Pulumi AI
Manages an APIG dedicated instance resource within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const instanceName = config.requireObject("instanceName");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
cidr: "192.168.0.0/24",
gatewayIp: "192.168.0.1",
vpcId: exampleVpc.vpcV1Id,
});
const exampleSecgroup = new flexibleengine.NetworkingSecgroupV2("exampleSecgroup", {description: "My neutron security group"});
const exampleEip = new flexibleengine.VpcEip("exampleEip", {
publicip: {
type: "5_bgp",
},
bandwidth: {
name: "test",
size: 10,
shareType: "PER",
},
});
const az = flexibleengine.getAvailabilityZones({});
const exampleApigInstance = new flexibleengine.ApigInstance("exampleApigInstance", {
edition: "BASIC",
vpcId: exampleVpc.vpcV1Id,
subnetId: exampleSubnet.vpcSubnetV1Id,
securityGroupId: exampleSecgroup.networkingSecgroupV2Id,
maintainBegin: "06:00:00",
description: "Created by script",
bandwidthSize: 3,
eipId: exampleEip.vpcEipId,
availableZones: [
az.then(az => az.names?.[0]),
az.then(az => az.names?.[1]),
],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
instance_name = config.require_object("instanceName")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
cidr="192.168.0.0/24",
gateway_ip="192.168.0.1",
vpc_id=example_vpc.vpc_v1_id)
example_secgroup = flexibleengine.NetworkingSecgroupV2("exampleSecgroup", description="My neutron security group")
example_eip = flexibleengine.VpcEip("exampleEip",
publicip={
"type": "5_bgp",
},
bandwidth={
"name": "test",
"size": 10,
"share_type": "PER",
})
az = flexibleengine.get_availability_zones()
example_apig_instance = flexibleengine.ApigInstance("exampleApigInstance",
edition="BASIC",
vpc_id=example_vpc.vpc_v1_id,
subnet_id=example_subnet.vpc_subnet_v1_id,
security_group_id=example_secgroup.networking_secgroup_v2_id,
maintain_begin="06:00:00",
description="Created by script",
bandwidth_size=3,
eip_id=example_eip.vpc_eip_id,
available_zones=[
az.names[0],
az.names[1],
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceName := cfg.RequireObject("instanceName")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
Cidr: pulumi.String("192.168.0.0/24"),
GatewayIp: pulumi.String("192.168.0.1"),
VpcId: exampleVpc.VpcV1Id,
})
if err != nil {
return err
}
exampleSecgroup, err := flexibleengine.NewNetworkingSecgroupV2(ctx, "exampleSecgroup", &flexibleengine.NetworkingSecgroupV2Args{
Description: pulumi.String("My neutron security group"),
})
if err != nil {
return err
}
exampleEip, err := flexibleengine.NewVpcEip(ctx, "exampleEip", &flexibleengine.VpcEipArgs{
Publicip: &flexibleengine.VpcEipPublicipArgs{
Type: pulumi.String("5_bgp"),
},
Bandwidth: &flexibleengine.VpcEipBandwidthArgs{
Name: pulumi.String("test"),
Size: pulumi.Float64(10),
ShareType: pulumi.String("PER"),
},
})
if err != nil {
return err
}
az, err := flexibleengine.GetAvailabilityZones(ctx, &flexibleengine.GetAvailabilityZonesArgs{}, nil)
if err != nil {
return err
}
_, err = flexibleengine.NewApigInstance(ctx, "exampleApigInstance", &flexibleengine.ApigInstanceArgs{
Edition: pulumi.String("BASIC"),
VpcId: exampleVpc.VpcV1Id,
SubnetId: exampleSubnet.VpcSubnetV1Id,
SecurityGroupId: exampleSecgroup.NetworkingSecgroupV2Id,
MaintainBegin: pulumi.String("06:00:00"),
Description: pulumi.String("Created by script"),
BandwidthSize: pulumi.Float64(3),
EipId: exampleEip.VpcEipId,
AvailableZones: pulumi.StringArray{
pulumi.String(az.Names[0]),
pulumi.String(az.Names[1]),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceName = config.RequireObject<dynamic>("instanceName");
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
{
Cidr = "192.168.0.0/24",
GatewayIp = "192.168.0.1",
VpcId = exampleVpc.VpcV1Id,
});
var exampleSecgroup = new Flexibleengine.NetworkingSecgroupV2("exampleSecgroup", new()
{
Description = "My neutron security group",
});
var exampleEip = new Flexibleengine.VpcEip("exampleEip", new()
{
Publicip = new Flexibleengine.Inputs.VpcEipPublicipArgs
{
Type = "5_bgp",
},
Bandwidth = new Flexibleengine.Inputs.VpcEipBandwidthArgs
{
Name = "test",
Size = 10,
ShareType = "PER",
},
});
var az = Flexibleengine.GetAvailabilityZones.Invoke();
var exampleApigInstance = new Flexibleengine.ApigInstance("exampleApigInstance", new()
{
Edition = "BASIC",
VpcId = exampleVpc.VpcV1Id,
SubnetId = exampleSubnet.VpcSubnetV1Id,
SecurityGroupId = exampleSecgroup.NetworkingSecgroupV2Id,
MaintainBegin = "06:00:00",
Description = "Created by script",
BandwidthSize = 3,
EipId = exampleEip.VpcEipId,
AvailableZones = new[]
{
az.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Names[0]),
az.Apply(getAvailabilityZonesResult => getAvailabilityZonesResult.Names[1]),
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.VpcSubnetV1;
import com.pulumi.flexibleengine.VpcSubnetV1Args;
import com.pulumi.flexibleengine.NetworkingSecgroupV2;
import com.pulumi.flexibleengine.NetworkingSecgroupV2Args;
import com.pulumi.flexibleengine.VpcEip;
import com.pulumi.flexibleengine.VpcEipArgs;
import com.pulumi.flexibleengine.inputs.VpcEipPublicipArgs;
import com.pulumi.flexibleengine.inputs.VpcEipBandwidthArgs;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetAvailabilityZonesArgs;
import com.pulumi.flexibleengine.ApigInstance;
import com.pulumi.flexibleengine.ApigInstanceArgs;
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 config = ctx.config();
final var instanceName = config.get("instanceName");
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
.cidr("192.168.0.0/24")
.gatewayIp("192.168.0.1")
.vpcId(exampleVpc.vpcV1Id())
.build());
var exampleSecgroup = new NetworkingSecgroupV2("exampleSecgroup", NetworkingSecgroupV2Args.builder()
.description("My neutron security group")
.build());
var exampleEip = new VpcEip("exampleEip", VpcEipArgs.builder()
.publicip(VpcEipPublicipArgs.builder()
.type("5_bgp")
.build())
.bandwidth(VpcEipBandwidthArgs.builder()
.name("test")
.size(10)
.shareType("PER")
.build())
.build());
final var az = FlexibleengineFunctions.getAvailabilityZones();
var exampleApigInstance = new ApigInstance("exampleApigInstance", ApigInstanceArgs.builder()
.edition("BASIC")
.vpcId(exampleVpc.vpcV1Id())
.subnetId(exampleSubnet.vpcSubnetV1Id())
.securityGroupId(exampleSecgroup.networkingSecgroupV2Id())
.maintainBegin("06:00:00")
.description("Created by script")
.bandwidthSize(3)
.eipId(exampleEip.vpcEipId())
.availableZones(
az.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[0]),
az.applyValue(getAvailabilityZonesResult -> getAvailabilityZonesResult.names()[1]))
.build());
}
}
configuration:
instanceName:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
exampleSubnet:
type: flexibleengine:VpcSubnetV1
properties:
cidr: 192.168.0.0/24
gatewayIp: 192.168.0.1
vpcId: ${exampleVpc.vpcV1Id}
exampleSecgroup:
type: flexibleengine:NetworkingSecgroupV2
properties:
description: My neutron security group
exampleEip:
type: flexibleengine:VpcEip
properties:
publicip:
type: 5_bgp
bandwidth:
name: test
size: 10
shareType: PER
exampleApigInstance:
type: flexibleengine:ApigInstance
properties:
edition: BASIC
vpcId: ${exampleVpc.vpcV1Id}
subnetId: ${exampleSubnet.vpcSubnetV1Id}
securityGroupId: ${exampleSecgroup.networkingSecgroupV2Id}
maintainBegin: 06:00:00
description: Created by script
bandwidthSize: 3
eipId: ${exampleEip.vpcEipId}
availableZones:
- ${az.names[0]}
- ${az.names[1]}
variables:
az:
fn::invoke:
function: flexibleengine:getAvailabilityZones
arguments: {}
Create ApigInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApigInstance(name: string, args: ApigInstanceArgs, opts?: CustomResourceOptions);
@overload
def ApigInstance(resource_name: str,
args: ApigInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApigInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
edition: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
security_group_id: Optional[str] = None,
ipv6_enable: Optional[bool] = None,
name: Optional[str] = None,
eip_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
apig_instance_id: Optional[str] = None,
loadbalancer_provider: Optional[str] = None,
maintain_begin: Optional[str] = None,
description: Optional[str] = None,
region: Optional[str] = None,
bandwidth_size: Optional[float] = None,
available_zones: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ApigInstanceTimeoutsArgs] = None,
availability_zones: Optional[Sequence[str]] = None,
vpcep_service_name: Optional[str] = None)
func NewApigInstance(ctx *Context, name string, args ApigInstanceArgs, opts ...ResourceOption) (*ApigInstance, error)
public ApigInstance(string name, ApigInstanceArgs args, CustomResourceOptions? opts = null)
public ApigInstance(String name, ApigInstanceArgs args)
public ApigInstance(String name, ApigInstanceArgs args, CustomResourceOptions options)
type: flexibleengine:ApigInstance
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 ApigInstanceArgs
- 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 ApigInstanceArgs
- 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 ApigInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApigInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApigInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var apigInstanceResource = new Flexibleengine.ApigInstance("apigInstanceResource", new()
{
Edition = "string",
VpcId = "string",
SubnetId = "string",
SecurityGroupId = "string",
Ipv6Enable = false,
Name = "string",
EipId = "string",
EnterpriseProjectId = "string",
ApigInstanceId = "string",
LoadbalancerProvider = "string",
MaintainBegin = "string",
Description = "string",
Region = "string",
BandwidthSize = 0,
AvailableZones = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Flexibleengine.Inputs.ApigInstanceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
AvailabilityZones = new[]
{
"string",
},
VpcepServiceName = "string",
});
example, err := flexibleengine.NewApigInstance(ctx, "apigInstanceResource", &flexibleengine.ApigInstanceArgs{
Edition: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
Ipv6Enable: pulumi.Bool(false),
Name: pulumi.String("string"),
EipId: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
ApigInstanceId: pulumi.String("string"),
LoadbalancerProvider: pulumi.String("string"),
MaintainBegin: pulumi.String("string"),
Description: pulumi.String("string"),
Region: pulumi.String("string"),
BandwidthSize: pulumi.Float64(0),
AvailableZones: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &flexibleengine.ApigInstanceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
VpcepServiceName: pulumi.String("string"),
})
var apigInstanceResource = new ApigInstance("apigInstanceResource", ApigInstanceArgs.builder()
.edition("string")
.vpcId("string")
.subnetId("string")
.securityGroupId("string")
.ipv6Enable(false)
.name("string")
.eipId("string")
.enterpriseProjectId("string")
.apigInstanceId("string")
.loadbalancerProvider("string")
.maintainBegin("string")
.description("string")
.region("string")
.bandwidthSize(0)
.availableZones("string")
.tags(Map.of("string", "string"))
.timeouts(ApigInstanceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.availabilityZones("string")
.vpcepServiceName("string")
.build());
apig_instance_resource = flexibleengine.ApigInstance("apigInstanceResource",
edition="string",
vpc_id="string",
subnet_id="string",
security_group_id="string",
ipv6_enable=False,
name="string",
eip_id="string",
enterprise_project_id="string",
apig_instance_id="string",
loadbalancer_provider="string",
maintain_begin="string",
description="string",
region="string",
bandwidth_size=0,
available_zones=["string"],
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
availability_zones=["string"],
vpcep_service_name="string")
const apigInstanceResource = new flexibleengine.ApigInstance("apigInstanceResource", {
edition: "string",
vpcId: "string",
subnetId: "string",
securityGroupId: "string",
ipv6Enable: false,
name: "string",
eipId: "string",
enterpriseProjectId: "string",
apigInstanceId: "string",
loadbalancerProvider: "string",
maintainBegin: "string",
description: "string",
region: "string",
bandwidthSize: 0,
availableZones: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
availabilityZones: ["string"],
vpcepServiceName: "string",
});
type: flexibleengine:ApigInstance
properties:
apigInstanceId: string
availabilityZones:
- string
availableZones:
- string
bandwidthSize: 0
description: string
edition: string
eipId: string
enterpriseProjectId: string
ipv6Enable: false
loadbalancerProvider: string
maintainBegin: string
name: string
region: string
securityGroupId: string
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
vpcId: string
vpcepServiceName: string
ApigInstance 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 ApigInstance resource accepts the following input properties:
- Edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- Security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- Subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Apig
Instance stringId - ID of the APIG dedicated instance.
- Availability
Zones List<string> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Available
Zones List<string> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- Bandwidth
Size double - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- Description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- Eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- Enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- Ipv6Enable bool
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - Loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- Maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- Name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- Region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Dictionary<string, string>
- Timeouts
Apig
Instance Timeouts - Vpcep
Service stringName - Name of the VPC endpoint service.
- Edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- Security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- Subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Apig
Instance stringId - ID of the APIG dedicated instance.
- Availability
Zones []string - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Available
Zones []string - schema: Deprecated; The name list of availability zones for the dedicated instance.
- Bandwidth
Size float64 - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- Description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- Eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- Enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- Ipv6Enable bool
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - Loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- Maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- Name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- Region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- map[string]string
- Timeouts
Apig
Instance Timeouts Args - Vpcep
Service stringName - Name of the VPC endpoint service.
- edition String
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- security
Group StringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- subnet
Id String - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Id String - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- apig
Instance StringId - ID of the APIG dedicated instance.
- availability
Zones List<String> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones List<String> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size Double - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- description String
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- eip
Id String - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project StringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ipv6Enable Boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider String Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin String - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- name String
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region String
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Map<String,String>
- timeouts
Apig
Instance Timeouts - vpcep
Service StringName - Name of the VPC endpoint service.
- edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- apig
Instance stringId - ID of the APIG dedicated instance.
- availability
Zones string[] - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones string[] - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size number - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ipv6Enable boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- {[key: string]: string}
- timeouts
Apig
Instance Timeouts - vpcep
Service stringName - Name of the VPC endpoint service.
- edition str
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- security_
group_ strid - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- subnet_
id str - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc_
id str - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- apig_
instance_ strid - ID of the APIG dedicated instance.
- availability_
zones Sequence[str] - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available_
zones Sequence[str] - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth_
size float - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- description str
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- eip_
id str - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise_
project_ strid - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ipv6_
enable bool - Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer_
provider str Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain_
begin str - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- name str
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region str
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Mapping[str, str]
- timeouts
Apig
Instance Timeouts Args - vpcep_
service_ strname - Name of the VPC endpoint service.
- edition String
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- security
Group StringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- subnet
Id String - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Id String - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- apig
Instance StringId - ID of the APIG dedicated instance.
- availability
Zones List<String> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones List<String> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size Number - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- description String
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- eip
Id String - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project StringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ipv6Enable Boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider String Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin String - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- name String
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region String
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Map<String>
- timeouts Property Map
- vpcep
Service StringName - Name of the VPC endpoint service.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApigInstance resource produces the following output properties:
- Create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- Created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- Egress
Address string - The egress (nat) public ip address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Address string - The ingress eip address.
- Maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- Status string
- Status of the APIG dedicated instance.
- Supported
Features List<string> - The supported features of the APIG dedicated instance.
- Vpc
Ingress stringAddress - The ingress private ip address of vpc.
- Vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- Create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- Created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- Egress
Address string - The egress (nat) public ip address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Address string - The ingress eip address.
- Maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- Status string
- Status of the APIG dedicated instance.
- Supported
Features []string - The supported features of the APIG dedicated instance.
- Vpc
Ingress stringAddress - The ingress private ip address of vpc.
- Vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- create
Time String - schema: Deprecated; Time when the dedicated instance is created.
- created
At String - Time when the dedicated instance is created, in RFC-3339 format.
- egress
Address String - The egress (nat) public ip address.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Address String - The ingress eip address.
- maintain
End String - End time of the maintenance time window, 4-hour difference between the start time and end time.
- status String
- Status of the APIG dedicated instance.
- supported
Features List<String> - The supported features of the APIG dedicated instance.
- vpc
Ingress StringAddress - The ingress private ip address of vpc.
- vpcep
Service StringAddress - The address (full name) of the VPC endpoint service.
- create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- egress
Address string - The egress (nat) public ip address.
- id string
- The provider-assigned unique ID for this managed resource.
- ingress
Address string - The ingress eip address.
- maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- status string
- Status of the APIG dedicated instance.
- supported
Features string[] - The supported features of the APIG dedicated instance.
- vpc
Ingress stringAddress - The ingress private ip address of vpc.
- vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- create_
time str - schema: Deprecated; Time when the dedicated instance is created.
- created_
at str - Time when the dedicated instance is created, in RFC-3339 format.
- egress_
address str - The egress (nat) public ip address.
- id str
- The provider-assigned unique ID for this managed resource.
- ingress_
address str - The ingress eip address.
- maintain_
end str - End time of the maintenance time window, 4-hour difference between the start time and end time.
- status str
- Status of the APIG dedicated instance.
- supported_
features Sequence[str] - The supported features of the APIG dedicated instance.
- vpc_
ingress_ straddress - The ingress private ip address of vpc.
- vpcep_
service_ straddress - The address (full name) of the VPC endpoint service.
- create
Time String - schema: Deprecated; Time when the dedicated instance is created.
- created
At String - Time when the dedicated instance is created, in RFC-3339 format.
- egress
Address String - The egress (nat) public ip address.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Address String - The ingress eip address.
- maintain
End String - End time of the maintenance time window, 4-hour difference between the start time and end time.
- status String
- Status of the APIG dedicated instance.
- supported
Features List<String> - The supported features of the APIG dedicated instance.
- vpc
Ingress StringAddress - The ingress private ip address of vpc.
- vpcep
Service StringAddress - The address (full name) of the VPC endpoint service.
Look up Existing ApigInstance Resource
Get an existing ApigInstance 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?: ApigInstanceState, opts?: CustomResourceOptions): ApigInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apig_instance_id: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
available_zones: Optional[Sequence[str]] = None,
bandwidth_size: Optional[float] = None,
create_time: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
edition: Optional[str] = None,
egress_address: Optional[str] = None,
eip_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
ingress_address: Optional[str] = None,
ipv6_enable: Optional[bool] = None,
loadbalancer_provider: Optional[str] = None,
maintain_begin: Optional[str] = None,
maintain_end: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
supported_features: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ApigInstanceTimeoutsArgs] = None,
vpc_id: Optional[str] = None,
vpc_ingress_address: Optional[str] = None,
vpcep_service_address: Optional[str] = None,
vpcep_service_name: Optional[str] = None) -> ApigInstance
func GetApigInstance(ctx *Context, name string, id IDInput, state *ApigInstanceState, opts ...ResourceOption) (*ApigInstance, error)
public static ApigInstance Get(string name, Input<string> id, ApigInstanceState? state, CustomResourceOptions? opts = null)
public static ApigInstance get(String name, Output<String> id, ApigInstanceState state, CustomResourceOptions options)
resources: _: type: flexibleengine:ApigInstance 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.
- Apig
Instance stringId - ID of the APIG dedicated instance.
- Availability
Zones List<string> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Available
Zones List<string> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- Bandwidth
Size double - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- Create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- Created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- Description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- Edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- Egress
Address string - The egress (nat) public ip address.
- Eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- Enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- Ingress
Address string - The ingress eip address.
- Ipv6Enable bool
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - Loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- Maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- Maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- Name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- Region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- Status string
- Status of the APIG dedicated instance.
- Subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Supported
Features List<string> - The supported features of the APIG dedicated instance.
- Dictionary<string, string>
- Timeouts
Apig
Instance Timeouts - Vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Vpc
Ingress stringAddress - The ingress private ip address of vpc.
- Vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- Vpcep
Service stringName - Name of the VPC endpoint service.
- Apig
Instance stringId - ID of the APIG dedicated instance.
- Availability
Zones []string - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Available
Zones []string - schema: Deprecated; The name list of availability zones for the dedicated instance.
- Bandwidth
Size float64 - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- Create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- Created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- Description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- Edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- Egress
Address string - The egress (nat) public ip address.
- Eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- Enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- Ingress
Address string - The ingress eip address.
- Ipv6Enable bool
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - Loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- Maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- Maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- Name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- Region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- Security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- Status string
- Status of the APIG dedicated instance.
- Subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Supported
Features []string - The supported features of the APIG dedicated instance.
- map[string]string
- Timeouts
Apig
Instance Timeouts Args - Vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- Vpc
Ingress stringAddress - The ingress private ip address of vpc.
- Vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- Vpcep
Service stringName - Name of the VPC endpoint service.
- apig
Instance StringId - ID of the APIG dedicated instance.
- availability
Zones List<String> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones List<String> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size Double - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- create
Time String - schema: Deprecated; Time when the dedicated instance is created.
- created
At String - Time when the dedicated instance is created, in RFC-3339 format.
- description String
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- edition String
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- egress
Address String - The egress (nat) public ip address.
- eip
Id String - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project StringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ingress
Address String - The ingress eip address.
- ipv6Enable Boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider String Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin String - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- maintain
End String - End time of the maintenance time window, 4-hour difference between the start time and end time.
- name String
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region String
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- security
Group StringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- status String
- Status of the APIG dedicated instance.
- subnet
Id String - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- supported
Features List<String> - The supported features of the APIG dedicated instance.
- Map<String,String>
- timeouts
Apig
Instance Timeouts - vpc
Id String - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Ingress StringAddress - The ingress private ip address of vpc.
- vpcep
Service StringAddress - The address (full name) of the VPC endpoint service.
- vpcep
Service StringName - Name of the VPC endpoint service.
- apig
Instance stringId - ID of the APIG dedicated instance.
- availability
Zones string[] - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones string[] - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size number - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- create
Time string - schema: Deprecated; Time when the dedicated instance is created.
- created
At string - Time when the dedicated instance is created, in RFC-3339 format.
- description string
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- edition string
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- egress
Address string - The egress (nat) public ip address.
- eip
Id string - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project stringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ingress
Address string - The ingress eip address.
- ipv6Enable boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider string Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin string - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- maintain
End string - End time of the maintenance time window, 4-hour difference between the start time and end time.
- name string
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region string
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- security
Group stringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- status string
- Status of the APIG dedicated instance.
- subnet
Id string - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- supported
Features string[] - The supported features of the APIG dedicated instance.
- {[key: string]: string}
- timeouts
Apig
Instance Timeouts - vpc
Id string - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Ingress stringAddress - The ingress private ip address of vpc.
- vpcep
Service stringAddress - The address (full name) of the VPC endpoint service.
- vpcep
Service stringName - Name of the VPC endpoint service.
- apig_
instance_ strid - ID of the APIG dedicated instance.
- availability_
zones Sequence[str] - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available_
zones Sequence[str] - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth_
size float - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- create_
time str - schema: Deprecated; Time when the dedicated instance is created.
- created_
at str - Time when the dedicated instance is created, in RFC-3339 format.
- description str
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- edition str
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- egress_
address str - The egress (nat) public ip address.
- eip_
id str - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise_
project_ strid - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ingress_
address str - The ingress eip address.
- ipv6_
enable bool - Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer_
provider str Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain_
begin str - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- maintain_
end str - End time of the maintenance time window, 4-hour difference between the start time and end time.
- name str
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region str
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- security_
group_ strid - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- status str
- Status of the APIG dedicated instance.
- subnet_
id str - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- supported_
features Sequence[str] - The supported features of the APIG dedicated instance.
- Mapping[str, str]
- timeouts
Apig
Instance Timeouts Args - vpc_
id str - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc_
ingress_ straddress - The ingress private ip address of vpc.
- vpcep_
service_ straddress - The address (full name) of the VPC endpoint service.
- vpcep_
service_ strname - Name of the VPC endpoint service.
- apig
Instance StringId - ID of the APIG dedicated instance.
- availability
Zones List<String> - Specifies an array of available zone names for the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- available
Zones List<String> - schema: Deprecated; The name list of availability zones for the dedicated instance.
- bandwidth
Size Number - Specifies the egress bandwidth size of the APIG dedicated instance. The range of valid value is from 1 to 2000.
- create
Time String - schema: Deprecated; Time when the dedicated instance is created.
- created
At String - Time when the dedicated instance is created, in RFC-3339 format.
- description String
- Specifies the description about the APIG dedicated instance. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed.
- edition String
- Specifies the edition of the APIG dedicated instance. The supported editions are as follows: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM. Changing this will create a new APIG dedicated instance resource.
- egress
Address String - The egress (nat) public ip address.
- eip
Id String - Specifies the eip ID associated with the APIG dedicated instance.
- enterprise
Project StringId - Specifies the enterprise project ID to which the dedicated instance belongs. This parameter is required for enterprise users. Changing this will create a new resource.
- ingress
Address String - The ingress eip address.
- ipv6Enable Boolean
- Specifies whether public access with an IPv6 address is supported.
Changing this will create a new resource. - loadbalancer
Provider String Specifies the provider type of load balancer used by the dedicated instance. The valid values are as follows:
- lvs: Linux virtual server.
- elb: Elastic load balance.
Changing this will create a new resource.
- maintain
Begin String - Specifies a start time of the maintenance time window in the format 'xx:00:00'. The value of xx can be 02, 06, 10, 14, 18 or 22.
- maintain
End String - End time of the maintenance time window, 4-hour difference between the start time and end time.
- name String
- Specifies the name of the API dedicated instance. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.
- region String
- Specifies the region in which to create the APIG dedicated instance resource. If omitted, the provider-level region will be used. Changing this will create a new APIG dedicated instance resource.
- security
Group StringId - Specifies the ID of the security group to which the APIG dedicated instance belongs to.
- status String
- Status of the APIG dedicated instance.
- subnet
Id String - Specifies the ID of the VPC Subnet used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- supported
Features List<String> - The supported features of the APIG dedicated instance.
- Map<String>
- timeouts Property Map
- vpc
Id String - Specifies the ID of the VPC used to create the APIG dedicated instance. Changing this will create a new APIG dedicated instance resource.
- vpc
Ingress StringAddress - The ingress private ip address of vpc.
- vpcep
Service StringAddress - The address (full name) of the VPC endpoint service.
- vpcep
Service StringName - Name of the VPC endpoint service.
Supporting Types
ApigInstanceTimeouts, ApigInstanceTimeoutsArgs
Import
APIG Dedicated Instances can be imported by their id
, e.g.
$ pulumi import flexibleengine:index/apigInstance:ApigInstance test de379eed30aa4d31a84f426ea3c7ef4e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.