com.pulumi.googlenative.compute.alpha.enums.ResourcePolicyGroupPlacementPolicyScope Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.compute.alpha.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Scope specifies the availability domain to which the VMs should be spread.
*
*/
@EnumType
public enum ResourcePolicyGroupPlacementPolicyScope {
/**
* Specifies availability domain scope across hosts. VMs will be spread across different hosts.
*
*/
Host("HOST"),
/**
* VMs will be spread across different instrastructure to not share power, host and networking.
*
*/
UnspecifiedScope("UNSPECIFIED_SCOPE");
private final String value;
ResourcePolicyGroupPlacementPolicyScope(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "ResourcePolicyGroupPlacementPolicyScope[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy