| Name | Type | Description | Notes |
|---|---|---|---|
| EnvName | string | Environment name (e.g., 'staging', 'development') | |
| MinCapacity | Pointer to int32 | Minimum number of instances | [optional] |
| MaxCapacity | Pointer to int32 | Maximum number of instances | [optional] |
| SingleTaskOnly | Pointer to NullableBool | Optional. Forces single-task mode (max one running task). When omitted, the platform auto-detects stateful containers. | [optional] |
| StartupGracePeriodSeconds | Pointer to NullableInt32 | Optional. Seconds the load balancer waits after a task starts before an unhealthy health check can replace it. If not set, the value from composeDefinition (or default 120) is used. | [optional] [default to 120] |
| CloneConfigurationFrom | Pointer to string | Clone configuration from an existing environment | [optional] |
| ComposeDefinition | Pointer to Compose | [optional] | |
| ImageSuffix | Pointer to string | Optional image tag suffix for cloning | [optional] |
| SpotConfiguration | Pointer to SpotConfiguration | [optional] | |
| Environment | Pointer to []CreateEnvironmentRequestEnvironmentInner | Environment variables to inject | [optional] |
| MergeEnvironment | Pointer to bool | Whether to merge environment variables with cloned ones (true) or replace them (false). Default: false | [optional] |
func NewCreateEnvironmentRequest(envName string, ) *CreateEnvironmentRequest
NewCreateEnvironmentRequest instantiates a new CreateEnvironmentRequest 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 NewCreateEnvironmentRequestWithDefaults() *CreateEnvironmentRequest
NewCreateEnvironmentRequestWithDefaults instantiates a new CreateEnvironmentRequest 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 *CreateEnvironmentRequest) GetEnvName() string
GetEnvName returns the EnvName field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetEnvNameOk() (*string, bool)
GetEnvNameOk returns a tuple with the EnvName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetEnvName(v string)
SetEnvName sets EnvName field to given value.
func (o *CreateEnvironmentRequest) GetMinCapacity() int32
GetMinCapacity returns the MinCapacity field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetMinCapacityOk() (*int32, bool)
GetMinCapacityOk returns a tuple with the MinCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetMinCapacity(v int32)
SetMinCapacity sets MinCapacity field to given value.
func (o *CreateEnvironmentRequest) HasMinCapacity() bool
HasMinCapacity returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetMaxCapacity() int32
GetMaxCapacity returns the MaxCapacity field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetMaxCapacityOk() (*int32, bool)
GetMaxCapacityOk returns a tuple with the MaxCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetMaxCapacity(v int32)
SetMaxCapacity sets MaxCapacity field to given value.
func (o *CreateEnvironmentRequest) HasMaxCapacity() bool
HasMaxCapacity returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetSingleTaskOnly() bool
GetSingleTaskOnly returns the SingleTaskOnly field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetSingleTaskOnlyOk() (*bool, bool)
GetSingleTaskOnlyOk returns a tuple with the SingleTaskOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetSingleTaskOnly(v bool)
SetSingleTaskOnly sets SingleTaskOnly field to given value.
func (o *CreateEnvironmentRequest) HasSingleTaskOnly() bool
HasSingleTaskOnly returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) SetSingleTaskOnlyNil(b bool)
SetSingleTaskOnlyNil sets the value for SingleTaskOnly to be an explicit nil
func (o *CreateEnvironmentRequest) UnsetSingleTaskOnly()
UnsetSingleTaskOnly ensures that no value is present for SingleTaskOnly, not even an explicit nil
func (o *CreateEnvironmentRequest) GetStartupGracePeriodSeconds() int32
GetStartupGracePeriodSeconds returns the StartupGracePeriodSeconds field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetStartupGracePeriodSecondsOk() (*int32, bool)
GetStartupGracePeriodSecondsOk returns a tuple with the StartupGracePeriodSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetStartupGracePeriodSeconds(v int32)
SetStartupGracePeriodSeconds sets StartupGracePeriodSeconds field to given value.
func (o *CreateEnvironmentRequest) HasStartupGracePeriodSeconds() bool
HasStartupGracePeriodSeconds returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) SetStartupGracePeriodSecondsNil(b bool)
SetStartupGracePeriodSecondsNil sets the value for StartupGracePeriodSeconds to be an explicit nil
func (o *CreateEnvironmentRequest) UnsetStartupGracePeriodSeconds()
UnsetStartupGracePeriodSeconds ensures that no value is present for StartupGracePeriodSeconds, not even an explicit nil
func (o *CreateEnvironmentRequest) GetCloneConfigurationFrom() string
GetCloneConfigurationFrom returns the CloneConfigurationFrom field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetCloneConfigurationFromOk() (*string, bool)
GetCloneConfigurationFromOk returns a tuple with the CloneConfigurationFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetCloneConfigurationFrom(v string)
SetCloneConfigurationFrom sets CloneConfigurationFrom field to given value.
func (o *CreateEnvironmentRequest) HasCloneConfigurationFrom() bool
HasCloneConfigurationFrom returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetComposeDefinition() Compose
GetComposeDefinition returns the ComposeDefinition field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetComposeDefinitionOk() (*Compose, bool)
GetComposeDefinitionOk returns a tuple with the ComposeDefinition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetComposeDefinition(v Compose)
SetComposeDefinition sets ComposeDefinition field to given value.
func (o *CreateEnvironmentRequest) HasComposeDefinition() bool
HasComposeDefinition returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetImageSuffix() string
GetImageSuffix returns the ImageSuffix field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetImageSuffixOk() (*string, bool)
GetImageSuffixOk returns a tuple with the ImageSuffix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetImageSuffix(v string)
SetImageSuffix sets ImageSuffix field to given value.
func (o *CreateEnvironmentRequest) HasImageSuffix() bool
HasImageSuffix returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetSpotConfiguration() SpotConfiguration
GetSpotConfiguration returns the SpotConfiguration field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetSpotConfigurationOk() (*SpotConfiguration, bool)
GetSpotConfigurationOk returns a tuple with the SpotConfiguration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetSpotConfiguration(v SpotConfiguration)
SetSpotConfiguration sets SpotConfiguration field to given value.
func (o *CreateEnvironmentRequest) HasSpotConfiguration() bool
HasSpotConfiguration returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetEnvironment() []CreateEnvironmentRequestEnvironmentInner
GetEnvironment returns the Environment field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetEnvironmentOk() (*[]CreateEnvironmentRequestEnvironmentInner, bool)
GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetEnvironment(v []CreateEnvironmentRequestEnvironmentInner)
SetEnvironment sets Environment field to given value.
func (o *CreateEnvironmentRequest) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (o *CreateEnvironmentRequest) GetMergeEnvironment() bool
GetMergeEnvironment returns the MergeEnvironment field if non-nil, zero value otherwise.
func (o *CreateEnvironmentRequest) GetMergeEnvironmentOk() (*bool, bool)
GetMergeEnvironmentOk returns a tuple with the MergeEnvironment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateEnvironmentRequest) SetMergeEnvironment(v bool)
SetMergeEnvironment sets MergeEnvironment field to given value.
func (o *CreateEnvironmentRequest) HasMergeEnvironment() bool
HasMergeEnvironment returns a boolean if a field has been set.