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.
Implements
IMessageNetworkPolicyTypesNetworkService, IEquatableNetworkPolicyTypesNetworkService, IDeepCloneableNetworkPolicyTypesNetworkService, IBufferMessage, IMessageNamespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
NetworkService()
public NetworkService()
NetworkService(NetworkService)
public NetworkService(NetworkPolicy.Types.NetworkService other)
Parameter | |
---|---|
Name | Description |
other |
NetworkPolicyTypesNetworkService |
Properties
Enabled
public bool Enabled { get; set; }
True if the service is enabled; false otherwise.
Property Value | |
---|---|
Type | Description |
bool |
State
public NetworkPolicy.Types.NetworkService.Types.State State { get; set; }
Output only. State of the service. New values may be added to this enum when appropriate.
Property Value | |
---|---|
Type | Description |
NetworkPolicyTypesNetworkServiceTypesState |