VMware Engine v1 API - Class NetworkPolicy (1.1.0)

public sealed class NetworkPolicy : IMessage<NetworkPolicy>, IEquatable<NetworkPolicy>, IDeepCloneable<NetworkPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the VMware Engine v1 API class NetworkPolicy.

Represents a network policy resource. Network policies are regional resources. You can use a network policy to enable or disable internet access and external IP access. Network policies are associated with a VMware Engine network, which might span across regions. For a given region, a network policy applies to all private clouds in the VMware Engine network associated with the policy.

Inheritance

object > NetworkPolicy

Namespace

Google.Cloud.VmwareEngine.V1

Assembly

Google.Cloud.VmwareEngine.V1.dll

Constructors

NetworkPolicy()

public NetworkPolicy()

NetworkPolicy(NetworkPolicy)

public NetworkPolicy(NetworkPolicy other)
Parameter
Name Description
other NetworkPolicy

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time of this resource.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. User-provided description for this network policy.

Property Value
Type Description
string

EdgeServicesCidr

public string EdgeServicesCidr { get; set; }

Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.

Property Value
Type Description
string

ExternalIp

public NetworkPolicy.Types.NetworkService ExternalIp { get; set; }

Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when internet_access is also enabled.

Property Value
Type Description
NetworkPolicyTypesNetworkService

InternetAccess

public NetworkPolicy.Types.NetworkService InternetAccess { get; set; }

Network service that allows VMware workloads to access the internet.

Property Value
Type Description
NetworkPolicyTypesNetworkService

Name

public string Name { get; set; }

Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

Property Value
Type Description
string

NetworkPolicyName

public NetworkPolicyName NetworkPolicyName { get; set; }

NetworkPolicyName-typed view over the Name resource name property.

Property Value
Type Description
NetworkPolicyName

Uid

public string Uid { get; set; }

Output only. System-generated unique identifier for the resource.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Last update time of this resource.

Property Value
Type Description
Timestamp

VmwareEngineNetwork

public string VmwareEngineNetwork { get; set; }

Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

Property Value
Type Description
string

VmwareEngineNetworkAsVmwareEngineNetworkName

public VmwareEngineNetworkName VmwareEngineNetworkAsVmwareEngineNetworkName { get; set; }

VmwareEngineNetworkName-typed view over the VmwareEngineNetwork resource name property.

Property Value
Type Description
VmwareEngineNetworkName

VmwareEngineNetworkCanonical

public string VmwareEngineNetworkCanonical { get; set; }

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

Property Value
Type Description
string

VmwareEngineNetworkCanonicalAsVmwareEngineNetworkName

public VmwareEngineNetworkName VmwareEngineNetworkCanonicalAsVmwareEngineNetworkName { get; set; }

VmwareEngineNetworkName-typed view over the VmwareEngineNetworkCanonical resource name property.

Property Value
Type Description
VmwareEngineNetworkName