public sealed class NetworkPolicy.Types.NetworkService : IMessage<NetworkPolicy.Types.NetworkService>, IEquatable<NetworkPolicy.Types.NetworkService>, IDeepCloneable<NetworkPolicy.Types.NetworkService>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class NetworkPolicy.Types.NetworkService.
Represents a network service that is managed by a NetworkPolicy resource.
A network service provides a way to control an aspect of external access to
VMware workloads. For example, whether the VMware workloads in the
private clouds governed by a network policy can access or be accessed from
the internet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class within the VMware Engine v1 API, specifically for version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class represents a network service managed by a \u003ccode\u003eNetworkPolicy\u003c/code\u003e resource, controlling external access to VMware workloads, such as internet access.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class implements interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class include \u003ccode\u003eEnabled\u003c/code\u003e (a boolean indicating whether the service is active) and \u003ccode\u003eState\u003c/code\u003e (indicating the service's current status).\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all the previous versions of the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class, with version 1.6.0 being the most recent.\u003c/p\u003e\n"]]],[],null,[]]