Class: Azure::ServiceFabric::V6_4_0_36::Models::ApplicationResourceDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ApplicationResourceDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb
Overview
This type describes a application resource.
Instance Attribute Summary collapse
-
#debug_params ⇒ String
debugging session on the local development environment.
-
#description ⇒ String
User readable description of the application.
-
#diagnostics ⇒ DiagnosticsDescription
and usage for an application resource.
-
#health_state ⇒ HealthState
resource.
-
#name ⇒ String
Name of the Application resource.
-
#service_names ⇒ Array<String>
Names of the services in the application.
-
#services ⇒ Array<ServiceResourceDescription>
the application.
-
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’.
-
#status_details ⇒ String
of the application.
-
#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
debugging session on the local development environment.
34 35 36 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 34 def debug_params @debug_params end |
#description ⇒ String
Returns User readable description of the application.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 19 def description @description end |
#diagnostics ⇒ DiagnosticsDescription
and usage for an application resource.
30 31 32 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 30 def diagnostics @diagnostics end |
#health_state ⇒ HealthState
resource. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
51 52 53 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 51 def health_state @health_state end |
#name ⇒ String
Returns Name of the Application resource.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 16 def name @name end |
#service_names ⇒ Array<String>
Returns Names of the services in the application.
37 38 39 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 37 def service_names @service_names end |
#services ⇒ Array<ServiceResourceDescription>
the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource.
26 27 28 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 26 def services @services end |
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’
42 43 44 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 42 def status @status end |
#status_details ⇒ String
of the application.
46 47 48 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 46 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.
56 57 58 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 56 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.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 63 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationResourceDescription', type: { name: 'Composite', class_name: 'ApplicationResourceDescription', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', 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' } } } }, diagnostics: { client_side_validation: true, required: false, serialized_name: 'properties.diagnostics', type: { name: 'Composite', class_name: 'DiagnosticsDescription' } }, debug_params: { client_side_validation: true, required: false, serialized_name: 'properties.debugParams', 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' } } } }, 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' } }, 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' } } } } } end |