Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 4.39 KB

FarmRDSServersPatternNamingSettingsCreateSpec.md

File metadata and controls

77 lines (42 loc) · 4.39 KB

FarmRDSServersPatternNamingSettingsCreateSpec

Properties

Name Type Description Notes
MaxNumberOfRdsServers Pointer to int32 Maximum number of RDS Servers in the farm. Default value is 1. [optional]
NamingPattern string RDS Servers will be named according to the specified naming pattern. By default, Horizon appends a unique number to the specified pattern to provide a unique name for each RDS Server. To place this unique number elsewhere in the pattern, use '{n}'. (For example: rds-{n}-sales.) The unique number can also be made a fixed length. (For example: rds-{n:fixed=3}-sales will name RDS Servers from rds-001-sales to rds-999-sales).<br>RDS Server names are constrained to a maximum size of 15 characters including the unique number. Therefore, care must be taken when choosing a pattern. If the maximum farm size is 9 RDS servers, the pattern must be at most 14 characters. For 99 RDS servers, 13 characters, for 999 RDS servers, 12 characters. For 9999 RDS servers, 11 characters. If using a fixed size token, use a maximum of 14 characters for &quot;n=1&quot;, 13 characters for &quot;n=2&quot;, 12 characters for &quot;n=3&quot;, and 11 characters for &quot;n=4&quot;. If {n} is specified with no size, a size of 2 is automatically used and if no {} is specified, {n=2} is automatically appended to the end of the pattern.<br>This property must contain only alphanumerics and dashes. It must contain at least one alpha character. It may also optionally contain a numeric placement token {n} or {n:fixed=#}. If the pattern does not specify the numeric placement token, the maximum length is 14 characters.

Methods

NewFarmRDSServersPatternNamingSettingsCreateSpec

func NewFarmRDSServersPatternNamingSettingsCreateSpec(namingPattern string, ) *FarmRDSServersPatternNamingSettingsCreateSpec

NewFarmRDSServersPatternNamingSettingsCreateSpec instantiates a new FarmRDSServersPatternNamingSettingsCreateSpec 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

NewFarmRDSServersPatternNamingSettingsCreateSpecWithDefaults

func NewFarmRDSServersPatternNamingSettingsCreateSpecWithDefaults() *FarmRDSServersPatternNamingSettingsCreateSpec

NewFarmRDSServersPatternNamingSettingsCreateSpecWithDefaults instantiates a new FarmRDSServersPatternNamingSettingsCreateSpec 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

GetMaxNumberOfRdsServers

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) GetMaxNumberOfRdsServers() int32

GetMaxNumberOfRdsServers returns the MaxNumberOfRdsServers field if non-nil, zero value otherwise.

GetMaxNumberOfRdsServersOk

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) GetMaxNumberOfRdsServersOk() (*int32, bool)

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

SetMaxNumberOfRdsServers

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) SetMaxNumberOfRdsServers(v int32)

SetMaxNumberOfRdsServers sets MaxNumberOfRdsServers field to given value.

HasMaxNumberOfRdsServers

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) HasMaxNumberOfRdsServers() bool

HasMaxNumberOfRdsServers returns a boolean if a field has been set.

GetNamingPattern

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) GetNamingPattern() string

GetNamingPattern returns the NamingPattern field if non-nil, zero value otherwise.

GetNamingPatternOk

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) GetNamingPatternOk() (*string, bool)

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

SetNamingPattern

func (o *FarmRDSServersPatternNamingSettingsCreateSpec) SetNamingPattern(v string)

SetNamingPattern sets NamingPattern field to given value.

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