From e05c41d4d780302b4007bedaef30bbdfd21bc44c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 25 Apr 2018 22:16:20 +0000 Subject: [PATCH 1/2] Generated from 7db82899c4e1aed77138a8a4d2ebe1164120da2a Fixed syntax error --- .../azure/mgmt/automation/models/linux_properties.py | 7 ++++++- .../azure/mgmt/automation/models/windows_properties.py | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py b/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py index 0157b1d3bcd9..be1a50c6dd0d 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py @@ -23,14 +23,19 @@ class LinuxProperties(Model): :param excluded_package_name_masks: packages excluded from the software update configuration. :type excluded_package_name_masks: list[str] + :param reboot_setting: Reboot setting for the software update + configuration. + :type reboot_setting: str """ _attribute_map = { 'included_package_classifications': {'key': 'includedPackageClassifications', 'type': 'str'}, 'excluded_package_name_masks': {'key': 'excludedPackageNameMasks', 'type': '[str]'}, + 'reboot_setting': {'key': 'rebootSetting', 'type': 'str'}, } - def __init__(self, included_package_classifications=None, excluded_package_name_masks=None): + def __init__(self, included_package_classifications=None, excluded_package_name_masks=None, reboot_setting=None): super(LinuxProperties, self).__init__() self.included_package_classifications = included_package_classifications self.excluded_package_name_masks = excluded_package_name_masks + self.reboot_setting = reboot_setting diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py b/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py index 8c357abac2a7..015ccf45dfef 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py @@ -25,14 +25,19 @@ class WindowsProperties(Model): :param excluded_kb_numbers: KB numbers excluded from the software update configuration. :type excluded_kb_numbers: list[str] + :param reboot_setting: Reboot setting for the software update + configuration. + :type reboot_setting: str """ _attribute_map = { 'included_update_classifications': {'key': 'includedUpdateClassifications', 'type': 'str'}, 'excluded_kb_numbers': {'key': 'excludedKbNumbers', 'type': '[str]'}, + 'reboot_setting': {'key': 'rebootSetting', 'type': 'str'}, } - def __init__(self, included_update_classifications=None, excluded_kb_numbers=None): + def __init__(self, included_update_classifications=None, excluded_kb_numbers=None, reboot_setting=None): super(WindowsProperties, self).__init__() self.included_update_classifications = included_update_classifications self.excluded_kb_numbers = excluded_kb_numbers + self.reboot_setting = reboot_setting From 93166892b5b145a6ba7011a6cc3f8994bd934f93 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 26 Apr 2018 21:59:00 +0000 Subject: [PATCH 2/2] Generated from 74dc9b86975005a28a8bf6388df6b55524cae0e3 Merge branch 'master' into master --- .../azure/mgmt/automation/models/linux_properties.py | 7 ++++++- .../azure/mgmt/automation/models/windows_properties.py | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py b/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py index be1a50c6dd0d..18ede52d2df5 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/linux_properties.py @@ -23,6 +23,9 @@ class LinuxProperties(Model): :param excluded_package_name_masks: packages excluded from the software update configuration. :type excluded_package_name_masks: list[str] + :param included_package_name_masks: packages included from the software + update configuration. + :type included_package_name_masks: list[str] :param reboot_setting: Reboot setting for the software update configuration. :type reboot_setting: str @@ -31,11 +34,13 @@ class LinuxProperties(Model): _attribute_map = { 'included_package_classifications': {'key': 'includedPackageClassifications', 'type': 'str'}, 'excluded_package_name_masks': {'key': 'excludedPackageNameMasks', 'type': '[str]'}, + 'included_package_name_masks': {'key': 'includedPackageNameMasks', 'type': '[str]'}, 'reboot_setting': {'key': 'rebootSetting', 'type': 'str'}, } - def __init__(self, included_package_classifications=None, excluded_package_name_masks=None, reboot_setting=None): + def __init__(self, included_package_classifications=None, excluded_package_name_masks=None, included_package_name_masks=None, reboot_setting=None): super(LinuxProperties, self).__init__() self.included_package_classifications = included_package_classifications self.excluded_package_name_masks = excluded_package_name_masks + self.included_package_name_masks = included_package_name_masks self.reboot_setting = reboot_setting diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py b/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py index 015ccf45dfef..2537b2662692 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/windows_properties.py @@ -25,6 +25,9 @@ class WindowsProperties(Model): :param excluded_kb_numbers: KB numbers excluded from the software update configuration. :type excluded_kb_numbers: list[str] + :param included_kb_numbers: KB numbers included from the software update + configuration. + :type included_kb_numbers: list[str] :param reboot_setting: Reboot setting for the software update configuration. :type reboot_setting: str @@ -33,11 +36,13 @@ class WindowsProperties(Model): _attribute_map = { 'included_update_classifications': {'key': 'includedUpdateClassifications', 'type': 'str'}, 'excluded_kb_numbers': {'key': 'excludedKbNumbers', 'type': '[str]'}, + 'included_kb_numbers': {'key': 'includedKbNumbers', 'type': '[str]'}, 'reboot_setting': {'key': 'rebootSetting', 'type': 'str'}, } - def __init__(self, included_update_classifications=None, excluded_kb_numbers=None, reboot_setting=None): + def __init__(self, included_update_classifications=None, excluded_kb_numbers=None, included_kb_numbers=None, reboot_setting=None): super(WindowsProperties, self).__init__() self.included_update_classifications = included_update_classifications self.excluded_kb_numbers = excluded_kb_numbers + self.included_kb_numbers = included_kb_numbers self.reboot_setting = reboot_setting