Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.ga.getEndpointGroups
Explore with Pulumi AI
This data source provides the Global Accelerator (GA) Endpoint Groups of the current Alibaba Cloud user.
NOTE: Available since v1.113.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const region = config.get("region") || "cn-hangzhou";
const name = config.get("name") || "tf-example";
const default = alicloud.ga.getAccelerators({
status: "active",
});
const defaultBandwidthPackage = new alicloud.ga.BandwidthPackage("default", {
bandwidth: 100,
type: "Basic",
bandwidthType: "Basic",
paymentType: "PayAsYouGo",
billingType: "PayBy95",
ratio: 30,
bandwidthPackageName: name,
autoPay: true,
autoUseCoupon: true,
});
const defaultBandwidthPackageAttachment = new alicloud.ga.BandwidthPackageAttachment("default", {
acceleratorId: _default.then(_default => _default.ids?.[0]),
bandwidthPackageId: defaultBandwidthPackage.id,
});
const defaultListener = new alicloud.ga.Listener("default", {
acceleratorId: defaultBandwidthPackageAttachment.acceleratorId,
clientAffinity: "SOURCE_IP",
protocol: "UDP",
name: name,
portRanges: [{
fromPort: 60,
toPort: 70,
}],
});
const defaultEipAddress = new alicloud.ecs.EipAddress("default", {
bandwidth: "10",
internetChargeType: "PayByBandwidth",
addressName: name,
});
const defaultEndpointGroup = new alicloud.ga.EndpointGroup("default", {
acceleratorId: defaultListener.acceleratorId,
listenerId: defaultListener.id,
description: name,
name: name,
thresholdCount: 4,
trafficPercentage: 20,
endpointGroupRegion: "cn-hangzhou",
healthCheckIntervalSeconds: 3,
healthCheckPath: "/healthcheck",
healthCheckPort: 9999,
healthCheckProtocol: "http",
portOverrides: {
endpointPort: 10,
listenerPort: 60,
},
endpointConfigurations: [{
endpoint: defaultEipAddress.ipAddress,
type: "PublicIp",
weight: 20,
}],
});
const defaultGetEndpointGroups = alicloud.ga.getEndpointGroupsOutput({
acceleratorId: defaultEndpointGroup.acceleratorId,
ids: [defaultEndpointGroup.id],
});
export const firstGaEndpointGroupId = defaultGetEndpointGroups.apply(defaultGetEndpointGroups => defaultGetEndpointGroups.groups?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
region = config.get("region")
if region is None:
region = "cn-hangzhou"
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.ga.get_accelerators(status="active")
default_bandwidth_package = alicloud.ga.BandwidthPackage("default",
bandwidth=100,
type="Basic",
bandwidth_type="Basic",
payment_type="PayAsYouGo",
billing_type="PayBy95",
ratio=30,
bandwidth_package_name=name,
auto_pay=True,
auto_use_coupon=True)
default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("default",
accelerator_id=default.ids[0],
bandwidth_package_id=default_bandwidth_package.id)
default_listener = alicloud.ga.Listener("default",
accelerator_id=default_bandwidth_package_attachment.accelerator_id,
client_affinity="SOURCE_IP",
protocol="UDP",
name=name,
port_ranges=[{
"from_port": 60,
"to_port": 70,
}])
default_eip_address = alicloud.ecs.EipAddress("default",
bandwidth="10",
internet_charge_type="PayByBandwidth",
address_name=name)
default_endpoint_group = alicloud.ga.EndpointGroup("default",
accelerator_id=default_listener.accelerator_id,
listener_id=default_listener.id,
description=name,
name=name,
threshold_count=4,
traffic_percentage=20,
endpoint_group_region="cn-hangzhou",
health_check_interval_seconds=3,
health_check_path="/healthcheck",
health_check_port=9999,
health_check_protocol="http",
port_overrides={
"endpoint_port": 10,
"listener_port": 60,
},
endpoint_configurations=[{
"endpoint": default_eip_address.ip_address,
"type": "PublicIp",
"weight": 20,
}])
default_get_endpoint_groups = alicloud.ga.get_endpoint_groups_output(accelerator_id=default_endpoint_group.accelerator_id,
ids=[default_endpoint_group.id])
pulumi.export("firstGaEndpointGroupId", default_get_endpoint_groups.groups[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
"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, "")
region := "cn-hangzhou"
if param := cfg.Get("region"); param != "" {
region = param
}
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := ga.GetAccelerators(ctx, &ga.GetAcceleratorsArgs{
Status: pulumi.StringRef("active"),
}, nil)
if err != nil {
return err
}
defaultBandwidthPackage, err := ga.NewBandwidthPackage(ctx, "default", &ga.BandwidthPackageArgs{
Bandwidth: pulumi.Int(100),
Type: pulumi.String("Basic"),
BandwidthType: pulumi.String("Basic"),
PaymentType: pulumi.String("PayAsYouGo"),
BillingType: pulumi.String("PayBy95"),
Ratio: pulumi.Int(30),
BandwidthPackageName: pulumi.String(name),
AutoPay: pulumi.Bool(true),
AutoUseCoupon: pulumi.Bool(true),
})
if err != nil {
return err
}
defaultBandwidthPackageAttachment, err := ga.NewBandwidthPackageAttachment(ctx, "default", &ga.BandwidthPackageAttachmentArgs{
AcceleratorId: pulumi.String(_default.Ids[0]),
BandwidthPackageId: defaultBandwidthPackage.ID(),
})
if err != nil {
return err
}
defaultListener, err := ga.NewListener(ctx, "default", &ga.ListenerArgs{
AcceleratorId: defaultBandwidthPackageAttachment.AcceleratorId,
ClientAffinity: pulumi.String("SOURCE_IP"),
Protocol: pulumi.String("UDP"),
Name: pulumi.String(name),
PortRanges: ga.ListenerPortRangeArray{
&ga.ListenerPortRangeArgs{
FromPort: pulumi.Int(60),
ToPort: pulumi.Int(70),
},
},
})
if err != nil {
return err
}
defaultEipAddress, err := ecs.NewEipAddress(ctx, "default", &ecs.EipAddressArgs{
Bandwidth: pulumi.String("10"),
InternetChargeType: pulumi.String("PayByBandwidth"),
AddressName: pulumi.String(name),
})
if err != nil {
return err
}
defaultEndpointGroup, err := ga.NewEndpointGroup(ctx, "default", &ga.EndpointGroupArgs{
AcceleratorId: defaultListener.AcceleratorId,
ListenerId: defaultListener.ID(),
Description: pulumi.String(name),
Name: pulumi.String(name),
ThresholdCount: pulumi.Int(4),
TrafficPercentage: pulumi.Int(20),
EndpointGroupRegion: pulumi.String("cn-hangzhou"),
HealthCheckIntervalSeconds: pulumi.Int(3),
HealthCheckPath: pulumi.String("/healthcheck"),
HealthCheckPort: pulumi.Int(9999),
HealthCheckProtocol: pulumi.String("http"),
PortOverrides: &ga.EndpointGroupPortOverridesArgs{
EndpointPort: pulumi.Int(10),
ListenerPort: pulumi.Int(60),
},
EndpointConfigurations: ga.EndpointGroupEndpointConfigurationArray{
&ga.EndpointGroupEndpointConfigurationArgs{
Endpoint: defaultEipAddress.IpAddress,
Type: pulumi.String("PublicIp"),
Weight: pulumi.Int(20),
},
},
})
if err != nil {
return err
}
defaultGetEndpointGroups := ga.GetEndpointGroupsOutput(ctx, ga.GetEndpointGroupsOutputArgs{
AcceleratorId: defaultEndpointGroup.AcceleratorId,
Ids: pulumi.StringArray{
defaultEndpointGroup.ID(),
},
}, nil)
ctx.Export("firstGaEndpointGroupId", defaultGetEndpointGroups.ApplyT(func(defaultGetEndpointGroups ga.GetEndpointGroupsResult) (*string, error) {
return &defaultGetEndpointGroups.Groups[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 region = config.Get("region") ?? "cn-hangzhou";
var name = config.Get("name") ?? "tf-example";
var @default = AliCloud.Ga.GetAccelerators.Invoke(new()
{
Status = "active",
});
var defaultBandwidthPackage = new AliCloud.Ga.BandwidthPackage("default", new()
{
Bandwidth = 100,
Type = "Basic",
BandwidthType = "Basic",
PaymentType = "PayAsYouGo",
BillingType = "PayBy95",
Ratio = 30,
BandwidthPackageName = name,
AutoPay = true,
AutoUseCoupon = true,
});
var defaultBandwidthPackageAttachment = new AliCloud.Ga.BandwidthPackageAttachment("default", new()
{
AcceleratorId = @default.Apply(@default => @default.Apply(getAcceleratorsResult => getAcceleratorsResult.Ids[0])),
BandwidthPackageId = defaultBandwidthPackage.Id,
});
var defaultListener = new AliCloud.Ga.Listener("default", new()
{
AcceleratorId = defaultBandwidthPackageAttachment.AcceleratorId,
ClientAffinity = "SOURCE_IP",
Protocol = "UDP",
Name = name,
PortRanges = new[]
{
new AliCloud.Ga.Inputs.ListenerPortRangeArgs
{
FromPort = 60,
ToPort = 70,
},
},
});
var defaultEipAddress = new AliCloud.Ecs.EipAddress("default", new()
{
Bandwidth = "10",
InternetChargeType = "PayByBandwidth",
AddressName = name,
});
var defaultEndpointGroup = new AliCloud.Ga.EndpointGroup("default", new()
{
AcceleratorId = defaultListener.AcceleratorId,
ListenerId = defaultListener.Id,
Description = name,
Name = name,
ThresholdCount = 4,
TrafficPercentage = 20,
EndpointGroupRegion = "cn-hangzhou",
HealthCheckIntervalSeconds = 3,
HealthCheckPath = "/healthcheck",
HealthCheckPort = 9999,
HealthCheckProtocol = "http",
PortOverrides = new AliCloud.Ga.Inputs.EndpointGroupPortOverridesArgs
{
EndpointPort = 10,
ListenerPort = 60,
},
EndpointConfigurations = new[]
{
new AliCloud.Ga.Inputs.EndpointGroupEndpointConfigurationArgs
{
Endpoint = defaultEipAddress.IpAddress,
Type = "PublicIp",
Weight = 20,
},
},
});
var defaultGetEndpointGroups = AliCloud.Ga.GetEndpointGroups.Invoke(new()
{
AcceleratorId = defaultEndpointGroup.AcceleratorId,
Ids = new[]
{
defaultEndpointGroup.Id,
},
});
return new Dictionary<string, object?>
{
["firstGaEndpointGroupId"] = defaultGetEndpointGroups.Apply(getEndpointGroupsResult => getEndpointGroupsResult.Groups[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.GaFunctions;
import com.pulumi.alicloud.ga.inputs.GetAcceleratorsArgs;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
import com.pulumi.alicloud.ga.BandwidthPackageAttachment;
import com.pulumi.alicloud.ga.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.ga.Listener;
import com.pulumi.alicloud.ga.ListenerArgs;
import com.pulumi.alicloud.ga.inputs.ListenerPortRangeArgs;
import com.pulumi.alicloud.ecs.EipAddress;
import com.pulumi.alicloud.ecs.EipAddressArgs;
import com.pulumi.alicloud.ga.EndpointGroup;
import com.pulumi.alicloud.ga.EndpointGroupArgs;
import com.pulumi.alicloud.ga.inputs.EndpointGroupPortOverridesArgs;
import com.pulumi.alicloud.ga.inputs.EndpointGroupEndpointConfigurationArgs;
import com.pulumi.alicloud.ga.inputs.GetEndpointGroupsArgs;
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 region = config.get("region").orElse("cn-hangzhou");
final var name = config.get("name").orElse("tf-example");
final var default = GaFunctions.getAccelerators(GetAcceleratorsArgs.builder()
.status("active")
.build());
var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()
.bandwidth(100)
.type("Basic")
.bandwidthType("Basic")
.paymentType("PayAsYouGo")
.billingType("PayBy95")
.ratio(30)
.bandwidthPackageName(name)
.autoPay(true)
.autoUseCoupon(true)
.build());
var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
.acceleratorId(default_.ids()[0])
.bandwidthPackageId(defaultBandwidthPackage.id())
.build());
var defaultListener = new Listener("defaultListener", ListenerArgs.builder()
.acceleratorId(defaultBandwidthPackageAttachment.acceleratorId())
.clientAffinity("SOURCE_IP")
.protocol("UDP")
.name(name)
.portRanges(ListenerPortRangeArgs.builder()
.fromPort("60")
.toPort("70")
.build())
.build());
var defaultEipAddress = new EipAddress("defaultEipAddress", EipAddressArgs.builder()
.bandwidth("10")
.internetChargeType("PayByBandwidth")
.addressName(name)
.build());
var defaultEndpointGroup = new EndpointGroup("defaultEndpointGroup", EndpointGroupArgs.builder()
.acceleratorId(defaultListener.acceleratorId())
.listenerId(defaultListener.id())
.description(name)
.name(name)
.thresholdCount(4)
.trafficPercentage(20)
.endpointGroupRegion("cn-hangzhou")
.healthCheckIntervalSeconds("3")
.healthCheckPath("/healthcheck")
.healthCheckPort("9999")
.healthCheckProtocol("http")
.portOverrides(EndpointGroupPortOverridesArgs.builder()
.endpointPort("10")
.listenerPort("60")
.build())
.endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
.endpoint(defaultEipAddress.ipAddress())
.type("PublicIp")
.weight("20")
.build())
.build());
final var defaultGetEndpointGroups = GaFunctions.getEndpointGroups(GetEndpointGroupsArgs.builder()
.acceleratorId(defaultEndpointGroup.acceleratorId())
.ids(defaultEndpointGroup.id())
.build());
ctx.export("firstGaEndpointGroupId", defaultGetEndpointGroups.applyValue(getEndpointGroupsResult -> getEndpointGroupsResult).applyValue(defaultGetEndpointGroups -> defaultGetEndpointGroups.applyValue(getEndpointGroupsResult -> getEndpointGroupsResult.groups()[0].id())));
}
}
configuration:
region:
type: string
default: cn-hangzhou
name:
type: string
default: tf-example
resources:
defaultBandwidthPackage:
type: alicloud:ga:BandwidthPackage
name: default
properties:
bandwidth: 100
type: Basic
bandwidthType: Basic
paymentType: PayAsYouGo
billingType: PayBy95
ratio: 30
bandwidthPackageName: ${name}
autoPay: true
autoUseCoupon: true
defaultBandwidthPackageAttachment:
type: alicloud:ga:BandwidthPackageAttachment
name: default
properties:
acceleratorId: ${default.ids[0]}
bandwidthPackageId: ${defaultBandwidthPackage.id}
defaultListener:
type: alicloud:ga:Listener
name: default
properties:
acceleratorId: ${defaultBandwidthPackageAttachment.acceleratorId}
clientAffinity: SOURCE_IP
protocol: UDP
name: ${name}
portRanges:
- fromPort: '60'
toPort: '70'
defaultEipAddress:
type: alicloud:ecs:EipAddress
name: default
properties:
bandwidth: '10'
internetChargeType: PayByBandwidth
addressName: ${name}
defaultEndpointGroup:
type: alicloud:ga:EndpointGroup
name: default
properties:
acceleratorId: ${defaultListener.acceleratorId}
listenerId: ${defaultListener.id}
description: ${name}
name: ${name}
thresholdCount: 4
trafficPercentage: 20
endpointGroupRegion: cn-hangzhou
healthCheckIntervalSeconds: '3'
healthCheckPath: /healthcheck
healthCheckPort: '9999'
healthCheckProtocol: http
portOverrides:
endpointPort: '10'
listenerPort: '60'
endpointConfigurations:
- endpoint: ${defaultEipAddress.ipAddress}
type: PublicIp
weight: '20'
variables:
default:
fn::invoke:
Function: alicloud:ga:getAccelerators
Arguments:
status: active
defaultGetEndpointGroups:
fn::invoke:
Function: alicloud:ga:getEndpointGroups
Arguments:
acceleratorId: ${defaultEndpointGroup.acceleratorId}
ids:
- ${defaultEndpointGroup.id}
outputs:
firstGaEndpointGroupId: ${defaultGetEndpointGroups.groups[0].id}
Using getEndpointGroups
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 getEndpointGroups(args: GetEndpointGroupsArgs, opts?: InvokeOptions): Promise<GetEndpointGroupsResult>
function getEndpointGroupsOutput(args: GetEndpointGroupsOutputArgs, opts?: InvokeOptions): Output<GetEndpointGroupsResult>
def get_endpoint_groups(accelerator_id: Optional[str] = None,
endpoint_group_type: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
listener_id: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointGroupsResult
def get_endpoint_groups_output(accelerator_id: Optional[pulumi.Input[str]] = None,
endpoint_group_type: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
listener_id: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointGroupsResult]
func GetEndpointGroups(ctx *Context, args *GetEndpointGroupsArgs, opts ...InvokeOption) (*GetEndpointGroupsResult, error)
func GetEndpointGroupsOutput(ctx *Context, args *GetEndpointGroupsOutputArgs, opts ...InvokeOption) GetEndpointGroupsResultOutput
> Note: This function is named GetEndpointGroups
in the Go SDK.
public static class GetEndpointGroups
{
public static Task<GetEndpointGroupsResult> InvokeAsync(GetEndpointGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointGroupsResult> Invoke(GetEndpointGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEndpointGroupsResult> getEndpointGroups(GetEndpointGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:ga/getEndpointGroups:getEndpointGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Accelerator
Id string - The ID of the Global Accelerator instance to which the endpoint group will be added.
- Endpoint
Group stringType - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - Ids List<string>
- A list of Endpoint Group IDs.
- Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name
Regex string - A regex string to filter results by Endpoint Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
- Accelerator
Id string - The ID of the Global Accelerator instance to which the endpoint group will be added.
- Endpoint
Group stringType - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - Ids []string
- A list of Endpoint Group IDs.
- Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name
Regex string - A regex string to filter results by Endpoint Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
- accelerator
Id String - The ID of the Global Accelerator instance to which the endpoint group will be added.
- endpoint
Group StringType - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - ids List<String>
- A list of Endpoint Group IDs.
- listener
Id String - The ID of the listener that is associated with the endpoint group.
- name
Regex String - A regex string to filter results by Endpoint Group name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
- accelerator
Id string - The ID of the Global Accelerator instance to which the endpoint group will be added.
- endpoint
Group stringType - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - ids string[]
- A list of Endpoint Group IDs.
- listener
Id string - The ID of the listener that is associated with the endpoint group.
- name
Regex string - A regex string to filter results by Endpoint Group name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
- accelerator_
id str - The ID of the Global Accelerator instance to which the endpoint group will be added.
- endpoint_
group_ strtype - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - ids Sequence[str]
- A list of Endpoint Group IDs.
- listener_
id str - The ID of the listener that is associated with the endpoint group.
- name_
regex str - A regex string to filter results by Endpoint Group name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status str
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
- accelerator
Id String - The ID of the Global Accelerator instance to which the endpoint group will be added.
- endpoint
Group StringType - The endpoint group type. Default value:
default
. Valid values:default
,virtual
. - ids List<String>
- A list of Endpoint Group IDs.
- listener
Id String - The ID of the listener that is associated with the endpoint group.
- name
Regex String - A regex string to filter results by Endpoint Group name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
.
getEndpointGroups Result
The following output properties are available:
- Accelerator
Id string - Groups
List<Pulumi.
Ali Cloud. Ga. Outputs. Get Endpoint Groups Group> - A list of Ga Endpoint Groups. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- A list of Endpoint Group names.
- Endpoint
Group stringType - Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name
Regex string - Output
File string - Status string
- The status of the endpoint group.
- Accelerator
Id string - Groups
[]Get
Endpoint Groups Group - A list of Ga Endpoint Groups. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of Endpoint Group names.
- Endpoint
Group stringType - Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name
Regex string - Output
File string - Status string
- The status of the endpoint group.
- accelerator
Id String - groups
List<Get
Endpoint Groups Group> - A list of Ga Endpoint Groups. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Endpoint Group names.
- endpoint
Group StringType - listener
Id String - The ID of the listener that is associated with the endpoint group.
- name
Regex String - output
File String - status String
- The status of the endpoint group.
- accelerator
Id string - groups
Get
Endpoint Groups Group[] - A list of Ga Endpoint Groups. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of Endpoint Group names.
- endpoint
Group stringType - listener
Id string - The ID of the listener that is associated with the endpoint group.
- name
Regex string - output
File string - status string
- The status of the endpoint group.
- accelerator_
id str - groups
Sequence[Get
Endpoint Groups Group] - A list of Ga Endpoint Groups. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of Endpoint Group names.
- endpoint_
group_ strtype - listener_
id str - The ID of the listener that is associated with the endpoint group.
- name_
regex str - output_
file str - status str
- The status of the endpoint group.
- accelerator
Id String - groups List<Property Map>
- A list of Ga Endpoint Groups. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Endpoint Group names.
- endpoint
Group StringType - listener
Id String - The ID of the listener that is associated with the endpoint group.
- name
Regex String - output
File String - status String
- The status of the endpoint group.
Supporting Types
GetEndpointGroupsGroup
- Description string
- The description of the endpoint group.
- Endpoint
Configurations List<Pulumi.Ali Cloud. Ga. Inputs. Get Endpoint Groups Group Endpoint Configuration> - The endpointConfigurations of the endpoint group.
- Endpoint
Group stringId - The endpoint_group_id of the Endpoint Group.
- Endpoint
Group List<string>Ip Lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- Endpoint
Group stringRegion - The ID of the region where the endpoint group is deployed.
- Health
Check intInterval Seconds - The interval between two consecutive health checks. Unit: seconds.
- Health
Check stringPath - The path specified as the destination of the targets for health checks.
- Health
Check intPort - The port that is used for health checks.
- Health
Check stringProtocol - The protocol that is used to connect to the targets for health checks.
- Id string
- The ID of the Endpoint Group.
- Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name string
- The name of the endpoint group.
- Port
Overrides List<Pulumi.Ali Cloud. Ga. Inputs. Get Endpoint Groups Group Port Override> - Mapping between listening port and forwarding port of boarding point.
- Status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - Threshold
Count int - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- Traffic
Percentage int - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
- Description string
- The description of the endpoint group.
- Endpoint
Configurations []GetEndpoint Groups Group Endpoint Configuration - The endpointConfigurations of the endpoint group.
- Endpoint
Group stringId - The endpoint_group_id of the Endpoint Group.
- Endpoint
Group []stringIp Lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- Endpoint
Group stringRegion - The ID of the region where the endpoint group is deployed.
- Health
Check intInterval Seconds - The interval between two consecutive health checks. Unit: seconds.
- Health
Check stringPath - The path specified as the destination of the targets for health checks.
- Health
Check intPort - The port that is used for health checks.
- Health
Check stringProtocol - The protocol that is used to connect to the targets for health checks.
- Id string
- The ID of the Endpoint Group.
- Listener
Id string - The ID of the listener that is associated with the endpoint group.
- Name string
- The name of the endpoint group.
- Port
Overrides []GetEndpoint Groups Group Port Override - Mapping between listening port and forwarding port of boarding point.
- Status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - Threshold
Count int - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- Traffic
Percentage int - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
- description String
- The description of the endpoint group.
- endpoint
Configurations List<GetEndpoint Groups Group Endpoint Configuration> - The endpointConfigurations of the endpoint group.
- endpoint
Group StringId - The endpoint_group_id of the Endpoint Group.
- endpoint
Group List<String>Ip Lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- endpoint
Group StringRegion - The ID of the region where the endpoint group is deployed.
- health
Check IntegerInterval Seconds - The interval between two consecutive health checks. Unit: seconds.
- health
Check StringPath - The path specified as the destination of the targets for health checks.
- health
Check IntegerPort - The port that is used for health checks.
- health
Check StringProtocol - The protocol that is used to connect to the targets for health checks.
- id String
- The ID of the Endpoint Group.
- listener
Id String - The ID of the listener that is associated with the endpoint group.
- name String
- The name of the endpoint group.
- port
Overrides List<GetEndpoint Groups Group Port Override> - Mapping between listening port and forwarding port of boarding point.
- status String
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - threshold
Count Integer - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- traffic
Percentage Integer - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
- description string
- The description of the endpoint group.
- endpoint
Configurations GetEndpoint Groups Group Endpoint Configuration[] - The endpointConfigurations of the endpoint group.
- endpoint
Group stringId - The endpoint_group_id of the Endpoint Group.
- endpoint
Group string[]Ip Lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- endpoint
Group stringRegion - The ID of the region where the endpoint group is deployed.
- health
Check numberInterval Seconds - The interval between two consecutive health checks. Unit: seconds.
- health
Check stringPath - The path specified as the destination of the targets for health checks.
- health
Check numberPort - The port that is used for health checks.
- health
Check stringProtocol - The protocol that is used to connect to the targets for health checks.
- id string
- The ID of the Endpoint Group.
- listener
Id string - The ID of the listener that is associated with the endpoint group.
- name string
- The name of the endpoint group.
- port
Overrides GetEndpoint Groups Group Port Override[] - Mapping between listening port and forwarding port of boarding point.
- status string
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - threshold
Count number - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- traffic
Percentage number - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
- description str
- The description of the endpoint group.
- endpoint_
configurations Sequence[GetEndpoint Groups Group Endpoint Configuration] - The endpointConfigurations of the endpoint group.
- endpoint_
group_ strid - The endpoint_group_id of the Endpoint Group.
- endpoint_
group_ Sequence[str]ip_ lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- endpoint_
group_ strregion - The ID of the region where the endpoint group is deployed.
- health_
check_ intinterval_ seconds - The interval between two consecutive health checks. Unit: seconds.
- health_
check_ strpath - The path specified as the destination of the targets for health checks.
- health_
check_ intport - The port that is used for health checks.
- health_
check_ strprotocol - The protocol that is used to connect to the targets for health checks.
- id str
- The ID of the Endpoint Group.
- listener_
id str - The ID of the listener that is associated with the endpoint group.
- name str
- The name of the endpoint group.
- port_
overrides Sequence[GetEndpoint Groups Group Port Override] - Mapping between listening port and forwarding port of boarding point.
- status str
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - threshold_
count int - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- traffic_
percentage int - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
- description String
- The description of the endpoint group.
- endpoint
Configurations List<Property Map> - The endpointConfigurations of the endpoint group.
- endpoint
Group StringId - The endpoint_group_id of the Endpoint Group.
- endpoint
Group List<String>Ip Lists - (Available since v1.213.1) The list of endpoint group IP addresses.
- endpoint
Group StringRegion - The ID of the region where the endpoint group is deployed.
- health
Check NumberInterval Seconds - The interval between two consecutive health checks. Unit: seconds.
- health
Check StringPath - The path specified as the destination of the targets for health checks.
- health
Check NumberPort - The port that is used for health checks.
- health
Check StringProtocol - The protocol that is used to connect to the targets for health checks.
- id String
- The ID of the Endpoint Group.
- listener
Id String - The ID of the listener that is associated with the endpoint group.
- name String
- The name of the endpoint group.
- port
Overrides List<Property Map> - Mapping between listening port and forwarding port of boarding point.
- status String
- The status of the endpoint group. Valid values:
active
,configuring
,creating
,init
. - threshold
Count Number - The number of consecutive failed heath checks that must occur before the endpoint is deemed unhealthy.
- traffic
Percentage Number - The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.
GetEndpointGroupsGroupEndpointConfiguration
- Enable
Clientip boolPreservation - Indicates whether client IP addresses are reserved.
- Endpoint string
- The IP address or domain name of Endpoint N in the endpoint group.
- Probe
Port int - Probe Port.
- Probe
Protocol string - Probe Protocol.
- Type string
- The type of Endpoint N in the endpoint group.
- Weight int
- The weight of Endpoint N in the endpoint group.
- Enable
Clientip boolPreservation - Indicates whether client IP addresses are reserved.
- Endpoint string
- The IP address or domain name of Endpoint N in the endpoint group.
- Probe
Port int - Probe Port.
- Probe
Protocol string - Probe Protocol.
- Type string
- The type of Endpoint N in the endpoint group.
- Weight int
- The weight of Endpoint N in the endpoint group.
- enable
Clientip BooleanPreservation - Indicates whether client IP addresses are reserved.
- endpoint String
- The IP address or domain name of Endpoint N in the endpoint group.
- probe
Port Integer - Probe Port.
- probe
Protocol String - Probe Protocol.
- type String
- The type of Endpoint N in the endpoint group.
- weight Integer
- The weight of Endpoint N in the endpoint group.
- enable
Clientip booleanPreservation - Indicates whether client IP addresses are reserved.
- endpoint string
- The IP address or domain name of Endpoint N in the endpoint group.
- probe
Port number - Probe Port.
- probe
Protocol string - Probe Protocol.
- type string
- The type of Endpoint N in the endpoint group.
- weight number
- The weight of Endpoint N in the endpoint group.
- enable_
clientip_ boolpreservation - Indicates whether client IP addresses are reserved.
- endpoint str
- The IP address or domain name of Endpoint N in the endpoint group.
- probe_
port int - Probe Port.
- probe_
protocol str - Probe Protocol.
- type str
- The type of Endpoint N in the endpoint group.
- weight int
- The weight of Endpoint N in the endpoint group.
- enable
Clientip BooleanPreservation - Indicates whether client IP addresses are reserved.
- endpoint String
- The IP address or domain name of Endpoint N in the endpoint group.
- probe
Port Number - Probe Port.
- probe
Protocol String - Probe Protocol.
- type String
- The type of Endpoint N in the endpoint group.
- weight Number
- The weight of Endpoint N in the endpoint group.
GetEndpointGroupsGroupPortOverride
- Endpoint
Port int - Forwarding port.
- Listener
Port int - Listener port.
- Endpoint
Port int - Forwarding port.
- Listener
Port int - Listener port.
- endpoint
Port Integer - Forwarding port.
- listener
Port Integer - Listener port.
- endpoint
Port number - Forwarding port.
- listener
Port number - Listener port.
- endpoint_
port int - Forwarding port.
- listener_
port int - Listener port.
- endpoint
Port Number - Forwarding port.
- listener
Port Number - Listener port.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.