NetworkPolicy class

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.

Constructors

NetworkPolicy({String? createTime, String? description, String? edgeServicesCidr, NetworkService? externalIp, NetworkService? internetAccess, String? name, String? uid, String? updateTime, String? vmwareEngineNetwork, String? vmwareEngineNetworkCanonical})
NetworkPolicy.fromJson(Map json_)

Properties

createTime String?
Creation time of this resource.
getter/setter pair
description String?
User-provided description for this network policy.
getter/setter pair
edgeServicesCidr String?
IP address range in CIDR notation used to create internet access and external IP access.
getter/setter pair
externalIp NetworkService?
Network service that allows External IP addresses to be assigned to VMware workloads.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
internetAccess NetworkService?
Network service that allows VMware workloads to access the internet.
getter/setter pair
name String?
The resource name of this network policy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
System-generated unique identifier for the resource.
getter/setter pair
updateTime String?
Last update time of this resource.
getter/setter pair
vmwareEngineNetwork String?
The relative resource name of the VMware Engine network.
getter/setter pair
vmwareEngineNetworkCanonical String?
The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited