diff --git a/azure-mgmt-automation/azure/mgmt/automation/automation_client.py b/azure-mgmt-automation/azure/mgmt/automation/automation_client.py index 4a18da92a74f..3bd8a2628a02 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/automation_client.py +++ b/azure-mgmt-automation/azure/mgmt/automation/automation_client.py @@ -22,6 +22,7 @@ from .operations.connection_type_operations import ConnectionTypeOperations from .operations.credential_operations import CredentialOperations from .operations.dsc_compilation_job_operations import DscCompilationJobOperations +from .operations.dsc_compilation_job_stream_operations import DscCompilationJobStreamOperations from .operations.dsc_configuration_operations import DscConfigurationOperations from .operations.agent_registration_information_operations import AgentRegistrationInformationOperations from .operations.dsc_node_operations import DscNodeOperations @@ -121,6 +122,8 @@ class AutomationClient(object): :vartype credential: azure.mgmt.automation.operations.CredentialOperations :ivar dsc_compilation_job: DscCompilationJob operations :vartype dsc_compilation_job: azure.mgmt.automation.operations.DscCompilationJobOperations + :ivar dsc_compilation_job_stream: DscCompilationJobStream operations + :vartype dsc_compilation_job_stream: azure.mgmt.automation.operations.DscCompilationJobStreamOperations :ivar dsc_configuration: DscConfiguration operations :vartype dsc_configuration: azure.mgmt.automation.operations.DscConfigurationOperations :ivar agent_registration_information: AgentRegistrationInformation operations @@ -216,6 +219,8 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.dsc_compilation_job = DscCompilationJobOperations( self._client, self.config, self._serialize, self._deserialize) + self.dsc_compilation_job_stream = DscCompilationJobStreamOperations( + self._client, self.config, self._serialize, self._deserialize) self.dsc_configuration = DscConfigurationOperations( self._client, self.config, self._serialize, self._deserialize) self.agent_registration_information = AgentRegistrationInformationOperations( diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py b/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py index 8f07551154df..fe7b7521a4a5 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/__init__.py @@ -20,9 +20,6 @@ from .runbook import Runbook from .module_error_info import ModuleErrorInfo from .module import Module -from .dsc_node_extension_handler_association_property import DscNodeExtensionHandlerAssociationProperty -from .dsc_node_configuration_association_property import DscNodeConfigurationAssociationProperty -from .dsc_node import DscNode from .content_source import ContentSource from .dsc_configuration_parameter import DscConfigurationParameter from .dsc_configuration import DscConfiguration @@ -57,9 +54,13 @@ from .agent_registration_regenerate_key_parameter import AgentRegistrationRegenerateKeyParameter from .dsc_configuration_association_property import DscConfigurationAssociationProperty from .dsc_compilation_job_create_parameters import DscCompilationJobCreateParameters +from .provisioning_state_property import ProvisioningStateProperty from .dsc_compilation_job import DscCompilationJob from .dsc_configuration_create_or_update_parameters import DscConfigurationCreateOrUpdateParameters from .dsc_meta_configuration import DscMetaConfiguration +from .dsc_node_configuration_association_property import DscNodeConfigurationAssociationProperty +from .dsc_node_extension_handler_association_property import DscNodeExtensionHandlerAssociationProperty +from .dsc_node import DscNode from .dsc_node_configuration_create_or_update_parameters import DscNodeConfigurationCreateOrUpdateParameters from .dsc_node_configuration import DscNodeConfiguration from .dsc_node_update_parameters import DscNodeUpdateParameters @@ -78,8 +79,10 @@ from .job_schedule_create_parameters import JobScheduleCreateParameters from .job_schedule import JobSchedule from .job_stream import JobStream +from .job_stream_list_result import JobStreamListResult from .module_create_or_update_parameters import ModuleCreateOrUpdateParameters from .module_update_parameters import ModuleUpdateParameters +from .proxy_resource import ProxyResource from .runbook_draft_undo_edit_result import RunbookDraftUndoEditResult from .runbook_create_or_update_parameters import RunbookCreateOrUpdateParameters from .runbook_create_or_update_draft_properties import RunbookCreateOrUpdateDraftProperties @@ -179,9 +182,6 @@ 'Runbook', 'ModuleErrorInfo', 'Module', - 'DscNodeExtensionHandlerAssociationProperty', - 'DscNodeConfigurationAssociationProperty', - 'DscNode', 'ContentSource', 'DscConfigurationParameter', 'DscConfiguration', @@ -216,9 +216,13 @@ 'AgentRegistrationRegenerateKeyParameter', 'DscConfigurationAssociationProperty', 'DscCompilationJobCreateParameters', + 'ProvisioningStateProperty', 'DscCompilationJob', 'DscConfigurationCreateOrUpdateParameters', 'DscMetaConfiguration', + 'DscNodeConfigurationAssociationProperty', + 'DscNodeExtensionHandlerAssociationProperty', + 'DscNode', 'DscNodeConfigurationCreateOrUpdateParameters', 'DscNodeConfiguration', 'DscNodeUpdateParameters', @@ -237,8 +241,10 @@ 'JobScheduleCreateParameters', 'JobSchedule', 'JobStream', + 'JobStreamListResult', 'ModuleCreateOrUpdateParameters', 'ModuleUpdateParameters', + 'ProxyResource', 'RunbookDraftUndoEditResult', 'RunbookCreateOrUpdateParameters', 'RunbookCreateOrUpdateDraftProperties', diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/agent_registration_regenerate_key_parameter.py b/azure-mgmt-automation/azure/mgmt/automation/models/agent_registration_regenerate_key_parameter.py index 1cfb914bac5e..0d52dbd74a7b 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/agent_registration_regenerate_key_parameter.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/agent_registration_regenerate_key_parameter.py @@ -15,8 +15,8 @@ class AgentRegistrationRegenerateKeyParameter(Model): """The parameters supplied to the regenerate keys operation. - :param key_name: Gets or sets the agent registration key name - Primary or - Secondary. Possible values include: 'Primary', 'Secondary' + :param key_name: Gets or sets the agent registration key name - primary or + secondary. Possible values include: 'primary', 'secondary' :type key_name: str or ~azure.mgmt.automation.models.AgentRegistrationKeyName :param name: Gets or sets the name of the resource. diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/automation_client_enums.py b/azure-mgmt-automation/azure/mgmt/automation/models/automation_client_enums.py index f6f43670331a..5a07b5870fc5 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/automation_client_enums.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/automation_client_enums.py @@ -98,8 +98,8 @@ class ScheduleDay(Enum): class AgentRegistrationKeyName(Enum): - primary = "Primary" - secondary = "Secondary" + primary = "primary" + secondary = "secondary" class JobStatus(Enum): diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_compilation_job.py b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_compilation_job.py index 091f3a5f8fe3..2fb8659b176e 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_compilation_job.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_compilation_job.py @@ -9,17 +9,21 @@ # regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model +from .proxy_resource import ProxyResource -class DscCompilationJob(Model): +class DscCompilationJob(ProxyResource): """Definition of the Dsc Compilation job. Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Gets the id of the resource. + :ivar id: Resource Id :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str :param configuration: Gets or sets the configuration. :type configuration: ~azure.mgmt.automation.models.DscConfigurationAssociationProperty @@ -29,6 +33,12 @@ class DscCompilationJob(Model): :vartype job_id: str :ivar creation_time: Gets the creation time of the job. :vartype creation_time: datetime + :param provisioning_state: The current provisioning state of the job. + :type provisioning_state: + ~azure.mgmt.automation.models.ProvisioningStateProperty + :param run_on: Gets or sets the runOn which specifies the group name where + the job is to be executed. + :type run_on: str :param status: Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', @@ -53,6 +63,8 @@ class DscCompilationJob(Model): _validation = { 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'started_by': {'readonly': True}, 'job_id': {'readonly': True}, 'creation_time': {'readonly': True}, @@ -65,10 +77,14 @@ class DscCompilationJob(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'configuration': {'key': 'properties.configuration', 'type': 'DscConfigurationAssociationProperty'}, 'started_by': {'key': 'properties.startedBy', 'type': 'str'}, 'job_id': {'key': 'properties.jobId', 'type': 'str'}, 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningStateProperty'}, + 'run_on': {'key': 'properties.runOn', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'status_details': {'key': 'properties.statusDetails', 'type': 'str'}, 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, @@ -79,13 +95,14 @@ class DscCompilationJob(Model): 'parameters': {'key': 'properties.parameters', 'type': '{str}'}, } - def __init__(self, configuration=None, status=None, status_details=None, parameters=None): + def __init__(self, configuration=None, provisioning_state=None, run_on=None, status=None, status_details=None, parameters=None): super(DscCompilationJob, self).__init__() - self.id = None self.configuration = configuration self.started_by = None self.job_id = None self.creation_time = None + self.provisioning_state = provisioning_state + self.run_on = run_on self.status = status self.status_details = status_details self.start_time = None diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node.py b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node.py index 6a954b75aca4..a44fdc496cc9 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node.py @@ -9,10 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- -from .resource import Resource +from .proxy_resource import ProxyResource -class DscNode(Resource): +class DscNode(ProxyResource): """Definition of the dsc node type. Variables are only populated by the server, and will be ignored when @@ -24,10 +24,6 @@ class DscNode(Resource): :vartype name: str :ivar type: Resource type :vartype type: str - :param location: Resource location - :type location: str - :param tags: Resource tags - :type tags: dict[str, str] :param last_seen: Gets or sets the last seen time of the node. :type last_seen: datetime :param registration_time: Gets or sets the registration time of the node. @@ -55,15 +51,12 @@ class DscNode(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, 'last_seen': {'key': 'lastSeen', 'type': 'iso-8601'}, 'registration_time': {'key': 'registrationTime', 'type': 'iso-8601'}, 'ip': {'key': 'ip', 'type': 'str'}, @@ -75,8 +68,8 @@ class DscNode(Resource): 'extension_handler': {'key': 'extensionHandler', 'type': '[DscNodeExtensionHandlerAssociationProperty]'}, } - def __init__(self, location, tags=None, last_seen=None, registration_time=None, ip=None, account_id=None, node_configuration=None, status=None, node_id=None, etag=None, extension_handler=None): - super(DscNode, self).__init__(location=location, tags=tags) + def __init__(self, last_seen=None, registration_time=None, ip=None, account_id=None, node_configuration=None, status=None, node_id=None, etag=None, extension_handler=None): + super(DscNode, self).__init__() self.last_seen = last_seen self.registration_time = registration_time self.ip = ip diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node_configuration.py b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node_configuration.py index 88db191fcf6d..abdf59cb8a9a 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node_configuration.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/dsc_node_configuration.py @@ -9,14 +9,21 @@ # regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model +from .proxy_resource import ProxyResource -class DscNodeConfiguration(Model): +class DscNodeConfiguration(ProxyResource): """Definition of the dsc node configuration. - :param name: Gets or sets the node configuration name. - :type name: str + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str :param last_modified_time: Gets or sets the last modified time. :type last_modified_time: datetime :param creation_time: Gets or sets creation time. @@ -24,22 +31,25 @@ class DscNodeConfiguration(Model): :param configuration: Gets or sets the configuration of the node. :type configuration: ~azure.mgmt.automation.models.DscConfigurationAssociationProperty - :param id: Gets or sets the id of the resource. - :type id: str """ + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, 'creation_time': {'key': 'creationTime', 'type': 'iso-8601'}, 'configuration': {'key': 'configuration', 'type': 'DscConfigurationAssociationProperty'}, - 'id': {'key': 'id', 'type': 'str'}, } - def __init__(self, name=None, last_modified_time=None, creation_time=None, configuration=None, id=None): + def __init__(self, last_modified_time=None, creation_time=None, configuration=None): super(DscNodeConfiguration, self).__init__() - self.name = name self.last_modified_time = last_modified_time self.creation_time = creation_time self.configuration = configuration - self.id = id diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/job_stream_list_result.py b/azure-mgmt-automation/azure/mgmt/automation/models/job_stream_list_result.py new file mode 100644 index 000000000000..ea120260915f --- /dev/null +++ b/azure-mgmt-automation/azure/mgmt/automation/models/job_stream_list_result.py @@ -0,0 +1,32 @@ +# 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 JobStreamListResult(Model): + """The response model for the list job stream operation. + + :param value: A list of job streams. + :type value: list[~azure.mgmt.automation.models.JobStream] + :param next_link: Gets or sets the next link. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[JobStream]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None, next_link=None): + super(JobStreamListResult, self).__init__() + self.value = value + self.next_link = next_link diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/provisioning_state_property.py b/azure-mgmt-automation/azure/mgmt/automation/models/provisioning_state_property.py new file mode 100644 index 000000000000..6f747c4a3649 --- /dev/null +++ b/azure-mgmt-automation/azure/mgmt/automation/models/provisioning_state_property.py @@ -0,0 +1,35 @@ +# 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 ProvisioningStateProperty(Model): + """The provisioning state property. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar provisioning_state: The provisioning state of the resource. + :vartype provisioning_state: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__(self): + super(ProvisioningStateProperty, self).__init__() + self.provisioning_state = None diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/proxy_resource.py b/azure-mgmt-automation/azure/mgmt/automation/models/proxy_resource.py new file mode 100644 index 000000000000..74aae2dcfdd7 --- /dev/null +++ b/azure-mgmt-automation/azure/mgmt/automation/models/proxy_resource.py @@ -0,0 +1,45 @@ +# 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 ProxyResource(Model): + """The Resource definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self): + super(ProxyResource, self).__init__() + self.id = None + self.name = None + self.type = None diff --git a/azure-mgmt-automation/azure/mgmt/automation/models/webhook.py b/azure-mgmt-automation/azure/mgmt/automation/models/webhook.py index de6e7e5ea78d..dd6acce1d8b7 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/models/webhook.py +++ b/azure-mgmt-automation/azure/mgmt/automation/models/webhook.py @@ -15,10 +15,15 @@ class Webhook(Model): """Definition of the webhook type. - :param id: Gets or sets the id of the resource. - :type id: str - :param name: Gets or sets the name of the webhook. - :type name: str + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Gets the id of the resource. + :vartype id: str + :ivar name: Gets the name of the webhook. + :vartype name: str + :ivar type: Gets the type of the resource. + :vartype type: str :param is_enabled: Gets or sets the value of the enabled flag of the webhook. Default value: False . :type is_enabled: bool @@ -44,9 +49,16 @@ class Webhook(Model): :type description: str """ + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'is_enabled': {'key': 'properties.isEnabled', 'type': 'bool'}, 'uri': {'key': 'properties.uri', 'type': 'str'}, 'expiry_time': {'key': 'properties.expiryTime', 'type': 'iso-8601'}, @@ -59,10 +71,11 @@ class Webhook(Model): 'description': {'key': 'properties.description', 'type': 'str'}, } - def __init__(self, id=None, name=None, is_enabled=False, uri=None, expiry_time=None, last_invoked_time=None, parameters=None, runbook=None, run_on=None, creation_time=None, last_modified_time=None, description=None): + def __init__(self, is_enabled=False, uri=None, expiry_time=None, last_invoked_time=None, parameters=None, runbook=None, run_on=None, creation_time=None, last_modified_time=None, description=None): super(Webhook, self).__init__() - self.id = id - self.name = name + self.id = None + self.name = None + self.type = None self.is_enabled = is_enabled self.uri = uri self.expiry_time = expiry_time diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/__init__.py b/azure-mgmt-automation/azure/mgmt/automation/operations/__init__.py index 915e99f7c5ba..3255b5163032 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/__init__.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/__init__.py @@ -18,6 +18,7 @@ from .connection_type_operations import ConnectionTypeOperations from .credential_operations import CredentialOperations from .dsc_compilation_job_operations import DscCompilationJobOperations +from .dsc_compilation_job_stream_operations import DscCompilationJobStreamOperations from .dsc_configuration_operations import DscConfigurationOperations from .agent_registration_information_operations import AgentRegistrationInformationOperations from .dsc_node_operations import DscNodeOperations @@ -54,6 +55,7 @@ 'ConnectionTypeOperations', 'CredentialOperations', 'DscCompilationJobOperations', + 'DscCompilationJobStreamOperations', 'DscConfigurationOperations', 'AgentRegistrationInformationOperations', 'DscNodeOperations', diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/activity_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/activity_operations.py index cc4920cb2e26..9cc4f6c89b08 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/activity_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/activity_operations.py @@ -21,7 +21,7 @@ class ActivityOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/agent_registration_information_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/agent_registration_information_operations.py index 05b0ab93cd07..8c595a76dace 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/agent_registration_information_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/agent_registration_information_operations.py @@ -21,7 +21,7 @@ class AgentRegistrationInformationOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/automation_account_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/automation_account_operations.py index 6f4fe3f6540f..0dc8a3315444 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/automation_account_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/automation_account_operations.py @@ -21,7 +21,7 @@ class AutomationAccountOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/certificate_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/certificate_operations.py index df2eefbdd5d8..e4bae4551e41 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/certificate_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/certificate_operations.py @@ -21,7 +21,7 @@ class CertificateOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/connection_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/connection_operations.py index b8ea0060f823..d9f9828ff0b3 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/connection_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/connection_operations.py @@ -21,7 +21,7 @@ class ConnectionOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/connection_type_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/connection_type_operations.py index 4022075642ec..1a363ec77d52 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/connection_type_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/connection_type_operations.py @@ -21,7 +21,7 @@ class ConnectionTypeOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/credential_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/credential_operations.py index 8349fc84f689..529818d10e93 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/credential_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/credential_operations.py @@ -22,7 +22,7 @@ class CredentialOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_operations.py index a8ece65d2650..05a5ec3cdbec 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_operations.py @@ -21,7 +21,7 @@ class DscCompilationJobOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_stream_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_stream_operations.py new file mode 100644 index 000000000000..d16fd28c98ea --- /dev/null +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_compilation_job_stream_operations.py @@ -0,0 +1,98 @@ +# 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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class DscCompilationJobStreamOperations(object): + """DscCompilationJobStreamOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client Api Version. Constant value: "2015-10-31". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2015-10-31" + + self.config = config + + def list_by_job( + self, automation_account_name, job_id, custom_headers=None, raw=False, **operation_config): + """Retrieve all the job streams for the compilation Job. + + :param automation_account_name: The automation account name. + :type automation_account_name: str + :param job_id: The job id. + :type job_id: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: JobStreamListResult or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.automation.models.JobStreamListResult or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("self.config.resource_group_name", self.config.resource_group_name, 'str', pattern=r'^[-\w\._]+$'), + 'automationAccountName': self._serialize.url("automation_account_name", automation_account_name, 'str'), + 'jobId': self._serialize.url("job_id", job_id, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('JobStreamListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_configuration_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_configuration_operations.py index 79d7c7a0acb3..0835e3c828f2 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_configuration_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_configuration_operations.py @@ -21,7 +21,7 @@ class DscConfigurationOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ @@ -222,7 +222,7 @@ def create_or_update( return deserialized def get_content( - self, automation_account_name, configuration_name, custom_headers=None, raw=False, callback=None, **operation_config): + self, automation_account_name, configuration_name, custom_headers=None, raw=False, **operation_config): """Retrieve the configuration script identified by configuration name. :param automation_account_name: The automation account name. @@ -232,15 +232,10 @@ def get_content( :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response - :param callback: When specified, will be called with each chunk of - data that is streamed. The callback should take two arguments, the - bytes of the current chunk of data and the response object. If the - data is uploading, response will be None. - :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides`. - :return: object or ClientRawResponse if raw=true - :rtype: Generator or ~msrest.pipeline.ClientRawResponse + :return: str or ClientRawResponse if raw=true + :rtype: str or ~msrest.pipeline.ClientRawResponse :raises: :class:`ErrorResponseException` """ @@ -270,7 +265,7 @@ def get_content( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=True, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) @@ -278,7 +273,7 @@ def get_content( deserialized = None if response.status_code == 200: - deserialized = self._client.stream_download(response, callback) + deserialized = self._deserialize('str', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_configuration_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_configuration_operations.py index 4785e67f3f62..76c1080f939c 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_configuration_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_configuration_operations.py @@ -21,7 +21,7 @@ class DscNodeConfigurationOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ @@ -205,15 +205,13 @@ def create_or_update( response = self._client.send( request, header_parameters, body_content, stream=False, **operation_config) - if response.status_code not in [200, 201]: + if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('DscNodeConfiguration', response) - if response.status_code == 201: - deserialized = self._deserialize('DscNodeConfiguration', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_operations.py index b0f92ef785d2..9cf7b100b071 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/dsc_node_operations.py @@ -21,7 +21,7 @@ class DscNodeOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/fields_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/fields_operations.py index b2a1b4d1777c..ca9ef2a165e7 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/fields_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/fields_operations.py @@ -21,7 +21,7 @@ class FieldsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/hybrid_runbook_worker_group_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/hybrid_runbook_worker_group_operations.py index 763df34d0ede..b59bb3612f61 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/hybrid_runbook_worker_group_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/hybrid_runbook_worker_group_operations.py @@ -21,7 +21,7 @@ class HybridRunbookWorkerGroupOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/job_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/job_operations.py index 46366634de75..aea654ca87dc 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/job_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/job_operations.py @@ -21,7 +21,7 @@ class JobOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/job_schedule_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/job_schedule_operations.py index 00fb7a158faf..4a1be6fc2940 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/job_schedule_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/job_schedule_operations.py @@ -21,7 +21,7 @@ class JobScheduleOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/job_stream_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/job_stream_operations.py index e4c612c5c9ec..08c3b111bbc5 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/job_stream_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/job_stream_operations.py @@ -21,7 +21,7 @@ class JobStreamOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/module_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/module_operations.py index a70eb593f1c5..ffa2976ecc0c 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/module_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/module_operations.py @@ -21,7 +21,7 @@ class ModuleOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/node_reports_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/node_reports_operations.py index 62ff71156f9b..800e495a6c80 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/node_reports_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/node_reports_operations.py @@ -21,7 +21,7 @@ class NodeReportsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ @@ -175,7 +175,7 @@ def get( return deserialized def get_content( - self, automation_account_name, node_id, report_id, custom_headers=None, raw=False, callback=None, **operation_config): + self, automation_account_name, node_id, report_id, custom_headers=None, raw=False, **operation_config): """Retrieve the Dsc node reports by node id and report id. :param automation_account_name: The automation account name. @@ -187,15 +187,10 @@ def get_content( :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response - :param callback: When specified, will be called with each chunk of - data that is streamed. The callback should take two arguments, the - bytes of the current chunk of data and the response object. If the - data is uploading, response will be None. - :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides`. :return: object or ClientRawResponse if raw=true - :rtype: Generator or ~msrest.pipeline.ClientRawResponse + :rtype: object or ~msrest.pipeline.ClientRawResponse :raises: :class:`ErrorResponseException` """ @@ -226,7 +221,7 @@ def get_content( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, stream=True, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) @@ -234,7 +229,7 @@ def get_content( deserialized = None if response.status_code == 200: - deserialized = self._client.stream_download(response, callback) + deserialized = self._deserialize('object', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/object_data_types_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/object_data_types_operations.py index 96409bc077de..3591bc66153b 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/object_data_types_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/object_data_types_operations.py @@ -21,7 +21,7 @@ class ObjectDataTypesOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/operations.py index d69c21812a40..999de4a3e5d4 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/operations.py @@ -21,7 +21,7 @@ class Operations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py index 413c1cb8b35b..fd13e37a1a42 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_draft_operations.py @@ -23,7 +23,7 @@ class RunbookDraftOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py index 8b2a10292eee..85bae54159a8 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/runbook_operations.py @@ -21,7 +21,7 @@ class RunbookOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/schedule_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/schedule_operations.py index b6548defcee0..56c46fc330a9 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/schedule_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/schedule_operations.py @@ -21,7 +21,7 @@ class ScheduleOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_machine_runs_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_machine_runs_operations.py index 51785bbba134..8bbade528da6 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_machine_runs_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_machine_runs_operations.py @@ -22,7 +22,7 @@ class SoftwareUpdateConfigurationMachineRunsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2017-05-15-preview". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_runs_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_runs_operations.py index 7b13907cce60..56a61f15e0ff 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_runs_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configuration_runs_operations.py @@ -22,7 +22,7 @@ class SoftwareUpdateConfigurationRunsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2017-05-15-preview". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configurations_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configurations_operations.py index a75ae849e542..0aeb2303e0a1 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configurations_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/software_update_configurations_operations.py @@ -22,7 +22,7 @@ class SoftwareUpdateConfigurationsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2017-05-15-preview". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_operations.py index 4f3d5773c036..b104c064b5b3 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_operations.py @@ -21,7 +21,7 @@ class SourceControlOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2017-05-15-preview". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_sync_job_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_sync_job_operations.py index 3c6e62d68c2d..b347c43e0c12 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_sync_job_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/source_control_sync_job_operations.py @@ -21,7 +21,7 @@ class SourceControlSyncJobOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2017-05-15-preview". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/statistics_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/statistics_operations.py index 988efd3334f2..81094dc051ae 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/statistics_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/statistics_operations.py @@ -21,7 +21,7 @@ class StatisticsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/test_job_streams_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/test_job_streams_operations.py index c6c8b73898bc..47d89ac9a88f 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/test_job_streams_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/test_job_streams_operations.py @@ -21,7 +21,7 @@ class TestJobStreamsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/test_jobs_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/test_jobs_operations.py index ab88a50f25b3..f894dc21ba89 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/test_jobs_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/test_jobs_operations.py @@ -21,7 +21,7 @@ class TestJobsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/usages_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/usages_operations.py index a7d769eb53e1..983ce8d83099 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/usages_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/usages_operations.py @@ -21,7 +21,7 @@ class UsagesOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/variable_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/variable_operations.py index e9f56ce4c8b9..57a69dc3e995 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/variable_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/variable_operations.py @@ -21,7 +21,7 @@ class VariableOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/operations/webhook_operations.py b/azure-mgmt-automation/azure/mgmt/automation/operations/webhook_operations.py index 5c6420925bd7..40aa05ee1af7 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/operations/webhook_operations.py +++ b/azure-mgmt-automation/azure/mgmt/automation/operations/webhook_operations.py @@ -21,7 +21,7 @@ class WebhookOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Client Api Version. Constant value: "2015-10-31". """ diff --git a/azure-mgmt-automation/azure/mgmt/automation/version.py b/azure-mgmt-automation/azure/mgmt/automation/version.py index e0ec669828cb..53a203f32aaf 100644 --- a/azure-mgmt-automation/azure/mgmt/automation/version.py +++ b/azure-mgmt-automation/azure/mgmt/automation/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" +VERSION = ""