Skip to content

Commit

Permalink
added default value for minPortsPerVM field at "google_compute_router…
Browse files Browse the repository at this point in the history
…_nat" (GoogleCloudPlatform#9712)

* added default value for statis allocation

* setting the default from API
  • Loading branch information
maxi-cit authored and Charles Leon committed Mar 11, 2024
1 parent a7dfcee commit 3dd5917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmv1/products/compute/RouterNat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ properties:
- !ruby/object:Api::Type::Integer
name: minPortsPerVm
description: |
Minimum number of ports allocated to a VM from this NAT.
Minimum number of ports allocated to a VM from this NAT. Defaults to 64 for static port allocation and 32 dynamic port allocation if not set.
default_from_api: true
- !ruby/object:Api::Type::Integer
name: maxPortsPerVm
description: |
Expand Down

0 comments on commit 3dd5917

Please sign in to comment.