Class: Azure::ServiceFabric::V6_4_0_36::Models::DeployedServicePackageHealthState

Inherits:
EntityHealthState
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb

Overview

Represents the health state of a deployed service package, containing the entity identifier and the aggregated health state.

Instance Attribute Summary collapse

Attributes inherited from EntityHealthState

#aggregated_health_state

Class Method Summary collapse

Instance Attribute Details

#application_nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



22
23
24
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb', line 22

def application_name
  @application_name
end

#node_nameString

deployed.

Returns:

  • (String)

    Name of the node on which the service package is



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb', line 18

def node_name
  @node_name
end

#service_manifest_nameString

Returns Name of the manifest describing the service package.

Returns:

  • (String)

    Name of the manifest describing the service package.



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb', line 25

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



33
34
35
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb', line 33

def service_package_activation_id
  @service_package_activation_id
end

Class Method Details

.mapperObject

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



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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServicePackageHealthState',
    type: {
      name: 'Composite',
      class_name: 'DeployedServicePackageHealthState',
      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'
          }
        },
        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