From 18308db9981063b6e456fc50d6a6c277841c70a8 Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Tue, 9 Jul 2024 09:30:36 -0400 Subject: [PATCH 1/4] Migrated profile_phone_number to regions and reran fixtures --- paged_response_structs.go | 9 + profile_phone_number.go | 19 +- profile_security_questions.go | 16 +- profile_sshkeys.go | 63 +- profile_tfa.go | 17 +- profile_tokens.go | 63 +- regions.go | 44 +- .../TestRegionsAvailability_List.yaml | 833 ++++++++++++------ .../fixtures/TestRegions_List.yaml | 279 +++--- .../fixtures/TestRegions_pgLimits.yaml | 330 +++++-- .../fixtures/TestSSHKey_GetFound.yaml | 45 +- .../fixtures/TestSSHKey_GetMissing.yaml | 12 +- .../fixtures/TestSSHKey_Update.yaml | 44 +- .../fixtures/TestSSHKeys_List.yaml | 60 +- .../fixtures/TestToken_GetFound.yaml | 51 +- .../fixtures/TestToken_GetMissing.yaml | 12 +- .../fixtures/TestToken_GetNoExpiry.yaml | 49 +- .../integration/fixtures/TestTokens_List.yaml | 68 +- .../fixtures/TestTokens_Update.yaml | 50 +- 19 files changed, 1282 insertions(+), 782 deletions(-) diff --git a/paged_response_structs.go b/paged_response_structs.go index a8a18c1d6..6c24739ae 100644 --- a/paged_response_structs.go +++ b/paged_response_structs.go @@ -90,5 +90,14 @@ type OAuthClientsPagedResponse legacyPagedResponse[OAuthClient] // Deprecated: PaymentsPagedResponse exists for historical compatibility and should not be used. type PaymentsPagedResponse legacyPagedResponse[Payment] +// Deprecated: RegionsPagedResponse exists for historical compatibility and should not be used. +type RegionsPagedResponse legacyPagedResponse[Region] + +// Deprecated: SSHKeysPagedResponse exists for historical compatibility and should not be used. +type SSHKeysPagedResponse legacyPagedResponse[SSHKey] + +// Deprecated: TokensPagedResponse exists for historical compatibility and should not be used. +type TokensPagedResponse legacyPagedResponse[Token] + // Deprecated: UsersPagedResponse exists for historical compatibility and should not be used. type UsersPagedResponse legacyPagedResponse[User] diff --git a/profile_phone_number.go b/profile_phone_number.go index 8c52ae38e..c71d12fe7 100644 --- a/profile_phone_number.go +++ b/profile_phone_number.go @@ -2,7 +2,6 @@ package linodego import ( "context" - "encoding/json" ) // SendPhoneNumberVerificationCodeOptions fields are those accepted by SendPhoneNumberVerificationCode @@ -18,31 +17,23 @@ type VerifyPhoneNumberOptions struct { // SendPhoneNumberVerificationCode sends a one-time verification code via SMS message to the submitted phone number. func (c *Client) SendPhoneNumberVerificationCode(ctx context.Context, opts SendPhoneNumberVerificationCodeOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := "profile/phone-number" - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + _, err := doPOSTRequest[any](ctx, c, e, opts) + return err } // DeletePhoneNumber deletes the verified phone number for the User making this request. func (c *Client) DeletePhoneNumber(ctx context.Context) error { e := "profile/phone-number" - _, err := coupleAPIErrors(c.R(ctx).Delete(e)) + err := doDELETERequest(ctx, c, e) return err } // VerifyPhoneNumber verifies a phone number by confirming the one-time code received via SMS message after accessing the Phone Verification Code Send command. func (c *Client) VerifyPhoneNumber(ctx context.Context, opts VerifyPhoneNumberOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := "profile/phone-number/verify" - _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) + _, err := doPOSTRequest[any](ctx, c, e, opts) + return err } diff --git a/profile_security_questions.go b/profile_security_questions.go index 66760c95e..c827cd79d 100644 --- a/profile_security_questions.go +++ b/profile_security_questions.go @@ -2,7 +2,6 @@ package linodego import ( "context" - "encoding/json" ) type SecurityQuestion struct { @@ -27,23 +26,18 @@ type SecurityQuestionsAnswerOptions struct { // SecurityQuestionsList returns a collection of security questions and their responses, if any, for your User Profile. func (c *Client) SecurityQuestionsList(ctx context.Context) (*SecurityQuestionsListResponse, error) { e := "profile/security-questions" - req := c.R(ctx).SetResult(&SecurityQuestionsListResponse{}) - r, err := coupleAPIErrors(req.Get(e)) + response, err := doGETRequest[SecurityQuestionsListResponse](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*SecurityQuestionsListResponse), nil + + return response, nil } // SecurityQuestionsAnswer adds security question responses for your User. func (c *Client) SecurityQuestionsAnswer(ctx context.Context, opts SecurityQuestionsAnswerOptions) error { - body, err := json.Marshal(opts) - if err != nil { - return err - } - e := "profile/security-questions" - req := c.R(ctx).SetBody(string(body)) - _, err = coupleAPIErrors(req.Post(e)) + + _, err := doPOSTRequest[any](ctx, c, e, opts) return err } diff --git a/profile_sshkeys.go b/profile_sshkeys.go index 340ca8c40..b67e616c3 100644 --- a/profile_sshkeys.go +++ b/profile_sshkeys.go @@ -3,10 +3,8 @@ package linodego import ( "context" "encoding/json" - "fmt" "time" - "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) @@ -62,83 +60,52 @@ func (i SSHKey) GetUpdateOptions() (o SSHKeyUpdateOptions) { return } -// SSHKeysPagedResponse represents a paginated SSHKey API response -type SSHKeysPagedResponse struct { - *PageOptions - Data []SSHKey `json:"data"` -} - -// endpoint gets the endpoint URL for SSHKey -func (SSHKeysPagedResponse) endpoint(_ ...any) string { - return "profile/sshkeys" -} - -func (resp *SSHKeysPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(SSHKeysPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*SSHKeysPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListSSHKeys lists SSHKeys func (c *Client) ListSSHKeys(ctx context.Context, opts *ListOptions) ([]SSHKey, error) { - response := SSHKeysPagedResponse{} - err := c.listHelper(ctx, &response, opts) + response, err := getPaginatedResults[SSHKey](ctx, c, "profile/sshkeys", opts) if err != nil { return nil, err } - return response.Data, nil + + return response, nil } // GetSSHKey gets the sshkey with the provided ID func (c *Client) GetSSHKey(ctx context.Context, keyID int) (*SSHKey, error) { - e := fmt.Sprintf("profile/sshkeys/%d", keyID) - req := c.R(ctx).SetResult(&SSHKey{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("profile/sshkeys/%d", keyID) + response, err := doGETRequest[SSHKey](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*SSHKey), nil + + return response, nil } // CreateSSHKey creates a SSHKey func (c *Client) CreateSSHKey(ctx context.Context, opts SSHKeyCreateOptions) (*SSHKey, error) { - body, err := json.Marshal(opts) - if err != nil { - return nil, err - } - e := "profile/sshkeys" - req := c.R(ctx).SetResult(&SSHKey{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + response, err := doPOSTRequest[SSHKey](ctx, c, e, opts) if err != nil { return nil, err } - return r.Result().(*SSHKey), nil + + return response, nil } // UpdateSSHKey updates the SSHKey with the specified id func (c *Client) UpdateSSHKey(ctx context.Context, keyID int, opts SSHKeyUpdateOptions) (*SSHKey, error) { - body, err := json.Marshal(opts) + e := formatAPIPath("profile/sshkeys/%d", keyID) + response, err := doPUTRequest[SSHKey](ctx, c, e, opts) if err != nil { return nil, err } - e := fmt.Sprintf("profile/sshkeys/%d", keyID) - req := c.R(ctx).SetResult(&SSHKey{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Put(e)) - if err != nil { - return nil, err - } - return r.Result().(*SSHKey), nil + return response, nil } // DeleteSSHKey deletes the SSHKey with the specified id func (c *Client) DeleteSSHKey(ctx context.Context, keyID int) error { - e := fmt.Sprintf("profile/sshkeys/%d", keyID) - _, err := coupleAPIErrors(c.R(ctx).Delete(e)) + e := formatAPIPath("profile/sshkeys/%d", keyID) + err := doDELETERequest(ctx, c, e) return err } diff --git a/profile_tfa.go b/profile_tfa.go index 715f4b36f..a187a046f 100644 --- a/profile_tfa.go +++ b/profile_tfa.go @@ -46,35 +46,28 @@ func (s *TwoFactorSecret) UnmarshalJSON(b []byte) error { // CreateTwoFactorSecret generates a Two Factor secret for your User. func (c *Client) CreateTwoFactorSecret(ctx context.Context) (*TwoFactorSecret, error) { e := "profile/tfa-enable" - req := c.R(ctx).SetResult(&TwoFactorSecret{}) - r, err := coupleAPIErrors(req.Post(e)) + response, err := doPOSTRequest[TwoFactorSecret, any](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*TwoFactorSecret), nil + return response, nil } // DisableTwoFactor disables Two Factor Authentication for your User. func (c *Client) DisableTwoFactor(ctx context.Context) error { e := "profile/tfa-disable" - _, err := coupleAPIErrors(c.R(ctx).Post(e)) + _, err := doPOSTRequest[TwoFactorSecret, any](ctx, c, e) return err } // ConfirmTwoFactor confirms that you can successfully generate Two Factor codes and enables TFA on your Account. func (c *Client) ConfirmTwoFactor(ctx context.Context, opts ConfirmTwoFactorOptions) (*ConfirmTwoFactorResponse, error) { - body, err := json.Marshal(opts) - if err != nil { - return nil, err - } - e := "profile/tfa-enable-confirm" - req := c.R(ctx).SetResult(&ConfirmTwoFactorResponse{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + response, err := doPOSTRequest[ConfirmTwoFactorResponse](ctx, c, e, opts) if err != nil { return nil, err } - return r.Result().(*ConfirmTwoFactorResponse), nil + return response, nil } diff --git a/profile_tokens.go b/profile_tokens.go index a4f45cc0c..35c972759 100644 --- a/profile_tokens.go +++ b/profile_tokens.go @@ -3,10 +3,8 @@ package linodego import ( "context" "encoding/json" - "fmt" "time" - "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) @@ -86,46 +84,25 @@ func (i Token) GetUpdateOptions() (o TokenUpdateOptions) { return } -// TokensPagedResponse represents a paginated Token API response -type TokensPagedResponse struct { - *PageOptions - Data []Token `json:"data"` -} - -// endpoint gets the endpoint URL for Token -func (TokensPagedResponse) endpoint(_ ...any) string { - return "profile/tokens" -} - -func (resp *TokensPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(TokensPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*TokensPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListTokens lists Tokens func (c *Client) ListTokens(ctx context.Context, opts *ListOptions) ([]Token, error) { - response := TokensPagedResponse{} - err := c.listHelper(ctx, &response, opts) + response, err := getPaginatedResults[Token](ctx, c, "profile/tokens", opts) if err != nil { return nil, err } - return response.Data, nil + + return response, nil } // GetToken gets the token with the provided ID func (c *Client) GetToken(ctx context.Context, tokenID int) (*Token, error) { - e := fmt.Sprintf("profile/tokens/%d", tokenID) - req := c.R(ctx).SetResult(&Token{}) - r, err := coupleAPIErrors(req.Get(e)) + e := formatAPIPath("profile/tokens/%d", tokenID) + response, err := doGETRequest[Token](ctx, c, e) if err != nil { return nil, err } - return r.Result().(*Token), nil + + return response, nil } // CreateToken creates a Token @@ -143,39 +120,29 @@ func (c *Client) CreateToken(ctx context.Context, opts TokenCreateOptions) (*Tok createOptsFixed.Expiry = &iso8601Expiry } - body, err := json.Marshal(createOptsFixed) - if err != nil { - return nil, err - } - e := "profile/tokens" - req := c.R(ctx).SetResult(&Token{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Post(e)) + response, err := doPOSTRequest[Token](ctx, c, e, createOptsFixed) if err != nil { return nil, err } - return r.Result().(*Token), nil + + return response, nil } // UpdateToken updates the Token with the specified id func (c *Client) UpdateToken(ctx context.Context, tokenID int, opts TokenUpdateOptions) (*Token, error) { - body, err := json.Marshal(opts) + e := formatAPIPath("profile/tokens/%d", tokenID) + response, err := doPUTRequest[Token](ctx, c, e, opts) if err != nil { return nil, err } - e := fmt.Sprintf("profile/tokens/%d", tokenID) - req := c.R(ctx).SetResult(&Token{}).SetBody(string(body)) - r, err := coupleAPIErrors(req.Put(e)) - if err != nil { - return nil, err - } - return r.Result().(*Token), nil + return response, nil } // DeleteToken deletes the Token with the specified id func (c *Client) DeleteToken(ctx context.Context, tokenID int) error { - e := fmt.Sprintf("profile/tokens/%d", tokenID) - _, err := coupleAPIErrors(c.R(ctx).Delete(e)) + e := formatAPIPath("profile/tokens/%d", tokenID) + err := doDELETERequest(ctx, c, e) return err } diff --git a/regions.go b/regions.go index 486f0491c..8cd2b6439 100644 --- a/regions.go +++ b/regions.go @@ -2,11 +2,7 @@ package linodego import ( "context" - "fmt" - "net/url" "time" - - "github.com/go-resty/resty/v2" ) // This is an enumeration of Capabilities Linode offers that can be referenced @@ -74,32 +70,9 @@ type RegionPlacementGroupLimits struct { MaximumLinodesPerPG int `json:"maximum_linodes_per_pg"` } -// RegionsPagedResponse represents a linode API response for listing -type RegionsPagedResponse struct { - *PageOptions - Data []Region `json:"data"` -} - -// endpoint gets the endpoint URL for Region -func (RegionsPagedResponse) endpoint(_ ...any) string { - return "regions" -} - -func (resp *RegionsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { - res, err := coupleAPIErrors(r.SetResult(RegionsPagedResponse{}).Get(e)) - if err != nil { - return 0, 0, err - } - castedRes := res.Result().(*RegionsPagedResponse) - resp.Data = append(resp.Data, castedRes.Data...) - return castedRes.Pages, castedRes.Results, nil -} - // ListRegions lists Regions. This endpoint is cached by default. func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region, error) { - response := RegionsPagedResponse{} - - endpoint, err := generateListCacheURL(response.endpoint(), opts) + endpoint, err := generateListCacheURL("regions", opts) if err != nil { return nil, err } @@ -108,32 +81,31 @@ func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region, return result.([]Region), nil } - err = c.listHelper(ctx, &response, opts) + response, err := getPaginatedResults[Region](ctx, c, "regions", opts) if err != nil { return nil, err } - c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) + c.addCachedResponse(endpoint, response, nil) - return response.Data, nil + return response, nil } // GetRegion gets the template with the provided ID. This endpoint is cached by default. func (c *Client) GetRegion(ctx context.Context, regionID string) (*Region, error) { - e := fmt.Sprintf("regions/%s", url.PathEscape(regionID)) + e := formatAPIPath("regions/%s", regionID) if result := c.getCachedResponse(e); result != nil { result := result.(Region) return &result, nil } - req := c.R(ctx).SetResult(&Region{}) - r, err := coupleAPIErrors(req.Get(e)) + response, err := doGETRequest[Region](ctx, c, e) if err != nil { return nil, err } - c.addCachedResponse(e, r.Result(), &cacheExpiryTime) + c.addCachedResponse(e, response, &cacheExpiryTime) - return r.Result().(*Region), nil + return response, nil } diff --git a/test/integration/fixtures/TestRegionsAvailability_List.yaml b/test/integration/fixtures/TestRegionsAvailability_List.yaml index bd3a29d0a..6dd605947 100644 --- a/test/integration/fixtures/TestRegionsAvailability_List.yaml +++ b/test/integration/fixtures/TestRegionsAvailability_List.yaml @@ -14,93 +14,93 @@ interactions: url: https://api.linode.com/v4beta/regions/availability method: GET response: - body: '{"data": [{"region": "us-central", "plan": "gpu-rtx6000-1.1", "available": - false}, {"region": "us-central", "plan": "gpu-rtx6000-2.1", "available": false}, - {"region": "us-central", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": - "us-central", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-central", - "plan": "premium131072.7", "available": false}, {"region": "us-central", "plan": - "premium16384.7", "available": false}, {"region": "us-central", "plan": "premium262144.7", - "available": false}, {"region": "us-central", "plan": "premium32768.7", "available": - false}, {"region": "us-central", "plan": "premium4096.7", "available": false}, - {"region": "us-central", "plan": "premium524288.7", "available": false}, {"region": - "us-central", "plan": "premium65536.7", "available": false}, {"region": "us-central", - "plan": "premium8192.7", "available": false}, {"region": "us-central", "plan": - "premium98304.7", "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-1.1", - "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-2.1", "available": - false}, {"region": "us-west", "plan": "gpu-rtx6000-3.1", "available": false}, - {"region": "us-west", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": - "us-west", "plan": "premium131072.7", "available": false}, {"region": "us-west", - "plan": "premium16384.7", "available": false}, {"region": "us-west", "plan": - "premium262144.7", "available": false}, {"region": "us-west", "plan": "premium32768.7", - "available": false}, {"region": "us-west", "plan": "premium4096.7", "available": - false}, {"region": "us-west", "plan": "premium524288.7", "available": false}, - {"region": "us-west", "plan": "premium65536.7", "available": false}, {"region": - "us-west", "plan": "premium8192.7", "available": false}, {"region": "us-west", - "plan": "premium98304.7", "available": false}, {"region": "us-southeast", "plan": - "gpu-rtx6000-1.1", "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-2.1", - "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-3.1", "available": - false}, {"region": "us-southeast", "plan": "gpu-rtx6000-4.1", "available": false}, - {"region": "us-southeast", "plan": "premium131072.7", "available": false}, {"region": - "us-southeast", "plan": "premium16384.7", "available": false}, {"region": "us-southeast", - "plan": "premium262144.7", "available": false}, {"region": "us-southeast", "plan": - "premium32768.7", "available": false}, {"region": "us-southeast", "plan": "premium4096.7", - "available": false}, {"region": "us-southeast", "plan": "premium524288.7", "available": - false}, {"region": "us-southeast", "plan": "premium65536.7", "available": false}, - {"region": "us-southeast", "plan": "premium8192.7", "available": false}, {"region": - "us-southeast", "plan": "premium98304.7", "available": false}, {"region": "us-east", - "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-east", "plan": - "gpu-rtx6000-2.1", "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-3.1", - "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-4.1", "available": - false}, {"region": "us-east", "plan": "premium131072.7", "available": false}, - {"region": "us-east", "plan": "premium16384.7", "available": false}, {"region": - "us-east", "plan": "premium262144.7", "available": false}, {"region": "us-east", - "plan": "premium32768.7", "available": false}, {"region": "us-east", "plan": - "premium4096.7", "available": false}, {"region": "us-east", "plan": "premium524288.7", - "available": false}, {"region": "us-east", "plan": "premium65536.7", "available": - false}, {"region": "us-east", "plan": "premium8192.7", "available": false}, - {"region": "us-east", "plan": "premium98304.7", "available": false}, {"region": - "eu-west", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "eu-west", - "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "eu-west", "plan": - "gpu-rtx6000-3.1", "available": false}, {"region": "eu-west", "plan": "gpu-rtx6000-4.1", - "available": false}, {"region": "eu-west", "plan": "premium131072.7", "available": - false}, {"region": "eu-west", "plan": "premium16384.7", "available": false}, - {"region": "eu-west", "plan": "premium262144.7", "available": false}, {"region": - "eu-west", "plan": "premium32768.7", "available": false}, {"region": "eu-west", - "plan": "premium4096.7", "available": false}, {"region": "eu-west", "plan": - "premium524288.7", "available": false}, {"region": "eu-west", "plan": "premium65536.7", - "available": false}, {"region": "eu-west", "plan": "premium8192.7", "available": - false}, {"region": "eu-west", "plan": "premium98304.7", "available": false}, - {"region": "ap-south", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": - "ap-south", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ap-south", - "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "ap-south", "plan": - "gpu-rtx6000-4.1", "available": false}, {"region": "ap-south", "plan": "premium131072.7", - "available": false}, {"region": "ap-south", "plan": "premium16384.7", "available": - false}, {"region": "ap-south", "plan": "premium262144.7", "available": false}, - {"region": "ap-south", "plan": "premium32768.7", "available": false}, {"region": - "ap-south", "plan": "premium4096.7", "available": false}, {"region": "ap-south", - "plan": "premium524288.7", "available": false}, {"region": "ap-south", "plan": - "premium65536.7", "available": false}, {"region": "ap-south", "plan": "premium8192.7", - "available": false}, {"region": "ap-south", "plan": "premium98304.7", "available": - false}, {"region": "eu-central", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "eu-central", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "eu-central", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "eu-central", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "eu-central", "plan": - "premium131072.7", "available": false}, {"region": "eu-central", "plan": "premium16384.7", - "available": false}, {"region": "eu-central", "plan": "premium262144.7", "available": - false}, {"region": "eu-central", "plan": "premium32768.7", "available": false}, - {"region": "eu-central", "plan": "premium4096.7", "available": false}, {"region": - "eu-central", "plan": "premium524288.7", "available": false}, {"region": "eu-central", - "plan": "premium65536.7", "available": false}, {"region": "eu-central", "plan": - "premium8192.7", "available": false}, {"region": "eu-central", "plan": "premium98304.7", - "available": false}, {"region": "ap-west", "plan": "gpu-rtx6000-1.1", "available": - false}, {"region": "ap-west", "plan": "gpu-rtx6000-2.1", "available": false}, - {"region": "ap-west", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": - "ap-west", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "ap-west", - "plan": "premium131072.7", "available": false}, {"region": "ap-west", "plan": - "premium16384.7", "available": false}, {"region": "ap-west", "plan": "premium262144.7", - "available": false}, {"region": "ap-west", "plan": "premium32768.7", "available": - false}, {"region": "ap-west", "plan": "premium4096.7", "available": false}], - "page": 1, "pages": 3, "results": 299}' + body: '{"data": [{"region": "us-central", "plan": "g1-gpu-rtx6000-1", "available": + false}, {"region": "us-central", "plan": "g1-gpu-rtx6000-2", "available": false}, + {"region": "us-central", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": + "us-central", "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "us-central", + "plan": "g7-premium-2", "available": false}, {"region": "us-central", "plan": + "g7-premium-4", "available": false}, {"region": "us-central", "plan": "g7-premium-8", + "available": false}, {"region": "us-central", "plan": "g7-premium-16", "available": + false}, {"region": "us-central", "plan": "g7-premium-32", "available": false}, + {"region": "us-central", "plan": "g7-premium-48", "available": false}, {"region": + "us-central", "plan": "g7-premium-50", "available": false}, {"region": "us-central", + "plan": "g7-premium-56", "available": false}, {"region": "us-central", "plan": + "g7-premium-64", "available": false}, {"region": "us-central", "plan": "g1-gpu-rtx4000a-1", + "available": false}, {"region": "us-central", "plan": "g1-gpu-rtx4000a-2", "available": + false}, {"region": "us-central", "plan": "g1-gpu-rtx4000a-4", "available": false}, + {"region": "us-central", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": + "us-central", "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "us-west", + "plan": "g1-gpu-rtx6000-1", "available": false}, {"region": "us-west", "plan": + "g1-gpu-rtx6000-2", "available": false}, {"region": "us-west", "plan": "g1-gpu-rtx6000-3", + "available": false}, {"region": "us-west", "plan": "g1-gpu-rtx6000-4", "available": + false}, {"region": "us-west", "plan": "g7-premium-2", "available": false}, {"region": + "us-west", "plan": "g7-premium-4", "available": false}, {"region": "us-west", + "plan": "g7-premium-8", "available": false}, {"region": "us-west", "plan": "g7-premium-16", + "available": false}, {"region": "us-west", "plan": "g7-premium-32", "available": + false}, {"region": "us-west", "plan": "g7-premium-48", "available": false}, + {"region": "us-west", "plan": "g7-premium-50", "available": false}, {"region": + "us-west", "plan": "g7-premium-56", "available": false}, {"region": "us-west", + "plan": "g7-premium-64", "available": false}, {"region": "us-west", "plan": + "g1-gpu-rtx4000a-1", "available": false}, {"region": "us-west", "plan": "g1-gpu-rtx4000a-2", + "available": false}, {"region": "us-west", "plan": "g1-gpu-rtx4000a-4", "available": + false}, {"region": "us-west", "plan": "g1-gpu-rtx4000a-6", "available": false}, + {"region": "us-west", "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": + "us-southeast", "plan": "g1-gpu-rtx6000-1", "available": true}, {"region": "us-southeast", + "plan": "g1-gpu-rtx6000-2", "available": true}, {"region": "us-southeast", "plan": + "g1-gpu-rtx6000-3", "available": true}, {"region": "us-southeast", "plan": "g1-gpu-rtx6000-4", + "available": false}, {"region": "us-southeast", "plan": "g7-premium-2", "available": + false}, {"region": "us-southeast", "plan": "g7-premium-4", "available": false}, + {"region": "us-southeast", "plan": "g7-premium-8", "available": false}, {"region": + "us-southeast", "plan": "g7-premium-16", "available": false}, {"region": "us-southeast", + "plan": "g7-premium-32", "available": false}, {"region": "us-southeast", "plan": + "g7-premium-48", "available": false}, {"region": "us-southeast", "plan": "g7-premium-50", + "available": false}, {"region": "us-southeast", "plan": "g7-premium-56", "available": + false}, {"region": "us-southeast", "plan": "g7-premium-64", "available": false}, + {"region": "us-southeast", "plan": "g1-gpu-rtx4000a-1", "available": false}, + {"region": "us-southeast", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "us-southeast", "plan": "g1-gpu-rtx4000a-4", "available": false}, + {"region": "us-southeast", "plan": "g1-gpu-rtx4000a-6", "available": false}, + {"region": "us-southeast", "plan": "g1-gpu-rtx4000a-8", "available": false}, + {"region": "us-east", "plan": "g1-gpu-rtx6000-1", "available": false}, {"region": + "us-east", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": "us-east", + "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "us-east", "plan": + "g1-gpu-rtx6000-4", "available": false}, {"region": "us-east", "plan": "g7-premium-2", + "available": false}, {"region": "us-east", "plan": "g7-premium-4", "available": + false}, {"region": "us-east", "plan": "g7-premium-8", "available": false}, {"region": + "us-east", "plan": "g7-premium-16", "available": false}, {"region": "us-east", + "plan": "g7-premium-32", "available": false}, {"region": "us-east", "plan": + "g7-premium-48", "available": false}, {"region": "us-east", "plan": "g7-premium-50", + "available": false}, {"region": "us-east", "plan": "g7-premium-56", "available": + false}, {"region": "us-east", "plan": "g7-premium-64", "available": false}, + {"region": "us-east", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": + "us-east", "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "us-east", + "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": "us-east", "plan": + "g1-gpu-rtx4000a-6", "available": false}, {"region": "us-east", "plan": "g1-gpu-rtx4000a-8", + "available": false}, {"region": "eu-west", "plan": "g1-gpu-rtx6000-1", "available": + false}, {"region": "eu-west", "plan": "g1-gpu-rtx6000-2", "available": false}, + {"region": "eu-west", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": + "eu-west", "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "eu-west", + "plan": "g7-premium-2", "available": false}, {"region": "eu-west", "plan": "g7-premium-4", + "available": false}, {"region": "eu-west", "plan": "g7-premium-8", "available": + false}, {"region": "eu-west", "plan": "g7-premium-16", "available": false}, + {"region": "eu-west", "plan": "g7-premium-32", "available": false}, {"region": + "eu-west", "plan": "g7-premium-48", "available": false}, {"region": "eu-west", + "plan": "g7-premium-50", "available": false}, {"region": "eu-west", "plan": + "g7-premium-56", "available": false}, {"region": "eu-west", "plan": "g7-premium-64", + "available": false}, {"region": "eu-west", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "eu-west", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "eu-west", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "eu-west", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "eu-west", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "ap-south", "plan": + "g1-gpu-rtx6000-1", "available": true}, {"region": "ap-south", "plan": "g1-gpu-rtx6000-2", + "available": true}, {"region": "ap-south", "plan": "g1-gpu-rtx6000-3", "available": + true}, {"region": "ap-south", "plan": "g1-gpu-rtx6000-4", "available": true}, + {"region": "ap-south", "plan": "g7-premium-2", "available": false}, {"region": + "ap-south", "plan": "g7-premium-4", "available": false}, {"region": "ap-south", + "plan": "g7-premium-8", "available": false}, {"region": "ap-south", "plan": + "g7-premium-16", "available": false}, {"region": "ap-south", "plan": "g7-premium-32", + "available": false}, {"region": "ap-south", "plan": "g7-premium-48", "available": + false}], "page": 1, "pages": 5, "results": 486}' headers: Access-Control-Allow-Credentials: - "true" @@ -113,19 +113,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: + - Tue, 09 Jul 2024 13:37:45 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: @@ -136,7 +140,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -155,91 +159,95 @@ interactions: url: https://api.linode.com/v4beta/regions/availability?page=2 method: GET response: - body: '{"data": [{"region": "ap-west", "plan": "premium524288.7", "available": - false}, {"region": "ap-west", "plan": "premium65536.7", "available": false}, - {"region": "ap-west", "plan": "premium8192.7", "available": false}, {"region": - "ap-west", "plan": "premium98304.7", "available": false}, {"region": "ca-central", - "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ca-central", "plan": - "gpu-rtx6000-2.1", "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-3.1", - "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-4.1", "available": - false}, {"region": "ca-central", "plan": "premium131072.7", "available": false}, - {"region": "ca-central", "plan": "premium16384.7", "available": false}, {"region": - "ca-central", "plan": "premium262144.7", "available": false}, {"region": "ca-central", - "plan": "premium32768.7", "available": false}, {"region": "ca-central", "plan": - "premium4096.7", "available": false}, {"region": "ca-central", "plan": "premium524288.7", - "available": false}, {"region": "ca-central", "plan": "premium65536.7", "available": - false}, {"region": "ca-central", "plan": "premium8192.7", "available": false}, - {"region": "ca-central", "plan": "premium98304.7", "available": false}, {"region": - "ap-southeast", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ap-southeast", - "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ap-southeast", "plan": - "gpu-rtx6000-3.1", "available": false}, {"region": "ap-southeast", "plan": "gpu-rtx6000-4.1", - "available": false}, {"region": "ap-southeast", "plan": "premium131072.7", "available": - false}, {"region": "ap-southeast", "plan": "premium16384.7", "available": false}, - {"region": "ap-southeast", "plan": "premium262144.7", "available": false}, {"region": - "ap-southeast", "plan": "premium32768.7", "available": false}, {"region": "ap-southeast", - "plan": "premium4096.7", "available": false}, {"region": "ap-southeast", "plan": - "premium524288.7", "available": false}, {"region": "ap-southeast", "plan": "premium65536.7", - "available": false}, {"region": "ap-southeast", "plan": "premium8192.7", "available": - false}, {"region": "ap-southeast", "plan": "premium98304.7", "available": false}, - {"region": "us-iad", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": - "us-iad", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-iad", - "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-iad", "plan": - "gpu-rtx6000-4.1", "available": false}, {"region": "us-iad", "plan": "premium131072.7", - "available": true}, {"region": "us-iad", "plan": "premium16384.7", "available": - true}, {"region": "us-iad", "plan": "premium262144.7", "available": true}, {"region": - "us-iad", "plan": "premium32768.7", "available": true}, {"region": "us-iad", - "plan": "premium4096.7", "available": true}, {"region": "us-iad", "plan": "premium524288.7", - "available": true}, {"region": "us-iad", "plan": "premium65536.7", "available": - true}, {"region": "us-iad", "plan": "premium8192.7", "available": true}, {"region": - "us-iad", "plan": "premium98304.7", "available": true}, {"region": "us-ord", - "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-ord", "plan": - "gpu-rtx6000-2.1", "available": false}, {"region": "us-ord", "plan": "gpu-rtx6000-3.1", - "available": false}, {"region": "us-ord", "plan": "gpu-rtx6000-4.1", "available": - false}, {"region": "us-ord", "plan": "premium131072.7", "available": true}, - {"region": "us-ord", "plan": "premium16384.7", "available": true}, {"region": - "us-ord", "plan": "premium262144.7", "available": true}, {"region": "us-ord", - "plan": "premium32768.7", "available": true}, {"region": "us-ord", "plan": "premium4096.7", - "available": true}, {"region": "us-ord", "plan": "premium524288.7", "available": - true}, {"region": "us-ord", "plan": "premium65536.7", "available": true}, {"region": - "us-ord", "plan": "premium8192.7", "available": true}, {"region": "us-ord", - "plan": "premium98304.7", "available": true}, {"region": "fr-par", "plan": "gpu-rtx6000-1.1", - "available": false}, {"region": "fr-par", "plan": "gpu-rtx6000-2.1", "available": - false}, {"region": "fr-par", "plan": "gpu-rtx6000-3.1", "available": false}, - {"region": "fr-par", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": - "fr-par", "plan": "premium131072.7", "available": true}, {"region": "fr-par", - "plan": "premium16384.7", "available": true}, {"region": "fr-par", "plan": "premium262144.7", - "available": true}, {"region": "fr-par", "plan": "premium32768.7", "available": - true}, {"region": "fr-par", "plan": "premium4096.7", "available": true}, {"region": - "fr-par", "plan": "premium524288.7", "available": true}, {"region": "fr-par", - "plan": "premium65536.7", "available": true}, {"region": "fr-par", "plan": "premium8192.7", - "available": true}, {"region": "fr-par", "plan": "premium98304.7", "available": - true}, {"region": "us-sea", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "us-sea", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "us-sea", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-sea", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-sea", "plan": - "premium131072.7", "available": true}, {"region": "us-sea", "plan": "premium16384.7", - "available": true}, {"region": "us-sea", "plan": "premium262144.7", "available": - true}, {"region": "us-sea", "plan": "premium32768.7", "available": true}, {"region": - "us-sea", "plan": "premium4096.7", "available": true}, {"region": "us-sea", - "plan": "premium524288.7", "available": true}, {"region": "us-sea", "plan": - "premium65536.7", "available": true}, {"region": "us-sea", "plan": "premium8192.7", - "available": true}, {"region": "us-sea", "plan": "premium98304.7", "available": - true}, {"region": "br-gru", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "br-gru", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "br-gru", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "br-gru", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "br-gru", "plan": - "premium131072.7", "available": true}, {"region": "br-gru", "plan": "premium16384.7", - "available": true}, {"region": "br-gru", "plan": "premium262144.7", "available": - true}, {"region": "br-gru", "plan": "premium32768.7", "available": true}, {"region": - "br-gru", "plan": "premium4096.7", "available": true}, {"region": "br-gru", - "plan": "premium524288.7", "available": true}, {"region": "br-gru", "plan": - "premium65536.7", "available": true}, {"region": "br-gru", "plan": "premium8192.7", - "available": true}, {"region": "br-gru", "plan": "premium98304.7", "available": - true}, {"region": "nl-ams", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "nl-ams", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "nl-ams", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "nl-ams", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "nl-ams", "plan": - "premium131072.7", "available": true}], "page": 2, "pages": 3, "results": 299}' + body: '{"data": [{"region": "ap-south", "plan": "g7-premium-50", "available": + false}, {"region": "ap-south", "plan": "g7-premium-56", "available": false}, + {"region": "ap-south", "plan": "g7-premium-64", "available": false}, {"region": + "ap-south", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "ap-south", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "ap-south", "plan": + "g1-gpu-rtx4000a-4", "available": false}, {"region": "ap-south", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "ap-south", "plan": "g1-gpu-rtx4000a-8", "available": + false}, {"region": "eu-central", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "eu-central", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "eu-central", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "eu-central", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "eu-central", "plan": + "g7-premium-2", "available": false}, {"region": "eu-central", "plan": "g7-premium-4", + "available": false}, {"region": "eu-central", "plan": "g7-premium-8", "available": + false}, {"region": "eu-central", "plan": "g7-premium-16", "available": false}, + {"region": "eu-central", "plan": "g7-premium-32", "available": false}, {"region": + "eu-central", "plan": "g7-premium-48", "available": false}, {"region": "eu-central", + "plan": "g7-premium-50", "available": false}, {"region": "eu-central", "plan": + "g7-premium-56", "available": false}, {"region": "eu-central", "plan": "g7-premium-64", + "available": false}, {"region": "eu-central", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "eu-central", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "eu-central", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "eu-central", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "eu-central", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "ap-northeast", + "plan": "g1-gpu-rtx6000-1", "available": false}, {"region": "ap-northeast", + "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": "ap-northeast", + "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "ap-northeast", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "ap-northeast", + "plan": "g7-premium-2", "available": false}, {"region": "ap-northeast", "plan": + "g7-premium-4", "available": false}, {"region": "ap-northeast", "plan": "g7-premium-8", + "available": false}, {"region": "ap-northeast", "plan": "g7-premium-16", "available": + false}, {"region": "ap-northeast", "plan": "g7-premium-32", "available": false}, + {"region": "ap-northeast", "plan": "g7-premium-48", "available": false}, {"region": + "ap-northeast", "plan": "g7-premium-50", "available": false}, {"region": "ap-northeast", + "plan": "g7-premium-56", "available": false}, {"region": "ap-northeast", "plan": + "g7-premium-64", "available": false}, {"region": "ap-northeast", "plan": "g1-gpu-rtx4000a-1", + "available": false}, {"region": "ap-northeast", "plan": "g1-gpu-rtx4000a-2", + "available": false}, {"region": "ap-northeast", "plan": "g1-gpu-rtx4000a-4", + "available": false}, {"region": "ap-northeast", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "ap-northeast", "plan": "g1-gpu-rtx4000a-8", + "available": false}, {"region": "ap-west", "plan": "g1-gpu-rtx6000-1", "available": + true}, {"region": "ap-west", "plan": "g1-gpu-rtx6000-2", "available": true}, + {"region": "ap-west", "plan": "g1-gpu-rtx6000-3", "available": true}, {"region": + "ap-west", "plan": "g1-gpu-rtx6000-4", "available": true}, {"region": "ap-west", + "plan": "g7-premium-2", "available": false}, {"region": "ap-west", "plan": "g7-premium-4", + "available": false}, {"region": "ap-west", "plan": "g7-premium-8", "available": + false}, {"region": "ap-west", "plan": "g7-premium-16", "available": false}, + {"region": "ap-west", "plan": "g7-premium-32", "available": false}, {"region": + "ap-west", "plan": "g7-premium-48", "available": false}, {"region": "ap-west", + "plan": "g7-premium-50", "available": false}, {"region": "ap-west", "plan": + "g7-premium-56", "available": false}, {"region": "ap-west", "plan": "g7-premium-64", + "available": false}, {"region": "ap-west", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "ap-west", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "ap-west", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "ap-west", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "ap-west", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "ca-central", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "ca-central", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "ca-central", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "ca-central", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "ca-central", "plan": "g7-premium-2", "available": false}, {"region": + "ca-central", "plan": "g7-premium-4", "available": false}, {"region": "ca-central", + "plan": "g7-premium-8", "available": false}, {"region": "ca-central", "plan": + "g7-premium-16", "available": false}, {"region": "ca-central", "plan": "g7-premium-32", + "available": false}, {"region": "ca-central", "plan": "g7-premium-48", "available": + false}, {"region": "ca-central", "plan": "g7-premium-50", "available": false}, + {"region": "ca-central", "plan": "g7-premium-56", "available": false}, {"region": + "ca-central", "plan": "g7-premium-64", "available": false}, {"region": "ca-central", + "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "ca-central", "plan": + "g1-gpu-rtx4000a-2", "available": false}, {"region": "ca-central", "plan": "g1-gpu-rtx4000a-4", + "available": false}, {"region": "ca-central", "plan": "g1-gpu-rtx4000a-6", "available": + false}, {"region": "ca-central", "plan": "g1-gpu-rtx4000a-8", "available": false}, + {"region": "ap-southeast", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "ap-southeast", "plan": "g1-gpu-rtx6000-2", "available": false}, + {"region": "ap-southeast", "plan": "g1-gpu-rtx6000-3", "available": false}, + {"region": "ap-southeast", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "ap-southeast", "plan": "g7-premium-2", "available": false}, {"region": + "ap-southeast", "plan": "g7-premium-4", "available": false}, {"region": "ap-southeast", + "plan": "g7-premium-8", "available": false}, {"region": "ap-southeast", "plan": + "g7-premium-16", "available": false}, {"region": "ap-southeast", "plan": "g7-premium-32", + "available": false}, {"region": "ap-southeast", "plan": "g7-premium-48", "available": + false}, {"region": "ap-southeast", "plan": "g7-premium-50", "available": false}, + {"region": "ap-southeast", "plan": "g7-premium-56", "available": false}, {"region": + "ap-southeast", "plan": "g7-premium-64", "available": false}, {"region": "ap-southeast", + "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "ap-southeast", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "ap-southeast", + "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": "ap-southeast", + "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "ap-southeast", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "us-iad", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "us-iad", "plan": "g1-gpu-rtx6000-2", + "available": false}], "page": 2, "pages": 5, "results": 486}' headers: Access-Control-Allow-Credentials: - "true" @@ -252,19 +260,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: + - Tue, 09 Jul 2024 13:37:45 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: @@ -275,7 +287,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -294,90 +306,91 @@ interactions: url: https://api.linode.com/v4beta/regions/availability?page=3 method: GET response: - body: '{"data": [{"region": "nl-ams", "plan": "premium16384.7", "available": true}, - {"region": "nl-ams", "plan": "premium262144.7", "available": true}, {"region": - "nl-ams", "plan": "premium32768.7", "available": true}, {"region": "nl-ams", - "plan": "premium4096.7", "available": true}, {"region": "nl-ams", "plan": "premium524288.7", - "available": true}, {"region": "nl-ams", "plan": "premium65536.7", "available": - true}, {"region": "nl-ams", "plan": "premium8192.7", "available": true}, {"region": - "nl-ams", "plan": "premium98304.7", "available": true}, {"region": "se-sto", - "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "se-sto", "plan": - "gpu-rtx6000-2.1", "available": false}, {"region": "se-sto", "plan": "gpu-rtx6000-3.1", - "available": false}, {"region": "se-sto", "plan": "gpu-rtx6000-4.1", "available": - false}, {"region": "se-sto", "plan": "premium131072.7", "available": true}, - {"region": "se-sto", "plan": "premium16384.7", "available": true}, {"region": - "se-sto", "plan": "premium262144.7", "available": true}, {"region": "se-sto", - "plan": "premium32768.7", "available": true}, {"region": "se-sto", "plan": "premium4096.7", - "available": true}, {"region": "se-sto", "plan": "premium524288.7", "available": - true}, {"region": "se-sto", "plan": "premium65536.7", "available": true}, {"region": - "se-sto", "plan": "premium8192.7", "available": true}, {"region": "se-sto", - "plan": "premium98304.7", "available": true}, {"region": "in-maa", "plan": "gpu-rtx6000-1.1", - "available": false}, {"region": "in-maa", "plan": "gpu-rtx6000-2.1", "available": - false}, {"region": "in-maa", "plan": "gpu-rtx6000-3.1", "available": false}, - {"region": "in-maa", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": - "in-maa", "plan": "premium131072.7", "available": true}, {"region": "in-maa", - "plan": "premium16384.7", "available": true}, {"region": "in-maa", "plan": "premium262144.7", - "available": true}, {"region": "in-maa", "plan": "premium32768.7", "available": - true}, {"region": "in-maa", "plan": "premium4096.7", "available": true}, {"region": - "in-maa", "plan": "premium524288.7", "available": true}, {"region": "in-maa", - "plan": "premium65536.7", "available": true}, {"region": "in-maa", "plan": "premium8192.7", - "available": true}, {"region": "in-maa", "plan": "premium98304.7", "available": - true}, {"region": "jp-osa", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "jp-osa", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "jp-osa", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "jp-osa", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "jp-osa", "plan": - "premium131072.7", "available": true}, {"region": "jp-osa", "plan": "premium16384.7", - "available": true}, {"region": "jp-osa", "plan": "premium262144.7", "available": - true}, {"region": "jp-osa", "plan": "premium32768.7", "available": true}, {"region": - "jp-osa", "plan": "premium4096.7", "available": true}, {"region": "jp-osa", - "plan": "premium524288.7", "available": true}, {"region": "jp-osa", "plan": - "premium65536.7", "available": true}, {"region": "jp-osa", "plan": "premium8192.7", - "available": true}, {"region": "jp-osa", "plan": "premium98304.7", "available": - true}, {"region": "it-mil", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "it-mil", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "it-mil", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "it-mil", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "it-mil", "plan": - "premium131072.7", "available": true}, {"region": "it-mil", "plan": "premium16384.7", - "available": true}, {"region": "it-mil", "plan": "premium262144.7", "available": - true}, {"region": "it-mil", "plan": "premium32768.7", "available": true}, {"region": - "it-mil", "plan": "premium4096.7", "available": true}, {"region": "it-mil", - "plan": "premium524288.7", "available": true}, {"region": "it-mil", "plan": - "premium65536.7", "available": true}, {"region": "it-mil", "plan": "premium8192.7", - "available": true}, {"region": "it-mil", "plan": "premium98304.7", "available": - true}, {"region": "us-mia", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "us-mia", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "us-mia", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-mia", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-mia", "plan": - "premium131072.7", "available": true}, {"region": "us-mia", "plan": "premium16384.7", - "available": true}, {"region": "us-mia", "plan": "premium262144.7", "available": - true}, {"region": "us-mia", "plan": "premium32768.7", "available": true}, {"region": - "us-mia", "plan": "premium4096.7", "available": true}, {"region": "us-mia", - "plan": "premium524288.7", "available": true}, {"region": "us-mia", "plan": - "premium65536.7", "available": true}, {"region": "us-mia", "plan": "premium8192.7", - "available": true}, {"region": "us-mia", "plan": "premium98304.7", "available": - true}, {"region": "id-cgk", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "id-cgk", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "id-cgk", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "id-cgk", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "id-cgk", "plan": - "premium131072.7", "available": true}, {"region": "id-cgk", "plan": "premium16384.7", - "available": true}, {"region": "id-cgk", "plan": "premium262144.7", "available": - true}, {"region": "id-cgk", "plan": "premium32768.7", "available": true}, {"region": - "id-cgk", "plan": "premium4096.7", "available": true}, {"region": "id-cgk", - "plan": "premium524288.7", "available": true}, {"region": "id-cgk", "plan": - "premium65536.7", "available": true}, {"region": "id-cgk", "plan": "premium8192.7", - "available": true}, {"region": "id-cgk", "plan": "premium98304.7", "available": - true}, {"region": "us-lax", "plan": "gpu-rtx6000-1.1", "available": false}, - {"region": "us-lax", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": - "us-lax", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-lax", - "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-lax", "plan": - "premium131072.7", "available": true}, {"region": "us-lax", "plan": "premium16384.7", - "available": true}, {"region": "us-lax", "plan": "premium262144.7", "available": - true}, {"region": "us-lax", "plan": "premium32768.7", "available": true}, {"region": - "us-lax", "plan": "premium4096.7", "available": true}, {"region": "us-lax", - "plan": "premium524288.7", "available": true}, {"region": "us-lax", "plan": - "premium65536.7", "available": true}, {"region": "us-lax", "plan": "premium8192.7", - "available": true}, {"region": "us-lax", "plan": "premium98304.7", "available": - true}], "page": 3, "pages": 3, "results": 299}' + body: '{"data": [{"region": "us-iad", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "us-iad", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "us-iad", "plan": "g7-premium-2", "available": true}, {"region": + "us-iad", "plan": "g7-premium-4", "available": true}, {"region": "us-iad", "plan": + "g7-premium-8", "available": true}, {"region": "us-iad", "plan": "g7-premium-16", + "available": true}, {"region": "us-iad", "plan": "g7-premium-32", "available": + true}, {"region": "us-iad", "plan": "g7-premium-48", "available": true}, {"region": + "us-iad", "plan": "g7-premium-50", "available": true}, {"region": "us-iad", + "plan": "g7-premium-56", "available": true}, {"region": "us-iad", "plan": "g7-premium-64", + "available": true}, {"region": "us-iad", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "us-iad", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "us-iad", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "us-iad", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "us-iad", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "us-ord", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "us-ord", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "us-ord", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "us-ord", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "us-ord", "plan": "g7-premium-2", "available": true}, {"region": + "us-ord", "plan": "g7-premium-4", "available": true}, {"region": "us-ord", "plan": + "g7-premium-8", "available": true}, {"region": "us-ord", "plan": "g7-premium-16", + "available": true}, {"region": "us-ord", "plan": "g7-premium-32", "available": + true}, {"region": "us-ord", "plan": "g7-premium-48", "available": true}, {"region": + "us-ord", "plan": "g7-premium-50", "available": true}, {"region": "us-ord", + "plan": "g7-premium-56", "available": true}, {"region": "us-ord", "plan": "g7-premium-64", + "available": true}, {"region": "us-ord", "plan": "g1-gpu-rtx4000a-1", "available": + true}, {"region": "us-ord", "plan": "g1-gpu-rtx4000a-2", "available": true}, + {"region": "us-ord", "plan": "g1-gpu-rtx4000a-4", "available": true}, {"region": + "us-ord", "plan": "g1-gpu-rtx4000a-6", "available": true}, {"region": "us-ord", + "plan": "g1-gpu-rtx4000a-8", "available": true}, {"region": "fr-par", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "fr-par", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "fr-par", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "fr-par", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "fr-par", "plan": "g7-premium-2", "available": true}, {"region": + "fr-par", "plan": "g7-premium-4", "available": true}, {"region": "fr-par", "plan": + "g7-premium-8", "available": true}, {"region": "fr-par", "plan": "g7-premium-16", + "available": true}, {"region": "fr-par", "plan": "g7-premium-32", "available": + true}, {"region": "fr-par", "plan": "g7-premium-48", "available": true}, {"region": + "fr-par", "plan": "g7-premium-50", "available": true}, {"region": "fr-par", + "plan": "g7-premium-56", "available": true}, {"region": "fr-par", "plan": "g7-premium-64", + "available": true}, {"region": "fr-par", "plan": "g1-gpu-rtx4000a-1", "available": + true}, {"region": "fr-par", "plan": "g1-gpu-rtx4000a-2", "available": true}, + {"region": "fr-par", "plan": "g1-gpu-rtx4000a-4", "available": true}, {"region": + "fr-par", "plan": "g1-gpu-rtx4000a-6", "available": true}, {"region": "fr-par", + "plan": "g1-gpu-rtx4000a-8", "available": true}, {"region": "us-sea", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "us-sea", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "us-sea", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "us-sea", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "us-sea", "plan": "g7-premium-2", "available": true}, {"region": + "us-sea", "plan": "g7-premium-4", "available": true}, {"region": "us-sea", "plan": + "g7-premium-8", "available": true}, {"region": "us-sea", "plan": "g7-premium-16", + "available": true}, {"region": "us-sea", "plan": "g7-premium-32", "available": + true}, {"region": "us-sea", "plan": "g7-premium-48", "available": true}, {"region": + "us-sea", "plan": "g7-premium-50", "available": true}, {"region": "us-sea", + "plan": "g7-premium-56", "available": true}, {"region": "us-sea", "plan": "g7-premium-64", + "available": false}, {"region": "us-sea", "plan": "g1-gpu-rtx4000a-1", "available": + true}, {"region": "us-sea", "plan": "g1-gpu-rtx4000a-2", "available": true}, + {"region": "us-sea", "plan": "g1-gpu-rtx4000a-4", "available": true}, {"region": + "us-sea", "plan": "g1-gpu-rtx4000a-6", "available": true}, {"region": "us-sea", + "plan": "g1-gpu-rtx4000a-8", "available": true}, {"region": "br-gru", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "br-gru", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "br-gru", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "br-gru", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "br-gru", "plan": "g7-premium-2", "available": true}, {"region": + "br-gru", "plan": "g7-premium-4", "available": true}, {"region": "br-gru", "plan": + "g7-premium-8", "available": true}, {"region": "br-gru", "plan": "g7-premium-16", + "available": true}, {"region": "br-gru", "plan": "g7-premium-32", "available": + true}, {"region": "br-gru", "plan": "g7-premium-48", "available": true}, {"region": + "br-gru", "plan": "g7-premium-50", "available": true}, {"region": "br-gru", + "plan": "g7-premium-56", "available": true}, {"region": "br-gru", "plan": "g7-premium-64", + "available": true}, {"region": "br-gru", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "br-gru", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "br-gru", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "br-gru", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "br-gru", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "nl-ams", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "nl-ams", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "nl-ams", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "nl-ams", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "nl-ams", "plan": "g7-premium-2", "available": true}, {"region": + "nl-ams", "plan": "g7-premium-4", "available": true}, {"region": "nl-ams", "plan": + "g7-premium-8", "available": true}, {"region": "nl-ams", "plan": "g7-premium-16", + "available": true}, {"region": "nl-ams", "plan": "g7-premium-32", "available": + true}, {"region": "nl-ams", "plan": "g7-premium-48", "available": true}, {"region": + "nl-ams", "plan": "g7-premium-50", "available": true}, {"region": "nl-ams", + "plan": "g7-premium-56", "available": true}], "page": 3, "pages": 5, "results": + 486}' headers: Access-Control-Allow-Credentials: - "true" @@ -390,19 +403,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: + - Tue, 09 Jul 2024 13:37:45 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: @@ -413,7 +430,281 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "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/regions/availability?page=4 + method: GET + response: + body: '{"data": [{"region": "nl-ams", "plan": "g7-premium-64", "available": false}, + {"region": "nl-ams", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": + "nl-ams", "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "nl-ams", + "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": "nl-ams", "plan": + "g1-gpu-rtx4000a-6", "available": false}, {"region": "nl-ams", "plan": "g1-gpu-rtx4000a-8", + "available": false}, {"region": "se-sto", "plan": "g1-gpu-rtx6000-1", "available": + false}, {"region": "se-sto", "plan": "g1-gpu-rtx6000-2", "available": false}, + {"region": "se-sto", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": + "se-sto", "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "se-sto", + "plan": "g7-premium-2", "available": true}, {"region": "se-sto", "plan": "g7-premium-4", + "available": true}, {"region": "se-sto", "plan": "g7-premium-8", "available": + true}, {"region": "se-sto", "plan": "g7-premium-16", "available": true}, {"region": + "se-sto", "plan": "g7-premium-32", "available": true}, {"region": "se-sto", + "plan": "g7-premium-48", "available": true}, {"region": "se-sto", "plan": "g7-premium-50", + "available": true}, {"region": "se-sto", "plan": "g7-premium-56", "available": + true}, {"region": "se-sto", "plan": "g7-premium-64", "available": true}, {"region": + "se-sto", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "se-sto", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "se-sto", "plan": + "g1-gpu-rtx4000a-4", "available": false}, {"region": "se-sto", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "se-sto", "plan": "g1-gpu-rtx4000a-8", "available": + false}, {"region": "es-mad", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "es-mad", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "es-mad", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "es-mad", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "es-mad", "plan": + "g7-premium-2", "available": true}, {"region": "es-mad", "plan": "g7-premium-4", + "available": true}, {"region": "es-mad", "plan": "g7-premium-8", "available": + true}, {"region": "es-mad", "plan": "g7-premium-16", "available": true}, {"region": + "es-mad", "plan": "g7-premium-32", "available": true}, {"region": "es-mad", + "plan": "g7-premium-48", "available": true}, {"region": "es-mad", "plan": "g7-premium-50", + "available": true}, {"region": "es-mad", "plan": "g7-premium-56", "available": + true}, {"region": "es-mad", "plan": "g7-premium-64", "available": true}, {"region": + "es-mad", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "es-mad", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "es-mad", "plan": + "g1-gpu-rtx4000a-4", "available": false}, {"region": "es-mad", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "es-mad", "plan": "g1-gpu-rtx4000a-8", "available": + false}, {"region": "in-maa", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "in-maa", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "in-maa", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "in-maa", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "in-maa", "plan": + "g7-premium-2", "available": true}, {"region": "in-maa", "plan": "g7-premium-4", + "available": true}, {"region": "in-maa", "plan": "g7-premium-8", "available": + true}, {"region": "in-maa", "plan": "g7-premium-16", "available": true}, {"region": + "in-maa", "plan": "g7-premium-32", "available": true}, {"region": "in-maa", + "plan": "g7-premium-48", "available": true}, {"region": "in-maa", "plan": "g7-premium-50", + "available": true}, {"region": "in-maa", "plan": "g7-premium-56", "available": + true}, {"region": "in-maa", "plan": "g7-premium-64", "available": true}, {"region": + "in-maa", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "in-maa", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "in-maa", "plan": + "g1-gpu-rtx4000a-4", "available": false}, {"region": "in-maa", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "in-maa", "plan": "g1-gpu-rtx4000a-8", "available": + false}, {"region": "jp-osa", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "jp-osa", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "jp-osa", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "jp-osa", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "jp-osa", "plan": + "g7-premium-2", "available": true}, {"region": "jp-osa", "plan": "g7-premium-4", + "available": true}, {"region": "jp-osa", "plan": "g7-premium-8", "available": + true}, {"region": "jp-osa", "plan": "g7-premium-16", "available": true}, {"region": + "jp-osa", "plan": "g7-premium-32", "available": true}, {"region": "jp-osa", + "plan": "g7-premium-48", "available": true}, {"region": "jp-osa", "plan": "g7-premium-50", + "available": true}, {"region": "jp-osa", "plan": "g7-premium-56", "available": + true}, {"region": "jp-osa", "plan": "g7-premium-64", "available": true}, {"region": + "jp-osa", "plan": "g1-gpu-rtx4000a-1", "available": true}, {"region": "jp-osa", + "plan": "g1-gpu-rtx4000a-2", "available": true}, {"region": "jp-osa", "plan": + "g1-gpu-rtx4000a-4", "available": true}, {"region": "jp-osa", "plan": "g1-gpu-rtx4000a-6", + "available": true}, {"region": "jp-osa", "plan": "g1-gpu-rtx4000a-8", "available": + true}, {"region": "it-mil", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "it-mil", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "it-mil", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "it-mil", + "plan": "g1-gpu-rtx6000-4", "available": false}, {"region": "it-mil", "plan": + "g7-premium-2", "available": true}, {"region": "it-mil", "plan": "g7-premium-4", + "available": true}, {"region": "it-mil", "plan": "g7-premium-8", "available": + true}, {"region": "it-mil", "plan": "g7-premium-16", "available": true}, {"region": + "it-mil", "plan": "g7-premium-32", "available": true}, {"region": "it-mil", + "plan": "g7-premium-48", "available": true}, {"region": "it-mil", "plan": "g7-premium-50", + "available": true}, {"region": "it-mil", "plan": "g7-premium-56", "available": + true}, {"region": "it-mil", "plan": "g7-premium-64", "available": false}, {"region": + "it-mil", "plan": "g1-gpu-rtx4000a-1", "available": false}, {"region": "it-mil", + "plan": "g1-gpu-rtx4000a-2", "available": false}, {"region": "it-mil", "plan": + "g1-gpu-rtx4000a-4", "available": false}, {"region": "it-mil", "plan": "g1-gpu-rtx4000a-6", + "available": false}, {"region": "it-mil", "plan": "g1-gpu-rtx4000a-8", "available": + false}, {"region": "us-mia", "plan": "g1-gpu-rtx6000-1", "available": false}, + {"region": "us-mia", "plan": "g1-gpu-rtx6000-2", "available": false}, {"region": + "us-mia", "plan": "g1-gpu-rtx6000-3", "available": false}, {"region": "us-mia", + "plan": "g1-gpu-rtx6000-4", "available": false}], "page": 4, "pages": 5, "results": + 486}' + 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: + - Tue, 09 Jul 2024 13:37:45 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: + - 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/regions/availability?page=5 + method: GET + response: + body: '{"data": [{"region": "us-mia", "plan": "g7-premium-2", "available": true}, + {"region": "us-mia", "plan": "g7-premium-4", "available": true}, {"region": + "us-mia", "plan": "g7-premium-8", "available": true}, {"region": "us-mia", "plan": + "g7-premium-16", "available": true}, {"region": "us-mia", "plan": "g7-premium-32", + "available": true}, {"region": "us-mia", "plan": "g7-premium-48", "available": + true}, {"region": "us-mia", "plan": "g7-premium-50", "available": true}, {"region": + "us-mia", "plan": "g7-premium-56", "available": true}, {"region": "us-mia", + "plan": "g7-premium-64", "available": false}, {"region": "us-mia", "plan": "g1-gpu-rtx4000a-1", + "available": false}, {"region": "us-mia", "plan": "g1-gpu-rtx4000a-2", "available": + false}, {"region": "us-mia", "plan": "g1-gpu-rtx4000a-4", "available": false}, + {"region": "us-mia", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": + "us-mia", "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "id-cgk", + "plan": "g1-gpu-rtx6000-1", "available": false}, {"region": "id-cgk", "plan": + "g1-gpu-rtx6000-2", "available": false}, {"region": "id-cgk", "plan": "g1-gpu-rtx6000-3", + "available": false}, {"region": "id-cgk", "plan": "g1-gpu-rtx6000-4", "available": + false}, {"region": "id-cgk", "plan": "g7-premium-2", "available": true}, {"region": + "id-cgk", "plan": "g7-premium-4", "available": true}, {"region": "id-cgk", "plan": + "g7-premium-8", "available": true}, {"region": "id-cgk", "plan": "g7-premium-16", + "available": true}, {"region": "id-cgk", "plan": "g7-premium-32", "available": + true}, {"region": "id-cgk", "plan": "g7-premium-48", "available": true}, {"region": + "id-cgk", "plan": "g7-premium-50", "available": true}, {"region": "id-cgk", + "plan": "g7-premium-56", "available": true}, {"region": "id-cgk", "plan": "g7-premium-64", + "available": true}, {"region": "id-cgk", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "id-cgk", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "id-cgk", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "id-cgk", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "id-cgk", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "us-lax", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "us-lax", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "us-lax", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "us-lax", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "us-lax", "plan": "g7-premium-2", "available": true}, {"region": + "us-lax", "plan": "g7-premium-4", "available": true}, {"region": "us-lax", "plan": + "g7-premium-8", "available": true}, {"region": "us-lax", "plan": "g7-premium-16", + "available": true}, {"region": "us-lax", "plan": "g7-premium-32", "available": + true}, {"region": "us-lax", "plan": "g7-premium-48", "available": true}, {"region": + "us-lax", "plan": "g7-premium-50", "available": true}, {"region": "us-lax", + "plan": "g7-premium-56", "available": true}, {"region": "us-lax", "plan": "g7-premium-64", + "available": true}, {"region": "us-lax", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "us-lax", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "us-lax", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "us-lax", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "us-lax", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "gb-lon", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "gb-lon", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "gb-lon", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "gb-lon", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "gb-lon", "plan": "g7-premium-2", "available": true}, {"region": + "gb-lon", "plan": "g7-premium-4", "available": true}, {"region": "gb-lon", "plan": + "g7-premium-8", "available": true}, {"region": "gb-lon", "plan": "g7-premium-16", + "available": true}, {"region": "gb-lon", "plan": "g7-premium-32", "available": + true}, {"region": "gb-lon", "plan": "g7-premium-48", "available": true}, {"region": + "gb-lon", "plan": "g7-premium-50", "available": true}, {"region": "gb-lon", + "plan": "g7-premium-56", "available": true}, {"region": "gb-lon", "plan": "g7-premium-64", + "available": true}, {"region": "gb-lon", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "gb-lon", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "gb-lon", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "gb-lon", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "gb-lon", + "plan": "g1-gpu-rtx4000a-8", "available": false}, {"region": "au-mel", "plan": + "g1-gpu-rtx6000-1", "available": false}, {"region": "au-mel", "plan": "g1-gpu-rtx6000-2", + "available": false}, {"region": "au-mel", "plan": "g1-gpu-rtx6000-3", "available": + false}, {"region": "au-mel", "plan": "g1-gpu-rtx6000-4", "available": false}, + {"region": "au-mel", "plan": "g7-premium-2", "available": true}, {"region": + "au-mel", "plan": "g7-premium-4", "available": true}, {"region": "au-mel", "plan": + "g7-premium-8", "available": true}, {"region": "au-mel", "plan": "g7-premium-16", + "available": true}, {"region": "au-mel", "plan": "g7-premium-32", "available": + true}, {"region": "au-mel", "plan": "g7-premium-48", "available": true}, {"region": + "au-mel", "plan": "g7-premium-50", "available": true}, {"region": "au-mel", + "plan": "g7-premium-56", "available": true}, {"region": "au-mel", "plan": "g7-premium-64", + "available": true}, {"region": "au-mel", "plan": "g1-gpu-rtx4000a-1", "available": + false}, {"region": "au-mel", "plan": "g1-gpu-rtx4000a-2", "available": false}, + {"region": "au-mel", "plan": "g1-gpu-rtx4000a-4", "available": false}, {"region": + "au-mel", "plan": "g1-gpu-rtx4000a-6", "available": false}, {"region": "au-mel", + "plan": "g1-gpu-rtx4000a-8", "available": false}], "page": 5, "pages": 5, "results": + 486}' + 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: + - Tue, 09 Jul 2024 13:37:45 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: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestRegions_List.yaml b/test/integration/fixtures/TestRegions_List.yaml index 00c6df583..28af7e4b3 100644 --- a/test/integration/fixtures/TestRegions_List.yaml +++ b/test/integration/fixtures/TestRegions_List.yaml @@ -11,72 +11,80 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: 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"], - "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, + "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"}, "site_type": + 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"], "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, + 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"}, "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"], "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"}, "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"}, "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"}, "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", "Placement Group"], "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"}, "site_type": "core"}, {"id": "us-ord", "label": - "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "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"}, + "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"}, "site_type": "core"}, {"id": "fr-par", "label": + 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", "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", + "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"}, "site_type": "core"}, {"id": "us-sea", "label": + 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", "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, + "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"}, "site_type": "core"}, {"id": "br-gru", "label": + 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": @@ -85,7 +93,8 @@ interactions: 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}, - "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": + "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.233.33.36, 172.233.33.38, @@ -93,16 +102,18 @@ interactions: 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"}, "site_type": + 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, + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans", "Placement Group"], + "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"}, "site_type": + 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", @@ -111,7 +122,8 @@ interactions: 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"}, "site_type": + 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", @@ -120,16 +132,18 @@ interactions: "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "site_type": "core"}, {"id": "jp-osa", "label": + 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", "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, + "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"}, "site_type": "core"}, {"id": "it-mil", "label": + 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": @@ -138,16 +152,18 @@ interactions: "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "site_type": "core"}, {"id": "us-mia", "label": + 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"], "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, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "site_type": "core"}, {"id": "id-cgk", "label": + 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": @@ -156,7 +172,8 @@ interactions: "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "site_type": "core"}, {"id": "us-lax", "label": + 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": @@ -165,66 +182,97 @@ interactions: "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "site_type": "core"}, {"id": "us-central", + 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", "Kubernetes", "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"], "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, + Storage Migrations", "Managed Databases", "Metadata", "Placement Group"], "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", + "Placement Group"], "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, 1234::5678, 1234::5678"}, "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"], "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"}, "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"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, + 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", "Placement + Group"], "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"}, "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": - {"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"}, "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"], "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"}, "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"], "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"}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, - DE", "country": "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", + 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": - {"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"}, "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"], "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"}, "site_type": - "core"}], "page": 1, "pages": 1, "results": 25}' + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -245,7 +293,7 @@ interactions: Content-Type: - application/json Expires: - - Thu, 21 Mar 2024 18:37:15 GMT + - Tue, 09 Jul 2024 13:37:44 GMT Pragma: - no-cache Strict-Transport-Security: @@ -262,10 +310,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/TestRegions_pgLimits.yaml b/test/integration/fixtures/TestRegions_pgLimits.yaml index d238f4085..e237519ae 100644 --- a/test/integration/fixtures/TestRegions_pgLimits.yaml +++ b/test/integration/fixtures/TestRegions_pgLimits.yaml @@ -11,68 +11,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "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": 5, "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": 5, "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": 5, "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": 5, "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + 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", "Placement Group"], "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": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", - "Vlans", "VPCs", "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": 5, "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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": 5, "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": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + "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": "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", "Placement Group"], + "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", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -85,23 +285,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-Length: - - "7144" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:37:45 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: diff --git a/test/integration/fixtures/TestSSHKey_GetFound.yaml b/test/integration/fixtures/TestSSHKey_GetFound.yaml index bc9dd732a..74c2c67db 100644 --- a/test/integration/fixtures/TestSSHKey_GetFound.yaml +++ b/test/integration/fixtures/TestSSHKey_GetFound.yaml @@ -15,7 +15,7 @@ interactions: url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: - body: '{"id": 225129, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"id": 451621, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:51 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,10 +72,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys/225129 + url: https://api.linode.com/v4beta/profile/sshkeys/451621 method: GET response: - body: '{"id": 225129, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"id": 451621, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -85,16 +89,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:51 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -110,7 +117,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -126,7 +133,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys/225129 + url: https://api.linode.com/v4beta/profile/sshkeys/451621 method: DELETE response: body: '{}' @@ -142,15 +149,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: + - Tue, 09 Jul 2024 13:22:51 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -165,7 +176,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestSSHKey_GetMissing.yaml b/test/integration/fixtures/TestSSHKey_GetMissing.yaml index e996c8145..cfc1291be 100644 --- a/test/integration/fixtures/TestSSHKey_GetMissing.yaml +++ b/test/integration/fixtures/TestSSHKey_GetMissing.yaml @@ -23,13 +23,17 @@ interactions: Access-Control-Allow-Origin: - '*' Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "37" Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:50 GMT + Pragma: + - no-cache Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -39,7 +43,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" status: 404 Not Found code: 404 duration: "" diff --git a/test/integration/fixtures/TestSSHKey_Update.yaml b/test/integration/fixtures/TestSSHKey_Update.yaml index 2cca06d23..71b7a1a20 100644 --- a/test/integration/fixtures/TestSSHKey_Update.yaml +++ b/test/integration/fixtures/TestSSHKey_Update.yaml @@ -15,7 +15,7 @@ interactions: url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: - body: '{"id": 225130, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"id": 451622, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:51 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,10 +72,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys/225130 + url: https://api.linode.com/v4beta/profile/sshkeys/451622 method: PUT response: - body: '{"id": 225130, "label": "go-test-def_r", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"id": 451622, "label": "go-test-def_r", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -85,15 +89,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: - "481" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:51 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -108,7 +116,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -124,7 +132,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys/225130 + url: https://api.linode.com/v4beta/profile/sshkeys/451622 method: DELETE response: body: '{}' @@ -140,15 +148,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: + - Tue, 09 Jul 2024 13:22:52 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -163,7 +175,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestSSHKeys_List.yaml b/test/integration/fixtures/TestSSHKeys_List.yaml index 26798626e..495d53bad 100644 --- a/test/integration/fixtures/TestSSHKeys_List.yaml +++ b/test/integration/fixtures/TestSSHKeys_List.yaml @@ -15,7 +15,7 @@ interactions: url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: - body: '{"id": 225131, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"id": 451623, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:52 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,23 +72,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys + url: https://api.linode.com/v4beta/profile/sshkeys?page=1 method: GET response: - body: '{"data": [{"id": 152998, "label": "tf_test_authorized_keys", "ssh_key": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDTvJ3DEQbiBaaLunzTgQrgsDKqgTqDnNLhhnZSLIqCCuM60bZgJ6ML8xfmeLZ22sUGcC3sx1Qbq2xhfLbugEdPKalNav4VClBw14oham7dtFdKP1KjsPn1vo4/BbBQD1OVQkYJtEJn+Kes8mzKLVd1KAxD2a3AQCMpd799Tpwzqw== - linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 161097, - "label": "main", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/9hS+wF6hxr7F8u18foHDiZSH6OBv27gwJwW3zbGLPCp37Q9sP/ZxvIGjOUgC/8dtZYMwbv9G2/E1/V0JjLIA7sE5y5u+O+8Qo/WvvLMttp7UOzNswzjOAEHSlsHnj+Fjc6H0zSjjZAutNxmzDweaGueGXwIILbuXp+TTv2ZFBgFETP8psCCbBUV/ONTzDV2Azp0nOD2Jq7BCg2uXvSgbArWR8EEt7WKoxLtGQpM3eY9fkIACzNMJrUbzPjzcQDiAoh1lx7SYbhCejVAgWRmaaWCAzDDYAsJbaDdlsLedcMO+l0bHgyW2om7D4ougeEZTVKpw1NbjtIeMSP/yMMGb - porkysm@ubuntu", "created": "2018-01-02T03:04:05"}, {"id": 210640, "label": - "tf_test_authorized_keys", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCmlfMklYRrffVWmxXkaUuBKx1Cy0YDPjPpAjqAOuGNwpUS2rx9kd842UVHnKFyPc6VxUudmXm1htG46k21RkyxhSp6M9evMYhqmY+5g+MyBf/rwCKQqPDbBfgkAbzOWfTj68/rlitxljjIn4JCS99DmgkxBxpdBFeVhuAG5a8Hkw== - linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 210892, - "label": "dev-server-rsa", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3tmzKeKrdyhTrtX3vjV7bDG3SlYf0IDPh7QkY9etASgFfqOW4vmioXj7yAj5mx3wOlAVcDCKhc4+X4jED87ZHPmupr2FRCJprW/hdHA0J97sDSYpZ2v4y/GNzmvPR+z8Nqi+heUuXPj4d9CKMx9MqiyS7OrFrj86HTkVIGZgkK55cD+Vy3WJsr6mYuaSKc8q7vd7MqjVZJ7xaxX41Ss6bYFHi3Hu8QtSCTr/V7qAxAmlLSrf36fxm1xK5BrS5LgllwTfKoQJKbBupBdiEMuAknoVoMflZhuXB5pbqqgTGCFZ7bKCejFE0jdAqOUEh/sa3FJLozjx4cS1SEbI4IwJqp/Xtfh8lerJHA+EJahLHbHLP9/UiSy36taKK6ULXx+PHXWekh9OhsC8f68dMN56KOvw7zjo4IpAPQpFaNYzGsEd5DA+M/y2MIcdI66hMmNqx0KJD71m62Pw1ACmVBC1WKKCbKAmcdfD5buHp2hNq3dTte/MYY40fkSWXJCDlSBE= - lgarber@atl-mpd9p", "created": "2018-01-02T03:04:05"}, {"id": 220902, "label": - "tf_test_authorized_keys", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCz7HK6PeQ3r0Bw4rlICFCCTlaMHElm5/5texwLuhLyCyRIyB45Ddg54x1nGLFCIyJvj/8Xx7rJYEoukfyK4VmnGvIdFlEXGrrfAaiUOzg20Rg4PvVAiR1KxCXr0/gpXA6PTMbUmntVkZ3KVtkehabJlB6kZw8Wl82GKOtArFKJEw== - linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 225131, - "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X + body: '{"data": [{"id": 451623, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": - 6}' + 1}' headers: Access-Control-Allow-Credentials: - "true" @@ -97,14 +90,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "528" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:22:52 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -120,7 +118,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -136,7 +134,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/sshkeys/225131 + url: https://api.linode.com/v4beta/profile/sshkeys/451623 method: DELETE response: body: '{}' @@ -152,15 +150,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: + - Tue, 09 Jul 2024 13:22:52 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -175,7 +177,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestToken_GetFound.yaml b/test/integration/fixtures/TestToken_GetFound.yaml index 1a2658b1b..68de5f22d 100644 --- a/test/integration/fixtures/TestToken_GetFound.yaml +++ b/test/integration/fixtures/TestToken_GetFound.yaml @@ -2,7 +2,7 @@ version: 1 interactions: - request: - body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:28"}' + body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2024-07-09T13:29:58"}' form: {} headers: Accept: @@ -14,8 +14,8 @@ interactions: url: https://api.linode.com/v4beta/profile/tokens method: POST response: - body: '{"id": 41180270, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "7b3d5d8aed20bbfe821301f519f59ef69dbfde5555377d43a9450d0432a1997b", + body: '{"id": 57288262, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "14f8c7b07c53ac5eba483ecd0b253e21779ae28fd953e620b5d3bcb78001058b", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:27:58 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,11 +72,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180270 + url: https://api.linode.com/v4beta/profile/tokens/57288262 method: GET response: - body: '{"id": 41180270, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "7b3d5d8aed20bbfe", "expiry": "2018-01-02T03:04:05"}' + body: '{"id": 57288262, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "14f8c7b07c53ac5e", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" @@ -85,16 +89,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:27:58 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -110,7 +117,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -126,7 +133,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180270 + url: https://api.linode.com/v4beta/profile/tokens/57288262 method: DELETE response: body: '{}' @@ -142,15 +149,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: + - Tue, 09 Jul 2024 13:27:58 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -165,7 +176,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestToken_GetMissing.yaml b/test/integration/fixtures/TestToken_GetMissing.yaml index 24eacce3a..60d22f992 100644 --- a/test/integration/fixtures/TestToken_GetMissing.yaml +++ b/test/integration/fixtures/TestToken_GetMissing.yaml @@ -23,13 +23,17 @@ interactions: Access-Control-Allow-Origin: - '*' Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "37" Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:27:58 GMT + Pragma: + - no-cache Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -39,7 +43,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" status: 404 Not Found code: 404 duration: "" diff --git a/test/integration/fixtures/TestToken_GetNoExpiry.yaml b/test/integration/fixtures/TestToken_GetNoExpiry.yaml index b5697d7e9..210959b6f 100644 --- a/test/integration/fixtures/TestToken_GetNoExpiry.yaml +++ b/test/integration/fixtures/TestToken_GetNoExpiry.yaml @@ -14,8 +14,8 @@ interactions: url: https://api.linode.com/v4beta/profile/tokens method: POST response: - body: '{"id": 41180271, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "2efb8b52324b06c948e89e2f593dfbbc764306077f91ff20c57c5e843541dc9e", + body: '{"id": 57288263, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "8d1eea7c8fbc1e47e857abec01adee3368ef68d97d7b94556c349a6e8ed325c4", "expiry": "2999-12-12T05:00:00"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:27:59 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,11 +72,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180271 + url: https://api.linode.com/v4beta/profile/tokens/57288263 method: GET response: - body: '{"id": 41180271, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "2efb8b52324b06c9", "expiry": "2999-12-12T05:00:00"}' + body: '{"id": 57288263, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "8d1eea7c8fbc1e47", "expiry": "2999-12-12T05:00:00"}' headers: Access-Control-Allow-Credentials: - "true" @@ -85,16 +89,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:27:59 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -110,7 +117,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -126,7 +133,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180271 + url: https://api.linode.com/v4beta/profile/tokens/57288263 method: DELETE response: body: '{}' @@ -142,15 +149,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: + - Tue, 09 Jul 2024 13:27:59 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -165,7 +176,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestTokens_List.yaml b/test/integration/fixtures/TestTokens_List.yaml index a68602a1b..5b081bc7c 100644 --- a/test/integration/fixtures/TestTokens_List.yaml +++ b/test/integration/fixtures/TestTokens_List.yaml @@ -2,7 +2,7 @@ version: 1 interactions: - request: - body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:29"}' + body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2024-07-09T13:30:00"}' form: {} headers: Accept: @@ -14,8 +14,8 @@ interactions: url: https://api.linode.com/v4beta/profile/tokens method: POST response: - body: '{"id": 41180273, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "60fbc58db1ab95071e646f48d1da3dd2f8c37d7f7fb602bafd6b731ee875a067", + body: '{"id": 57288265, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "1043c72081856d48850ecfc614f88aeccb86272b3987441700b71b43e2698ead", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:28:01 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,23 +72,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens + url: https://api.linode.com/v4beta/profile/tokens?page=1 method: GET response: - body: '{"data": [{"id": 39828879, "scopes": "*", "created": "2018-01-02T03:04:05", - "label": "lena-pc", "token": "f769d10d3554bab1", "expiry": "2018-01-02T03:04:05"}, - {"id": 39906996, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "lena-pc2", - "token": "30f37bba6d5ff947", "expiry": "2222-08-19T00:00:00"}, {"id": 40478549, - "scopes": "*", "created": "2018-01-02T03:04:05", "label": "lena-pc-3", "token": - "fe0549c503a93043", "expiry": "2018-01-02T03:04:05"}, {"id": 40581141, "scopes": - "*", "created": "2018-01-02T03:04:05", "label": "tesat", "token": "baa4e1616b02312a", - "expiry": "2018-01-02T03:04:05"}, {"id": 40676179, "scopes": "*", "created": - "2018-01-02T03:04:05", "label": "asdad", "token": "77e6e2a9cf240f0d", "expiry": - "2018-01-02T03:04:05"}, {"id": 40719326, "scopes": "*", "created": "2018-01-02T03:04:05", - "label": "laptop", "token": "ba91c55cc1531b4f", "expiry": "2018-01-02T03:04:05"}, - {"id": 41180273, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "60fbc58db1ab9507", "expiry": "2018-01-02T03:04:05"}], - "page": 1, "pages": 1, "results": 7}' + body: '{"data": [{"id": 56990571, "scopes": "*", "created": "2018-01-02T03:04:05", + "label": "token", "token": "9853aa8891ad9fe2", "expiry": "2018-01-02T03:04:05"}, + {"id": 57288265, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "1043c72081856d48", "expiry": "2018-01-02T03:04:05"}], + "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" @@ -97,14 +92,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Length: + - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:28:01 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -120,7 +120,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -136,7 +136,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180273 + url: https://api.linode.com/v4beta/profile/tokens/57288265 method: DELETE response: body: '{}' @@ -152,15 +152,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: + - Tue, 09 Jul 2024 13:28:01 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -175,7 +179,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestTokens_Update.yaml b/test/integration/fixtures/TestTokens_Update.yaml index d2213fcf7..44e90759a 100644 --- a/test/integration/fixtures/TestTokens_Update.yaml +++ b/test/integration/fixtures/TestTokens_Update.yaml @@ -2,7 +2,7 @@ version: 1 interactions: - request: - body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:29"}' + body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2024-07-09T13:29:59"}' form: {} headers: Accept: @@ -14,8 +14,8 @@ interactions: url: https://api.linode.com/v4beta/profile/tokens method: POST response: - body: '{"id": 41180272, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test", "token": "e695af7f49f471c1d77ea1356f427137464ebb553abad03d8c8ceeee95dd8eda", + body: '{"id": 57288264, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test", "token": "d32f5be4cbb4abe8da42ed3f9cdf14814a4363b262c2a62174dc117ea8a98096", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -29,15 +29,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: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:28:00 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -52,7 +56,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -68,11 +72,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180272 + url: https://api.linode.com/v4beta/profile/tokens/57288264 method: PUT response: - body: '{"id": 41180272, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", - "label": "linodego-token-test_renamed", "token": "e695af7f49f471c1", "expiry": + body: '{"id": 57288264, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", + "label": "linodego-token-test_renamed", "token": "d32f5be4cbb4abe8", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: @@ -86,15 +90,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: - "183" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 13:28:00 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -109,7 +117,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -125,7 +133,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/profile/tokens/41180272 + url: https://api.linode.com/v4beta/profile/tokens/57288264 method: DELETE response: body: '{}' @@ -141,15 +149,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: + - Tue, 09 Jul 2024 13:28:00 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -164,7 +176,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK From 6496cb07969656101af974a2f8c4c4f92b789511 Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Tue, 9 Jul 2024 09:51:04 -0400 Subject: [PATCH 2/4] Reran more fixtures and fixed caching issues --- kernels.go | 8 + regions.go | 2 +- test/integration/cache_test.go | 7 +- .../fixtures/TestAccountEvents_List.yaml | 2 +- .../fixtures/TestCache_RegionList.yaml | 1268 ++++++++++++++--- .../fixtures/TestDatabase_List.yaml | 2 +- .../fixtures/TestDatabase_MySQL_Suite.yaml | 2 +- .../fixtures/TestDatabase_Postgres_Suite.yaml | 2 +- .../TestEventPoller_InstancePower.yaml | 2 +- .../fixtures/TestEventPoller_Secondary.yaml | 2 +- .../fixtures/TestFirewallDevice_Delete.yaml | 2 +- .../fixtures/TestFirewallDevice_Get.yaml | 2 +- .../fixtures/TestFirewallDevices_List.yaml | 103 +- .../fixtures/TestIPAddress_GetFound.yaml | 2 +- .../TestIPAddress_Instance_Assign.yaml | 2 +- .../TestIPAddress_Instance_Delete.yaml | 2 +- .../TestIPAddress_Instance_Share.yaml | 2 +- .../fixtures/TestIPAddress_Update.yaml | 2 +- .../TestIPAddresses_Instance_Get.yaml | 2 +- .../fixtures/TestIPAddresses_List.yaml | 2 +- .../fixtures/TestIPv6Range_Instance_List.yaml | 2 +- .../fixtures/TestIPv6Range_Share.yaml | 2 +- .../fixtures/TestImage_CloudInit.yaml | 2 +- .../fixtures/TestImage_CreateUpload.yaml | 2 +- .../fixtures/TestInstanceBackups_List.yaml | 2 +- .../fixtures/TestInstanceFirewalls_List.yaml | 2 +- .../fixtures/TestInstance_Clone.yaml | 2 +- .../TestInstance_ConfigInterface_Update.yaml | 2 +- ...nstance_ConfigInterfaces_AppendDelete.yaml | 2 +- .../TestInstance_ConfigInterfaces_List.yaml | 2 +- ...TestInstance_ConfigInterfaces_Reorder.yaml | 2 +- .../TestInstance_ConfigInterfaces_Update.yaml | 2 +- .../fixtures/TestInstance_Config_Update.yaml | 2 +- .../fixtures/TestInstance_Configs_List.yaml | 2 +- .../TestInstance_CreateUnderFirewall.yaml | 2 +- ...estInstance_Disk_ListMultiple_Primary.yaml | 2 +- ...tInstance_Disk_ListMultiple_Secondary.yaml | 2 +- .../TestInstance_Disk_ResetPassword.yaml | 2 +- .../fixtures/TestInstance_Disk_Resize.yaml | 2 +- .../fixtures/TestInstance_Disks_List.yaml | 2 +- .../fixtures/TestInstance_Get.yaml | 2 +- .../fixtures/TestInstance_Rebuild.yaml | 2 +- .../fixtures/TestInstance_Resize.yaml | 2 +- .../fixtures/TestInstance_Volumes_List.yaml | 2 +- .../TestInstance_Volumes_List_Instance.yaml | 2 +- .../fixtures/TestInstance_withMetadata.yaml | 2 +- .../fixtures/TestInstance_withPG.yaml | 2 +- .../fixtures/TestInstances_List.yaml | 2 +- .../TestLKECluster_APIEndpoints_List.yaml | 2 +- .../TestLKECluster_Dashboard_Get.yaml | 2 +- .../fixtures/TestLKECluster_GetFound.yaml | 2 +- .../TestLKECluster_Kubeconfig_Get.yaml | 2 +- .../TestLKECluster_Nodes_Recycle.yaml | 2 +- .../fixtures/TestLKECluster_Update.yaml | 2 +- .../fixtures/TestLKECluster_WaitForReady.yaml | 2 +- .../fixtures/TestLKECluster_withACL.yaml | 2 +- .../fixtures/TestLKEClusters_List.yaml | 2 +- .../fixtures/TestLKENodePoolNode_Delete.yaml | 2 +- .../fixtures/TestLKENodePool_GetFound.yaml | 2 +- .../fixtures/TestLKENodePool_Update.yaml | 2 +- .../fixtures/TestLKENodePools_List.yaml | 2 +- .../TestNodeBalancerConfig_Create.yaml | 2 +- .../fixtures/TestNodeBalancerConfig_Get.yaml | 2 +- .../TestNodeBalancerConfig_Update.yaml | 2 +- .../TestNodeBalancerConfigs_List.yaml | 2 +- ...NodeBalancerConfigs_ListMultiplePages.yaml | 2 +- .../TestNodeBalancerFirewalls_List.yaml | 2 +- .../fixtures/TestNodeBalancerNode_Create.yaml | 2 +- .../TestNodeBalancerNode_CreateInstance.yaml | 2 +- .../fixtures/TestNodeBalancerNode_Get.yaml | 2 +- .../TestNodeBalancerNode_GetInstance.yaml | 2 +- .../fixtures/TestNodeBalancerNode_Update.yaml | 2 +- .../TestNodeBalancerNode_UpdateInstance.yaml | 2 +- .../fixtures/TestNodeBalancerNodes_List.yaml | 2 +- .../TestNodeBalancerNodes_ListInstance.yaml | 2 +- ...stNodeBalancerNodes_ListMultiplePages.yaml | 2 +- ...lancerNodes_ListMultiplePagesInstance.yaml | 2 +- .../fixtures/TestNodeBalancerStats_Get.yaml | 2 +- .../fixtures/TestNodeBalancer_Create.yaml | 2 +- .../fixtures/TestNodeBalancer_Get.yaml | 2 +- .../fixtures/TestNodeBalancer_Rebuild.yaml | 2 +- .../TestNodeBalancer_RebuildInstance.yaml | 2 +- .../fixtures/TestNodeBalancer_Update.yaml | 2 +- .../fixtures/TestNodeBalancers_List.yaml | 2 +- .../TestPlacementGroup_assignment.yaml | 2 +- .../fixtures/TestPlacementGroup_basic.yaml | 2 +- .../TestRegionsAvailability_List.yaml | 10 +- .../fixtures/TestRegions_List.yaml | 85 +- .../fixtures/TestRegions_pgLimits.yaml | 85 +- test/integration/fixtures/TestTag_Create.yaml | 2 +- .../fixtures/TestVLANs_GetIPAMAddress.yaml | 2 +- test/integration/fixtures/TestVLANs_List.yaml | 2 +- .../fixtures/TestVPC_CreateGet.yaml | 2 +- .../fixtures/TestVPC_Create_Invalid.yaml | 2 +- test/integration/fixtures/TestVPC_List.yaml | 2 +- .../fixtures/TestVPC_ListAllIPAddresses.yaml | 2 +- .../fixtures/TestVPC_ListIPAddresses.yaml | 2 +- .../fixtures/TestVPC_Subnet_Create.yaml | 2 +- .../TestVPC_Subnet_Create_Invalid_data.yaml | 2 +- .../fixtures/TestVPC_Subnet_List.yaml | 2 +- .../fixtures/TestVPC_Subnet_Update.yaml | 2 +- .../TestVPC_Subnet_Update_Invalid_Label.yaml | 2 +- .../fixtures/TestVPC_Subnet_WithInstance.yaml | 2 +- test/integration/fixtures/TestVPC_Update.yaml | 2 +- .../fixtures/TestVPC_Update_Invalid.yaml | 2 +- .../fixtures/TestVolume_Create.yaml | 2 +- test/integration/fixtures/TestVolume_Get.yaml | 2 +- .../integration/fixtures/TestVolume_List.yaml | 2 +- .../fixtures/TestVolume_Resize.yaml | 2 +- .../fixtures/TestVolume_Update.yaml | 2 +- .../TestVolume_WaitForLinodeID_linode.yaml | 2 +- .../TestVolume_WaitForLinodeID_nil.yaml | 2 +- .../TestVolume_WaitForLinodeID_volume.yaml | 2 +- .../fixtures/TestWaitForResourceFree.yaml | 2 +- 114 files changed, 1318 insertions(+), 462 deletions(-) diff --git a/kernels.go b/kernels.go index 1b6783528..5f3f12e02 100644 --- a/kernels.go +++ b/kernels.go @@ -65,10 +65,18 @@ func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKe // 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) { e := formatAPIPath("linode/kernels/%s", kernelID) + + if result := c.getCachedResponse(e); result != nil { + result := result.(LinodeKernel) + return &result, nil + } + response, err := doGETRequest[LinodeKernel](ctx, c, e) if err != nil { return nil, err } + c.addCachedResponse(e, response, nil) + return response, nil } diff --git a/regions.go b/regions.go index 8cd2b6439..6de64bb7c 100644 --- a/regions.go +++ b/regions.go @@ -86,7 +86,7 @@ func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region, return nil, err } - c.addCachedResponse(endpoint, response, nil) + c.addCachedResponse(endpoint, response, &cacheExpiryTime) return response, nil } diff --git a/test/integration/cache_test.go b/test/integration/cache_test.go index fd7e81520..fd4207de2 100644 --- a/test/integration/cache_test.go +++ b/test/integration/cache_test.go @@ -28,11 +28,8 @@ func TestCache_RegionList(t *testing.T) { totalRequests := int64(0) client.OnBeforeRequest(func(request *linodego.Request) error { - if !strings.Contains(request.URL, "regions") { - return nil - } - - if request.QueryParam.Has("page") { + page := request.QueryParam.Get("page") + if !strings.Contains(request.URL, "regions") || page != "1" { return nil } diff --git a/test/integration/fixtures/TestAccountEvents_List.yaml b/test/integration/fixtures/TestAccountEvents_List.yaml index f2b895f8d..c83939b34 100644 --- a/test/integration/fixtures/TestAccountEvents_List.yaml +++ b/test/integration/fixtures/TestAccountEvents_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestCache_RegionList.yaml b/test/integration/fixtures/TestCache_RegionList.yaml index 723e27bc1..2ad50ac32 100644 --- a/test/integration/fixtures/TestCache_RegionList.yaml +++ b/test/integration/fixtures/TestCache_RegionList.yaml @@ -11,59 +11,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: - body: '{"data": [{"id": "ap-west", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ca-central", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ap-southeast", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", - "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"}}, - {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + 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", "Placement Group"], "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": "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", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "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", - "Bare Metal", "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", "country": "uk", "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", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "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": "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", "Placement Group"], + "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", - "Vlans", "Block Storage Migrations", "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"}}, - {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "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", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], - "page": 1, "pages": 1, "results": 11}' + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -76,19 +285,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: + - Tue, 09 Jul 2024 15:39:07 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: @@ -99,7 +312,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -115,59 +328,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: - body: '{"data": [{"id": "ap-west", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ca-central", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ap-southeast", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", - "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"}}, - {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + 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", "Placement Group"], "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": "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", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "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", - "Bare Metal", "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", "country": "uk", "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", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "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": "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", "Placement Group"], + "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", - "Vlans", "Block Storage Migrations", "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"}}, - {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "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", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], - "page": 1, "pages": 1, "results": 11}' + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -180,19 +602,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: + - Tue, 09 Jul 2024 15:39:07 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: @@ -203,7 +629,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -219,59 +645,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: - body: '{"data": [{"id": "ap-west", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ca-central", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ap-southeast", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", - "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"}}, - {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + 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", "Placement Group"], "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": "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", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "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", - "Bare Metal", "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", "country": "uk", "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", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "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": "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", "Placement Group"], + "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", - "Vlans", "Block Storage Migrations", "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"}}, - {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "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", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], - "page": 1, "pages": 1, "results": 11}' + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -284,19 +919,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: + - Tue, 09 Jul 2024 15:39:08 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: @@ -307,7 +946,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -323,59 +962,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: - body: '{"data": [{"id": "ap-west", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ca-central", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "ap-southeast", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, - {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", - "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"}}, - {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + 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", "Placement Group"], "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": "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", "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", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "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", - "Bare Metal", "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", "country": "uk", "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", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "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": "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", "Placement Group"], + "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", - "Vlans", "Block Storage Migrations", "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"}}, - {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "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", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "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,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], - "page": 1, "pages": 1, "results": 11}' + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, + "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", "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"}, "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", "Placement Group"], "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" @@ -388,19 +1236,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: + - Tue, 09 Jul 2024 15:39:08 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: @@ -411,7 +1263,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestDatabase_List.yaml b/test/integration/fixtures/TestDatabase_List.yaml index 660c1bab7..f7c87fa71 100644 --- a/test/integration/fixtures/TestDatabase_List.yaml +++ b/test/integration/fixtures/TestDatabase_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestDatabase_MySQL_Suite.yaml b/test/integration/fixtures/TestDatabase_MySQL_Suite.yaml index 040f1c2b0..d5b13f1d6 100644 --- a/test/integration/fixtures/TestDatabase_MySQL_Suite.yaml +++ b/test/integration/fixtures/TestDatabase_MySQL_Suite.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestDatabase_Postgres_Suite.yaml b/test/integration/fixtures/TestDatabase_Postgres_Suite.yaml index f2ce11752..29cf28666 100644 --- a/test/integration/fixtures/TestDatabase_Postgres_Suite.yaml +++ b/test/integration/fixtures/TestDatabase_Postgres_Suite.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestEventPoller_InstancePower.yaml b/test/integration/fixtures/TestEventPoller_InstancePower.yaml index 57cd600c6..9f69302f7 100644 --- a/test/integration/fixtures/TestEventPoller_InstancePower.yaml +++ b/test/integration/fixtures/TestEventPoller_InstancePower.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestEventPoller_Secondary.yaml b/test/integration/fixtures/TestEventPoller_Secondary.yaml index 5f9ad5285..71d425eb1 100644 --- a/test/integration/fixtures/TestEventPoller_Secondary.yaml +++ b/test/integration/fixtures/TestEventPoller_Secondary.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestFirewallDevice_Delete.yaml b/test/integration/fixtures/TestFirewallDevice_Delete.yaml index db5cf4716..1a222eb0b 100644 --- a/test/integration/fixtures/TestFirewallDevice_Delete.yaml +++ b/test/integration/fixtures/TestFirewallDevice_Delete.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestFirewallDevice_Get.yaml b/test/integration/fixtures/TestFirewallDevice_Get.yaml index 6af2438c4..3194304c7 100644 --- a/test/integration/fixtures/TestFirewallDevice_Get.yaml +++ b/test/integration/fixtures/TestFirewallDevice_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestFirewallDevices_List.yaml b/test/integration/fixtures/TestFirewallDevices_List.yaml index e6e291e16..aacc106d9 100644 --- a/test/integration/fixtures/TestFirewallDevices_List.yaml +++ b/test/integration/fixtures/TestFirewallDevices_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": @@ -47,9 +47,9 @@ interactions: "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, + Plans", "Placement Group"], "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"}, @@ -185,18 +185,18 @@ interactions: 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", "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, + "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, + ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Kubernetes", "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, @@ -205,29 +205,30 @@ interactions: 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": + Storage Migrations", "Managed Databases", "Metadata", "Placement Group"], "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": "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, + Firewall", "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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, 1234::5678, 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-east", "label": + 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": @@ -291,7 +292,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:21 GMT + - Tue, 09 Jul 2024 14:03:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -317,7 +318,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-1i81hyqs74e9","root_pass":"cpZ]$y7\\9jdV-tp\u003cq!835!skdi`(bFF;)24]~ENY[Q18L.KY7b4Y9ROK5^Ms67b5","image":"linode/debian9","booted":false}' + body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-94d04ye91yrv","root_pass":"Rmqf7]uxh]\u003e\u0026i2Gj8b7.1T55]0,h:!TIM6s''1#0YABO6y.j-6BWMM7\u003egmA;]m5G2","image":"linode/debian9","booted":false}' form: {} headers: Accept: @@ -329,15 +330,15 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 60622696, "label": "go-test-ins-1i81hyqs74e9", "group": "", "status": + body: '{"id": 61223345, "label": "go-test-ins-94d04ye91yrv", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["45.79.124.202"], "ipv6": "1234::5678/128", + "type": "g6-nanode-1", "ipv4": ["192.46.208.204"], "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": - "64f3e61b2e736f99ca5f41dd36bbc57071b08d42", "has_user_data": false, "placement_group": + "99ce0c19fb02826bdc0388b5a88348a96c3ec62e", "has_user_data": false, "placement_group": null, "lke_cluster_id": null}' headers: Access-Control-Allow-Credentials: @@ -355,13 +356,13 @@ interactions: Connection: - keep-alive Content-Length: - - "789" + - "790" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:22 GMT + - Tue, 09 Jul 2024 14:03:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -385,7 +386,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"linodego-fw-test","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"],"devices":{"linodes":[60622696]}}' + body: '{"label":"linodego-fw-test","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"],"devices":{"linodes":[61223345]}}' form: {} headers: Accept: @@ -397,15 +398,15 @@ interactions: url: https://api.linode.com/v4beta/networking/firewalls method: POST response: - body: '{"id": 600030, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", + body: '{"id": 643938, "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", "version": 1, "fingerprint": "7bcc0f03"}, "tags": - ["testing"], "entities": [{"id": 60622696, "type": "linode", "label": "go-test-ins-1i81hyqs74e9", - "url": "/v4/linode/instances/60622696"}]}' + ["testing"], "entities": [{"id": 61223345, "type": "linode", "label": "go-test-ins-94d04ye91yrv", + "url": "/v4/linode/instances/61223345"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -428,7 +429,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:22 GMT + - Tue, 09 Jul 2024 14:03:15 GMT Pragma: - no-cache Strict-Transport-Security: @@ -461,12 +462,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/networking/firewalls/600030/devices?page=1 + url: https://api.linode.com/v4beta/networking/firewalls/643938/devices?page=1 method: GET response: - body: '{"data": [{"id": 1297444, "created": "2018-01-02T03:04:05", "updated": - "2018-01-02T03:04:05", "entity": {"id": 60622696, "type": "linode", "label": - "go-test-ins-1i81hyqs74e9", "url": "/v4/linode/instances/60622696"}}], "page": + body: '{"data": [{"id": 1369628, "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "entity": {"id": 61223345, "type": "linode", "label": + "go-test-ins-94d04ye91yrv", "url": "/v4/linode/instances/61223345"}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -490,7 +491,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:22 GMT + - Tue, 09 Jul 2024 14:03:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -524,7 +525,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/networking/firewalls/600030 + url: https://api.linode.com/v4beta/networking/firewalls/643938 method: DELETE response: body: '{}' @@ -550,7 +551,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:23 GMT + - Tue, 09 Jul 2024 14:03:16 GMT Pragma: - no-cache Strict-Transport-Security: @@ -583,7 +584,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/60622696 + url: https://api.linode.com/v4beta/linode/instances/61223345 method: DELETE response: body: '{}' @@ -609,7 +610,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 25 Jun 2024 14:30:23 GMT + - Tue, 09 Jul 2024 14:03:16 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestIPAddress_GetFound.yaml b/test/integration/fixtures/TestIPAddress_GetFound.yaml index 5ab750eee..ac8811353 100644 --- a/test/integration/fixtures/TestIPAddress_GetFound.yaml +++ b/test/integration/fixtures/TestIPAddress_GetFound.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddress_Instance_Assign.yaml b/test/integration/fixtures/TestIPAddress_Instance_Assign.yaml index dfcba5e54..a60ff79d2 100644 --- a/test/integration/fixtures/TestIPAddress_Instance_Assign.yaml +++ b/test/integration/fixtures/TestIPAddress_Instance_Assign.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddress_Instance_Delete.yaml b/test/integration/fixtures/TestIPAddress_Instance_Delete.yaml index 5214e6304..805a3129c 100644 --- a/test/integration/fixtures/TestIPAddress_Instance_Delete.yaml +++ b/test/integration/fixtures/TestIPAddress_Instance_Delete.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddress_Instance_Share.yaml b/test/integration/fixtures/TestIPAddress_Instance_Share.yaml index cc77a0de1..a91f3d830 100644 --- a/test/integration/fixtures/TestIPAddress_Instance_Share.yaml +++ b/test/integration/fixtures/TestIPAddress_Instance_Share.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddress_Update.yaml b/test/integration/fixtures/TestIPAddress_Update.yaml index 32f25d22a..1843cad2e 100644 --- a/test/integration/fixtures/TestIPAddress_Update.yaml +++ b/test/integration/fixtures/TestIPAddress_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddresses_Instance_Get.yaml b/test/integration/fixtures/TestIPAddresses_Instance_Get.yaml index 95e81b6d1..62ceb9a32 100644 --- a/test/integration/fixtures/TestIPAddresses_Instance_Get.yaml +++ b/test/integration/fixtures/TestIPAddresses_Instance_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPAddresses_List.yaml b/test/integration/fixtures/TestIPAddresses_List.yaml index b8dae0682..2f6e26837 100644 --- a/test/integration/fixtures/TestIPAddresses_List.yaml +++ b/test/integration/fixtures/TestIPAddresses_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPv6Range_Instance_List.yaml b/test/integration/fixtures/TestIPv6Range_Instance_List.yaml index 7848f25e4..1c950c934 100644 --- a/test/integration/fixtures/TestIPv6Range_Instance_List.yaml +++ b/test/integration/fixtures/TestIPv6Range_Instance_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestIPv6Range_Share.yaml b/test/integration/fixtures/TestIPv6Range_Share.yaml index 5fe4501bf..7e60bc66d 100644 --- a/test/integration/fixtures/TestIPv6Range_Share.yaml +++ b/test/integration/fixtures/TestIPv6Range_Share.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestImage_CloudInit.yaml b/test/integration/fixtures/TestImage_CloudInit.yaml index df309e60e..4f97f08f3 100644 --- a/test/integration/fixtures/TestImage_CloudInit.yaml +++ b/test/integration/fixtures/TestImage_CloudInit.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestImage_CreateUpload.yaml b/test/integration/fixtures/TestImage_CreateUpload.yaml index d7ec64017..2da7ed03e 100644 --- a/test/integration/fixtures/TestImage_CreateUpload.yaml +++ b/test/integration/fixtures/TestImage_CreateUpload.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstanceBackups_List.yaml b/test/integration/fixtures/TestInstanceBackups_List.yaml index 44e11c3ab..652e07564 100644 --- a/test/integration/fixtures/TestInstanceBackups_List.yaml +++ b/test/integration/fixtures/TestInstanceBackups_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstanceFirewalls_List.yaml b/test/integration/fixtures/TestInstanceFirewalls_List.yaml index 2b2581b31..602d5333d 100644 --- a/test/integration/fixtures/TestInstanceFirewalls_List.yaml +++ b/test/integration/fixtures/TestInstanceFirewalls_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Clone.yaml b/test/integration/fixtures/TestInstance_Clone.yaml index bb7a250c5..985074e5a 100644 --- a/test/integration/fixtures/TestInstance_Clone.yaml +++ b/test/integration/fixtures/TestInstance_Clone.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_ConfigInterface_Update.yaml b/test/integration/fixtures/TestInstance_ConfigInterface_Update.yaml index 6d9cd8ce8..7add2feae 100644 --- a/test/integration/fixtures/TestInstance_ConfigInterface_Update.yaml +++ b/test/integration/fixtures/TestInstance_ConfigInterface_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_ConfigInterfaces_AppendDelete.yaml b/test/integration/fixtures/TestInstance_ConfigInterfaces_AppendDelete.yaml index 6d5d180a5..aeae54676 100644 --- a/test/integration/fixtures/TestInstance_ConfigInterfaces_AppendDelete.yaml +++ b/test/integration/fixtures/TestInstance_ConfigInterfaces_AppendDelete.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_ConfigInterfaces_List.yaml b/test/integration/fixtures/TestInstance_ConfigInterfaces_List.yaml index c36f62e9b..fbb48ab0e 100644 --- a/test/integration/fixtures/TestInstance_ConfigInterfaces_List.yaml +++ b/test/integration/fixtures/TestInstance_ConfigInterfaces_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_ConfigInterfaces_Reorder.yaml b/test/integration/fixtures/TestInstance_ConfigInterfaces_Reorder.yaml index 3f1869ddd..b99c6c940 100644 --- a/test/integration/fixtures/TestInstance_ConfigInterfaces_Reorder.yaml +++ b/test/integration/fixtures/TestInstance_ConfigInterfaces_Reorder.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_ConfigInterfaces_Update.yaml b/test/integration/fixtures/TestInstance_ConfigInterfaces_Update.yaml index 6921e0387..042d7cb6c 100644 --- a/test/integration/fixtures/TestInstance_ConfigInterfaces_Update.yaml +++ b/test/integration/fixtures/TestInstance_ConfigInterfaces_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Config_Update.yaml b/test/integration/fixtures/TestInstance_Config_Update.yaml index 8631f6ef4..a5f62bd5a 100644 --- a/test/integration/fixtures/TestInstance_Config_Update.yaml +++ b/test/integration/fixtures/TestInstance_Config_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Configs_List.yaml b/test/integration/fixtures/TestInstance_Configs_List.yaml index 98b579e45..052d69524 100644 --- a/test/integration/fixtures/TestInstance_Configs_List.yaml +++ b/test/integration/fixtures/TestInstance_Configs_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml b/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml index 9d3d412a4..33f5e69c9 100644 --- a/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml +++ b/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml @@ -77,7 +77,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml index 821a55a6a..11692699b 100644 --- a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml index 6a9dd56f7..f72e7cad3 100644 --- a/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml b/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml index 27c637e72..95c449ecb 100644 --- a/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml +++ b/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Disk_Resize.yaml b/test/integration/fixtures/TestInstance_Disk_Resize.yaml index 273705a81..ea8e00d16 100644 --- a/test/integration/fixtures/TestInstance_Disk_Resize.yaml +++ b/test/integration/fixtures/TestInstance_Disk_Resize.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Disks_List.yaml b/test/integration/fixtures/TestInstance_Disks_List.yaml index e9045b28e..1a659a4c4 100644 --- a/test/integration/fixtures/TestInstance_Disks_List.yaml +++ b/test/integration/fixtures/TestInstance_Disks_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Get.yaml b/test/integration/fixtures/TestInstance_Get.yaml index 1d606ea2b..c03acd88e 100644 --- a/test/integration/fixtures/TestInstance_Get.yaml +++ b/test/integration/fixtures/TestInstance_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Rebuild.yaml b/test/integration/fixtures/TestInstance_Rebuild.yaml index d2422a5bd..d200bcc8a 100644 --- a/test/integration/fixtures/TestInstance_Rebuild.yaml +++ b/test/integration/fixtures/TestInstance_Rebuild.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Resize.yaml b/test/integration/fixtures/TestInstance_Resize.yaml index f2c475744..f72572d0e 100644 --- a/test/integration/fixtures/TestInstance_Resize.yaml +++ b/test/integration/fixtures/TestInstance_Resize.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Volumes_List.yaml b/test/integration/fixtures/TestInstance_Volumes_List.yaml index ddb8aa52d..0e6f9e91b 100644 --- a/test/integration/fixtures/TestInstance_Volumes_List.yaml +++ b/test/integration/fixtures/TestInstance_Volumes_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml b/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml index 145d666ca..1ea2627fc 100644 --- a/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml +++ b/test/integration/fixtures/TestInstance_Volumes_List_Instance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_withMetadata.yaml b/test/integration/fixtures/TestInstance_withMetadata.yaml index edbc66ca6..2e1c2c496 100644 --- a/test/integration/fixtures/TestInstance_withMetadata.yaml +++ b/test/integration/fixtures/TestInstance_withMetadata.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstance_withPG.yaml b/test/integration/fixtures/TestInstance_withPG.yaml index 62b69821c..0444cc167 100644 --- a/test/integration/fixtures/TestInstance_withPG.yaml +++ b/test/integration/fixtures/TestInstance_withPG.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestInstances_List.yaml b/test/integration/fixtures/TestInstances_List.yaml index df25e3adf..21f6c62bd 100644 --- a/test/integration/fixtures/TestInstances_List.yaml +++ b/test/integration/fixtures/TestInstances_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml index 96b4a02bc..c04cd147a 100644 --- a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml +++ b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml index 4e2ea82b1..1a8e2150b 100644 --- a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_GetFound.yaml b/test/integration/fixtures/TestLKECluster_GetFound.yaml index f0abcb535..0293213c0 100644 --- a/test/integration/fixtures/TestLKECluster_GetFound.yaml +++ b/test/integration/fixtures/TestLKECluster_GetFound.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml index f4ecc6049..2d2e17a49 100644 --- a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml index 15ff5b339..a2f12441f 100644 --- a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml +++ b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_Update.yaml b/test/integration/fixtures/TestLKECluster_Update.yaml index b61053636..eec3ea481 100644 --- a/test/integration/fixtures/TestLKECluster_Update.yaml +++ b/test/integration/fixtures/TestLKECluster_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml index e3e6c0af3..5d154691d 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKECluster_withACL.yaml b/test/integration/fixtures/TestLKECluster_withACL.yaml index 24d2c2a83..9c022cbd4 100644 --- a/test/integration/fixtures/TestLKECluster_withACL.yaml +++ b/test/integration/fixtures/TestLKECluster_withACL.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestLKEClusters_List.yaml b/test/integration/fixtures/TestLKEClusters_List.yaml index 10efced1e..3382443c5 100644 --- a/test/integration/fixtures/TestLKEClusters_List.yaml +++ b/test/integration/fixtures/TestLKEClusters_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml index b4d380565..ad3d7e393 100644 --- a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml +++ b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKENodePool_GetFound.yaml b/test/integration/fixtures/TestLKENodePool_GetFound.yaml index bec222748..156e8d6f7 100644 --- a/test/integration/fixtures/TestLKENodePool_GetFound.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetFound.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKENodePool_Update.yaml b/test/integration/fixtures/TestLKENodePool_Update.yaml index 5eadb3537..2b9bdd081 100644 --- a/test/integration/fixtures/TestLKENodePool_Update.yaml +++ b/test/integration/fixtures/TestLKENodePool_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestLKENodePools_List.yaml b/test/integration/fixtures/TestLKENodePools_List.yaml index a9e31d6ed..5b6fa522f 100644 --- a/test/integration/fixtures/TestLKENodePools_List.yaml +++ b/test/integration/fixtures/TestLKENodePools_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", diff --git a/test/integration/fixtures/TestNodeBalancerConfig_Create.yaml b/test/integration/fixtures/TestNodeBalancerConfig_Create.yaml index bb3f0ceea..c66666cca 100644 --- a/test/integration/fixtures/TestNodeBalancerConfig_Create.yaml +++ b/test/integration/fixtures/TestNodeBalancerConfig_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerConfig_Get.yaml b/test/integration/fixtures/TestNodeBalancerConfig_Get.yaml index ecf9c4a63..4d370816c 100644 --- a/test/integration/fixtures/TestNodeBalancerConfig_Get.yaml +++ b/test/integration/fixtures/TestNodeBalancerConfig_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerConfig_Update.yaml b/test/integration/fixtures/TestNodeBalancerConfig_Update.yaml index 0669ff240..4e1c16383 100644 --- a/test/integration/fixtures/TestNodeBalancerConfig_Update.yaml +++ b/test/integration/fixtures/TestNodeBalancerConfig_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerConfigs_List.yaml b/test/integration/fixtures/TestNodeBalancerConfigs_List.yaml index 8a04c8110..6d9cf2ab8 100644 --- a/test/integration/fixtures/TestNodeBalancerConfigs_List.yaml +++ b/test/integration/fixtures/TestNodeBalancerConfigs_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerConfigs_ListMultiplePages.yaml b/test/integration/fixtures/TestNodeBalancerConfigs_ListMultiplePages.yaml index afd958007..c491270f2 100644 --- a/test/integration/fixtures/TestNodeBalancerConfigs_ListMultiplePages.yaml +++ b/test/integration/fixtures/TestNodeBalancerConfigs_ListMultiplePages.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerFirewalls_List.yaml b/test/integration/fixtures/TestNodeBalancerFirewalls_List.yaml index edcd5baff..8a1966c14 100644 --- a/test/integration/fixtures/TestNodeBalancerFirewalls_List.yaml +++ b/test/integration/fixtures/TestNodeBalancerFirewalls_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_Create.yaml b/test/integration/fixtures/TestNodeBalancerNode_Create.yaml index 4ecf11ec6..219984465 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_Create.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_CreateInstance.yaml b/test/integration/fixtures/TestNodeBalancerNode_CreateInstance.yaml index fdaeac524..dbd029776 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_CreateInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_CreateInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_Get.yaml b/test/integration/fixtures/TestNodeBalancerNode_Get.yaml index c5098b15b..00f7cf2ef 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_Get.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_GetInstance.yaml b/test/integration/fixtures/TestNodeBalancerNode_GetInstance.yaml index 5e960de4c..8c5fc9681 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_GetInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_GetInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_Update.yaml b/test/integration/fixtures/TestNodeBalancerNode_Update.yaml index 3a070a2d6..69c18bd52 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_Update.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNode_UpdateInstance.yaml b/test/integration/fixtures/TestNodeBalancerNode_UpdateInstance.yaml index ff372a5b5..ec03e9d03 100644 --- a/test/integration/fixtures/TestNodeBalancerNode_UpdateInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancerNode_UpdateInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNodes_List.yaml b/test/integration/fixtures/TestNodeBalancerNodes_List.yaml index 70e9595fe..fddb92e50 100644 --- a/test/integration/fixtures/TestNodeBalancerNodes_List.yaml +++ b/test/integration/fixtures/TestNodeBalancerNodes_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNodes_ListInstance.yaml b/test/integration/fixtures/TestNodeBalancerNodes_ListInstance.yaml index b63221f3a..39c1a4915 100644 --- a/test/integration/fixtures/TestNodeBalancerNodes_ListInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancerNodes_ListInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePages.yaml b/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePages.yaml index 8c773c2d4..58dcc60bc 100644 --- a/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePages.yaml +++ b/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePages.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePagesInstance.yaml b/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePagesInstance.yaml index d57864206..441fcb498 100644 --- a/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePagesInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancerNodes_ListMultiplePagesInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancerStats_Get.yaml b/test/integration/fixtures/TestNodeBalancerStats_Get.yaml index 75e3d68a4..2937ae4d1 100644 --- a/test/integration/fixtures/TestNodeBalancerStats_Get.yaml +++ b/test/integration/fixtures/TestNodeBalancerStats_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancer_Create.yaml b/test/integration/fixtures/TestNodeBalancer_Create.yaml index d4e536b4b..8d74c89b9 100644 --- a/test/integration/fixtures/TestNodeBalancer_Create.yaml +++ b/test/integration/fixtures/TestNodeBalancer_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancer_Get.yaml b/test/integration/fixtures/TestNodeBalancer_Get.yaml index 0e3032db2..141449f3e 100644 --- a/test/integration/fixtures/TestNodeBalancer_Get.yaml +++ b/test/integration/fixtures/TestNodeBalancer_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancer_Rebuild.yaml b/test/integration/fixtures/TestNodeBalancer_Rebuild.yaml index b8bea1d8d..2ef209af3 100644 --- a/test/integration/fixtures/TestNodeBalancer_Rebuild.yaml +++ b/test/integration/fixtures/TestNodeBalancer_Rebuild.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancer_RebuildInstance.yaml b/test/integration/fixtures/TestNodeBalancer_RebuildInstance.yaml index d9d799c84..f67d42423 100644 --- a/test/integration/fixtures/TestNodeBalancer_RebuildInstance.yaml +++ b/test/integration/fixtures/TestNodeBalancer_RebuildInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancer_Update.yaml b/test/integration/fixtures/TestNodeBalancer_Update.yaml index 1cc8dfe3b..ee863cdbd 100644 --- a/test/integration/fixtures/TestNodeBalancer_Update.yaml +++ b/test/integration/fixtures/TestNodeBalancer_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestNodeBalancers_List.yaml b/test/integration/fixtures/TestNodeBalancers_List.yaml index 08f714fe4..b848c265e 100644 --- a/test/integration/fixtures/TestNodeBalancers_List.yaml +++ b/test/integration/fixtures/TestNodeBalancers_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestPlacementGroup_assignment.yaml b/test/integration/fixtures/TestPlacementGroup_assignment.yaml index 449cbc77a..c6774dcf8 100644 --- a/test/integration/fixtures/TestPlacementGroup_assignment.yaml +++ b/test/integration/fixtures/TestPlacementGroup_assignment.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", diff --git a/test/integration/fixtures/TestPlacementGroup_basic.yaml b/test/integration/fixtures/TestPlacementGroup_basic.yaml index 28a50ca90..b47a1f8c8 100644 --- a/test/integration/fixtures/TestPlacementGroup_basic.yaml +++ b/test/integration/fixtures/TestPlacementGroup_basic.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", diff --git a/test/integration/fixtures/TestRegionsAvailability_List.yaml b/test/integration/fixtures/TestRegionsAvailability_List.yaml index 6dd605947..5ad2fa690 100644 --- a/test/integration/fixtures/TestRegionsAvailability_List.yaml +++ b/test/integration/fixtures/TestRegionsAvailability_List.yaml @@ -121,7 +121,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:05:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -268,7 +268,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:05:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -411,7 +411,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:05:28 GMT Pragma: - no-cache Strict-Transport-Security: @@ -554,7 +554,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:05:29 GMT Pragma: - no-cache Strict-Transport-Security: @@ -685,7 +685,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:05:29 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestRegions_List.yaml b/test/integration/fixtures/TestRegions_List.yaml index 28af7e4b3..6ed40f91a 100644 --- a/test/integration/fixtures/TestRegions_List.yaml +++ b/test/integration/fixtures/TestRegions_List.yaml @@ -106,10 +106,10 @@ interactions: {"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", "Placement Group"], - "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, + "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": @@ -231,48 +231,47 @@ interactions: "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", "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, + "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": "eu-west", "label": "London, UK", "country": - "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "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"}, "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", "Placement Group"], "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, + 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"}, "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"}], "page": 1, "pages": - 1, "results": 27}' + 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 +292,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:44 GMT + - Tue, 09 Jul 2024 14:03:54 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestRegions_pgLimits.yaml b/test/integration/fixtures/TestRegions_pgLimits.yaml index e237519ae..fe2e82b81 100644 --- a/test/integration/fixtures/TestRegions_pgLimits.yaml +++ b/test/integration/fixtures/TestRegions_pgLimits.yaml @@ -106,10 +106,10 @@ interactions: {"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", "Placement Group"], - "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, + "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": @@ -231,48 +231,47 @@ interactions: "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", "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, + "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": "eu-west", "label": "London, UK", "country": - "gb", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "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"}, "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", "Placement Group"], "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, + 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"}, "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"}], "page": 1, "pages": - 1, "results": 27}' + 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 +292,7 @@ interactions: Content-Type: - application/json Expires: - - Tue, 09 Jul 2024 13:37:45 GMT + - Tue, 09 Jul 2024 14:04:35 GMT Pragma: - no-cache Strict-Transport-Security: diff --git a/test/integration/fixtures/TestTag_Create.yaml b/test/integration/fixtures/TestTag_Create.yaml index ddb15cbe4..439f749d3 100644 --- a/test/integration/fixtures/TestTag_Create.yaml +++ b/test/integration/fixtures/TestTag_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVLANs_GetIPAMAddress.yaml b/test/integration/fixtures/TestVLANs_GetIPAMAddress.yaml index 6cc529f86..fec30f434 100644 --- a/test/integration/fixtures/TestVLANs_GetIPAMAddress.yaml +++ b/test/integration/fixtures/TestVLANs_GetIPAMAddress.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVLANs_List.yaml b/test/integration/fixtures/TestVLANs_List.yaml index 46bc24cb0..11f361bad 100644 --- a/test/integration/fixtures/TestVLANs_List.yaml +++ b/test/integration/fixtures/TestVLANs_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_CreateGet.yaml b/test/integration/fixtures/TestVPC_CreateGet.yaml index 0fc5c1181..31c677130 100644 --- a/test/integration/fixtures/TestVPC_CreateGet.yaml +++ b/test/integration/fixtures/TestVPC_CreateGet.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Create_Invalid.yaml b/test/integration/fixtures/TestVPC_Create_Invalid.yaml index 53b1fa067..d4420583b 100644 --- a/test/integration/fixtures/TestVPC_Create_Invalid.yaml +++ b/test/integration/fixtures/TestVPC_Create_Invalid.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_List.yaml b/test/integration/fixtures/TestVPC_List.yaml index de1d25227..b3b81bd5b 100644 --- a/test/integration/fixtures/TestVPC_List.yaml +++ b/test/integration/fixtures/TestVPC_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_ListAllIPAddresses.yaml b/test/integration/fixtures/TestVPC_ListAllIPAddresses.yaml index 630b40ec3..ca1d4813f 100644 --- a/test/integration/fixtures/TestVPC_ListAllIPAddresses.yaml +++ b/test/integration/fixtures/TestVPC_ListAllIPAddresses.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_ListIPAddresses.yaml b/test/integration/fixtures/TestVPC_ListIPAddresses.yaml index df8981c17..de167db1d 100644 --- a/test/integration/fixtures/TestVPC_ListIPAddresses.yaml +++ b/test/integration/fixtures/TestVPC_ListIPAddresses.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_Create.yaml b/test/integration/fixtures/TestVPC_Subnet_Create.yaml index 33d4763d7..135c6a727 100644 --- a/test/integration/fixtures/TestVPC_Subnet_Create.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_Create_Invalid_data.yaml b/test/integration/fixtures/TestVPC_Subnet_Create_Invalid_data.yaml index 84c23d0e6..a6da993ad 100644 --- a/test/integration/fixtures/TestVPC_Subnet_Create_Invalid_data.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_Create_Invalid_data.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_List.yaml b/test/integration/fixtures/TestVPC_Subnet_List.yaml index 0fe517692..18ea91332 100644 --- a/test/integration/fixtures/TestVPC_Subnet_List.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_Update.yaml b/test/integration/fixtures/TestVPC_Subnet_Update.yaml index 3e911a4be..500136b0f 100644 --- a/test/integration/fixtures/TestVPC_Subnet_Update.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_Update_Invalid_Label.yaml b/test/integration/fixtures/TestVPC_Subnet_Update_Invalid_Label.yaml index f6dee15ed..68bb64e23 100644 --- a/test/integration/fixtures/TestVPC_Subnet_Update_Invalid_Label.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_Update_Invalid_Label.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Subnet_WithInstance.yaml b/test/integration/fixtures/TestVPC_Subnet_WithInstance.yaml index c0d45ee43..6d5e8e116 100644 --- a/test/integration/fixtures/TestVPC_Subnet_WithInstance.yaml +++ b/test/integration/fixtures/TestVPC_Subnet_WithInstance.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Update.yaml b/test/integration/fixtures/TestVPC_Update.yaml index 4b9ef0da2..b92f71d0c 100644 --- a/test/integration/fixtures/TestVPC_Update.yaml +++ b/test/integration/fixtures/TestVPC_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVPC_Update_Invalid.yaml b/test/integration/fixtures/TestVPC_Update_Invalid.yaml index 84362c373..99576334f 100644 --- a/test/integration/fixtures/TestVPC_Update_Invalid.yaml +++ b/test/integration/fixtures/TestVPC_Update_Invalid.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_Create.yaml b/test/integration/fixtures/TestVolume_Create.yaml index d20e53798..65d2f7b04 100644 --- a/test/integration/fixtures/TestVolume_Create.yaml +++ b/test/integration/fixtures/TestVolume_Create.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_Get.yaml b/test/integration/fixtures/TestVolume_Get.yaml index 32db2798c..a88920fa4 100644 --- a/test/integration/fixtures/TestVolume_Get.yaml +++ b/test/integration/fixtures/TestVolume_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_List.yaml b/test/integration/fixtures/TestVolume_List.yaml index 2a229a734..35e00935d 100644 --- a/test/integration/fixtures/TestVolume_List.yaml +++ b/test/integration/fixtures/TestVolume_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_Resize.yaml b/test/integration/fixtures/TestVolume_Resize.yaml index daa979359..44d77e1a0 100644 --- a/test/integration/fixtures/TestVolume_Resize.yaml +++ b/test/integration/fixtures/TestVolume_Resize.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_Update.yaml b/test/integration/fixtures/TestVolume_Update.yaml index f99801cd7..29a87d1b8 100644 --- a/test/integration/fixtures/TestVolume_Update.yaml +++ b/test/integration/fixtures/TestVolume_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_WaitForLinodeID_linode.yaml b/test/integration/fixtures/TestVolume_WaitForLinodeID_linode.yaml index 5c5116e53..e61e350d4 100644 --- a/test/integration/fixtures/TestVolume_WaitForLinodeID_linode.yaml +++ b/test/integration/fixtures/TestVolume_WaitForLinodeID_linode.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_WaitForLinodeID_nil.yaml b/test/integration/fixtures/TestVolume_WaitForLinodeID_nil.yaml index 307effa2f..1ac5e1b71 100644 --- a/test/integration/fixtures/TestVolume_WaitForLinodeID_nil.yaml +++ b/test/integration/fixtures/TestVolume_WaitForLinodeID_nil.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestVolume_WaitForLinodeID_volume.yaml b/test/integration/fixtures/TestVolume_WaitForLinodeID_volume.yaml index 7651fbd2b..1c0795522 100644 --- a/test/integration/fixtures/TestVolume_WaitForLinodeID_volume.yaml +++ b/test/integration/fixtures/TestVolume_WaitForLinodeID_volume.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": diff --git a/test/integration/fixtures/TestWaitForResourceFree.yaml b/test/integration/fixtures/TestWaitForResourceFree.yaml index 0dddadef0..c14a0fe46 100644 --- a/test/integration/fixtures/TestWaitForResourceFree.yaml +++ b/test/integration/fixtures/TestWaitForResourceFree.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": From 47e2ccb6b78844887fe952729d78515a39df4800 Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Tue, 9 Jul 2024 12:14:26 -0400 Subject: [PATCH 3/4] Reran new fixtures --- .../TestObjectStorageBucket_Regional.yaml | 371 ++++++++++++---- ...estObjectStorageKeys_Regional_Limited.yaml | 403 +++++++++++++----- test/integration/object_storage_keys_test.go | 11 +- 3 files changed, 605 insertions(+), 180 deletions(-) diff --git a/test/integration/fixtures/TestObjectStorageBucket_Regional.yaml b/test/integration/fixtures/TestObjectStorageBucket_Regional.yaml index 4345d8748..3c632d9c2 100644 --- a/test/integration/fixtures/TestObjectStorageBucket_Regional.yaml +++ b/test/integration/fixtures/TestObjectStorageBucket_Regional.yaml @@ -11,68 +11,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 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", "Placement Group"], "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": "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"}, - "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": "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", - "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"}, - "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"}, - "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"}, + "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": "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"}, + 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", "Placement Group"], + "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", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 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", "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"}, "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", "Placement Group"], "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" @@ -85,23 +285,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-Length: - - "7156" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:09:34 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: @@ -119,7 +319,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","label":"go-bucket-test-def"}' + body: '{"region":"us-iad","label":"go-bucket-test-def"}' form: {} headers: Accept: @@ -131,9 +331,9 @@ interactions: url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: - body: '{"hostname": "go-bucket-test-def.alpha.linodeobjects.com", "label": "go-bucket-test-def", - "created": "2018-01-02T03:04:05", "region": "us-east", "cluster": "alpha", "size": - 0, "objects": 0}' + body: '{"hostname": "go-bucket-test-def.us-iad-1.linodeobjects.com", "label": + "go-bucket-test-def", "created": "2018-01-02T03:04:05", "region": "us-iad", + "cluster": "us-iad-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" @@ -146,17 +346,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: - - "189" + - "194" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:09:36 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -187,12 +389,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/object-storage/buckets/us-east/go-bucket-test-def + url: https://api.linode.com/v4beta/object-storage/buckets/us-iad/go-bucket-test-def method: GET response: - body: '{"hostname": "go-bucket-test-def.alpha.linodeobjects.com", "label": "go-bucket-test-def", - "created": "2018-01-02T03:04:05", "region": "us-east", "cluster": "alpha", "size": - 0, "objects": 0}' + body: '{"hostname": "go-bucket-test-def.us-iad-1.linodeobjects.com", "label": + "go-bucket-test-def", "created": "2018-01-02T03:04:05", "region": "us-iad", + "cluster": "us-iad-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" @@ -205,18 +407,19 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - - private, max-age=60, s-maxage=60 + - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - - "189" + - "194" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:09:37 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -248,7 +451,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/object-storage/buckets/alpha/go-bucket-test-def + url: https://api.linode.com/v4beta/object-storage/buckets/us-iad-1/go-bucket-test-def method: DELETE response: body: '{}' @@ -264,7 +467,7 @@ 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: @@ -273,8 +476,10 @@ interactions: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:09:41 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: diff --git a/test/integration/fixtures/TestObjectStorageKeys_Regional_Limited.yaml b/test/integration/fixtures/TestObjectStorageKeys_Regional_Limited.yaml index 83a685549..91d72a4d6 100644 --- a/test/integration/fixtures/TestObjectStorageKeys_Regional_Limited.yaml +++ b/test/integration/fixtures/TestObjectStorageKeys_Regional_Limited.yaml @@ -11,68 +11,268 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 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", "Placement Group"], "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": "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"}, - "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": "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", - "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"}, - "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"}, - "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"}, + "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": "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"}, + 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", "Placement Group"], + "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", + "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", "Kubernetes", "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", "Placement Group"], "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", + "Placement Group"], "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", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases", "Metadata", "Placement + Group"], "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", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 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", "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"}, "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", "Placement Group"], "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" @@ -85,23 +285,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-Length: - - "7156" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:33 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: @@ -119,7 +319,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","label":"go-bucket-test-def"}' + body: '{"region":"us-iad","label":"go-bucket-test-def"}' form: {} headers: Accept: @@ -131,9 +331,9 @@ interactions: url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: - body: '{"hostname": "go-bucket-test-def.alpha.linodeobjects.com", "label": "go-bucket-test-def", - "created": "2018-01-02T03:04:05", "region": "us-east", "cluster": "alpha", "size": - 0, "objects": 0}' + body: '{"hostname": "go-bucket-test-def.us-iad-1.linodeobjects.com", "label": + "go-bucket-test-def", "created": "2018-01-02T03:04:05", "region": "us-iad", + "cluster": "us-iad-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" @@ -146,17 +346,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: - - "189" + - "194" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:35 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -178,7 +380,7 @@ interactions: code: 200 duration: "" - request: - body: '{"label":"go-test-def","bucket_access":[{"region":"us-east","bucket_name":"go-bucket-test-def","permissions":"read_only"}],"regions":["us-east"]}' + body: '{"label":"go-test-def","bucket_access":[{"region":"us-iad","bucket_name":"go-bucket-test-def","permissions":"read_only"}],"regions":["us-east"]}' form: {} headers: Accept: @@ -190,10 +392,11 @@ interactions: url: https://api.linode.com/v4beta/object-storage/keys method: POST response: - body: '{"id": 90889, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": - "[SANITIZED]", "limited": true, "bucket_access": [{"cluster": "alpha", "bucket_name": - "go-bucket-test-def", "permissions": "read_only", "region": "us-east"}], "regions": - [{"id": "us-east", "s3_endpoint": "alpha.linodeobjects.com"}]}' + body: '{"id": 1168077, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": + "[SANITIZED]", "limited": true, "bucket_access": [{"cluster": "us-iad-1", "bucket_name": + "go-bucket-test-def", "permissions": "read_only", "region": "us-iad"}], "regions": + [{"id": "us-iad", "s3_endpoint": "us-iad-1.linodeobjects.com"}, {"id": "us-east", + "s3_endpoint": "us-east-1.linodeobjects.com"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -206,17 +409,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: - - "351" + - "422" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:38 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -247,13 +452,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/object-storage/keys/90889 + url: https://api.linode.com/v4beta/object-storage/keys/1168077 method: PUT response: - body: '{"id": 90889, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": - "[REDACTED]", "limited": true, "bucket_access": [{"cluster": "alpha", "bucket_name": - "go-bucket-test-def", "permissions": "read_only", "region": "us-east"}], "regions": - [{"id": "us-east", "s3_endpoint": "alpha.linodeobjects.com"}]}' + body: '{"id": 1168077, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": + "[REDACTED]", "limited": true, "bucket_access": [{"cluster": "us-iad-1", "bucket_name": + "go-bucket-test-def", "permissions": "read_only", "region": "us-iad"}], "regions": + [{"id": "us-east", "s3_endpoint": "us-east-1.linodeobjects.com"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -266,17 +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: - - "321" + - "329" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:39 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -307,7 +514,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/object-storage/keys/90889 + url: https://api.linode.com/v4beta/object-storage/keys/1168077 method: DELETE response: body: '{}' @@ -323,7 +530,7 @@ 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: @@ -332,8 +539,10 @@ interactions: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:40 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: @@ -364,7 +573,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/object-storage/buckets/alpha/go-bucket-test-def + url: https://api.linode.com/v4beta/object-storage/buckets/us-iad-1/go-bucket-test-def method: DELETE response: body: '{}' @@ -380,7 +589,7 @@ 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: @@ -389,8 +598,10 @@ interactions: - default-src 'none' Content-Type: - application/json - Server: - - nginx + Expires: + - Tue, 09 Jul 2024 16:42:43 GMT + Pragma: + - no-cache Strict-Transport-Security: - max-age=31536000 Vary: diff --git a/test/integration/object_storage_keys_test.go b/test/integration/object_storage_keys_test.go index d89af4f0b..078349821 100644 --- a/test/integration/object_storage_keys_test.go +++ b/test/integration/object_storage_keys_test.go @@ -187,7 +187,16 @@ func TestObjectStorageKeys_Regional_Limited(t *testing.T) { t.Errorf("Regional limited Object Storage key returned access, %v, %v", key.Limited, key.BucketAccess) } - if len(key.Regions) == 0 || key.Regions[0].ID != initialRegion { + containsRegion := func(regions []ObjectStorageKeyRegion, id string) bool { + for _, region := range regions { + if region.ID == id { + return true + } + } + return false + } + + if !containsRegion(key.Regions, initialRegion) { t.Errorf("Unexpected key regions, expected regions: %v, actual regions: %v", createOpts.Regions, key.Regions) } From a2374ca2dd47fa77d9b1ab3fe51bd07aaffe0767 Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Fri, 19 Jul 2024 10:18:46 -0400 Subject: [PATCH 4/4] Removed listHelper --- paged_response_structs.go | 8 +++++--- pagination.go | 36 ------------------------------------ 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/paged_response_structs.go b/paged_response_structs.go index c7f8488e6..5c20ed26b 100644 --- a/paged_response_structs.go +++ b/paged_response_structs.go @@ -140,9 +140,11 @@ type RegionsPagedResponse legacyPagedResponse[Region] type SSHKeysPagedResponse legacyPagedResponse[SSHKey] // Deprecated: TokensPagedResponse exists for historical compatibility and should not be used. -type TokensPagedResponse legacyPagedResponse[Token] -// Deprecated: RegionsAvailabilityPagedResponse exists for historical compatibility and should not be used. -type RegionsAvailabilityPagedResponse legacyPagedResponse[RegionAvailability] +type ( + TokensPagedResponse legacyPagedResponse[Token] + // Deprecated: RegionsAvailabilityPagedResponse exists for historical compatibility and should not be used. + RegionsAvailabilityPagedResponse legacyPagedResponse[RegionAvailability] +) // Deprecated: StackscriptsPagedResponse exists for historical compatibility and should not be used. type StackscriptsPagedResponse legacyPagedResponse[Stackscript] diff --git a/pagination.go b/pagination.go index a4b49605b..3c1c5b602 100644 --- a/pagination.go +++ b/pagination.go @@ -5,7 +5,6 @@ package linodego */ import ( - "context" "crypto/sha256" "encoding/hex" "encoding/json" @@ -91,41 +90,6 @@ type PagedResponse interface { castResult(*resty.Request, string) (int, int, error) } -// listHelper abstracts fetching and pagination for GET endpoints that -// do not require any Ids (top level endpoints). -// When opts (or opts.Page) is nil, all pages will be fetched and -// returned in a single (endpoint-specific)PagedResponse -// opts.results and opts.pages will be updated from the API response -func (c *Client) listHelper(ctx context.Context, pager PagedResponse, opts *ListOptions, ids ...any) error { - req := c.R(ctx) - if err := applyListOptionsToRequest(opts, req); err != nil { - return err - } - - pages, results, err := pager.castResult(req, pager.endpoint(ids...)) - if err != nil { - return err - } - if opts == nil { - opts = &ListOptions{PageOptions: &PageOptions{Page: 0}} - } - if opts.PageOptions == nil { - opts.PageOptions = &PageOptions{Page: 0} - } - if opts.Page == 0 { - for page := 2; page <= pages; page++ { - opts.Page = page - if err := c.listHelper(ctx, pager, opts, ids...); err != nil { - return err - } - } - } - - opts.Results = results - opts.Pages = pages - return nil -} - // flattenQueryStruct flattens a structure into a Resty-compatible query param map. // Fields are mapped using the `query` struct tag. func flattenQueryStruct(val any) (map[string]string, error) {