alicloud.eflo.Cluster
Explore with Pulumi AI
Provides a Eflo Cluster resource.
Large computing cluster.
For information about Eflo Cluster and how to use it, see What is Cluster.
NOTE: Available since v1.246.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.resourcemanager.getResourceGroups({});
const createVpc = new alicloud.vpc.Network("create_vpc", {
cidrBlock: "192.168.0.0/16",
vpcName: "cluster-resoure-example",
});
const createVswitch = new alicloud.vpc.Switch("create_vswitch", {
vpcId: createVpc.id,
zoneId: "cn-hangzhou-b",
cidrBlock: "192.168.0.0/24",
vswitchName: "cluster-resoure-example",
});
const createSecurityGroup = new alicloud.ecs.SecurityGroup("create_security_group", {
description: "sg",
securityGroupName: "cluster-resoure-example",
securityGroupType: "normal",
vpcId: createVpc.id,
});
const defaultCluster = new alicloud.eflo.Cluster("default", {
clusterDescription: "cluster-resource-example",
openEniJumboFrame: false,
hpnZone: "B1",
nimizVswitches: ["1111"],
ignoreFailedNodeTasks: true,
resourceGroupId: _default.then(_default => _default.ids?.[1]),
nodeGroups: [{
imageId: "i198448731735114628708",
zoneId: "cn-hangzhou-b",
nodeGroupName: "cluster-resource-example",
nodeGroupDescription: "cluster-resource-example",
machineType: "efg2.C48cA3sen",
}],
networks: {
tailIpVersion: "ipv4",
newVpdInfo: {
monitorVpcId: createVpc.id,
monitorVswitchId: createVswitch.id,
cenId: "11111",
cloudLinkId: "1111",
vpdCidr: "111",
vpdSubnets: [{
zoneId: "1111",
subnetCidr: "111",
subnetType: "111",
}],
cloudLinkCidr: "169.254.128.0/23",
},
securityGroupId: createSecurityGroup.id,
vswitchZoneId: "cn-hangzhou-b",
vpcId: createVpc.id,
vswitchId: createVswitch.id,
vpdInfo: {
vpdId: "111",
vpdSubnets: ["111"],
},
ipAllocationPolicies: [{
bondPolicy: {
bondDefaultSubnet: "111",
bonds: [{
name: "111",
subnet: "111",
}],
},
machineTypePolicies: [{
bonds: [{
name: "111",
subnet: "111",
}],
machineType: "111",
}],
nodePolicies: [{
bonds: [{
name: "111",
subnet: "111",
}],
nodeId: "111",
}],
}],
},
clusterName: "tfacceflo7165",
clusterType: "Lite",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
create_vpc = alicloud.vpc.Network("create_vpc",
cidr_block="192.168.0.0/16",
vpc_name="cluster-resoure-example")
create_vswitch = alicloud.vpc.Switch("create_vswitch",
vpc_id=create_vpc.id,
zone_id="cn-hangzhou-b",
cidr_block="192.168.0.0/24",
vswitch_name="cluster-resoure-example")
create_security_group = alicloud.ecs.SecurityGroup("create_security_group",
description="sg",
security_group_name="cluster-resoure-example",
security_group_type="normal",
vpc_id=create_vpc.id)
default_cluster = alicloud.eflo.Cluster("default",
cluster_description="cluster-resource-example",
open_eni_jumbo_frame=False,
hpn_zone="B1",
nimiz_vswitches=["1111"],
ignore_failed_node_tasks=True,
resource_group_id=default.ids[1],
node_groups=[{
"image_id": "i198448731735114628708",
"zone_id": "cn-hangzhou-b",
"node_group_name": "cluster-resource-example",
"node_group_description": "cluster-resource-example",
"machine_type": "efg2.C48cA3sen",
}],
networks={
"tail_ip_version": "ipv4",
"new_vpd_info": {
"monitor_vpc_id": create_vpc.id,
"monitor_vswitch_id": create_vswitch.id,
"cen_id": "11111",
"cloud_link_id": "1111",
"vpd_cidr": "111",
"vpd_subnets": [{
"zone_id": "1111",
"subnet_cidr": "111",
"subnet_type": "111",
}],
"cloud_link_cidr": "169.254.128.0/23",
},
"security_group_id": create_security_group.id,
"vswitch_zone_id": "cn-hangzhou-b",
"vpc_id": create_vpc.id,
"vswitch_id": create_vswitch.id,
"vpd_info": {
"vpd_id": "111",
"vpd_subnets": ["111"],
},
"ip_allocation_policies": [{
"bond_policy": {
"bond_default_subnet": "111",
"bonds": [{
"name": "111",
"subnet": "111",
}],
},
"machine_type_policies": [{
"bonds": [{
"name": "111",
"subnet": "111",
}],
"machine_type": "111",
}],
"node_policies": [{
"bonds": [{
"name": "111",
"subnet": "111",
}],
"node_id": "111",
}],
}],
},
cluster_name="tfacceflo7165",
cluster_type="Lite")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eflo"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
createVpc, err := vpc.NewNetwork(ctx, "create_vpc", &vpc.NetworkArgs{
CidrBlock: pulumi.String("192.168.0.0/16"),
VpcName: pulumi.String("cluster-resoure-example"),
})
if err != nil {
return err
}
createVswitch, err := vpc.NewSwitch(ctx, "create_vswitch", &vpc.SwitchArgs{
VpcId: createVpc.ID(),
ZoneId: pulumi.String("cn-hangzhou-b"),
CidrBlock: pulumi.String("192.168.0.0/24"),
VswitchName: pulumi.String("cluster-resoure-example"),
})
if err != nil {
return err
}
createSecurityGroup, err := ecs.NewSecurityGroup(ctx, "create_security_group", &ecs.SecurityGroupArgs{
Description: pulumi.String("sg"),
SecurityGroupName: pulumi.String("cluster-resoure-example"),
SecurityGroupType: pulumi.String("normal"),
VpcId: createVpc.ID(),
})
if err != nil {
return err
}
_, err = eflo.NewCluster(ctx, "default", &eflo.ClusterArgs{
ClusterDescription: pulumi.String("cluster-resource-example"),
OpenEniJumboFrame: pulumi.Bool(false),
HpnZone: pulumi.String("B1"),
NimizVswitches: pulumi.StringArray{
pulumi.String("1111"),
},
IgnoreFailedNodeTasks: pulumi.Bool(true),
ResourceGroupId: pulumi.String(_default.Ids[1]),
NodeGroups: eflo.ClusterNodeGroupArray{
&eflo.ClusterNodeGroupArgs{
ImageId: pulumi.String("i198448731735114628708"),
ZoneId: pulumi.String("cn-hangzhou-b"),
NodeGroupName: pulumi.String("cluster-resource-example"),
NodeGroupDescription: pulumi.String("cluster-resource-example"),
MachineType: pulumi.String("efg2.C48cA3sen"),
},
},
Networks: &eflo.ClusterNetworksArgs{
TailIpVersion: pulumi.String("ipv4"),
NewVpdInfo: &eflo.ClusterNetworksNewVpdInfoArgs{
MonitorVpcId: createVpc.ID(),
MonitorVswitchId: createVswitch.ID(),
CenId: pulumi.String("11111"),
CloudLinkId: pulumi.String("1111"),
VpdCidr: pulumi.String("111"),
VpdSubnets: eflo.ClusterNetworksNewVpdInfoVpdSubnetArray{
&eflo.ClusterNetworksNewVpdInfoVpdSubnetArgs{
ZoneId: pulumi.String("1111"),
SubnetCidr: pulumi.String("111"),
SubnetType: pulumi.String("111"),
},
},
CloudLinkCidr: pulumi.String("169.254.128.0/23"),
},
SecurityGroupId: createSecurityGroup.ID(),
VswitchZoneId: pulumi.String("cn-hangzhou-b"),
VpcId: createVpc.ID(),
VswitchId: createVswitch.ID(),
VpdInfo: &eflo.ClusterNetworksVpdInfoArgs{
VpdId: pulumi.String("111"),
VpdSubnets: pulumi.StringArray{
pulumi.String("111"),
},
},
IpAllocationPolicies: eflo.ClusterNetworksIpAllocationPolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyArgs{
BondPolicy: &eflo.ClusterNetworksIpAllocationPolicyBondPolicyArgs{
BondDefaultSubnet: pulumi.String("111"),
Bonds: eflo.ClusterNetworksIpAllocationPolicyBondPolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyBondPolicyBondArgs{
Name: pulumi.String("111"),
Subnet: pulumi.String("111"),
},
},
},
MachineTypePolicies: eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs{
Bonds: eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs{
Name: pulumi.String("111"),
Subnet: pulumi.String("111"),
},
},
MachineType: pulumi.String("111"),
},
},
NodePolicies: eflo.ClusterNetworksIpAllocationPolicyNodePolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyNodePolicyArgs{
Bonds: eflo.ClusterNetworksIpAllocationPolicyNodePolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyNodePolicyBondArgs{
Name: pulumi.String("111"),
Subnet: pulumi.String("111"),
},
},
NodeId: pulumi.String("111"),
},
},
},
},
},
ClusterName: pulumi.String("tfacceflo7165"),
ClusterType: pulumi.String("Lite"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var createVpc = new AliCloud.Vpc.Network("create_vpc", new()
{
CidrBlock = "192.168.0.0/16",
VpcName = "cluster-resoure-example",
});
var createVswitch = new AliCloud.Vpc.Switch("create_vswitch", new()
{
VpcId = createVpc.Id,
ZoneId = "cn-hangzhou-b",
CidrBlock = "192.168.0.0/24",
VswitchName = "cluster-resoure-example",
});
var createSecurityGroup = new AliCloud.Ecs.SecurityGroup("create_security_group", new()
{
Description = "sg",
SecurityGroupName = "cluster-resoure-example",
SecurityGroupType = "normal",
VpcId = createVpc.Id,
});
var defaultCluster = new AliCloud.Eflo.Cluster("default", new()
{
ClusterDescription = "cluster-resource-example",
OpenEniJumboFrame = false,
HpnZone = "B1",
NimizVswitches = new[]
{
"1111",
},
IgnoreFailedNodeTasks = true,
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[1])),
NodeGroups = new[]
{
new AliCloud.Eflo.Inputs.ClusterNodeGroupArgs
{
ImageId = "i198448731735114628708",
ZoneId = "cn-hangzhou-b",
NodeGroupName = "cluster-resource-example",
NodeGroupDescription = "cluster-resource-example",
MachineType = "efg2.C48cA3sen",
},
},
Networks = new AliCloud.Eflo.Inputs.ClusterNetworksArgs
{
TailIpVersion = "ipv4",
NewVpdInfo = new AliCloud.Eflo.Inputs.ClusterNetworksNewVpdInfoArgs
{
MonitorVpcId = createVpc.Id,
MonitorVswitchId = createVswitch.Id,
CenId = "11111",
CloudLinkId = "1111",
VpdCidr = "111",
VpdSubnets = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksNewVpdInfoVpdSubnetArgs
{
ZoneId = "1111",
SubnetCidr = "111",
SubnetType = "111",
},
},
CloudLinkCidr = "169.254.128.0/23",
},
SecurityGroupId = createSecurityGroup.Id,
VswitchZoneId = "cn-hangzhou-b",
VpcId = createVpc.Id,
VswitchId = createVswitch.Id,
VpdInfo = new AliCloud.Eflo.Inputs.ClusterNetworksVpdInfoArgs
{
VpdId = "111",
VpdSubnets = new[]
{
"111",
},
},
IpAllocationPolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyArgs
{
BondPolicy = new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyBondPolicyArgs
{
BondDefaultSubnet = "111",
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyBondPolicyBondArgs
{
Name = "111",
Subnet = "111",
},
},
},
MachineTypePolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs
{
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs
{
Name = "111",
Subnet = "111",
},
},
MachineType = "111",
},
},
NodePolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyNodePolicyArgs
{
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyNodePolicyBondArgs
{
Name = "111",
Subnet = "111",
},
},
NodeId = "111",
},
},
},
},
},
ClusterName = "tfacceflo7165",
ClusterType = "Lite",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.eflo.Cluster;
import com.pulumi.alicloud.eflo.ClusterArgs;
import com.pulumi.alicloud.eflo.inputs.ClusterNodeGroupArgs;
import com.pulumi.alicloud.eflo.inputs.ClusterNetworksArgs;
import com.pulumi.alicloud.eflo.inputs.ClusterNetworksNewVpdInfoArgs;
import com.pulumi.alicloud.eflo.inputs.ClusterNetworksVpdInfoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
var createVpc = new Network("createVpc", NetworkArgs.builder()
.cidrBlock("192.168.0.0/16")
.vpcName("cluster-resoure-example")
.build());
var createVswitch = new Switch("createVswitch", SwitchArgs.builder()
.vpcId(createVpc.id())
.zoneId("cn-hangzhou-b")
.cidrBlock("192.168.0.0/24")
.vswitchName("cluster-resoure-example")
.build());
var createSecurityGroup = new SecurityGroup("createSecurityGroup", SecurityGroupArgs.builder()
.description("sg")
.securityGroupName("cluster-resoure-example")
.securityGroupType("normal")
.vpcId(createVpc.id())
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.clusterDescription("cluster-resource-example")
.openEniJumboFrame(false)
.hpnZone("B1")
.nimizVswitches("1111")
.ignoreFailedNodeTasks(true)
.resourceGroupId(default_.ids()[1])
.nodeGroups(ClusterNodeGroupArgs.builder()
.imageId("i198448731735114628708")
.zoneId("cn-hangzhou-b")
.nodeGroupName("cluster-resource-example")
.nodeGroupDescription("cluster-resource-example")
.machineType("efg2.C48cA3sen")
.build())
.networks(ClusterNetworksArgs.builder()
.tailIpVersion("ipv4")
.newVpdInfo(ClusterNetworksNewVpdInfoArgs.builder()
.monitorVpcId(createVpc.id())
.monitorVswitchId(createVswitch.id())
.cenId("11111")
.cloudLinkId("1111")
.vpdCidr("111")
.vpdSubnets(ClusterNetworksNewVpdInfoVpdSubnetArgs.builder()
.zoneId("1111")
.subnetCidr("111")
.subnetType("111")
.build())
.cloudLinkCidr("169.254.128.0/23")
.build())
.securityGroupId(createSecurityGroup.id())
.vswitchZoneId("cn-hangzhou-b")
.vpcId(createVpc.id())
.vswitchId(createVswitch.id())
.vpdInfo(ClusterNetworksVpdInfoArgs.builder()
.vpdId("111")
.vpdSubnets("111")
.build())
.ipAllocationPolicies(ClusterNetworksIpAllocationPolicyArgs.builder()
.bondPolicy(ClusterNetworksIpAllocationPolicyBondPolicyArgs.builder()
.bondDefaultSubnet("111")
.bonds(ClusterNetworksIpAllocationPolicyBondPolicyBondArgs.builder()
.name("111")
.subnet("111")
.build())
.build())
.machineTypePolicies(ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs.builder()
.bonds(ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs.builder()
.name("111")
.subnet("111")
.build())
.machineType("111")
.build())
.nodePolicies(ClusterNetworksIpAllocationPolicyNodePolicyArgs.builder()
.bonds(ClusterNetworksIpAllocationPolicyNodePolicyBondArgs.builder()
.name("111")
.subnet("111")
.build())
.nodeId("111")
.build())
.build())
.build())
.clusterName("tfacceflo7165")
.clusterType("Lite")
.build());
}
}
configuration:
# Before executing this example, you need to confirm with the product team whether the resources are sufficient or you will get an error message with "Failure to check order before create instance"
name:
type: string
default: terraform-example
resources:
createVpc:
type: alicloud:vpc:Network
name: create_vpc
properties:
cidrBlock: 192.168.0.0/16
vpcName: cluster-resoure-example
createVswitch:
type: alicloud:vpc:Switch
name: create_vswitch
properties:
vpcId: ${createVpc.id}
zoneId: cn-hangzhou-b
cidrBlock: 192.168.0.0/24
vswitchName: cluster-resoure-example
createSecurityGroup:
type: alicloud:ecs:SecurityGroup
name: create_security_group
properties:
description: sg
securityGroupName: cluster-resoure-example
securityGroupType: normal
vpcId: ${createVpc.id}
defaultCluster:
type: alicloud:eflo:Cluster
name: default
properties:
clusterDescription: cluster-resource-example
openEniJumboFrame: 'false'
hpnZone: B1
nimizVswitches:
- '1111'
ignoreFailedNodeTasks: 'true'
resourceGroupId: ${default.ids[1]}
nodeGroups:
- imageId: i198448731735114628708
zoneId: cn-hangzhou-b
nodeGroupName: cluster-resource-example
nodeGroupDescription: cluster-resource-example
machineType: efg2.C48cA3sen
networks:
tailIpVersion: ipv4
newVpdInfo:
monitorVpcId: ${createVpc.id}
monitorVswitchId: ${createVswitch.id}
cenId: '11111'
cloudLinkId: '1111'
vpdCidr: '111'
vpdSubnets:
- zoneId: '1111'
subnetCidr: '111'
subnetType: '111'
cloudLinkCidr: 169.254.128.0/23
securityGroupId: ${createSecurityGroup.id}
vswitchZoneId: cn-hangzhou-b
vpcId: ${createVpc.id}
vswitchId: ${createVswitch.id}
vpdInfo:
vpdId: '111'
vpdSubnets:
- '111'
ipAllocationPolicies:
- bondPolicy:
bondDefaultSubnet: '111'
bonds:
- name: '111'
subnet: '111'
machineTypePolicies:
- bonds:
- name: '111'
subnet: '111'
machineType: '111'
nodePolicies:
- bonds:
- name: '111'
subnet: '111'
nodeId: '111'
clusterName: tfacceflo7165
clusterType: Lite
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args?: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: Optional[ClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_description: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_type: Optional[str] = None,
components: Optional[Sequence[ClusterComponentArgs]] = None,
hpn_zone: Optional[str] = None,
ignore_failed_node_tasks: Optional[bool] = None,
networks: Optional[ClusterNetworksArgs] = None,
nimiz_vswitches: Optional[Sequence[str]] = None,
node_groups: Optional[Sequence[ClusterNodeGroupArgs]] = None,
open_eni_jumbo_frame: Optional[bool] = None,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewCluster(ctx *Context, name string, args *ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs? args = null, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:eflo:Cluster
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 ClusterArgs
- 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 ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- 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 exampleclusterResourceResourceFromEflocluster = new AliCloud.Eflo.Cluster("exampleclusterResourceResourceFromEflocluster", new()
{
ClusterDescription = "string",
ClusterName = "string",
ClusterType = "string",
Components = new[]
{
new AliCloud.Eflo.Inputs.ClusterComponentArgs
{
ComponentConfig = new AliCloud.Eflo.Inputs.ClusterComponentComponentConfigArgs
{
BasicArgs = "string",
NodeUnits = new[]
{
"string",
},
},
ComponentType = "string",
},
},
HpnZone = "string",
IgnoreFailedNodeTasks = false,
Networks = new AliCloud.Eflo.Inputs.ClusterNetworksArgs
{
IpAllocationPolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyArgs
{
BondPolicy = new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyBondPolicyArgs
{
BondDefaultSubnet = "string",
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyBondPolicyBondArgs
{
Name = "string",
Subnet = "string",
},
},
},
MachineTypePolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs
{
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs
{
Name = "string",
Subnet = "string",
},
},
MachineType = "string",
},
},
NodePolicies = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyNodePolicyArgs
{
Bonds = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksIpAllocationPolicyNodePolicyBondArgs
{
Name = "string",
Subnet = "string",
},
},
NodeId = "string",
},
},
},
},
NewVpdInfo = new AliCloud.Eflo.Inputs.ClusterNetworksNewVpdInfoArgs
{
CenId = "string",
CloudLinkCidr = "string",
CloudLinkId = "string",
MonitorVpcId = "string",
MonitorVswitchId = "string",
VpdCidr = "string",
VpdSubnets = new[]
{
new AliCloud.Eflo.Inputs.ClusterNetworksNewVpdInfoVpdSubnetArgs
{
SubnetCidr = "string",
SubnetType = "string",
ZoneId = "string",
},
},
},
SecurityGroupId = "string",
TailIpVersion = "string",
VpcId = "string",
VpdInfo = new AliCloud.Eflo.Inputs.ClusterNetworksVpdInfoArgs
{
VpdId = "string",
VpdSubnets = new[]
{
"string",
},
},
VswitchId = "string",
VswitchZoneId = "string",
},
NimizVswitches = new[]
{
"string",
},
NodeGroups = new[]
{
new AliCloud.Eflo.Inputs.ClusterNodeGroupArgs
{
ImageId = "string",
MachineType = "string",
NodeGroupDescription = "string",
NodeGroupName = "string",
Nodes = new[]
{
new AliCloud.Eflo.Inputs.ClusterNodeGroupNodeArgs
{
Hostname = "string",
LoginPassword = "string",
NodeId = "string",
VpcId = "string",
VswitchId = "string",
},
},
UserData = "string",
ZoneId = "string",
},
},
OpenEniJumboFrame = false,
ResourceGroupId = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := eflo.NewCluster(ctx, "exampleclusterResourceResourceFromEflocluster", &eflo.ClusterArgs{
ClusterDescription: pulumi.String("string"),
ClusterName: pulumi.String("string"),
ClusterType: pulumi.String("string"),
Components: eflo.ClusterComponentArray{
&eflo.ClusterComponentArgs{
ComponentConfig: &eflo.ClusterComponentComponentConfigArgs{
BasicArgs: pulumi.String("string"),
NodeUnits: pulumi.StringArray{
pulumi.String("string"),
},
},
ComponentType: pulumi.String("string"),
},
},
HpnZone: pulumi.String("string"),
IgnoreFailedNodeTasks: pulumi.Bool(false),
Networks: &eflo.ClusterNetworksArgs{
IpAllocationPolicies: eflo.ClusterNetworksIpAllocationPolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyArgs{
BondPolicy: &eflo.ClusterNetworksIpAllocationPolicyBondPolicyArgs{
BondDefaultSubnet: pulumi.String("string"),
Bonds: eflo.ClusterNetworksIpAllocationPolicyBondPolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyBondPolicyBondArgs{
Name: pulumi.String("string"),
Subnet: pulumi.String("string"),
},
},
},
MachineTypePolicies: eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs{
Bonds: eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs{
Name: pulumi.String("string"),
Subnet: pulumi.String("string"),
},
},
MachineType: pulumi.String("string"),
},
},
NodePolicies: eflo.ClusterNetworksIpAllocationPolicyNodePolicyArray{
&eflo.ClusterNetworksIpAllocationPolicyNodePolicyArgs{
Bonds: eflo.ClusterNetworksIpAllocationPolicyNodePolicyBondArray{
&eflo.ClusterNetworksIpAllocationPolicyNodePolicyBondArgs{
Name: pulumi.String("string"),
Subnet: pulumi.String("string"),
},
},
NodeId: pulumi.String("string"),
},
},
},
},
NewVpdInfo: &eflo.ClusterNetworksNewVpdInfoArgs{
CenId: pulumi.String("string"),
CloudLinkCidr: pulumi.String("string"),
CloudLinkId: pulumi.String("string"),
MonitorVpcId: pulumi.String("string"),
MonitorVswitchId: pulumi.String("string"),
VpdCidr: pulumi.String("string"),
VpdSubnets: eflo.ClusterNetworksNewVpdInfoVpdSubnetArray{
&eflo.ClusterNetworksNewVpdInfoVpdSubnetArgs{
SubnetCidr: pulumi.String("string"),
SubnetType: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
},
SecurityGroupId: pulumi.String("string"),
TailIpVersion: pulumi.String("string"),
VpcId: pulumi.String("string"),
VpdInfo: &eflo.ClusterNetworksVpdInfoArgs{
VpdId: pulumi.String("string"),
VpdSubnets: pulumi.StringArray{
pulumi.String("string"),
},
},
VswitchId: pulumi.String("string"),
VswitchZoneId: pulumi.String("string"),
},
NimizVswitches: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroups: eflo.ClusterNodeGroupArray{
&eflo.ClusterNodeGroupArgs{
ImageId: pulumi.String("string"),
MachineType: pulumi.String("string"),
NodeGroupDescription: pulumi.String("string"),
NodeGroupName: pulumi.String("string"),
Nodes: eflo.ClusterNodeGroupNodeArray{
&eflo.ClusterNodeGroupNodeArgs{
Hostname: pulumi.String("string"),
LoginPassword: pulumi.String("string"),
NodeId: pulumi.String("string"),
VpcId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
},
},
UserData: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
OpenEniJumboFrame: pulumi.Bool(false),
ResourceGroupId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleclusterResourceResourceFromEflocluster = new com.pulumi.alicloud.eflo.Cluster("exampleclusterResourceResourceFromEflocluster", com.pulumi.alicloud.eflo.ClusterArgs.builder()
.clusterDescription("string")
.clusterName("string")
.clusterType("string")
.components(ClusterComponentArgs.builder()
.componentConfig(ClusterComponentComponentConfigArgs.builder()
.basicArgs("string")
.nodeUnits("string")
.build())
.componentType("string")
.build())
.hpnZone("string")
.ignoreFailedNodeTasks(false)
.networks(ClusterNetworksArgs.builder()
.ipAllocationPolicies(ClusterNetworksIpAllocationPolicyArgs.builder()
.bondPolicy(ClusterNetworksIpAllocationPolicyBondPolicyArgs.builder()
.bondDefaultSubnet("string")
.bonds(ClusterNetworksIpAllocationPolicyBondPolicyBondArgs.builder()
.name("string")
.subnet("string")
.build())
.build())
.machineTypePolicies(ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs.builder()
.bonds(ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs.builder()
.name("string")
.subnet("string")
.build())
.machineType("string")
.build())
.nodePolicies(ClusterNetworksIpAllocationPolicyNodePolicyArgs.builder()
.bonds(ClusterNetworksIpAllocationPolicyNodePolicyBondArgs.builder()
.name("string")
.subnet("string")
.build())
.nodeId("string")
.build())
.build())
.newVpdInfo(ClusterNetworksNewVpdInfoArgs.builder()
.cenId("string")
.cloudLinkCidr("string")
.cloudLinkId("string")
.monitorVpcId("string")
.monitorVswitchId("string")
.vpdCidr("string")
.vpdSubnets(ClusterNetworksNewVpdInfoVpdSubnetArgs.builder()
.subnetCidr("string")
.subnetType("string")
.zoneId("string")
.build())
.build())
.securityGroupId("string")
.tailIpVersion("string")
.vpcId("string")
.vpdInfo(ClusterNetworksVpdInfoArgs.builder()
.vpdId("string")
.vpdSubnets("string")
.build())
.vswitchId("string")
.vswitchZoneId("string")
.build())
.nimizVswitches("string")
.nodeGroups(ClusterNodeGroupArgs.builder()
.imageId("string")
.machineType("string")
.nodeGroupDescription("string")
.nodeGroupName("string")
.nodes(ClusterNodeGroupNodeArgs.builder()
.hostname("string")
.loginPassword("string")
.nodeId("string")
.vpcId("string")
.vswitchId("string")
.build())
.userData("string")
.zoneId("string")
.build())
.openEniJumboFrame(false)
.resourceGroupId("string")
.tags(Map.of("string", "string"))
.build());
examplecluster_resource_resource_from_eflocluster = alicloud.eflo.Cluster("exampleclusterResourceResourceFromEflocluster",
cluster_description="string",
cluster_name="string",
cluster_type="string",
components=[{
"component_config": {
"basic_args": "string",
"node_units": ["string"],
},
"component_type": "string",
}],
hpn_zone="string",
ignore_failed_node_tasks=False,
networks={
"ip_allocation_policies": [{
"bond_policy": {
"bond_default_subnet": "string",
"bonds": [{
"name": "string",
"subnet": "string",
}],
},
"machine_type_policies": [{
"bonds": [{
"name": "string",
"subnet": "string",
}],
"machine_type": "string",
}],
"node_policies": [{
"bonds": [{
"name": "string",
"subnet": "string",
}],
"node_id": "string",
}],
}],
"new_vpd_info": {
"cen_id": "string",
"cloud_link_cidr": "string",
"cloud_link_id": "string",
"monitor_vpc_id": "string",
"monitor_vswitch_id": "string",
"vpd_cidr": "string",
"vpd_subnets": [{
"subnet_cidr": "string",
"subnet_type": "string",
"zone_id": "string",
}],
},
"security_group_id": "string",
"tail_ip_version": "string",
"vpc_id": "string",
"vpd_info": {
"vpd_id": "string",
"vpd_subnets": ["string"],
},
"vswitch_id": "string",
"vswitch_zone_id": "string",
},
nimiz_vswitches=["string"],
node_groups=[{
"image_id": "string",
"machine_type": "string",
"node_group_description": "string",
"node_group_name": "string",
"nodes": [{
"hostname": "string",
"login_password": "string",
"node_id": "string",
"vpc_id": "string",
"vswitch_id": "string",
}],
"user_data": "string",
"zone_id": "string",
}],
open_eni_jumbo_frame=False,
resource_group_id="string",
tags={
"string": "string",
})
const exampleclusterResourceResourceFromEflocluster = new alicloud.eflo.Cluster("exampleclusterResourceResourceFromEflocluster", {
clusterDescription: "string",
clusterName: "string",
clusterType: "string",
components: [{
componentConfig: {
basicArgs: "string",
nodeUnits: ["string"],
},
componentType: "string",
}],
hpnZone: "string",
ignoreFailedNodeTasks: false,
networks: {
ipAllocationPolicies: [{
bondPolicy: {
bondDefaultSubnet: "string",
bonds: [{
name: "string",
subnet: "string",
}],
},
machineTypePolicies: [{
bonds: [{
name: "string",
subnet: "string",
}],
machineType: "string",
}],
nodePolicies: [{
bonds: [{
name: "string",
subnet: "string",
}],
nodeId: "string",
}],
}],
newVpdInfo: {
cenId: "string",
cloudLinkCidr: "string",
cloudLinkId: "string",
monitorVpcId: "string",
monitorVswitchId: "string",
vpdCidr: "string",
vpdSubnets: [{
subnetCidr: "string",
subnetType: "string",
zoneId: "string",
}],
},
securityGroupId: "string",
tailIpVersion: "string",
vpcId: "string",
vpdInfo: {
vpdId: "string",
vpdSubnets: ["string"],
},
vswitchId: "string",
vswitchZoneId: "string",
},
nimizVswitches: ["string"],
nodeGroups: [{
imageId: "string",
machineType: "string",
nodeGroupDescription: "string",
nodeGroupName: "string",
nodes: [{
hostname: "string",
loginPassword: "string",
nodeId: "string",
vpcId: "string",
vswitchId: "string",
}],
userData: "string",
zoneId: "string",
}],
openEniJumboFrame: false,
resourceGroupId: "string",
tags: {
string: "string",
},
});
type: alicloud:eflo:Cluster
properties:
clusterDescription: string
clusterName: string
clusterType: string
components:
- componentConfig:
basicArgs: string
nodeUnits:
- string
componentType: string
hpnZone: string
ignoreFailedNodeTasks: false
networks:
ipAllocationPolicies:
- bondPolicy:
bondDefaultSubnet: string
bonds:
- name: string
subnet: string
machineTypePolicies:
- bonds:
- name: string
subnet: string
machineType: string
nodePolicies:
- bonds:
- name: string
subnet: string
nodeId: string
newVpdInfo:
cenId: string
cloudLinkCidr: string
cloudLinkId: string
monitorVpcId: string
monitorVswitchId: string
vpdCidr: string
vpdSubnets:
- subnetCidr: string
subnetType: string
zoneId: string
securityGroupId: string
tailIpVersion: string
vpcId: string
vpdInfo:
vpdId: string
vpdSubnets:
- string
vswitchId: string
vswitchZoneId: string
nimizVswitches:
- string
nodeGroups:
- imageId: string
machineType: string
nodeGroupDescription: string
nodeGroupName: string
nodes:
- hostname: string
loginPassword: string
nodeId: string
vpcId: string
vswitchId: string
userData: string
zoneId: string
openEniJumboFrame: false
resourceGroupId: string
tags:
string: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Cluster
Description string - cluster description
- Cluster
Name string - ClusterName
- Cluster
Type string - cluster type
- Components
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Component> - Component (software instance) See
components
below. - Hpn
Zone string - Cluster Number
- Ignore
Failed boolNode Tasks - Whether to allow skipping failed nodes. Default value: False
- Networks
Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Networks - Network Information See
networks
below. - Nimiz
Vswitches List<string> - Node virtual switch
- Node
Groups List<Pulumi.Ali Cloud. Eflo. Inputs. Cluster Node Group> - Node Group List See
node_groups
below. - Open
Eni boolJumbo Frame - Whether the network interface supports jumbo frames
- Resource
Group stringId - The ID of the resource group
- Dictionary<string, string>
- tag
- Cluster
Description string - cluster description
- Cluster
Name string - ClusterName
- Cluster
Type string - cluster type
- Components
[]Cluster
Component Args - Component (software instance) See
components
below. - Hpn
Zone string - Cluster Number
- Ignore
Failed boolNode Tasks - Whether to allow skipping failed nodes. Default value: False
- Networks
Cluster
Networks Args - Network Information See
networks
below. - Nimiz
Vswitches []string - Node virtual switch
- Node
Groups []ClusterNode Group Args - Node Group List See
node_groups
below. - Open
Eni boolJumbo Frame - Whether the network interface supports jumbo frames
- Resource
Group stringId - The ID of the resource group
- map[string]string
- tag
- cluster
Description String - cluster description
- cluster
Name String - ClusterName
- cluster
Type String - cluster type
- components
List<Cluster
Component> - Component (software instance) See
components
below. - hpn
Zone String - Cluster Number
- ignore
Failed BooleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks - Network Information See
networks
below. - nimiz
Vswitches List<String> - Node virtual switch
- node
Groups List<ClusterNode Group> - Node Group List See
node_groups
below. - open
Eni BooleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group StringId - The ID of the resource group
- Map<String,String>
- tag
- cluster
Description string - cluster description
- cluster
Name string - ClusterName
- cluster
Type string - cluster type
- components
Cluster
Component[] - Component (software instance) See
components
below. - hpn
Zone string - Cluster Number
- ignore
Failed booleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks - Network Information See
networks
below. - nimiz
Vswitches string[] - Node virtual switch
- node
Groups ClusterNode Group[] - Node Group List See
node_groups
below. - open
Eni booleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group stringId - The ID of the resource group
- {[key: string]: string}
- tag
- cluster_
description str - cluster description
- cluster_
name str - ClusterName
- cluster_
type str - cluster type
- components
Sequence[Cluster
Component Args] - Component (software instance) See
components
below. - hpn_
zone str - Cluster Number
- ignore_
failed_ boolnode_ tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks Args - Network Information See
networks
below. - nimiz_
vswitches Sequence[str] - Node virtual switch
- node_
groups Sequence[ClusterNode Group Args] - Node Group List See
node_groups
below. - open_
eni_ booljumbo_ frame - Whether the network interface supports jumbo frames
- resource_
group_ strid - The ID of the resource group
- Mapping[str, str]
- tag
- cluster
Description String - cluster description
- cluster
Name String - ClusterName
- cluster
Type String - cluster type
- components List<Property Map>
- Component (software instance) See
components
below. - hpn
Zone String - Cluster Number
- ignore
Failed BooleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks Property Map
- Network Information See
networks
below. - nimiz
Vswitches List<String> - Node virtual switch
- node
Groups List<Property Map> - Node Group List See
node_groups
below. - open
Eni BooleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group StringId - The ID of the resource group
- Map<String>
- tag
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
- create
Time string - The creation time of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the resource
- create_
time str - The creation time of the resource
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the resource
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
Look up Existing Cluster Resource
Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_description: Optional[str] = None,
cluster_name: Optional[str] = None,
cluster_type: Optional[str] = None,
components: Optional[Sequence[ClusterComponentArgs]] = None,
create_time: Optional[str] = None,
hpn_zone: Optional[str] = None,
ignore_failed_node_tasks: Optional[bool] = None,
networks: Optional[ClusterNetworksArgs] = None,
nimiz_vswitches: Optional[Sequence[str]] = None,
node_groups: Optional[Sequence[ClusterNodeGroupArgs]] = None,
open_eni_jumbo_frame: Optional[bool] = None,
resource_group_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
resources: _: type: alicloud:eflo:Cluster get: id: ${id}
- 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.
- Cluster
Description string - cluster description
- Cluster
Name string - ClusterName
- Cluster
Type string - cluster type
- Components
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Component> - Component (software instance) See
components
below. - Create
Time string - The creation time of the resource
- Hpn
Zone string - Cluster Number
- Ignore
Failed boolNode Tasks - Whether to allow skipping failed nodes. Default value: False
- Networks
Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Networks - Network Information See
networks
below. - Nimiz
Vswitches List<string> - Node virtual switch
- Node
Groups List<Pulumi.Ali Cloud. Eflo. Inputs. Cluster Node Group> - Node Group List See
node_groups
below. - Open
Eni boolJumbo Frame - Whether the network interface supports jumbo frames
- Resource
Group stringId - The ID of the resource group
- Status string
- The status of the resource
- Dictionary<string, string>
- tag
- Cluster
Description string - cluster description
- Cluster
Name string - ClusterName
- Cluster
Type string - cluster type
- Components
[]Cluster
Component Args - Component (software instance) See
components
below. - Create
Time string - The creation time of the resource
- Hpn
Zone string - Cluster Number
- Ignore
Failed boolNode Tasks - Whether to allow skipping failed nodes. Default value: False
- Networks
Cluster
Networks Args - Network Information See
networks
below. - Nimiz
Vswitches []string - Node virtual switch
- Node
Groups []ClusterNode Group Args - Node Group List See
node_groups
below. - Open
Eni boolJumbo Frame - Whether the network interface supports jumbo frames
- Resource
Group stringId - The ID of the resource group
- Status string
- The status of the resource
- map[string]string
- tag
- cluster
Description String - cluster description
- cluster
Name String - ClusterName
- cluster
Type String - cluster type
- components
List<Cluster
Component> - Component (software instance) See
components
below. - create
Time String - The creation time of the resource
- hpn
Zone String - Cluster Number
- ignore
Failed BooleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks - Network Information See
networks
below. - nimiz
Vswitches List<String> - Node virtual switch
- node
Groups List<ClusterNode Group> - Node Group List See
node_groups
below. - open
Eni BooleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group StringId - The ID of the resource group
- status String
- The status of the resource
- Map<String,String>
- tag
- cluster
Description string - cluster description
- cluster
Name string - ClusterName
- cluster
Type string - cluster type
- components
Cluster
Component[] - Component (software instance) See
components
below. - create
Time string - The creation time of the resource
- hpn
Zone string - Cluster Number
- ignore
Failed booleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks - Network Information See
networks
below. - nimiz
Vswitches string[] - Node virtual switch
- node
Groups ClusterNode Group[] - Node Group List See
node_groups
below. - open
Eni booleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group stringId - The ID of the resource group
- status string
- The status of the resource
- {[key: string]: string}
- tag
- cluster_
description str - cluster description
- cluster_
name str - ClusterName
- cluster_
type str - cluster type
- components
Sequence[Cluster
Component Args] - Component (software instance) See
components
below. - create_
time str - The creation time of the resource
- hpn_
zone str - Cluster Number
- ignore_
failed_ boolnode_ tasks - Whether to allow skipping failed nodes. Default value: False
- networks
Cluster
Networks Args - Network Information See
networks
below. - nimiz_
vswitches Sequence[str] - Node virtual switch
- node_
groups Sequence[ClusterNode Group Args] - Node Group List See
node_groups
below. - open_
eni_ booljumbo_ frame - Whether the network interface supports jumbo frames
- resource_
group_ strid - The ID of the resource group
- status str
- The status of the resource
- Mapping[str, str]
- tag
- cluster
Description String - cluster description
- cluster
Name String - ClusterName
- cluster
Type String - cluster type
- components List<Property Map>
- Component (software instance) See
components
below. - create
Time String - The creation time of the resource
- hpn
Zone String - Cluster Number
- ignore
Failed BooleanNode Tasks - Whether to allow skipping failed nodes. Default value: False
- networks Property Map
- Network Information See
networks
below. - nimiz
Vswitches List<String> - Node virtual switch
- node
Groups List<Property Map> - Node Group List See
node_groups
below. - open
Eni BooleanJumbo Frame - Whether the network interface supports jumbo frames
- resource
Group StringId - The ID of the resource group
- status String
- The status of the resource
- Map<String>
- tag
Supporting Types
ClusterComponent, ClusterComponentArgs
- Component
Config Pulumi.Ali Cloud. Eflo. Inputs. Cluster Component Component Config - Component Configuration See
component_config
below. - Component
Type string - Component Type
- Component
Config ClusterComponent Component Config - Component Configuration See
component_config
below. - Component
Type string - Component Type
- component
Config ClusterComponent Component Config - Component Configuration See
component_config
below. - component
Type String - Component Type
- component
Config ClusterComponent Component Config - Component Configuration See
component_config
below. - component
Type string - Component Type
- component_
config ClusterComponent Component Config - Component Configuration See
component_config
below. - component_
type str - Component Type
- component
Config Property Map - Component Configuration See
component_config
below. - component
Type String - Component Type
ClusterComponentComponentConfig, ClusterComponentComponentConfigArgs
- basic_
args str - Component Basic Parameters
- node_
units Sequence[str] - Node pool configuration, and is used to establish the corresponding relationship between node groups and node pools. When ComponentType = "ACKEdge" is required. Other values are empty.
ClusterNetworks, ClusterNetworksArgs
- Ip
Allocation List<Pulumi.Policies Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy> - IP allocation policy See
ip_allocation_policy
below. - New
Vpd Pulumi.Info Ali Cloud. Eflo. Inputs. Cluster Networks New Vpd Info - Vpd configuration information See
new_vpd_info
below. - Security
Group stringId - Security group ID
- Tail
Ip stringVersion - IP version
- Vpc
Id string - VPC ID
- Vpd
Info Pulumi.Ali Cloud. Eflo. Inputs. Cluster Networks Vpd Info - Multiplexing VPD information See
vpd_info
below. - Vswitch
Id string - Switch ID
- Vswitch
Zone stringId - Switch ZoneID
- Ip
Allocation []ClusterPolicies Networks Ip Allocation Policy - IP allocation policy See
ip_allocation_policy
below. - New
Vpd ClusterInfo Networks New Vpd Info - Vpd configuration information See
new_vpd_info
below. - Security
Group stringId - Security group ID
- Tail
Ip stringVersion - IP version
- Vpc
Id string - VPC ID
- Vpd
Info ClusterNetworks Vpd Info - Multiplexing VPD information See
vpd_info
below. - Vswitch
Id string - Switch ID
- Vswitch
Zone stringId - Switch ZoneID
- ip
Allocation List<ClusterPolicies Networks Ip Allocation Policy> - IP allocation policy See
ip_allocation_policy
below. - new
Vpd ClusterInfo Networks New Vpd Info - Vpd configuration information See
new_vpd_info
below. - security
Group StringId - Security group ID
- tail
Ip StringVersion - IP version
- vpc
Id String - VPC ID
- vpd
Info ClusterNetworks Vpd Info - Multiplexing VPD information See
vpd_info
below. - vswitch
Id String - Switch ID
- vswitch
Zone StringId - Switch ZoneID
- ip
Allocation ClusterPolicies Networks Ip Allocation Policy[] - IP allocation policy See
ip_allocation_policy
below. - new
Vpd ClusterInfo Networks New Vpd Info - Vpd configuration information See
new_vpd_info
below. - security
Group stringId - Security group ID
- tail
Ip stringVersion - IP version
- vpc
Id string - VPC ID
- vpd
Info ClusterNetworks Vpd Info - Multiplexing VPD information See
vpd_info
below. - vswitch
Id string - Switch ID
- vswitch
Zone stringId - Switch ZoneID
- ip_
allocation_ Sequence[Clusterpolicies Networks Ip Allocation Policy] - IP allocation policy See
ip_allocation_policy
below. - new_
vpd_ Clusterinfo Networks New Vpd Info - Vpd configuration information See
new_vpd_info
below. - security_
group_ strid - Security group ID
- tail_
ip_ strversion - IP version
- vpc_
id str - VPC ID
- vpd_
info ClusterNetworks Vpd Info - Multiplexing VPD information See
vpd_info
below. - vswitch_
id str - Switch ID
- vswitch_
zone_ strid - Switch ZoneID
- ip
Allocation List<Property Map>Policies - IP allocation policy See
ip_allocation_policy
below. - new
Vpd Property MapInfo - Vpd configuration information See
new_vpd_info
below. - security
Group StringId - Security group ID
- tail
Ip StringVersion - IP version
- vpc
Id String - VPC ID
- vpd
Info Property Map - Multiplexing VPD information See
vpd_info
below. - vswitch
Id String - Switch ID
- vswitch
Zone StringId - Switch ZoneID
ClusterNetworksIpAllocationPolicy, ClusterNetworksIpAllocationPolicyArgs
- Bond
Policy Pulumi.Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Bond Policy - Bond policy See
bond_policy
below. - Machine
Type List<Pulumi.Policies Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Machine Type Policy> - Model Assignment Policy See
machine_type_policy
below. - Node
Policies List<Pulumi.Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Node Policy> - Node allocation policy See
node_policy
below.
- Bond
Policy ClusterNetworks Ip Allocation Policy Bond Policy - Bond policy See
bond_policy
below. - Machine
Type []ClusterPolicies Networks Ip Allocation Policy Machine Type Policy - Model Assignment Policy See
machine_type_policy
below. - Node
Policies []ClusterNetworks Ip Allocation Policy Node Policy - Node allocation policy See
node_policy
below.
- bond
Policy ClusterNetworks Ip Allocation Policy Bond Policy - Bond policy See
bond_policy
below. - machine
Type List<ClusterPolicies Networks Ip Allocation Policy Machine Type Policy> - Model Assignment Policy See
machine_type_policy
below. - node
Policies List<ClusterNetworks Ip Allocation Policy Node Policy> - Node allocation policy See
node_policy
below.
- bond
Policy ClusterNetworks Ip Allocation Policy Bond Policy - Bond policy See
bond_policy
below. - machine
Type ClusterPolicies Networks Ip Allocation Policy Machine Type Policy[] - Model Assignment Policy See
machine_type_policy
below. - node
Policies ClusterNetworks Ip Allocation Policy Node Policy[] - Node allocation policy See
node_policy
below.
- bond_
policy ClusterNetworks Ip Allocation Policy Bond Policy - Bond policy See
bond_policy
below. - machine_
type_ Sequence[Clusterpolicies Networks Ip Allocation Policy Machine Type Policy] - Model Assignment Policy See
machine_type_policy
below. - node_
policies Sequence[ClusterNetworks Ip Allocation Policy Node Policy] - Node allocation policy See
node_policy
below.
- bond
Policy Property Map - Bond policy See
bond_policy
below. - machine
Type List<Property Map>Policies - Model Assignment Policy See
machine_type_policy
below. - node
Policies List<Property Map> - Node allocation policy See
node_policy
below.
ClusterNetworksIpAllocationPolicyBondPolicy, ClusterNetworksIpAllocationPolicyBondPolicyArgs
- Bond
Default stringSubnet - Default bond cluster subnet
- Bonds
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Bond Policy Bond> - Bond information See
bonds
below.
- Bond
Default stringSubnet - Default bond cluster subnet
- Bonds
[]Cluster
Networks Ip Allocation Policy Bond Policy Bond - Bond information See
bonds
below.
- bond
Default StringSubnet - Default bond cluster subnet
- bonds
List<Cluster
Networks Ip Allocation Policy Bond Policy Bond> - Bond information See
bonds
below.
- bond
Default stringSubnet - Default bond cluster subnet
- bonds
Cluster
Networks Ip Allocation Policy Bond Policy Bond[] - Bond information See
bonds
below.
- bond_
default_ strsubnet - Default bond cluster subnet
- bonds
Sequence[Cluster
Networks Ip Allocation Policy Bond Policy Bond] - Bond information See
bonds
below.
- bond
Default StringSubnet - Default bond cluster subnet
- bonds List<Property Map>
- Bond information See
bonds
below.
ClusterNetworksIpAllocationPolicyBondPolicyBond, ClusterNetworksIpAllocationPolicyBondPolicyBondArgs
ClusterNetworksIpAllocationPolicyMachineTypePolicy, ClusterNetworksIpAllocationPolicyMachineTypePolicyArgs
- Bonds
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Machine Type Policy Bond> - Bond information See
bonds
below. - Machine
Type string
- Bonds
[]Cluster
Networks Ip Allocation Policy Machine Type Policy Bond - Bond information See
bonds
below. - Machine
Type string
- bonds
List<Cluster
Networks Ip Allocation Policy Machine Type Policy Bond> - Bond information See
bonds
below. - machine
Type String
- bonds
Cluster
Networks Ip Allocation Policy Machine Type Policy Bond[] - Bond information See
bonds
below. - machine
Type string
- bonds
Sequence[Cluster
Networks Ip Allocation Policy Machine Type Policy Bond] - Bond information See
bonds
below. - machine_
type str
- bonds List<Property Map>
- Bond information See
bonds
below. - machine
Type String
ClusterNetworksIpAllocationPolicyMachineTypePolicyBond, ClusterNetworksIpAllocationPolicyMachineTypePolicyBondArgs
ClusterNetworksIpAllocationPolicyNodePolicy, ClusterNetworksIpAllocationPolicyNodePolicyArgs
- Bonds
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Networks Ip Allocation Policy Node Policy Bond> - Bond information See
bonds
below. - Node
Id string
- Bonds
[]Cluster
Networks Ip Allocation Policy Node Policy Bond - Bond information See
bonds
below. - Node
Id string
- bonds
List<Cluster
Networks Ip Allocation Policy Node Policy Bond> - Bond information See
bonds
below. - node
Id String
- bonds
Cluster
Networks Ip Allocation Policy Node Policy Bond[] - Bond information See
bonds
below. - node
Id string
- bonds
Sequence[Cluster
Networks Ip Allocation Policy Node Policy Bond] - Bond information See
bonds
below. - node_
id str
- bonds List<Property Map>
- Bond information See
bonds
below. - node
Id String
ClusterNetworksIpAllocationPolicyNodePolicyBond, ClusterNetworksIpAllocationPolicyNodePolicyBondArgs
ClusterNetworksNewVpdInfo, ClusterNetworksNewVpdInfoArgs
- Cen
Id string - Cloud Enterprise Network ID
- Cloud
Link stringCidr - Cloud chain cidr
- Cloud
Link stringId - Cloud chain ID
- Monitor
Vpc stringId - Proprietary Network
- Monitor
Vswitch stringId - Proprietary network switch
- Vpd
Cidr string - Cluster network segment
- Vpd
Subnets List<Pulumi.Ali Cloud. Eflo. Inputs. Cluster Networks New Vpd Info Vpd Subnet> - List of cluster subnet ID
- Cen
Id string - Cloud Enterprise Network ID
- Cloud
Link stringCidr - Cloud chain cidr
- Cloud
Link stringId - Cloud chain ID
- Monitor
Vpc stringId - Proprietary Network
- Monitor
Vswitch stringId - Proprietary network switch
- Vpd
Cidr string - Cluster network segment
- Vpd
Subnets []ClusterNetworks New Vpd Info Vpd Subnet - List of cluster subnet ID
- cen
Id String - Cloud Enterprise Network ID
- cloud
Link StringCidr - Cloud chain cidr
- cloud
Link StringId - Cloud chain ID
- monitor
Vpc StringId - Proprietary Network
- monitor
Vswitch StringId - Proprietary network switch
- vpd
Cidr String - Cluster network segment
- vpd
Subnets List<ClusterNetworks New Vpd Info Vpd Subnet> - List of cluster subnet ID
- cen
Id string - Cloud Enterprise Network ID
- cloud
Link stringCidr - Cloud chain cidr
- cloud
Link stringId - Cloud chain ID
- monitor
Vpc stringId - Proprietary Network
- monitor
Vswitch stringId - Proprietary network switch
- vpd
Cidr string - Cluster network segment
- vpd
Subnets ClusterNetworks New Vpd Info Vpd Subnet[] - List of cluster subnet ID
- cen_
id str - Cloud Enterprise Network ID
- cloud_
link_ strcidr - Cloud chain cidr
- cloud_
link_ strid - Cloud chain ID
- monitor_
vpc_ strid - Proprietary Network
- monitor_
vswitch_ strid - Proprietary network switch
- vpd_
cidr str - Cluster network segment
- vpd_
subnets Sequence[ClusterNetworks New Vpd Info Vpd Subnet] - List of cluster subnet ID
- cen
Id String - Cloud Enterprise Network ID
- cloud
Link StringCidr - Cloud chain cidr
- cloud
Link StringId - Cloud chain ID
- monitor
Vpc StringId - Proprietary Network
- monitor
Vswitch StringId - Proprietary network switch
- vpd
Cidr String - Cluster network segment
- vpd
Subnets List<Property Map> - List of cluster subnet ID
ClusterNetworksNewVpdInfoVpdSubnet, ClusterNetworksNewVpdInfoVpdSubnetArgs
- Subnet
Cidr string - Subnet cidr
- Subnet
Type string - Subnet Type
- Zone
Id string
- Subnet
Cidr string - Subnet cidr
- Subnet
Type string - Subnet Type
- Zone
Id string
- subnet
Cidr String - Subnet cidr
- subnet
Type String - Subnet Type
- zone
Id String
- subnet
Cidr string - Subnet cidr
- subnet
Type string - Subnet Type
- zone
Id string
- subnet_
cidr str - Subnet cidr
- subnet_
type str - Subnet Type
- zone_
id str
- subnet
Cidr String - Subnet cidr
- subnet
Type String - Subnet Type
- zone
Id String
ClusterNetworksVpdInfo, ClusterNetworksVpdInfoArgs
- Vpd
Id string - VPC ID
- Vpd
Subnets List<string> - List of cluster subnet ID
- Vpd
Id string - VPC ID
- Vpd
Subnets []string - List of cluster subnet ID
- vpd
Id String - VPC ID
- vpd
Subnets List<String> - List of cluster subnet ID
- vpd
Id string - VPC ID
- vpd
Subnets string[] - List of cluster subnet ID
- vpd_
id str - VPC ID
- vpd_
subnets Sequence[str] - List of cluster subnet ID
- vpd
Id String - VPC ID
- vpd
Subnets List<String> - List of cluster subnet ID
ClusterNodeGroup, ClusterNodeGroupArgs
- Image
Id string - System Image ID
- Machine
Type string - Model
- Node
Group stringDescription - Node Group Description
- Node
Group stringName - Node Group Name
- Nodes
List<Pulumi.
Ali Cloud. Eflo. Inputs. Cluster Node Group Node> - Node List See
nodes
below. - User
Data string - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- Zone
Id string - Zone ID
- Image
Id string - System Image ID
- Machine
Type string - Model
- Node
Group stringDescription - Node Group Description
- Node
Group stringName - Node Group Name
- Nodes
[]Cluster
Node Group Node - Node List See
nodes
below. - User
Data string - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- Zone
Id string - Zone ID
- image
Id String - System Image ID
- machine
Type String - Model
- node
Group StringDescription - Node Group Description
- node
Group StringName - Node Group Name
- nodes
List<Cluster
Node Group Node> - Node List See
nodes
below. - user
Data String - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- zone
Id String - Zone ID
- image
Id string - System Image ID
- machine
Type string - Model
- node
Group stringDescription - Node Group Description
- node
Group stringName - Node Group Name
- nodes
Cluster
Node Group Node[] - Node List See
nodes
below. - user
Data string - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- zone
Id string - Zone ID
- image_
id str - System Image ID
- machine_
type str - Model
- node_
group_ strdescription - Node Group Description
- node_
group_ strname - Node Group Name
- nodes
Sequence[Cluster
Node Group Node] - Node List See
nodes
below. - user_
data str - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- zone_
id str - Zone ID
- image
Id String - System Image ID
- machine
Type String - Model
- node
Group StringDescription - Node Group Description
- node
Group StringName - Node Group Name
- nodes List<Property Map>
- Node List See
nodes
below. - user
Data String - Instance custom data. It needs to be encoded in Base64 mode, and the original data is at most 16KB.
- zone
Id String - Zone ID
ClusterNodeGroupNode, ClusterNodeGroupNodeArgs
- Hostname string
- Host name
- Login
Password string - Login Password
- Node
Id string - Vpc
Id string - Vswitch
Id string
- Hostname string
- Host name
- Login
Password string - Login Password
- Node
Id string - Vpc
Id string - Vswitch
Id string
- hostname String
- Host name
- login
Password String - Login Password
- node
Id String - vpc
Id String - vswitch
Id String
- hostname string
- Host name
- login
Password string - Login Password
- node
Id string - vpc
Id string - vswitch
Id string
- hostname str
- Host name
- login_
password str - Login Password
- node_
id str - vpc_
id str - vswitch_
id str
- hostname String
- Host name
- login
Password String - Login Password
- node
Id String - vpc
Id String - vswitch
Id String
Import
Eflo Cluster can be imported using the id, e.g.
$ pulumi import alicloud:eflo/cluster:Cluster 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.