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< destinationIpRanges, required Input<ExternalAccessRuleDestinationIpRange> >List< destinationPorts, required Input<String> >String> ipProtocol, Input<String?> ? name, required Input<String> parent, required Input<int> priority, required Input<List< sourceIpRanges, required Input<ExternalAccessRuleSourceIpRange> >List< sourcePorts})String> > -
Creates a new ExternalAccessRuleArgs.
actionThe action that the external access rule performs.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description for the external access rule.destinationIpRangesIf destination ranges are specified, the external access rule applies only todestinationPortsA list of destination ports to which the external access rule applies.ipProtocolThe IP protocol to which the external access rule applies.nameThe ID of the external access rule.parentThe resource name of the network policy.priorityExternal access rule priority, which determines the external access rule to use when multiple rules apply.sourceIpRangesIf source ranges are specified, the external access rule applies only tosourcePortsA 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