Class NetworkPolicy
DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.Extensions.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class NetworkPolicy
Fields
View SourceApiVersion
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
Declaration
public readonly string ApiVersion
Field Value
| Type | Description |
|---|---|
| System.String |
Kind
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
Declaration
public readonly string Kind
Field Value
| Type | Description |
|---|---|
| System.String |
Metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Declaration
public readonly ObjectMeta Metadata
Field Value
| Type | Description |
|---|---|
| ObjectMeta |
Spec
Specification of the desired behavior for this NetworkPolicy.
Declaration
public readonly NetworkPolicySpec Spec
Field Value
| Type | Description |
|---|---|
| NetworkPolicySpec |