Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .sub_resource import SubResource
class WorkflowTriggerHistory(SubResource):
"""The workflow trigger history.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The resource id.
:vartype id: str
:ivar start_time: Gets the start time.
:vartype start_time: datetime
:ivar end_time: Gets the end time.
:vartype end_time: datetime
:ivar status: Gets the status. Possible values include: 'NotSpecified',
'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended',
'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'
:vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus
:ivar code: Gets the code.
# 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 .sub_resource import SubResource
class WorkflowTrigger(SubResource):
"""The workflow trigger.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The resource id.
:vartype id: str
:ivar provisioning_state: Gets the provisioning state. Possible values
include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating',
'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded',
'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering',
'Unregistered', 'Completed'
:vartype provisioning_state: str or
~azure.mgmt.logic.models.WorkflowTriggerProvisioningState
:ivar created_time: Gets the created time.
:vartype created_time: datetime
def __init__(self, **kwargs):
super(SubResource, self).__init__(**kwargs)
self.id = None
# 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 .sub_resource import SubResource
class WorkflowRunAction(SubResource):
"""The workflow run action.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The resource id.
:vartype id: str
:ivar start_time: Gets the start time.
:vartype start_time: datetime
:ivar end_time: Gets the end time.
:vartype end_time: datetime
:ivar status: Gets the status. Possible values include: 'NotSpecified',
'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended',
'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'
:vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus
:ivar code: Gets the code.
# 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 .sub_resource import SubResource
class WorkflowRun(SubResource):
"""The workflow run.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The resource id.
:vartype id: str
:ivar wait_end_time: Gets the wait end time.
:vartype wait_end_time: datetime
:ivar start_time: Gets the start time.
:vartype start_time: datetime
:ivar end_time: Gets the end time.
:vartype end_time: datetime
:ivar status: Gets the status. Possible values include: 'NotSpecified',
'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended',
'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'