Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NetworkPolicy

import type { NetworkPolicy } from "https://googleapis.deno.dev/v1/vmwareengine:v1.ts";

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.

interface NetworkPolicy {
readonly createTime?: Date;
description?: string;
edgeServicesCidr?: string;
externalIp?: NetworkService;
internetAccess?: NetworkService;
readonly name?: string;
readonly uid?: string;
readonly updateTime?: Date;
vmwareEngineNetwork?: string;
readonly vmwareEngineNetworkCanonical?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Creation time of this resource.

§
description?: string
[src]

Optional. User-provided description for this network policy.

§
edgeServicesCidr?: string
[src]

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.

§
externalIp?: NetworkService
[src]

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.

§
internetAccess?: NetworkService
[src]

Network service that allows VMware workloads to access the internet.

§
readonly name?: string
[src]

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

§
readonly uid?: string
[src]

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

§
readonly updateTime?: Date
[src]

Output only. Last update time of this resource.

§
vmwareEngineNetwork?: string
[src]

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.

§
readonly vmwareEngineNetworkCanonical?: string
[src]

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