Class InstanceSchedulerHint
- java.lang.Object
-
- com.pulumi.openstack.compute.outputs.InstanceSchedulerHint
-
public final class InstanceSchedulerHint extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceSchedulerHint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>additionalProperties()static InstanceSchedulerHint.Builderbuilder()static InstanceSchedulerHint.Builderbuilder(InstanceSchedulerHint defaults)java.util.Optional<java.lang.String>buildNearHostIp()java.util.List<java.lang.String>differentCells()java.util.List<java.lang.String>differentHosts()java.util.Optional<java.lang.String>group()java.util.List<java.lang.String>queries()java.util.List<java.lang.String>sameHosts()java.util.Optional<java.lang.String>targetCell()
-
-
-
Method Detail
-
additionalProperties
public java.util.Map<java.lang.String,java.lang.Object> additionalProperties()
- Returns:
- Arbitrary key/value pairs of additional properties to pass to the scheduler.
-
buildNearHostIp
public java.util.Optional<java.lang.String> buildNearHostIp()
- Returns:
- An IP Address in CIDR form. The instance will be placed on a compute node that is in the same subnet.
-
differentCells
public java.util.List<java.lang.String> differentCells()
- Returns:
- The names of cells where not to build the instance.
-
differentHosts
public java.util.List<java.lang.String> differentHosts()
- Returns:
- A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.
-
group
public java.util.Optional<java.lang.String> group()
- Returns:
- A UUID of a Server Group. The instance will be placed into that group.
-
queries
public java.util.List<java.lang.String> queries()
- Returns:
- A conditional query that a compute node must pass in order to host an instance. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#jsonfilter). At this time, only simple queries are supported. Compound queries using `and`, `or`, or `not` are not supported. An example of a simple query is:
-
sameHosts
public java.util.List<java.lang.String> sameHosts()
- Returns:
- A list of instance UUIDs. The instance will be scheduled on the same host of those specified.
-
targetCell
public java.util.Optional<java.lang.String> targetCell()
- Returns:
- The name of a cell to host the instance.
-
builder
public static InstanceSchedulerHint.Builder builder()
-
builder
public static InstanceSchedulerHint.Builder builder(InstanceSchedulerHint defaults)
-
-