Source code for azure.servicefabric.models.deactivation_intent_description_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 DeactivationIntentDescription(Model): """Describes the intent or reason for deactivating the node. :param deactivation_intent: Describes the intent or reason for deactivating the node. The possible values are following. Possible values include: 'Pause', 'Restart', 'RemoveData' :type deactivation_intent: str or ~azure.servicefabric.models.DeactivationIntent """ _attribute_map = { 'deactivation_intent': {'key': 'DeactivationIntent', 'type': 'str'}, } def __init__(self, *, deactivation_intent=None, **kwargs) -> None: super(DeactivationIntentDescription, self).__init__(**kwargs) self.deactivation_intent = deactivation_intent