Class: Azure::ServiceFabric::V6_3_0_9::Models::ApplicationResourceDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ApplicationResourceDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb
Overview
Describes a service fabric application resource.
Instance Attribute Summary collapse
-
#debug_params ⇒ String
Internal use.
-
#description ⇒ String
User readable description of the application.
-
#diagnostics ⇒ DiagnosticsDescription
and usage for an application resource.
-
#health_state ⇒ HealthState
resource.
-
#name ⇒ String
Application resource name.
-
#service_names ⇒ Array<String>
Names of the services in the application.
-
#services ⇒ Array<ServiceResourceDescription>
the application.
-
#status ⇒ ApplicationResourceStatus
Possible values include: ‘Invalid’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’.
-
#status_details ⇒ String
of the application deployment.
-
#unhealthy_evaluation ⇒ String
additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationResourceDescription class as Ruby Hash.
Instance Attribute Details
#debug_params ⇒ String
Returns Internal use.
19 20 21 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 19 def debug_params @debug_params end |
#description ⇒ String
Returns User readable description of the application.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 16 def description @description end |
#diagnostics ⇒ DiagnosticsDescription
and usage for an application resource.
49 50 51 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 49 def diagnostics @diagnostics end |
#health_state ⇒ HealthState
resource. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
28 29 30 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 28 def health_state @health_state end |
#name ⇒ String
Returns Application resource name.
52 53 54 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 52 def name @name end |
#service_names ⇒ Array<String>
Returns Names of the services in the application.
45 46 47 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 45 def service_names @service_names end |
#services ⇒ Array<ServiceResourceDescription>
the application.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 23 def services @services end |
#status ⇒ ApplicationResourceStatus
Possible values include: ‘Invalid’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’
38 39 40 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 38 def status @status end |
#status_details ⇒ String
of the application deployment.
42 43 44 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 42 def status_details @status_details end |
#unhealthy_evaluation ⇒ String
additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
33 34 35 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 33 def unhealthy_evaluation @unhealthy_evaluation end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationResourceDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_resource_description.rb', line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationResourceDescription', type: { name: 'Composite', class_name: 'ApplicationResourceDescription', model_properties: { description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, debug_params: { client_side_validation: true, required: false, serialized_name: 'properties.debugParams', type: { name: 'String' } }, services: { client_side_validation: true, required: false, serialized_name: 'properties.services', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceResourceDescriptionElementType', type: { name: 'Composite', class_name: 'ServiceResourceDescription' } } } }, health_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.healthState', type: { name: 'String' } }, unhealthy_evaluation: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unhealthyEvaluation', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statusDetails', type: { name: 'String' } }, service_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, diagnostics: { client_side_validation: true, required: false, serialized_name: 'properties.diagnostics', type: { name: 'Composite', class_name: 'DiagnosticsDescription' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } } } } } end |