Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationEvent
- Inherits:
-
FabricEvent
- Object
- FabricEvent
- Azure::ServiceFabric::V6_5_0_36::Models::ApplicationEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb
Overview
Represents the base for all Application Events.
Direct Known Subclasses
ApplicationContainerInstanceExitedEvent, ApplicationCreatedEvent, ApplicationDeletedEvent, ApplicationHealthReportExpiredEvent, ApplicationNewHealthReportEvent, ApplicationProcessExitedEvent, ApplicationUpgradeCompletedEvent, ApplicationUpgradeDomainCompletedEvent, ApplicationUpgradeRollbackCompletedEvent, ApplicationUpgradeRollbackStartedEvent, ApplicationUpgradeStartedEvent, ChaosCodePackageRestartScheduledEvent, DeployedApplicationHealthReportExpiredEvent, DeployedApplicationNewHealthReportEvent, DeployedServicePackageHealthReportExpiredEvent, DeployedServicePackageNewHealthReportEvent
Instance Attribute Summary collapse
-
#application_id ⇒ String
representation of the application name.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Attributes inherited from FabricEvent
#category, #event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ApplicationEvent
constructor
A new instance of ApplicationEvent.
Constructor Details
#initialize ⇒ ApplicationEvent
Returns a new instance of ApplicationEvent.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb', line 16 def initialize @Kind = "ApplicationEvent" end |
Instance Attribute Details
#application_id ⇒ String
representation of the application name. This is used in the REST APIs to identify the application resource. Starting in version 6.0, hierarchical names are delimited with the “~” character. For example, if the application name is “fabric:/myapp/app1”, the application identity would be “myapp~app1” in 6.0+ and “myapp/app1” in previous versions.
30 31 32 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb', line 30 def application_id @application_id end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb', line 20 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationEvent class as Ruby Hash. This will be used for serialization/deserialization.
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 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationEvent', type: { name: 'Composite', class_name: 'ApplicationEvent', 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' } }, application_id: { client_side_validation: true, required: true, serialized_name: 'ApplicationId', type: { name: 'String' } } } } } end |