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. | |
ReplicationType | Pointer to string | The replication method used for the Managed Database. Defaults to `none` for a single cluster and `semi_synch` for a high availability cluster. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` 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 MySQL database credentials operation for access information. | [optional] [default to true] |
Type | string | The Linode Instance type used by the Managed Database for its nodes. |
func NewPostDatabasesMysqlInstancesRequest(engine string, label string, region string, type_ string, ) *PostDatabasesMysqlInstancesRequest
NewPostDatabasesMysqlInstancesRequest instantiates a new PostDatabasesMysqlInstancesRequest 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
func NewPostDatabasesMysqlInstancesRequestWithDefaults() *PostDatabasesMysqlInstancesRequest
NewPostDatabasesMysqlInstancesRequestWithDefaults instantiates a new PostDatabasesMysqlInstancesRequest 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
func (o *PostDatabasesMysqlInstancesRequest) GetAllowList() []string
GetAllowList returns the AllowList field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetAllowList(v []string)
SetAllowList sets AllowList field to given value.
func (o *PostDatabasesMysqlInstancesRequest) HasAllowList() bool
HasAllowList returns a boolean if a field has been set.
func (o *PostDatabasesMysqlInstancesRequest) GetClusterSize() int32
GetClusterSize returns the ClusterSize field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetClusterSize(v int32)
SetClusterSize sets ClusterSize field to given value.
func (o *PostDatabasesMysqlInstancesRequest) HasClusterSize() bool
HasClusterSize returns a boolean if a field has been set.
func (o *PostDatabasesMysqlInstancesRequest) GetEncrypted() bool
GetEncrypted returns the Encrypted field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetEncrypted(v bool)
SetEncrypted sets Encrypted field to given value.
func (o *PostDatabasesMysqlInstancesRequest) HasEncrypted() bool
HasEncrypted returns a boolean if a field has been set.
func (o *PostDatabasesMysqlInstancesRequest) GetEngine() string
GetEngine returns the Engine field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetEngine(v string)
SetEngine sets Engine field to given value.
func (o *PostDatabasesMysqlInstancesRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *PostDatabasesMysqlInstancesRequest) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *PostDatabasesMysqlInstancesRequest) GetReplicationType() string
GetReplicationType returns the ReplicationType field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetReplicationType(v string)
SetReplicationType sets ReplicationType field to given value.
func (o *PostDatabasesMysqlInstancesRequest) HasReplicationType() bool
HasReplicationType returns a boolean if a field has been set.
func (o *PostDatabasesMysqlInstancesRequest) GetSslConnection() bool
GetSslConnection returns the SslConnection field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetSslConnection(v bool)
SetSslConnection sets SslConnection field to given value.
func (o *PostDatabasesMysqlInstancesRequest) HasSslConnection() bool
HasSslConnection returns a boolean if a field has been set.
func (o *PostDatabasesMysqlInstancesRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstancesRequest) 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.
func (o *PostDatabasesMysqlInstancesRequest) SetType(v string)
SetType sets Type field to given value.