Skip to content

Commit aaa0b2c

Browse files
committed
feat: Generated new files to reflect changes for GRE cross zone and TGW list
dependency: none Signed-off-by: jkalanda <[email protected]>
1 parent 1b3144e commit aaa0b2c

File tree

141 files changed

+1820
-522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+1820
-522
lines changed

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/TransitGatewayApis.java

Lines changed: 56 additions & 51 deletions
Large diffs are not rendered by default.

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/ConnectionsPager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionActionsOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionOptions.java

Lines changed: 96 additions & 57 deletions
Large diffs are not rendered by default.

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionPrefixFilterOptions.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -237,10 +237,10 @@ public String action() {
237237
/**
238238
* Gets the prefix.
239239
*
240-
* The IPv4 Prefix to be matched by this filter. If both the 'le' and 'ge' are zero, then this filter will only apply
241-
* to routes that exactly match this prefix, while a non-zero value for either 'le' or 'ge', this filter can apply to
240+
* The IPv4 Prefix to be matched by this filter. If both the `le` and `ge` are zero, then this filter will only apply
241+
* to routes that exactly match this prefix, while a non-zero value for either `le` or `ge`, this filter can apply to
242242
* multiple routes with different prefix lengths, but will still only apply to prefixes contained in the address space
243-
* defined by 'prefix'.
243+
* defined by `prefix`.
244244
*
245245
* @return the prefix
246246
*/
@@ -268,12 +268,12 @@ public String before() {
268268
* Gets the ge.
269269
*
270270
* Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes
271-
* within the 'prefix' that have a prefix length greater than or equal to this value.
271+
* within the `prefix` that have a prefix length greater than or equal to this value.
272272
*
273273
* This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
274-
* or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching
275-
* behavior. If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
276-
* 'le' value, inclusive.
274+
* or less then or equal to 32. If this value is set to zero, the filter will not use the `ge` route matching
275+
* behavior. If the `le` value is non-zero the the `ge` value must between the prefix length and the
276+
* `le` value, inclusive.
277277
*
278278
* @return the ge
279279
*/
@@ -285,11 +285,11 @@ public Long ge() {
285285
* Gets the le.
286286
*
287287
* Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes
288-
* within the 'prefix' that have a prefix length less than or equal to this value.
288+
* within the `prefix` that have a prefix length less than or equal to this value.
289289
*
290290
* This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
291-
* or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching
292-
* behavior. If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
291+
* or less then or equal to 32. If this value is set to zero, the filter will not use the `le` route matching
292+
* behavior. If the `ge` value is non-zero the the `le` value must between the `ge` value and 32, inclusive.
293293
*
294294
* @return the le
295295
*/

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayGreTunnelOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -332,7 +332,7 @@ public ZoneIdentity zone() {
332332
* Gets the remoteBgpAsn.
333333
*
334334
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512-64513, 65100,
335-
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If 'remote_bgp_asn' is omitted on create requests, IBM
335+
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If `remote_bgp_asn` is omitted on create requests, IBM
336336
* will assign an ASN.
337337
*
338338
* @return the remoteBgpAsn

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayOptions.java

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -21,6 +21,7 @@ public class CreateTransitGatewayOptions extends GenericModel {
2121

2222
protected String location;
2323
protected String name;
24+
protected Boolean allowGreTrafficAcrossZones;
2425
protected Boolean global;
2526
protected ResourceGroupIdentity resourceGroup;
2627

@@ -30,6 +31,7 @@ public class CreateTransitGatewayOptions extends GenericModel {
3031
public static class Builder {
3132
private String location;
3233
private String name;
34+
private Boolean allowGreTrafficAcrossZones;
3335
private Boolean global;
3436
private ResourceGroupIdentity resourceGroup;
3537

@@ -41,6 +43,7 @@ public static class Builder {
4143
private Builder(CreateTransitGatewayOptions createTransitGatewayOptions) {
4244
this.location = createTransitGatewayOptions.location;
4345
this.name = createTransitGatewayOptions.name;
46+
this.allowGreTrafficAcrossZones = createTransitGatewayOptions.allowGreTrafficAcrossZones;
4447
this.global = createTransitGatewayOptions.global;
4548
this.resourceGroup = createTransitGatewayOptions.resourceGroup;
4649
}
@@ -93,6 +96,17 @@ public Builder name(String name) {
9396
return this;
9497
}
9598

99+
/**
100+
* Set the allowGreTrafficAcrossZones.
101+
*
102+
* @param allowGreTrafficAcrossZones the allowGreTrafficAcrossZones
103+
* @return the CreateTransitGatewayOptions builder
104+
*/
105+
public Builder allowGreTrafficAcrossZones(Boolean allowGreTrafficAcrossZones) {
106+
this.allowGreTrafficAcrossZones = allowGreTrafficAcrossZones;
107+
return this;
108+
}
109+
96110
/**
97111
* Set the global.
98112
*
@@ -125,6 +139,7 @@ protected CreateTransitGatewayOptions(Builder builder) {
125139
"name cannot be null");
126140
location = builder.location;
127141
name = builder.name;
142+
allowGreTrafficAcrossZones = builder.allowGreTrafficAcrossZones;
128143
global = builder.global;
129144
resourceGroup = builder.resourceGroup;
130145
}
@@ -152,14 +167,25 @@ public String location() {
152167
/**
153168
* Gets the name.
154169
*
155-
* Name Transit Gateway Services.
170+
* A human readable name for the transit gateway.
156171
*
157172
* @return the name
158173
*/
159174
public String name() {
160175
return name;
161176
}
162177

178+
/**
179+
* Gets the allowGreTrafficAcrossZones.
180+
*
181+
* Allow GRE traffic in this gateway to flow across zones.
182+
*
183+
* @return the allowGreTrafficAcrossZones
184+
*/
185+
public Boolean allowGreTrafficAcrossZones() {
186+
return allowGreTrafficAcrossZones;
187+
}
188+
163189
/**
164190
* Gets the global.
165191
*

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayRouteReportOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/DeleteTransitGatewayConnectionOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/DeleteTransitGatewayConnectionPrefixFilterOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2024.
2+
* (C) Copyright IBM Corp. 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

0 commit comments

Comments
 (0)