ec2-host 0.6.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -0
- data/docs/EC2.html +45 -44
- data/docs/EC2/Host.html +80 -80
- data/docs/EC2/Host/CLI.html +85 -70
- data/docs/EC2/Host/Config.html +99 -94
- data/docs/EC2/Host/EC2Client.html +49 -48
- data/docs/EC2/Host/HashUtil.html +41 -41
- data/docs/EC2/Host/HostData.html +586 -191
- data/docs/EC2/Host/RoleData.html +106 -94
- data/docs/EC2/Host/StringUtil.html +99 -47
- data/docs/_index.html +28 -31
- data/docs/class_list.html +24 -31
- data/docs/css/full_list.css +32 -31
- data/docs/css/style.css +244 -91
- data/docs/file.LICENSE.html +28 -31
- data/docs/file.README.html +30 -33
- data/docs/file_list.html +29 -31
- data/docs/frames.html +7 -16
- data/docs/index.html +30 -33
- data/docs/js/app.js +106 -77
- data/docs/js/full_list.js +170 -135
- data/docs/method_list.html +439 -245
- data/docs/top-level-namespace.html +34 -36
- data/ec2-host.gemspec +1 -1
- data/example/aws-sdk.rb +1 -1
- data/lib/ec2/host/ec2_client.rb +1 -1
- data/lib/ec2/host/host_data.rb +3 -1
- data/lib/ec2/host/role_data.rb +5 -2
- data/lib/ec2/host/version.rb +1 -1
- metadata +8 -8
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: EC2::Host::EC2Client
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "EC2::Host::EC2Client";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!EC2/Host/EC2Client.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (E)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> » <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">EC2Client</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: EC2::Host::EC2Client
|
62
|
+
<div id="content"><h1>Class: EC2::Host::EC2Client
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/ec2/host/ec2_client.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
|
110
110
|
<h2>
|
111
111
|
Instance Method Summary
|
112
|
-
<small
|
112
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
113
113
|
</h2>
|
114
114
|
|
115
115
|
<ul class="summary">
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<li class="public ">
|
118
118
|
<span class="summary_signature">
|
119
119
|
|
120
|
-
<a href="#instance_id-instance_method" title="#instance_id (instance method)"
|
120
|
+
<a href="#instance_id-instance_method" title="#instance_id (instance method)">#<strong>instance_id</strong> ⇒ Object </a>
|
121
121
|
|
122
122
|
|
123
123
|
|
@@ -139,7 +139,7 @@
|
|
139
139
|
<li class="public ">
|
140
140
|
<span class="summary_signature">
|
141
141
|
|
142
|
-
<a href="#instances-instance_method" title="#instances (instance method)"
|
142
|
+
<a href="#instances-instance_method" title="#instances (instance method)">#<strong>instances</strong>(condition) ⇒ Object </a>
|
143
143
|
|
144
144
|
|
145
145
|
|
@@ -170,7 +170,7 @@
|
|
170
170
|
<div class="method_details first">
|
171
171
|
<h3 class="signature first" id="instance_id-instance_method">
|
172
172
|
|
173
|
-
|
173
|
+
#<strong>instance_id</strong> ⇒ <tt>Object</tt>
|
174
174
|
|
175
175
|
|
176
176
|
|
@@ -214,7 +214,7 @@
|
|
214
214
|
<div class="method_details ">
|
215
215
|
<h3 class="signature " id="instances-instance_method">
|
216
216
|
|
217
|
-
|
217
|
+
#<strong>instances</strong>(condition) ⇒ <tt>Object</tt>
|
218
218
|
|
219
219
|
|
220
220
|
|
@@ -263,11 +263,12 @@
|
|
263
263
|
|
264
264
|
</div>
|
265
265
|
|
266
|
-
|
267
|
-
Generated on
|
266
|
+
<div id="footer">
|
267
|
+
Generated on Sat May 20 00:23:53 2017 by
|
268
268
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
269
|
-
0.
|
269
|
+
0.9.9 (ruby-2.4.1).
|
270
270
|
</div>
|
271
271
|
|
272
|
+
</div>
|
272
273
|
</body>
|
273
274
|
</html>
|
data/docs/EC2/Host/HashUtil.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: EC2::Host::HashUtil
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "EC2::Host::HashUtil";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!EC2/Host/HashUtil.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (H)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> » <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">HashUtil</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: EC2::Host::HashUtil
|
62
|
+
<div id="content"><h1>Module: EC2::Host::HashUtil
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/ec2/host/hash_util.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
|
88
87
|
|
@@ -94,7 +93,7 @@
|
|
94
93
|
|
95
94
|
<h2>
|
96
95
|
Class Method Summary
|
97
|
-
<small
|
96
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
98
97
|
</h2>
|
99
98
|
|
100
99
|
<ul class="summary">
|
@@ -102,7 +101,7 @@
|
|
102
101
|
<li class="public ">
|
103
102
|
<span class="summary_signature">
|
104
103
|
|
105
|
-
<a href="#except-class_method" title="except (class method)"
|
104
|
+
<a href="#except-class_method" title="except (class method)">.<strong>except</strong>(hash, *keys) ⇒ Object </a>
|
106
105
|
|
107
106
|
|
108
107
|
|
@@ -133,7 +132,7 @@
|
|
133
132
|
<div class="method_details first">
|
134
133
|
<h3 class="signature first" id="except-class_method">
|
135
134
|
|
136
|
-
|
135
|
+
.<strong>except</strong>(hash, *keys) ⇒ <tt>Object</tt>
|
137
136
|
|
138
137
|
|
139
138
|
|
@@ -168,11 +167,12 @@
|
|
168
167
|
|
169
168
|
</div>
|
170
169
|
|
171
|
-
|
172
|
-
Generated on
|
170
|
+
<div id="footer">
|
171
|
+
Generated on Sat May 20 00:23:52 2017 by
|
173
172
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
174
|
-
0.
|
173
|
+
0.9.9 (ruby-2.4.1).
|
175
174
|
</div>
|
176
175
|
|
176
|
+
</div>
|
177
177
|
</body>
|
178
178
|
</html>
|
data/docs/EC2/Host/HostData.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: EC2::Host::HostData
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "EC2::Host::HostData";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!EC2/Host/HostData.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (H)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> » <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">HostData</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: EC2::Host::HostData
|
62
|
+
<div id="content"><h1>Class: EC2::Host::HostData
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
88
84
|
|
85
|
+
|
89
86
|
|
90
|
-
|
91
87
|
|
92
|
-
|
93
88
|
|
94
89
|
|
95
90
|
|
96
|
-
|
97
|
-
<dd class="r2 last">lib/ec2/host/host_data.rb</dd>
|
91
|
+
|
98
92
|
|
99
|
-
|
100
|
-
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/ec2/host/host_data.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -114,13 +114,13 @@
|
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
-
<h2>Instance Attribute Summary <small
|
117
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
118
118
|
<ul class="summary">
|
119
119
|
|
120
120
|
<li class="public ">
|
121
121
|
<span class="summary_signature">
|
122
122
|
|
123
|
-
<a href="#instance-instance_method" title="#instance (instance method)"
|
123
|
+
<a href="#instance-instance_method" title="#instance (instance method)">#<strong>instance</strong> ⇒ Object </a>
|
124
124
|
|
125
125
|
|
126
126
|
|
@@ -154,7 +154,7 @@
|
|
154
154
|
|
155
155
|
<h2>
|
156
156
|
Instance Method Summary
|
157
|
-
<small
|
157
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
158
158
|
</h2>
|
159
159
|
|
160
160
|
<ul class="summary">
|
@@ -162,10 +162,34 @@
|
|
162
162
|
<li class="public ">
|
163
163
|
<span class="summary_signature">
|
164
164
|
|
165
|
-
<a href="#
|
165
|
+
<a href="#availability_zone-instance_method" title="#availability_zone (instance method)">#<strong>availability_zone</strong> ⇒ Object </a>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</span>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
180
|
+
|
181
|
+
</li>
|
182
|
+
|
183
|
+
|
184
|
+
<li class="public ">
|
185
|
+
<span class="summary_signature">
|
186
|
+
|
187
|
+
<a href="#dedicated%3F-instance_method" title="#dedicated? (instance method)">#<strong>dedicated?</strong> ⇒ Boolean </a>
|
166
188
|
|
167
189
|
|
168
190
|
|
191
|
+
(also: #dedicated)
|
192
|
+
|
169
193
|
</span>
|
170
194
|
|
171
195
|
|
@@ -184,7 +208,7 @@
|
|
184
208
|
<li class="public ">
|
185
209
|
<span class="summary_signature">
|
186
210
|
|
187
|
-
<a href="#
|
211
|
+
<a href="#hostname-instance_method" title="#hostname (instance method)">#<strong>hostname</strong> ⇒ Object </a>
|
188
212
|
|
189
213
|
|
190
214
|
|
@@ -206,7 +230,29 @@
|
|
206
230
|
<li class="public ">
|
207
231
|
<span class="summary_signature">
|
208
232
|
|
209
|
-
<a href="#
|
233
|
+
<a href="#info-instance_method" title="#info (instance method)">#<strong>info</strong> ⇒ Object </a>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
</span>
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
248
|
+
|
249
|
+
</li>
|
250
|
+
|
251
|
+
|
252
|
+
<li class="public ">
|
253
|
+
<span class="summary_signature">
|
254
|
+
|
255
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(instance) ⇒ HostData </a>
|
210
256
|
|
211
257
|
|
212
258
|
|
@@ -234,7 +280,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
234
280
|
<li class="public ">
|
235
281
|
<span class="summary_signature">
|
236
282
|
|
237
|
-
<a href="#inspect-instance_method" title="#inspect (instance method)"
|
283
|
+
<a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> ⇒ Object </a>
|
238
284
|
|
239
285
|
|
240
286
|
|
@@ -256,7 +302,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
256
302
|
<li class="public ">
|
257
303
|
<span class="summary_signature">
|
258
304
|
|
259
|
-
<a href="#instance_id-instance_method" title="#instance_id (instance method)"
|
305
|
+
<a href="#instance_id-instance_method" title="#instance_id (instance method)">#<strong>instance_id</strong> ⇒ Object </a>
|
260
306
|
|
261
307
|
|
262
308
|
|
@@ -278,7 +324,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
278
324
|
<li class="public ">
|
279
325
|
<span class="summary_signature">
|
280
326
|
|
281
|
-
<a href="#
|
327
|
+
<a href="#instance_lifecycle-instance_method" title="#instance_lifecycle (instance method)">#<strong>instance_lifecycle</strong> ⇒ Object </a>
|
282
328
|
|
283
329
|
|
284
330
|
|
@@ -300,7 +346,29 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
300
346
|
<li class="public ">
|
301
347
|
<span class="summary_signature">
|
302
348
|
|
303
|
-
<a href="#
|
349
|
+
<a href="#instance_type-instance_method" title="#instance_type (instance method)">#<strong>instance_type</strong> ⇒ Object </a>
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
</span>
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
364
|
+
|
365
|
+
</li>
|
366
|
+
|
367
|
+
|
368
|
+
<li class="public ">
|
369
|
+
<span class="summary_signature">
|
370
|
+
|
371
|
+
<a href="#ip-instance_method" title="#ip (instance method)">#<strong>ip</strong> ⇒ Object </a>
|
304
372
|
|
305
373
|
|
306
374
|
|
@@ -324,7 +392,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
324
392
|
<li class="public ">
|
325
393
|
<span class="summary_signature">
|
326
394
|
|
327
|
-
<a href="#launch_time-instance_method" title="#launch_time (instance method)"
|
395
|
+
<a href="#launch_time-instance_method" title="#launch_time (instance method)">#<strong>launch_time</strong> ⇒ Object </a>
|
328
396
|
|
329
397
|
|
330
398
|
|
@@ -346,7 +414,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
346
414
|
<li class="public ">
|
347
415
|
<span class="summary_signature">
|
348
416
|
|
349
|
-
<a href="#match%3F-instance_method" title="#match? (instance method)"
|
417
|
+
<a href="#match%3F-instance_method" title="#match? (instance method)">#<strong>match?</strong>(condition) ⇒ Boolean </a>
|
350
418
|
|
351
419
|
|
352
420
|
|
@@ -370,7 +438,51 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
370
438
|
<li class="public ">
|
371
439
|
<span class="summary_signature">
|
372
440
|
|
373
|
-
<a href="#monitoring-instance_method" title="#monitoring (instance method)"
|
441
|
+
<a href="#monitoring-instance_method" title="#monitoring (instance method)">#<strong>monitoring</strong> ⇒ Object </a>
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</span>
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
456
|
+
|
457
|
+
</li>
|
458
|
+
|
459
|
+
|
460
|
+
<li class="public ">
|
461
|
+
<span class="summary_signature">
|
462
|
+
|
463
|
+
<a href="#pending%3F-instance_method" title="#pending? (instance method)">#<strong>pending?</strong> ⇒ Boolean </a>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
</span>
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
478
|
+
|
479
|
+
</li>
|
480
|
+
|
481
|
+
|
482
|
+
<li class="public ">
|
483
|
+
<span class="summary_signature">
|
484
|
+
|
485
|
+
<a href="#placement-instance_method" title="#placement (instance method)">#<strong>placement</strong> ⇒ Object </a>
|
374
486
|
|
375
487
|
|
376
488
|
|
@@ -392,7 +504,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
392
504
|
<li class="public ">
|
393
505
|
<span class="summary_signature">
|
394
506
|
|
395
|
-
<a href="#
|
507
|
+
<a href="#private_ip_address-instance_method" title="#private_ip_address (instance method)">#<strong>private_ip_address</strong> ⇒ Object </a>
|
396
508
|
|
397
509
|
|
398
510
|
|
@@ -414,7 +526,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
414
526
|
<li class="public ">
|
415
527
|
<span class="summary_signature">
|
416
528
|
|
417
|
-
<a href="#
|
529
|
+
<a href="#public_ip_address-instance_method" title="#public_ip_address (instance method)">#<strong>public_ip_address</strong> ⇒ Object </a>
|
418
530
|
|
419
531
|
|
420
532
|
|
@@ -436,7 +548,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
436
548
|
<li class="public ">
|
437
549
|
<span class="summary_signature">
|
438
550
|
|
439
|
-
<a href="#
|
551
|
+
<a href="#region-instance_method" title="#region (instance method)">#<strong>region</strong> ⇒ Object </a>
|
440
552
|
|
441
553
|
|
442
554
|
|
@@ -458,7 +570,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
458
570
|
<li class="public ">
|
459
571
|
<span class="summary_signature">
|
460
572
|
|
461
|
-
<a href="#
|
573
|
+
<a href="#roles-instance_method" title="#roles (instance method)">#<strong>roles</strong> ⇒ Object </a>
|
462
574
|
|
463
575
|
|
464
576
|
|
@@ -480,7 +592,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
480
592
|
<li class="public ">
|
481
593
|
<span class="summary_signature">
|
482
594
|
|
483
|
-
<a href="#
|
595
|
+
<a href="#running%3F-instance_method" title="#running? (instance method)">#<strong>running?</strong> ⇒ Boolean </a>
|
484
596
|
|
485
597
|
|
486
598
|
|
@@ -502,7 +614,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
502
614
|
<li class="public ">
|
503
615
|
<span class="summary_signature">
|
504
616
|
|
505
|
-
<a href="#
|
617
|
+
<a href="#shutting_down%3F-instance_method" title="#shutting_down? (instance method)">#<strong>shutting_down?</strong> ⇒ Boolean </a>
|
506
618
|
|
507
619
|
|
508
620
|
|
@@ -524,10 +636,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
524
636
|
<li class="public ">
|
525
637
|
<span class="summary_signature">
|
526
638
|
|
527
|
-
<a href="#
|
639
|
+
<a href="#spot%3F-instance_method" title="#spot? (instance method)">#<strong>spot?</strong> ⇒ Boolean </a>
|
528
640
|
|
529
641
|
|
530
642
|
|
643
|
+
(also: #spot)
|
644
|
+
|
531
645
|
</span>
|
532
646
|
|
533
647
|
|
@@ -546,7 +660,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
546
660
|
<li class="public ">
|
547
661
|
<span class="summary_signature">
|
548
662
|
|
549
|
-
<a href="#start_date-instance_method" title="#start_date (instance method)"
|
663
|
+
<a href="#start_date-instance_method" title="#start_date (instance method)">#<strong>start_date</strong> ⇒ Object </a>
|
550
664
|
|
551
665
|
|
552
666
|
|
@@ -570,7 +684,29 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
570
684
|
<li class="public ">
|
571
685
|
<span class="summary_signature">
|
572
686
|
|
573
|
-
<a href="#state-instance_method" title="#state (instance method)"
|
687
|
+
<a href="#state-instance_method" title="#state (instance method)">#<strong>state</strong> ⇒ Object </a>
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
</span>
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
702
|
+
|
703
|
+
</li>
|
704
|
+
|
705
|
+
|
706
|
+
<li class="public ">
|
707
|
+
<span class="summary_signature">
|
708
|
+
|
709
|
+
<a href="#stopped%3F-instance_method" title="#stopped? (instance method)">#<strong>stopped?</strong> ⇒ Boolean </a>
|
574
710
|
|
575
711
|
|
576
712
|
|
@@ -592,7 +728,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
592
728
|
<li class="public ">
|
593
729
|
<span class="summary_signature">
|
594
730
|
|
595
|
-
<a href="#
|
731
|
+
<a href="#stopping%3F-instance_method" title="#stopping? (instance method)">#<strong>stopping?</strong> ⇒ Boolean </a>
|
596
732
|
|
597
733
|
|
598
734
|
|
@@ -614,7 +750,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
614
750
|
<li class="public ">
|
615
751
|
<span class="summary_signature">
|
616
752
|
|
617
|
-
<a href="#
|
753
|
+
<a href="#tenancy-instance_method" title="#tenancy (instance method)">#<strong>tenancy</strong> ⇒ Object </a>
|
618
754
|
|
619
755
|
|
620
756
|
|
@@ -636,7 +772,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
636
772
|
<li class="public ">
|
637
773
|
<span class="summary_signature">
|
638
774
|
|
639
|
-
<a href="#terminated%3F-instance_method" title="#terminated? (instance method)"
|
775
|
+
<a href="#terminated%3F-instance_method" title="#terminated? (instance method)">#<strong>terminated?</strong> ⇒ Boolean </a>
|
640
776
|
|
641
777
|
|
642
778
|
|
@@ -658,7 +794,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
658
794
|
<li class="public ">
|
659
795
|
<span class="summary_signature">
|
660
796
|
|
661
|
-
<a href="#to_hash-instance_method" title="#to_hash (instance method)"
|
797
|
+
<a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> ⇒ Object </a>
|
662
798
|
|
663
799
|
|
664
800
|
|
@@ -680,7 +816,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
680
816
|
<li class="public ">
|
681
817
|
<span class="summary_signature">
|
682
818
|
|
683
|
-
<a href="#usages-instance_method" title="#usages (instance method)"
|
819
|
+
<a href="#usages-instance_method" title="#usages (instance method)">#<strong>usages</strong> ⇒ Object </a>
|
684
820
|
|
685
821
|
|
686
822
|
|
@@ -710,7 +846,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself.</p>
|
|
710
846
|
<div class="method_details first">
|
711
847
|
<h3 class="signature first" id="initialize-instance_method">
|
712
848
|
|
713
|
-
|
849
|
+
#<strong>initialize</strong>(instance) ⇒ <tt><span class='object_link'><a href="" title="EC2::Host::HostData (class)">HostData</a></span></tt>
|
714
850
|
|
715
851
|
|
716
852
|
|
@@ -762,7 +898,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
762
898
|
<div class="method_details first">
|
763
899
|
<h3 class="signature first" id="instance-instance_method">
|
764
900
|
|
765
|
-
|
901
|
+
#<strong>instance</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
766
902
|
|
767
903
|
|
768
904
|
|
@@ -808,9 +944,95 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
808
944
|
|
809
945
|
|
810
946
|
<div class="method_details first">
|
811
|
-
<h3 class="signature first" id="
|
947
|
+
<h3 class="signature first" id="availability_zone-instance_method">
|
812
948
|
|
813
|
-
|
949
|
+
#<strong>availability_zone</strong> ⇒ <tt>Object</tt>
|
950
|
+
|
951
|
+
|
952
|
+
|
953
|
+
|
954
|
+
|
955
|
+
</h3><table class="source_code">
|
956
|
+
<tr>
|
957
|
+
<td>
|
958
|
+
<pre class="lines">
|
959
|
+
|
960
|
+
|
961
|
+
82
|
962
|
+
83
|
963
|
+
84</pre>
|
964
|
+
</td>
|
965
|
+
<td>
|
966
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 82</span>
|
967
|
+
|
968
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_availability_zone'>availability_zone</span>
|
969
|
+
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_placement'>placement</span><span class='period'>.</span><span class='id identifier rubyid_availability_zone'>availability_zone</span>
|
970
|
+
<span class='kw'>end</span></pre>
|
971
|
+
</td>
|
972
|
+
</tr>
|
973
|
+
</table>
|
974
|
+
</div>
|
975
|
+
|
976
|
+
<div class="method_details ">
|
977
|
+
<h3 class="signature " id="dedicated?-instance_method">
|
978
|
+
|
979
|
+
#<strong>dedicated?</strong> ⇒ <tt>Boolean</tt>
|
980
|
+
|
981
|
+
|
982
|
+
|
983
|
+
<span class="aliases">Also known as:
|
984
|
+
<span class="names"><span id='dedicated-instance_method'>dedicated</span></span>
|
985
|
+
</span>
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
</h3><div class="docstring">
|
990
|
+
<div class="discussion">
|
991
|
+
|
992
|
+
|
993
|
+
</div>
|
994
|
+
</div>
|
995
|
+
<div class="tags">
|
996
|
+
|
997
|
+
<p class="tag_title">Returns:</p>
|
998
|
+
<ul class="return">
|
999
|
+
|
1000
|
+
<li>
|
1001
|
+
|
1002
|
+
|
1003
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1004
|
+
|
1005
|
+
|
1006
|
+
|
1007
|
+
</li>
|
1008
|
+
|
1009
|
+
</ul>
|
1010
|
+
|
1011
|
+
</div><table class="source_code">
|
1012
|
+
<tr>
|
1013
|
+
<td>
|
1014
|
+
<pre class="lines">
|
1015
|
+
|
1016
|
+
|
1017
|
+
138
|
1018
|
+
139
|
1019
|
+
140</pre>
|
1020
|
+
</td>
|
1021
|
+
<td>
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 138</span>
|
1023
|
+
|
1024
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dedicated?'>dedicated?</span>
|
1025
|
+
<span class='id identifier rubyid_tenancy'>tenancy</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dedicated</span><span class='tstring_end'>'</span></span>
|
1026
|
+
<span class='kw'>end</span></pre>
|
1027
|
+
</td>
|
1028
|
+
</tr>
|
1029
|
+
</table>
|
1030
|
+
</div>
|
1031
|
+
|
1032
|
+
<div class="method_details ">
|
1033
|
+
<h3 class="signature " id="hostname-instance_method">
|
1034
|
+
|
1035
|
+
#<strong>hostname</strong> ⇒ <tt>Object</tt>
|
814
1036
|
|
815
1037
|
|
816
1038
|
|
@@ -834,7 +1056,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
834
1056
|
|
835
1057
|
<span class='kw'>def</span> <span class='id identifier rubyid_hostname'>hostname</span>
|
836
1058
|
<span class='kw'>return</span> <span class='ivar'>@hostname</span> <span class='kw'>if</span> <span class='ivar'>@hostname</span>
|
837
|
-
<span class='ivar'>@hostname</span> <span class='op'>=</span> <span class='id identifier rubyid_find_string_tag'>find_string_tag</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_hostname_tag'>hostname_tag</span><span class='rparen'>)</span>
|
1059
|
+
<span class='ivar'>@hostname</span> <span class='op'>=</span> <span class='id identifier rubyid_find_string_tag'>find_string_tag</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_hostname_tag'><span class='object_link'><a href="Config.html#hostname_tag-class_method" title="EC2::Host::Config.hostname_tag (method)">hostname_tag</a></span></span><span class='rparen'>)</span>
|
838
1060
|
<span class='ivar'>@hostname</span> <span class='op'>=</span> <span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_private_dns_name'>private_dns_name</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='kw'>if</span> <span class='ivar'>@hostname</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
839
1061
|
<span class='ivar'>@hostname</span>
|
840
1062
|
<span class='kw'>end</span></pre>
|
@@ -846,7 +1068,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
846
1068
|
<div class="method_details ">
|
847
1069
|
<h3 class="signature " id="info-instance_method">
|
848
1070
|
|
849
|
-
|
1071
|
+
#<strong>info</strong> ⇒ <tt>Object</tt>
|
850
1072
|
|
851
1073
|
|
852
1074
|
|
@@ -858,20 +1080,20 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
858
1080
|
<pre class="lines">
|
859
1081
|
|
860
1082
|
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
1083
|
+
180
|
1084
|
+
181
|
1085
|
+
182
|
1086
|
+
183
|
1087
|
+
184
|
1088
|
+
185
|
1089
|
+
186
|
1090
|
+
187
|
1091
|
+
188
|
1092
|
+
189
|
1093
|
+
190</pre>
|
872
1094
|
</td>
|
873
1095
|
<td>
|
874
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1096
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 180</span>
|
875
1097
|
|
876
1098
|
<span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span>
|
877
1099
|
<span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_display_short_info?'>display_short_info?</span>
|
@@ -892,7 +1114,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
892
1114
|
<div class="method_details ">
|
893
1115
|
<h3 class="signature " id="inspect-instance_method">
|
894
1116
|
|
895
|
-
|
1117
|
+
#<strong>inspect</strong> ⇒ <tt>Object</tt>
|
896
1118
|
|
897
1119
|
|
898
1120
|
|
@@ -904,12 +1126,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
904
1126
|
<pre class="lines">
|
905
1127
|
|
906
1128
|
|
907
|
-
|
908
|
-
|
909
|
-
|
1129
|
+
192
|
1130
|
+
193
|
1131
|
+
194</pre>
|
910
1132
|
</td>
|
911
1133
|
<td>
|
912
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1134
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 192</span>
|
913
1135
|
|
914
1136
|
<span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
|
915
1137
|
<span class='id identifier rubyid_sprintf'>sprintf</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>#<Aws::Host::HostData %s></span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_info'>info</span>
|
@@ -922,7 +1144,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
922
1144
|
<div class="method_details ">
|
923
1145
|
<h3 class="signature " id="instance_id-instance_method">
|
924
1146
|
|
925
|
-
|
1147
|
+
#<strong>instance_id</strong> ⇒ <tt>Object</tt>
|
926
1148
|
|
927
1149
|
|
928
1150
|
|
@@ -947,12 +1169,42 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
947
1169
|
</td>
|
948
1170
|
</tr>
|
949
1171
|
</table>
|
1172
|
+
</div>
|
1173
|
+
|
1174
|
+
<div class="method_details ">
|
1175
|
+
<h3 class="signature " id="instance_lifecycle-instance_method">
|
1176
|
+
|
1177
|
+
#<strong>instance_lifecycle</strong> ⇒ <tt>Object</tt>
|
1178
|
+
|
1179
|
+
|
1180
|
+
|
1181
|
+
|
1182
|
+
|
1183
|
+
</h3><table class="source_code">
|
1184
|
+
<tr>
|
1185
|
+
<td>
|
1186
|
+
<pre class="lines">
|
1187
|
+
|
1188
|
+
|
1189
|
+
90
|
1190
|
+
91
|
1191
|
+
92</pre>
|
1192
|
+
</td>
|
1193
|
+
<td>
|
1194
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 90</span>
|
1195
|
+
|
1196
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_instance_lifecycle'>instance_lifecycle</span>
|
1197
|
+
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_instance_lifecycle'>instance_lifecycle</span>
|
1198
|
+
<span class='kw'>end</span></pre>
|
1199
|
+
</td>
|
1200
|
+
</tr>
|
1201
|
+
</table>
|
950
1202
|
</div>
|
951
1203
|
|
952
1204
|
<div class="method_details ">
|
953
1205
|
<h3 class="signature " id="instance_type-instance_method">
|
954
1206
|
|
955
|
-
|
1207
|
+
#<strong>instance_type</strong> ⇒ <tt>Object</tt>
|
956
1208
|
|
957
1209
|
|
958
1210
|
|
@@ -982,7 +1234,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
982
1234
|
<div class="method_details ">
|
983
1235
|
<h3 class="signature " id="ip-instance_method">
|
984
1236
|
|
985
|
-
|
1237
|
+
#<strong>ip</strong> ⇒ <tt>Object</tt>
|
986
1238
|
|
987
1239
|
|
988
1240
|
|
@@ -1005,12 +1257,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1005
1257
|
<pre class="lines">
|
1006
1258
|
|
1007
1259
|
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1260
|
+
95
|
1261
|
+
96
|
1262
|
+
97</pre>
|
1011
1263
|
</td>
|
1012
1264
|
<td>
|
1013
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1265
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 95</span>
|
1014
1266
|
|
1015
1267
|
<span class='kw'>def</span> <span class='id identifier rubyid_ip'>ip</span>
|
1016
1268
|
<span class='id identifier rubyid_private_ip_address'>private_ip_address</span>
|
@@ -1023,7 +1275,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1023
1275
|
<div class="method_details ">
|
1024
1276
|
<h3 class="signature " id="launch_time-instance_method">
|
1025
1277
|
|
1026
|
-
|
1278
|
+
#<strong>launch_time</strong> ⇒ <tt>Object</tt>
|
1027
1279
|
|
1028
1280
|
|
1029
1281
|
|
@@ -1053,7 +1305,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1053
1305
|
<div class="method_details ">
|
1054
1306
|
<h3 class="signature " id="match?-instance_method">
|
1055
1307
|
|
1056
|
-
|
1308
|
+
#<strong>match?</strong>(condition) ⇒ <tt>Boolean</tt>
|
1057
1309
|
|
1058
1310
|
|
1059
1311
|
|
@@ -1109,15 +1361,15 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1109
1361
|
<pre class="lines">
|
1110
1362
|
|
1111
1363
|
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1364
|
+
146
|
1365
|
+
147
|
1366
|
+
148
|
1367
|
+
149
|
1368
|
+
150
|
1369
|
+
151</pre>
|
1118
1370
|
</td>
|
1119
1371
|
<td>
|
1120
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1372
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 146</span>
|
1121
1373
|
|
1122
1374
|
<span class='kw'>def</span> <span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='id identifier rubyid_condition'>condition</span><span class='rparen'>)</span>
|
1123
1375
|
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_condition'>condition</span><span class='lbracket'>[</span><span class='symbol'>:state</span><span class='rbracket'>]</span> <span class='kw'>and</span> <span class='lparen'>(</span><span class='id identifier rubyid_terminated?'>terminated?</span> <span class='kw'>or</span> <span class='id identifier rubyid_shutting_down?'>shutting_down?</span><span class='rparen'>)</span>
|
@@ -1133,7 +1385,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1133
1385
|
<div class="method_details ">
|
1134
1386
|
<h3 class="signature " id="monitoring-instance_method">
|
1135
1387
|
|
1136
|
-
|
1388
|
+
#<strong>monitoring</strong> ⇒ <tt>Object</tt>
|
1137
1389
|
|
1138
1390
|
|
1139
1391
|
|
@@ -1163,7 +1415,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1163
1415
|
<div class="method_details ">
|
1164
1416
|
<h3 class="signature " id="pending?-instance_method">
|
1165
1417
|
|
1166
|
-
|
1418
|
+
#<strong>pending?</strong> ⇒ <tt>Boolean</tt>
|
1167
1419
|
|
1168
1420
|
|
1169
1421
|
|
@@ -1197,12 +1449,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1197
1449
|
<pre class="lines">
|
1198
1450
|
|
1199
1451
|
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1452
|
+
129
|
1453
|
+
130
|
1454
|
+
131</pre>
|
1203
1455
|
</td>
|
1204
1456
|
<td>
|
1205
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1457
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 129</span>
|
1206
1458
|
|
1207
1459
|
<span class='kw'>def</span> <span class='id identifier rubyid_pending?'>pending?</span>
|
1208
1460
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>pending</span><span class='tstring_end'>"</span></span>
|
@@ -1210,12 +1462,42 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1210
1462
|
</td>
|
1211
1463
|
</tr>
|
1212
1464
|
</table>
|
1465
|
+
</div>
|
1466
|
+
|
1467
|
+
<div class="method_details ">
|
1468
|
+
<h3 class="signature " id="placement-instance_method">
|
1469
|
+
|
1470
|
+
#<strong>placement</strong> ⇒ <tt>Object</tt>
|
1471
|
+
|
1472
|
+
|
1473
|
+
|
1474
|
+
|
1475
|
+
|
1476
|
+
</h3><table class="source_code">
|
1477
|
+
<tr>
|
1478
|
+
<td>
|
1479
|
+
<pre class="lines">
|
1480
|
+
|
1481
|
+
|
1482
|
+
78
|
1483
|
+
79
|
1484
|
+
80</pre>
|
1485
|
+
</td>
|
1486
|
+
<td>
|
1487
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 78</span>
|
1488
|
+
|
1489
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_placement'>placement</span>
|
1490
|
+
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_placement'>placement</span>
|
1491
|
+
<span class='kw'>end</span></pre>
|
1492
|
+
</td>
|
1493
|
+
</tr>
|
1494
|
+
</table>
|
1213
1495
|
</div>
|
1214
1496
|
|
1215
1497
|
<div class="method_details ">
|
1216
1498
|
<h3 class="signature " id="private_ip_address-instance_method">
|
1217
1499
|
|
1218
|
-
|
1500
|
+
#<strong>private_ip_address</strong> ⇒ <tt>Object</tt>
|
1219
1501
|
|
1220
1502
|
|
1221
1503
|
|
@@ -1245,7 +1527,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1245
1527
|
<div class="method_details ">
|
1246
1528
|
<h3 class="signature " id="public_ip_address-instance_method">
|
1247
1529
|
|
1248
|
-
|
1530
|
+
#<strong>public_ip_address</strong> ⇒ <tt>Object</tt>
|
1249
1531
|
|
1250
1532
|
|
1251
1533
|
|
@@ -1275,7 +1557,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1275
1557
|
<div class="method_details ">
|
1276
1558
|
<h3 class="signature " id="region-instance_method">
|
1277
1559
|
|
1278
|
-
|
1560
|
+
#<strong>region</strong> ⇒ <tt>Object</tt>
|
1279
1561
|
|
1280
1562
|
|
1281
1563
|
|
@@ -1295,7 +1577,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1295
1577
|
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 32</span>
|
1296
1578
|
|
1297
1579
|
<span class='kw'>def</span> <span class='id identifier rubyid_region'>region</span>
|
1298
|
-
<span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_aws_region'>aws_region</span>
|
1580
|
+
<span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_aws_region'><span class='object_link'><a href="Config.html#aws_region-class_method" title="EC2::Host::Config.aws_region (method)">aws_region</a></span></span>
|
1299
1581
|
<span class='kw'>end</span></pre>
|
1300
1582
|
</td>
|
1301
1583
|
</tr>
|
@@ -1305,7 +1587,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1305
1587
|
<div class="method_details ">
|
1306
1588
|
<h3 class="signature " id="roles-instance_method">
|
1307
1589
|
|
1308
|
-
|
1590
|
+
#<strong>roles</strong> ⇒ <tt>Object</tt>
|
1309
1591
|
|
1310
1592
|
|
1311
1593
|
|
@@ -1328,8 +1610,8 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1328
1610
|
|
1329
1611
|
<span class='kw'>def</span> <span class='id identifier rubyid_roles'>roles</span>
|
1330
1612
|
<span class='kw'>return</span> <span class='ivar'>@roles</span> <span class='kw'>if</span> <span class='ivar'>@roles</span>
|
1331
|
-
<span class='id identifier rubyid_roles'>roles</span> <span class='op'>=</span> <span class='id identifier rubyid_find_array_tag'>find_array_tag</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_roles_tag'>roles_tag</span><span class='rparen'>)</span>
|
1332
|
-
<span class='ivar'>@roles</span> <span class='op'>=</span> <span class='id identifier rubyid_roles'>roles</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_role'>role</span><span class='op'>|</span> <span class='const'>EC2</span><span class='op'>::</span><span class='const'>Host</span><span class='op'>::</span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_role'>role</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
1613
|
+
<span class='id identifier rubyid_roles'>roles</span> <span class='op'>=</span> <span class='id identifier rubyid_find_array_tag'>find_array_tag</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_roles_tag'><span class='object_link'><a href="Config.html#roles_tag-class_method" title="EC2::Host::Config.roles_tag (method)">roles_tag</a></span></span><span class='rparen'>)</span>
|
1614
|
+
<span class='ivar'>@roles</span> <span class='op'>=</span> <span class='id identifier rubyid_roles'>roles</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_role'>role</span><span class='op'>|</span> <span class='const'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="RoleData.html" title="EC2::Host::RoleData (class)">RoleData</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build'><span class='object_link'><a href="RoleData.html#build-class_method" title="EC2::Host::RoleData.build (method)">build</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_role'>role</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
1333
1615
|
<span class='kw'>end</span></pre>
|
1334
1616
|
</td>
|
1335
1617
|
</tr>
|
@@ -1339,7 +1621,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1339
1621
|
<div class="method_details ">
|
1340
1622
|
<h3 class="signature " id="running?-instance_method">
|
1341
1623
|
|
1342
|
-
|
1624
|
+
#<strong>running?</strong> ⇒ <tt>Boolean</tt>
|
1343
1625
|
|
1344
1626
|
|
1345
1627
|
|
@@ -1373,12 +1655,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1373
1655
|
<pre class="lines">
|
1374
1656
|
|
1375
1657
|
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1658
|
+
125
|
1659
|
+
126
|
1660
|
+
127</pre>
|
1379
1661
|
</td>
|
1380
1662
|
<td>
|
1381
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1663
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 125</span>
|
1382
1664
|
|
1383
1665
|
<span class='kw'>def</span> <span class='id identifier rubyid_running?'>running?</span>
|
1384
1666
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>running</span><span class='tstring_end'>"</span></span>
|
@@ -1391,7 +1673,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1391
1673
|
<div class="method_details ">
|
1392
1674
|
<h3 class="signature " id="shutting_down?-instance_method">
|
1393
1675
|
|
1394
|
-
|
1676
|
+
#<strong>shutting_down?</strong> ⇒ <tt>Boolean</tt>
|
1395
1677
|
|
1396
1678
|
|
1397
1679
|
|
@@ -1425,12 +1707,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1425
1707
|
<pre class="lines">
|
1426
1708
|
|
1427
1709
|
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1710
|
+
113
|
1711
|
+
114
|
1712
|
+
115</pre>
|
1431
1713
|
</td>
|
1432
1714
|
<td>
|
1433
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1715
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 113</span>
|
1434
1716
|
|
1435
1717
|
<span class='kw'>def</span> <span class='id identifier rubyid_shutting_down?'>shutting_down?</span>
|
1436
1718
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>shutting-down</span><span class='tstring_end'>"</span></span>
|
@@ -1438,12 +1720,68 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1438
1720
|
</td>
|
1439
1721
|
</tr>
|
1440
1722
|
</table>
|
1723
|
+
</div>
|
1724
|
+
|
1725
|
+
<div class="method_details ">
|
1726
|
+
<h3 class="signature " id="spot?-instance_method">
|
1727
|
+
|
1728
|
+
#<strong>spot?</strong> ⇒ <tt>Boolean</tt>
|
1729
|
+
|
1730
|
+
|
1731
|
+
|
1732
|
+
<span class="aliases">Also known as:
|
1733
|
+
<span class="names"><span id='spot-instance_method'>spot</span></span>
|
1734
|
+
</span>
|
1735
|
+
|
1736
|
+
|
1737
|
+
|
1738
|
+
</h3><div class="docstring">
|
1739
|
+
<div class="discussion">
|
1740
|
+
|
1741
|
+
|
1742
|
+
</div>
|
1743
|
+
</div>
|
1744
|
+
<div class="tags">
|
1745
|
+
|
1746
|
+
<p class="tag_title">Returns:</p>
|
1747
|
+
<ul class="return">
|
1748
|
+
|
1749
|
+
<li>
|
1750
|
+
|
1751
|
+
|
1752
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1753
|
+
|
1754
|
+
|
1755
|
+
|
1756
|
+
</li>
|
1757
|
+
|
1758
|
+
</ul>
|
1759
|
+
|
1760
|
+
</div><table class="source_code">
|
1761
|
+
<tr>
|
1762
|
+
<td>
|
1763
|
+
<pre class="lines">
|
1764
|
+
|
1765
|
+
|
1766
|
+
133
|
1767
|
+
134
|
1768
|
+
135</pre>
|
1769
|
+
</td>
|
1770
|
+
<td>
|
1771
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 133</span>
|
1772
|
+
|
1773
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_spot?'>spot?</span>
|
1774
|
+
<span class='id identifier rubyid_instance_lifecycle'>instance_lifecycle</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>spot</span><span class='tstring_end'>'</span></span>
|
1775
|
+
<span class='kw'>end</span></pre>
|
1776
|
+
</td>
|
1777
|
+
</tr>
|
1778
|
+
</table>
|
1441
1779
|
</div>
|
1442
1780
|
|
1443
1781
|
<div class="method_details ">
|
1444
1782
|
<h3 class="signature " id="start_date-instance_method">
|
1445
1783
|
|
1446
|
-
|
1784
|
+
#<strong>start_date</strong> ⇒ <tt>Object</tt>
|
1447
1785
|
|
1448
1786
|
|
1449
1787
|
|
@@ -1466,12 +1804,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1466
1804
|
<pre class="lines">
|
1467
1805
|
|
1468
1806
|
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1807
|
+
100
|
1808
|
+
101
|
1809
|
+
102</pre>
|
1472
1810
|
</td>
|
1473
1811
|
<td>
|
1474
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1812
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 100</span>
|
1475
1813
|
|
1476
1814
|
<span class='kw'>def</span> <span class='id identifier rubyid_start_date'>start_date</span>
|
1477
1815
|
<span class='id identifier rubyid_launch_time'>launch_time</span>
|
@@ -1484,7 +1822,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1484
1822
|
<div class="method_details ">
|
1485
1823
|
<h3 class="signature " id="state-instance_method">
|
1486
1824
|
|
1487
|
-
|
1825
|
+
#<strong>state</strong> ⇒ <tt>Object</tt>
|
1488
1826
|
|
1489
1827
|
|
1490
1828
|
|
@@ -1512,28 +1850,50 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1512
1850
|
</div>
|
1513
1851
|
|
1514
1852
|
<div class="method_details ">
|
1515
|
-
<h3 class="signature " id="stopped
|
1853
|
+
<h3 class="signature " id="stopped?-instance_method">
|
1516
1854
|
|
1517
|
-
|
1855
|
+
#<strong>stopped?</strong> ⇒ <tt>Boolean</tt>
|
1518
1856
|
|
1519
1857
|
|
1520
1858
|
|
1521
1859
|
|
1522
1860
|
|
1523
|
-
</h3><
|
1861
|
+
</h3><div class="docstring">
|
1862
|
+
<div class="discussion">
|
1863
|
+
|
1864
|
+
|
1865
|
+
</div>
|
1866
|
+
</div>
|
1867
|
+
<div class="tags">
|
1868
|
+
|
1869
|
+
<p class="tag_title">Returns:</p>
|
1870
|
+
<ul class="return">
|
1871
|
+
|
1872
|
+
<li>
|
1873
|
+
|
1874
|
+
|
1875
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1876
|
+
|
1877
|
+
|
1878
|
+
|
1879
|
+
</li>
|
1880
|
+
|
1881
|
+
</ul>
|
1882
|
+
|
1883
|
+
</div><table class="source_code">
|
1524
1884
|
<tr>
|
1525
1885
|
<td>
|
1526
1886
|
<pre class="lines">
|
1527
1887
|
|
1528
1888
|
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1889
|
+
121
|
1890
|
+
122
|
1891
|
+
123</pre>
|
1532
1892
|
</td>
|
1533
1893
|
<td>
|
1534
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1894
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 121</span>
|
1535
1895
|
|
1536
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_stopped'>stopped
|
1896
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_stopped?'>stopped?</span>
|
1537
1897
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>stopped</span><span class='tstring_end'>"</span></span>
|
1538
1898
|
<span class='kw'>end</span></pre>
|
1539
1899
|
</td>
|
@@ -1544,7 +1904,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1544
1904
|
<div class="method_details ">
|
1545
1905
|
<h3 class="signature " id="stopping?-instance_method">
|
1546
1906
|
|
1547
|
-
|
1907
|
+
#<strong>stopping?</strong> ⇒ <tt>Boolean</tt>
|
1548
1908
|
|
1549
1909
|
|
1550
1910
|
|
@@ -1578,12 +1938,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1578
1938
|
<pre class="lines">
|
1579
1939
|
|
1580
1940
|
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1941
|
+
117
|
1942
|
+
118
|
1943
|
+
119</pre>
|
1584
1944
|
</td>
|
1585
1945
|
<td>
|
1586
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
1946
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 117</span>
|
1587
1947
|
|
1588
1948
|
<span class='kw'>def</span> <span class='id identifier rubyid_stopping?'>stopping?</span>
|
1589
1949
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>stopping</span><span class='tstring_end'>"</span></span>
|
@@ -1591,12 +1951,42 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1591
1951
|
</td>
|
1592
1952
|
</tr>
|
1593
1953
|
</table>
|
1954
|
+
</div>
|
1955
|
+
|
1956
|
+
<div class="method_details ">
|
1957
|
+
<h3 class="signature " id="tenancy-instance_method">
|
1958
|
+
|
1959
|
+
#<strong>tenancy</strong> ⇒ <tt>Object</tt>
|
1960
|
+
|
1961
|
+
|
1962
|
+
|
1963
|
+
|
1964
|
+
|
1965
|
+
</h3><table class="source_code">
|
1966
|
+
<tr>
|
1967
|
+
<td>
|
1968
|
+
<pre class="lines">
|
1969
|
+
|
1970
|
+
|
1971
|
+
86
|
1972
|
+
87
|
1973
|
+
88</pre>
|
1974
|
+
</td>
|
1975
|
+
<td>
|
1976
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 86</span>
|
1977
|
+
|
1978
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_tenancy'>tenancy</span>
|
1979
|
+
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_placement'>placement</span><span class='period'>.</span><span class='id identifier rubyid_tenancy'>tenancy</span>
|
1980
|
+
<span class='kw'>end</span></pre>
|
1981
|
+
</td>
|
1982
|
+
</tr>
|
1983
|
+
</table>
|
1594
1984
|
</div>
|
1595
1985
|
|
1596
1986
|
<div class="method_details ">
|
1597
1987
|
<h3 class="signature " id="terminated?-instance_method">
|
1598
1988
|
|
1599
|
-
|
1989
|
+
#<strong>terminated?</strong> ⇒ <tt>Boolean</tt>
|
1600
1990
|
|
1601
1991
|
|
1602
1992
|
|
@@ -1630,12 +2020,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1630
2020
|
<pre class="lines">
|
1631
2021
|
|
1632
2022
|
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
2023
|
+
109
|
2024
|
+
110
|
2025
|
+
111</pre>
|
1636
2026
|
</td>
|
1637
2027
|
<td>
|
1638
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
2028
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 109</span>
|
1639
2029
|
|
1640
2030
|
<span class='kw'>def</span> <span class='id identifier rubyid_terminated?'>terminated?</span>
|
1641
2031
|
<span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>terminated</span><span class='tstring_end'>"</span></span>
|
@@ -1648,7 +2038,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1648
2038
|
<div class="method_details ">
|
1649
2039
|
<h3 class="signature " id="to_hash-instance_method">
|
1650
2040
|
|
1651
|
-
|
2041
|
+
#<strong>to_hash</strong> ⇒ <tt>Object</tt>
|
1652
2042
|
|
1653
2043
|
|
1654
2044
|
|
@@ -1660,49 +2050,52 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1660
2050
|
<pre class="lines">
|
1661
2051
|
|
1662
2052
|
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
2053
|
+
153
|
2054
|
+
154
|
2055
|
+
155
|
2056
|
+
156
|
2057
|
+
157
|
2058
|
+
158
|
2059
|
+
159
|
2060
|
+
160
|
2061
|
+
161
|
2062
|
+
162
|
2063
|
+
163
|
2064
|
+
164
|
2065
|
+
165
|
2066
|
+
166
|
2067
|
+
167
|
2068
|
+
168
|
2069
|
+
169
|
2070
|
+
170
|
2071
|
+
171
|
2072
|
+
172
|
2073
|
+
173
|
2074
|
+
174
|
2075
|
+
175
|
2076
|
+
176
|
2077
|
+
177
|
2078
|
+
178</pre>
|
1687
2079
|
</td>
|
1688
2080
|
<td>
|
1689
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
2081
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 153</span>
|
1690
2082
|
|
1691
2083
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
|
1692
2084
|
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1693
2085
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>hostname</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_hostname'>hostname</span><span class='comma'>,</span>
|
1694
2086
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>roles</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_roles'>roles</span><span class='comma'>,</span>
|
1695
2087
|
<span class='rbrace'>}</span>
|
1696
|
-
<span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_string_tags'>optional_string_tags</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
|
1697
|
-
<span class='id identifier rubyid_field'>field</span> <span class='op'>=</span> <span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span>
|
2088
|
+
<span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_string_tags'><span class='object_link'><a href="Config.html#optional_string_tags-class_method" title="EC2::Host::Config.optional_string_tags (method)">optional_string_tags</a></span></span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
|
2089
|
+
<span class='id identifier rubyid_field'>field</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="EC2::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span>
|
1698
2090
|
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='id identifier rubyid_field'>field</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_field'>field</span><span class='rparen'>)</span>
|
1699
2091
|
<span class='kw'>end</span>
|
1700
|
-
<span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_array_tags'>optional_array_tags</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
|
1701
|
-
<span class='id identifier rubyid_field'>field</span> <span class='op'>=</span> <span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span>
|
2092
|
+
<span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_array_tags'><span class='object_link'><a href="Config.html#optional_array_tags-class_method" title="EC2::Host::Config.optional_array_tags (method)">optional_array_tags</a></span></span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
|
2093
|
+
<span class='id identifier rubyid_field'>field</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="EC2::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span>
|
1702
2094
|
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='id identifier rubyid_field'>field</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_field'>field</span><span class='rparen'>)</span>
|
1703
2095
|
<span class='kw'>end</span>
|
1704
2096
|
<span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span>
|
1705
2097
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>region</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_region'>region</span><span class='comma'>,</span>
|
2098
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>availability_zone</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_availability_zone'>availability_zone</span><span class='comma'>,</span>
|
1706
2099
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>instance_id</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_instance_id'>instance_id</span><span class='comma'>,</span>
|
1707
2100
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>instance_type</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_instance_type'>instance_type</span><span class='comma'>,</span>
|
1708
2101
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>private_ip_address</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_private_ip_address'>private_ip_address</span><span class='comma'>,</span>
|
@@ -1710,6 +2103,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1710
2103
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>launch_time</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_launch_time'>launch_time</span><span class='comma'>,</span>
|
1711
2104
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>state</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_state'>state</span><span class='comma'>,</span>
|
1712
2105
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>monitoring</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_monitoring'>monitoring</span><span class='comma'>,</span>
|
2106
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>spot</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='id identifier rubyid_spot'>spot</span><span class='comma'>,</span>
|
1713
2107
|
<span class='rparen'>)</span>
|
1714
2108
|
<span class='kw'>end</span></pre>
|
1715
2109
|
</td>
|
@@ -1720,7 +2114,7 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1720
2114
|
<div class="method_details ">
|
1721
2115
|
<h3 class="signature " id="usages-instance_method">
|
1722
2116
|
|
1723
|
-
|
2117
|
+
#<strong>usages</strong> ⇒ <tt>Object</tt>
|
1724
2118
|
|
1725
2119
|
|
1726
2120
|
|
@@ -1743,12 +2137,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1743
2137
|
<pre class="lines">
|
1744
2138
|
|
1745
2139
|
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
2140
|
+
105
|
2141
|
+
106
|
2142
|
+
107</pre>
|
1749
2143
|
</td>
|
1750
2144
|
<td>
|
1751
|
-
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line
|
2145
|
+
<pre class="code"><span class="info file"># File 'lib/ec2/host/host_data.rb', line 105</span>
|
1752
2146
|
|
1753
2147
|
<span class='kw'>def</span> <span class='id identifier rubyid_usages'>usages</span>
|
1754
2148
|
<span class='id identifier rubyid_roles'>roles</span>
|
@@ -1762,11 +2156,12 @@ href="'AWS_REGION'">ENV</a>, :instance, # Aws::EC2::Types::Instance itself</p>
|
|
1762
2156
|
|
1763
2157
|
</div>
|
1764
2158
|
|
1765
|
-
|
1766
|
-
Generated on
|
2159
|
+
<div id="footer">
|
2160
|
+
Generated on Sat May 20 00:23:53 2017 by
|
1767
2161
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1768
|
-
0.
|
2162
|
+
0.9.9 (ruby-2.4.1).
|
1769
2163
|
</div>
|
1770
2164
|
|
2165
|
+
</div>
|
1771
2166
|
</body>
|
1772
2167
|
</html>
|