CreateAffinityGroup
Creates an affinity group. For
example,
CreateAffinityGroup name=affinity-group-test policy=antiSoft
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The affinity group name. | 2.2 | ||
description | The detailed description of the affinity group. | Yes | 2.2 | |
policy | The affinity group policy. |
|
0.6 | |
type | The affinity group type. The current type is host. In the future, network, router, data center, and rack affinity groups will be supported. | Yes |
|
2.2 |
resourceUuid | The resource UUID. | Yes | 2.2 | |
userTags | The user tags. For more information, see CreateUserTag. | Yes | 2.2 | |
systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 2.2 | |
timeout | Yes |