Source code for azure.servicefabric.models.application_type_info_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 ApplicationTypeInfo(Model): """Information about an application type. :param name: The application type name as defined in the application manifest. :type name: str :param version: The version of the application type as defined in the application manifest. :type version: str :param default_parameter_list: List of application type parameters that can be overridden when creating or updating the application. :type default_parameter_list: list[~azure.servicefabric.models.ApplicationParameter] :param status: The status of the application type. Possible values include: 'Invalid', 'Provisioning', 'Available', 'Unprovisioning', 'Failed' :type status: str or ~azure.servicefabric.models.ApplicationTypeStatus :param status_details: Additional detailed information about the status of the application type. :type status_details: str :param application_type_definition_kind: The mechanism used to define a Service Fabric application type. Possible values include: 'Invalid', 'ServiceFabricApplicationPackage', 'Compose' :type application_type_definition_kind: str or ~azure.servicefabric.models.ApplicationTypeDefinitionKind """ _attribute_map = { 'name': {'key': 'Name', 'type': 'str'}, 'version': {'key': 'Version', 'type': 'str'}, 'default_parameter_list': {'key': 'DefaultParameterList', 'type': '[ApplicationParameter]'}, 'status': {'key': 'Status', 'type': 'str'}, 'status_details': {'key': 'StatusDetails', 'type': 'str'}, 'application_type_definition_kind': {'key': 'ApplicationTypeDefinitionKind', 'type': 'str'}, } def __init__(self, *, name: str=None, version: str=None, default_parameter_list=None, status=None, status_details: str=None, application_type_definition_kind=None, **kwargs) -> None: super(ApplicationTypeInfo, self).__init__(**kwargs) self.name = name self.version = version self.default_parameter_list = default_parameter_list self.status = status self.status_details = status_details self.application_type_definition_kind = application_type_definition_kind