Skip to content

Commit f0933ec

Browse files
authored
Fix google_compute_interconnect to support the correct feature values (#11568)
1 parent ac5f4ea commit f0933ec

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

mmv1/products/compute/Interconnect.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -372,16 +372,18 @@ properties:
372372
- !ruby/object:Api::Type::Array
373373
name: 'requestedFeatures'
374374
description: |
375-
interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
375+
interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
376376
If specified then the connection is created on MACsec capable hardware ports. If not
377377
specified, the default value is false, which allocates non-MACsec capable ports first if
378-
available).
378+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
379+
does not work with the API, and will be removed in an upcoming major version.
379380
item_type: !ruby/object:Api::Type::Enum
380381
name: 'requestedFeatures'
381382
description: |
382383
interconnects.list of features requested for this Interconnect connection
383384
values:
384385
- :MACSEC
386+
- :IF_MACSEC
385387
- !ruby/object:Api::Type::Array
386388
name: 'availableFeatures'
387389
description: |
@@ -390,9 +392,4 @@ properties:
390392
ports. If not present then the Interconnect connection is provisioned on non-MACsec capable
391393
ports and MACsec isn't supported and enabling MACsec fails).
392394
output: true
393-
item_type: !ruby/object:Api::Type::Enum
394-
name: 'availableFeatures'
395-
description: |
396-
interconnects.list of features available for this Interconnect connection,
397-
values:
398-
- :MACSEC
395+
item_type: Api::Type::String

0 commit comments

Comments
 (0)