Class: Azure::ServiceFabric::V6_5_0_36::Models::ServiceDeletedEvent
- Inherits:
-
ServiceEvent
- Object
- FabricEvent
- ServiceEvent
- Azure::ServiceFabric::V6_5_0_36::Models::ServiceDeletedEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb
Overview
Service Deleted event.
Instance Attribute Summary collapse
-
#application_name ⇒ String
Application name.
-
#application_type_name ⇒ String
Application type name.
-
#is_stateful ⇒ Boolean
Indicates if Service is stateful.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#min_replica_set_size ⇒ Integer
Minimum size of replicas set.
-
#partition_count ⇒ Integer
Number of partitions.
-
#service_instance ⇒ Integer
Id of Service instance.
-
#service_package_version ⇒ String
Version of Service package.
-
#service_type_name ⇒ String
Service type name.
-
#target_replica_set_size ⇒ Integer
Size of target replicas set.
Attributes inherited from ServiceEvent
Attributes inherited from FabricEvent
#category, #event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceDeletedEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ServiceDeletedEvent
constructor
A new instance of ServiceDeletedEvent.
Constructor Details
#initialize ⇒ ServiceDeletedEvent
Returns a new instance of ServiceDeletedEvent.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 16 def initialize @Kind = "ServiceDeleted" end |
Instance Attribute Details
#application_name ⇒ String
Returns Application name.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 26 def application_name @application_name end |
#application_type_name ⇒ String
Returns Application type name.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 29 def application_type_name @application_type_name end |
#is_stateful ⇒ Boolean
Returns Indicates if Service is stateful.
35 36 37 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 35 def is_stateful @is_stateful end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 20 def Kind @Kind end |
#min_replica_set_size ⇒ Integer
Returns Minimum size of replicas set.
44 45 46 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 44 def min_replica_set_size @min_replica_set_size end |
#partition_count ⇒ Integer
Returns Number of partitions.
38 39 40 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 38 def partition_count @partition_count end |
#service_instance ⇒ Integer
Returns Id of Service instance.
32 33 34 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 32 def service_instance @service_instance end |
#service_package_version ⇒ String
Returns Version of Service package.
47 48 49 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 47 def service_package_version @service_package_version end |
#service_type_name ⇒ String
Returns Service type name.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 23 def service_type_name @service_type_name end |
#target_replica_set_size ⇒ Integer
Returns Size of target replicas set.
41 42 43 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 41 def target_replica_set_size @target_replica_set_size end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceDeletedEvent 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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceDeleted', type: { name: 'Composite', class_name: 'ServiceDeletedEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, category: { client_side_validation: true, required: false, serialized_name: 'Category', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, service_id: { client_side_validation: true, required: true, serialized_name: 'ServiceId', type: { name: 'String' } }, service_type_name: { client_side_validation: true, required: true, serialized_name: 'ServiceTypeName', type: { name: 'String' } }, application_name: { client_side_validation: true, required: true, serialized_name: 'ApplicationName', type: { name: 'String' } }, application_type_name: { client_side_validation: true, required: true, serialized_name: 'ApplicationTypeName', type: { name: 'String' } }, service_instance: { client_side_validation: true, required: true, serialized_name: 'ServiceInstance', type: { name: 'Number' } }, is_stateful: { client_side_validation: true, required: true, serialized_name: 'IsStateful', type: { name: 'Boolean' } }, partition_count: { client_side_validation: true, required: true, serialized_name: 'PartitionCount', type: { name: 'Number' } }, target_replica_set_size: { client_side_validation: true, required: true, serialized_name: 'TargetReplicaSetSize', type: { name: 'Number' } }, min_replica_set_size: { client_side_validation: true, required: true, serialized_name: 'MinReplicaSetSize', type: { name: 'Number' } }, service_package_version: { client_side_validation: true, required: true, serialized_name: 'ServicePackageVersion', type: { name: 'String' } } } } } end |