Class: Azure::ServiceFabric::V6_2_0_9::Models::DeployedApplicationInfo

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

Overview

Information about application deployed on the node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#health_stateHealthState

as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’

Returns:

  • (HealthState)

    The health state of a Service Fabric entity such



55
56
57
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 55

def health_state
  @health_state
end

#idString

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.

Returns:

  • (String)

    The identity of the application. This is an encoded



23
24
25
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 23

def id
  @id
end

#log_directoryString

log directory can be used to store application logs.

Returns:

  • (String)

    The log directory of the application on the node. The



45
46
47
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 45

def log_directory
  @log_directory
end

#nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



27
28
29
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 27

def name
  @name
end

#statusDeployedApplicationStatus

deployed on the node. Following are the possible values. Possible values include: ‘Invalid’, ‘Downloading’, ‘Activating’, ‘Active’, ‘Upgrading’, ‘Deactivating’

Returns:



37
38
39
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 37

def status
  @status
end

#temp_directoryString

code packages belonging to the application are forked with this directory set as their temporary directory.

Returns:

  • (String)

    The temp directory of the application on the node. The



50
51
52
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 50

def temp_directory
  @temp_directory
end

#type_nameString

application manifest.

Returns:

  • (String)

    The application type name as defined in the



31
32
33
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 31

def type_name
  @type_name
end

#work_directoryString

work directory can be used to store application data.

Returns:

  • (String)

    The work directory of the application on the node. The



41
42
43
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 41

def work_directory
  @work_directory
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/deployed_application_info.rb', line 62

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedApplicationInfo',
    type: {
      name: 'Composite',
      class_name: 'DeployedApplicationInfo',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TypeName',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Status',
          type: {
            name: 'String'
          }
        },
        work_directory: {
          client_side_validation: true,
          required: false,
          serialized_name: 'WorkDirectory',
          type: {
            name: 'String'
          }
        },
        log_directory: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LogDirectory',
          type: {
            name: 'String'
          }
        },
        temp_directory: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TempDirectory',
          type: {
            name: 'String'
          }
        },
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end