InternalRangeArgs constructor

const InternalRangeArgs({
  1. Input<InternalRangeAllocationOptions?>? allocationOptions,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<List<String>?>? excludeCidrRanges,
  5. Input<bool?>? immutable,
  6. Input<String?>? ipCidrRange,
  7. Input<Map<String, String>?>? labels,
  8. Input<InternalRangeMigration?>? migration,
  9. Input<String?>? name,
  10. required Input<String> network,
  11. Input<List<String>?>? overlaps,
  12. required Input<String> peering,
  13. Input<int?>? prefixLength,
  14. Input<String?>? project,
  15. Input<List<String>?>? targetCidrRanges,
  16. required Input<String> usage,
})

Creates a new InternalRangeArgs. allocationOptions Options for automatically allocating a free range with a size given by prefixLength. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. excludeCidrRanges Optional. List of IP CIDR ranges to be excluded. Resulting reserved Internal Range will not overlap with any CIDR blocks mentioned in this list. immutable Immutable ranges cannot have their fields modified, except for labels and description. ipCidrRange The IP range that this internal range defines. labels User-defined labels. migration Specification for migration with source and target resource names. name The name of the policy based route. network Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. overlaps Optional. Types of resources that are allowed to overlap with the current internal range. peering The type of peering set for this internal range. prefixLength An alternate to ipCidrRange. Can be set when trying to create a reservation that automatically finds a free range of the given size. project The ID of the project in which the resource belongs. targetCidrRanges Optional. Can be set to narrow down or pick a different address space while searching for a free range. usage The type of usage set for this InternalRange.

Implementation

const InternalRangeArgs({
  this.allocationOptions,
  this.deletionPolicy,
  this.description,
  this.excludeCidrRanges,
  this.immutable,
  this.ipCidrRange,
  this.labels,
  this.migration,
  this.name,
  required this.network,
  this.overlaps,
  required this.peering,
  this.prefixLength,
  this.project,
  this.targetCidrRanges,
  required this.usage,
});