SubnetworkArgs constructor

const SubnetworkArgs({
  1. Input<bool?>? allowSubnetCidrRoutesOverlap,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<String?>? externalIpv6Prefix,
  5. Input<String?>? internalIpv6Prefix,
  6. Input<String?>? ipCidrRange,
  7. Input<String?>? ipCollection,
  8. Input<String?>? ipv6AccessType,
  9. Input<SubnetworkLogConfig?>? logConfig,
  10. Input<String?>? name,
  11. required Input<String> network,
  12. Input<SubnetworkParams?>? params,
  13. Input<bool?>? privateIpGoogleAccess,
  14. Input<String?>? privateIpv6GoogleAccess,
  15. Input<String?>? project,
  16. Input<String?>? purpose,
  17. Input<String?>? region,
  18. Input<String?>? reservedInternalRange,
  19. Input<String?>? resolveSubnetMask,
  20. Input<String?>? role,
  21. Input<List<SubnetworkSecondaryIpRange>?>? secondaryIpRanges,
  22. Input<bool?>? sendSecondaryIpRangeIfEmpty,
  23. Input<String?>? stackType,
})

Creates a new SubnetworkArgs. allowSubnetCidrRoutesOverlap Typically packets destined to IPs within the subnetwork range that do not match deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property when externalIpv6Prefix The range of external IPv6 addresses that are owned by this subnetwork. internalIpv6Prefix The internal IPv6 address range that is assigned to this subnetwork. ipCidrRange The range of internal addresses that are owned by this subnetwork. ipCollection Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP ipv6AccessType The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation logConfig This field denotes the VPC flow logging options for this subnetwork. If name The name of the resource, provided by the client when initially network The network this subnet belongs to. params Additional params passed with the request, but not persisted as part of resource payload privateIpGoogleAccess When enabled, VMs in this subnetwork without external IP addresses can privateIpv6GoogleAccess The private IPv6 google access type for the VMs in this subnet. project The ID of the project in which the resource belongs. purpose The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, GLOBAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, PEER_MIGRATION or PRIVATE_NAT(Beta). region The GCP region for this subnetwork. reservedInternalRange The ID of the reserved internal range. Must be prefixed with networkconnectivity.googleapis.com resolveSubnetMask 'Configures subnet mask resolution for this subnetwork.' role The role of subnetwork. secondaryIpRanges An array of configurations for secondary IP ranges for VM instances sendSecondaryIpRangeIfEmpty Controls the removal behavior of secondary_ip_range. stackType The stack type for this subnet to identify whether the IPv6 feature is enabled or not.

Implementation

const SubnetworkArgs({
  this.allowSubnetCidrRoutesOverlap,
  this.deletionPolicy,
  this.description,
  this.externalIpv6Prefix,
  this.internalIpv6Prefix,
  this.ipCidrRange,
  this.ipCollection,
  this.ipv6AccessType,
  this.logConfig,
  this.name,
  required this.network,
  this.params,
  this.privateIpGoogleAccess,
  this.privateIpv6GoogleAccess,
  this.project,
  this.purpose,
  this.region,
  this.reservedInternalRange,
  this.resolveSubnetMask,
  this.role,
  this.secondaryIpRanges,
  this.sendSecondaryIpRangeIfEmpty,
  this.stackType,
});