Creates an affinity groups
Creates an affinity groups.
stackit affinity-group create [flags]
Create an affinity group with name "AFFINITY_GROUP_NAME" and policy "soft-affinity"
$ stackit affinity-group create --name AFFINITY_GROUP_NAME --policy soft-affinity
-h, --help Help for "stackit affinity-group create"
--name string The name of the affinity group.
--policy string The policy for the affinity group. Valid values for the policy are: "hard-affinity", "hard-anti-affinity", "soft-affinity", "soft-anti-affinity"
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
- stackit affinity-group - Manage server affinity groups