ExternalAccessRuleArgs class

The set of arguments for ExternalAccessRule. The set of arguments for ExternalAccessRule.

Constructors

ExternalAccessRuleArgs({required Input<String> action, Input<String?>? deletionPolicy, Input<String?>? description, required Input<List<ExternalAccessRuleDestinationIpRange>> destinationIpRanges, required Input<List<String>> destinationPorts, required Input<String> ipProtocol, Input<String?>? name, required Input<String> parent, required Input<int> priority, required Input<List<ExternalAccessRuleSourceIpRange>> sourceIpRanges, required Input<List<String>> sourcePorts})
Creates a new ExternalAccessRuleArgs. action The action that the external access rule performs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description User-provided description for the external access rule. destinationIpRanges If destination ranges are specified, the external access rule applies only to destinationPorts A list of destination ports to which the external access rule applies. ipProtocol The IP protocol to which the external access rule applies. name The ID of the external access rule. parent The resource name of the network policy. priority External access rule priority, which determines the external access rule to use when multiple rules apply. sourceIpRanges If source ranges are specified, the external access rule applies only to sourcePorts A list of source ports to which the external access rule applies.
const
ExternalAccessRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>
The action that the external access rule performs. Possible values are: ALLOW, DENY.
final
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 the external access rule.
final
destinationIpRanges → Input<List<ExternalAccessRuleDestinationIpRange>>
If destination ranges are specified, the external access rule applies only to traffic that has a destination IP address in these ranges. Structure is documented below.
final
destinationPorts → Input<List<String>>
A list of destination ports to which the external access rule applies.
final
hashCode → int
The hash code for this object.
no setterinherited
ipProtocol → Input<String>
The IP protocol to which the external access rule applies.
final
name → Input<String?>?
The ID of the external access rule.
final
parent → Input<String>
The resource name of the 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-west1-a/networkPolicies/my-policy
final
priority → Input<int>
External access rule priority, which determines the external access rule to use when multiple rules apply.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceIpRanges → Input<List<ExternalAccessRuleSourceIpRange>>
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. Structure is documented below.
final
sourcePorts → Input<List<String>>
A list of source ports to which the external access rule applies.
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