Class NetworkPolicy (1.1.0)

NetworkPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
name str
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
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation time of this resource.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Last update time of this resource.
internet_access google.cloud.vmwareengine_v1.types.NetworkPolicy.NetworkService
Network service that allows VMware workloads to access the internet.
external_ip google.cloud.vmwareengine_v1.types.NetworkPolicy.NetworkService
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.
edge_services_cidr str
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.
uid str
Output only. System-generated unique identifier for the resource.
vmware_engine_network str
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.
description str
Optional. User-provided description for this network policy.
vmware_engine_network_canonical str
Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

Classes

NetworkService

NetworkService(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.