class Azure::ServiceFabric::V6_5_0_36::Models::ApplicationInfo

Information about a Service Fabric application.

Attributes

application_definition_kind[RW]

@return [ApplicationDefinitionKind] The mechanism used to define a Service Fabric application. Possible values include: 'Invalid', 'ServiceFabricApplicationDescription', 'Compose'

health_state[RW]

@return [HealthState] The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

id[RW]

@return [String] The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource. Starting in version 6.0, hierarchical names are delimited with the “~” character. For example, if the application name is “fabric:/myapp/app1”, the application identity would be “myapp~app1” in 6.0+ and “myapp/app1” in previous versions.

name[RW]

@return [String] The name of the application, including the 'fabric:' URI scheme.

parameters[RW]

@return [Array<ApplicationParameter>] List of application parameters with overridden values from their default values specified in the application manifest.

status[RW]

@return [ApplicationStatus] The status of the application. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'

type_name[RW]

@return [String] The application type name as defined in the application manifest.

type_version[RW]

@return [String] The version of the application type as defined in the application manifest.

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.5.0.36/generated/azure_service_fabric/models/application_info.rb, line 62
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInfo',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInfo',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TypeName',
          type: {
            name: 'String'
          }
        },
        type_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TypeVersion',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Status',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Parameters',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationParameter'
                }
            }
          }
        },
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        application_definition_kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationDefinitionKind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end