aptible-api 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/api/account.rb +2 -0
- data/lib/aptible/api/aws_instance.rb +18 -0
- data/lib/aptible/api/operation.rb +2 -2
- data/lib/aptible/api/resource.rb +1 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11486a74413506d5253d3aa80d89010b6c59684e6b05047e7a375facce6e473d
|
4
|
+
data.tar.gz: 9790aaccc3c86d4eeb67f93d053ab54dd5794a50bc78649bad4cc7a2dfbf2240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56146c4e1b43e32ab1b991745a51b916c3603ee76c181c9427595ea32acde2c25298cf3b0f8f972a32e349bfc6bb23bc1ef201cbd104a85184a781e8c4636b3e
|
7
|
+
data.tar.gz: 3c1462715bc56a7e2b0e925c8a7f01ee95529a1ddcea01a0e7304e8bd328c1533a0690cb4b5133912b061fb18a59278f9353a6464cb76e0f0463f240d024b3cb
|
data/lib/aptible/api/account.rb
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Api
|
3
|
+
class AwsInstance < Resource
|
4
|
+
belongs_to :stack
|
5
|
+
has_many :operations
|
6
|
+
|
7
|
+
field :id
|
8
|
+
field :instance_id
|
9
|
+
field :ami
|
10
|
+
field :instance_type
|
11
|
+
field :availability_zone
|
12
|
+
field :name
|
13
|
+
field :layers
|
14
|
+
field :created_at, type: Time
|
15
|
+
field :updated_at, type: Time
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -3,8 +3,9 @@ require 'aptible/auth'
|
|
3
3
|
module Aptible
|
4
4
|
module Api
|
5
5
|
class Operation < Resource
|
6
|
-
belongs_to :account
|
7
6
|
belongs_to :resource
|
7
|
+
belongs_to :account
|
8
|
+
belongs_to :destination_account
|
8
9
|
|
9
10
|
has_many :ssh_portal_connections
|
10
11
|
has_many :ephemeral_sessions
|
@@ -25,7 +26,6 @@ module Aptible
|
|
25
26
|
field :command
|
26
27
|
field :destination_region
|
27
28
|
field :interactive
|
28
|
-
belongs_to :destination_account
|
29
29
|
field :user_name
|
30
30
|
field :user_email
|
31
31
|
field :immediate
|
data/lib/aptible/api/resource.rb
CHANGED
data/lib/aptible/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptible-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-auth
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- lib/aptible/api/account.rb
|
186
186
|
- lib/aptible/api/agent.rb
|
187
187
|
- lib/aptible/api/app.rb
|
188
|
+
- lib/aptible/api/aws_instance.rb
|
188
189
|
- lib/aptible/api/backup.rb
|
189
190
|
- lib/aptible/api/backup_retention_policy.rb
|
190
191
|
- lib/aptible/api/certificate.rb
|