From bd61260eac826e153a2a8626a8523c833de95d88 Mon Sep 17 00:00:00 2001 From: Erik Zilber Date: Fri, 5 Jul 2024 13:41:47 -0400 Subject: [PATCH] Migrated instance_ips to kernels to request helpers (#537) * Migrated instance_ips to kernels * Reran fixtures * Trigger workflows * Reran more fixtures * Fixed flaky test * Added missing paged response structs --- instance_ips.go | 49 +- instance_snapshots.go | 46 +- instance_stats.go | 17 +- instance_volumes.go | 31 +- instances.go | 150 +--- kernels.go | 49 +- paged_response_structs.go | 9 + request_helpers.go | 17 +- test/integration/cache_test.go | 3 +- test/integration/example_integration_test.go | 251 ------ test/integration/fixtures/Example.yaml | 688 --------------- .../fixtures/ExampleListKernels_all.yaml | 10 +- .../ExampleListKernels_allWithOpts.yaml | 10 +- .../fixtures/ExampleListKernels_filtered.yaml | 4 +- .../fixtures/ExampleListKernels_page1.yaml | 2 +- .../fixtures/TestCache_Expiration.yaml | 792 ++++++++++-------- .../fixtures/TestInstanceBackups_List.yaml | 777 +++++++++-------- .../fixtures/TestInstance_Clone.yaml | 388 ++++++--- .../TestInstance_CreateUnderFirewall.yaml | 383 +++++---- ...estInstance_Disk_ListMultiple_Primary.yaml | 539 +++++++----- ...tInstance_Disk_ListMultiple_Secondary.yaml | 539 ++++++------ .../TestInstance_Disk_ResetPassword.yaml | 422 ++++++---- .../fixtures/TestInstance_Disk_Resize.yaml | 202 +++-- .../fixtures/TestInstance_Disks_List.yaml | 81 +- .../fixtures/TestInstance_Rebuild.yaml | 411 +++++---- .../fixtures/TestInstance_Resize.yaml | 243 ++---- .../fixtures/TestInstance_Volumes_List.yaml | 359 ++++---- .../TestInstance_Volumes_List_Instance.yaml | 643 ++++++++++---- .../fixtures/TestInstance_withMetadata.yaml | 372 ++++---- .../fixtures/TestInstance_withPG.yaml | 394 +++++++-- .../fixtures/TestInstances_List.yaml | 102 +-- test/integration/instances_test.go | 16 +- test/integration/volumes_test.go | 30 + 33 files changed, 4174 insertions(+), 3855 deletions(-) delete mode 100644 test/integration/fixtures/Example.yaml diff --git a/instance_ips.go b/instance_ips.go index bb3eb2364..0d86bd91c 100644 --- a/instance_ips.go +++ b/instance_ips.go @@ -2,9 +2,6 @@ package linodego import ( "context" - "encoding/json" - "fmt" - "net/url" ) // InstanceIPAddressResponse contains the IPv4 and IPv6 details for an Instance @@ -94,26 +91,24 @@ const ( // GetInstanceIPAddresses gets the IPAddresses for a Linode instance func (c *Client) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*InstanceIPAddressResponse, error) { - e := fmt.Sprintf("linode/instances/%d/ips", linodeID) - req := c.R(ctx).SetResult(&InstanceIPAddressResponse{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/ips", linodeID) + response, err := doGETRequest[InstanceIPAddressResponse](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceIPAddressResponse), nil + + return response, nil } // GetInstanceIPAddress gets the IPAddress for a Linode instance matching a supplied IP address func (c *Client) GetInstanceIPAddress(ctx context.Context, linodeID int, ipaddress string) (*InstanceIP, error) { - ipaddress = url.PathEscape(ipaddress) - e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipaddress) - req := c.R(ctx).SetResult(&InstanceIP{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/ips/%s", linodeID, ipaddress) + response, err := doGETRequest[InstanceIP](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceIP), nil + return response, nil } // AddInstanceIPAddress adds a public or private IP to a Linode instance @@ -123,42 +118,28 @@ func (c *Client) AddInstanceIPAddress(ctx context.Context, linodeID int, public Public bool `json:"public"` }{"ipv4", public} - body, err := json.Marshal(instanceipRequest) - if err != nil { - return nil, err - } - - e := fmt.Sprintf("linode/instances/%d/ips", linodeID) - req := c.R(ctx).SetResult(&InstanceIP{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + e := formatAPIPath("linode/instances/%d/ips", linodeID) + response, err := doPOSTRequest[InstanceIP](ctx, c, e, instanceipRequest) if err != nil { return nil, err } - return r.Result().(*InstanceIP), nil + return response, nil } // UpdateInstanceIPAddress updates the IPAddress with the specified instance id and IP address func (c *Client) UpdateInstanceIPAddress(ctx context.Context, linodeID int, ipAddress string, opts IPAddressUpdateOptions) (*InstanceIP, error) { - body, err := json.Marshal(opts) + e := formatAPIPath("linode/instances/%d/ips/%s", linodeID, ipAddress) + response, err := doPUTRequest[InstanceIP](ctx, c, e, opts) if err != nil { return nil, err } - ipAddress = url.PathEscape(ipAddress) - - e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipAddress) - req := c.R(ctx).SetResult(&InstanceIP{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Put(e)) - if err != nil { - return nil, err - } - return r.Result().(*InstanceIP), nil + return response, nil } func (c *Client) DeleteInstanceIPAddress(ctx context.Context, linodeID int, ipAddress string) error { - ipAddress = url.PathEscape(ipAddress) - e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipAddress) - _, err := coupleAPIErrors(c.R(ctx).Delete(e)) + e := formatAPIPath("linode/instances/%d/ips/%s", linodeID, ipAddress) + err := doDELETERequest(ctx, c, e) return err } diff --git a/instance_snapshots.go b/instance_snapshots.go index fd81e1017..6a58dced7 100644 --- a/instance_snapshots.go +++ b/instance_snapshots.go @@ -3,7 +3,6 @@ package linodego import ( "context" "encoding/json" - "fmt" "time" "github.com/linode/linodego/internal/parseabletime" @@ -88,64 +87,57 @@ func (i *InstanceSnapshot) UnmarshalJSON(b []byte) error { // GetInstanceSnapshot gets the snapshot with the provided ID func (c *Client) GetInstanceSnapshot(ctx context.Context, linodeID int, snapshotID int) (*InstanceSnapshot, error) { - e := fmt.Sprintf("linode/instances/%d/backups/%d", linodeID, snapshotID) - req := c.R(ctx).SetResult(&InstanceSnapshot{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/backups/%d", linodeID, snapshotID) + response, err := doGETRequest[InstanceSnapshot](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceSnapshot), nil + + return response, nil } // CreateInstanceSnapshot Creates or Replaces the snapshot Backup of a Linode. If a previous snapshot exists for this Linode, it will be deleted. func (c *Client) CreateInstanceSnapshot(ctx context.Context, linodeID int, label string) (*InstanceSnapshot, error) { - body, err := json.Marshal(map[string]string{"label": label}) - if err != nil { - return nil, err - } - e := fmt.Sprintf("linode/instances/%d/backups", linodeID) - req := c.R(ctx).SetResult(&InstanceSnapshot{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + opts := map[string]string{"label": label} + + e := formatAPIPath("linode/instances/%d/backups", linodeID) + response, err := doPOSTRequest[InstanceSnapshot](ctx, c, e, opts) if err != nil { return nil, err } - return r.Result().(*InstanceSnapshot), nil + return response, nil } // GetInstanceBackups gets the Instance's available Backups. // This is not called ListInstanceBackups because a single object is returned, matching the API response. func (c *Client) GetInstanceBackups(ctx context.Context, linodeID int) (*InstanceBackupsResponse, error) { - e := fmt.Sprintf("linode/instances/%d/backups", linodeID) - req := c.R(ctx).SetResult(&InstanceBackupsResponse{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/backups", linodeID) + response, err := doGETRequest[InstanceBackupsResponse](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceBackupsResponse), nil + + return response, nil } // EnableInstanceBackups Enables backups for the specified Linode. func (c *Client) EnableInstanceBackups(ctx context.Context, linodeID int) error { - e := fmt.Sprintf("linode/instances/%d/backups/enable", linodeID) - _, err := coupleAPIErrors(c.R(ctx).Post(e)) + e := formatAPIPath("linode/instances/%d/backups/enable", linodeID) + _, err := doPOSTRequest[InstanceBackup, any](ctx, c, e) return err } // CancelInstanceBackups Cancels backups for the specified Linode. func (c *Client) CancelInstanceBackups(ctx context.Context, linodeID int) error { - e := fmt.Sprintf("linode/instances/%d/backups/cancel", linodeID) - _, err := coupleAPIErrors(c.R(ctx).Post(e)) + e := formatAPIPath("linode/instances/%d/backups/cancel", linodeID) + _, err := doPOSTRequest[InstanceBackup, any](ctx, c, e) return err } // RestoreInstanceBackup Restores a Linode's Backup to the specified Linode. func (c *Client) RestoreInstanceBackup(ctx context.Context, linodeID int, backupID int, opts RestoreInstanceOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return NewError(err) - } - e := fmt.Sprintf("linode/instances/%d/backups/%d/restore", linodeID, backupID) - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + e := formatAPIPath("linode/instances/%d/backups/%d/restore", linodeID, backupID) + _, err := doPOSTRequest[InstanceBackup](ctx, c, e, opts) return err } diff --git a/instance_stats.go b/instance_stats.go index a30b06217..ad5190e4e 100644 --- a/instance_stats.go +++ b/instance_stats.go @@ -2,7 +2,6 @@ package linodego import ( "context" - "fmt" ) // StatsNet represents a network stats object @@ -35,22 +34,22 @@ type InstanceStats struct { // GetInstanceStats gets the template with the provided ID func (c *Client) GetInstanceStats(ctx context.Context, linodeID int) (*InstanceStats, error) { - e := fmt.Sprintf("linode/instances/%d/stats", linodeID) - req := c.R(ctx).SetResult(&InstanceStats{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/stats", linodeID) + response, err := doGETRequest[InstanceStats](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceStats), nil + + return response, nil } // GetInstanceStatsByDate gets the template with the provided ID, year, and month func (c *Client) GetInstanceStatsByDate(ctx context.Context, linodeID int, year int, month int) (*InstanceStats, error) { - e := fmt.Sprintf("linode/instances/%d/stats/%d/%d", linodeID, year, month) - req := c.R(ctx).SetResult(&InstanceStats{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/stats/%d/%d", linodeID, year, month) + response, err := doGETRequest[InstanceStats](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceStats), nil + + return response, nil } diff --git a/instance_volumes.go b/instance_volumes.go index f8a6368e6..6a67edf47 100644 --- a/instance_volumes.go +++ b/instance_volumes.go @@ -2,39 +2,14 @@ package linodego import ( "context" - "fmt" - - "github.com/go-resty/resty/v2" ) -// InstanceVolumesPagedResponse represents a paginated InstanceVolume API response -type InstanceVolumesPagedResponse struct { - *PageOptions - Data []Volume `json:"data"` -} - -// endpoint gets the endpoint URL for InstanceVolume -func (InstanceVolumesPagedResponse) endpoint(ids ...any) string { - id := ids[0].(int) - return fmt.Sprintf("linode/instances/%d/volumes", id) -} - -func (resp *InstanceVolumesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(InstanceVolumesPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*InstanceVolumesPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListInstanceVolumes lists InstanceVolumes func (c *Client) ListInstanceVolumes(ctx context.Context, linodeID int, opts *ListOptions) ([]Volume, error) { - response := InstanceVolumesPagedResponse{} - err := c.listHelper(ctx, &response, opts, linodeID) + response, err := getPaginatedResults[Volume](ctx, c, formatAPIPath("linode/instances/%d/volumes", linodeID), opts) if err != nil { return nil, err } - return response.Data, nil + + return response, nil } diff --git a/instances.go b/instances.go index 402981050..086442f14 100644 --- a/instances.go +++ b/instances.go @@ -3,11 +3,9 @@ package linodego import ( "context" "encoding/json" - "fmt" "net" "time" - "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) @@ -242,89 +240,58 @@ type InstanceMigrateOptions struct { PlacementGroup *InstanceCreatePlacementGroupOptions `json:"placement_group,omitempty"` } -// InstancesPagedResponse represents a linode API response for listing -type InstancesPagedResponse struct { - *PageOptions - Data []Instance `json:"data"` -} - -// endpoint gets the endpoint URL for Instance -func (InstancesPagedResponse) endpoint(_ ...any) string { - return "linode/instances" -} - -func (resp *InstancesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(InstancesPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*InstancesPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListInstances lists linode instances func (c *Client) ListInstances(ctx context.Context, opts *ListOptions) ([]Instance, error) { - response := InstancesPagedResponse{} - err := c.listHelper(ctx, &response, opts) + response, err := getPaginatedResults[Instance](ctx, c, "linode/instances", opts) if err != nil { return nil, err } - return response.Data, nil + + return response, nil } // GetInstance gets the instance with the provided ID func (c *Client) GetInstance(ctx context.Context, linodeID int) (*Instance, error) { - e := fmt.Sprintf("linode/instances/%d", linodeID) - req := c.R(ctx).SetResult(Instance{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d", linodeID) + response, err := doGETRequest[Instance](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*Instance), nil + + return response, nil } // GetInstanceTransfer gets the instance with the provided ID func (c *Client) GetInstanceTransfer(ctx context.Context, linodeID int) (*InstanceTransfer, error) { - e := fmt.Sprintf("linode/instances/%d/transfer", linodeID) - req := c.R(ctx).SetResult(InstanceTransfer{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/instances/%d/transfer", linodeID) + response, err := doGETRequest[InstanceTransfer](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*InstanceTransfer), nil + + return response, nil } // CreateInstance creates a Linode instance func (c *Client) CreateInstance(ctx context.Context, opts InstanceCreateOptions) (*Instance, error) { - body, err := json.Marshal(opts) - if err != nil { - return nil, err - } - e := "linode/instances" - req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + response, err := doPOSTRequest[Instance](ctx, c, e, opts) if err != nil { return nil, err } - return r.Result().(*Instance), nil + + return response, nil } // UpdateInstance creates a Linode instance func (c *Client) UpdateInstance(ctx context.Context, linodeID int, opts InstanceUpdateOptions) (*Instance, error) { - body, err := json.Marshal(opts) + e := formatAPIPath("linode/instances/%d", linodeID) + response, err := doPUTRequest[Instance](ctx, c, e, opts) if err != nil { return nil, err } - e := fmt.Sprintf("linode/instances/%d", linodeID) - req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Put(e)) - if err != nil { - return nil, err - } - return r.Result().(*Instance), nil + return response, nil } // RenameInstance renames an Instance @@ -334,60 +301,47 @@ func (c *Client) RenameInstance(ctx context.Context, linodeID int, label string) // DeleteInstance deletes a Linode instance func (c *Client) DeleteInstance(ctx context.Context, linodeID int) error { - e := fmt.Sprintf("linode/instances/%d", linodeID) - _, err := coupleAPIErrors(c.R(ctx).Delete(e)) + e := formatAPIPath("linode/instances/%d", linodeID) + err := doDELETERequest(ctx, c, e) return err } // BootInstance will boot a Linode instance // A configID of 0 will cause Linode to choose the last/best config func (c *Client) BootInstance(ctx context.Context, linodeID int, configID int) error { - var body string + opts := make(map[string]int) + if configID != 0 { - bodyMap := map[string]int{"config_id": configID} - bodyJSON, err := json.Marshal(bodyMap) - if err != nil { - return err - } - body = string(bodyJSON) + opts = map[string]int{"config_id": configID} } - e := fmt.Sprintf("linode/instances/%d/boot", linodeID) - _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) + + e := formatAPIPath("linode/instances/%d/boot", linodeID) + _, err := doPOSTRequest[Instance](ctx, c, e, opts) return err } // CloneInstance clone an existing Instances Disks and Configuration profiles to another Linode Instance func (c *Client) CloneInstance(ctx context.Context, linodeID int, opts InstanceCloneOptions) (*Instance, error) { - body, err := json.Marshal(opts) - if err != nil { - return nil, err - } - - req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) - e := fmt.Sprintf("linode/instances/%d/clone", linodeID) - r, err := coupleAPIErrors(req.Post(e)) + e := formatAPIPath("linode/instances/%d/clone", linodeID) + response, err := doPOSTRequest[Instance](ctx, c, e, opts) if err != nil { return nil, err } - return r.Result().(*Instance), nil + return response, nil } // RebootInstance reboots a Linode instance // A configID of 0 will cause Linode to choose the last/best config func (c *Client) RebootInstance(ctx context.Context, linodeID int, configID int) error { - body := "{}" + opts := make(map[string]int) if configID != 0 { - bodyMap := map[string]int{"config_id": configID} - bodyJSON, err := json.Marshal(bodyMap) - if err != nil { - return err - } - body = string(bodyJSON) + opts = map[string]int{"config_id": configID} } - e := fmt.Sprintf("linode/instances/%d/reboot", linodeID) - _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) + + e := formatAPIPath("linode/instances/%d/reboot", linodeID) + _, err := doPOSTRequest[Instance](ctx, c, e, opts) return err } @@ -407,17 +361,13 @@ type InstanceRebuildOptions struct { // RebuildInstance Deletes all Disks and Configs on this Linode, // then deploys a new Image to this Linode with the given attributes. func (c *Client) RebuildInstance(ctx context.Context, linodeID int, opts InstanceRebuildOptions) (*Instance, error) { - body, err := json.Marshal(opts) + e := formatAPIPath("linode/instances/%d/rebuild", linodeID) + response, err := doPOSTRequest[Instance](ctx, c, e, opts) if err != nil { return nil, err } - e := fmt.Sprintf("linode/instances/%d/rebuild", linodeID) - req := c.R(ctx).SetBody(string(body)).SetResult(&Instance{}) - r, err := coupleAPIErrors(req.Post(e)) - if err != nil { - return nil, err - } - return r.Result().(*Instance), nil + + return response, nil } // InstanceRescueOptions fields are those accepted by RescueInstance @@ -430,23 +380,15 @@ type InstanceRescueOptions struct { // You can also use Rescue Mode for tasks other than disaster recovery, such as formatting disks to use different filesystems, // copying data between disks, and downloading files from a disk via SSH and SFTP. func (c *Client) RescueInstance(ctx context.Context, linodeID int, opts InstanceRescueOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := fmt.Sprintf("linode/instances/%d/rescue", linodeID) - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + e := formatAPIPath("linode/instances/%d/rescue", linodeID) + _, err := doPOSTRequest[Instance](ctx, c, e, opts) return err } // ResizeInstance resizes an instance to new Linode type func (c *Client) ResizeInstance(ctx context.Context, linodeID int, opts InstanceResizeOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := fmt.Sprintf("linode/instances/%d/resize", linodeID) - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + e := formatAPIPath("linode/instances/%d/resize", linodeID) + _, err := doPOSTRequest[Instance](ctx, c, e, opts) return err } @@ -462,12 +404,8 @@ func (c *Client) MutateInstance(ctx context.Context, id int) error { // MigrateInstance - Migrate an instance func (c *Client) MigrateInstance(ctx context.Context, linodeID int, opts InstanceMigrateOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := fmt.Sprintf("linode/instances/%d/migrate", linodeID) - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + e := formatAPIPath("linode/instances/%d/migrate", linodeID) + _, err := doPOSTRequest[Instance](ctx, c, e, opts) return err } @@ -477,7 +415,7 @@ func (c *Client) simpleInstanceAction(ctx context.Context, action string, linode _, err := doPOSTRequest[any, any]( ctx, c, - fmt.Sprintf("linode/instances/%d/%s", linodeID, action), + formatAPIPath("linode/instances/%d/%s", linodeID, action), ) return err } diff --git a/kernels.go b/kernels.go index 26987a639..1b6783528 100644 --- a/kernels.go +++ b/kernels.go @@ -3,11 +3,8 @@ package linodego import ( "context" "encoding/json" - "fmt" - "net/url" "time" - "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) @@ -24,12 +21,6 @@ type LinodeKernel struct { Built *time.Time `json:"-"` } -// LinodeKernelsPagedResponse represents a Linode kernels API response for listing -type LinodeKernelsPagedResponse struct { - *PageOptions - Data []LinodeKernel `json:"data"` -} - // UnmarshalJSON implements the json.Unmarshaler interface func (i *LinodeKernel) UnmarshalJSON(b []byte) error { type Mask LinodeKernel @@ -50,25 +41,9 @@ func (i *LinodeKernel) UnmarshalJSON(b []byte) error { return nil } -func (LinodeKernelsPagedResponse) endpoint(_ ...any) string { - return "linode/kernels" -} - -func (resp *LinodeKernelsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(LinodeKernelsPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*LinodeKernelsPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListKernels lists linode kernels. This endpoint is cached by default. func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKernel, error) { - response := LinodeKernelsPagedResponse{} - - endpoint, err := generateListCacheURL(response.endpoint(), opts) + endpoint, err := generateListCacheURL("linode/kernels", opts) if err != nil { return nil, err } @@ -77,33 +52,23 @@ func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKe return result.([]LinodeKernel), nil } - err = c.listHelper(ctx, &response, opts) + response, err := getPaginatedResults[LinodeKernel](ctx, c, "linode/kernels", opts) if err != nil { return nil, err } - c.addCachedResponse(endpoint, response.Data, nil) + c.addCachedResponse(endpoint, response, nil) - return response.Data, nil + return response, nil } // GetKernel gets the kernel with the provided ID. This endpoint is cached by default. func (c *Client) GetKernel(ctx context.Context, kernelID string) (*LinodeKernel, error) { - kernelID = url.PathEscape(kernelID) - e := fmt.Sprintf("linode/kernels/%s", kernelID) - - if result := c.getCachedResponse(e); result != nil { - result := result.(LinodeKernel) - return &result, nil - } - - req := c.R(ctx).SetResult(&LinodeKernel{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("linode/kernels/%s", kernelID) + response, err := doGETRequest[LinodeKernel](ctx, c, e) if err != nil { return nil, err } - c.addCachedResponse(e, r.Result(), nil) - - return r.Result().(*LinodeKernel), nil + return response, nil } diff --git a/paged_response_structs.go b/paged_response_structs.go index cee2a8d4e..fc44a5bde 100644 --- a/paged_response_structs.go +++ b/paged_response_structs.go @@ -33,12 +33,21 @@ type FirewallDevicesPagedResponse legacyPagedResponse[FirewallDevice] // Deprecated: ImagesPagedResponse exists for historical compatibility and should not be used. type ImagesPagedResponse legacyPagedResponse[Image] +// Deprecated: InstanceVolumesPagedResponse exists for historical compatibility and should not be used. +type InstanceVolumesPagedResponse legacyPagedResponse[Volume] + +// Deprecated: InstancesPagedResponse exists for historical compatibility and should not be used. +type InstancesPagedResponse legacyPagedResponse[Instance] + // Deprecated: InvoiceItemsPagedResponse exists for historical compatibility and should not be used. type InvoiceItemsPagedResponse legacyPagedResponse[InvoiceItem] // Deprecated: InvoicesPagedResponse exists for historical compatibility and should not be used. type InvoicesPagedResponse legacyPagedResponse[Invoice] +// Deprecated: LinodeKernelsPagedResponse exists for historical compatibility and should not be used. +type LinodeKernelsPagedResponse legacyPagedResponse[LinodeKernel] + // Deprecated: LoginsPagedResponse exists for historical compatibility and should not be used. type LoginsPagedResponse legacyPagedResponse[Login] diff --git a/request_helpers.go b/request_helpers.go index 747c8c4e3..152a26433 100644 --- a/request_helpers.go +++ b/request_helpers.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "net/url" + "reflect" ) // paginatedResponse represents a single response from a paginated @@ -132,12 +133,11 @@ func doPOSTRequest[T, O any]( req := client.R(ctx).SetResult(&resultType) - if numOpts > 0 { + if numOpts > 0 && !isNil(options[0]) { body, err := json.Marshal(options[0]) if err != nil { return nil, err } - req.SetBody(string(body)) } @@ -167,12 +167,11 @@ func doPUTRequest[T, O any]( req := client.R(ctx).SetResult(&resultType) - if numOpts > 0 { + if numOpts > 0 && !isNil(options[0]) { body, err := json.Marshal(options[0]) if err != nil { return nil, err } - req.SetBody(string(body)) } @@ -209,3 +208,13 @@ func formatAPIPath(format string, args ...any) string { return fmt.Sprintf(format, escapedArgs...) } + +func isNil(i interface{}) bool { + if i == nil { + return true + } + + // Check for nil pointers + v := reflect.ValueOf(i) + return v.Kind() == reflect.Ptr && v.IsNil() +} diff --git a/test/integration/cache_test.go b/test/integration/cache_test.go index 2c0212f55..fd7e81520 100644 --- a/test/integration/cache_test.go +++ b/test/integration/cache_test.go @@ -94,7 +94,8 @@ func TestCache_Expiration(t *testing.T) { totalRequests := int64(0) client.OnBeforeRequest(func(request *linodego.Request) error { - if !strings.Contains(request.URL, "kernels") || request.QueryParam.Has("page") { + page := request.QueryParam.Get("page") + if !strings.Contains(request.URL, "kernels") || page != "1" { return nil } diff --git a/test/integration/example_integration_test.go b/test/integration/example_integration_test.go index 030bb1312..87520cd5a 100644 --- a/test/integration/example_integration_test.go +++ b/test/integration/example_integration_test.go @@ -8,8 +8,6 @@ import ( "math/rand" "os" "strconv" - - "github.com/linode/linodego" ) var spendMoney = false @@ -69,255 +67,6 @@ func ExampleClient_ListUsers() { // User exists: true } -func Example() { - // Example readers, Ignore this bit of setup code needed to record test fixtures - linodeClient, teardown := createTestClient(nil, "fixtures/Example") - defer teardown() - - var linode *linodego.Instance - linode, err := linodeClient.GetInstance(context.Background(), 1231) - fmt.Println("## Instance request with Invalid ID") - fmt.Println("### Linode:", linode) - fmt.Println("### Error:", err) - - if spendMoney { - linode, err = linodeClient.CreateInstance(context.Background(), linodego.InstanceCreateOptions{Region: "us-southeast", Type: "g6-nanode-1", FirewallID: GetFirewallID()}) - if err != nil { - log.Fatalln("* While creating instance: ", err) - } - linode, err = linodeClient.UpdateInstance(context.Background(), linode.ID, linodego.InstanceUpdateOptions{Label: linode.Label + "-renamed"}) - if err != nil { - log.Fatalln("* While renaming instance: ", err) - } - fmt.Println("## Created Instance") - event, errEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionLinodeCreate, *linode.Created, 240) - if errEvent != nil { - log.Fatalf("* Failed to wait for Linode %d to finish creation: %s", linode.ID, errEvent) - } - if errEvent = linodeClient.MarkEventRead(context.Background(), event); errEvent != nil { - log.Fatalln("* Failed to mark Linode create event seen", errEvent) - } - - diskSwap, errSwap := linodeClient.CreateInstanceDisk(context.Background(), linode.ID, linodego.InstanceDiskCreateOptions{Size: 50, Filesystem: "swap", Label: "linodego_swap"}) - if errSwap != nil { - log.Fatalln("* While creating swap disk:", errSwap) - } - eventSwap, errSwapEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskSwap.Created, 240) - // @TODO it is not sufficient that a disk was created. Which disk was it? - // Sounds like we'll need a WaitForEntityStatus function. - if errSwapEvent != nil { - log.Fatalf("* Failed to wait for swap disk %d to finish creation: %s", diskSwap.ID, errSwapEvent) - } - if errSwapEvent = linodeClient.MarkEventRead(context.Background(), eventSwap); errSwapEvent != nil { - log.Fatalln("* Failed to mark swap disk create event seen", errSwapEvent) - } - - diskRaw, errRaw := linodeClient.CreateInstanceDisk(context.Background(), linode.ID, linodego.InstanceDiskCreateOptions{Size: 50, Filesystem: "raw", Label: "linodego_raw"}) - if errRaw != nil { - log.Fatalln("* While creating raw disk:", errRaw) - } - eventRaw, errRawEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskRaw.Created, 240) - // @TODO it is not sufficient that a disk was created. Which disk was it? - // Sounds like we'll need a WaitForEntityStatus function. - if errRawEvent != nil { - log.Fatalf("* Failed to wait for raw disk %d to finish creation: %s", diskRaw.ID, errRawEvent) - } - if errRawEvent = linodeClient.MarkEventRead(context.Background(), eventRaw); errRawEvent != nil { - log.Fatalln("* Failed to mark raw disk create event seen", errRawEvent) - } - - diskDebian, errDebian := linodeClient.CreateInstanceDisk( - context.Background(), - linode.ID, - linodego.InstanceDiskCreateOptions{ - Size: 1500, - Filesystem: "ext4", - Image: "linode/debian9", - Label: "linodego_debian", - RootPass: randPassword(), - }, - ) - if errDebian != nil { - log.Fatalln("* While creating Debian disk:", errDebian) - } - eventDebian, errDebianEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskDebian.Created, 240) - // @TODO it is not sufficient that a disk was created. Which disk was it? - // Sounds like we'll need a WaitForEntityStatus function. - if errDebianEvent != nil { - log.Fatalf("* Failed to wait for Debian disk %d to finish creation: %s", diskDebian.ID, errDebianEvent) - } - if errDebianEvent = linodeClient.MarkEventRead(context.Background(), eventDebian); errDebianEvent != nil { - log.Fatalln("* Failed to mark Debian disk create event seen", errDebianEvent) - } - fmt.Println("### Created Disks") - - createOpts := linodego.InstanceConfigCreateOptions{ - Devices: linodego.InstanceConfigDeviceMap{ - SDA: &linodego.InstanceConfigDevice{DiskID: diskDebian.ID}, - SDB: &linodego.InstanceConfigDevice{DiskID: diskRaw.ID}, - SDC: &linodego.InstanceConfigDevice{DiskID: diskSwap.ID}, - }, - Kernel: "linode/direct-disk", - Label: "example config label", - // RunLevel: "default", - // VirtMode: "paravirt", - Comments: "example config comment", - // RootDevice: "/dev/sda", - Helpers: &linodego.InstanceConfigHelpers{ - Network: true, - ModulesDep: false, - }, - } - config, errConfig := linodeClient.CreateInstanceConfig(context.Background(), linode.ID, createOpts) - if errConfig != nil { - log.Fatalln("* Failed to create Config", errConfig) - } - fmt.Println("### Created Config:") - updateOpts := linodego.InstanceConfigUpdateOptions{ - Comments: "updated example config comment", - } - config, errConfig = linodeClient.UpdateInstanceConfig(context.Background(), linode.ID, config.ID, updateOpts) - if errConfig != nil { - log.Fatalln("* Failed to update Config", errConfig) - } - fmt.Println("### Updated Config:") - - errBoot := linodeClient.BootInstance(context.Background(), linode.ID, config.ID) - if errBoot != nil { - log.Fatalln("* Failed to boot Instance", errBoot) - } - fmt.Println("### Booted Instance") - - eventBooted, errBootEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionLinodeBoot, *config.Updated, 240) - if errBootEvent != nil { - fmt.Println("### Boot Instance failed as expected:", errBootEvent) - } else { - log.Fatalln("* Expected boot Instance to fail") - } - - if errBootEvent = linodeClient.MarkEventRead(context.Background(), eventBooted); errBootEvent != nil { - log.Fatalln("* Failed to mark boot event seen", errBootEvent) - } - - err = linodeClient.DeleteInstanceConfig(context.Background(), linode.ID, config.ID) - if err != nil { - log.Fatalln("* Failed to delete Config", err) - } - fmt.Println("### Deleted Config") - - err = linodeClient.DeleteInstanceDisk(context.Background(), linode.ID, diskSwap.ID) - if err != nil { - log.Fatalln("* Failed to delete Disk", err) - } - fmt.Println("### Deleted Disk") - - err = linodeClient.DeleteInstance(context.Background(), linode.ID) - if err != nil { - log.Fatalln("* Failed to delete Instance", err) - } - fmt.Println("### Deleted Instance") - } - - linodes, err := linodeClient.ListInstances(context.Background(), nil) - if err != nil { - log.Fatal(err) - } - fmt.Println("## List Instances") - - if len(linodes) == 0 { - log.Println("No Linodes to inspect.") - } else { - // This is redundantly used for illustrative purposes - linode, err = linodeClient.GetInstance(context.Background(), linodes[0].ID) - if err != nil { - log.Fatal(err) - } - - fmt.Println("## First Linode") - - configs, err := linodeClient.ListInstanceConfigs(context.Background(), linode.ID, nil) - if err != nil { - log.Fatal(err) - } else if len(configs) > 0 { - config, err := linodeClient.GetInstanceConfig(context.Background(), linode.ID, configs[0].ID) - if err != nil { - log.Fatal(err) - } - fmt.Println("### First Config:", config.ID > 0) - } else { - fmt.Println("### No Configs") - } - - disks, err := linodeClient.ListInstanceDisks(context.Background(), linode.ID, nil) - if err != nil { - log.Fatal(err) - } else if len(disks) > 0 { - disk, err := linodeClient.GetInstanceDisk(context.Background(), linode.ID, disks[0].ID) - if err != nil { - log.Fatal(err) - } - fmt.Println("### First Disk:", disk.ID > 0) - } else { - fmt.Println("### No Disks") - } - - backups, err := linodeClient.GetInstanceBackups(context.Background(), linode.ID) - if err != nil { - log.Fatal(err) - } - if len(backups.Automatic) > 0 { - fmt.Println("### First Auto Backup") - } else { - fmt.Println("### No Auto Backups") - } - fmt.Println("### Snapshots") - if backups.Snapshot.Current != nil { - // snapshot fetched will be exactly the same as backups.Snapshot.Current - // just being redundant for illustrative purposes - if snapshot, err := linodeClient.GetInstanceSnapshot(context.Background(), linode.ID, backups.Snapshot.Current.ID); err == nil { - fmt.Println("#### Current:", snapshot.ID > 0) - } else { - fmt.Println("#### No Current Snapshot:", err) - } - } else { - fmt.Println("### No Current Snapshot") - } - - volumes, err := linodeClient.ListInstanceVolumes(context.Background(), linode.ID, nil) - if err != nil { - log.Fatal(err) - } else if len(volumes) > 0 { - volume, err := linodeClient.GetVolume(context.Background(), volumes[0].ID) - if err != nil { - log.Fatal(err) - } - fmt.Println("### First Volume:", volume.ID > 0) - } else { - fmt.Println("### No Volumes") - } - - stackscripts, err := linodeClient.ListStackscripts(context.Background(), &linodego.ListOptions{Filter: "{\"mine\":true}"}) - if err != nil { - log.Fatal(err) - } - fmt.Println("## Your Stackscripts:", len(stackscripts) > 0) - } - - // Output: - // ## Instance request with Invalid ID - // ### Linode: - // ### Error: [404] Not found - // ## List Instances - // ## First Linode - // ### First Config: true - // ### First Disk: true - // ### First Auto Backup - // ### Snapshots - // ### No Current Snapshot - // ### No Volumes - // ## Your Stackscripts: true -} - const ( lowerBytes = "abcdefghijklmnopqrstuvwxyz" upperBytes = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" diff --git a/test/integration/fixtures/Example.yaml b/test/integration/fixtures/Example.yaml deleted file mode 100644 index 0e8d852ae..000000000 --- a/test/integration/fixtures/Example.yaml +++ /dev/null @@ -1,688 +0,0 @@ ---- -version: 1 -interactions: -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/1231 - method: GET - response: - body: '{"errors": [{"reason": "Not found"}]}' - headers: - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "37" - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:15 GMT - Pragma: - - no-cache - Vary: - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Frame-Options: - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - status: 404 Not Found - code: 404 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances - method: GET - response: - body: '{"data": [{"id": 59542994, "label": "go-test-ins-3812seykyn76", "group": - "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["194.195.118.209"], "ipv6": "1234::5678/128", - "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": - 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - true, "available": true, "schedule": {"day": "Scheduling", "window": "Scheduling"}, - "last_successful": "2018-01-02T03:04:05"}, "hypervisor": "kvm", "watchdog_enabled": - true, "tags": [], "host_uuid": "0b2d5aae2f89f7a14796533db6c3fd605a035d50", "has_user_data": - false, "placement_group": null}, {"id": 59543048, "label": "go-test-ins-wo-disk-v6p8qg0b815q", - "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": - "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.118.254"], "ipv6": - "1234::5678/128", "image": null, "region": "ap-west", "specs": - {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": - {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": - 10000}, "backups": {"enabled": true, "available": true, "schedule": {"day": - "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": - "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", - "has_user_data": false, "placement_group": null}, {"id": 59544188, "label": - "go-test-ins-wo-disk-k2pw744ul49t", "group": "", "status": "offline", "created": - "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", - "ipv4": ["192.46.211.66"], "ipv6": "1234::5678/128", "image": - null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": - 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": - 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": - true, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "2e178642a58dc717a260fc2f07a0f9ebec105e2b", "has_user_data": false, "placement_group": - null}], "page": 1, "pages": 1, "results": 3}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:15 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - - Accept-Encoding - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994 - method: GET - response: - body: '{"id": 59542994, "label": "go-test-ins-3812seykyn76", "group": "", "status": - "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["194.195.118.209"], "ipv6": "1234::5678/128", - "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": - 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - true, "available": true, "schedule": {"day": "Scheduling", "window": "Scheduling"}, - "last_successful": "2018-01-02T03:04:05"}, "hypervisor": "kvm", "watchdog_enabled": - true, "tags": [], "host_uuid": "0b2d5aae2f89f7a14796533db6c3fd605a035d50", "has_user_data": - false, "placement_group": null}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "794" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/configs - method: GET - response: - body: '{"data": [{"id": 62729621, "label": "My Debian 9 Disk Profile", "helpers": - {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": - true, "devtmpfs_automount": true}, "kernel": "linode/grub2", "comments": "", - "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "root_device": "/dev/sda", "devices": {"sda": {"disk_id": 117262206, "volume_id": - null}, "sdb": {"disk_id": 117262207, "volume_id": null}, "sdc": null, "sdd": - null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": - "default", "virt_mode": "paravirt", "interfaces": []}], "page": 1, "pages": - 1, "results": 1}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "654" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/configs/62729621 - method: GET - response: - body: '{"id": 62729621, "label": "My Debian 9 Disk Profile", "helpers": {"updatedb_disabled": - true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": - true}, "kernel": "linode/grub2", "comments": "", "memory_limit": 0, "created": - "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", - "devices": {"sda": {"disk_id": 117262206, "volume_id": null}, "sdb": {"disk_id": - 117262207, "volume_id": null}, "sdc": null, "sdd": null, "sde": null, "sdf": - null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": - "paravirt", "interfaces": []}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "605" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/disks - method: GET - response: - body: '{"data": [{"id": 117262206, "status": "ready", "label": "Debian 9 Disk", - "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 25088}, {"id": 117262207, "status": "ready", "label": "512 MB - Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "387" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/disks/117262206 - method: GET - response: - body: '{"id": 117262206, "status": "ready", "label": "Debian 9 Disk", "created": - "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", - "size": 25088}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "167" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/backups - method: GET - response: - body: '{"automatic": [{"id": 292760380, "region": "ap-west", "type": "auto", "status": - "successful", "available": true, "created": "2018-01-02T03:04:05", "updated": - "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": null, "configs": - ["My Debian 9 Disk Profile"], "disks": [{"label": "Debian 9 Disk", "size": 25088, - "filesystem": "ext4"}, {"label": "512 MB Swap Image", "size": 512, "filesystem": - "swap"}]}], "snapshot": {"current": null, "in_progress": null}}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "468" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542994/volumes - method: GET - response: - body: '{"data": [], "page": 1, "pages": 1, "results": 0}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "49" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:16 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - linodes:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - X-Filter: - - '{"mine":true}' - url: https://api.linode.com/v4beta/linode/stackscripts - method: GET - response: - body: '{"data": [{"id": 1354525, "username": "youjungk01", "user_gravatar_id": - "89c3034428203ecf41c0c4795ac9f651", "label": "Demonstration_Public", "description": - "", "ordinal": 0, "logo_url": "", "images": ["linode/debian11"], "deployments_total": - 9, "deployments_active": 0, "is_public": true, "mine": true, "created": "2018-01-02T03:04:05", - "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash", "user_defined_fields": - []}], "page": 1, "pages": 1, "results": 1}' - headers: - Access-Control-Allow-Credentials: - - "true" - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Access-Control-Expose-Headers: - - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status - Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive - Content-Length: - - "477" - Content-Security-Policy: - - default-src 'none' - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 18:47:17 GMT - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000 - Vary: - - Authorization, X-Filter - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - stackscripts:read_only - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "20" - X-Xss-Protection: - - 1; mode=block - status: 200 OK - code: 200 - duration: "" diff --git a/test/integration/fixtures/ExampleListKernels_all.yaml b/test/integration/fixtures/ExampleListKernels_all.yaml index 436a3da84..16e3e71fb 100644 --- a/test/integration/fixtures/ExampleListKernels_all.yaml +++ b/test/integration/fixtures/ExampleListKernels_all.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/kernels + url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", @@ -283,7 +283,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:44 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -579,7 +579,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:44 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -888,7 +888,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:44 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1021,7 +1021,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:44 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/ExampleListKernels_allWithOpts.yaml b/test/integration/fixtures/ExampleListKernels_allWithOpts.yaml index 3d83ee16e..16e3e71fb 100644 --- a/test/integration/fixtures/ExampleListKernels_allWithOpts.yaml +++ b/test/integration/fixtures/ExampleListKernels_allWithOpts.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/kernels + url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", @@ -283,7 +283,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:44 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -579,7 +579,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:45 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -888,7 +888,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:45 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1021,7 +1021,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:45 GMT + - Mon, 01 Jul 2024 14:36:57 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/ExampleListKernels_filtered.yaml b/test/integration/fixtures/ExampleListKernels_filtered.yaml index 3183603d0..23e6a34ce 100644 --- a/test/integration/fixtures/ExampleListKernels_filtered.yaml +++ b/test/integration/fixtures/ExampleListKernels_filtered.yaml @@ -13,7 +13,7 @@ interactions: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"label":"5.17.5-x86_64-linode154"}' - url: https://api.linode.com/v4beta/linode/kernels + url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", @@ -41,7 +41,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:45 GMT + - Mon, 01 Jul 2024 14:36:58 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/ExampleListKernels_page1.yaml b/test/integration/fixtures/ExampleListKernels_page1.yaml index 2c1366905..cec9a78ca 100644 --- a/test/integration/fixtures/ExampleListKernels_page1.yaml +++ b/test/integration/fixtures/ExampleListKernels_page1.yaml @@ -283,7 +283,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:04:45 GMT + - Mon, 01 Jul 2024 14:36:58 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestCache_Expiration.yaml b/test/integration/fixtures/TestCache_Expiration.yaml index cb518bf78..ba37afe66 100644 --- a/test/integration/fixtures/TestCache_Expiration.yaml +++ b/test/integration/fixtures/TestCache_Expiration.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/kernels + url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", @@ -19,11 +19,41 @@ interactions: true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.0.2-x86-linode177)", - "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.8.9-x86-linode184)", + "version": "6.8.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.8.9-x86_64-linode164", "label": "6.8.9-x86_64-linode164", "version": + "6.8.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.8.9-x86-linode184", + "label": "6.8.9-x86-linode184", "version": "6.8.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.7.9-x86_64-linode163", "label": "6.7.9-x86_64-linode163", "version": + "6.7.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.7.9-x86-linode183", + "label": "6.7.9-x86-linode183", "version": "6.7.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.4.9-x86_64-linode162", "label": "6.4.9-x86_64-linode162", "version": + "6.4.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.4.9-x86-linode182", + "label": "6.4.9-x86-linode182", "version": "6.4.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.3.5-x86_64-linode161", "label": "6.3.5-x86_64-linode161", "version": + "6.3.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.3.5-x86-linode181", + "label": "6.3.5-x86-linode181", "version": "6.3.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.2.9-x86_64-linode160", "label": "6.2.9-x86_64-linode160", "version": + "6.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86-linode180", + "label": "6.2.9-x86-linode180", "version": "6.2.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.1.10-x86_64-linode159", "label": "6.1.10-x86_64-linode159", + "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86-linode179", + "label": "6.1.10-x86-linode179", "version": "6.1.10", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", @@ -232,37 +262,7 @@ interactions: "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", - "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": - "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", - "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": - "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", - "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": - "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", - "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": - "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", - "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": - "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", - "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": - "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 318}' + true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -275,19 +275,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -298,7 +302,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -317,59 +321,89 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: - body: '{"data": [{"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", - "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": - "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", - "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": - "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": - "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", - "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": - "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": - "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", - "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": - "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": - "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", - "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": - "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": - "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", - "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": - "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": - "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", - "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": - "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": - "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", - "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", - "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": - "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", - "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + body: '{"data": [{"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", + "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", + "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": + "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", + "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": + "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", + "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": + "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", + "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": + "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", + "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": + "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": + "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", + "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": + "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": + "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", + "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": + "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": + "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", + "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": + "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": + "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", + "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": + "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": + "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", + "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": + "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": + "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", + "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": + "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": + "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", + "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": + "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": + "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", + "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": + "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, @@ -519,42 +553,12 @@ interactions: true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.0.2-x86_64-linode157)", - "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.8.9-x86_64-linode164)", + "version": "6.8.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": - "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", - "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", - "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": - "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", - "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", - "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", - "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": - "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", - "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", - "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", - "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", - "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", - "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], - "page": 2, "pages": 4, "results": 318}' + "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -567,19 +571,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -590,7 +598,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -609,8 +617,38 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: - body: '{"data": [{"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", - "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + body: '{"data": [{"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", + "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", + "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": + "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", + "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", + "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", + "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": + "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", + "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", + "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", + "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", + "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", + "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": + "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, @@ -828,38 +866,8 @@ interactions: "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", - "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", - "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": - "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", - "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": - "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", - "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": - "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", - "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", - "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", - "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": - "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", - "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], - "page": 3, "pages": 4, "results": 318}' + "page": 3, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -872,19 +880,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -895,7 +907,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -914,7 +926,37 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: - body: '{"data": [{"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", + body: '{"data": [{"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 + ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", + "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": + "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", + "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": + "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", + "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": + "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", + "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", + "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", + "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": + "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", + "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": @@ -958,7 +1000,7 @@ interactions: "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, - "results": 318}' + "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -971,19 +1013,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -994,7 +1040,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -1010,7 +1056,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/kernels + url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", @@ -1018,11 +1064,41 @@ interactions: true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.0.2-x86-linode177)", - "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.8.9-x86-linode184)", + "version": "6.8.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.8.9-x86_64-linode164", "label": "6.8.9-x86_64-linode164", "version": + "6.8.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.8.9-x86-linode184", + "label": "6.8.9-x86-linode184", "version": "6.8.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.7.9-x86_64-linode163", "label": "6.7.9-x86_64-linode163", "version": + "6.7.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.7.9-x86-linode183", + "label": "6.7.9-x86-linode183", "version": "6.7.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.4.9-x86_64-linode162", "label": "6.4.9-x86_64-linode162", "version": + "6.4.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.4.9-x86-linode182", + "label": "6.4.9-x86-linode182", "version": "6.4.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.3.5-x86_64-linode161", "label": "6.3.5-x86_64-linode161", "version": + "6.3.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.3.5-x86-linode181", + "label": "6.3.5-x86-linode181", "version": "6.3.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.2.9-x86_64-linode160", "label": "6.2.9-x86_64-linode160", "version": + "6.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86-linode180", + "label": "6.2.9-x86-linode180", "version": "6.2.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/6.1.10-x86_64-linode159", "label": "6.1.10-x86_64-linode159", + "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86-linode179", + "label": "6.1.10-x86-linode179", "version": "6.1.10", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", @@ -1231,37 +1307,7 @@ interactions: "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", - "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": - "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", - "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": - "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", - "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": - "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", - "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": - "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", - "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": - "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", - "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": - "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 318}' + true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -1274,19 +1320,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -1297,7 +1347,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -1316,59 +1366,89 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: - body: '{"data": [{"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", - "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": - "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", - "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": - "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": - "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", - "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": - "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": - "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", - "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": - "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": - "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", - "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": - "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": - "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", - "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": - "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, - "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": - "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", - "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": - "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": - "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", - "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", - "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": - "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", - "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": - "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", - "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + body: '{"data": [{"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", + "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", + "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": + "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", + "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": + "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", + "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": + "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", + "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": + "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", + "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": + "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": + "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", + "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": + "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": + "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", + "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": + "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": + "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", + "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": + "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": + "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", + "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": + "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": + "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", + "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": + "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": + "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", + "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": + "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": + "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", + "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": + "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": + "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", + "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": + "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, @@ -1518,42 +1598,12 @@ interactions: true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.0.2-x86_64-linode157)", - "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.8.9-x86_64-linode164)", + "version": "6.8.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": - "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", - "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", - "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": - "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", - "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", - "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", - "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": - "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", - "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", - "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", - "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", - "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", - "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], - "page": 2, "pages": 4, "results": 318}' + "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -1566,19 +1616,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -1589,7 +1643,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -1608,8 +1662,38 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: - body: '{"data": [{"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", - "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + body: '{"data": [{"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", + "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", + "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": + "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", + "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", + "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", + "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": + "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", + "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", + "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", + "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", + "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", + "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": + "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, @@ -1827,38 +1911,8 @@ interactions: "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", - "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", - "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": - "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", - "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": - "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", - "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": - "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", - "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", - "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, - "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", - "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": - "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, - {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": - "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": - true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", - "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], - "page": 3, "pages": 4, "results": 318}' + "page": 3, "pages": 4, "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -1871,19 +1925,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -1894,7 +1952,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -1913,7 +1971,37 @@ interactions: url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: - body: '{"data": [{"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", + body: '{"data": [{"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 + ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", + "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": + "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", + "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": + "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", + "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": + "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", + "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", + "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", + "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": + "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", + "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": @@ -1957,7 +2045,7 @@ interactions: "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, - "results": 318}' + "results": 330}' headers: Access-Control-Allow-Credentials: - "true" @@ -1970,19 +2058,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Mon, 01 Jul 2024 15:46:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -1993,7 +2085,7 @@ interactions: X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestInstanceBackups_List.yaml b/test/integration/fixtures/TestInstanceBackups_List.yaml index 7ef2aa801..44e11c3ab 100644 --- a/test/integration/fixtures/TestInstanceBackups_List.yaml +++ b/test/integration/fixtures/TestInstanceBackups_List.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:37:50 GMT + - Fri, 28 Jun 2024 18:48:27 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-4550ezy9h2qi","firewall_id":501419,"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-63gqb1484bax","firewall_id":610685,"booted":false}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59542678, "label": "go-test-ins-wo-disk-4550ezy9h2qi", "group": + body: '{"id": 60779324, "label": "go-test-ins-wo-disk-63gqb1484bax", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["170.187.250.228"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.35.92"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "0b2d5aae2f89f7a14796533db6c3fd605a035d50", "has_user_data": false, "placement_group": - null}' + "009ae04397a377b736399352007156c94585f928", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "763" + - "785" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:37:51 GMT + - Fri, 28 Jun 2024 18:48:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -372,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-5o5g3we7j27u","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-4bjm21q2t8r0","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -381,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/configs + url: https://api.linode.com/v4beta/linode/instances/60779324/configs method: POST response: - body: '{"id": 62729301, "label": "go-test-conf-5o5g3we7j27u", "helpers": {"updatedb_disabled": + body: '{"id": 63987204, "label": "go-test-conf-4bjm21q2t8r0", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -413,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:37:51 GMT + - Fri, 28 Jun 2024 18:48:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -428,10 +441,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -449,19 +459,88 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678 + url: https://api.linode.com/v4beta/linode/instances/60779324 method: GET response: - body: '{"id": 59542678, "label": "go-test-ins-wo-disk-4550ezy9h2qi", "group": + body: '{"id": 60779324, "label": "go-test-ins-wo-disk-63gqb1484bax", "group": + "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["172.105.35.92"], "ipv6": "1234::5678/128", + "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, + "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "009ae04397a377b736399352007156c94585f928", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "801" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 18:48:43 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/instances/60779324 + method: GET + response: + body: '{"id": 60779324, "label": "go-test-ins-wo-disk-63gqb1484bax", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["170.187.250.228"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.35.92"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "0b2d5aae2f89f7a14796533db6c3fd605a035d50", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "009ae04397a377b736399352007156c94585f928", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -478,13 +557,13 @@ interactions: Connection: - keep-alive Content-Length: - - "774" + - "796" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:06 GMT + - Fri, 28 Jun 2024 18:48:58 GMT Pragma: - no-cache Strict-Transport-Security: @@ -500,10 +579,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -521,10 +597,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/disks + url: https://api.linode.com/v4beta/linode/instances/60779324/disks method: POST response: - body: '{"id": 117261643, "status": "not ready", "label": "linodego-disk-test", + body: '{"id": 119519925, "status": "not ready", "label": "linodego-disk-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 10}' headers: @@ -549,7 +625,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:07 GMT + - Fri, 28 Jun 2024 18:48:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -564,10 +640,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -586,16 +659,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"disk_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"disk_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449224, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968116, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 7.0, "action": "disk_create", "username": "youjungk01", "entity": {"label": - "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", "url": - "/v4/linode/instances/59542678"}, "status": "finished", "secondary_entity": - {"id": 117261643, "type": "disk", "label": "linodego-disk-test", "url": "/v4/linode/instances/59542678/disks/117261643"}, + 14.0, "action": "disk_create", "username": "ErikZilber", "entity": {"label": + "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", "url": + "/v4/linode/instances/60779324"}, "status": "finished", "secondary_entity": + {"id": 119519925, "type": "disk", "label": "linodego-disk-test", "url": "/v4/linode/instances/60779324/disks/119519925"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -613,13 +686,13 @@ interactions: Connection: - keep-alive Content-Length: - - "568" + - "569" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:22 GMT + - Fri, 28 Jun 2024 18:49:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -635,10 +708,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -656,7 +726,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups/enable + url: https://api.linode.com/v4beta/linode/instances/60779324/backups/enable method: POST response: body: '{}' @@ -682,7 +752,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:22 GMT + - Fri, 28 Jun 2024 18:49:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -697,10 +767,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -718,10 +785,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups + url: https://api.linode.com/v4beta/linode/instances/60779324/backups method: POST response: - body: '{"id": 292760356, "region": "ap-west", "type": "snapshot", "status": "pending", + body: '{"id": 295859215, "region": "ap-west", "type": "snapshot", "status": "pending", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": null, "label": "snapshot-linodego-testing", "configs": [], "disks": []}' @@ -747,7 +814,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:26 GMT + - Fri, 28 Jun 2024 18:49:19 GMT Pragma: - no-cache Strict-Transport-Security: @@ -762,10 +829,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -784,15 +848,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 14, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 15, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -816,7 +880,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:42 GMT + - Fri, 28 Jun 2024 18:49:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -832,10 +896,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -854,15 +915,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 29, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 30, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -886,7 +947,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:38:56 GMT + - Fri, 28 Jun 2024 18:49:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -902,10 +963,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -924,15 +982,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 44, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 44, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -956,7 +1014,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:39:11 GMT + - Fri, 28 Jun 2024 18:50:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -972,10 +1030,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -994,15 +1049,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 59, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 59, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1026,7 +1081,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:39:27 GMT + - Fri, 28 Jun 2024 18:50:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1042,10 +1097,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1064,15 +1116,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 74, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 74, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1096,7 +1148,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:39:42 GMT + - Fri, 28 Jun 2024 18:50:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1112,10 +1164,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1134,15 +1183,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 89, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 90, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1166,7 +1215,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:39:57 GMT + - Fri, 28 Jun 2024 18:50:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1182,10 +1231,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1204,15 +1250,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 105, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 104, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1236,7 +1282,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:40:12 GMT + - Fri, 28 Jun 2024 18:51:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1252,10 +1298,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1274,15 +1317,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 119, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 119, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1306,7 +1349,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:40:26 GMT + - Fri, 28 Jun 2024 18:51:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1322,10 +1365,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1344,15 +1384,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 134, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 135, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1376,7 +1416,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:40:41 GMT + - Fri, 28 Jun 2024 18:51:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1392,10 +1432,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1414,15 +1451,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 149, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 149, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1446,7 +1483,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:40:56 GMT + - Fri, 28 Jun 2024 18:51:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1462,10 +1499,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1484,15 +1518,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 165, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 165, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1516,7 +1550,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:41:12 GMT + - Fri, 28 Jun 2024 18:52:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1532,10 +1566,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1554,15 +1585,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 179, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 179, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1586,7 +1617,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:41:27 GMT + - Fri, 28 Jun 2024 18:52:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1602,10 +1633,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1624,15 +1652,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": 195, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 195, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1656,7 +1684,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:41:42 GMT + - Fri, 28 Jun 2024 18:52:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1672,10 +1700,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1694,15 +1719,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, - "duration": 209, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 209, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1726,7 +1751,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:41:57 GMT + - Fri, 28 Jun 2024 18:52:50 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1742,10 +1767,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1764,15 +1786,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, - "duration": 224, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 224, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1796,7 +1818,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:12 GMT + - Fri, 28 Jun 2024 18:53:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1812,10 +1834,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1834,15 +1853,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, - "duration": 239, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 239, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1866,7 +1885,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:26 GMT + - Fri, 28 Jun 2024 18:53:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1882,10 +1901,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1904,15 +1920,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, - "duration": 254, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "started", "secondary_entity": + "duration": 255, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -1936,7 +1952,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:42 GMT + - Fri, 28 Jun 2024 18:53:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1952,10 +1968,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1974,15 +1987,149 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728449415}}' + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728449415, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, + "duration": 269, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "457" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 18:53:50 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, + "duration": 285, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "457" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 18:54:05 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759968348}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 759968348, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, - "duration": 269, "action": "linode_snapshot", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "finished", "secondary_entity": + "duration": 299, "action": "linode_snapshot", "username": "ErikZilber", "entity": + {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", + "url": "/v4/linode/instances/60779324"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -2006,7 +2153,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:57 GMT + - Fri, 28 Jun 2024 18:54:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2022,10 +2169,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2043,13 +2187,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups/292760356 + url: https://api.linode.com/v4beta/linode/instances/60779324/backups/295859215 method: GET response: - body: '{"id": 292760356, "region": "ap-west", "type": "snapshot", "status": "successful", + body: '{"id": 295859215, "region": "ap-west", "type": "snapshot", "status": "successful", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": - ["go-test-conf-5o5g3we7j27u"], "disks": [{"label": "linodego-disk-test", "size": + ["go-test-conf-4bjm21q2t8r0"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: @@ -2073,7 +2217,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:57 GMT + - Fri, 28 Jun 2024 18:54:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2089,10 +2233,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2110,19 +2251,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678 + url: https://api.linode.com/v4beta/linode/instances/60779324 method: GET response: - body: '{"id": 59542678, "label": "go-test-ins-wo-disk-4550ezy9h2qi", "group": + body: '{"id": 60779324, "label": "go-test-ins-wo-disk-63gqb1484bax", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["170.187.250.228"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.35.92"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": true, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": "2018-01-02T03:04:05"}, "hypervisor": "kvm", "watchdog_enabled": - true, "tags": [], "host_uuid": "0b2d5aae2f89f7a14796533db6c3fd605a035d50", "has_user_data": - false, "placement_group": null}' + true, "tags": [], "host_uuid": "009ae04397a377b736399352007156c94585f928", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -2139,13 +2280,13 @@ interactions: Connection: - keep-alive Content-Length: - - "790" + - "812" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:57 GMT + - Fri, 28 Jun 2024 18:54:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2161,10 +2302,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2182,13 +2320,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups + url: https://api.linode.com/v4beta/linode/instances/60779324/backups method: GET response: - body: '{"automatic": [], "snapshot": {"current": {"id": 292760356, "region": "ap-west", + body: '{"automatic": [], "snapshot": {"current": {"id": 295859215, "region": "ap-west", "type": "snapshot", "status": "successful", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": - "snapshot-linodego-testing", "configs": ["go-test-conf-5o5g3we7j27u"], "disks": + "snapshot-linodego-testing", "configs": ["go-test-conf-4bjm21q2t8r0"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}, "in_progress": null}}' headers: @@ -2213,7 +2351,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:42:57 GMT + - Fri, 28 Jun 2024 18:54:20 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2229,10 +2367,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2250,13 +2385,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups/292760356 + url: https://api.linode.com/v4beta/linode/instances/60779324/backups/295859215 method: GET response: - body: '{"id": 292760356, "region": "ap-west", "type": "snapshot", "status": "successful", + body: '{"id": 295859215, "region": "ap-west", "type": "snapshot", "status": "successful", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": - ["go-test-conf-5o5g3we7j27u"], "disks": [{"label": "linodego-disk-test", "size": + ["go-test-conf-4bjm21q2t8r0"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: @@ -2280,7 +2415,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:12 GMT + - Fri, 28 Jun 2024 18:54:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2296,10 +2431,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2308,7 +2440,7 @@ interactions: code: 200 duration: "" - request: - body: '{"linode_id":59542678,"overwrite":true}' + body: '{"linode_id":60779324,"overwrite":true}' form: {} headers: Accept: @@ -2317,7 +2449,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups/292760356/restore + url: https://api.linode.com/v4beta/linode/instances/60779324/backups/295859215/restore method: POST response: body: '{}' @@ -2343,7 +2475,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:12 GMT + - Fri, 28 Jun 2024 18:54:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2358,10 +2490,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2379,7 +2508,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678/backups/cancel + url: https://api.linode.com/v4beta/linode/instances/60779324/backups/cancel method: POST response: body: '{}' @@ -2405,7 +2534,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:13 GMT + - Fri, 28 Jun 2024 18:54:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2420,10 +2549,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2442,15 +2568,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2024-05-31T17:43:12"},"entity.id":59542678,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2024-06-28T18:54:35"},"entity.id":60779324,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728452524, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": null, "action": "backups_restore", "username": "youjungk01", "entity": - {"label": "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", - "url": "/v4/linode/instances/59542678"}, "status": "scheduled", "secondary_entity": + body: '{"data": [{"id": 759973144, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, + "duration": 15.246632, "action": "backups_restore", "username": "ErikZilber", + "entity": {"label": "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": + "linode", "url": "/v4/linode/instances/60779324"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -2468,13 +2594,13 @@ interactions: Connection: - keep-alive Content-Length: - - "459" + - "463" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:28 GMT + - Fri, 28 Jun 2024 18:54:51 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2490,10 +2616,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2512,15 +2635,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2024-05-31T17:43:12"},"entity.id":59542678,"entity.type":"linode","id":{"+gte":728452524}}' + - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2024-06-28T18:54:35"},"entity.id":60779324,"entity.type":"linode","id":{"+gte":759973144}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 728452524, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 759973144, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 25.0, "action": "backups_restore", "username": "youjungk01", "entity": {"label": - "go-test-ins-wo-disk-4550ezy9h2qi", "id": 59542678, "type": "linode", "url": - "/v4/linode/instances/59542678"}, "status": "finished", "secondary_entity": + 17.0, "action": "backups_restore", "username": "ErikZilber", "entity": {"label": + "go-test-ins-wo-disk-63gqb1484bax", "id": 60779324, "type": "linode", "url": + "/v4/linode/instances/60779324"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -2544,7 +2667,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:43 GMT + - Fri, 28 Jun 2024 18:55:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2560,10 +2683,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -2581,7 +2701,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542678 + url: https://api.linode.com/v4beta/linode/instances/60779324 method: DELETE response: body: '{}' @@ -2607,7 +2727,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:43 GMT + - Fri, 28 Jun 2024 18:55:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -2622,10 +2742,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_Clone.yaml b/test/integration/fixtures/TestInstance_Clone.yaml index e99adfd12..bb7a250c5 100644 --- a/test/integration/fixtures/TestInstance_Clone.yaml +++ b/test/integration/fixtures/TestInstance_Clone.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:58:15 GMT + - Fri, 28 Jun 2024 20:56:35 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-op32t5uq71s6","root_pass":"#Q2}Unh@0yK9N2j2,#[\u003cCe8wl9T]5c31TWKUO\u003ex4{0HJct5oof''BDi0\u00260(:a4''''B","image":"linode/debian9","firewall_id":498450,"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-zvlj01u8259p","root_pass":"xFQ[#17=y=20uLn?Lei5B-R#/U=j9EmB96v4w(a|4W72!yB[J\u003cLW6?zA9o9mm$S0","image":"linode/debian9","firewall_id":611230,"booted":false}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59507871, "label": "go-test-ins-op32t5uq71s6", "group": "", "status": + body: '{"id": 60782936, "label": "go-test-ins-zvlj01u8259p", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.62.50"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.34.35"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "de22f5dac5a8a313ea37e3d3c190cb671579b813", "has_user_data": false, "placement_group": - null}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "765" + - "789" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:58:16 GMT + - Fri, 28 Jun 2024 20:56:36 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -382,15 +395,83 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 760080036, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, + "duration": 15.536838, "action": "linode_create", "username": "ErikZilber", + "entity": {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", + "url": "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": + {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, + "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "546" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 20:56:51 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080036}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727769916, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, - "duration": 15.304316, "action": "linode_create", "username": "youjungk01", - "entity": {"label": "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", - "url": "/v4/linode/instances/59507871"}, "status": "started", "secondary_entity": + body: '{"data": [{"id": 760080036, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 53, "time_remaining": null, "rate": null, + "duration": 30.530065, "action": "linode_create", "username": "ErikZilber", + "entity": {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", + "url": "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: @@ -415,7 +496,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:58:31 GMT + - Fri, 28 Jun 2024 20:57:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -431,10 +512,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -453,14 +531,14 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode","id":{"+gte":727769916}}' + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080036}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727769916, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760080036, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 24.0, "action": "linode_create", "username": "youjungk01", "entity": {"label": - "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", "url": "/v4/linode/instances/59507871"}, + 33.0, "action": "linode_create", "username": "ErikZilber", "entity": {"label": + "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", "url": "/v4/linode/instances/60782936"}, "status": "finished", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' @@ -486,7 +564,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:58:46 GMT + - Fri, 28 Jun 2024 20:57:21 GMT Pragma: - no-cache Strict-Transport-Security: @@ -502,10 +580,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -523,19 +598,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59507871/clone + url: https://api.linode.com/v4beta/linode/instances/60782936/clone method: POST response: - body: '{"id": 59507895, "label": "linode59507895", "group": "", "status": "offline", + body: '{"id": 60782956, "label": "linode60782956", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": - "g6-nanode-1", "ipv4": ["172.105.62.195", "192.168.148.53"], "ipv6": "1234::5678/128", + "g6-nanode-1", "ipv4": ["172.105.34.252", "192.168.137.239"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "b87012b659b947e3d8e73fccf7a05a0eaa29cc4d", "has_user_data": - true, "placement_group": null}' + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + true, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -552,13 +627,13 @@ interactions: Connection: - keep-alive Content-Length: - - "784" + - "809" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:58:46 GMT + - Fri, 28 Jun 2024 20:57:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -573,10 +648,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -595,16 +667,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727770243, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, - "duration": 15.031706, "action": "linode_clone", "username": "youjungk01", "entity": - {"label": "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", "url": - "/v4/linode/instances/59507871"}, "status": "started", "secondary_entity": {"id": - 59507895, "type": "linode", "label": "linode59507895", "url": "/v4/linode/instances/59507895"}, + "duration": 15.153766, "action": "linode_clone", "username": "ErikZilber", "entity": + {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", "url": + "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": {"id": + 60782956, "type": "linode", "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -628,7 +700,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:59:02 GMT + - Fri, 28 Jun 2024 20:57:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -644,10 +716,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -666,16 +735,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode","id":{"+gte":727770243}}' + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080510}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727770243, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 38, "time_remaining": "0:0:40", "rate": "559.00 - MB/s", "duration": 30.018455, "action": "linode_clone", "username": "youjungk01", - "entity": {"label": "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", - "url": "/v4/linode/instances/59507871"}, "status": "started", "secondary_entity": - {"id": 59507895, "type": "linode", "label": "linode59507895", "url": "/v4/linode/instances/59507895"}, + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 36, "time_remaining": "0:1:8", "rate": "353.00 + MB/s", "duration": 30.158265, "action": "linode_clone", "username": "ErikZilber", + "entity": {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", + "url": "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": + {"id": 60782956, "type": "linode", "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -693,13 +762,81 @@ interactions: Connection: - keep-alive Content-Length: - - "562" + - "561" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 20:57:52 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080510}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 36, "time_remaining": "0:1:8", "rate": "353.00 + MB/s", "duration": 45.178729, "action": "linode_clone", "username": "ErikZilber", + "entity": {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", + "url": "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": + {"id": 60782956, "type": "linode", "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, + "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "561" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:59:17 GMT + - Fri, 28 Jun 2024 20:58:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -715,10 +852,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -737,16 +871,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode","id":{"+gte":727770243}}' + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080510}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727770243, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 38, "time_remaining": "0:0:40", "rate": "559.00 - MB/s", "duration": 45.015403, "action": "linode_clone", "username": "youjungk01", - "entity": {"label": "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", - "url": "/v4/linode/instances/59507871"}, "status": "started", "secondary_entity": - {"id": 59507895, "type": "linode", "label": "linode59507895", "url": "/v4/linode/instances/59507895"}, + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 58, "time_remaining": "0:0:12", "rate": "541.00 + MB/s", "duration": 60.150827, "action": "linode_clone", "username": "ErikZilber", + "entity": {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", + "url": "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": + {"id": 60782956, "type": "linode", "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -770,7 +904,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:59:32 GMT + - Fri, 28 Jun 2024 20:58:22 GMT Pragma: - no-cache Strict-Transport-Security: @@ -786,10 +920,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -808,16 +939,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode","id":{"+gte":727770243}}' + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080510}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727770243, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, - "duration": 60.027049, "action": "linode_clone", "username": "youjungk01", "entity": - {"label": "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", "url": - "/v4/linode/instances/59507871"}, "status": "started", "secondary_entity": {"id": - 59507895, "type": "linode", "label": "linode59507895", "url": "/v4/linode/instances/59507895"}, + "duration": 75.187851, "action": "linode_clone", "username": "ErikZilber", "entity": + {"label": "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", "url": + "/v4/linode/instances/60782936"}, "status": "started", "secondary_entity": {"id": + 60782956, "type": "linode", "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -841,7 +972,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 22:59:47 GMT + - Fri, 28 Jun 2024 20:58:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -857,10 +988,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -879,16 +1007,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":59507871,"entity.type":"linode","id":{"+gte":727770243}}' + - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60782936,"entity.type":"linode","id":{"+gte":760080510}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 727770243, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760080510, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 64.0, "action": "linode_clone", "username": "youjungk01", "entity": {"label": - "go-test-ins-op32t5uq71s6", "id": 59507871, "type": "linode", "url": "/v4/linode/instances/59507871"}, - "status": "finished", "secondary_entity": {"id": 59507895, "type": "linode", - "label": "linode59507895", "url": "/v4/linode/instances/59507895"}, "message": + 81.0, "action": "linode_clone", "username": "ErikZilber", "entity": {"label": + "go-test-ins-zvlj01u8259p", "id": 60782936, "type": "linode", "url": "/v4/linode/instances/60782936"}, + "status": "finished", "secondary_entity": {"id": 60782956, "type": "linode", + "label": "linode60782956", "url": "/v4/linode/instances/60782956"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -912,7 +1040,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 23:00:02 GMT + - Fri, 28 Jun 2024 20:58:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -928,10 +1056,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -949,21 +1074,21 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59507895/ips + url: https://api.linode.com/v4beta/linode/instances/60782956/ips method: GET response: - body: '{"ipv4": {"public": [{"address": "172.105.62.195", "gateway": "172.105.62.1", + body: '{"ipv4": {"public": [{"address": "172.105.34.252", "gateway": "172.105.34.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, - "rdns": "172-105-62-195.ip.linodeusercontent.com", "linode_id": 59507895, "region": - "ap-west", "vpc_nat_1_1": null}], "private": [{"address": "192.168.148.53", + "rdns": "172-105-34-252.ip.linodeusercontent.com", "linode_id": 60782956, "region": + "ap-west", "vpc_nat_1_1": null}], "private": [{"address": "192.168.137.239", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", - "public": false, "rdns": null, "linode_id": 59507895, "region": "ap-west", "vpc_nat_1_1": + "public": false, "rdns": null, "linode_id": 60782956, "region": "ap-west", "vpc_nat_1_1": null}], "shared": [], "reserved": [], "vpc": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", - "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 59507895, "region": + "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 60782956, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, - "type": "ipv6", "rdns": null, "linode_id": 59507895, "region": "ap-west", "public": + "type": "ipv6", "rdns": null, "linode_id": 60782956, "region": "ap-west", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: @@ -985,7 +1110,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 23:00:02 GMT + - Fri, 28 Jun 2024 20:58:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1002,10 +1127,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1023,7 +1145,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59507895 + url: https://api.linode.com/v4beta/linode/instances/60782956 method: DELETE response: body: '{}' @@ -1049,7 +1171,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 23:00:02 GMT + - Fri, 28 Jun 2024 20:58:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1064,10 +1186,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -1085,7 +1204,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59507871 + url: https://api.linode.com/v4beta/linode/instances/60782936 method: DELETE response: body: '{}' @@ -1111,7 +1230,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 30 May 2024 23:00:03 GMT + - Fri, 28 Jun 2024 20:58:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1126,10 +1245,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml b/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml index bfcb581e1..9d3d412a4 100644 --- a/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml +++ b/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml @@ -14,13 +14,14 @@ interactions: url: https://api.linode.com/v4beta/networking/firewalls method: POST response: - body: '{"id": 350874, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", + body: '{"id": 611237, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], - "outbound_policy": "ACCEPT"}, "tags": ["testing"], "entities": []}' + "outbound_policy": "ACCEPT", "version": 1, "fingerprint": "7bcc0f03"}, "tags": + ["testing"], "entities": []}' headers: Access-Control-Allow-Credentials: - "true" @@ -37,13 +38,13 @@ interactions: Connection: - keep-alive Content-Length: - - "542" + - "583" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:42 GMT + - Fri, 28 Jun 2024 21:00:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -80,199 +81,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -293,7 +357,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:42 GMT + - Fri, 28 Jun 2024 21:00:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -319,7 +383,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-938gm7x6a9dl","firewall_id":350874,"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-3g56sfk589kx","firewall_id":611237,"booted":false}' form: {} headers: Accept: @@ -331,15 +395,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54934098, "label": "go-test-ins-wo-disk-938gm7x6a9dl", "group": + body: '{"id": 60783002, "label": "go-test-ins-wo-disk-3g56sfk589kx", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.127.109"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.34.230"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "8935f79b1fa5c6371d945b97e5d0364cc8347058", "has_user_data": false}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -356,13 +421,13 @@ interactions: Connection: - keep-alive Content-Length: - - "737" + - "786" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:43 GMT + - Fri, 28 Jun 2024 21:00:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -386,7 +451,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-ept34e7x6w35","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-55fa6q2s2nr5","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -395,10 +460,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934098/configs + url: https://api.linode.com/v4beta/linode/instances/60783002/configs method: POST response: - body: '{"id": 58038524, "label": "go-test-conf-ept34e7x6w35", "helpers": {"updatedb_disabled": + body: '{"id": 63990940, "label": "go-test-conf-55fa6q2s2nr5", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -427,7 +492,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:43 GMT + - Fri, 28 Jun 2024 21:00:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -460,7 +525,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934098 + url: https://api.linode.com/v4beta/linode/instances/60783002 method: DELETE response: body: '{}' @@ -486,7 +551,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:44 GMT + - Fri, 28 Jun 2024 21:00:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -519,7 +584,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/networking/firewalls/350874 + url: https://api.linode.com/v4beta/networking/firewalls/611237 method: DELETE response: body: '{}' @@ -545,7 +610,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:44 GMT + - Fri, 28 Jun 2024 21:00:08 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml index 274a6307f..00292a1e4 100644 --- a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:18:55 GMT + - Fri, 28 Jun 2024 21:01:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-v3n5as9q33a8","root_pass":"d8J2f/M)3K++8Qh6v;NB=RQ0XO7-?8-qV,bhZ,7cvFkN0\\m(Ms67st6|3Pix#15?","image":"linode/debian9","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-8xr73d9f28fv","root_pass":"Y]SLH\u003cfjB9t6\\3OW9O8O}A*@3(Yx7Gu6K\\27)*j0-]~3ijv7ccZaFi1c[D5p:*r1","image":"linode/debian9","firewall_id":611242,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54933906, "label": "go-test-ins-v3n5as9q33a8", "group": "", "status": + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.122.201"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "741" + - "788" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:18:55 GMT + - Fri, 28 Jun 2024 21:01:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: "" + body: '{}' form: {} headers: Accept: @@ -330,7 +394,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906/boot + url: https://api.linode.com/v4beta/linode/instances/60783079/boot method: POST response: body: '{}' @@ -356,7 +420,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:18:56 GMT + - Fri, 28 Jun 2024 21:01:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -389,18 +453,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906 + url: https://api.linode.com/v4beta/linode/instances/60783079 method: GET response: - body: '{"id": 54933906, "label": "go-test-ins-v3n5as9q33a8", "group": "", "status": + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.122.201"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -417,13 +482,13 @@ interactions: Connection: - keep-alive Content-Length: - - "741" + - "804" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:19:11 GMT + - Fri, 28 Jun 2024 21:02:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -457,18 +522,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906 + url: https://api.linode.com/v4beta/linode/instances/60783079 method: GET response: - body: '{"id": 54933906, "label": "go-test-ins-v3n5as9q33a8", "group": "", "status": + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.122.201"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -485,13 +551,13 @@ interactions: Connection: - keep-alive Content-Length: - - "741" + - "804" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:19:26 GMT + - Fri, 28 Jun 2024 21:02:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -525,18 +591,88 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906 + url: https://api.linode.com/v4beta/linode/instances/60783079 method: GET response: - body: '{"id": 54933906, "label": "go-test-ins-v3n5as9q33a8", "group": "", "status": + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": + "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": + 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 21:02:39 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/instances/60783079 + method: GET + response: + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": "booting", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.122.201"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -553,13 +689,13 @@ interactions: Connection: - keep-alive Content-Length: - - "736" + - "799" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:19:41 GMT + - Fri, 28 Jun 2024 21:02:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -593,18 +729,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906 + url: https://api.linode.com/v4beta/linode/instances/60783079 method: GET response: - body: '{"id": 54933906, "label": "go-test-ins-v3n5as9q33a8", "group": "", "status": + body: '{"id": 60783079, "label": "go-test-ins-8xr73d9f28fv", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.122.201"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.44"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -621,13 +758,13 @@ interactions: Connection: - keep-alive Content-Length: - - "736" + - "799" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:19:56 GMT + - Fri, 28 Jun 2024 21:03:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -661,12 +798,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906/disks + url: https://api.linode.com/v4beta/linode/instances/60783079/disks method: GET response: - body: '{"data": [{"id": 108752419, "status": "ready", "label": "Debian 9 Disk", + body: '{"data": [{"id": 119526682, "status": "ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 25088}, {"id": 108752420, "status": "ready", "label": "512 MB + "ext4", "size": 25088}, {"id": 119526683, "status": "ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: @@ -691,7 +828,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:19:56 GMT + - Fri, 28 Jun 2024 21:03:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -725,12 +862,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906/disks + url: https://api.linode.com/v4beta/linode/instances/60783079/disks method: GET response: - body: '{"data": [{"id": 108752419, "status": "ready", "label": "Debian 9 Disk", + body: '{"data": [{"id": 119526682, "status": "ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 25088}, {"id": 108752420, "status": "ready", "label": "512 MB + "ext4", "size": 25088}, {"id": 119526683, "status": "ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: @@ -755,7 +892,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:11 GMT + - Fri, 28 Jun 2024 21:03:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -780,7 +917,7 @@ interactions: code: 200 duration: "" - request: - body: '{"disk_id":108752419,"label":"go-test-image-it4l6zvi9837"}' + body: '{"disk_id":119526682,"label":"go-test-image-j2g278bwn74u"}' form: {} headers: Accept: @@ -792,11 +929,11 @@ interactions: url: https://api.linode.com/v4beta/images method: POST response: - body: '{"id": "private/23818909", "label": "go-test-image-it4l6zvi9837", "description": + body: '{"id": "private/25971250", "label": "go-test-image-j2g278bwn74u", "description": "", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": - 25088, "created_by": "zliang27", "type": "manual", "is_public": false, "deprecated": - false, "vendor": null, "expiry": null, "eol": null, "status": "creating", "capabilities": - []}' + 25088, "created_by": "ErikZilber", "type": "manual", "tags": [], "is_public": + false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": + "creating", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" @@ -813,13 +950,13 @@ interactions: Connection: - keep-alive Content-Length: - - "339" + - "353" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:11 GMT + - Fri, 28 Jun 2024 21:03:24 GMT Pragma: - no-cache Strict-Transport-Security: @@ -852,7 +989,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/images/private%2F23818909 + url: https://api.linode.com/v4beta/images/private%2F25971250 method: DELETE response: body: '{}' @@ -878,7 +1015,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:46 GMT + - Fri, 28 Jun 2024 21:05:56 GMT Pragma: - no-cache Strict-Transport-Security: @@ -911,7 +1048,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933906 + url: https://api.linode.com/v4beta/linode/instances/60783079 method: DELETE response: body: '{}' @@ -937,7 +1074,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:47 GMT + - Fri, 28 Jun 2024 21:05:56 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml index 25cf3cfb3..9a86840b2 100644 --- a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:12 GMT + - Fri, 28 Jun 2024 21:03:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-gpu3sht33630","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5rjylq16481x","firewall_id":611242,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54933962, "label": "go-test-ins-wo-disk-gpu3sht33630", "group": + body: '{"id": 60783138, "label": "go-test-ins-wo-disk-5rjylq16481x", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.60.121"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["45.79.126.71"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data": false}' + "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "738" + - "784" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:12 GMT + - Fri, 28 Jun 2024 21:03:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-84i9yt4m2jk6","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-41c9fb90kjc7","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -330,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/configs + url: https://api.linode.com/v4beta/linode/instances/60783138/configs method: POST response: - body: '{"id": 58038389, "label": "go-test-conf-84i9yt4m2jk6", "helpers": {"updatedb_disabled": + body: '{"id": 63991081, "label": "go-test-conf-41c9fb90kjc7", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -362,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:12 GMT + - Fri, 28 Jun 2024 21:03:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -395,18 +459,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962 + url: https://api.linode.com/v4beta/linode/instances/60783138 method: GET response: - body: '{"id": 54933962, "label": "go-test-ins-wo-disk-gpu3sht33630", "group": - "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.60.121"], "ipv6": "1234::5678/128", + body: '{"id": 60783138, "label": "go-test-ins-wo-disk-5rjylq16481x", "group": + "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["45.79.126.71"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -423,13 +488,13 @@ interactions: Connection: - keep-alive Content-Length: - - "738" + - "795" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:27 GMT + - Fri, 28 Jun 2024 21:03:40 GMT Pragma: - no-cache Strict-Transport-Security: @@ -463,18 +528,18 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962 + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783079,"entity.type":"linode"}' + url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"id": 54933962, "label": "go-test-ins-wo-disk-gpu3sht33630", "group": - "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.60.121"], "ipv6": "1234::5678/128", - "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, - "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data": false}' + body: '{"data": [{"id": 760085904, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 71, "time_remaining": null, "rate": null, + "duration": 30.984729, "action": "disk_imagize", "username": "ErikZilber", "entity": + {"label": "go-test-ins-8xr73d9f28fv", "id": 60783079, "type": "linode", "url": + "/v4/linode/instances/60783079"}, "status": "started", "secondary_entity": {"id": + 25971250, "type": "image", "label": "go-test-image-j2g278bwn74u", "url": "/v4/images/private/25971250"}, + "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" @@ -491,13 +556,13 @@ interactions: Connection: - keep-alive Content-Length: - - "733" + - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:42 GMT + - Fri, 28 Jun 2024 21:03:56 GMT Pragma: - no-cache Strict-Transport-Security: @@ -506,7 +571,7 @@ interactions: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - - linodes:read_only + - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: @@ -532,16 +597,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":54933906,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783079,"entity.type":"linode","id":{"+gte":760085904}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 649332307, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 83, "time_remaining": null, "rate": null, - "duration": 46.035006, "action": "disk_imagize", "username": "zliang27", "entity": - {"label": "go-test-ins-v3n5as9q33a8", "id": 54933906, "type": "linode", "url": - "/v4/linode/instances/54933906"}, "status": "started", "secondary_entity": {"id": - 23818909, "type": "image", "label": "go-test-image-it4l6zvi9837", "url": "/v4/images/private/23818909"}, + body: '{"data": [{"id": 760085904, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 82, "time_remaining": null, "rate": null, + "duration": 45.964276, "action": "disk_imagize", "username": "ErikZilber", "entity": + {"label": "go-test-ins-8xr73d9f28fv", "id": 60783079, "type": "linode", "url": + "/v4/linode/instances/60783079"}, "status": "started", "secondary_entity": {"id": + 25971250, "type": "image", "label": "go-test-image-j2g278bwn74u", "url": "/v4/images/private/25971250"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -559,13 +624,13 @@ interactions: Connection: - keep-alive Content-Length: - - "556" + - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:20:58 GMT + - Fri, 28 Jun 2024 21:04:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -600,16 +665,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":54933906,"entity.type":"linode","id":{"+gte":649332307}}' + - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783079,"entity.type":"linode","id":{"+gte":760085904}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 649332307, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760085904, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 87, "time_remaining": null, "rate": null, - "duration": 61.127723, "action": "disk_imagize", "username": "zliang27", "entity": - {"label": "go-test-ins-v3n5as9q33a8", "id": 54933906, "type": "linode", "url": - "/v4/linode/instances/54933906"}, "status": "started", "secondary_entity": {"id": - 23818909, "type": "image", "label": "go-test-image-it4l6zvi9837", "url": "/v4/images/private/23818909"}, + "duration": 60.90977, "action": "disk_imagize", "username": "ErikZilber", "entity": + {"label": "go-test-ins-8xr73d9f28fv", "id": 60783079, "type": "linode", "url": + "/v4/linode/instances/60783079"}, "status": "started", "secondary_entity": {"id": + 25971250, "type": "image", "label": "go-test-image-j2g278bwn74u", "url": "/v4/images/private/25971250"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -627,13 +692,13 @@ interactions: Connection: - keep-alive Content-Length: - - "556" + - "557" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:13 GMT + - Fri, 28 Jun 2024 21:04:25 GMT Pragma: - no-cache Strict-Transport-Security: @@ -668,16 +733,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":54933906,"entity.type":"linode","id":{"+gte":649332307}}' + - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783079,"entity.type":"linode","id":{"+gte":760085904}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 649332307, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 90, "time_remaining": null, "rate": null, - "duration": 76.078472, "action": "disk_imagize", "username": "zliang27", "entity": - {"label": "go-test-ins-v3n5as9q33a8", "id": 54933906, "type": "linode", "url": - "/v4/linode/instances/54933906"}, "status": "started", "secondary_entity": {"id": - 23818909, "type": "image", "label": "go-test-image-it4l6zvi9837", "url": "/v4/images/private/23818909"}, + body: '{"data": [{"id": 760085904, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 89, "time_remaining": null, "rate": null, + "duration": 75.920543, "action": "disk_imagize", "username": "ErikZilber", "entity": + {"label": "go-test-ins-8xr73d9f28fv", "id": 60783079, "type": "linode", "url": + "/v4/linode/instances/60783079"}, "status": "started", "secondary_entity": {"id": + 25971250, "type": "image", "label": "go-test-image-j2g278bwn74u", "url": "/v4/images/private/25971250"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -695,13 +760,13 @@ interactions: Connection: - keep-alive Content-Length: - - "556" + - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:28 GMT + - Fri, 28 Jun 2024 21:04:41 GMT Pragma: - no-cache Strict-Transport-Security: @@ -736,16 +801,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":54933906,"entity.type":"linode","id":{"+gte":649332307}}' + - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783079,"entity.type":"linode","id":{"+gte":760085904}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 649332307, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760085904, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 82.0, "action": "disk_imagize", "username": "zliang27", "entity": {"label": - "go-test-ins-v3n5as9q33a8", "id": 54933906, "type": "linode", "url": "/v4/linode/instances/54933906"}, - "status": "finished", "secondary_entity": {"id": 23818909, "type": "image", - "label": "go-test-image-it4l6zvi9837", "url": "/v4/images/private/23818909"}, + 83.0, "action": "disk_imagize", "username": "ErikZilber", "entity": {"label": + "go-test-ins-8xr73d9f28fv", "id": 60783079, "type": "linode", "url": "/v4/linode/instances/60783079"}, + "status": "finished", "secondary_entity": {"id": 25971250, "type": "image", + "label": "go-test-image-j2g278bwn74u", "url": "/v4/images/private/25971250"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -763,13 +828,13 @@ interactions: Connection: - keep-alive Content-Length: - - "550" + - "552" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:43 GMT + - Fri, 28 Jun 2024 21:04:55 GMT Pragma: - no-cache Strict-Transport-Security: @@ -794,7 +859,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-disk-test-7wua1247bc6h","size":2000,"image":"private/23818909","root_pass":"\u00268O2NPuZ;WB4h#Rv=)1n$20/7?eR]2K\u0026t\\7+5RWb4Ul\u003eh29CjDgxuW=981jGx\u0026m;"}' + body: '{"label":"go-disk-test-31vc8pi41i5s","size":2000,"image":"private/25971250","root_pass":"km0{0^{|/gw7)k7bYPiY!9m\\iH30}Z9?Jr3{4oEn6rH`,I65SGtx9!++0SHc2BDH"}' form: {} headers: Accept: @@ -803,12 +868,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: - body: '{"id": 108752642, "status": "not ready", "label": "go-disk-test-7wua1247bc6h", + body: '{"id": 119526849, "status": "not ready", "label": "go-disk-test-31vc8pi41i5s", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 1042}' + "ext4", "size": 1040}' headers: Access-Control-Allow-Credentials: - "true" @@ -831,7 +896,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:43 GMT + - Fri, 28 Jun 2024 21:04:56 GMT Pragma: - no-cache Strict-Transport-Security: @@ -855,7 +920,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -864,7 +929,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' @@ -882,7 +947,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:43 GMT + - Fri, 28 Jun 2024 21:04:56 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: @@ -897,7 +962,7 @@ interactions: code: 400 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -906,7 +971,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' @@ -924,7 +989,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:46 GMT + - Fri, 28 Jun 2024 21:04:59 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: @@ -939,7 +1004,7 @@ interactions: code: 400 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -948,7 +1013,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' @@ -966,7 +1031,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:21:51 GMT + - Fri, 28 Jun 2024 21:05:03 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: @@ -981,7 +1046,7 @@ interactions: code: 400 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -990,7 +1055,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' @@ -1008,7 +1073,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:01 GMT + - Fri, 28 Jun 2024 21:05:15 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: @@ -1023,7 +1088,7 @@ interactions: code: 400 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -1032,7 +1097,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' @@ -1050,7 +1115,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:19 GMT + - Fri, 28 Jun 2024 21:05:39 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: @@ -1065,7 +1130,7 @@ interactions: code: 400 duration: "" - request: - body: '{"label":"go-disk-test-4w3k34u2zh2l","size":2000}' + body: '{"label":"go-disk-test-jhp69192m1ib","size":2000}' form: {} headers: Accept: @@ -1074,10 +1139,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: POST response: - body: '{"id": 108752710, "status": "not ready", "label": "go-disk-test-4w3k34u2zh2l", + body: '{"id": 119526956, "status": "not ready", "label": "go-disk-test-jhp69192m1ib", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: @@ -1102,7 +1167,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:45 GMT + - Fri, 28 Jun 2024 21:05:56 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1135,12 +1200,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962/disks + url: https://api.linode.com/v4beta/linode/instances/60783138/disks method: GET response: - body: '{"data": [{"id": 108752642, "status": "ready", "label": "go-disk-test-7wua1247bc6h", + body: '{"data": [{"id": 119526849, "status": "ready", "label": "go-disk-test-31vc8pi41i5s", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 2000}, {"id": 108752710, "status": "not ready", "label": "go-disk-test-4w3k34u2zh2l", + "ext4", "size": 2000}, {"id": 119526956, "status": "not ready", "label": "go-disk-test-jhp69192m1ib", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 2}' headers: @@ -1165,7 +1230,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:45 GMT + - Fri, 28 Jun 2024 21:05:56 GMT Pragma: - no-cache Strict-Transport-Security: @@ -1199,7 +1264,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54933962 + url: https://api.linode.com/v4beta/linode/instances/60783138 method: DELETE response: body: '{}' @@ -1225,7 +1290,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:46 GMT + - Fri, 28 Jun 2024 21:05:56 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml b/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml index f8fa566e7..eeb336270 100644 --- a/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:47 GMT + - Fri, 28 Jun 2024 21:05:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5lz1ow94v25m","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5gks3870bac6","firewall_id":611242,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54934056, "label": "go-test-ins-wo-disk-5lz1ow94v25m", "group": + body: '{"id": 60783227, "label": "go-test-ins-wo-disk-5gks3870bac6", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.50.92"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.60"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "adedae7ef69ee351548f2ec08be51b74f4698537", "has_user_data": false}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "737" + - "785" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:48 GMT + - Fri, 28 Jun 2024 21:05:57 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-jr6qdh6j4269","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-9vmi42o6kw29","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -330,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056/configs + url: https://api.linode.com/v4beta/linode/instances/60783227/configs method: POST response: - body: '{"id": 58038484, "label": "go-test-conf-jr6qdh6j4269", "helpers": {"updatedb_disabled": + body: '{"id": 63991169, "label": "go-test-conf-9vmi42o6kw29", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -362,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:22:48 GMT + - Fri, 28 Jun 2024 21:05:58 GMT Pragma: - no-cache Strict-Transport-Security: @@ -395,18 +459,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056 + url: https://api.linode.com/v4beta/linode/instances/60783227 method: GET response: - body: '{"id": 54934056, "label": "go-test-ins-wo-disk-5lz1ow94v25m", "group": + body: '{"id": 60783227, "label": "go-test-ins-wo-disk-5gks3870bac6", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.50.92"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.60"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "adedae7ef69ee351548f2ec08be51b74f4698537", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -423,13 +488,13 @@ interactions: Connection: - keep-alive Content-Length: - - "732" + - "796" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:03 GMT + - Fri, 28 Jun 2024 21:06:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -454,7 +519,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-disk-test-5h4v61rv5ee4","size":2000,"image":"linode/debian9","root_pass":"p8[O;[}\u003cH47~bF*07r2\u003cWT1b-u;5Q\u00268usFj0a(9MXrsbcC8AaMKQ~07U6.\u0026kQ|9s","filesystem":"ext4"}' + body: '{"label":"go-disk-test-962yaf9ay64b","size":2000,"image":"linode/debian9","root_pass":"wAf3^2TX4Eb97S4@qi30,L3y=y=MYKHB=6]2afDr4)\u003cJ$D5)1\u0026vD..vBm6te\\0k|","filesystem":"ext4"}' form: {} headers: Accept: @@ -463,10 +528,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056/disks + url: https://api.linode.com/v4beta/linode/instances/60783227/disks method: POST response: - body: '{"id": 108752737, "status": "not ready", "label": "go-disk-test-5h4v61rv5ee4", + body: '{"id": 119526979, "status": "not ready", "label": "go-disk-test-962yaf9ay64b", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: @@ -491,7 +556,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:03 GMT + - Fri, 28 Jun 2024 21:06:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -524,18 +589,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056 + url: https://api.linode.com/v4beta/linode/instances/60783227 method: GET response: - body: '{"id": 54934056, "label": "go-test-ins-wo-disk-5lz1ow94v25m", "group": + body: '{"id": 60783227, "label": "go-test-ins-wo-disk-5gks3870bac6", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.50.92"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.60"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "adedae7ef69ee351548f2ec08be51b74f4698537", "has_user_data": false}' + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -552,13 +618,13 @@ interactions: Connection: - keep-alive Content-Length: - - "732" + - "796" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:18 GMT + - Fri, 28 Jun 2024 21:06:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -592,10 +658,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056/disks + url: https://api.linode.com/v4beta/linode/instances/60783227/disks method: GET response: - body: '{"data": [{"id": 108752737, "status": "ready", "label": "go-disk-test-5h4v61rv5ee4", + body: '{"data": [{"id": 119526979, "status": "ready", "label": "go-disk-test-962yaf9ay64b", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 1}' headers: @@ -620,7 +686,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:34 GMT + - Fri, 28 Jun 2024 21:06:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -654,7 +720,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056/disks/108752737/password + url: https://api.linode.com/v4beta/linode/instances/60783227/disks/119526979/password method: POST response: body: '{}' @@ -680,7 +746,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:34 GMT + - Fri, 28 Jun 2024 21:06:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -713,7 +779,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934056 + url: https://api.linode.com/v4beta/linode/instances/60783227 method: DELETE response: body: '{}' @@ -739,7 +805,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:34 GMT + - Fri, 28 Jun 2024 21:06:44 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Disk_Resize.yaml b/test/integration/fixtures/TestInstance_Disk_Resize.yaml index fe21cdda2..6fbbc7a51 100644 --- a/test/integration/fixtures/TestInstance_Disk_Resize.yaml +++ b/test/integration/fixtures/TestInstance_Disk_Resize.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:58 GMT + - Fri, 28 Jun 2024 21:01:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-ms31361lfhz9","firewall_id":501419,"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-t8auh0c3044z","firewall_id":611242,"booted":false}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59542974, "label": "go-test-ins-wo-disk-ms31361lfhz9", "group": + body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["194.195.118.55"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "0b08362955aed41698b873495bd61e8a06cc1fbb", "has_user_data": false, "placement_group": - null}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "762" + - "785" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:59 GMT + - Fri, 28 Jun 2024 21:01:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -372,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-2pj284szk1d5","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-drq2w7998z4z","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -381,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974/configs + url: https://api.linode.com/v4beta/linode/instances/60783043/configs method: POST response: - body: '{"id": 62729604, "label": "go-test-conf-2pj284szk1d5", "helpers": {"updatedb_disabled": + body: '{"id": 63990979, "label": "go-test-conf-drq2w7998z4z", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -413,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:59 GMT + - Fri, 28 Jun 2024 21:01:07 GMT Pragma: - no-cache Strict-Transport-Security: @@ -428,10 +441,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -449,19 +459,88 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974 + url: https://api.linode.com/v4beta/linode/instances/60783043 method: GET response: - body: '{"id": 59542974, "label": "go-test-ins-wo-disk-ms31361lfhz9", "group": + body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group": + "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128", + "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, + "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, + "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "801" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Fri, 28 Jun 2024 21:01:22 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/instances/60783043 + method: GET + response: + body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["194.195.118.55"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "0b08362955aed41698b873495bd61e8a06cc1fbb", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -478,13 +557,13 @@ interactions: Connection: - keep-alive Content-Length: - - "773" + - "796" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:45:14 GMT + - Fri, 28 Jun 2024 21:01:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -500,10 +579,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -512,7 +588,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"disk-test-5aa36v09f7zp","size":2000,"filesystem":"ext4"}' + body: '{"label":"disk-test-2akaxm4d6831","size":2000,"filesystem":"ext4"}' form: {} headers: Accept: @@ -521,10 +597,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974/disks + url: https://api.linode.com/v4beta/linode/instances/60783043/disks method: POST response: - body: '{"id": 117262197, "status": "not ready", "label": "disk-test-5aa36v09f7zp", + body: '{"id": 119526671, "status": "not ready", "label": "disk-test-2akaxm4d6831", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: @@ -549,7 +625,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:45:14 GMT + - Fri, 28 Jun 2024 21:01:37 GMT Pragma: - no-cache Strict-Transport-Security: @@ -564,10 +640,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -585,10 +658,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974/disks + url: https://api.linode.com/v4beta/linode/instances/60783043/disks method: GET response: - body: '{"data": [{"id": 117262197, "status": "ready", "label": "disk-test-5aa36v09f7zp", + body: '{"data": [{"id": 119526671, "status": "ready", "label": "disk-test-2akaxm4d6831", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 1}' headers: @@ -613,7 +686,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:45:30 GMT + - Fri, 28 Jun 2024 21:01:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -629,10 +702,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -650,7 +720,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974/disks/117262197/resize + url: https://api.linode.com/v4beta/linode/instances/60783043/disks/119526671/resize method: POST response: body: '{}' @@ -676,7 +746,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:45:30 GMT + - Fri, 28 Jun 2024 21:01:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -691,10 +761,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -712,7 +779,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542974 + url: https://api.linode.com/v4beta/linode/instances/60783043 method: DELETE response: body: '{}' @@ -738,7 +805,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:45:30 GMT + - Fri, 28 Jun 2024 21:01:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -753,10 +820,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_Disks_List.yaml b/test/integration/fixtures/TestInstance_Disks_List.yaml index e4912d1ea..f574229fa 100644 --- a/test/integration/fixtures/TestInstance_Disks_List.yaml +++ b/test/integration/fixtures/TestInstance_Disks_List.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:57 GMT + - Fri, 28 Jun 2024 21:01:04 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-eqyl87dp0364","root_pass":"Pv}z0^K54aIfg;\\n0[R/X:1Q7V3''\u0026IO,65X5jD=Ieg0cyww:7r\u003cYQ}HBv0?v2$59","image":"linode/debian9","firewall_id":501419,"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-gu07fn651tb0","root_pass":"v73f9pqP,J4E7ZG-Ou=k7tiEC;;72K*yz\u00269(MiC87g8R9A]yD\u003c@9*rp-1D6Dh|*}","image":"linode/debian9","firewall_id":611242,"booted":false}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59542973, "label": "go-test-ins-eqyl87dp0364", "group": "", "status": + body: '{"id": 60783041, "label": "go-test-ins-gu07fn651tb0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.94"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.37.249"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": false, "placement_group": - null}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "765" + - "790" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:57 GMT + - Fri, 28 Jun 2024 21:01:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -381,12 +394,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542973/disks + url: https://api.linode.com/v4beta/linode/instances/60783041/disks method: GET response: - body: '{"data": [{"id": 117262171, "status": "not ready", "label": "Debian 9 Disk", + body: '{"data": [{"id": 119526627, "status": "not ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 25088}, {"id": 117262172, "status": "not ready", "label": "512 + "ext4", "size": 25088}, {"id": 119526628, "status": "not ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: @@ -411,7 +424,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:57 GMT + - Fri, 28 Jun 2024 21:01:05 GMT Pragma: - no-cache Strict-Transport-Security: @@ -427,10 +440,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -448,7 +458,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542973 + url: https://api.linode.com/v4beta/linode/instances/60783041 method: DELETE response: body: '{}' @@ -474,7 +484,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:58 GMT + - Fri, 28 Jun 2024 21:01:06 GMT Pragma: - no-cache Strict-Transport-Security: @@ -489,10 +499,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_Rebuild.yaml b/test/integration/fixtures/TestInstance_Rebuild.yaml index f9e0e2b9b..d2422a5bd 100644 --- a/test/integration/fixtures/TestInstance_Rebuild.yaml +++ b/test/integration/fixtures/TestInstance_Rebuild.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:44 GMT + - Fri, 28 Jun 2024 21:08:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5q644fi85dmi","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-3bs1a456up9p","firewall_id":611256,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54934100, "label": "go-test-ins-wo-disk-5q644fi85dmi", "group": + body: '{"id": 60783320, "label": "go-test-ins-wo-disk-3bs1a456up9p", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["139.144.220.109"], "ipv6": "1234::5678/128", - "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, + "type": "g6-nanode-1", "ipv4": ["172.105.48.81"], "ipv6": "1234::5678/128", + "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "e07372a73e160e36b668a0b352f4b429466de827", "has_user_data": false}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "738" + - "785" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:44 GMT + - Fri, 28 Jun 2024 21:08:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-8f616jzj54aw","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-o7w224bscw65","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -330,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934100/configs + url: https://api.linode.com/v4beta/linode/instances/60783320/configs method: POST response: - body: '{"id": 58038525, "label": "go-test-conf-8f616jzj54aw", "helpers": {"updatedb_disabled": + body: '{"id": 63991264, "label": "go-test-conf-o7w224bscw65", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -362,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:44 GMT + - Fri, 28 Jun 2024 21:08:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -396,15 +460,15 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":54934100,"entity.type":"linode"}' + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":60783320,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 649334130, "created": "2018-01-02T03:04:05", "seen": false, + body: '{"data": [{"id": 760090318, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 6.0, "action": "linode_create", "username": "zliang27", "entity": {"label": - "go-test-ins-wo-disk-5q644fi85dmi", "id": 54934100, "type": "linode", "url": - "/v4/linode/instances/54934100"}, "status": "finished", "secondary_entity": + 9.0, "action": "linode_create", "username": "ErikZilber", "entity": {"label": + "go-test-ins-wo-disk-3bs1a456up9p", "id": 60783320, "type": "linode", "url": + "/v4/linode/instances/60783320"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -422,13 +486,13 @@ interactions: Connection: - keep-alive Content-Length: - - "452" + - "454" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:24:00 GMT + - Fri, 28 Jun 2024 21:09:09 GMT Pragma: - no-cache Strict-Transport-Security: @@ -453,7 +517,7 @@ interactions: code: 200 duration: "" - request: - body: '{"image":"linode/alpine3.15","root_pass":"=W8609$g5M8pb46aq|1a8=\u0026USJUs/i12S/P?JvBz@?LYO2.`-*41Usuy5[vaHm:N","metadata":{"user_data":"Y29vbA=="},"type":"g6-standard-2"}' + body: '{"image":"linode/alpine3.19","root_pass":"7EOk9fN7J\u003e]d''[?y,u5cS3be01MR\u003c|W~$5[d,z^C2?90MGd0y00Q)dSaL8MnOf.7","metadata":{"user_data":"Y29vbA=="},"type":"g6-standard-2"}' form: {} headers: Accept: @@ -462,18 +526,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934100/rebuild + url: https://api.linode.com/v4beta/linode/instances/60783320/rebuild method: POST response: - body: '{"id": 54934100, "label": "go-test-ins-wo-disk-5q644fi85dmi", "group": + body: '{"id": 60783320, "label": "go-test-ins-wo-disk-3bs1a456up9p", "group": "", "status": "rebuilding", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-standard-2", "ipv4": ["139.144.220.109"], "ipv6": "1234::5678/128", - "image": "linode/alpine3.15", "region": "us-iad", "specs": {"disk": 25600, "memory": - 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "e07372a73e160e36b668a0b352f4b429466de827", "has_user_data": true}' + "type": "g6-standard-2", "ipv4": ["172.105.48.81"], "ipv6": "1234::5678/128", + "image": "linode/alpine3.19", "region": "ap-west", "specs": {"disk": 25600, + "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": + 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, + "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", + "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": + true, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -490,13 +555,13 @@ interactions: Connection: - keep-alive Content-Length: - - "752" + - "815" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:24:00 GMT + - Fri, 28 Jun 2024 21:09:10 GMT Pragma: - no-cache Strict-Transport-Security: @@ -529,7 +594,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934100 + url: https://api.linode.com/v4beta/linode/instances/60783320 method: DELETE response: body: '{}' @@ -555,7 +620,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:24:01 GMT + - Fri, 28 Jun 2024 21:09:10 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Resize.yaml b/test/integration/fixtures/TestInstance_Resize.yaml index 9a367bbc1..f2c475744 100644 --- a/test/integration/fixtures/TestInstance_Resize.yaml +++ b/test/integration/fixtures/TestInstance_Resize.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:46 GMT + - Fri, 28 Jun 2024 21:09:52 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-x2i0j1825hbn","root_pass":"3l;P4f8i''q5l+9\u003cJ`Yx9]6#y1\\ZXmr95)dc7kW$.WtC/5b+|Z65F#tHS1EBU2*Xu","image":"linode/debian9","firewall_id":501419,"booted":true}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-k2ui4r9303xh","root_pass":"27l=dRg[EZ2RFSt+Jp\u0026T223U6l;nB~U9Gz~(3+Bu).3z1o40![19Qs9S\\s^xPvb\u003c","image":"linode/debian9","firewall_id":611260,"booted":true}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59542928, "label": "go-test-ins-x2i0j1825hbn", "group": "", "status": + body: '{"id": 60783380, "label": "go-test-ins-k2ui4r9303xh", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.57"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.88"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": false, "placement_group": - null}' + "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "765" + - "789" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:47 GMT + - Fri, 28 Jun 2024 21:09:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -381,19 +394,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928 + url: https://api.linode.com/v4beta/linode/instances/60783380 method: GET response: - body: '{"id": 59542928, "label": "go-test-ins-x2i0j1825hbn", "group": "", "status": + body: '{"id": 60783380, "label": "go-test-ins-k2ui4r9303xh", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.57"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.88"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -410,13 +423,13 @@ interactions: Connection: - keep-alive Content-Length: - - "781" + - "805" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:02 GMT + - Fri, 28 Jun 2024 21:10:08 GMT Pragma: - no-cache Strict-Transport-Security: @@ -432,10 +445,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -453,19 +463,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928 + url: https://api.linode.com/v4beta/linode/instances/60783380 method: GET response: - body: '{"id": 59542928, "label": "go-test-ins-x2i0j1825hbn", "group": "", "status": + body: '{"id": 60783380, "label": "go-test-ins-k2ui4r9303xh", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.57"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.88"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -482,13 +492,13 @@ interactions: Connection: - keep-alive Content-Length: - - "781" + - "805" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:17 GMT + - Fri, 28 Jun 2024 21:10:23 GMT Pragma: - no-cache Strict-Transport-Security: @@ -504,10 +514,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -525,19 +532,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928 + url: https://api.linode.com/v4beta/linode/instances/60783380 method: GET response: - body: '{"id": 59542928, "label": "go-test-ins-x2i0j1825hbn", "group": "", "status": + body: '{"id": 60783380, "label": "go-test-ins-k2ui4r9303xh", "group": "", "status": "booting", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.57"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.88"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -554,13 +561,13 @@ interactions: Connection: - keep-alive Content-Length: - - "776" + - "800" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:32 GMT + - Fri, 28 Jun 2024 21:10:38 GMT Pragma: - no-cache Strict-Transport-Security: @@ -576,10 +583,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -597,19 +601,19 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928 + url: https://api.linode.com/v4beta/linode/instances/60783380 method: GET response: - body: '{"id": 59542928, "label": "go-test-ins-x2i0j1825hbn", "group": "", "status": + body: '{"id": 60783380, "label": "go-test-ins-k2ui4r9303xh", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.105.63.57"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["172.105.48.88"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": - [], "host_uuid": "055765a37008ceb607a77e652fa584515bbac9e1", "has_user_data": - false, "placement_group": null}' + [], "host_uuid": "454cc4590caa2a8de6a482c1c9e382273edb1576", "has_user_data": + false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -626,13 +630,13 @@ interactions: Connection: - keep-alive Content-Length: - - "776" + - "800" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:47 GMT + - Fri, 28 Jun 2024 21:10:53 GMT Pragma: - no-cache Strict-Transport-Security: @@ -648,10 +652,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -669,97 +670,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928/resize - method: POST - response: - body: '{"errors": [{"reason": "Linode busy."}]}' - headers: - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=0, no-cache, no-store - Content-Length: - - "40" - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 17:44:47 GMT - Pragma: - - no-cache - X-Accepted-Oauth-Scopes: - - linodes:read_write - X-Frame-Options: - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - status: 400 Bad Request - code: 400 - duration: "" -- request: - body: '{"type":"g6-standard-1","migration_type":"warm"}' - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928/resize - method: POST - response: - body: '{"errors": [{"reason": "Linode busy."}]}' - headers: - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Cache-Control: - - max-age=0, no-cache, no-store - Content-Length: - - "40" - Content-Type: - - application/json - Expires: - - Fri, 31 May 2024 17:44:50 GMT - Pragma: - - no-cache - X-Accepted-Oauth-Scopes: - - linodes:read_write - X-Frame-Options: - - DENY - X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write - X-Ratelimit-Limit: - - "400" - status: 400 Bad Request - code: 400 - duration: "" -- request: - body: '{"type":"g6-standard-1","migration_type":"warm"}' - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928/resize + url: https://api.linode.com/v4beta/linode/instances/60783380/resize method: POST response: body: '{}' @@ -785,7 +696,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:56 GMT + - Fri, 28 Jun 2024 21:10:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -800,10 +711,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -821,7 +729,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542928 + url: https://api.linode.com/v4beta/linode/instances/60783380 method: DELETE response: body: '{}' @@ -847,7 +755,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:44:56 GMT + - Fri, 28 Jun 2024 21:10:54 GMT Pragma: - no-cache Strict-Transport-Security: @@ -862,10 +770,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_Volumes_List.yaml b/test/integration/fixtures/TestInstance_Volumes_List.yaml index aa5aa04bb..ddb8aa52d 100644 --- a/test/integration/fixtures/TestInstance_Volumes_List.yaml +++ b/test/integration/fixtures/TestInstance_Volumes_List.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:35 GMT + - Mon, 01 Jul 2024 14:47:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -266,7 +329,7 @@ interactions: url: https://api.linode.com/v4beta/volumes method: POST response: - body: '{"id": 2612203, "status": "creating", "label": "go-vol-test-def", "created": + body: '{"id": 4811915, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": @@ -293,7 +356,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:36 GMT + - Mon, 01 Jul 2024 14:47:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -326,13 +389,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934096/volumes + url: https://api.linode.com/v4beta/linode/instances/60888843/volumes?page=1 method: GET response: - body: '{"data": [{"id": 2612203, "status": "creating", "label": "go-vol-test-def", + body: '{"data": [{"id": 4811915, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": - 54934096, "linode_label": "go-test-ins-wo-disk-wz2e2i81e9s3", "region": "ap-west", + 60888843, "linode_label": "go-test-ins-wo-disk-q375a8jf2r2a", "region": "ap-west", "tags": [], "hardware_type": "nvme"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -356,7 +419,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:36 GMT + - Mon, 01 Jul 2024 14:47:42 GMT Pragma: - no-cache Strict-Transport-Security: @@ -390,7 +453,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/volumes/2612203 + url: https://api.linode.com/v4beta/volumes/4811915 method: DELETE response: body: '{}' @@ -416,7 +479,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:41 GMT + - Mon, 01 Jul 2024 14:47:48 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml b/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml index ce88cbd8c..145d666ca 100644 --- a/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml +++ b/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:34 GMT + - Mon, 01 Jul 2024 16:14:59 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-wz2e2i81e9s3","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-e2c17i88l1ms","firewall_id":620815,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54934096, "label": "go-test-ins-wo-disk-wz2e2i81e9s3", "group": + body: '{"id": 60893544, "label": "go-test-ins-wo-disk-e2c17i88l1ms", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.127.100"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["192.46.214.186"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "f0b4b286c35b3e5b7f8a0ac0e1c7a53076e88273", "has_user_data": false}' + "96c6bc3f2814fb4e6b5a04de497463f5b46d5188", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "737" + - "786" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:35 GMT + - Mon, 01 Jul 2024 16:15:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-216t9fh5h2wp","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-jfj281g0gb45","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -330,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934096/configs + url: https://api.linode.com/v4beta/linode/instances/60893544/configs method: POST response: - body: '{"id": 58038521, "label": "go-test-conf-216t9fh5h2wp", "helpers": {"updatedb_disabled": + body: '{"id": 64103914, "label": "go-test-conf-jfj281g0gb45", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -362,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:35 GMT + - Mon, 01 Jul 2024 16:15:00 GMT Pragma: - no-cache Strict-Transport-Security: @@ -386,7 +450,134 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-vol-testhuv52n518vy6","comments":"","devices":{"sda":{"volume_id":2612203}},"interfaces":null,"memory_limit":0,"init_rd":null}' + body: '{"label":"go-vol-test8zk854m8gs3v","region":"ap-west","tags":null}' + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/volumes + method: POST + response: + body: '{"id": 4812978, "status": "creating", "label": "go-vol-test8zk854m8gs3v", + "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": + "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test8zk854m8gs3v", "size": 20, "linode_id": + null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": + "nvme"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "334" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Mon, 01 Jul 2024 16:15:00 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - volumes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "100" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/volumes/4812978 + method: GET + response: + body: '{"id": 4812978, "status": "active", "label": "go-vol-test8zk854m8gs3v", + "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": + "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test8zk854m8gs3v", "size": 20, "linode_id": + null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": + "nvme"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "332" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Mon, 01 Jul 2024 16:15:15 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - volumes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"go-vol-test1719850515918472000","comments":"","devices":{"sda":{"volume_id":4812978}},"interfaces":null,"memory_limit":0,"init_rd":null}' form: {} headers: Accept: @@ -395,16 +586,17 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934096/configs/58038521 + url: https://api.linode.com/v4beta/linode/instances/60893544/configs/64103914 method: PUT response: - body: '{"id": 58038521, "label": "go-vol-testhuv52n518vy6", "helpers": {"updatedb_disabled": - true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": - true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": - "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", - "devices": {"sda": {"disk_id": null, "volume_id": 2612203}, "sdb": null, "sdc": - null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": - null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' + body: '{"id": 64103914, "label": "go-vol-test1719850515918472000", "helpers": + {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": + true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": + "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "root_device": "/dev/sda", "devices": {"sda": {"disk_id": null, "volume_id": + 4812978}, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": + null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", + "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" @@ -421,13 +613,13 @@ interactions: Connection: - keep-alive Content-Length: - - "572" + - "579" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:36 GMT + - Mon, 01 Jul 2024 16:15:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -460,7 +652,130 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934096 + url: https://api.linode.com/v4beta/linode/instances/60893544/volumes?page=1 + method: GET + response: + body: '{"data": [{"id": 4812978, "status": "active", "label": "go-vol-test8zk854m8gs3v", + "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": + "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test8zk854m8gs3v", "size": 20, "linode_id": + 60893544, "linode_label": "go-test-ins-wo-disk-e2c17i88l1ms", "region": "ap-west", + "tags": [], "hardware_type": "nvme"}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "415" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Mon, 01 Jul 2024 16:15:16 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/volumes/4812978 + method: DELETE + response: + body: '{}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Expires: + - Mon, 01 Jul 2024 16:15:16 GMT + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - volumes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/instances/60893544 method: DELETE response: body: '{}' @@ -486,7 +801,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:23:42 GMT + - Mon, 01 Jul 2024 16:15:16 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_withMetadata.yaml b/test/integration/fixtures/TestInstance_withMetadata.yaml index ba6a2e076..edbc66ca6 100644 --- a/test/integration/fixtures/TestInstance_withMetadata.yaml +++ b/test/integration/fixtures/TestInstance_withMetadata.yaml @@ -15,199 +15,262 @@ interactions: method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud - Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": - "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, - 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", - "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, - 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, - 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, - 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, - 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": - "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", - "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, - 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, - 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "nl-ams", - "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, - 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", - "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", + 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, - 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, - 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, - 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", - "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", - "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, - 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, - 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "jp-osa", - "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": - "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object - Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium - Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, - 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, - 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", - "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, - 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, - 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, - 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, - 172.233.128.44", "ipv6": "1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, - 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, - 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", - "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, - {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, - 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, - 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, - 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, - 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": - ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, - 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": - "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", - "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": - {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, - 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", - "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": - "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block - Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": - "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, - 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": - 25}' + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -228,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:25:49 GMT + - Fri, 28 Jun 2024 21:13:17 GMT Pragma: - no-cache Strict-Transport-Security: @@ -254,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-gjtr01d885e8","metadata":{"user_data":"cmVhbGx5Y29vbG1ldGFkYXRh"},"booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-83yre7m43y4y","metadata":{"user_data":"cmVhbGx5Y29vbG1ldGFkYXRh"},"firewall_id":611272,"booted":false}' form: {} headers: Accept: @@ -266,15 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 54934166, "label": "go-test-ins-wo-disk-gjtr01d885e8", "group": + body: '{"id": 60783485, "label": "go-test-ins-wo-disk-83yre7m43y4y", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["139.144.203.120"], "ipv6": "1234::5678/128", - "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, + "type": "g6-nanode-1", "ipv4": ["172.105.40.207"], "ipv6": "1234::5678/128", + "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "e07372a73e160e36b668a0b352f4b429466de827", "has_user_data": true}' + "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": true, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "737" + - "785" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:25:50 GMT + - Fri, 28 Jun 2024 21:13:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -321,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-g20ff4tij270","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-5t44riin138j","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -330,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934166/configs + url: https://api.linode.com/v4beta/linode/instances/60783485/configs method: POST response: - body: '{"id": 58038596, "label": "go-test-conf-g20ff4tij270", "helpers": {"updatedb_disabled": + body: '{"id": 63991429, "label": "go-test-conf-5t44riin138j", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -362,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:25:50 GMT + - Fri, 28 Jun 2024 21:13:18 GMT Pragma: - no-cache Strict-Transport-Security: @@ -395,7 +459,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/54934166 + url: https://api.linode.com/v4beta/linode/instances/60783485 method: DELETE response: body: '{}' @@ -421,7 +485,7 @@ interactions: Content-Type: - application/json Expires: - - Wed, 14 Feb 2024 18:25:51 GMT + - Fri, 28 Jun 2024 21:13:18 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestInstance_withPG.yaml b/test/integration/fixtures/TestInstance_withPG.yaml index bc7f63acc..62b69821c 100644 --- a/test/integration/fixtures/TestInstance_withPG.yaml +++ b/test/integration/fixtures/TestInstance_withPG.yaml @@ -14,73 +14,263 @@ interactions: url: https://api.linode.com/v4beta/regions method: GET response: - body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", - "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", + "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", + "Metadata"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, + 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, + 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, + 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, + 172.105.11.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, + 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, + 172.105.161.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium + Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, + 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, + 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", - "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", - "VPCs", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", - "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", - "VPCs", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": - "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": - {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": - "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": - {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": - "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", - "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": - "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"], - "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", - "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed - Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": + "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": + "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, + 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": + "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, + 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": + "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, + 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": - "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, + 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, + 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, + 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, + 172.232.128.27", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, + 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, + 172.233.111.9", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", + "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, + 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": + "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", - "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", - "Placement Group"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": + {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, + 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": + "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, + 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": + "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": + "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, + 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": + "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, + 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", + "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, + 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, + 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, + 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", - "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud - Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], - "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, + 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + "Newark, NJ", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], "status": + "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, + 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, + 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, + 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"], - "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"], - "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": - "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"], - "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", - "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", + "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, + 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU + Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases", "Metadata"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, + 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, + 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", + "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "Backups", + "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block + Storage Migrations", "Managed Databases", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, + 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": + "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -93,20 +283,23 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=900 - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Fri, 28 Jun 2024 21:13:54 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -124,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"linodego-test-1718723007764225000","region":"us-east","affinity_type":"anti_affinity:local","is_strict":false}' + body: '{"label":"linodego-test-1719609233973734000","region":"us-ord","affinity_type":"anti_affinity:local","is_strict":false}' form: {} headers: Accept: @@ -136,7 +329,7 @@ interactions: url: https://api.linode.com/v4beta/placement/groups method: POST response: - body: '{"id": 4021, "label": "linodego-test-1718723007764225000", "region": "us-east", + body: '{"id": 1288, "label": "linodego-test-1719609233973734000", "region": "us-ord", "affinity_type": "anti_affinity:local", "is_strict": false, "is_compliant": true, "members": []}' headers: @@ -151,15 +344,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - - "176" + - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Fri, 28 Jun 2024 21:13:54 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -181,7 +378,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-5skg99rf1a38","root_pass":"Jb\u00262S#q7072\u003cXj;imqjH7zr5n96A)OVLK8j\\Z31@{+Ei0R72jG]\u003cEGbr.5F/=-\u0026l","image":"linode/debian9","firewall_id":34216,"placement_group":{"id":4021},"booted":false}' + body: '{"region":"us-ord","type":"g6-nanode-1","label":"go-test-ins-gk37o1p05n6l","root_pass":"2w@C7|L4a8{3h`$6T-uRJ\u0026iCM8f2l''Bgqs`5Wy;kU(G@21rWW9PP[55\u003e1^utW2)j","image":"linode/debian9","firewall_id":611277,"placement_group":{"id":1288},"booted":false}' form: {} headers: Accept: @@ -193,18 +390,17 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 25195351, "label": "go-test-ins-5skg99rf1a38", "group": "", "status": + body: '{"id": 60783502, "label": "go-test-ins-gk37o1p05n6l", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["143.42.181.72"], "ipv6": "1234::5678/128", - "image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory": + "type": "g6-nanode-1", "ipv4": ["172.234.212.186"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "us-ord", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "2e8c6f5e2c38ef3261c570ae22ac2b65435af20b", "has_user_data": false, "placement_group": - {"id": 4021, "label": "linodego-test-1718723007764225000", "affinity_type": - "anti_affinity:local", "is_strict": false}, "disk_encryption": "enabled", "lke_cluster_id": - null}' + "a4dde4a930ee064d67f6ba03753d2aec98b0e75b", "has_user_data": false, "placement_group": + {"id": 1288, "label": "linodego-test-1719609233973734000", "affinity_type": + "anti_affinity:local", "is_strict": false}, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -217,18 +413,22 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Fri, 28 Jun 2024 21:13:55 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - - Accept-Encoding - Authorization, X-Filter + - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: @@ -255,7 +455,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25195351 + url: https://api.linode.com/v4beta/linode/instances/60783502 method: DELETE response: body: '{}' @@ -271,15 +471,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Fri, 28 Jun 2024 21:13:55 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -310,7 +514,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/placement/groups/4021 + url: https://api.linode.com/v4beta/placement/groups/1288 method: DELETE response: body: '{}' @@ -326,15 +530,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Fri, 28 Jun 2024 21:13:56 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: diff --git a/test/integration/fixtures/TestInstances_List.yaml b/test/integration/fixtures/TestInstances_List.yaml index ebe7711ec..df25e3adf 100644 --- a/test/integration/fixtures/TestInstances_List.yaml +++ b/test/integration/fixtures/TestInstances_List.yaml @@ -57,10 +57,10 @@ interactions: 5}, "site_type": "core"}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", - "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, + "Managed Databases", "Metadata", "Premium Plans", "Placement Group"], "status": + "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, + 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", + "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": @@ -156,8 +156,8 @@ interactions: 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, + "VPCs", "Metadata", "Premium Plans", "Placement Group"], "status": "ok", "resolvers": + {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, @@ -183,6 +183,25 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": + 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "gb-lon", "label": + "London 2, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", + "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.236.0.46, 172.236.0.50, + 172.236.0.47, 172.236.0.53, 172.236.0.52, 172.236.0.45, 172.236.0.49, 172.236.0.51, + 172.236.0.54, 172.236.0.48", "ipv6": "1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678"}, "placement_group_limits": + {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": + "core"}, {"id": "au-mel", "label": "Melbourne, AU", "country": "au", "capabilities": + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Cloud Firewall", "Vlans", + "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": + "172.236.32.23, 172.236.32.35, 172.236.32.30, 172.236.32.28, 172.236.32.32, + 172.236.32.33, 172.236.32.27, 172.236.32.37, 172.236.32.29, 172.236.32.34", + "ipv6": "1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678, 1234::5678, 1234::5678, + 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block @@ -251,7 +270,7 @@ interactions: "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "core"}], "page": 1, "pages": 1, "results": 27}' headers: Access-Control-Allow-Credentials: - "true" @@ -272,7 +291,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:43 GMT + - Fri, 28 Jun 2024 21:15:12 GMT Pragma: - no-cache Strict-Transport-Security: @@ -289,10 +308,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -301,7 +317,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-rpa175505lbr","firewall_id":501419,"booted":false}' + body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-35do6jg65bi5","firewall_id":611282,"booted":false}' form: {} headers: Accept: @@ -313,16 +329,16 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 59542921, "label": "go-test-ins-wo-disk-rpa175505lbr", "group": + body: '{"id": 60783533, "label": "go-test-ins-wo-disk-35do6jg65bi5", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["80.85.84.141"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["178.79.181.199"], "ipv6": "1234::5678/128", "image": null, "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "5c55e07869ad1857e820015f80011fe56058b9cc", "has_user_data": false, "placement_group": - null}' + "6542c8ea9d24a3069a77cdeeb5c6ad1bae6ffb93", "has_user_data": false, "placement_group": + null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: - "true" @@ -339,13 +355,13 @@ interactions: Connection: - keep-alive Content-Length: - - "760" + - "786" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:44 GMT + - Fri, 28 Jun 2024 21:15:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -360,10 +376,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -372,7 +385,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-conf-32zo19zu8j2m","devices":{},"interfaces":null}' + body: '{"label":"go-test-conf-th7785ac1v5q","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -381,10 +394,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542921/configs + url: https://api.linode.com/v4beta/linode/instances/60783533/configs method: POST response: - body: '{"id": 62729553, "label": "go-test-conf-32zo19zu8j2m", "helpers": {"updatedb_disabled": + body: '{"id": 63991474, "label": "go-test-conf-th7785ac1v5q", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", @@ -413,7 +426,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:44 GMT + - Fri, 28 Jun 2024 21:15:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -428,10 +441,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -450,21 +460,21 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"id": 59542921}' + - '{"id": 60783533}' url: https://api.linode.com/v4beta/linode/instances?page=1 method: GET response: - body: '{"data": [{"id": 59542921, "label": "go-test-ins-wo-disk-rpa175505lbr", + body: '{"data": [{"id": 60783533, "label": "go-test-ins-wo-disk-35do6jg65bi5", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": - "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["80.85.84.141"], "ipv6": + "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["178.79.181.199"], "ipv6": "1234::5678/128", "image": null, "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": - "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "5c55e07869ad1857e820015f80011fe56058b9cc", - "has_user_data": false, "placement_group": null}], "page": 1, "pages": 1, "results": - 1}' + "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6542c8ea9d24a3069a77cdeeb5c6ad1bae6ffb93", + "has_user_data": false, "placement_group": null, "lke_cluster_id": null}], "page": + 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" @@ -481,13 +491,13 @@ interactions: Connection: - keep-alive Content-Length: - - "825" + - "851" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:44 GMT + - Fri, 28 Jun 2024 21:15:13 GMT Pragma: - no-cache Strict-Transport-Security: @@ -503,10 +513,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -524,7 +531,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/59542921 + url: https://api.linode.com/v4beta/linode/instances/60783533 method: DELETE response: body: '{}' @@ -550,7 +557,7 @@ interactions: Content-Type: - application/json Expires: - - Fri, 31 May 2024 17:43:44 GMT + - Fri, 28 Jun 2024 21:15:14 GMT Pragma: - no-cache Strict-Transport-Security: @@ -565,10 +572,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/instances_test.go b/test/integration/instances_test.go index 061c9dadb..5bd41062e 100644 --- a/test/integration/instances_test.go +++ b/test/integration/instances_test.go @@ -290,14 +290,20 @@ func TestInstance_Volumes_List(t *testing.T) { t.Error(err) } - clientVol, volume, teardown, err := setupVolume(t, "fixtures/TestInstance_Volumes_List") - defer teardown() + volume, teardown, volErr := createVolume(t, client) + + _, err = client.WaitForVolumeStatus(context.Background(), volume.ID, linodego.VolumeActive, 500) if err != nil { + t.Errorf("Error waiting for volume to be active, %s", err) + } + + defer teardown() + if volErr != nil { t.Error(err) } configOpts := linodego.InstanceConfigUpdateOptions{ - Label: "go-vol-test" + randLabel(), + Label: "go-vol-test" + getUniqueText(), Devices: &linodego.InstanceConfigDeviceMap{ SDA: &linodego.InstanceConfigDevice{ VolumeID: volume.ID, @@ -309,7 +315,7 @@ func TestInstance_Volumes_List(t *testing.T) { t.Error(err) } - volumes, err := clientVol.ListInstanceVolumes(context.Background(), instance.ID, nil) + volumes, err := client.ListInstanceVolumes(context.Background(), instance.ID, nil) if err != nil { t.Errorf("Error listing instance volumes, expected struct, got error %v", err) } @@ -363,7 +369,7 @@ func TestInstance_Rebuild(t *testing.T) { } rebuildOpts := linodego.InstanceRebuildOptions{ - Image: "linode/alpine3.15", + Image: "linode/alpine3.19", Metadata: &linodego.InstanceMetadataOptions{ UserData: base64.StdEncoding.EncodeToString([]byte("cool")), }, diff --git a/test/integration/volumes_test.go b/test/integration/volumes_test.go index f84386ef3..605214da7 100644 --- a/test/integration/volumes_test.go +++ b/test/integration/volumes_test.go @@ -8,6 +8,8 @@ import ( "github.com/linode/linodego" ) +type volumeModifier func(*linodego.Client, *linodego.VolumeCreateOptions) + func TestVolume_Create_smoke(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestVolume_Create") defer teardown() @@ -190,3 +192,31 @@ func setupVolume(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego } return client, volume, teardown, err } + +func createVolume( + t *testing.T, + client *linodego.Client, + vModifier ...volumeModifier, +) (*linodego.Volume, func(), error) { + t.Helper() + createOpts := linodego.VolumeCreateOptions{ + Label: "go-vol-test" + randLabel(), + Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], + } + + for _, mod := range vModifier { + mod(client, &createOpts) + } + + v, err := client.CreateVolume(context.Background(), createOpts) + if err != nil { + t.Fatalf("failed to create volume: %s", err) + } + + teardown := func() { + if err := client.DeleteVolume(context.Background(), v.ID); err != nil { + t.Errorf("failed to delete volume: %s", err) + } + } + return v, teardown, err +}