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 documentation details the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class within the VMware Engine v1 API, which is used to manage external access to VMware workloads.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkService\u003c/code\u003e class allows for the control of aspects of external access, such as whether private cloud workloads can access or be accessed from the internet.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is 1.6.0, with older versions ranging from 1.5.0 to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eNetworkService\u003c/code\u003e include \u003ccode\u003eEnabled\u003c/code\u003e, a boolean indicating if the service is active, and \u003ccode\u003eState\u003c/code\u003e, reflecting the current status of the network service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkService\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]