Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
This data source provides Apig Gateway available to the user.What is Gateway
NOTE: Available since v1.284.0.
Example 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 = alicloud.resourcemanager.getResourceGroups({});
const defaultGetNetworks = alicloud.vpc.getNetworks({
nameRegex: "^default-NODELETING$",
});
const defaultGetSwitches = defaultGetNetworks.then(defaultGetNetworks => alicloud.vpc.getSwitches({
vpcId: defaultGetNetworks.ids?.[0],
}));
const defaultGateway = new alicloud.apig.Gateway("default", {
networkAccessConfig: {
type: "Intranet",
},
logConfig: {
sls: {
enable: false,
},
},
resourceGroupId: _default.then(_default => _default.ids?.[1]),
spec: "apigw.small.x1",
vpc: {
vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
},
zoneConfig: {
selectOption: "Auto",
},
vswitch: {
vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
},
paymentType: "PayAsYouGo",
gatewayName: name,
});
const defaultGetGateways = alicloud.apig.getGatewaysOutput({
ids: [defaultGateway.id],
nameRegex: defaultGateway.gatewayName,
gatewayName: name,
});
export const alicloudApigGatewayExampleId = defaultGetGateways.apply(defaultGetGateways => defaultGetGateways.gateways?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0])
default_gateway = alicloud.apig.Gateway("default",
network_access_config={
"type": "Intranet",
},
log_config={
"sls": {
"enable": False,
},
},
resource_group_id=default.ids[1],
spec="apigw.small.x1",
vpc={
"vpc_id": default_get_networks.ids[0],
},
zone_config={
"select_option": "Auto",
},
vswitch={
"vswitch_id": default_get_switches.ids[0],
},
payment_type="PayAsYouGo",
gateway_name=name)
default_get_gateways = alicloud.apig.get_gateways_output(ids=[default_gateway.id],
name_regex=default_gateway.gateway_name,
gateway_name=name)
pulumi.export("alicloudApigGatewayExampleId", default_get_gateways.gateways[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apig"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
defaultGetNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("^default-NODELETING$"),
}, nil)
if err != nil {
return err
}
defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
VpcId: pulumi.StringRef(defaultGetNetworks.Ids[0]),
}, nil)
if err != nil {
return err
}
defaultGateway, err := apig.NewGateway(ctx, "default", &apig.GatewayArgs{
NetworkAccessConfig: &apig.GatewayNetworkAccessConfigArgs{
Type: pulumi.String("Intranet"),
},
LogConfig: &apig.GatewayLogConfigArgs{
Sls: &apig.GatewayLogConfigSlsArgs{
Enable: pulumi.Bool(false),
},
},
ResourceGroupId: pulumi.String(_default.Ids[1]),
Spec: pulumi.String("apigw.small.x1"),
Vpc: &apig.GatewayVpcArgs{
VpcId: pulumi.String(defaultGetNetworks.Ids[0]),
},
ZoneConfig: &apig.GatewayZoneConfigArgs{
SelectOption: pulumi.String("Auto"),
},
Vswitch: &apig.GatewayVswitchArgs{
VswitchId: pulumi.String(defaultGetSwitches.Ids[0]),
},
PaymentType: pulumi.String("PayAsYouGo"),
GatewayName: pulumi.String(name),
})
if err != nil {
return err
}
defaultGetGateways := apig.GetGatewaysOutput(ctx, apig.GetGatewaysOutputArgs{
Ids: pulumi.StringArray{
defaultGateway.ID().ToIDOutput().ToStringOutput(),
},
NameRegex: defaultGateway.GatewayName,
GatewayName: pulumi.String(name),
}, nil)
ctx.Export("alicloudApigGatewayExampleId", defaultGetGateways.ApplyT(func(defaultGetGateways apig.GetGatewaysResult) (*string, error) {
return defaultGetGateways.Gateways[0].Id, nil
}).(pulumi.StringPtrOutput))
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 = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var defaultGetNetworks = AliCloud.Vpc.GetNetworks.Invoke(new()
{
NameRegex = "^default-NODELETING$",
});
var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
{
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
});
var defaultGateway = new AliCloud.Apig.Gateway("default", new()
{
NetworkAccessConfig = new AliCloud.Apig.Inputs.GatewayNetworkAccessConfigArgs
{
Type = "Intranet",
},
LogConfig = new AliCloud.Apig.Inputs.GatewayLogConfigArgs
{
Sls = new AliCloud.Apig.Inputs.GatewayLogConfigSlsArgs
{
Enable = false,
},
},
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[1])),
Spec = "apigw.small.x1",
Vpc = new AliCloud.Apig.Inputs.GatewayVpcArgs
{
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
},
ZoneConfig = new AliCloud.Apig.Inputs.GatewayZoneConfigArgs
{
SelectOption = "Auto",
},
Vswitch = new AliCloud.Apig.Inputs.GatewayVswitchArgs
{
VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
},
PaymentType = "PayAsYouGo",
GatewayName = name,
});
var defaultGetGateways = AliCloud.Apig.GetGateways.Invoke(new()
{
Ids = new[]
{
defaultGateway.Id,
},
NameRegex = defaultGateway.GatewayName,
GatewayName = name,
});
return new Dictionary<string, object?>
{
["alicloudApigGatewayExampleId"] = defaultGetGateways.Apply(getGatewaysResult => getGatewaysResult.Gateways[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.apig.Gateway;
import com.pulumi.alicloud.apig.GatewayArgs;
import com.pulumi.alicloud.apig.inputs.GatewayNetworkAccessConfigArgs;
import com.pulumi.alicloud.apig.inputs.GatewayLogConfigArgs;
import com.pulumi.alicloud.apig.inputs.GatewayLogConfigSlsArgs;
import com.pulumi.alicloud.apig.inputs.GatewayVpcArgs;
import com.pulumi.alicloud.apig.inputs.GatewayZoneConfigArgs;
import com.pulumi.alicloud.apig.inputs.GatewayVswitchArgs;
import com.pulumi.alicloud.apig.ApigFunctions;
import com.pulumi.alicloud.apig.inputs.GetGatewaysArgs;
import java.util.ArrayList;
import java.util.Arrays;
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");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("^default-NODELETING$")
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(defaultGetNetworks.ids()[0])
.build());
var defaultGateway = new Gateway("defaultGateway", GatewayArgs.builder()
.networkAccessConfig(GatewayNetworkAccessConfigArgs.builder()
.type("Intranet")
.build())
.logConfig(GatewayLogConfigArgs.builder()
.sls(GatewayLogConfigSlsArgs.builder()
.enable(false)
.build())
.build())
.resourceGroupId(default_.ids()[1])
.spec("apigw.small.x1")
.vpc(GatewayVpcArgs.builder()
.vpcId(defaultGetNetworks.ids()[0])
.build())
.zoneConfig(GatewayZoneConfigArgs.builder()
.selectOption("Auto")
.build())
.vswitch(GatewayVswitchArgs.builder()
.vswitchId(defaultGetSwitches.ids()[0])
.build())
.paymentType("PayAsYouGo")
.gatewayName(name)
.build());
final var defaultGetGateways = ApigFunctions.getGateways(GetGatewaysArgs.builder()
.ids(defaultGateway.id())
.nameRegex(defaultGateway.gatewayName())
.gatewayName(name)
.build());
ctx.export("alicloudApigGatewayExampleId", defaultGetGateways.applyValue(_defaultGetGateways -> _defaultGetGateways.gateways()[0].id()));
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultGateway:
type: alicloud:apig:Gateway
name: default
properties:
networkAccessConfig:
type: Intranet
logConfig:
sls:
enable: 'false'
resourceGroupId: ${default.ids[1]}
spec: apigw.small.x1
vpc:
vpcId: ${defaultGetNetworks.ids[0]}
zoneConfig:
selectOption: Auto
vswitch:
vswitchId: ${defaultGetSwitches.ids[0]}
paymentType: PayAsYouGo
gatewayName: ${name}
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
defaultGetNetworks:
fn::invoke:
function: alicloud:vpc:getNetworks
arguments:
nameRegex: ^default-NODELETING$
defaultGetSwitches:
fn::invoke:
function: alicloud:vpc:getSwitches
arguments:
vpcId: ${defaultGetNetworks.ids[0]}
defaultGetGateways:
fn::invoke:
function: alicloud:apig:getGateways
arguments:
ids:
- ${defaultGateway.id}
nameRegex: ${defaultGateway.gatewayName}
gatewayName: ${name}
outputs:
alicloudApigGatewayExampleId: ${defaultGetGateways.gateways[0].id}
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_resourcemanager_getresourcegroups" "default" {
}
data "alicloud_vpc_getnetworks" "defaultGetNetworks" {
name_regex = "^default-NODELETING$"
}
data "alicloud_vpc_getswitches" "defaultGetSwitches" {
vpc_id = data.alicloud_vpc_getnetworks.defaultGetNetworks.ids[0]
}
data "alicloud_apig_getgateways" "defaultGetGateways" {
ids = [alicloud_apig_gateway.default.id]
name_regex = alicloud_apig_gateway.default.gateway_name
gateway_name = var.name
}
resource "alicloud_apig_gateway" "default" {
network_access_config = {
type = "Intranet"
}
log_config = {
sls = {
enable = "false"
}
}
resource_group_id = data.alicloud_resourcemanager_getresourcegroups.default.ids[1]
spec = "apigw.small.x1"
vpc = {
vpc_id = data.alicloud_vpc_getnetworks.defaultGetNetworks.ids[0]
}
zone_config = {
select_option = "Auto"
}
vswitch = {
vswitch_id = data.alicloud_vpc_getswitches.defaultGetSwitches.ids[0]
}
payment_type = "PayAsYouGo"
gateway_name = var.name
}
variable "name" {
type = string
default = "terraform-example"
}
output "alicloudApigGatewayExampleId" {
value = data.alicloud_apig_getgateways.defaultGetGateways.gateways[0].id
}
Using getGateways
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGateways(args: GetGatewaysArgs, opts?: InvokeOptions): Promise<GetGatewaysResult>
function getGatewaysOutput(args: GetGatewaysOutputArgs, opts?: InvokeOutputOptions): Output<GetGatewaysResult>def get_gateways(enable_details: Optional[bool] = None,
gateway_id: Optional[str] = None,
gateway_name: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetGatewaysResult
def get_gateways_output(enable_details: pulumi.Input[Optional[bool]] = None,
gateway_id: pulumi.Input[Optional[str]] = None,
gateway_name: pulumi.Input[Optional[str]] = None,
ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
name_regex: pulumi.Input[Optional[str]] = None,
output_file: pulumi.Input[Optional[str]] = None,
resource_group_id: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetGatewaysResult]func GetGateways(ctx *Context, args *GetGatewaysArgs, opts ...InvokeOption) (*GetGatewaysResult, error)
func GetGatewaysOutput(ctx *Context, args *GetGatewaysOutputArgs, opts ...InvokeOption) GetGatewaysResultOutput> Note: This function is named GetGateways in the Go SDK.
public static class GetGateways
{
public static Task<GetGatewaysResult> InvokeAsync(GetGatewaysArgs args, InvokeOptions? opts = null)
public static Output<GetGatewaysResult> Invoke(GetGatewaysInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetGatewaysResult> Invoke(GetGatewaysInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetGatewaysResult> getGateways(GetGatewaysArgs args, InvokeOptions options)
public static Output<GetGatewaysResult> getGateways(GetGatewaysArgs args, InvokeOptions options)
public static Output<GetGatewaysResult> getGateways(GetGatewaysArgs args, InvokeOutputOptions options)
fn::invoke:
function: alicloud:apig/getGateways:getGateways
arguments:
# arguments dictionarydata "alicloud_apig_get_gateways" "name" {
# arguments
}The following arguments are supported:
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - The name of the gateway.
- Ids List<string>
- A list of Gateway IDs.
- Name
Regex string - A regex string to filter results by Gateway name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- The tag of the resource.
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - The name of the gateway.
- Ids []string
- A list of Gateway IDs.
- Name
Regex string - A regex string to filter results by Gateway name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- map[string]string
- The tag of the resource.
- enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - gateway_
id string - Cloud-native API gateway ID.
- gateway_
name string - The name of the gateway.
- ids list(string)
- A list of Gateway IDs.
- name_
regex string - A regex string to filter results by Gateway name.
- output_
file string - File name where to save data source results (after running
pulumi preview). - resource_
group_ stringid - The ID of the resource group.
- map(string)
- The tag of the resource.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - The name of the gateway.
- ids List<String>
- A list of Gateway IDs.
- name
Regex String - A regex string to filter results by Gateway name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- Map<String,String>
- The tag of the resource.
- enable
Details boolean - Default to
false. Set it totruecan output more details about resource attributes. - gateway
Id string - Cloud-native API gateway ID.
- gateway
Name string - The name of the gateway.
- ids string[]
- A list of Gateway IDs.
- name
Regex string - A regex string to filter results by Gateway name.
- output
File string - File name where to save data source results (after running
pulumi preview). - resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- The tag of the resource.
- enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - gateway_
id str - Cloud-native API gateway ID.
- gateway_
name str - The name of the gateway.
- ids Sequence[str]
- A list of Gateway IDs.
- name_
regex str - A regex string to filter results by Gateway name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- The tag of the resource.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - The name of the gateway.
- ids List<String>
- A list of Gateway IDs.
- name
Regex String - A regex string to filter results by Gateway name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- Map<String>
- The tag of the resource.
getGateways Result
The following output properties are available:
- Gateways
List<Pulumi.
Ali Cloud. Apig. Outputs. Get Gateways Gateway> - A list of Gateway Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Gateway IDs.
- Names List<string>
- A list of name of Gateways.
- Enable
Details bool - Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - Query by exact match of the gateway name.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the destination resource group.
- Dictionary<string, string>
- The tag of the resource.
- Gateways
[]Get
Gateways Gateway - A list of Gateway Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Gateway IDs.
- Names []string
- A list of name of Gateways.
- Enable
Details bool - Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - Query by exact match of the gateway name.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the destination resource group.
- map[string]string
- The tag of the resource.
- gateways list(object)
- A list of Gateway Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids list(string)
- A list of Gateway IDs.
- names list(string)
- A list of name of Gateways.
- enable_
details bool - gateway_
id string - Cloud-native API gateway ID.
- gateway_
name string - Query by exact match of the gateway name.
- name_
regex string - output_
file string - resource_
group_ stringid - The ID of the destination resource group.
- map(string)
- The tag of the resource.
- gateways
List<Get
Gateways Gateway> - A list of Gateway Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Gateway IDs.
- names List<String>
- A list of name of Gateways.
- enable
Details Boolean - gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - Query by exact match of the gateway name.
- name
Regex String - output
File String - resource
Group StringId - The ID of the destination resource group.
- Map<String,String>
- The tag of the resource.
- gateways
Get
Gateways Gateway[] - A list of Gateway Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Gateway IDs.
- names string[]
- A list of name of Gateways.
- enable
Details boolean - gateway
Id string - Cloud-native API gateway ID.
- gateway
Name string - Query by exact match of the gateway name.
- name
Regex string - output
File string - resource
Group stringId - The ID of the destination resource group.
- {[key: string]: string}
- The tag of the resource.
- gateways
Sequence[Get
Gateways Gateway] - A list of Gateway Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Gateway IDs.
- names Sequence[str]
- A list of name of Gateways.
- enable_
details bool - gateway_
id str - Cloud-native API gateway ID.
- gateway_
name str - Query by exact match of the gateway name.
- name_
regex str - output_
file str - resource_
group_ strid - The ID of the destination resource group.
- Mapping[str, str]
- The tag of the resource.
- gateways List<Property Map>
- A list of Gateway Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Gateway IDs.
- names List<String>
- A list of name of Gateways.
- enable
Details Boolean - gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - Query by exact match of the gateway name.
- name
Regex String - output
File String - resource
Group StringId - The ID of the destination resource group.
- Map<String>
- The tag of the resource.
Supporting Types
GetGatewaysGateway
- Create
From string - The source from which the gateway was created.
- Create
Time int - Creation timestamp.
- Environments
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Gateways Gateway Environment> - NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - Expire
Time int - Timestamp indicating when the subscription expires.
- Gateway
Edition string - Gateway instance edition:.
- Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - The name of the gateway.
- Gateway
Type string - The gateway type.
- Id string
- The ID of the resource supplied above.
- Load
Balancers List<Pulumi.Ali Cloud. Apig. Inputs. Get Gateways Gateway Load Balancer> - The list of Gateway ingress addresses.
- Payment
Type string - Payment type:.
- Resource
Group stringId - The ID of the resource group.
- Security
Groups List<Pulumi.Ali Cloud. Apig. Inputs. Get Gateways Gateway Security Group> - Security group of the gateway.
- Spec string
- Gateway specification:.
- Status string
- Gateway status:.
- Sub
Domain List<Pulumi.Infos Ali Cloud. Apig. Inputs. Get Gateways Gateway Sub Domain Info> - List of second-level domain names.
- Dictionary<string, string>
- The tag of the resource.
- Target
Version string - The target version of the gateway instance.
- Update
Time int - The timestamp when the resource was last updated.
- Version string
- The current running version of the gateway instance.
- Vpcs
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Gateways Gateway Vpc> - The Virtual Private Cloud (VPC) associated with the gateway.
- Vswitches
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Gateways Gateway Vswitch> - NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - Zones
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Gateways Gateway Zone> - The list of zones associated with the gateway.
- Create
From string - The source from which the gateway was created.
- Create
Time int - Creation timestamp.
- Environments
[]Get
Gateways Gateway Environment - NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - Expire
Time int - Timestamp indicating when the subscription expires.
- Gateway
Edition string - Gateway instance edition:.
- Gateway
Id string - Cloud-native API gateway ID.
- Gateway
Name string - The name of the gateway.
- Gateway
Type string - The gateway type.
- Id string
- The ID of the resource supplied above.
- Load
Balancers []GetGateways Gateway Load Balancer - The list of Gateway ingress addresses.
- Payment
Type string - Payment type:.
- Resource
Group stringId - The ID of the resource group.
- Security
Groups []GetGateways Gateway Security Group - Security group of the gateway.
- Spec string
- Gateway specification:.
- Status string
- Gateway status:.
- Sub
Domain []GetInfos Gateways Gateway Sub Domain Info - List of second-level domain names.
- map[string]string
- The tag of the resource.
- Target
Version string - The target version of the gateway instance.
- Update
Time int - The timestamp when the resource was last updated.
- Version string
- The current running version of the gateway instance.
- Vpcs
[]Get
Gateways Gateway Vpc - The Virtual Private Cloud (VPC) associated with the gateway.
- Vswitches
[]Get
Gateways Gateway Vswitch - NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - Zones
[]Get
Gateways Gateway Zone - The list of zones associated with the gateway.
- create_
from string - The source from which the gateway was created.
- create_
time number - Creation timestamp.
- environments list(object)
- NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - expire_
time number - Timestamp indicating when the subscription expires.
- gateway_
edition string - Gateway instance edition:.
- gateway_
id string - Cloud-native API gateway ID.
- gateway_
name string - The name of the gateway.
- gateway_
type string - The gateway type.
- id string
- The ID of the resource supplied above.
- load_
balancers list(object) - The list of Gateway ingress addresses.
- payment_
type string - Payment type:.
- resource_
group_ stringid - The ID of the resource group.
- security_
groups list(object) - Security group of the gateway.
- spec string
- Gateway specification:.
- status string
- Gateway status:.
- sub_
domain_ list(object)infos - List of second-level domain names.
- map(string)
- The tag of the resource.
- target_
version string - The target version of the gateway instance.
- update_
time number - The timestamp when the resource was last updated.
- version string
- The current running version of the gateway instance.
- vpcs list(object)
- The Virtual Private Cloud (VPC) associated with the gateway.
- vswitches list(object)
- NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - zones list(object)
- The list of zones associated with the gateway.
- create
From String - The source from which the gateway was created.
- create
Time Integer - Creation timestamp.
- environments
List<Get
Gateways Gateway Environment> - NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - expire
Time Integer - Timestamp indicating when the subscription expires.
- gateway
Edition String - Gateway instance edition:.
- gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - The name of the gateway.
- gateway
Type String - The gateway type.
- id String
- The ID of the resource supplied above.
- load
Balancers List<GetGateways Gateway Load Balancer> - The list of Gateway ingress addresses.
- payment
Type String - Payment type:.
- resource
Group StringId - The ID of the resource group.
- security
Groups List<GetGateways Gateway Security Group> - Security group of the gateway.
- spec String
- Gateway specification:.
- status String
- Gateway status:.
- sub
Domain List<GetInfos Gateways Gateway Sub Domain Info> - List of second-level domain names.
- Map<String,String>
- The tag of the resource.
- target
Version String - The target version of the gateway instance.
- update
Time Integer - The timestamp when the resource was last updated.
- version String
- The current running version of the gateway instance.
- vpcs
List<Get
Gateways Gateway Vpc> - The Virtual Private Cloud (VPC) associated with the gateway.
- vswitches
List<Get
Gateways Gateway Vswitch> - NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - zones
List<Get
Gateways Gateway Zone> - The list of zones associated with the gateway.
- create
From string - The source from which the gateway was created.
- create
Time number - Creation timestamp.
- environments
Get
Gateways Gateway Environment[] - NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - expire
Time number - Timestamp indicating when the subscription expires.
- gateway
Edition string - Gateway instance edition:.
- gateway
Id string - Cloud-native API gateway ID.
- gateway
Name string - The name of the gateway.
- gateway
Type string - The gateway type.
- id string
- The ID of the resource supplied above.
- load
Balancers GetGateways Gateway Load Balancer[] - The list of Gateway ingress addresses.
- payment
Type string - Payment type:.
- resource
Group stringId - The ID of the resource group.
- security
Groups GetGateways Gateway Security Group[] - Security group of the gateway.
- spec string
- Gateway specification:.
- status string
- Gateway status:.
- sub
Domain GetInfos Gateways Gateway Sub Domain Info[] - List of second-level domain names.
- {[key: string]: string}
- The tag of the resource.
- target
Version string - The target version of the gateway instance.
- update
Time number - The timestamp when the resource was last updated.
- version string
- The current running version of the gateway instance.
- vpcs
Get
Gateways Gateway Vpc[] - The Virtual Private Cloud (VPC) associated with the gateway.
- vswitches
Get
Gateways Gateway Vswitch[] - NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - zones
Get
Gateways Gateway Zone[] - The list of zones associated with the gateway.
- create_
from str - The source from which the gateway was created.
- create_
time int - Creation timestamp.
- environments
Sequence[Get
Gateways Gateway Environment] - NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - expire_
time int - Timestamp indicating when the subscription expires.
- gateway_
edition str - Gateway instance edition:.
- gateway_
id str - Cloud-native API gateway ID.
- gateway_
name str - The name of the gateway.
- gateway_
type str - The gateway type.
- id str
- The ID of the resource supplied above.
- load_
balancers Sequence[GetGateways Gateway Load Balancer] - The list of Gateway ingress addresses.
- payment_
type str - Payment type:.
- resource_
group_ strid - The ID of the resource group.
- security_
groups Sequence[GetGateways Gateway Security Group] - Security group of the gateway.
- spec str
- Gateway specification:.
- status str
- Gateway status:.
- sub_
domain_ Sequence[Getinfos Gateways Gateway Sub Domain Info] - List of second-level domain names.
- Mapping[str, str]
- The tag of the resource.
- target_
version str - The target version of the gateway instance.
- update_
time int - The timestamp when the resource was last updated.
- version str
- The current running version of the gateway instance.
- vpcs
Sequence[Get
Gateways Gateway Vpc] - The Virtual Private Cloud (VPC) associated with the gateway.
- vswitches
Sequence[Get
Gateways Gateway Vswitch] - NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - zones
Sequence[Get
Gateways Gateway Zone] - The list of zones associated with the gateway.
- create
From String - The source from which the gateway was created.
- create
Time Number - Creation timestamp.
- environments List<Property Map>
- NOTE: This field is only available when
enableDetailsistrue. The list of environments associated with the gateway. - expire
Time Number - Timestamp indicating when the subscription expires.
- gateway
Edition String - Gateway instance edition:.
- gateway
Id String - Cloud-native API gateway ID.
- gateway
Name String - The name of the gateway.
- gateway
Type String - The gateway type.
- id String
- The ID of the resource supplied above.
- load
Balancers List<Property Map> - The list of Gateway ingress addresses.
- payment
Type String - Payment type:.
- resource
Group StringId - The ID of the resource group.
- security
Groups List<Property Map> - Security group of the gateway.
- spec String
- Gateway specification:.
- status String
- Gateway status:.
- sub
Domain List<Property Map>Infos - List of second-level domain names.
- Map<String>
- The tag of the resource.
- target
Version String - The target version of the gateway instance.
- update
Time Number - The timestamp when the resource was last updated.
- version String
- The current running version of the gateway instance.
- vpcs List<Property Map>
- The Virtual Private Cloud (VPC) associated with the gateway.
- vswitches List<Property Map>
- NOTE: This field is only available when
enableDetailsistrue. The vSwitch associated with the gateway. - zones List<Property Map>
- The list of zones associated with the gateway.
GetGatewaysGatewayEnvironment
- Alias string
- The alias of the environment.
- Environment
Id string - The ID of the environment.
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- Alias string
- The alias of the environment.
- Environment
Id string - The ID of the environment.
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- alias string
- The alias of the environment.
- environment_
id string - The ID of the environment.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- alias String
- The alias of the environment.
- environment
Id String - The ID of the environment.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- alias string
- The alias of the environment.
- environment
Id string - The ID of the environment.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- alias str
- The alias of the environment.
- environment_
id str - The ID of the environment.
- name str
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
- alias String
- The alias of the environment.
- environment
Id String - The ID of the environment.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway.
GetGatewaysGatewayLoadBalancer
- Address string
- The address of the load balancer for the gateway.
- Address
Ip stringVersion - IP version:.
- Address
Type string - Load balancer address type:.
- Gateway
Default bool - Indicates whether this is the default ingress address of the gateway.
- Ipv4Addresses List<string>
- The list of IPv4 addresses.
- Ipv6Addresses List<string>
- The list of IPv6 addresses.
- Load
Balancer stringId - The ID of the load balancer associated with the gateway.
- Mode string
- Load balancing provisioning mode for the gateway:.
- Ports
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Gateways Gateway Load Balancer Port> - The list of listening ports.
- Status string
- Gateway status:.
- Type string
- Load balancer type:.
- Address string
- The address of the load balancer for the gateway.
- Address
Ip stringVersion - IP version:.
- Address
Type string - Load balancer address type:.
- Gateway
Default bool - Indicates whether this is the default ingress address of the gateway.
- Ipv4Addresses []string
- The list of IPv4 addresses.
- Ipv6Addresses []string
- The list of IPv6 addresses.
- Load
Balancer stringId - The ID of the load balancer associated with the gateway.
- Mode string
- Load balancing provisioning mode for the gateway:.
- Ports
[]Get
Gateways Gateway Load Balancer Port - The list of listening ports.
- Status string
- Gateway status:.
- Type string
- Load balancer type:.
- address string
- The address of the load balancer for the gateway.
- address_
ip_ stringversion - IP version:.
- address_
type string - Load balancer address type:.
- gateway_
default bool - Indicates whether this is the default ingress address of the gateway.
- ipv4_
addresses list(string) - The list of IPv4 addresses.
- ipv6_
addresses list(string) - The list of IPv6 addresses.
- load_
balancer_ stringid - The ID of the load balancer associated with the gateway.
- mode string
- Load balancing provisioning mode for the gateway:.
- ports list(object)
- The list of listening ports.
- status string
- Gateway status:.
- type string
- Load balancer type:.
- address String
- The address of the load balancer for the gateway.
- address
Ip StringVersion - IP version:.
- address
Type String - Load balancer address type:.
- gateway
Default Boolean - Indicates whether this is the default ingress address of the gateway.
- ipv4Addresses List<String>
- The list of IPv4 addresses.
- ipv6Addresses List<String>
- The list of IPv6 addresses.
- load
Balancer StringId - The ID of the load balancer associated with the gateway.
- mode String
- Load balancing provisioning mode for the gateway:.
- ports
List<Get
Gateways Gateway Load Balancer Port> - The list of listening ports.
- status String
- Gateway status:.
- type String
- Load balancer type:.
- address string
- The address of the load balancer for the gateway.
- address
Ip stringVersion - IP version:.
- address
Type string - Load balancer address type:.
- gateway
Default boolean - Indicates whether this is the default ingress address of the gateway.
- ipv4Addresses string[]
- The list of IPv4 addresses.
- ipv6Addresses string[]
- The list of IPv6 addresses.
- load
Balancer stringId - The ID of the load balancer associated with the gateway.
- mode string
- Load balancing provisioning mode for the gateway:.
- ports
Get
Gateways Gateway Load Balancer Port[] - The list of listening ports.
- status string
- Gateway status:.
- type string
- Load balancer type:.
- address str
- The address of the load balancer for the gateway.
- address_
ip_ strversion - IP version:.
- address_
type str - Load balancer address type:.
- gateway_
default bool - Indicates whether this is the default ingress address of the gateway.
- ipv4_
addresses Sequence[str] - The list of IPv4 addresses.
- ipv6_
addresses Sequence[str] - The list of IPv6 addresses.
- load_
balancer_ strid - The ID of the load balancer associated with the gateway.
- mode str
- Load balancing provisioning mode for the gateway:.
- ports
Sequence[Get
Gateways Gateway Load Balancer Port] - The list of listening ports.
- status str
- Gateway status:.
- type str
- Load balancer type:.
- address String
- The address of the load balancer for the gateway.
- address
Ip StringVersion - IP version:.
- address
Type String - Load balancer address type:.
- gateway
Default Boolean - Indicates whether this is the default ingress address of the gateway.
- ipv4Addresses List<String>
- The list of IPv4 addresses.
- ipv6Addresses List<String>
- The list of IPv6 addresses.
- load
Balancer StringId - The ID of the load balancer associated with the gateway.
- mode String
- Load balancing provisioning mode for the gateway:.
- ports List<Property Map>
- The list of listening ports.
- status String
- Gateway status:.
- type String
- Load balancer type:.
GetGatewaysGatewayLoadBalancerPort
GetGatewaysGatewaySecurityGroup
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - Security
Group stringId - The ID of the security group.
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - Security
Group stringId - The ID of the security group.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - security_
group_ stringid - The ID of the security group.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - security
Group StringId - The ID of the security group.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - security
Group stringId - The ID of the security group.
- name str
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - security_
group_ strid - The ID of the security group.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - security
Group StringId - The ID of the security group.
GetGatewaysGatewaySubDomainInfo
- Domain
Id string - The ID of the secondary domain name for the gateway.
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - Network
Type string - Network type:.
- Protocol string
- The protocol used by the secondary domain name.
- Domain
Id string - The ID of the secondary domain name for the gateway.
- Name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - Network
Type string - Network type:.
- Protocol string
- The protocol used by the secondary domain name.
- domain_
id string - The ID of the secondary domain name for the gateway.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - network_
type string - Network type:.
- protocol string
- The protocol used by the secondary domain name.
- domain
Id String - The ID of the secondary domain name for the gateway.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - network
Type String - Network type:.
- protocol String
- The protocol used by the secondary domain name.
- domain
Id string - The ID of the secondary domain name for the gateway.
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - network
Type string - Network type:.
- protocol string
- The protocol used by the secondary domain name.
- domain_
id str - The ID of the secondary domain name for the gateway.
- name str
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - network_
type str - Network type:.
- protocol str
- The protocol used by the secondary domain name.
- domain
Id String - The ID of the secondary domain name for the gateway.
- name String
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - network
Type String - Network type:.
- protocol String
- The protocol used by the secondary domain name.
GetGatewaysGatewayVpc
GetGatewaysGatewayVswitch
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - vswitch_
id string - The ID of the virtual switch in the availability zone.
- name str
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - vswitch_
id str - The ID of the virtual switch in the availability zone.
GetGatewaysGatewayZone
- name string
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - vswitch_
id string - The ID of the virtual switch in the availability zone.
- zone_
id string - The ID of the availability zone for the gateway.
- name str
- NOTE: This field is only available when
enableDetailsistrue. The name of the availability zone for the gateway. - vswitch_
id str - The ID of the virtual switch in the availability zone.
- zone_
id str - The ID of the availability zone for the gateway.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi