ExternalAccessRuleArgs constructor

const ExternalAccessRuleArgs({
  1. required Input<String> action,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. required Input<List<ExternalAccessRuleDestinationIpRange>> destinationIpRanges,
  5. required Input<List<String>> destinationPorts,
  6. required Input<String> ipProtocol,
  7. Input<String?>? name,
  8. required Input<String> parent,
  9. required Input<int> priority,
  10. required Input<List<ExternalAccessRuleSourceIpRange>> sourceIpRanges,
  11. 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.

Implementation

const ExternalAccessRuleArgs({
  required this.action,
  this.deletionPolicy,
  this.description,
  required this.destinationIpRanges,
  required this.destinationPorts,
  required this.ipProtocol,
  this.name,
  required this.parent,
  required this.priority,
  required this.sourceIpRanges,
  required this.sourcePorts,
});