VMware Engine v1 API - Class NetworkPolicy.Types.NetworkService (1.0.0-beta02)

public sealed class 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.

Inheritance

Object > NetworkPolicy.Types.NetworkService

Namespace

Google.Cloud.VmwareEngine.V1

Assembly

Google.Cloud.VmwareEngine.V1.dll

Constructors

NetworkService()

public NetworkService()

NetworkService(NetworkPolicy.Types.NetworkService)

public NetworkService(NetworkPolicy.Types.NetworkService other)
Parameter
NameDescription
otherNetworkPolicy.Types.NetworkService

Properties

Enabled

public bool Enabled { get; set; }

True if the service is enabled; false otherwise.

Property Value
TypeDescription
Boolean

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
TypeDescription
NetworkPolicy.Types.NetworkService.Types.State