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 Service available to the user. What is Service
NOTE: Available since v1.286.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 address = config.get("address") || "127.0.0.1:8080";
const address1 = config.get("address1") || "127.0.0.1:7891";
const address2 = config.get("address2") || "127.0.0.1:7890";
const defaultvpc = new alicloud.vpc.Network("defaultvpc", {
cidrBlock: "172.32.0.0/12",
vpcName: "zhenyuan-example",
});
const defaultvswitch = new alicloud.vpc.Switch("defaultvswitch", {
vpcId: defaultvpc.id,
zoneId: "cn-hangzhou-g",
cidrBlock: "172.32.100.0/24",
vswitchName: "zhenyuan-example",
});
const defaultFsRKYn = new alicloud.apig.Gateway("defaultFsRKYn", {
networkAccessConfig: {
type: "Intranet",
},
vswitch: {
vswitchId: defaultvswitch.id,
name: defaultvswitch.vswitchName,
},
zoneConfig: {
selectOption: "Auto",
},
vpc: {
vpcId: defaultvpc.id,
},
paymentType: "PayAsYouGo",
gatewayName: "zhenyuanexample",
spec: "apigw.small.x1",
logConfig: {
sls: {
enable: false,
},
},
});
const defaultService = new alicloud.apig.Service("default", {
addresses: [address],
serviceName: "1784264568",
sourceType: "VIP",
gatewayId: defaultFsRKYn.id,
namespace: "default",
});
const _default = alicloud.apig.getServicesOutput({
ids: [defaultService.id],
nameRegex: defaultService.serviceName,
gatewayId: defaultFsRKYn.id,
sourceType: "VIP",
});
export const alicloudApigServiceExampleId = _default.apply(_default => _default.services?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
address = config.get("address")
if address is None:
address = "127.0.0.1:8080"
address1 = config.get("address1")
if address1 is None:
address1 = "127.0.0.1:7891"
address2 = config.get("address2")
if address2 is None:
address2 = "127.0.0.1:7890"
defaultvpc = alicloud.vpc.Network("defaultvpc",
cidr_block="172.32.0.0/12",
vpc_name="zhenyuan-example")
defaultvswitch = alicloud.vpc.Switch("defaultvswitch",
vpc_id=defaultvpc.id,
zone_id="cn-hangzhou-g",
cidr_block="172.32.100.0/24",
vswitch_name="zhenyuan-example")
default_fs_rk_yn = alicloud.apig.Gateway("defaultFsRKYn",
network_access_config={
"type": "Intranet",
},
vswitch={
"vswitch_id": defaultvswitch.id,
"name": defaultvswitch.vswitch_name,
},
zone_config={
"select_option": "Auto",
},
vpc={
"vpc_id": defaultvpc.id,
},
payment_type="PayAsYouGo",
gateway_name="zhenyuanexample",
spec="apigw.small.x1",
log_config={
"sls": {
"enable": False,
},
})
default_service = alicloud.apig.Service("default",
addresses=[address],
service_name="1784264568",
source_type="VIP",
gateway_id=default_fs_rk_yn.id,
namespace="default")
default = alicloud.apig.get_services_output(ids=[default_service.id],
name_regex=default_service.service_name,
gateway_id=default_fs_rk_yn.id,
source_type="VIP")
pulumi.export("alicloudApigServiceExampleId", default.services[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apig"
"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
}
address := "127.0.0.1:8080"
if param := cfg.Get("address"); param != "" {
address = param
}
address1 := "127.0.0.1:7891"
if param := cfg.Get("address1"); param != "" {
address1 = param
}
address2 := "127.0.0.1:7890"
if param := cfg.Get("address2"); param != "" {
address2 = param
}
defaultvpc, err := vpc.NewNetwork(ctx, "defaultvpc", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.32.0.0/12"),
VpcName: pulumi.String("zhenyuan-example"),
})
if err != nil {
return err
}
defaultvswitch, err := vpc.NewSwitch(ctx, "defaultvswitch", &vpc.SwitchArgs{
VpcId: defaultvpc.ID().ToIDOutput().ToStringOutput(),
ZoneId: pulumi.String("cn-hangzhou-g"),
CidrBlock: pulumi.String("172.32.100.0/24"),
VswitchName: pulumi.String("zhenyuan-example"),
})
if err != nil {
return err
}
defaultFsRKYn, err := apig.NewGateway(ctx, "defaultFsRKYn", &apig.GatewayArgs{
NetworkAccessConfig: &apig.GatewayNetworkAccessConfigArgs{
Type: pulumi.String("Intranet"),
},
Vswitch: &apig.GatewayVswitchArgs{
VswitchId: defaultvswitch.ID().ToIDOutput().ToStringOutput(),
Name: defaultvswitch.VswitchName,
},
ZoneConfig: &apig.GatewayZoneConfigArgs{
SelectOption: pulumi.String("Auto"),
},
Vpc: &apig.GatewayVpcArgs{
VpcId: defaultvpc.ID().ToIDOutput().ToStringOutput(),
},
PaymentType: pulumi.String("PayAsYouGo"),
GatewayName: pulumi.String("zhenyuanexample"),
Spec: pulumi.String("apigw.small.x1"),
LogConfig: &apig.GatewayLogConfigArgs{
Sls: &apig.GatewayLogConfigSlsArgs{
Enable: pulumi.Bool(false),
},
},
})
if err != nil {
return err
}
defaultService, err := apig.NewService(ctx, "default", &apig.ServiceArgs{
Addresses: pulumi.StringArray{
pulumi.String(address),
},
ServiceName: pulumi.String("1784264568"),
SourceType: pulumi.String("VIP"),
GatewayId: defaultFsRKYn.ID().ToIDOutput().ToStringOutput(),
Namespace: pulumi.String("default"),
})
if err != nil {
return err
}
_default := apig.GetServicesOutput(ctx, apig.GetServicesOutputArgs{
Ids: pulumi.StringArray{
defaultService.ID().ToIDOutput().ToStringOutput(),
},
NameRegex: defaultService.ServiceName,
GatewayId: defaultFsRKYn.ID().ToIDOutput().ToStringOutput(),
SourceType: pulumi.String("VIP"),
}, nil)
ctx.Export("alicloudApigServiceExampleId", _default.ApplyT(func(_default apig.GetServicesResult) (*string, error) {
return _default.Services[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 address = config.Get("address") ?? "127.0.0.1:8080";
var address1 = config.Get("address1") ?? "127.0.0.1:7891";
var address2 = config.Get("address2") ?? "127.0.0.1:7890";
var defaultvpc = new AliCloud.Vpc.Network("defaultvpc", new()
{
CidrBlock = "172.32.0.0/12",
VpcName = "zhenyuan-example",
});
var defaultvswitch = new AliCloud.Vpc.Switch("defaultvswitch", new()
{
VpcId = defaultvpc.Id,
ZoneId = "cn-hangzhou-g",
CidrBlock = "172.32.100.0/24",
VswitchName = "zhenyuan-example",
});
var defaultFsRKYn = new AliCloud.Apig.Gateway("defaultFsRKYn", new()
{
NetworkAccessConfig = new AliCloud.Apig.Inputs.GatewayNetworkAccessConfigArgs
{
Type = "Intranet",
},
Vswitch = new AliCloud.Apig.Inputs.GatewayVswitchArgs
{
VswitchId = defaultvswitch.Id,
Name = defaultvswitch.VswitchName,
},
ZoneConfig = new AliCloud.Apig.Inputs.GatewayZoneConfigArgs
{
SelectOption = "Auto",
},
Vpc = new AliCloud.Apig.Inputs.GatewayVpcArgs
{
VpcId = defaultvpc.Id,
},
PaymentType = "PayAsYouGo",
GatewayName = "zhenyuanexample",
Spec = "apigw.small.x1",
LogConfig = new AliCloud.Apig.Inputs.GatewayLogConfigArgs
{
Sls = new AliCloud.Apig.Inputs.GatewayLogConfigSlsArgs
{
Enable = false,
},
},
});
var defaultService = new AliCloud.Apig.Service("default", new()
{
Addresses = new[]
{
address,
},
ServiceName = "1784264568",
SourceType = "VIP",
GatewayId = defaultFsRKYn.Id,
Namespace = "default",
});
var @default = AliCloud.Apig.GetServices.Invoke(new()
{
Ids = new[]
{
defaultService.Id,
},
NameRegex = defaultService.ServiceName,
GatewayId = defaultFsRKYn.Id,
SourceType = "VIP",
});
return new Dictionary<string, object?>
{
["alicloudApigServiceExampleId"] = @default.Apply(@default => @default.Apply(getServicesResult => getServicesResult.Services[0]?.Id)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
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.GatewayVswitchArgs;
import com.pulumi.alicloud.apig.inputs.GatewayZoneConfigArgs;
import com.pulumi.alicloud.apig.inputs.GatewayVpcArgs;
import com.pulumi.alicloud.apig.inputs.GatewayLogConfigArgs;
import com.pulumi.alicloud.apig.inputs.GatewayLogConfigSlsArgs;
import com.pulumi.alicloud.apig.Service;
import com.pulumi.alicloud.apig.ServiceArgs;
import com.pulumi.alicloud.apig.ApigFunctions;
import com.pulumi.alicloud.apig.inputs.GetServicesArgs;
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 address = config.get("address").orElse("127.0.0.1:8080");
final var address1 = config.get("address1").orElse("127.0.0.1:7891");
final var address2 = config.get("address2").orElse("127.0.0.1:7890");
var defaultvpc = new Network("defaultvpc", NetworkArgs.builder()
.cidrBlock("172.32.0.0/12")
.vpcName("zhenyuan-example")
.build());
var defaultvswitch = new Switch("defaultvswitch", SwitchArgs.builder()
.vpcId(defaultvpc.id())
.zoneId("cn-hangzhou-g")
.cidrBlock("172.32.100.0/24")
.vswitchName("zhenyuan-example")
.build());
var defaultFsRKYn = new Gateway("defaultFsRKYn", GatewayArgs.builder()
.networkAccessConfig(GatewayNetworkAccessConfigArgs.builder()
.type("Intranet")
.build())
.vswitch(GatewayVswitchArgs.builder()
.vswitchId(defaultvswitch.id())
.name(defaultvswitch.vswitchName())
.build())
.zoneConfig(GatewayZoneConfigArgs.builder()
.selectOption("Auto")
.build())
.vpc(GatewayVpcArgs.builder()
.vpcId(defaultvpc.id())
.build())
.paymentType("PayAsYouGo")
.gatewayName("zhenyuanexample")
.spec("apigw.small.x1")
.logConfig(GatewayLogConfigArgs.builder()
.sls(GatewayLogConfigSlsArgs.builder()
.enable(false)
.build())
.build())
.build());
var defaultService = new Service("defaultService", ServiceArgs.builder()
.addresses(address)
.serviceName("1784264568")
.sourceType("VIP")
.gatewayId(defaultFsRKYn.id())
.namespace("default")
.build());
final var default = ApigFunctions.getServices(GetServicesArgs.builder()
.ids(defaultService.id())
.nameRegex(defaultService.serviceName())
.gatewayId(defaultFsRKYn.id())
.sourceType("VIP")
.build());
ctx.export("alicloudApigServiceExampleId", default_.applyValue(_default_ -> _default_.services()[0].id()));
}
}
configuration:
name:
type: string
default: terraform-example
address:
type: string
default: 127.0.0.1:8080
address1:
type: string
default: 127.0.0.1:7891
address2:
type: string
default: 127.0.0.1:7890
resources:
defaultvpc:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.32.0.0/12
vpcName: zhenyuan-example
defaultvswitch:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultvpc.id}
zoneId: cn-hangzhou-g
cidrBlock: 172.32.100.0/24
vswitchName: zhenyuan-example
defaultFsRKYn:
type: alicloud:apig:Gateway
properties:
networkAccessConfig:
type: Intranet
vswitch:
vswitchId: ${defaultvswitch.id}
name: ${defaultvswitch.vswitchName}
zoneConfig:
selectOption: Auto
vpc:
vpcId: ${defaultvpc.id}
paymentType: PayAsYouGo
gatewayName: zhenyuanexample
spec: apigw.small.x1
logConfig:
sls:
enable: false
defaultService:
type: alicloud:apig:Service
name: default
properties:
addresses:
- ${address}
serviceName: '1784264568'
sourceType: VIP
gatewayId: ${defaultFsRKYn.id}
namespace: default
variables:
default:
fn::invoke:
function: alicloud:apig:getServices
arguments:
ids:
- ${defaultService.id}
nameRegex: ${defaultService.serviceName}
gatewayId: ${defaultFsRKYn.id}
sourceType: VIP
outputs:
alicloudApigServiceExampleId: ${default.services[0].id}
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_apig_getservices" "default" {
ids = [alicloud_apig_service.default.id]
name_regex = alicloud_apig_service.default.service_name
gateway_id = alicloud_apig_gateway.defaultFsRKYn.id
source_type = "VIP"
}
resource "alicloud_vpc_network" "defaultvpc" {
cidr_block = "172.32.0.0/12"
vpc_name = "zhenyuan-example"
}
resource "alicloud_vpc_switch" "defaultvswitch" {
vpc_id = alicloud_vpc_network.defaultvpc.id
zone_id = "cn-hangzhou-g"
cidr_block = "172.32.100.0/24"
vswitch_name = "zhenyuan-example"
}
resource "alicloud_apig_gateway" "defaultFsRKYn" {
network_access_config = {
type = "Intranet"
}
vswitch = {
vswitch_id = alicloud_vpc_switch.defaultvswitch.id
name = alicloud_vpc_switch.defaultvswitch.vswitch_name
}
zone_config = {
select_option = "Auto"
}
vpc = {
vpc_id = alicloud_vpc_network.defaultvpc.id
}
payment_type = "PayAsYouGo"
gateway_name = "zhenyuanexample"
spec = "apigw.small.x1"
log_config = {
sls = {
enable = false
}
}
}
resource "alicloud_apig_service" "default" {
addresses = [var.address]
service_name = "1784264568"
source_type = "VIP"
gateway_id = alicloud_apig_gateway.defaultFsRKYn.id
namespace = "default"
}
variable "name" {
type = string
default = "terraform-example"
}
variable "address" {
type = string
default = "127.0.0.1:8080"
}
variable "address1" {
type = string
default = "127.0.0.1:7891"
}
variable "address2" {
type = string
default = "127.0.0.1:7890"
}
output "alicloudApigServiceExampleId" {
value = data.alicloud_apig_getservices.default.services[0].id
}
Using getServices
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 getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
function getServicesOutput(args: GetServicesOutputArgs, opts?: InvokeOutputOptions): Output<GetServicesResult>def get_services(gateway_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
resource_group_id: Optional[str] = None,
source_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServicesResult
def get_services_output(gateway_id: 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,
source_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServicesResult]func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
func GetServicesOutput(ctx *Context, args *GetServicesOutputArgs, opts ...InvokeOption) GetServicesResultOutput> Note: This function is named GetServices in the Go SDK.
public static class GetServices
{
public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOutputOptions options)
fn::invoke:
function: alicloud:apig/getServices:getServices
arguments:
# arguments dictionarydata "alicloud_apig_get_services" "name" {
# arguments
}The following arguments are supported:
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Ids List<string>
- A list of Service IDs.
- Name
Regex string - A regex string to filter results by APIG Service 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
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Ids []string
- A list of Service IDs.
- Name
Regex string - A regex string to filter results by APIG Service 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
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- gateway_
id string - The ID of the Cloud Native API Gateway.
- ids list(string)
- A list of Service IDs.
- name_
regex string - A regex string to filter results by APIG Service 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
- source_
type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- gateway
Id String - The ID of the Cloud Native API Gateway.
- ids List<String>
- A list of Service IDs.
- name
Regex String - A regex string to filter results by APIG Service 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
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- gateway
Id string - The ID of the Cloud Native API Gateway.
- ids string[]
- A list of Service IDs.
- name
Regex string - A regex string to filter results by APIG Service 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
- source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- gateway_
id str - The ID of the Cloud Native API Gateway.
- ids Sequence[str]
- A list of Service IDs.
- name_
regex str - A regex string to filter results by APIG Service 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
- source_
type str - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- gateway
Id String - The ID of the Cloud Native API Gateway.
- ids List<String>
- A list of Service IDs.
- name
Regex String - A regex string to filter results by APIG Service 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
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
getServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Service IDs.
- Names List<string>
- A list of name of Services.
- Services
List<Pulumi.
Ali Cloud. Apig. Outputs. Get Services Service> - A list of Service Entries. Each element contains the following attributes:
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Service IDs.
- Names []string
- A list of name of Services.
- Services
[]Get
Services Service - A list of Service Entries. Each element contains the following attributes:
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- id string
- The provider-assigned unique ID for this managed resource.
- ids list(string)
- A list of Service IDs.
- names list(string)
- A list of name of Services.
- services list(object)
- A list of Service Entries. Each element contains the following attributes:
- gateway_
id string - The ID of the Cloud Native API Gateway.
- name_
regex string - output_
file string - resource_
group_ stringid - The ID of the resource group.
- source_
type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Service IDs.
- names List<String>
- A list of name of Services.
- services
List<Get
Services Service> - A list of Service Entries. Each element contains the following attributes:
- gateway
Id String - The ID of the Cloud Native API Gateway.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Service IDs.
- names string[]
- A list of name of Services.
- services
Get
Services Service[] - A list of Service Entries. Each element contains the following attributes:
- gateway
Id string - The ID of the Cloud Native API Gateway.
- name
Regex string - output
File string - resource
Group stringId - The ID of the resource group.
- source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Service IDs.
- names Sequence[str]
- A list of name of Services.
- services
Sequence[Get
Services Service] - A list of Service Entries. Each element contains the following attributes:
- gateway_
id str - The ID of the Cloud Native API Gateway.
- name_
regex str - output_
file str - resource_
group_ strid - The ID of the resource group.
- source_
type str - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Service IDs.
- names List<String>
- A list of name of Services.
- services List<Property Map>
- A list of Service Entries. Each element contains the following attributes:
- gateway
Id String - The ID of the Cloud Native API Gateway.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
Supporting Types
GetServicesService
- Addresses List<string>
- A list of domain names or fixed addresses.
- Create
Timestamp int - Creation timestamp.
- Dns
Servers List<string> - DNS servers.
- Express
Type string - Express type.
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Health
Check List<Pulumi.Configs Ali Cloud. Apig. Inputs. Get Services Service Health Check Config> - Health check configuration.
- Health
Status string - Health status.
- Healthy
Panic doubleThreshold - Healthy panic threshold.
- Id string
- The ID of the resource supplied above.
- Namespace string
- The namespace of the service.
- Outlier
Detection List<Pulumi.Configs Ali Cloud. Apig. Inputs. Get Services Service Outlier Detection Config> - Outlier detection configuration.
- Outlier
Endpoints List<string> - Outlier endpoints.
- Ports
List<Pulumi.
Ali Cloud. Apig. Inputs. Get Services Service Port> - Port information.
- Protocol string
- Service protocol.
- Qualifier string
- The function version or alias.
- Resource
Group stringId - The ID of the resource group
- Runtime
Detail stringError Code - Runtime detail error code.
- Runtime
Detail stringStatus - Runtime detail status.
- Service
Id string - service id.
- Service
Name string - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- Unhealthy
Endpoints List<string> - Unhealthy endpoints.
- Update
Timestamp int - Update timestamp.
- Addresses []string
- A list of domain names or fixed addresses.
- Create
Timestamp int - Creation timestamp.
- Dns
Servers []string - DNS servers.
- Express
Type string - Express type.
- Gateway
Id string - The ID of the Cloud Native API Gateway.
- Health
Check []GetConfigs Services Service Health Check Config - Health check configuration.
- Health
Status string - Health status.
- Healthy
Panic float64Threshold - Healthy panic threshold.
- Id string
- The ID of the resource supplied above.
- Namespace string
- The namespace of the service.
- Outlier
Detection []GetConfigs Services Service Outlier Detection Config - Outlier detection configuration.
- Outlier
Endpoints []string - Outlier endpoints.
- Ports
[]Get
Services Service Port - Port information.
- Protocol string
- Service protocol.
- Qualifier string
- The function version or alias.
- Resource
Group stringId - The ID of the resource group
- Runtime
Detail stringError Code - Runtime detail error code.
- Runtime
Detail stringStatus - Runtime detail status.
- Service
Id string - service id.
- Service
Name string - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- Source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- Unhealthy
Endpoints []string - Unhealthy endpoints.
- Update
Timestamp int - Update timestamp.
- addresses list(string)
- A list of domain names or fixed addresses.
- create_
timestamp number - Creation timestamp.
- dns_
servers list(string) - DNS servers.
- express_
type string - Express type.
- gateway_
id string - The ID of the Cloud Native API Gateway.
- health_
check_ list(object)configs - Health check configuration.
- health_
status string - Health status.
- healthy_
panic_ numberthreshold - Healthy panic threshold.
- id string
- The ID of the resource supplied above.
- namespace string
- The namespace of the service.
- outlier_
detection_ list(object)configs - Outlier detection configuration.
- outlier_
endpoints list(string) - Outlier endpoints.
- ports list(object)
- Port information.
- protocol string
- Service protocol.
- qualifier string
- The function version or alias.
- resource_
group_ stringid - The ID of the resource group
- runtime_
detail_ stringerror_ code - Runtime detail error code.
- runtime_
detail_ stringstatus - Runtime detail status.
- service_
id string - service id.
- service_
name string - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- source_
type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- unhealthy_
endpoints list(string) - Unhealthy endpoints.
- update_
timestamp number - Update timestamp.
- addresses List<String>
- A list of domain names or fixed addresses.
- create
Timestamp Integer - Creation timestamp.
- dns
Servers List<String> - DNS servers.
- express
Type String - Express type.
- gateway
Id String - The ID of the Cloud Native API Gateway.
- health
Check List<GetConfigs Services Service Health Check Config> - Health check configuration.
- health
Status String - Health status.
- healthy
Panic DoubleThreshold - Healthy panic threshold.
- id String
- The ID of the resource supplied above.
- namespace String
- The namespace of the service.
- outlier
Detection List<GetConfigs Services Service Outlier Detection Config> - Outlier detection configuration.
- outlier
Endpoints List<String> - Outlier endpoints.
- ports
List<Get
Services Service Port> - Port information.
- protocol String
- Service protocol.
- qualifier String
- The function version or alias.
- resource
Group StringId - The ID of the resource group
- runtime
Detail StringError Code - Runtime detail error code.
- runtime
Detail StringStatus - Runtime detail status.
- service
Id String - service id.
- service
Name String - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- unhealthy
Endpoints List<String> - Unhealthy endpoints.
- update
Timestamp Integer - Update timestamp.
- addresses string[]
- A list of domain names or fixed addresses.
- create
Timestamp number - Creation timestamp.
- dns
Servers string[] - DNS servers.
- express
Type string - Express type.
- gateway
Id string - The ID of the Cloud Native API Gateway.
- health
Check GetConfigs Services Service Health Check Config[] - Health check configuration.
- health
Status string - Health status.
- healthy
Panic numberThreshold - Healthy panic threshold.
- id string
- The ID of the resource supplied above.
- namespace string
- The namespace of the service.
- outlier
Detection GetConfigs Services Service Outlier Detection Config[] - Outlier detection configuration.
- outlier
Endpoints string[] - Outlier endpoints.
- ports
Get
Services Service Port[] - Port information.
- protocol string
- Service protocol.
- qualifier string
- The function version or alias.
- resource
Group stringId - The ID of the resource group
- runtime
Detail stringError Code - Runtime detail error code.
- runtime
Detail stringStatus - Runtime detail status.
- service
Id string - service id.
- service
Name string - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- source
Type string - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- unhealthy
Endpoints string[] - Unhealthy endpoints.
- update
Timestamp number - Update timestamp.
- addresses Sequence[str]
- A list of domain names or fixed addresses.
- create_
timestamp int - Creation timestamp.
- dns_
servers Sequence[str] - DNS servers.
- express_
type str - Express type.
- gateway_
id str - The ID of the Cloud Native API Gateway.
- health_
check_ Sequence[Getconfigs Services Service Health Check Config] - Health check configuration.
- health_
status str - Health status.
- healthy_
panic_ floatthreshold - Healthy panic threshold.
- id str
- The ID of the resource supplied above.
- namespace str
- The namespace of the service.
- outlier_
detection_ Sequence[Getconfigs Services Service Outlier Detection Config] - Outlier detection configuration.
- outlier_
endpoints Sequence[str] - Outlier endpoints.
- ports
Sequence[Get
Services Service Port] - Port information.
- protocol str
- Service protocol.
- qualifier str
- The function version or alias.
- resource_
group_ strid - The ID of the resource group
- runtime_
detail_ strerror_ code - Runtime detail error code.
- runtime_
detail_ strstatus - Runtime detail status.
- service_
id str - service id.
- service_
name str - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- source_
type str - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- unhealthy_
endpoints Sequence[str] - Unhealthy endpoints.
- update_
timestamp int - Update timestamp.
- addresses List<String>
- A list of domain names or fixed addresses.
- create
Timestamp Number - Creation timestamp.
- dns
Servers List<String> - DNS servers.
- express
Type String - Express type.
- gateway
Id String - The ID of the Cloud Native API Gateway.
- health
Check List<Property Map>Configs - Health check configuration.
- health
Status String - Health status.
- healthy
Panic NumberThreshold - Healthy panic threshold.
- id String
- The ID of the resource supplied above.
- namespace String
- The namespace of the service.
- outlier
Detection List<Property Map>Configs - Outlier detection configuration.
- outlier
Endpoints List<String> - Outlier endpoints.
- ports List<Property Map>
- Port information.
- protocol String
- Service protocol.
- qualifier String
- The function version or alias.
- resource
Group StringId - The ID of the resource group
- runtime
Detail StringError Code - Runtime detail error code.
- runtime
Detail StringStatus - Runtime detail status.
- service
Id String - service id.
- service
Name String - Service Name, need to fill in manually when sourceType is VIP/DNS/AI.
- source
Type String - service source type, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI
- unhealthy
Endpoints List<String> - Unhealthy endpoints.
- update
Timestamp Number - Update timestamp.
GetServicesServiceHealthCheckConfig
- Enable bool
- Whether to enable outlier detection.
- Expected
Statuses List<string> - Expected HTTP status codes.
- Healthy
Threshold int - Healthy threshold.
- Http
Host string - Health check host (optional when protocol is HTTP).
- Http
Path string - Health check path (required when protocol is HTTP).
- Interval int
- Detection interval.
- Protocol string
- Service protocol.
- Timeout int
- Health check response timeout.
- Unhealthy
Threshold int - Unhealthy threshold.
- Enable bool
- Whether to enable outlier detection.
- Expected
Statuses []string - Expected HTTP status codes.
- Healthy
Threshold int - Healthy threshold.
- Http
Host string - Health check host (optional when protocol is HTTP).
- Http
Path string - Health check path (required when protocol is HTTP).
- Interval int
- Detection interval.
- Protocol string
- Service protocol.
- Timeout int
- Health check response timeout.
- Unhealthy
Threshold int - Unhealthy threshold.
- enable bool
- Whether to enable outlier detection.
- expected_
statuses list(string) - Expected HTTP status codes.
- healthy_
threshold number - Healthy threshold.
- http_
host string - Health check host (optional when protocol is HTTP).
- http_
path string - Health check path (required when protocol is HTTP).
- interval number
- Detection interval.
- protocol string
- Service protocol.
- timeout number
- Health check response timeout.
- unhealthy_
threshold number - Unhealthy threshold.
- enable Boolean
- Whether to enable outlier detection.
- expected
Statuses List<String> - Expected HTTP status codes.
- healthy
Threshold Integer - Healthy threshold.
- http
Host String - Health check host (optional when protocol is HTTP).
- http
Path String - Health check path (required when protocol is HTTP).
- interval Integer
- Detection interval.
- protocol String
- Service protocol.
- timeout Integer
- Health check response timeout.
- unhealthy
Threshold Integer - Unhealthy threshold.
- enable boolean
- Whether to enable outlier detection.
- expected
Statuses string[] - Expected HTTP status codes.
- healthy
Threshold number - Healthy threshold.
- http
Host string - Health check host (optional when protocol is HTTP).
- http
Path string - Health check path (required when protocol is HTTP).
- interval number
- Detection interval.
- protocol string
- Service protocol.
- timeout number
- Health check response timeout.
- unhealthy
Threshold number - Unhealthy threshold.
- enable bool
- Whether to enable outlier detection.
- expected_
statuses Sequence[str] - Expected HTTP status codes.
- healthy_
threshold int - Healthy threshold.
- http_
host str - Health check host (optional when protocol is HTTP).
- http_
path str - Health check path (required when protocol is HTTP).
- interval int
- Detection interval.
- protocol str
- Service protocol.
- timeout int
- Health check response timeout.
- unhealthy_
threshold int - Unhealthy threshold.
- enable Boolean
- Whether to enable outlier detection.
- expected
Statuses List<String> - Expected HTTP status codes.
- healthy
Threshold Number - Healthy threshold.
- http
Host String - Health check host (optional when protocol is HTTP).
- http
Path String - Health check path (required when protocol is HTTP).
- interval Number
- Detection interval.
- protocol String
- Service protocol.
- timeout Number
- Health check response timeout.
- unhealthy
Threshold Number - Unhealthy threshold.
GetServicesServiceOutlierDetectionConfig
- Base
Ejection intTime - Base ejection time.
- Enable bool
- Whether to enable outlier detection.
- Failure
Percentage intMinimum Hosts - Failure percentage minimum hosts.
- Failure
Percentage intThreshold - Failure percentage threshold.
- Interval int
- Detection interval.
- Base
Ejection intTime - Base ejection time.
- Enable bool
- Whether to enable outlier detection.
- Failure
Percentage intMinimum Hosts - Failure percentage minimum hosts.
- Failure
Percentage intThreshold - Failure percentage threshold.
- Interval int
- Detection interval.
- base_
ejection_ numbertime - Base ejection time.
- enable bool
- Whether to enable outlier detection.
- failure_
percentage_ numberminimum_ hosts - Failure percentage minimum hosts.
- failure_
percentage_ numberthreshold - Failure percentage threshold.
- interval number
- Detection interval.
- base
Ejection IntegerTime - Base ejection time.
- enable Boolean
- Whether to enable outlier detection.
- failure
Percentage IntegerMinimum Hosts - Failure percentage minimum hosts.
- failure
Percentage IntegerThreshold - Failure percentage threshold.
- interval Integer
- Detection interval.
- base
Ejection numberTime - Base ejection time.
- enable boolean
- Whether to enable outlier detection.
- failure
Percentage numberMinimum Hosts - Failure percentage minimum hosts.
- failure
Percentage numberThreshold - Failure percentage threshold.
- interval number
- Detection interval.
- base_
ejection_ inttime - Base ejection time.
- enable bool
- Whether to enable outlier detection.
- failure_
percentage_ intminimum_ hosts - Failure percentage minimum hosts.
- failure_
percentage_ intthreshold - Failure percentage threshold.
- interval int
- Detection interval.
- base
Ejection NumberTime - Base ejection time.
- enable Boolean
- Whether to enable outlier detection.
- failure
Percentage NumberMinimum Hosts - Failure percentage minimum hosts.
- failure
Percentage NumberThreshold - Failure percentage threshold.
- interval Number
- Detection interval.
GetServicesServicePort
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