com.pulumi.kubernetes.networking.v1.inputs.NetworkPolicyPeerPatchArgs 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.networking.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.meta.v1.inputs.LabelSelectorPatchArgs;
import com.pulumi.kubernetes.networking.v1.inputs.IPBlockPatchArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
*
*/
public final class NetworkPolicyPeerPatchArgs extends com.pulumi.resources.ResourceArgs {
public static final NetworkPolicyPeerPatchArgs Empty = new NetworkPolicyPeerPatchArgs();
/**
* ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
*
*/
@Import(name="ipBlock")
private @Nullable Output ipBlock;
/**
* @return ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy