1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. apigateway
  5. Instance
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.apigateway.Instance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a Api Gateway Instance resource.

    For information about Api Gateway Instance and how to use it, see What is Instance.

    NOTE: Available since v1.218.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = new alicloud.apigateway.Instance("default", {
        instanceName: name,
        instanceSpec: "api.s1.small",
        httpsPolicy: "HTTPS2_TLS1_0",
        zoneId: "cn-hangzhou-MAZ6",
        paymentType: "PayAsYouGo",
        userVpcId: "1709116870",
        instanceType: "normal",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.apigateway.Instance("default",
        instance_name=name,
        instance_spec="api.s1.small",
        https_policy="HTTPS2_TLS1_0",
        zone_id="cn-hangzhou-MAZ6",
        payment_type="PayAsYouGo",
        user_vpc_id="1709116870",
        instance_type="normal")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway"
    	"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, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := apigateway.NewInstance(ctx, "default", &apigateway.InstanceArgs{
    			InstanceName: pulumi.String(name),
    			InstanceSpec: pulumi.String("api.s1.small"),
    			HttpsPolicy:  pulumi.String("HTTPS2_TLS1_0"),
    			ZoneId:       pulumi.String("cn-hangzhou-MAZ6"),
    			PaymentType:  pulumi.String("PayAsYouGo"),
    			UserVpcId:    pulumi.String("1709116870"),
    			InstanceType: pulumi.String("normal"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new AliCloud.ApiGateway.Instance("default", new()
        {
            InstanceName = name,
            InstanceSpec = "api.s1.small",
            HttpsPolicy = "HTTPS2_TLS1_0",
            ZoneId = "cn-hangzhou-MAZ6",
            PaymentType = "PayAsYouGo",
            UserVpcId = "1709116870",
            InstanceType = "normal",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.apigateway.Instance;
    import com.pulumi.alicloud.apigateway.InstanceArgs;
    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 name = config.get("name").orElse("terraform-example");
            var default_ = new Instance("default", InstanceArgs.builder()
                .instanceName(name)
                .instanceSpec("api.s1.small")
                .httpsPolicy("HTTPS2_TLS1_0")
                .zoneId("cn-hangzhou-MAZ6")
                .paymentType("PayAsYouGo")
                .userVpcId("1709116870")
                .instanceType("normal")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:apigateway:Instance
        properties:
          instanceName: ${name}
          instanceSpec: api.s1.small
          httpsPolicy: HTTPS2_TLS1_0
          zoneId: cn-hangzhou-MAZ6
          paymentType: PayAsYouGo
          userVpcId: '1709116870'
          instanceType: normal
    

    Create Instance Resource

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

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 https_policy: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 instance_spec: Optional[str] = None,
                 payment_type: Optional[str] = None,
                 duration: Optional[int] = None,
                 egress_ipv6_enable: Optional[bool] = None,
                 instance_type: Optional[str] = None,
                 pricing_cycle: Optional[str] = None,
                 support_ipv6: Optional[bool] = None,
                 user_vpc_id: Optional[str] = None,
                 vpc_slb_intranet_enable: Optional[bool] = None,
                 zone_id: Optional[str] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:apigateway:Instance
    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 InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    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 exampleinstanceResourceResourceFromApigatewayinstance = new AliCloud.ApiGateway.Instance("exampleinstanceResourceResourceFromApigatewayinstance", new()
    {
        HttpsPolicy = "string",
        InstanceName = "string",
        InstanceSpec = "string",
        PaymentType = "string",
        Duration = 0,
        EgressIpv6Enable = false,
        InstanceType = "string",
        PricingCycle = "string",
        SupportIpv6 = false,
        UserVpcId = "string",
        VpcSlbIntranetEnable = false,
        ZoneId = "string",
    });
    
    example, err := apigateway.NewInstance(ctx, "exampleinstanceResourceResourceFromApigatewayinstance", &apigateway.InstanceArgs{
    	HttpsPolicy:          pulumi.String("string"),
    	InstanceName:         pulumi.String("string"),
    	InstanceSpec:         pulumi.String("string"),
    	PaymentType:          pulumi.String("string"),
    	Duration:             pulumi.Int(0),
    	EgressIpv6Enable:     pulumi.Bool(false),
    	InstanceType:         pulumi.String("string"),
    	PricingCycle:         pulumi.String("string"),
    	SupportIpv6:          pulumi.Bool(false),
    	UserVpcId:            pulumi.String("string"),
    	VpcSlbIntranetEnable: pulumi.Bool(false),
    	ZoneId:               pulumi.String("string"),
    })
    
    var exampleinstanceResourceResourceFromApigatewayinstance = new Instance("exampleinstanceResourceResourceFromApigatewayinstance", InstanceArgs.builder()
        .httpsPolicy("string")
        .instanceName("string")
        .instanceSpec("string")
        .paymentType("string")
        .duration(0)
        .egressIpv6Enable(false)
        .instanceType("string")
        .pricingCycle("string")
        .supportIpv6(false)
        .userVpcId("string")
        .vpcSlbIntranetEnable(false)
        .zoneId("string")
        .build());
    
    exampleinstance_resource_resource_from_apigatewayinstance = alicloud.apigateway.Instance("exampleinstanceResourceResourceFromApigatewayinstance",
        https_policy="string",
        instance_name="string",
        instance_spec="string",
        payment_type="string",
        duration=0,
        egress_ipv6_enable=False,
        instance_type="string",
        pricing_cycle="string",
        support_ipv6=False,
        user_vpc_id="string",
        vpc_slb_intranet_enable=False,
        zone_id="string")
    
    const exampleinstanceResourceResourceFromApigatewayinstance = new alicloud.apigateway.Instance("exampleinstanceResourceResourceFromApigatewayinstance", {
        httpsPolicy: "string",
        instanceName: "string",
        instanceSpec: "string",
        paymentType: "string",
        duration: 0,
        egressIpv6Enable: false,
        instanceType: "string",
        pricingCycle: "string",
        supportIpv6: false,
        userVpcId: "string",
        vpcSlbIntranetEnable: false,
        zoneId: "string",
    });
    
    type: alicloud:apigateway:Instance
    properties:
        duration: 0
        egressIpv6Enable: false
        httpsPolicy: string
        instanceName: string
        instanceSpec: string
        instanceType: string
        paymentType: string
        pricingCycle: string
        supportIpv6: false
        userVpcId: string
        vpcSlbIntranetEnable: false
        zoneId: string
    

    Instance Resource Properties

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

    Inputs

    The Instance resource accepts the following input properties:

    HttpsPolicy string
    Https policy.
    InstanceName string
    Instance name.
    InstanceSpec string
    Instance type.
    PaymentType string
    The payment type of the resource.
    Duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    EgressIpv6Enable bool
    Does IPV6 Capability Support.
    InstanceType string
    Instance type-normal: traditional exclusive instance.
    PricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    SupportIpv6 bool
    Does ipv6 support.
    UserVpcId string
    User's VpcID.
    VpcSlbIntranetEnable bool
    Whether the slb of the Vpc supports.
    ZoneId string
    The zone where the instance is deployed.
    HttpsPolicy string
    Https policy.
    InstanceName string
    Instance name.
    InstanceSpec string
    Instance type.
    PaymentType string
    The payment type of the resource.
    Duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    EgressIpv6Enable bool
    Does IPV6 Capability Support.
    InstanceType string
    Instance type-normal: traditional exclusive instance.
    PricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    SupportIpv6 bool
    Does ipv6 support.
    UserVpcId string
    User's VpcID.
    VpcSlbIntranetEnable bool
    Whether the slb of the Vpc supports.
    ZoneId string
    The zone where the instance is deployed.
    httpsPolicy String
    Https policy.
    instanceName String
    Instance name.
    instanceSpec String
    Instance type.
    paymentType String
    The payment type of the resource.
    duration Integer

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable Boolean
    Does IPV6 Capability Support.
    instanceType String
    Instance type-normal: traditional exclusive instance.
    pricingCycle String

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    supportIpv6 Boolean
    Does ipv6 support.
    userVpcId String
    User's VpcID.
    vpcSlbIntranetEnable Boolean
    Whether the slb of the Vpc supports.
    zoneId String
    The zone where the instance is deployed.
    httpsPolicy string
    Https policy.
    instanceName string
    Instance name.
    instanceSpec string
    Instance type.
    paymentType string
    The payment type of the resource.
    duration number

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable boolean
    Does IPV6 Capability Support.
    instanceType string
    Instance type-normal: traditional exclusive instance.
    pricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    supportIpv6 boolean
    Does ipv6 support.
    userVpcId string
    User's VpcID.
    vpcSlbIntranetEnable boolean
    Whether the slb of the Vpc supports.
    zoneId string
    The zone where the instance is deployed.
    https_policy str
    Https policy.
    instance_name str
    Instance name.
    instance_spec str
    Instance type.
    payment_type str
    The payment type of the resource.
    duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egress_ipv6_enable bool
    Does IPV6 Capability Support.
    instance_type str
    Instance type-normal: traditional exclusive instance.
    pricing_cycle str

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    support_ipv6 bool
    Does ipv6 support.
    user_vpc_id str
    User's VpcID.
    vpc_slb_intranet_enable bool
    Whether the slb of the Vpc supports.
    zone_id str
    The zone where the instance is deployed.
    httpsPolicy String
    Https policy.
    instanceName String
    Instance name.
    instanceSpec String
    Instance type.
    paymentType String
    The payment type of the resource.
    duration Number

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable Boolean
    Does IPV6 Capability Support.
    instanceType String
    Instance type-normal: traditional exclusive instance.
    pricingCycle String

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    supportIpv6 Boolean
    Does ipv6 support.
    userVpcId String
    User's VpcID.
    vpcSlbIntranetEnable Boolean
    Whether the slb of the Vpc supports.
    zoneId String
    The zone where the instance is deployed.

    Outputs

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

    CreateTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    CreateTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    createTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.
    createTime string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the resource.
    create_time str
    Creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the resource.
    createTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            duration: Optional[int] = None,
            egress_ipv6_enable: Optional[bool] = None,
            https_policy: Optional[str] = None,
            instance_name: Optional[str] = None,
            instance_spec: Optional[str] = None,
            instance_type: Optional[str] = None,
            payment_type: Optional[str] = None,
            pricing_cycle: Optional[str] = None,
            status: Optional[str] = None,
            support_ipv6: Optional[bool] = None,
            user_vpc_id: Optional[str] = None,
            vpc_slb_intranet_enable: Optional[bool] = None,
            zone_id: Optional[str] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    Creation time.
    Duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    EgressIpv6Enable bool
    Does IPV6 Capability Support.
    HttpsPolicy string
    Https policy.
    InstanceName string
    Instance name.
    InstanceSpec string
    Instance type.
    InstanceType string
    Instance type-normal: traditional exclusive instance.
    PaymentType string
    The payment type of the resource.
    PricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    Status string
    The status of the resource.
    SupportIpv6 bool
    Does ipv6 support.
    UserVpcId string
    User's VpcID.
    VpcSlbIntranetEnable bool
    Whether the slb of the Vpc supports.
    ZoneId string
    The zone where the instance is deployed.
    CreateTime string
    Creation time.
    Duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    EgressIpv6Enable bool
    Does IPV6 Capability Support.
    HttpsPolicy string
    Https policy.
    InstanceName string
    Instance name.
    InstanceSpec string
    Instance type.
    InstanceType string
    Instance type-normal: traditional exclusive instance.
    PaymentType string
    The payment type of the resource.
    PricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    Status string
    The status of the resource.
    SupportIpv6 bool
    Does ipv6 support.
    UserVpcId string
    User's VpcID.
    VpcSlbIntranetEnable bool
    Whether the slb of the Vpc supports.
    ZoneId string
    The zone where the instance is deployed.
    createTime String
    Creation time.
    duration Integer

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable Boolean
    Does IPV6 Capability Support.
    httpsPolicy String
    Https policy.
    instanceName String
    Instance name.
    instanceSpec String
    Instance type.
    instanceType String
    Instance type-normal: traditional exclusive instance.
    paymentType String
    The payment type of the resource.
    pricingCycle String

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    status String
    The status of the resource.
    supportIpv6 Boolean
    Does ipv6 support.
    userVpcId String
    User's VpcID.
    vpcSlbIntranetEnable Boolean
    Whether the slb of the Vpc supports.
    zoneId String
    The zone where the instance is deployed.
    createTime string
    Creation time.
    duration number

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable boolean
    Does IPV6 Capability Support.
    httpsPolicy string
    Https policy.
    instanceName string
    Instance name.
    instanceSpec string
    Instance type.
    instanceType string
    Instance type-normal: traditional exclusive instance.
    paymentType string
    The payment type of the resource.
    pricingCycle string

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    status string
    The status of the resource.
    supportIpv6 boolean
    Does ipv6 support.
    userVpcId string
    User's VpcID.
    vpcSlbIntranetEnable boolean
    Whether the slb of the Vpc supports.
    zoneId string
    The zone where the instance is deployed.
    create_time str
    Creation time.
    duration int

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egress_ipv6_enable bool
    Does IPV6 Capability Support.
    https_policy str
    Https policy.
    instance_name str
    Instance name.
    instance_spec str
    Instance type.
    instance_type str
    Instance type-normal: traditional exclusive instance.
    payment_type str
    The payment type of the resource.
    pricing_cycle str

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    status str
    The status of the resource.
    support_ipv6 bool
    Does ipv6 support.
    user_vpc_id str
    User's VpcID.
    vpc_slb_intranet_enable bool
    Whether the slb of the Vpc supports.
    zone_id str
    The zone where the instance is deployed.
    createTime String
    Creation time.
    duration Number

    The time of the instance package. Valid values:

    • PricingCycle is Month, indicating monthly payment. The value range is 1 to 9.
    • PricingCycle is Year, indicating annual payment. The value range is 1 to 3.

    When the value of> ChargeType is PrePaid, this parameter is available and must be passed in.

    egressIpv6Enable Boolean
    Does IPV6 Capability Support.
    httpsPolicy String
    Https policy.
    instanceName String
    Instance name.
    instanceSpec String
    Instance type.
    instanceType String
    Instance type-normal: traditional exclusive instance.
    paymentType String
    The payment type of the resource.
    pricingCycle String

    The subscription instance is of the subscription year or month type. The value range is as follows:

    • year: year
    • month: month

    NOTE: If the Payment type is PrePaid, this parameter is required.

    status String
    The status of the resource.
    supportIpv6 Boolean
    Does ipv6 support.
    userVpcId String
    User's VpcID.
    vpcSlbIntranetEnable Boolean
    Whether the slb of the Vpc supports.
    zoneId String
    The zone where the instance is deployed.

    Import

    Api Gateway Instance can be imported using the id, e.g.

    $ pulumi import alicloud:apigateway/instance:Instance example <id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi