aptible-api 1.4.1 → 1.4.3
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/disk_attachment.rb +15 -0
- data/lib/aptible/api/persistent_disk.rb +24 -0
- data/lib/aptible/api/service.rb +1 -0
- data/lib/aptible/api/stack_layer.rb +1 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d19a61043a403f505c4050a33532eb2fea734d349efee693c3f7b72e4815f548
|
4
|
+
data.tar.gz: b268ed3a52bbfc574709fce5a739a2aa0ac5f9d3a79dcc97185e8fc7c5abe48a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76caf9d46f46cdc1835f9737540be2b03ba96c75d64f854b1ee1afed088b74fa201eb70573ad0868f62675200e71c78f71b8d65d43585cb71c9a23c222f979ae
|
7
|
+
data.tar.gz: 7070761156da8f9333938514e8bd901056e69080f070dec38fc548eae9d12788b948ad490c8f949d4daeb4647ffb8b6607fee314dcd9b66fa9386eccca80fe4f
|
data/lib/aptible/api/account.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Api
|
3
|
+
class DiskAttachment < Resource
|
4
|
+
belongs_to :account
|
5
|
+
embeds_one :persistent_disk
|
6
|
+
embeds_one :service
|
7
|
+
|
8
|
+
field :id
|
9
|
+
field :mount_point
|
10
|
+
field :created_at, type: Time
|
11
|
+
field :updated_at, type: Time
|
12
|
+
field :deleted_at, type: Time
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Api
|
3
|
+
class PersistentDisk < Resource
|
4
|
+
belongs_to :account
|
5
|
+
has_many :operations
|
6
|
+
has_many :disk_attachments
|
7
|
+
|
8
|
+
field :id
|
9
|
+
field :handle
|
10
|
+
field :status
|
11
|
+
field :disk_type
|
12
|
+
field :size
|
13
|
+
field :provisioned_iops
|
14
|
+
field :aws_resource_id
|
15
|
+
field :kms_arn
|
16
|
+
field :modification_progress
|
17
|
+
field :created_at, type: Time
|
18
|
+
field :updated_at, type: Time
|
19
|
+
field :deleted_at, type: Time
|
20
|
+
field :baseline_iops
|
21
|
+
field :availability_zone
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/aptible/api/service.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.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-auth
|
@@ -214,6 +214,7 @@ files:
|
|
214
214
|
- lib/aptible/api/database_credential.rb
|
215
215
|
- lib/aptible/api/database_image.rb
|
216
216
|
- lib/aptible/api/disk.rb
|
217
|
+
- lib/aptible/api/disk_attachment.rb
|
217
218
|
- lib/aptible/api/ephemeral_container.rb
|
218
219
|
- lib/aptible/api/ephemeral_session.rb
|
219
220
|
- lib/aptible/api/image.rb
|
@@ -223,6 +224,7 @@ files:
|
|
223
224
|
- lib/aptible/api/metric_drain.rb
|
224
225
|
- lib/aptible/api/operation.rb
|
225
226
|
- lib/aptible/api/permission.rb
|
227
|
+
- lib/aptible/api/persistent_disk.rb
|
226
228
|
- lib/aptible/api/plan.rb
|
227
229
|
- lib/aptible/api/prerelease_command.rb
|
228
230
|
- lib/aptible/api/release.rb
|