class K8S::Api::Extensions::V1beta1::NetworkPolicyPort
- K8S::Api::Extensions::V1beta1::NetworkPolicyPort
- Reference
- Object
Overview
DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.15/api/extensions/v1beta1/network_policy_port.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, port : Int32 | String | Nil = nil, protocol : String? = nil)
Instance Method Summary
- #port : Int32 | String | Nil
- #port=(port : Int32 | String | Nil)
- #protocol : String?
- #protocol=(protocol : String?)