Class: Azure::ServiceFabric::V6_3_0_9::Models::ApplicationResourceDescription

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#debug_paramsString

Returns Internal use.

Returns:

  • (String)

    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

#descriptionString

Returns User readable description of the application.

Returns:

  • (String)

    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

#diagnosticsDiagnosticsDescription

and usage for an application resource.

Returns:



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_stateHealthState

resource. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’

Returns:

  • (HealthState)

    Describes the health state of an application



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

#nameString

Returns Application resource name.

Returns:

  • (String)

    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_namesArray<String>

Returns Names of the services in the application.

Returns:

  • (Array<String>)

    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

#servicesArray<ServiceResourceDescription>

the application.

Returns:



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

def services
  @services
end

#statusApplicationResourceStatus

Possible values include: ‘Invalid’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’

Returns:



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_detailsString

of the application deployment.

Returns:

  • (String)

    Gives additional information about the current status



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_evaluationString

additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.

Returns:

  • (String)

    When the application’s health state is not ‘Ok’, this



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

.mapperObject

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