Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 5.37 KB

PutDatabasesPostgreSqlInstanceRequest.md

File metadata and controls

134 lines (73 loc) · 5.37 KB

PutDatabasesPostgreSqlInstanceRequest

Properties

Name Type Description Notes
AllowList Pointer to []string A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. By default, this is an empty array (`[]`), which blocks all connections (both public and private) to the Managed Database. If `0.0.0.0/0` is a value in this list, then all IP addresses can access the Managed Database. [optional]
Label Pointer to string A unique, user-defined string referring to the Managed Database. [optional]
Type Pointer to string Request re-sizing of your cluster to a Linode Type with more disk space. For example, you could request a Linode Type that uses a higher plan. - Needs to be a Linode Type with more disk space than your current Linode. - Resizing to a larger Linode Type can accrue additional cost. Review the `price` output from the List types operation for more information. - You can't update the `allow_list` and set a new `type` in the same request. - Any active updates to your cluster need to complete before you can request a resize. The reverse is also true: An active resizing needs to complete before you can perform any other update. [optional]
Updates Pointer to GetDatabasesInstances200ResponseAllOfDataInnerUpdates [optional]

Methods

NewPutDatabasesPostgreSqlInstanceRequest

func NewPutDatabasesPostgreSqlInstanceRequest() *PutDatabasesPostgreSqlInstanceRequest

NewPutDatabasesPostgreSqlInstanceRequest instantiates a new PutDatabasesPostgreSqlInstanceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPutDatabasesPostgreSqlInstanceRequestWithDefaults

func NewPutDatabasesPostgreSqlInstanceRequestWithDefaults() *PutDatabasesPostgreSqlInstanceRequest

NewPutDatabasesPostgreSqlInstanceRequestWithDefaults instantiates a new PutDatabasesPostgreSqlInstanceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAllowList

func (o *PutDatabasesPostgreSqlInstanceRequest) GetAllowList() []string

GetAllowList returns the AllowList field if non-nil, zero value otherwise.

GetAllowListOk

func (o *PutDatabasesPostgreSqlInstanceRequest) GetAllowListOk() (*[]string, bool)

GetAllowListOk returns a tuple with the AllowList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowList

func (o *PutDatabasesPostgreSqlInstanceRequest) SetAllowList(v []string)

SetAllowList sets AllowList field to given value.

HasAllowList

func (o *PutDatabasesPostgreSqlInstanceRequest) HasAllowList() bool

HasAllowList returns a boolean if a field has been set.

GetLabel

func (o *PutDatabasesPostgreSqlInstanceRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *PutDatabasesPostgreSqlInstanceRequest) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabel

func (o *PutDatabasesPostgreSqlInstanceRequest) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *PutDatabasesPostgreSqlInstanceRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetType

func (o *PutDatabasesPostgreSqlInstanceRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *PutDatabasesPostgreSqlInstanceRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *PutDatabasesPostgreSqlInstanceRequest) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *PutDatabasesPostgreSqlInstanceRequest) HasType() bool

HasType returns a boolean if a field has been set.

GetUpdates

func (o *PutDatabasesPostgreSqlInstanceRequest) GetUpdates() GetDatabasesInstances200ResponseAllOfDataInnerUpdates

GetUpdates returns the Updates field if non-nil, zero value otherwise.

GetUpdatesOk

func (o *PutDatabasesPostgreSqlInstanceRequest) GetUpdatesOk() (*GetDatabasesInstances200ResponseAllOfDataInnerUpdates, bool)

GetUpdatesOk returns a tuple with the Updates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdates

func (o *PutDatabasesPostgreSqlInstanceRequest) SetUpdates(v GetDatabasesInstances200ResponseAllOfDataInnerUpdates)

SetUpdates sets Updates field to given value.

HasUpdates

func (o *PutDatabasesPostgreSqlInstanceRequest) HasUpdates() bool

HasUpdates returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]