diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py b/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py index 72ee0e92e7cb..4b8ab4595cf0 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py @@ -52,6 +52,7 @@ from .job_schedule import JobSchedule from .job_schedule_create_parameters import JobScheduleCreateParameters from .linked_workspace import LinkedWorkspace +from .activity_parameter_validation_set import ActivityParameterValidationSet from .activity_parameter import ActivityParameter from .activity_parameter_set import ActivityParameterSet from .activity_output_type import ActivityOutputType @@ -234,6 +235,7 @@ 'JobSchedule', 'JobScheduleCreateParameters', 'LinkedWorkspace', + 'ActivityParameterValidationSet', 'ActivityParameter', 'ActivityParameterSet', 'ActivityOutputType', diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter.py b/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter.py index 5876fdf45c54..9f922dc31e52 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter.py @@ -46,6 +46,13 @@ class ActivityParameter(Model): of an array. false if the cmdlet parameter does not accept all the remaining argument values. :type value_from_remaining_arguments: bool + :param description: Gets or sets the description of the activity + parameter. + :type description: str + :param validation_set: Gets or sets the validation set of activity + parameter. + :type validation_set: + list[~azure.mgmt.automation.models.ActivityParameterValidationSet] """ _attribute_map = { @@ -57,9 +64,11 @@ class ActivityParameter(Model): 'value_from_pipeline': {'key': 'valueFromPipeline', 'type': 'bool'}, 'value_from_pipeline_by_property_name': {'key': 'valueFromPipelineByPropertyName', 'type': 'bool'}, 'value_from_remaining_arguments': {'key': 'valueFromRemainingArguments', 'type': 'bool'}, + 'description': {'key': 'description', 'type': 'str'}, + 'validation_set': {'key': 'validationSet', 'type': '[ActivityParameterValidationSet]'}, } - def __init__(self, name=None, type=None, is_mandatory=None, is_dynamic=None, position=None, value_from_pipeline=None, value_from_pipeline_by_property_name=None, value_from_remaining_arguments=None): + def __init__(self, name=None, type=None, is_mandatory=None, is_dynamic=None, position=None, value_from_pipeline=None, value_from_pipeline_by_property_name=None, value_from_remaining_arguments=None, description=None, validation_set=None): super(ActivityParameter, self).__init__() self.name = name self.type = type @@ -69,3 +78,5 @@ def __init__(self, name=None, type=None, is_mandatory=None, is_dynamic=None, pos self.value_from_pipeline = value_from_pipeline self.value_from_pipeline_by_property_name = value_from_pipeline_by_property_name self.value_from_remaining_arguments = value_from_remaining_arguments + self.description = description + self.validation_set = validation_set diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter_validation_set.py b/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter_validation_set.py new file mode 100644 index 000000000000..db42c0d72b60 --- /dev/null +++ b/azure-mgmt-automation/azure/mgmt/automation/models/activity_parameter_validation_set.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ActivityParameterValidationSet(Model): + """Definition of the activity parameter validation set. + + :param member_value: Gets or sets the name of the activity parameter + validation set member. + :type member_value: str + """ + + _attribute_map = { + 'member_value': {'key': 'memberValue', 'type': 'str'}, + } + + def __init__(self, member_value=None): + super(ActivityParameterValidationSet, self).__init__() + self.member_value = member_value diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/module.py b/azure-mgmt-automation/azure/mgmt/automation/models/module.py index 0db400c50919..8f0ac1b74636 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/module.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/module.py @@ -55,6 +55,8 @@ class Module(TrackedResource): :type last_modified_time: datetime :param description: Gets or sets the description. :type description: str + :param is_composite: Gets or sets type of module, if its composite or not. + :type is_composite: bool :param etag: Gets or sets the etag of the resource. :type etag: str """ @@ -81,10 +83,11 @@ class Module(TrackedResource): 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, 'description': {'key': 'properties.description', 'type': 'str'}, + 'is_composite': {'key': 'properties.isComposite', 'type': 'bool'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, tags=None, location=None, is_global=None, version=None, size_in_bytes=None, activity_count=None, provisioning_state=None, content_link=None, error=None, creation_time=None, last_modified_time=None, description=None, etag=None): + def __init__(self, tags=None, location=None, is_global=None, version=None, size_in_bytes=None, activity_count=None, provisioning_state=None, content_link=None, error=None, creation_time=None, last_modified_time=None, description=None, is_composite=None, etag=None): super(Module, self).__init__(tags=tags, location=location) self.is_global = is_global self.version = version @@ -96,4 +99,5 @@ def __init__(self, tags=None, location=None, is_global=None, version=None, size_ self.creation_time = creation_time self.last_modified_time = last_modified_time self.description = description + self.is_composite = is_composite self.etag = etag