Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServiceReplicaDetailInfo

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

Overview

Information about a Service Fabric service replica deployed on a node.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeployedServiceReplicaDetailInfo

Returns a new instance of DeployedServiceReplicaDetailInfo.



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 19

def initialize
  @ServiceKind = "DeployedServiceReplicaDetailInfo"
end

Instance Attribute Details

#current_service_operationServiceOperationName

operation on a stateful service replica or stateless service instance. Possible values include: ‘Unknown’, ‘None’, ‘Open’, ‘ChangeRole’, ‘Close’, ‘Abort’

Returns:



40
41
42
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 40

def current_service_operation
  @current_service_operation
end

#current_service_operation_start_time_utcDateTime

UTC format.

Returns:

  • (DateTime)

    The start time of the current service operation in



44
45
46
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 44

def current_service_operation_start_time_utc
  @current_service_operation_start_time_utc
end

#partition_idObject

partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.

Returns:

  • An internal ID used by Service Fabric to uniquely identify a



34
35
36
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 34

def partition_id
  @partition_id
end

#reported_loadArray<LoadMetricReportInfo>

Returns List of load reported by replica.

Returns:



47
48
49
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 47

def reported_load
  @reported_load
end

#service_nameString

starting with ‘fabric:`.

Returns:

  • (String)

    Full hierarchical name of the service in URI format



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 27

def service_name
  @service_name
end

#ServiceKindObject

Returns the value of attribute ServiceKind.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 23

def ServiceKind
  @ServiceKind
end

Class Method Details

.mapperObject

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



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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 54

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServiceReplicaDetailInfo',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'ServiceKind',
      uber_parent: 'DeployedServiceReplicaDetailInfo',
      class_name: 'DeployedServiceReplicaDetailInfo',
      model_properties: {
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        },
        current_service_operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentServiceOperation',
          type: {
            name: 'String'
          }
        },
        current_service_operation_start_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentServiceOperationStartTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        reported_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReportedLoad',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LoadMetricReportInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'LoadMetricReportInfo'
                }
            }
          }
        }
      }
    }
  }
end