Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationResourceDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb

Overview

This type describes a application resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#debug_paramsString

debugging session on the local development environment.

Returns:

  • (String)

    Internal - used by Visual Studio to setup the



34
35
36
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 34

def debug_params
  @debug_params
end

#descriptionString

Returns User readable description of the application.

Returns:

  • (String)

    User readable description of the application.



19
20
21
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 19

def description
  @description
end

#diagnosticsDiagnosticsDescription

and usage for an application resource.

Returns:



30
31
32
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 30

def diagnostics
  @diagnostics
end

#health_stateHealthState

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

Returns:

  • (HealthState)

    Describes the health state of an application



51
52
53
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 51

def health_state
  @health_state
end

#identityIdentityDescription

application.

Returns:



60
61
62
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 60

def identity
  @identity
end

#nameString

Returns Name of the Application resource.

Returns:

  • (String)

    Name of the Application resource.



16
17
18
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 16

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.



37
38
39
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 37

def service_names
  @service_names
end

#servicesArray<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.

Returns:



26
27
28
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 26

def services
  @services
end

#statusResourceStatus

include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’

Returns:



42
43
44
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 42

def status
  @status
end

#status_detailsString

of the application.

Returns:

  • (String)

    Gives additional information about the current status



46
47
48
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 46

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



56
57
58
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 56

def unhealthy_evaluation
  @unhealthy_evaluation
end

Class Method Details

.mapperObject

Mapper for ApplicationResourceDescription class as Ruby Hash. This will be used for serialization/deserialization.



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
187
188
189
190
191
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb', line 67

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'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'IdentityDescription'
          }
        }
      }
    }
  }
end