DeploymentSetProps
Properties for defining a DeploymentSet
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-deploymentset
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new DeploymentSetProps {
object DeploymentSetName = null,
object Description = null,
object GroupCount = null,
object OnUnableToRedeployFailedInstance = null,
object Strategy = null
};
Properties
Name | Type | Description |
---|---|---|
DeploymentSetName |
object |
Property deploymentSetName: The name of the deployment set. |
Description |
object |
Property description: The description of the deployment set. |
GroupCount |
object |
Property groupCount: Set the number of groups for the deployment set group high availability policy. |
OnUnableToRedeployFailedInstance |
object |
Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set. |
Strategy |
object |
Property strategy: Deployment strategy. |
DeploymentSetName
Optional
public object DeploymentSetName { get; set; }
- Type: object
Property deploymentSetName: The name of the deployment set.
It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
Description
Optional
public object Description { get; set; }
- Type: object
Property description: The description of the deployment set.
It must be 2 to 256 characters in length. It cannot start with http:// or https://.
GroupCount
Optional
public object GroupCount { get; set; }
- Type: object
Property groupCount: Set the number of groups for the deployment set group high availability policy.
Value range: 1~7. Default value: 3. This parameter only takes effect when Strategy=AvailabilityGroup.
OnUnableToRedeployFailedInstance
Optional
public object OnUnableToRedeployFailedInstance { get; set; }
- Type: object
Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set.
Valid values: CancelMembershipAndStart: restarts the instances immediately after they are shut down and migrated to other deployment sets. This is the default value. KeepStopped: keeps the instances shut down and restarts them after the deployment set is replenished.
Strategy
Optional
public object Strategy { get; set; }
- Type: object
Property strategy: Deployment strategy.
Ranges: Availability: High availability strategy. AvailabilityGroup: Deployment group high availability strategy. LowLatency: Network low latency strategy.