Class VolumeV2SchedulerHint
- java.lang.Object
-
- com.pulumi.openstack.blockstorage.outputs.VolumeV2SchedulerHint
-
public final class VolumeV2SchedulerHint extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVolumeV2SchedulerHint.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 VolumeV2SchedulerHint.Builderbuilder()static VolumeV2SchedulerHint.Builderbuilder(VolumeV2SchedulerHint defaults)java.util.List<java.lang.String>differentHosts()java.util.Optional<java.lang.String>localToInstance()java.util.Optional<java.lang.String>query()java.util.List<java.lang.String>sameHosts()
-
-
-
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.
-
differentHosts
public java.util.List<java.lang.String> differentHosts()
- Returns:
- The volume should be scheduled on a different host from the set of volumes specified in the list provided.
-
localToInstance
public java.util.Optional<java.lang.String> localToInstance()
- Returns:
- An instance UUID. The volume should be scheduled on the same host as the instance.
-
query
public java.util.Optional<java.lang.String> query()
- Returns:
- A conditional query that a back-end must pass in order to host a volume. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/cinder/latest/configuration/block-storage/scheduler-filters.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 volume UUIDs. The volume should be scheduled on the same host as another volume specified in the list provided.
-
builder
public static VolumeV2SchedulerHint.Builder builder()
-
builder
public static VolumeV2SchedulerHint.Builder builder(VolumeV2SchedulerHint defaults)
-
-