Class VolumeV2SchedulerHintArgs


  • public final class VolumeV2SchedulerHintArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • additionalProperties

        public java.util.Optional<com.pulumi.core.Output<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.Optional<com.pulumi.core.Output<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<com.pulumi.core.Output<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<com.pulumi.core.Output<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.Optional<com.pulumi.core.Output<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.