From 8402383406a611b3bb5ea78b4241afda41e75ab3 Mon Sep 17 00:00:00 2001 From: Justin Trantham <57366553+netgain-justin-trantham@users.noreply.github.com> Date: Wed, 6 Oct 2021 16:47:56 -0500 Subject: [PATCH 1/3] Update azure_rm_galleryimage.py Added Hyper V Generation --- plugins/modules/azure_rm_galleryimage.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugins/modules/azure_rm_galleryimage.py b/plugins/modules/azure_rm_galleryimage.py index 524cf0bf7..dd21dcf37 100644 --- a/plugins/modules/azure_rm_galleryimage.py +++ b/plugins/modules/azure_rm_galleryimage.py @@ -69,6 +69,12 @@ - specialized required: true type: str + hyperveneration: + description: + - This property allows you to specify the Hyper V Version of the Virtual Machines. + choices: + - V1 + - v2 end_of_life_date: description: - The end of life date of the gallery Image Definition. @@ -267,6 +273,12 @@ def __init__(self): choices=['generalized', 'specialized'] ), + hypervgeneration=dict( + type='str', + disposition='/properties/hyperVGeneration', + choices=['V1', + 'V2'] + ), end_of_life_date=dict( type='str', disposition='/properties/endOfLifeDate' From fa55df2624409d76255ae2f7dcc178584d651a9f Mon Sep 17 00:00:00 2001 From: xuzhang3 Date: Mon, 6 Dec 2021 16:37:12 +0800 Subject: [PATCH 2/3] fix typos and case issues --- plugins/modules/azure_rm_galleryimage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/azure_rm_galleryimage.py b/plugins/modules/azure_rm_galleryimage.py index dd21dcf37..ff684222f 100644 --- a/plugins/modules/azure_rm_galleryimage.py +++ b/plugins/modules/azure_rm_galleryimage.py @@ -69,12 +69,12 @@ - specialized required: true type: str - hyperveneration: + hypervgeneration: description: - This property allows you to specify the Hyper V Version of the Virtual Machines. choices: - V1 - - v2 + - V2 end_of_life_date: description: - The end of life date of the gallery Image Definition. From 7aa0806411f2d71f0f24a9c81630356cb4718f7a Mon Sep 17 00:00:00 2001 From: xuzhang3 Date: Tue, 4 Jan 2022 11:20:28 +0800 Subject: [PATCH 3/3] add type info --- plugins/modules/azure_rm_galleryimage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/azure_rm_galleryimage.py b/plugins/modules/azure_rm_galleryimage.py index ff684222f..a0335fa01 100644 --- a/plugins/modules/azure_rm_galleryimage.py +++ b/plugins/modules/azure_rm_galleryimage.py @@ -75,6 +75,7 @@ choices: - V1 - V2 + type: str end_of_life_date: description: - The end of life date of the gallery Image Definition.