Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServicePackageHealthStateChunk

Inherits:
EntityHealthStateChunk
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk.rb

Overview

Represents the health state chunk of a deployed service package, which contains the service manifest name and the service package aggregated health state.

Instance Attribute Summary collapse

Attributes inherited from EntityHealthStateChunk

#health_state

Class Method Summary collapse

Instance Attribute Details

#service_manifest_nameString

Returns The name of the service manifest.

Returns:

  • (String)

    The name of the service manifest.



18
19
20
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk.rb', line 18

def service_manifest_name
  @service_manifest_name
end

#service_package_activation_idString

ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.

Returns:

  • (String)

    The ActivationId of a deployed service package. If



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk.rb', line 26

def service_package_activation_id
  @service_package_activation_id
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServicePackageHealthStateChunk',
    type: {
      name: 'Composite',
      class_name: 'DeployedServicePackageHealthStateChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        service_manifest_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceManifestName',
          type: {
            name: 'String'
          }
        },
        service_package_activation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageActivationId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end