From a1430eec782c42f8aa1afa1904d779fa1f3c087e Mon Sep 17 00:00:00 2001 From: Fred-sun Date: Mon, 15 Apr 2024 16:36:11 +0800 Subject: [PATCH] Add managedNATGateway/userAssignedNATGateway to outbound_type property of the azure_rm_aks module --- plugins/modules/azure_rm_aks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/azure_rm_aks.py b/plugins/modules/azure_rm_aks.py index 0fb5095fe..146afe475 100644 --- a/plugins/modules/azure_rm_aks.py +++ b/plugins/modules/azure_rm_aks.py @@ -247,6 +247,8 @@ choices: - loadBalancer - userDefinedRouting + - managedNATGateway + - userAssignedNATGateway api_server_access_profile: description: - Profile of API Access configuration. @@ -810,7 +812,7 @@ def create_addon_profiles_spec(): dns_service_ip=dict(type='str'), docker_bridge_cidr=dict(type='str'), load_balancer_sku=dict(type='str', choices=['standard', 'basic']), - outbound_type=dict(type='str', default='loadBalancer', choices=['userDefinedRouting', 'loadBalancer']) + outbound_type=dict(type='str', default='loadBalancer', choices=['userDefinedRouting', 'loadBalancer', 'userAssignedNATGateway', 'managedNATGateway']) )