Show / Hide Table of Contents

Class NetworkPolicyPortArgs

DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.

Inheritance
System.Object
InputArgs
ResourceArgs
NetworkPolicyPortArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Inputs.Extensions.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class NetworkPolicyPortArgs : ResourceArgs

Properties

View Source

Port

If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.

Declaration
public InputUnion<int, string> Port { get; set; }
Property Value
Type Description
InputUnion<System.Int32, System.String>
View Source

Protocol

Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.

Declaration
public Input<string> Protocol { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.