Skip to content

Latest commit

 

History

History
74 lines (40 loc) · 2.8 KB

File metadata and controls

74 lines (40 loc) · 2.8 KB

ServerlessClusterUpdateSpecification

Properties

Name Type Description Notes
PrimaryRegion Pointer to string Specify which region should be made the primary region. This is only applicable to multi-region Serverless clusters. This field is required if the regions field contains more than one region. [optional]
Regions Pointer to []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. If this field is provided, the cluster's regions will be changed to match this list. Regions cannot currently be removed. [optional]
UpgradeType Pointer to UpgradeTypeType [optional]
UsageLimits Pointer to UsageLimits [optional]

Methods

NewServerlessClusterUpdateSpecification

func NewServerlessClusterUpdateSpecification() *ServerlessClusterUpdateSpecification

NewServerlessClusterUpdateSpecification instantiates a new ServerlessClusterUpdateSpecification 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.

GetPrimaryRegion

func (o *ServerlessClusterUpdateSpecification) GetPrimaryRegion() string

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

SetPrimaryRegion

func (o *ServerlessClusterUpdateSpecification) SetPrimaryRegion(v string)

SetPrimaryRegion sets PrimaryRegion field to given value.

GetRegions

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

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

SetRegions

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

SetRegions sets Regions field to given value.

GetUpgradeType

func (o *ServerlessClusterUpdateSpecification) GetUpgradeType() UpgradeTypeType

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

SetUpgradeType

func (o *ServerlessClusterUpdateSpecification) SetUpgradeType(v UpgradeTypeType)

SetUpgradeType sets UpgradeType field to given value.

GetUsageLimits

func (o *ServerlessClusterUpdateSpecification) GetUsageLimits() UsageLimits

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

SetUsageLimits

func (o *ServerlessClusterUpdateSpecification) SetUsageLimits(v UsageLimits)

SetUsageLimits sets UsageLimits field to given value.

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