Class: Azure::ServiceFabric::V6_4_0_36::Models::UpgradeOrchestrationServiceStateSummary

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

Overview

Service state summary of Service Fabric Upgrade Orchestration Service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#current_code_versionString

Returns The current code version of the cluster.

Returns:

  • (String)

    The current code version of the cluster.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/upgrade_orchestration_service_state_summary.rb', line 16

def current_code_version
  @current_code_version
end

#current_manifest_versionString

Returns The current manifest version of the cluster.

Returns:

  • (String)

    The current manifest version of the cluster.



19
20
21
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/upgrade_orchestration_service_state_summary.rb', line 19

def current_manifest_version
  @current_manifest_version
end

#pending_upgrade_typeString

Returns The type of the pending upgrade of the cluster.

Returns:

  • (String)

    The type of the pending upgrade of the cluster.



28
29
30
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/upgrade_orchestration_service_state_summary.rb', line 28

def pending_upgrade_type
  @pending_upgrade_type
end

#target_code_versionString

Returns The target code version of the cluster.

Returns:

  • (String)

    The target code version of the cluster.



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

def target_code_version
  @target_code_version
end

#target_manifest_versionString

Returns The target manifest version of the cluster.

Returns:

  • (String)

    The target manifest version of the cluster.



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

def target_manifest_version
  @target_manifest_version
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpgradeOrchestrationServiceStateSummary',
    type: {
      name: 'Composite',
      class_name: 'UpgradeOrchestrationServiceStateSummary',
      model_properties: {
        current_code_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentCodeVersion',
          type: {
            name: 'String'
          }
        },
        current_manifest_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentManifestVersion',
          type: {
            name: 'String'
          }
        },
        target_code_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TargetCodeVersion',
          type: {
            name: 'String'
          }
        },
        target_manifest_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TargetManifestVersion',
          type: {
            name: 'String'
          }
        },
        pending_upgrade_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PendingUpgradeType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end