Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | The placement group's ID. You need to provide it for all operations that affect it. | [optional] |
Label | Pointer to string | The unique name set for the placement group. A label has these constraints: - It needs to begin and end with an alphanumeric character. - It can only consist of alphanumeric characters, hyphens (`-`), underscores (`_`) or periods (`.`). | [optional] |
PlacementGroupPolicy | Pointer to string | How requests to add future compute instances to your placement group are handled, and whether it remains compliant: - `strict`. Don't assign a new compute instance if it breaks the grouped-together or spread-apart model set by the `placement_group_type`. Use this to ensure the placement group stays compliant (`is_compliant: true`). - `flexible`. Assign a new compute instance, even if it breaks the grouped-together or spread-apart model set by the `placement_group_type`. This makes the group non-compliant (`is_compliant: false`). You need to wait for Akamai to move the offending compute instance to make it compliant again, once the necessary capacity is available in the region. Offers flexibility to add future compute instances if compliance isn't an immediate concern. <<LB>> > 📘 > > In rare cases, non-compliance can occur with a `strict` placement group if Akamai needs to failover or migrate your compute instances for maintenance. Fixing non-compliance for a `strict` placement group is prioritized over a `flexible` group. | [optional] |
PlacementGroupType | Pointer to string | How compute instances are distributed in your placement group. A `placement_group_type` using anti-affinity (`anti-affinity:local`) places compute instances in separate hosts, but still in the same region. This best supports the spread-apart model for high availability. A `placement_group_type` using affinity places compute instances physically close together, possibly on the same host. This supports the grouped-together model for low-latency. > 📘 > > Currently, only `anti_affinity:local` is available for `placement_group_type`. | [optional] [readonly] |
func NewLinode1PlacementGroup() *Linode1PlacementGroup
NewLinode1PlacementGroup instantiates a new Linode1PlacementGroup 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 NewLinode1PlacementGroupWithDefaults() *Linode1PlacementGroup
NewLinode1PlacementGroupWithDefaults instantiates a new Linode1PlacementGroup 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 *Linode1PlacementGroup) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Linode1PlacementGroup) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1PlacementGroup) SetId(v int32)
SetId sets Id field to given value.
func (o *Linode1PlacementGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Linode1PlacementGroup) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *Linode1PlacementGroup) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1PlacementGroup) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *Linode1PlacementGroup) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *Linode1PlacementGroup) GetPlacementGroupPolicy() string
GetPlacementGroupPolicy returns the PlacementGroupPolicy field if non-nil, zero value otherwise.
func (o *Linode1PlacementGroup) GetPlacementGroupPolicyOk() (*string, bool)
GetPlacementGroupPolicyOk returns a tuple with the PlacementGroupPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1PlacementGroup) SetPlacementGroupPolicy(v string)
SetPlacementGroupPolicy sets PlacementGroupPolicy field to given value.
func (o *Linode1PlacementGroup) HasPlacementGroupPolicy() bool
HasPlacementGroupPolicy returns a boolean if a field has been set.
func (o *Linode1PlacementGroup) GetPlacementGroupType() string
GetPlacementGroupType returns the PlacementGroupType field if non-nil, zero value otherwise.
func (o *Linode1PlacementGroup) GetPlacementGroupTypeOk() (*string, bool)
GetPlacementGroupTypeOk returns a tuple with the PlacementGroupType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1PlacementGroup) SetPlacementGroupType(v string)
SetPlacementGroupType sets PlacementGroupType field to given value.
func (o *Linode1PlacementGroup) HasPlacementGroupType() bool
HasPlacementGroupType returns a boolean if a field has been set.