Sha256: f72adaac344c178fe1dedac5f150b7f22af21d103e8d9e5bd2af9400cfe5d0ae

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V7_0_0_42
  module Models
    #
    # Represents the health state of a deployed application, which contains the
    # entity identifier and the aggregated health state.
    #
    class DeployedApplicationHealthState < EntityHealthState

      include MsRestAzure

      # @return [String] Name of the node on which the service package is
      # deployed.
      attr_accessor :node_name

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


      #
      # Mapper for DeployedApplicationHealthState class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeployedApplicationHealthState',
          type: {
            name: 'Composite',
            class_name: 'DeployedApplicationHealthState',
            model_properties: {
              aggregated_health_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AggregatedHealthState',
                type: {
                  name: 'String'
                }
              },
              node_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NodeName',
                type: {
                  name: 'String'
                }
              },
              application_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/deployed_application_health_state.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/deployed_application_health_state.rb