aptible-api 1.4.1 → 1.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19ed0244d899ffac431078191656cc1981e883cb69465d366ea33732089f031e
4
- data.tar.gz: e115ce360384e9f1b9a91f7f9019cb797e838ccf56a594960dbacbc8aa303376
3
+ metadata.gz: d19a61043a403f505c4050a33532eb2fea734d349efee693c3f7b72e4815f548
4
+ data.tar.gz: b268ed3a52bbfc574709fce5a739a2aa0ac5f9d3a79dcc97185e8fc7c5abe48a
5
5
  SHA512:
6
- metadata.gz: 1f0d2e64f1eae7e0cc089956520c087596adf0b9d7e0f8c84d87c1140b2a41dba511170972a66c620065d8504bec12bd667fe2dd53329738a16b9d4a64f9cbc9
7
- data.tar.gz: 7782b94d431361efaa6e769ea411ff2d271f624517dbc3acd624b20e0054e60f122b4b9f66ddecb6f0496615aa01b3a326cca1bcde0cea62794dd96c0545b0a3
6
+ metadata.gz: 76caf9d46f46cdc1835f9737540be2b03ba96c75d64f854b1ee1afed088b74fa201eb70573ad0868f62675200e71c78f71b8d65d43585cb71c9a23c222f979ae
7
+ data.tar.gz: 7070761156da8f9333938514e8bd901056e69080f070dec38fc548eae9d12788b948ad490c8f949d4daeb4647ffb8b6607fee314dcd9b66fa9386eccca80fe4f
@@ -10,6 +10,8 @@ module Aptible
10
10
  has_many :certificates
11
11
  has_many :databases
12
12
  has_many :disks
13
+ has_many :persistent_disks
14
+ has_many :disk_attachments
13
15
  has_many :services
14
16
  has_many :permissions
15
17
  has_many :metric_drains
@@ -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
@@ -8,6 +8,7 @@ module Aptible
8
8
  has_many :vhosts
9
9
  has_many :operations
10
10
  has_many :releases
11
+ has_many :disk_attachments
11
12
 
12
13
  field :id
13
14
  field :handle
@@ -4,6 +4,7 @@ module Aptible
4
4
  belongs_to :stack
5
5
  belongs_to :lead_instance
6
6
  has_many :instance_layer_memberships
7
+ has_many :aws_instances
7
8
 
8
9
  field :id
9
10
  field :name
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.4.1'.freeze
3
+ VERSION = '1.4.3'.freeze
4
4
  end
5
5
  end
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.1
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-06-01 00:00:00.000000000 Z
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