Skip to content

Latest commit

 

History

History
95 lines (52 loc) · 3.79 KB

File metadata and controls

95 lines (52 loc) · 3.79 KB

ServerlessClusterCreateSpecification

Properties

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]

Methods

NewServerlessClusterCreateSpecification

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.

NewServerlessClusterCreateSpecificationWithDefaults

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.

GetPrimaryRegion

func (o *ServerlessClusterCreateSpecification) GetPrimaryRegion() string

GetPrimaryRegion returns the PrimaryRegion field if non-nil, zero value otherwise.

SetPrimaryRegion

func (o *ServerlessClusterCreateSpecification) SetPrimaryRegion(v string)

SetPrimaryRegion sets PrimaryRegion field to given value.

GetRegions

func (o *ServerlessClusterCreateSpecification) GetRegions() []string

GetRegions returns the Regions field if non-nil, zero value otherwise.

SetRegions

func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)

SetRegions sets Regions field to given value.

GetUpgradeType

func (o *ServerlessClusterCreateSpecification) GetUpgradeType() UpgradeTypeType

GetUpgradeType returns the UpgradeType field if non-nil, zero value otherwise.

SetUpgradeType

func (o *ServerlessClusterCreateSpecification) SetUpgradeType(v UpgradeTypeType)

SetUpgradeType sets UpgradeType field to given value.

GetUsageLimits

func (o *ServerlessClusterCreateSpecification) GetUsageLimits() UsageLimits

GetUsageLimits returns the UsageLimits field if non-nil, zero value otherwise.

SetUsageLimits

func (o *ServerlessClusterCreateSpecification) SetUsageLimits(v UsageLimits)

SetUsageLimits sets UsageLimits field to given value.

GetWithEmptyIpAllowlist

func (o *ServerlessClusterCreateSpecification) GetWithEmptyIpAllowlist() bool

GetWithEmptyIpAllowlist returns the WithEmptyIpAllowlist field if non-nil, zero value otherwise.

SetWithEmptyIpAllowlist

func (o *ServerlessClusterCreateSpecification) SetWithEmptyIpAllowlist(v bool)

SetWithEmptyIpAllowlist sets WithEmptyIpAllowlist field to given value.

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