Class SwarmArgs
Inheritance
System.Object
SwarmArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class SwarmArgs : ResourceArgs
Constructors
View Source
SwarmArgs()
Declaration
Properties
View Source
CidrBlock
The CIDR block for the Container. It can not be same as the CIDR used by the VPC.
Valid value:
- 192.168.0.0/16
- 172.19-30.0.0/16
- 10.0.0.0/16
Declaration
public Input<string> CidrBlock { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DiskCategory
The data disk category of ECS instance node. Its valid value are cloud, cloud_ssd, cloud_essd, ephemeral_essd and cloud_efficiency. Default to cloud_efficiency.
Declaration
public Input<string> DiskCategory { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DiskSize
The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.
Declaration
public Input<int> DiskSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
ImageId
The image ID of ECS instance node used. Default to System automate allocated.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceType
The type of ECS instance node.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IsOutdated
Whether to use outdated instance type. Default to false.
Declaration
public Input<bool> IsOutdated { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Name
The container cluster's name. It is the only in one Alicloud account.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NamePrefix
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NeedSlb
Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.
Declaration
public Input<bool> NeedSlb { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
NodeNumber
The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.
Declaration
public Input<int> NodeNumber { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Password
The password of ECS instance node.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ReleaseEip
Whether to release EIP after creating swarm cluster successfully. Default to false.
Declaration
public Input<bool> ReleaseEip { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Size
Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
VswitchId
The password of ECS instance node. If it is not specified, the container cluster's network mode will be Classic.
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|