Skip to content

Latest commit

 

History

History
270 lines (145 loc) · 9.86 KB

PostDatabasesPostgreSqlInstancesRequest.md

File metadata and controls

270 lines (145 loc) · 9.86 KB

PostDatabasesPostgreSqlInstancesRequest

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]
ClusterSize Pointer to int32 The number of Linode Instance nodes deployed to the Managed Database. Choosing 3 nodes creates a high availability cluster consisting of 1 primary node and 2 replica nodes. [optional] [default to 1]
Encrypted Pointer to bool Whether the Managed Databases is encrypted. [optional] [default to false]
Engine string The Managed Database engine in engine/version format.
Label string A unique, user-defined string referring to the Managed Database.
Region string The Region ID for the Managed Database.
ReplicationCommitType Pointer to string The synchronization level of the replicating server. Must be `local` or `off` for the `asynch` replication type. [optional] [default to "local"]
ReplicationType Pointer to string The replication method used for the Managed Database. Defaults to `none` for a single cluster and `asynch` for a high availability cluster. Must be `none` for a single node cluster. Must be `asynch` for a high availability cluster. [optional]
SslConnection Pointer to bool Whether to require SSL credentials to establish a connection to the Managed Database. Run the Get managed PostgreSQL database credentials operation for access information. [optional] [default to true]
Type string The Linode Instance type used by the Managed Database for its nodes.

Methods

NewPostDatabasesPostgreSqlInstancesRequest

func NewPostDatabasesPostgreSqlInstancesRequest(engine string, label string, region string, type_ string, ) *PostDatabasesPostgreSqlInstancesRequest

NewPostDatabasesPostgreSqlInstancesRequest instantiates a new PostDatabasesPostgreSqlInstancesRequest 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

NewPostDatabasesPostgreSqlInstancesRequestWithDefaults

func NewPostDatabasesPostgreSqlInstancesRequestWithDefaults() *PostDatabasesPostgreSqlInstancesRequest

NewPostDatabasesPostgreSqlInstancesRequestWithDefaults instantiates a new PostDatabasesPostgreSqlInstancesRequest 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 *PostDatabasesPostgreSqlInstancesRequest) GetAllowList() []string

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

GetAllowListOk

func (o *PostDatabasesPostgreSqlInstancesRequest) 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 *PostDatabasesPostgreSqlInstancesRequest) SetAllowList(v []string)

SetAllowList sets AllowList field to given value.

HasAllowList

func (o *PostDatabasesPostgreSqlInstancesRequest) HasAllowList() bool

HasAllowList returns a boolean if a field has been set.

GetClusterSize

func (o *PostDatabasesPostgreSqlInstancesRequest) GetClusterSize() int32

GetClusterSize returns the ClusterSize field if non-nil, zero value otherwise.

GetClusterSizeOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetClusterSizeOk() (*int32, bool)

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

SetClusterSize

func (o *PostDatabasesPostgreSqlInstancesRequest) SetClusterSize(v int32)

SetClusterSize sets ClusterSize field to given value.

HasClusterSize

func (o *PostDatabasesPostgreSqlInstancesRequest) HasClusterSize() bool

HasClusterSize returns a boolean if a field has been set.

GetEncrypted

func (o *PostDatabasesPostgreSqlInstancesRequest) GetEncrypted() bool

GetEncrypted returns the Encrypted field if non-nil, zero value otherwise.

GetEncryptedOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetEncryptedOk() (*bool, bool)

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

SetEncrypted

func (o *PostDatabasesPostgreSqlInstancesRequest) SetEncrypted(v bool)

SetEncrypted sets Encrypted field to given value.

HasEncrypted

func (o *PostDatabasesPostgreSqlInstancesRequest) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

GetEngine

func (o *PostDatabasesPostgreSqlInstancesRequest) GetEngine() string

GetEngine returns the Engine field if non-nil, zero value otherwise.

GetEngineOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetEngineOk() (*string, bool)

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

SetEngine

func (o *PostDatabasesPostgreSqlInstancesRequest) SetEngine(v string)

SetEngine sets Engine field to given value.

GetLabel

func (o *PostDatabasesPostgreSqlInstancesRequest) GetLabel() string

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

GetLabelOk

func (o *PostDatabasesPostgreSqlInstancesRequest) 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 *PostDatabasesPostgreSqlInstancesRequest) SetLabel(v string)

SetLabel sets Label field to given value.

GetRegion

func (o *PostDatabasesPostgreSqlInstancesRequest) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetRegionOk() (*string, bool)

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

SetRegion

func (o *PostDatabasesPostgreSqlInstancesRequest) SetRegion(v string)

SetRegion sets Region field to given value.

GetReplicationCommitType

func (o *PostDatabasesPostgreSqlInstancesRequest) GetReplicationCommitType() string

GetReplicationCommitType returns the ReplicationCommitType field if non-nil, zero value otherwise.

GetReplicationCommitTypeOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetReplicationCommitTypeOk() (*string, bool)

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

SetReplicationCommitType

func (o *PostDatabasesPostgreSqlInstancesRequest) SetReplicationCommitType(v string)

SetReplicationCommitType sets ReplicationCommitType field to given value.

HasReplicationCommitType

func (o *PostDatabasesPostgreSqlInstancesRequest) HasReplicationCommitType() bool

HasReplicationCommitType returns a boolean if a field has been set.

GetReplicationType

func (o *PostDatabasesPostgreSqlInstancesRequest) GetReplicationType() string

GetReplicationType returns the ReplicationType field if non-nil, zero value otherwise.

GetReplicationTypeOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetReplicationTypeOk() (*string, bool)

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

SetReplicationType

func (o *PostDatabasesPostgreSqlInstancesRequest) SetReplicationType(v string)

SetReplicationType sets ReplicationType field to given value.

HasReplicationType

func (o *PostDatabasesPostgreSqlInstancesRequest) HasReplicationType() bool

HasReplicationType returns a boolean if a field has been set.

GetSslConnection

func (o *PostDatabasesPostgreSqlInstancesRequest) GetSslConnection() bool

GetSslConnection returns the SslConnection field if non-nil, zero value otherwise.

GetSslConnectionOk

func (o *PostDatabasesPostgreSqlInstancesRequest) GetSslConnectionOk() (*bool, bool)

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

SetSslConnection

func (o *PostDatabasesPostgreSqlInstancesRequest) SetSslConnection(v bool)

SetSslConnection sets SslConnection field to given value.

HasSslConnection

func (o *PostDatabasesPostgreSqlInstancesRequest) HasSslConnection() bool

HasSslConnection returns a boolean if a field has been set.

GetType

func (o *PostDatabasesPostgreSqlInstancesRequest) GetType() string

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

GetTypeOk

func (o *PostDatabasesPostgreSqlInstancesRequest) 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 *PostDatabasesPostgreSqlInstancesRequest) SetType(v string)

SetType sets Type field to given value.

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