Source code for azure.mgmt.automation.models.source_control_sync_job_py3

# 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


[docs]class SourceControlSyncJob(Model): """Definition of the source control sync job. Variables are only populated by the server, and will be ignored when sending a request. :ivar name: Resource name. :vartype name: str :ivar type: Resource type. :vartype type: str :ivar id: Resource id. :vartype id: str :param source_control_sync_job_id: The source control sync job id. :type source_control_sync_job_id: str :ivar creation_time: The creation time of the job. :vartype creation_time: datetime :param provisioning_state: The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' :type provisioning_state: str or ~azure.mgmt.automation.models.ProvisioningState :ivar start_time: The start time of the job. :vartype start_time: datetime :ivar end_time: The end time of the job. :vartype end_time: datetime :param sync_type: The sync type. Possible values include: 'PartialSync', 'FullSync' :type sync_type: str or ~azure.mgmt.automation.models.SyncType """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'id': {'readonly': True}, 'creation_time': {'readonly': True}, 'start_time': {'readonly': True}, 'end_time': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'source_control_sync_job_id': {'key': 'properties.sourceControlSyncJobId', 'type': 'str'}, 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, 'sync_type': {'key': 'properties.syncType', 'type': 'str'}, } def __init__(self, *, source_control_sync_job_id: str=None, provisioning_state=None, sync_type=None, **kwargs) -> None: super(SourceControlSyncJob, self).__init__(**kwargs) self.name = None self.type = None self.id = None self.source_control_sync_job_id = source_control_sync_job_id self.creation_time = None self.provisioning_state = provisioning_state self.start_time = None self.end_time = None self.sync_type = sync_type