com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceConstraintArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** 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.kubernetes.resource.v1alpha3.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* DeviceConstraint must have exactly one field set besides Requests.
*
*/
public final class DeviceConstraintArgs extends com.pulumi.resources.ResourceArgs {
public static final DeviceConstraintArgs Empty = new DeviceConstraintArgs();
/**
* MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
*
* For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
*
* Must include the domain qualifier.
*
*/
@Import(name="matchAttribute")
private @Nullable Output matchAttribute;
/**
* @return MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.
*
* For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.
*
* Must include the domain qualifier.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy