| Name | Type | Description | Notes |
|---|---|---|---|
| PrimaryRegion | Pointer to string | Preview: Specify which region should be made the primary region. This is only applicable to multi-region Serverless clusters. This field is required if you create the cluster in more than one region. | [optional] |
| Regions | []string | Region values should match the cloud provider's zone code. For example, for Oregon, set region_name to "us-west2" for GCP and "us-west-2" for AWS. | |
| UpgradeType | Pointer to UpgradeTypeType | [optional] | |
| UsageLimits | Pointer to UsageLimits | [optional] | |
| WithEmptyIpAllowlist | Pointer to bool | WithEmptyIPAllowlist creates a cluster with no entries in the IP Allowlist. By default, Serverless clusters have one IP allowlist entry that opens the cluster to any IP. Set this property to true to ensure the cluster is closed to public traffic by default. | [optional] |
func NewServerlessClusterCreateSpecification(regions []string, ) *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecification instantiates a new ServerlessClusterCreateSpecification 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 NewServerlessClusterCreateSpecificationWithDefaults() *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecificationWithDefaults instantiates a new ServerlessClusterCreateSpecification 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 *ServerlessClusterCreateSpecification) GetPrimaryRegion() string
GetPrimaryRegion returns the PrimaryRegion field if non-nil, zero value otherwise.
func (o *ServerlessClusterCreateSpecification) SetPrimaryRegion(v string)
SetPrimaryRegion sets PrimaryRegion field to given value.
func (o *ServerlessClusterCreateSpecification) GetRegions() []string
GetRegions returns the Regions field if non-nil, zero value otherwise.
func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)
SetRegions sets Regions field to given value.
func (o *ServerlessClusterCreateSpecification) GetUpgradeType() UpgradeTypeType
GetUpgradeType returns the UpgradeType field if non-nil, zero value otherwise.
func (o *ServerlessClusterCreateSpecification) SetUpgradeType(v UpgradeTypeType)
SetUpgradeType sets UpgradeType field to given value.
func (o *ServerlessClusterCreateSpecification) GetUsageLimits() UsageLimits
GetUsageLimits returns the UsageLimits field if non-nil, zero value otherwise.
func (o *ServerlessClusterCreateSpecification) SetUsageLimits(v UsageLimits)
SetUsageLimits sets UsageLimits field to given value.
func (o *ServerlessClusterCreateSpecification) GetWithEmptyIpAllowlist() bool
GetWithEmptyIpAllowlist returns the WithEmptyIpAllowlist field if non-nil, zero value otherwise.
func (o *ServerlessClusterCreateSpecification) SetWithEmptyIpAllowlist(v bool)
SetWithEmptyIpAllowlist sets WithEmptyIpAllowlist field to given value.