Skip to content

feat: Generated new files to reflect changes for GRE cross zone and TGW list #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -237,10 +237,10 @@ public String action() {
/**
* Gets the prefix.
*
* The IPv4 Prefix to be matched by this filter. If both the 'le' and 'ge' are zero, then this filter will only apply
* to routes that exactly match this prefix, while a non-zero value for either 'le' or 'ge', this filter can apply to
* The IPv4 Prefix to be matched by this filter. If both the `le` and `ge` are zero, then this filter will only apply
* to routes that exactly match this prefix, while a non-zero value for either `le` or `ge`, this filter can apply to
* multiple routes with different prefix lengths, but will still only apply to prefixes contained in the address space
* defined by 'prefix'.
* defined by `prefix`.
*
* @return the prefix
*/
Expand Down Expand Up @@ -268,12 +268,12 @@ public String before() {
* Gets the ge.
*
* Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes
* within the 'prefix' that have a prefix length greater than or equal to this value.
* within the `prefix` that have a prefix length greater than or equal to this value.
*
* This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
* or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching
* behavior. If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
* 'le' value, inclusive.
* or less then or equal to 32. If this value is set to zero, the filter will not use the `ge` route matching
* behavior. If the `le` value is non-zero the the `ge` value must between the prefix length and the
* `le` value, inclusive.
*
* @return the ge
*/
Expand All @@ -285,11 +285,11 @@ public Long ge() {
* Gets the le.
*
* Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes
* within the 'prefix' that have a prefix length less than or equal to this value.
* within the `prefix` that have a prefix length less than or equal to this value.
*
* This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
* or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching
* behavior. If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
* or less then or equal to 32. If this value is set to zero, the filter will not use the `le` route matching
* behavior. If the `ge` value is non-zero the the `le` value must between the `ge` value and 32, inclusive.
*
* @return the le
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -332,7 +332,7 @@ public ZoneIdentity zone() {
* Gets the remoteBgpAsn.
*
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512-64513, 65100,
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If 'remote_bgp_asn' is omitted on create requests, IBM
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If `remote_bgp_asn` is omitted on create requests, IBM
* will assign an ASN.
*
* @return the remoteBgpAsn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand All @@ -21,6 +21,7 @@ public class CreateTransitGatewayOptions extends GenericModel {

protected String location;
protected String name;
protected Boolean allowGreTrafficAcrossZones;
protected Boolean global;
protected ResourceGroupIdentity resourceGroup;

Expand All @@ -30,6 +31,7 @@ public class CreateTransitGatewayOptions extends GenericModel {
public static class Builder {
private String location;
private String name;
private Boolean allowGreTrafficAcrossZones;
private Boolean global;
private ResourceGroupIdentity resourceGroup;

Expand All @@ -41,6 +43,7 @@ public static class Builder {
private Builder(CreateTransitGatewayOptions createTransitGatewayOptions) {
this.location = createTransitGatewayOptions.location;
this.name = createTransitGatewayOptions.name;
this.allowGreTrafficAcrossZones = createTransitGatewayOptions.allowGreTrafficAcrossZones;
this.global = createTransitGatewayOptions.global;
this.resourceGroup = createTransitGatewayOptions.resourceGroup;
}
Expand Down Expand Up @@ -93,6 +96,17 @@ public Builder name(String name) {
return this;
}

/**
* Set the allowGreTrafficAcrossZones.
*
* @param allowGreTrafficAcrossZones the allowGreTrafficAcrossZones
* @return the CreateTransitGatewayOptions builder
*/
public Builder allowGreTrafficAcrossZones(Boolean allowGreTrafficAcrossZones) {
this.allowGreTrafficAcrossZones = allowGreTrafficAcrossZones;
return this;
}

/**
* Set the global.
*
Expand Down Expand Up @@ -125,6 +139,7 @@ protected CreateTransitGatewayOptions(Builder builder) {
"name cannot be null");
location = builder.location;
name = builder.name;
allowGreTrafficAcrossZones = builder.allowGreTrafficAcrossZones;
global = builder.global;
resourceGroup = builder.resourceGroup;
}
Expand Down Expand Up @@ -152,14 +167,25 @@ public String location() {
/**
* Gets the name.
*
* Name Transit Gateway Services.
* A human readable name for the transit gateway.
*
* @return the name
*/
public String name() {
return name;
}

/**
* Gets the allowGreTrafficAcrossZones.
*
* Allow GRE traffic in this gateway to flow across zones.
*
* @return the allowGreTrafficAcrossZones
*/
public Boolean allowGreTrafficAcrossZones() {
return allowGreTrafficAcrossZones;
}

/**
* Gets the global.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Loading
Loading