From e4c67476383d7ae57f2bafe72a2bfbe602804568 Mon Sep 17 00:00:00 2001 From: Massimiliano Ziccardi Date: Thu, 12 Dec 2024 16:52:11 +0100 Subject: [PATCH] feat: ARO-11963 | add Add outbound type changes in OCM SDK Go --- ...re_nodes_outbound_connectivity_types.model | 23 +++++++++++++++++++ model/clusters_mgmt/v1/azure_type.model | 5 ++++ 2 files changed, 28 insertions(+) create mode 100644 model/clusters_mgmt/v1/azure_nodes_outbound_connectivity_types.model diff --git a/model/clusters_mgmt/v1/azure_nodes_outbound_connectivity_types.model b/model/clusters_mgmt/v1/azure_nodes_outbound_connectivity_types.model new file mode 100644 index 00000000..f4d147a0 --- /dev/null +++ b/model/clusters_mgmt/v1/azure_nodes_outbound_connectivity_types.model @@ -0,0 +1,23 @@ +/* +Copyright (c) 2024 Red Hat, Inc. + +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 + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// The configuration of the node outbound connectivity +struct AzureNodesOutboundConnectivity { + // OutboundType is the type of network outbound configuration. + // The default and only accepted value is 'load_balancer'. + // This value is immutable. + OutboundType String +} diff --git a/model/clusters_mgmt/v1/azure_type.model b/model/clusters_mgmt/v1/azure_type.model index 2ec266db..48360a9a 100644 --- a/model/clusters_mgmt/v1/azure_type.model +++ b/model/clusters_mgmt/v1/azure_type.model @@ -101,4 +101,9 @@ struct Azure { // Required during creation. // Immutable. OperatorsAuthentication AzureOperatorsAuthentication + + // NodesOutboundConnectivity defines how the network outbound + // configuration of the Cluster's Node Pool's Nodes is performed. + // By default this is configured as Azure Load Balancer. This value is immutable. + NodesOutboundConnectivity AzureNodesOutboundConnectivity }