Class EndpointSliceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.discovery.v1.inputs.EndpointSliceArgs
-
public final class EndpointSliceArgs extends com.pulumi.resources.ResourceArgs
EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointSliceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static EndpointSliceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
addressType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
apiVersion()
static EndpointSliceArgs.Builder
builder()
static EndpointSliceArgs.Builder
builder(EndpointSliceArgs defaults)
com.pulumi.core.Output<java.util.List<EndpointArgs>>
endpoints()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
kind()
java.util.Optional<com.pulumi.core.Output<ObjectMetaArgs>>
metadata()
java.util.Optional<com.pulumi.core.Output<java.util.List<EndpointPortArgs>>>
ports()
-
-
-
Field Detail
-
Empty
public static final EndpointSliceArgs Empty
-
-
Method Detail
-
addressType
public com.pulumi.core.Output<java.lang.String> addressType()
- Returns:
- addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
-
apiVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiVersion()
- Returns:
- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
endpoints
public com.pulumi.core.Output<java.util.List<EndpointArgs>> endpoints()
- Returns:
- endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
-
kind
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kind()
- Returns:
- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
metadata
public java.util.Optional<com.pulumi.core.Output<ObjectMetaArgs>> metadata()
- Returns:
- Standard object's metadata.
-
ports
public java.util.Optional<com.pulumi.core.Output<java.util.List<EndpointPortArgs>>> ports()
- Returns:
- ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
-
builder
public static EndpointSliceArgs.Builder builder()
-
builder
public static EndpointSliceArgs.Builder builder(EndpointSliceArgs defaults)
-
-