| Name | Type | Description | Notes |
|---|---|---|---|
| CidrRange | Pointer to string | cidr_range is the IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". | [optional] |
| CockroachVersion | Pointer to string | The CockroachDB major version for the cluster. i.e. v24.1 The latest version is used if omitted. The version passed must be one of the currently supported versions. | [optional] |
| Hardware | DedicatedHardwareCreateSpecification | ||
| NetworkVisibility | Pointer to NetworkVisibilityType | [optional] | |
| RegionNodes | map[string]int32 | Region keys 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. Values represent the node count. | |
| RestrictEgressTraffic | Pointer to bool | Preview: restrict_egress_traffic if set, results in an egress traffic policy of default-deny at creation time. | [optional] |
| SupportsClusterVirtualization | Pointer to bool | [optional] |
func NewDedicatedClusterCreateSpecification(hardware DedicatedHardwareCreateSpecification, regionNodes map[string]int32, ) *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecification instantiates a new DedicatedClusterCreateSpecification 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 NewDedicatedClusterCreateSpecificationWithDefaults() *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecificationWithDefaults instantiates a new DedicatedClusterCreateSpecification 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 *DedicatedClusterCreateSpecification) GetCidrRange() string
GetCidrRange returns the CidrRange field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetCidrRange(v string)
SetCidrRange sets CidrRange field to given value.
func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string
GetCockroachVersion returns the CockroachVersion field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)
SetCockroachVersion sets CockroachVersion field to given value.
func (o *DedicatedClusterCreateSpecification) GetHardware() DedicatedHardwareCreateSpecification
GetHardware returns the Hardware field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetHardware(v DedicatedHardwareCreateSpecification)
SetHardware sets Hardware field to given value.
func (o *DedicatedClusterCreateSpecification) GetNetworkVisibility() NetworkVisibilityType
GetNetworkVisibility returns the NetworkVisibility field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetNetworkVisibility(v NetworkVisibilityType)
SetNetworkVisibility sets NetworkVisibility field to given value.
func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32
GetRegionNodes returns the RegionNodes field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)
SetRegionNodes sets RegionNodes field to given value.
func (o *DedicatedClusterCreateSpecification) GetRestrictEgressTraffic() bool
GetRestrictEgressTraffic returns the RestrictEgressTraffic field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetRestrictEgressTraffic(v bool)
SetRestrictEgressTraffic sets RestrictEgressTraffic field to given value.
func (o *DedicatedClusterCreateSpecification) GetSupportsClusterVirtualization() bool
GetSupportsClusterVirtualization returns the SupportsClusterVirtualization field if non-nil, zero value otherwise.
func (o *DedicatedClusterCreateSpecification) SetSupportsClusterVirtualization(v bool)
SetSupportsClusterVirtualization sets SupportsClusterVirtualization field to given value.