From e306a4750ef3afb11c20ef04aea915e8c700cc91 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 | 20 +++++++++++++++++++ model/clusters_mgmt/v1/azure_type.model | 4 ++++ 2 files changed, 24 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..de2aa4f5 --- /dev/null +++ b/model/clusters_mgmt/v1/azure_nodes_outbound_connectivity_types.model @@ -0,0 +1,20 @@ +/* +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 String +} \ No newline at end of file diff --git a/model/clusters_mgmt/v1/azure_type.model b/model/clusters_mgmt/v1/azure_type.model index 2ec266db..28301231 100644 --- a/model/clusters_mgmt/v1/azure_type.model +++ b/model/clusters_mgmt/v1/azure_type.model @@ -101,4 +101,8 @@ 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. + NodesOutboundConnectivity AzureNodesOutboundConnectivity }