NetworkPolicyArgs class

The set of arguments for NetworkPolicy. The set of arguments for NetworkPolicy.

Constructors

NetworkPolicyArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<String> edgeServicesCidr, Input<NetworkPolicyExternalIp?>? externalIp, Input<NetworkPolicyInternetAccess?>? internetAccess, required Input<String> location, Input<String?>? name, Input<String?>? project, required Input<String> vmwareEngineNetwork})
Creates a new NetworkPolicyArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description User-provided description for this network policy. edgeServicesCidr IP address range in CIDR notation used to create internet access and external IP access. externalIp Network service that allows External IP addresses to be assigned to VMware workloads. internetAccess Network service that allows VMware workloads to access the internet. location The resource name of the location (region) to create the new network policy in. name The ID of the Network Policy. project The ID of the project in which the resource belongs. vmwareEngineNetwork The relative resource name of the VMware Engine network. Specify the name in the following form:
const
NetworkPolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
User-provided description for this network policy.
final
edgeServicesCidr → Input<String>
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.
final
externalIp → Input<NetworkPolicyExternalIp?>?
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when internetAccess is also enabled. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
internetAccess → Input<NetworkPolicyInternetAccess?>?
Network service that allows VMware workloads to access the internet. Structure is documented below.
final
location → Input<String>
The resource name of the location (region) to create the new network policy in. 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
final
name → Input<String?>?
The ID of the Network Policy.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vmwareEngineNetwork → Input<String>
The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
final

Methods

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

Operators

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