class Azure::ServiceFabric::V6_3_0_9::Models::ApplicationResourceDescription

Describes a service fabric application resource.

Attributes

debug_params[RW]

@return [String] Internal use.

description[RW]

@return [String] User readable description of the application.

diagnostics[RW]

@return [DiagnosticsDescription] Describes the diagnostics definition and usage for an application resource.

health_state[RW]

@return [HealthState] Describes the health state of an application resource. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

name[RW]

@return [String] Application resource name.

service_names[RW]

@return [Array<String>] Names of the services in the application.

services[RW]

@return [Array<ServiceResourceDescription>] describes the services in the application.

status[RW]

@return [ApplicationResourceStatus] Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'

status_details[RW]

@return [String] Gives additional information about the current status of the application deployment.

unhealthy_evaluation[RW]

@return [String] When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb, line 59
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationResourceDescription',
    type: {
      name: 'Composite',
      class_name: 'ApplicationResourceDescription',
      model_properties: {
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        debug_params: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.debugParams',
          type: {
            name: 'String'
          }
        },
        services: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.services',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceResourceDescriptionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceResourceDescription'
                }
            }
          }
        },
        health_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.healthState',
          type: {
            name: 'String'
          }
        },
        unhealthy_evaluation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.unhealthyEvaluation',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.statusDetails',
          type: {
            name: 'String'
          }
        },
        service_names: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.serviceNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        diagnostics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.diagnostics',
          type: {
            name: 'Composite',
            class_name: 'DiagnosticsDescription'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end