Source code for azure.mgmt.hdinsight.models.script_action_execution_summary_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 ScriptActionExecutionSummary(Model): """The execution summary of a script action. Variables are only populated by the server, and will be ignored when sending a request. :ivar status: The status of script action execution. :vartype status: str :ivar instance_count: The instance count for a given script action execution status. :vartype instance_count: int """ _validation = { 'status': {'readonly': True}, 'instance_count': {'readonly': True}, } _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'instance_count': {'key': 'instanceCount', 'type': 'int'}, } def __init__(self, **kwargs) -> None: super(ScriptActionExecutionSummary, self).__init__(**kwargs) self.status = None self.instance_count = None