Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class Run(ProxyResource):
:param custom_registries: The list of custom registries that were logged
in during this run.
:type custom_registries: list[str]
:ivar run_error_message: The error message received from backend systems
after the run is scheduled.
:vartype run_error_message: str
:param provisioning_state: The provisioning state of a run. Possible
values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
'Canceled'
Expand All @@ -83,6 +86,7 @@ class Run(ProxyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'run_error_message': {'readonly': True},
}

_attribute_map = {
Expand All @@ -104,6 +108,7 @@ class Run(ProxyResource):
'agent_configuration': {'key': 'properties.agentConfiguration', 'type': 'AgentProperties'},
'source_registry_auth': {'key': 'properties.sourceRegistryAuth', 'type': 'str'},
'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'},
'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'},
}
Expand All @@ -125,5 +130,6 @@ def __init__(self, **kwargs):
self.agent_configuration = kwargs.get('agent_configuration', None)
self.source_registry_auth = kwargs.get('source_registry_auth', None)
self.custom_registries = kwargs.get('custom_registries', None)
self.run_error_message = None
self.provisioning_state = kwargs.get('provisioning_state', None)
self.is_archive_enabled = kwargs.get('is_archive_enabled', False)
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class Run(ProxyResource):
:param custom_registries: The list of custom registries that were logged
in during this run.
:type custom_registries: list[str]
:ivar run_error_message: The error message received from backend systems
after the run is scheduled.
:vartype run_error_message: str
:param provisioning_state: The provisioning state of a run. Possible
values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
'Canceled'
Expand All @@ -83,6 +86,7 @@ class Run(ProxyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'run_error_message': {'readonly': True},
}

_attribute_map = {
Expand All @@ -104,6 +108,7 @@ class Run(ProxyResource):
'agent_configuration': {'key': 'properties.agentConfiguration', 'type': 'AgentProperties'},
'source_registry_auth': {'key': 'properties.sourceRegistryAuth', 'type': 'str'},
'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'},
'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'},
}
Expand All @@ -125,5 +130,6 @@ def __init__(self, *, run_id: str=None, status=None, last_updated_time=None, run
self.agent_configuration = agent_configuration
self.source_registry_auth = source_registry_auth
self.custom_registries = custom_registries
self.run_error_message = None
self.provisioning_state = provisioning_state
self.is_archive_enabled = is_archive_enabled