alicloud.ga.BasicEndpointGroup
Explore with Pulumi AI
Provides a Global Accelerator (GA) Basic Endpoint Group resource.
For information about Global Accelerator (GA) Basic Endpoint Group and how to use it, see What is Basic Endpoint Group.
NOTE: Available since v1.194.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 endpointGroupRegion = config.get("endpointGroupRegion") || "cn-beijing";
const default = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: "terraform-example",
cidrBlock: "172.17.3.0/24",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vswitchName: "terraform-example",
cidrBlock: "172.17.3.0/24",
vpcId: defaultNetwork.id,
zoneId: _default.then(_default => _default.zones?.[0]?.id),
});
const defaultApplicationLoadBalancer = new alicloud.slb.ApplicationLoadBalancer("default", {
loadBalancerName: "terraform-example",
vswitchId: defaultSwitch.id,
loadBalancerSpec: "slb.s2.small",
addressType: "intranet",
});
const defaultBasicAccelerator = new alicloud.ga.BasicAccelerator("default", {
duration: 1,
basicAcceleratorName: "terraform-example",
description: "terraform-example",
bandwidthBillingType: "CDT",
autoUseCoupon: "true",
autoPay: true,
});
const defaultBasicEndpointGroup = new alicloud.ga.BasicEndpointGroup("default", {
acceleratorId: defaultBasicAccelerator.id,
endpointGroupRegion: endpointGroupRegion,
endpointType: "SLB",
endpointAddress: defaultApplicationLoadBalancer.id,
endpointSubAddress: "192.168.0.1",
basicEndpointGroupName: "terraform-example",
description: "terraform-example",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
region = config.get("region")
if region is None:
region = "cn-hangzhou"
endpoint_group_region = config.get("endpointGroupRegion")
if endpoint_group_region is None:
endpoint_group_region = "cn-beijing"
default = alicloud.get_zones(available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("default",
vpc_name="terraform-example",
cidr_block="172.17.3.0/24")
default_switch = alicloud.vpc.Switch("default",
vswitch_name="terraform-example",
cidr_block="172.17.3.0/24",
vpc_id=default_network.id,
zone_id=default.zones[0].id)
default_application_load_balancer = alicloud.slb.ApplicationLoadBalancer("default",
load_balancer_name="terraform-example",
vswitch_id=default_switch.id,
load_balancer_spec="slb.s2.small",
address_type="intranet")
default_basic_accelerator = alicloud.ga.BasicAccelerator("default",
duration=1,
basic_accelerator_name="terraform-example",
description="terraform-example",
bandwidth_billing_type="CDT",
auto_use_coupon="true",
auto_pay=True)
default_basic_endpoint_group = alicloud.ga.BasicEndpointGroup("default",
accelerator_id=default_basic_accelerator.id,
endpoint_group_region=endpoint_group_region,
endpoint_type="SLB",
endpoint_address=default_application_load_balancer.id,
endpoint_sub_address="192.168.0.1",
basic_endpoint_group_name="terraform-example",
description="terraform-example")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb"
"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, "")
region := "cn-hangzhou"
if param := cfg.Get("region"); param != "" {
region = param
}
endpointGroupRegion := "cn-beijing"
if param := cfg.Get("endpointGroupRegion"); param != "" {
endpointGroupRegion = param
}
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String("terraform-example"),
CidrBlock: pulumi.String("172.17.3.0/24"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VswitchName: pulumi.String("terraform-example"),
CidrBlock: pulumi.String("172.17.3.0/24"),
VpcId: defaultNetwork.ID(),
ZoneId: pulumi.String(_default.Zones[0].Id),
})
if err != nil {
return err
}
defaultApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "default", &slb.ApplicationLoadBalancerArgs{
LoadBalancerName: pulumi.String("terraform-example"),
VswitchId: defaultSwitch.ID(),
LoadBalancerSpec: pulumi.String("slb.s2.small"),
AddressType: pulumi.String("intranet"),
})
if err != nil {
return err
}
defaultBasicAccelerator, err := ga.NewBasicAccelerator(ctx, "default", &ga.BasicAcceleratorArgs{
Duration: pulumi.Int(1),
BasicAcceleratorName: pulumi.String("terraform-example"),
Description: pulumi.String("terraform-example"),
BandwidthBillingType: pulumi.String("CDT"),
AutoUseCoupon: pulumi.String("true"),
AutoPay: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = ga.NewBasicEndpointGroup(ctx, "default", &ga.BasicEndpointGroupArgs{
AcceleratorId: defaultBasicAccelerator.ID(),
EndpointGroupRegion: pulumi.String(endpointGroupRegion),
EndpointType: pulumi.String("SLB"),
EndpointAddress: defaultApplicationLoadBalancer.ID(),
EndpointSubAddress: pulumi.String("192.168.0.1"),
BasicEndpointGroupName: pulumi.String("terraform-example"),
Description: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var region = config.Get("region") ?? "cn-hangzhou";
var endpointGroupRegion = config.Get("endpointGroupRegion") ?? "cn-beijing";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = "terraform-example",
CidrBlock = "172.17.3.0/24",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VswitchName = "terraform-example",
CidrBlock = "172.17.3.0/24",
VpcId = defaultNetwork.Id,
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
});
var defaultApplicationLoadBalancer = new AliCloud.Slb.ApplicationLoadBalancer("default", new()
{
LoadBalancerName = "terraform-example",
VswitchId = defaultSwitch.Id,
LoadBalancerSpec = "slb.s2.small",
AddressType = "intranet",
});
var defaultBasicAccelerator = new AliCloud.Ga.BasicAccelerator("default", new()
{
Duration = 1,
BasicAcceleratorName = "terraform-example",
Description = "terraform-example",
BandwidthBillingType = "CDT",
AutoUseCoupon = "true",
AutoPay = true,
});
var defaultBasicEndpointGroup = new AliCloud.Ga.BasicEndpointGroup("default", new()
{
AcceleratorId = defaultBasicAccelerator.Id,
EndpointGroupRegion = endpointGroupRegion,
EndpointType = "SLB",
EndpointAddress = defaultApplicationLoadBalancer.Id,
EndpointSubAddress = "192.168.0.1",
BasicEndpointGroupName = "terraform-example",
Description = "terraform-example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
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.slb.ApplicationLoadBalancer;
import com.pulumi.alicloud.slb.ApplicationLoadBalancerArgs;
import com.pulumi.alicloud.ga.BasicAccelerator;
import com.pulumi.alicloud.ga.BasicAcceleratorArgs;
import com.pulumi.alicloud.ga.BasicEndpointGroup;
import com.pulumi.alicloud.ga.BasicEndpointGroupArgs;
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 endpointGroupRegion = config.get("endpointGroupRegion").orElse("cn-beijing");
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName("terraform-example")
.cidrBlock("172.17.3.0/24")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vswitchName("terraform-example")
.cidrBlock("172.17.3.0/24")
.vpcId(defaultNetwork.id())
.zoneId(default_.zones()[0].id())
.build());
var defaultApplicationLoadBalancer = new ApplicationLoadBalancer("defaultApplicationLoadBalancer", ApplicationLoadBalancerArgs.builder()
.loadBalancerName("terraform-example")
.vswitchId(defaultSwitch.id())
.loadBalancerSpec("slb.s2.small")
.addressType("intranet")
.build());
var defaultBasicAccelerator = new BasicAccelerator("defaultBasicAccelerator", BasicAcceleratorArgs.builder()
.duration(1)
.basicAcceleratorName("terraform-example")
.description("terraform-example")
.bandwidthBillingType("CDT")
.autoUseCoupon("true")
.autoPay(true)
.build());
var defaultBasicEndpointGroup = new BasicEndpointGroup("defaultBasicEndpointGroup", BasicEndpointGroupArgs.builder()
.acceleratorId(defaultBasicAccelerator.id())
.endpointGroupRegion(endpointGroupRegion)
.endpointType("SLB")
.endpointAddress(defaultApplicationLoadBalancer.id())
.endpointSubAddress("192.168.0.1")
.basicEndpointGroupName("terraform-example")
.description("terraform-example")
.build());
}
}
configuration:
region:
type: string
default: cn-hangzhou
endpointGroupRegion:
type: string
default: cn-beijing
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: terraform-example
cidrBlock: 172.17.3.0/24
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vswitchName: terraform-example
cidrBlock: 172.17.3.0/24
vpcId: ${defaultNetwork.id}
zoneId: ${default.zones[0].id}
defaultApplicationLoadBalancer:
type: alicloud:slb:ApplicationLoadBalancer
name: default
properties:
loadBalancerName: terraform-example
vswitchId: ${defaultSwitch.id}
loadBalancerSpec: slb.s2.small
addressType: intranet
defaultBasicAccelerator:
type: alicloud:ga:BasicAccelerator
name: default
properties:
duration: 1
basicAcceleratorName: terraform-example
description: terraform-example
bandwidthBillingType: CDT
autoUseCoupon: 'true'
autoPay: true
defaultBasicEndpointGroup:
type: alicloud:ga:BasicEndpointGroup
name: default
properties:
acceleratorId: ${defaultBasicAccelerator.id}
endpointGroupRegion: ${endpointGroupRegion}
endpointType: SLB
endpointAddress: ${defaultApplicationLoadBalancer.id}
endpointSubAddress: 192.168.0.1
basicEndpointGroupName: terraform-example
description: terraform-example
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
Create BasicEndpointGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BasicEndpointGroup(name: string, args: BasicEndpointGroupArgs, opts?: CustomResourceOptions);
@overload
def BasicEndpointGroup(resource_name: str,
args: BasicEndpointGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BasicEndpointGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
accelerator_id: Optional[str] = None,
endpoint_group_region: Optional[str] = None,
basic_endpoint_group_name: Optional[str] = None,
description: Optional[str] = None,
endpoint_address: Optional[str] = None,
endpoint_sub_address: Optional[str] = None,
endpoint_type: Optional[str] = None)
func NewBasicEndpointGroup(ctx *Context, name string, args BasicEndpointGroupArgs, opts ...ResourceOption) (*BasicEndpointGroup, error)
public BasicEndpointGroup(string name, BasicEndpointGroupArgs args, CustomResourceOptions? opts = null)
public BasicEndpointGroup(String name, BasicEndpointGroupArgs args)
public BasicEndpointGroup(String name, BasicEndpointGroupArgs args, CustomResourceOptions options)
type: alicloud:ga:BasicEndpointGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BasicEndpointGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BasicEndpointGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BasicEndpointGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BasicEndpointGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BasicEndpointGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var basicEndpointGroupResource = new AliCloud.Ga.BasicEndpointGroup("basicEndpointGroupResource", new()
{
AcceleratorId = "string",
EndpointGroupRegion = "string",
BasicEndpointGroupName = "string",
Description = "string",
EndpointAddress = "string",
EndpointSubAddress = "string",
EndpointType = "string",
});
example, err := ga.NewBasicEndpointGroup(ctx, "basicEndpointGroupResource", &ga.BasicEndpointGroupArgs{
AcceleratorId: pulumi.String("string"),
EndpointGroupRegion: pulumi.String("string"),
BasicEndpointGroupName: pulumi.String("string"),
Description: pulumi.String("string"),
EndpointAddress: pulumi.String("string"),
EndpointSubAddress: pulumi.String("string"),
EndpointType: pulumi.String("string"),
})
var basicEndpointGroupResource = new BasicEndpointGroup("basicEndpointGroupResource", BasicEndpointGroupArgs.builder()
.acceleratorId("string")
.endpointGroupRegion("string")
.basicEndpointGroupName("string")
.description("string")
.endpointAddress("string")
.endpointSubAddress("string")
.endpointType("string")
.build());
basic_endpoint_group_resource = alicloud.ga.BasicEndpointGroup("basicEndpointGroupResource",
accelerator_id="string",
endpoint_group_region="string",
basic_endpoint_group_name="string",
description="string",
endpoint_address="string",
endpoint_sub_address="string",
endpoint_type="string")
const basicEndpointGroupResource = new alicloud.ga.BasicEndpointGroup("basicEndpointGroupResource", {
acceleratorId: "string",
endpointGroupRegion: "string",
basicEndpointGroupName: "string",
description: "string",
endpointAddress: "string",
endpointSubAddress: "string",
endpointType: "string",
});
type: alicloud:ga:BasicEndpointGroup
properties:
acceleratorId: string
basicEndpointGroupName: string
description: string
endpointAddress: string
endpointGroupRegion: string
endpointSubAddress: string
endpointType: string
BasicEndpointGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BasicEndpointGroup resource accepts the following input properties:
- Accelerator
Id string - The ID of the basic GA instance.
- Endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- Basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - Description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - Endpoint
Address string - The address of the endpoint.
- Endpoint
Sub stringAddress - The sub address of the endpoint.
- Endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
- Accelerator
Id string - The ID of the basic GA instance.
- Endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- Basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - Description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - Endpoint
Address string - The address of the endpoint.
- Endpoint
Sub stringAddress - The sub address of the endpoint.
- Endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
- accelerator
Id String - The ID of the basic GA instance.
- endpoint
Group StringRegion - The ID of the region where you want to create the endpoint group.
- basic
Endpoint StringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description String
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address String - The address of the endpoint.
- endpoint
Sub StringAddress - The sub address of the endpoint.
- endpoint
Type String - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
- accelerator
Id string - The ID of the basic GA instance.
- endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address string - The address of the endpoint.
- endpoint
Sub stringAddress - The sub address of the endpoint.
- endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
- accelerator_
id str - The ID of the basic GA instance.
- endpoint_
group_ strregion - The ID of the region where you want to create the endpoint group.
- basic_
endpoint_ strgroup_ name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description str
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint_
address str - The address of the endpoint.
- endpoint_
sub_ straddress - The sub address of the endpoint.
- endpoint_
type str - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
- accelerator
Id String - The ID of the basic GA instance.
- endpoint
Group StringRegion - The ID of the region where you want to create the endpoint group.
- basic
Endpoint StringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description String
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address String - The address of the endpoint.
- endpoint
Sub StringAddress - The sub address of the endpoint.
- endpoint
Type String - The type of the endpoint. Valid values:
ENI
,SLB
andECS
.
Outputs
All input properties are implicitly available as output properties. Additionally, the BasicEndpointGroup resource produces the following output properties:
Look up Existing BasicEndpointGroup Resource
Get an existing BasicEndpointGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BasicEndpointGroupState, opts?: CustomResourceOptions): BasicEndpointGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accelerator_id: Optional[str] = None,
basic_endpoint_group_name: Optional[str] = None,
description: Optional[str] = None,
endpoint_address: Optional[str] = None,
endpoint_group_region: Optional[str] = None,
endpoint_sub_address: Optional[str] = None,
endpoint_type: Optional[str] = None,
status: Optional[str] = None) -> BasicEndpointGroup
func GetBasicEndpointGroup(ctx *Context, name string, id IDInput, state *BasicEndpointGroupState, opts ...ResourceOption) (*BasicEndpointGroup, error)
public static BasicEndpointGroup Get(string name, Input<string> id, BasicEndpointGroupState? state, CustomResourceOptions? opts = null)
public static BasicEndpointGroup get(String name, Output<String> id, BasicEndpointGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accelerator
Id string - The ID of the basic GA instance.
- Basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - Description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - Endpoint
Address string - The address of the endpoint.
- Endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- Endpoint
Sub stringAddress - The sub address of the endpoint.
- Endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - Status string
- The status of the Basic Endpoint Group.
- Accelerator
Id string - The ID of the basic GA instance.
- Basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - Description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - Endpoint
Address string - The address of the endpoint.
- Endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- Endpoint
Sub stringAddress - The sub address of the endpoint.
- Endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - Status string
- The status of the Basic Endpoint Group.
- accelerator
Id String - The ID of the basic GA instance.
- basic
Endpoint StringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description String
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address String - The address of the endpoint.
- endpoint
Group StringRegion - The ID of the region where you want to create the endpoint group.
- endpoint
Sub StringAddress - The sub address of the endpoint.
- endpoint
Type String - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - status String
- The status of the Basic Endpoint Group.
- accelerator
Id string - The ID of the basic GA instance.
- basic
Endpoint stringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description string
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address string - The address of the endpoint.
- endpoint
Group stringRegion - The ID of the region where you want to create the endpoint group.
- endpoint
Sub stringAddress - The sub address of the endpoint.
- endpoint
Type string - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - status string
- The status of the Basic Endpoint Group.
- accelerator_
id str - The ID of the basic GA instance.
- basic_
endpoint_ strgroup_ name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description str
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint_
address str - The address of the endpoint.
- endpoint_
group_ strregion - The ID of the region where you want to create the endpoint group.
- endpoint_
sub_ straddress - The sub address of the endpoint.
- endpoint_
type str - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - status str
- The status of the Basic Endpoint Group.
- accelerator
Id String - The ID of the basic GA instance.
- basic
Endpoint StringGroup Name - The name of the endpoint group. The
basic_endpoint_group_name
must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. - description String
- The description of the endpoint group. The
description
cannot exceed 256 characters in length and cannot contain http:// or https://. - endpoint
Address String - The address of the endpoint.
- endpoint
Group StringRegion - The ID of the region where you want to create the endpoint group.
- endpoint
Sub StringAddress - The sub address of the endpoint.
- endpoint
Type String - The type of the endpoint. Valid values:
ENI
,SLB
andECS
. - status String
- The status of the Basic Endpoint Group.
Import
Global Accelerator (GA) Basic Endpoint Group can be imported using the id, e.g.
$ pulumi import alicloud:ga/basicEndpointGroup:BasicEndpointGroup example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.