Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ActiveHealthCheck
- func (o *ActiveHealthCheck) GetAltPort() int32
- func (o *ActiveHealthCheck) GetAltPortOk() (*int32, bool)
- func (o *ActiveHealthCheck) GetHealthyThreshold() int32
- func (o *ActiveHealthCheck) GetHealthyThresholdOk() (*int32, bool)
- func (o *ActiveHealthCheck) GetHttpHealthChecks() HttpHealthChecks
- func (o *ActiveHealthCheck) GetHttpHealthChecksOk() (*HttpHealthChecks, bool)
- func (o *ActiveHealthCheck) GetInterval() string
- func (o *ActiveHealthCheck) GetIntervalJitter() string
- func (o *ActiveHealthCheck) GetIntervalJitterOk() (*string, bool)
- func (o *ActiveHealthCheck) GetIntervalOk() (*string, bool)
- func (o *ActiveHealthCheck) GetTimeout() string
- func (o *ActiveHealthCheck) GetTimeoutOk() (*string, bool)
- func (o *ActiveHealthCheck) GetUnhealthyThreshold() int32
- func (o *ActiveHealthCheck) GetUnhealthyThresholdOk() (*int32, bool)
- func (o *ActiveHealthCheck) HasAltPort() bool
- func (o *ActiveHealthCheck) HasHealthyThreshold() bool
- func (o *ActiveHealthCheck) HasHttpHealthChecks() bool
- func (o *ActiveHealthCheck) HasInterval() bool
- func (o *ActiveHealthCheck) HasIntervalJitter() bool
- func (o *ActiveHealthCheck) HasTimeout() bool
- func (o *ActiveHealthCheck) HasUnhealthyThreshold() bool
- func (o ActiveHealthCheck) MarshalJSON() ([]byte, error)
- func (o *ActiveHealthCheck) SetAltPort(v int32)
- func (o *ActiveHealthCheck) SetHealthyThreshold(v int32)
- func (o *ActiveHealthCheck) SetHttpHealthChecks(v HttpHealthChecks)
- func (o *ActiveHealthCheck) SetInterval(v string)
- func (o *ActiveHealthCheck) SetIntervalJitter(v string)
- func (o *ActiveHealthCheck) SetTimeout(v string)
- func (o *ActiveHealthCheck) SetUnhealthyThreshold(v int32)
- func (o ActiveHealthCheck) ToMap() (map[string]interface{}, error)
- type ApiCreateCredentialsRequest
- func (r ApiCreateCredentialsRequest) CreateCredentialsPayload(createCredentialsPayload CreateCredentialsPayload) ApiCreateCredentialsRequest
- func (r ApiCreateCredentialsRequest) Execute() (*CreateCredentialsResponse, error)
- func (r ApiCreateCredentialsRequest) XRequestID(xRequestID string) ApiCreateCredentialsRequest
- type ApiCreateLoadBalancerRequest
- func (r ApiCreateLoadBalancerRequest) CreateLoadBalancerPayload(createLoadBalancerPayload CreateLoadBalancerPayload) ApiCreateLoadBalancerRequest
- func (r ApiCreateLoadBalancerRequest) Execute() (*LoadBalancer, error)
- func (r ApiCreateLoadBalancerRequest) XRequestID(xRequestID string) ApiCreateLoadBalancerRequest
- type ApiDeleteCredentialsRequest
- type ApiDeleteLoadBalancerRequest
- type ApiGetCredentialsRequest
- type ApiGetLoadBalancerRequest
- type ApiGetQuotaRequest
- type ApiListCredentialsRequest
- type ApiListLoadBalancersRequest
- type ApiListPlansRequest
- type ApiUpdateCredentialsRequest
- type ApiUpdateLoadBalancerRequest
- type ApiUpdateTargetPoolRequest
- type CreateCredentialsPayload
- func (o *CreateCredentialsPayload) GetDisplayName() string
- func (o *CreateCredentialsPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateCredentialsPayload) GetPassword() string
- func (o *CreateCredentialsPayload) GetPasswordOk() (*string, bool)
- func (o *CreateCredentialsPayload) GetUsername() string
- func (o *CreateCredentialsPayload) GetUsernameOk() (*string, bool)
- func (o *CreateCredentialsPayload) HasDisplayName() bool
- func (o *CreateCredentialsPayload) HasPassword() bool
- func (o *CreateCredentialsPayload) HasUsername() bool
- func (o CreateCredentialsPayload) MarshalJSON() ([]byte, error)
- func (o *CreateCredentialsPayload) SetDisplayName(v string)
- func (o *CreateCredentialsPayload) SetPassword(v string)
- func (o *CreateCredentialsPayload) SetUsername(v string)
- func (o CreateCredentialsPayload) ToMap() (map[string]interface{}, error)
- type CreateCredentialsResponse
- func (o *CreateCredentialsResponse) GetCredential() CredentialsResponse
- func (o *CreateCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
- func (o *CreateCredentialsResponse) HasCredential() bool
- func (o CreateCredentialsResponse) MarshalJSON() ([]byte, error)
- func (o *CreateCredentialsResponse) SetCredential(v CredentialsResponse)
- func (o CreateCredentialsResponse) ToMap() (map[string]interface{}, error)
- type CreateLoadBalancerPayload
- func (o *CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment() bool
- func (o *CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
- func (o *CreateLoadBalancerPayload) GetErrors() []LoadBalancerError
- func (o *CreateLoadBalancerPayload) GetErrorsOk() ([]LoadBalancerError, bool)
- func (o *CreateLoadBalancerPayload) GetExternalAddress() string
- func (o *CreateLoadBalancerPayload) GetExternalAddressOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetLabels() map[string]string
- func (o *CreateLoadBalancerPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateLoadBalancerPayload) GetListeners() []Listener
- func (o *CreateLoadBalancerPayload) GetListenersOk() ([]Listener, bool)
- func (o *CreateLoadBalancerPayload) GetLoadBalancerSecurityGroup() SecurityGroup
- func (o *CreateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
- func (o *CreateLoadBalancerPayload) GetName() string
- func (o *CreateLoadBalancerPayload) GetNameOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetNetworks() []Network
- func (o *CreateLoadBalancerPayload) GetNetworksOk() ([]Network, bool)
- func (o *CreateLoadBalancerPayload) GetOptions() LoadBalancerOptions
- func (o *CreateLoadBalancerPayload) GetOptionsOk() (*LoadBalancerOptions, bool)
- func (o *CreateLoadBalancerPayload) GetPlanId() string
- func (o *CreateLoadBalancerPayload) GetPlanIdOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetPrivateAddress() string
- func (o *CreateLoadBalancerPayload) GetPrivateAddressOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetRegion() string
- func (o *CreateLoadBalancerPayload) GetRegionOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetStatus() string
- func (o *CreateLoadBalancerPayload) GetStatusOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) GetTargetPools() []TargetPool
- func (o *CreateLoadBalancerPayload) GetTargetPoolsOk() ([]TargetPool, bool)
- func (o *CreateLoadBalancerPayload) GetTargetSecurityGroup() SecurityGroup
- func (o *CreateLoadBalancerPayload) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
- func (o *CreateLoadBalancerPayload) GetVersion() string
- func (o *CreateLoadBalancerPayload) GetVersionOk() (*string, bool)
- func (o *CreateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment() bool
- func (o *CreateLoadBalancerPayload) HasErrors() bool
- func (o *CreateLoadBalancerPayload) HasExternalAddress() bool
- func (o *CreateLoadBalancerPayload) HasLabels() bool
- func (o *CreateLoadBalancerPayload) HasListeners() bool
- func (o *CreateLoadBalancerPayload) HasLoadBalancerSecurityGroup() bool
- func (o *CreateLoadBalancerPayload) HasName() bool
- func (o *CreateLoadBalancerPayload) HasNetworks() bool
- func (o *CreateLoadBalancerPayload) HasOptions() bool
- func (o *CreateLoadBalancerPayload) HasPlanId() bool
- func (o *CreateLoadBalancerPayload) HasPrivateAddress() bool
- func (o *CreateLoadBalancerPayload) HasRegion() bool
- func (o *CreateLoadBalancerPayload) HasStatus() bool
- func (o *CreateLoadBalancerPayload) HasTargetPools() bool
- func (o *CreateLoadBalancerPayload) HasTargetSecurityGroup() bool
- func (o *CreateLoadBalancerPayload) HasVersion() bool
- func (o CreateLoadBalancerPayload) MarshalJSON() ([]byte, error)
- func (o *CreateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment(v bool)
- func (o *CreateLoadBalancerPayload) SetErrors(v []LoadBalancerError)
- func (o *CreateLoadBalancerPayload) SetExternalAddress(v string)
- func (o *CreateLoadBalancerPayload) SetLabels(v map[string]string)
- func (o *CreateLoadBalancerPayload) SetListeners(v []Listener)
- func (o *CreateLoadBalancerPayload) SetLoadBalancerSecurityGroup(v SecurityGroup)
- func (o *CreateLoadBalancerPayload) SetName(v string)
- func (o *CreateLoadBalancerPayload) SetNetworks(v []Network)
- func (o *CreateLoadBalancerPayload) SetOptions(v LoadBalancerOptions)
- func (o *CreateLoadBalancerPayload) SetPlanId(v string)
- func (o *CreateLoadBalancerPayload) SetPrivateAddress(v string)
- func (o *CreateLoadBalancerPayload) SetRegion(v string)
- func (o *CreateLoadBalancerPayload) SetStatus(v string)
- func (o *CreateLoadBalancerPayload) SetTargetPools(v []TargetPool)
- func (o *CreateLoadBalancerPayload) SetTargetSecurityGroup(v SecurityGroup)
- func (o *CreateLoadBalancerPayload) SetVersion(v string)
- func (o CreateLoadBalancerPayload) ToMap() (map[string]interface{}, error)
- type CredentialsResponse
- func (o *CredentialsResponse) GetCredentialsRef() string
- func (o *CredentialsResponse) GetCredentialsRefOk() (*string, bool)
- func (o *CredentialsResponse) GetDisplayName() string
- func (o *CredentialsResponse) GetDisplayNameOk() (*string, bool)
- func (o *CredentialsResponse) GetRegion() string
- func (o *CredentialsResponse) GetRegionOk() (*string, bool)
- func (o *CredentialsResponse) GetUsername() string
- func (o *CredentialsResponse) GetUsernameOk() (*string, bool)
- func (o *CredentialsResponse) HasCredentialsRef() bool
- func (o *CredentialsResponse) HasDisplayName() bool
- func (o *CredentialsResponse) HasRegion() bool
- func (o *CredentialsResponse) HasUsername() bool
- func (o CredentialsResponse) MarshalJSON() ([]byte, error)
- func (o *CredentialsResponse) SetCredentialsRef(v string)
- func (o *CredentialsResponse) SetDisplayName(v string)
- func (o *CredentialsResponse) SetRegion(v string)
- func (o *CredentialsResponse) SetUsername(v string)
- func (o CredentialsResponse) ToMap() (map[string]interface{}, error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest
- func (a *DefaultAPIService) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
- func (a *DefaultAPIService) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest
- func (a *DefaultAPIService) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
- func (a *DefaultAPIService) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest
- func (a *DefaultAPIService) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest
- func (a *DefaultAPIService) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest
- func (a *DefaultAPIService) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
- func (a *DefaultAPIService) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest
- func (a *DefaultAPIService) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
- func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a *DefaultAPIService) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest
- func (a *DefaultAPIService) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
- func (a *DefaultAPIService) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest
- func (a *DefaultAPIService) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
- func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest
- func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error)
- func (a *DefaultAPIService) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest
- func (a *DefaultAPIService) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
- func (a *DefaultAPIService) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest
- func (a *DefaultAPIService) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
- func (a *DefaultAPIService) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, ...) ApiUpdateTargetPoolRequest
- func (a *DefaultAPIService) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest
- func (a DefaultAPIServiceMock) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
- func (a DefaultAPIServiceMock) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest
- func (a DefaultAPIServiceMock) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
- func (a DefaultAPIServiceMock) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest
- func (a DefaultAPIServiceMock) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest
- func (a DefaultAPIServiceMock) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest
- func (a DefaultAPIServiceMock) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
- func (a DefaultAPIServiceMock) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest
- func (a DefaultAPIServiceMock) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
- func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a DefaultAPIServiceMock) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest
- func (a DefaultAPIServiceMock) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
- func (a DefaultAPIServiceMock) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest
- func (a DefaultAPIServiceMock) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
- func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) ApiListPlansRequest
- func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error)
- func (a DefaultAPIServiceMock) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest
- func (a DefaultAPIServiceMock) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
- func (a DefaultAPIServiceMock) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest
- func (a DefaultAPIServiceMock) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
- func (a DefaultAPIServiceMock) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, ...) ApiUpdateTargetPoolRequest
- func (a DefaultAPIServiceMock) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
- type GetCredentialsResponse
- func (o *GetCredentialsResponse) GetCredential() CredentialsResponse
- func (o *GetCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
- func (o *GetCredentialsResponse) HasCredential() bool
- func (o GetCredentialsResponse) MarshalJSON() ([]byte, error)
- func (o *GetCredentialsResponse) SetCredential(v CredentialsResponse)
- func (o GetCredentialsResponse) ToMap() (map[string]interface{}, error)
- type GetQuotaResponse
- func (o *GetQuotaResponse) GetMaxCredentials() int32
- func (o *GetQuotaResponse) GetMaxCredentialsOk() (*int32, bool)
- func (o *GetQuotaResponse) GetMaxLoadBalancers() int32
- func (o *GetQuotaResponse) GetMaxLoadBalancersOk() (*int32, bool)
- func (o *GetQuotaResponse) GetProjectId() string
- func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
- func (o *GetQuotaResponse) GetRegion() string
- func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
- func (o *GetQuotaResponse) GetUsedCredentials() int32
- func (o *GetQuotaResponse) GetUsedCredentialsOk() (*int32, bool)
- func (o *GetQuotaResponse) GetUsedLoadBalancers() int32
- func (o *GetQuotaResponse) GetUsedLoadBalancersOk() (*int32, bool)
- func (o *GetQuotaResponse) HasMaxCredentials() bool
- func (o *GetQuotaResponse) HasMaxLoadBalancers() bool
- func (o *GetQuotaResponse) HasProjectId() bool
- func (o *GetQuotaResponse) HasRegion() bool
- func (o *GetQuotaResponse) HasUsedCredentials() bool
- func (o *GetQuotaResponse) HasUsedLoadBalancers() bool
- func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
- func (o *GetQuotaResponse) SetMaxCredentials(v int32)
- func (o *GetQuotaResponse) SetMaxLoadBalancers(v int32)
- func (o *GetQuotaResponse) SetProjectId(v string)
- func (o *GetQuotaResponse) SetRegion(v string)
- func (o *GetQuotaResponse) SetUsedCredentials(v int32)
- func (o *GetQuotaResponse) SetUsedLoadBalancers(v int32)
- func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() string
- func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (o *GoogleProtobufAny) SetType(v string)
- func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
- func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
- type HttpHealthChecks
- func (o *HttpHealthChecks) GetOkStatuses() []string
- func (o *HttpHealthChecks) GetOkStatusesOk() ([]string, bool)
- func (o *HttpHealthChecks) GetPath() string
- func (o *HttpHealthChecks) GetPathOk() (*string, bool)
- func (o *HttpHealthChecks) GetTls() TlsConfig
- func (o *HttpHealthChecks) GetTlsOk() (*TlsConfig, bool)
- func (o *HttpHealthChecks) HasOkStatuses() bool
- func (o *HttpHealthChecks) HasPath() bool
- func (o *HttpHealthChecks) HasTls() bool
- func (o HttpHealthChecks) MarshalJSON() ([]byte, error)
- func (o *HttpHealthChecks) SetOkStatuses(v []string)
- func (o *HttpHealthChecks) SetPath(v string)
- func (o *HttpHealthChecks) SetTls(v TlsConfig)
- func (o HttpHealthChecks) ToMap() (map[string]interface{}, error)
- type ListCredentialsResponse
- func (o *ListCredentialsResponse) GetCredentials() []CredentialsResponse
- func (o *ListCredentialsResponse) GetCredentialsOk() ([]CredentialsResponse, bool)
- func (o *ListCredentialsResponse) HasCredentials() bool
- func (o ListCredentialsResponse) MarshalJSON() ([]byte, error)
- func (o *ListCredentialsResponse) SetCredentials(v []CredentialsResponse)
- func (o ListCredentialsResponse) ToMap() (map[string]interface{}, error)
- type ListLoadBalancersResponse
- func (o *ListLoadBalancersResponse) GetLoadBalancers() []LoadBalancer
- func (o *ListLoadBalancersResponse) GetLoadBalancersOk() ([]LoadBalancer, bool)
- func (o *ListLoadBalancersResponse) GetNextPageId() string
- func (o *ListLoadBalancersResponse) GetNextPageIdOk() (*string, bool)
- func (o *ListLoadBalancersResponse) HasLoadBalancers() bool
- func (o *ListLoadBalancersResponse) HasNextPageId() bool
- func (o ListLoadBalancersResponse) MarshalJSON() ([]byte, error)
- func (o *ListLoadBalancersResponse) SetLoadBalancers(v []LoadBalancer)
- func (o *ListLoadBalancersResponse) SetNextPageId(v string)
- func (o ListLoadBalancersResponse) ToMap() (map[string]interface{}, error)
- type ListPlansResponse
- func (o *ListPlansResponse) GetValidPlans() []PlanDetails
- func (o *ListPlansResponse) GetValidPlansOk() ([]PlanDetails, bool)
- func (o *ListPlansResponse) HasValidPlans() bool
- func (o ListPlansResponse) MarshalJSON() ([]byte, error)
- func (o *ListPlansResponse) SetValidPlans(v []PlanDetails)
- func (o ListPlansResponse) ToMap() (map[string]interface{}, error)
- type Listener
- func (o *Listener) GetDisplayName() string
- func (o *Listener) GetDisplayNameOk() (*string, bool)
- func (o *Listener) GetName() string
- func (o *Listener) GetNameOk() (*string, bool)
- func (o *Listener) GetPort() int32
- func (o *Listener) GetPortOk() (*int32, bool)
- func (o *Listener) GetProtocol() string
- func (o *Listener) GetProtocolOk() (*string, bool)
- func (o *Listener) GetServerNameIndicators() []ServerNameIndicator
- func (o *Listener) GetServerNameIndicatorsOk() ([]ServerNameIndicator, bool)
- func (o *Listener) GetTargetPool() string
- func (o *Listener) GetTargetPoolOk() (*string, bool)
- func (o *Listener) GetTcp() OptionsTCP
- func (o *Listener) GetTcpOk() (*OptionsTCP, bool)
- func (o *Listener) GetUdp() OptionsUDP
- func (o *Listener) GetUdpOk() (*OptionsUDP, bool)
- func (o *Listener) HasDisplayName() bool
- func (o *Listener) HasName() bool
- func (o *Listener) HasPort() bool
- func (o *Listener) HasProtocol() bool
- func (o *Listener) HasServerNameIndicators() bool
- func (o *Listener) HasTargetPool() bool
- func (o *Listener) HasTcp() bool
- func (o *Listener) HasUdp() bool
- func (o Listener) MarshalJSON() ([]byte, error)
- func (o *Listener) SetDisplayName(v string)
- func (o *Listener) SetName(v string)
- func (o *Listener) SetPort(v int32)
- func (o *Listener) SetProtocol(v string)
- func (o *Listener) SetServerNameIndicators(v []ServerNameIndicator)
- func (o *Listener) SetTargetPool(v string)
- func (o *Listener) SetTcp(v OptionsTCP)
- func (o *Listener) SetUdp(v OptionsUDP)
- func (o Listener) ToMap() (map[string]interface{}, error)
- type LoadBalancer
- func (o *LoadBalancer) GetDisableTargetSecurityGroupAssignment() bool
- func (o *LoadBalancer) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
- func (o *LoadBalancer) GetErrors() []LoadBalancerError
- func (o *LoadBalancer) GetErrorsOk() ([]LoadBalancerError, bool)
- func (o *LoadBalancer) GetExternalAddress() string
- func (o *LoadBalancer) GetExternalAddressOk() (*string, bool)
- func (o *LoadBalancer) GetLabels() map[string]string
- func (o *LoadBalancer) GetLabelsOk() (*map[string]string, bool)
- func (o *LoadBalancer) GetListeners() []Listener
- func (o *LoadBalancer) GetListenersOk() ([]Listener, bool)
- func (o *LoadBalancer) GetLoadBalancerSecurityGroup() SecurityGroup
- func (o *LoadBalancer) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
- func (o *LoadBalancer) GetName() string
- func (o *LoadBalancer) GetNameOk() (*string, bool)
- func (o *LoadBalancer) GetNetworks() []Network
- func (o *LoadBalancer) GetNetworksOk() ([]Network, bool)
- func (o *LoadBalancer) GetOptions() LoadBalancerOptions
- func (o *LoadBalancer) GetOptionsOk() (*LoadBalancerOptions, bool)
- func (o *LoadBalancer) GetPlanId() string
- func (o *LoadBalancer) GetPlanIdOk() (*string, bool)
- func (o *LoadBalancer) GetPrivateAddress() string
- func (o *LoadBalancer) GetPrivateAddressOk() (*string, bool)
- func (o *LoadBalancer) GetRegion() string
- func (o *LoadBalancer) GetRegionOk() (*string, bool)
- func (o *LoadBalancer) GetStatus() string
- func (o *LoadBalancer) GetStatusOk() (*string, bool)
- func (o *LoadBalancer) GetTargetPools() []TargetPool
- func (o *LoadBalancer) GetTargetPoolsOk() ([]TargetPool, bool)
- func (o *LoadBalancer) GetTargetSecurityGroup() SecurityGroup
- func (o *LoadBalancer) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
- func (o *LoadBalancer) GetVersion() string
- func (o *LoadBalancer) GetVersionOk() (*string, bool)
- func (o *LoadBalancer) HasDisableTargetSecurityGroupAssignment() bool
- func (o *LoadBalancer) HasErrors() bool
- func (o *LoadBalancer) HasExternalAddress() bool
- func (o *LoadBalancer) HasLabels() bool
- func (o *LoadBalancer) HasListeners() bool
- func (o *LoadBalancer) HasLoadBalancerSecurityGroup() bool
- func (o *LoadBalancer) HasName() bool
- func (o *LoadBalancer) HasNetworks() bool
- func (o *LoadBalancer) HasOptions() bool
- func (o *LoadBalancer) HasPlanId() bool
- func (o *LoadBalancer) HasPrivateAddress() bool
- func (o *LoadBalancer) HasRegion() bool
- func (o *LoadBalancer) HasStatus() bool
- func (o *LoadBalancer) HasTargetPools() bool
- func (o *LoadBalancer) HasTargetSecurityGroup() bool
- func (o *LoadBalancer) HasVersion() bool
- func (o LoadBalancer) MarshalJSON() ([]byte, error)
- func (o *LoadBalancer) SetDisableTargetSecurityGroupAssignment(v bool)
- func (o *LoadBalancer) SetErrors(v []LoadBalancerError)
- func (o *LoadBalancer) SetExternalAddress(v string)
- func (o *LoadBalancer) SetLabels(v map[string]string)
- func (o *LoadBalancer) SetListeners(v []Listener)
- func (o *LoadBalancer) SetLoadBalancerSecurityGroup(v SecurityGroup)
- func (o *LoadBalancer) SetName(v string)
- func (o *LoadBalancer) SetNetworks(v []Network)
- func (o *LoadBalancer) SetOptions(v LoadBalancerOptions)
- func (o *LoadBalancer) SetPlanId(v string)
- func (o *LoadBalancer) SetPrivateAddress(v string)
- func (o *LoadBalancer) SetRegion(v string)
- func (o *LoadBalancer) SetStatus(v string)
- func (o *LoadBalancer) SetTargetPools(v []TargetPool)
- func (o *LoadBalancer) SetTargetSecurityGroup(v SecurityGroup)
- func (o *LoadBalancer) SetVersion(v string)
- func (o LoadBalancer) ToMap() (map[string]interface{}, error)
- type LoadBalancerError
- func (o *LoadBalancerError) GetDescription() string
- func (o *LoadBalancerError) GetDescriptionOk() (*string, bool)
- func (o *LoadBalancerError) GetType() string
- func (o *LoadBalancerError) GetTypeOk() (*string, bool)
- func (o *LoadBalancerError) HasDescription() bool
- func (o *LoadBalancerError) HasType() bool
- func (o LoadBalancerError) MarshalJSON() ([]byte, error)
- func (o *LoadBalancerError) SetDescription(v string)
- func (o *LoadBalancerError) SetType(v string)
- func (o LoadBalancerError) ToMap() (map[string]interface{}, error)
- type LoadBalancerOptions
- func (o *LoadBalancerOptions) GetAccessControl() LoadbalancerOptionAccessControl
- func (o *LoadBalancerOptions) GetAccessControlOk() (*LoadbalancerOptionAccessControl, bool)
- func (o *LoadBalancerOptions) GetEphemeralAddress() bool
- func (o *LoadBalancerOptions) GetEphemeralAddressOk() (*bool, bool)
- func (o *LoadBalancerOptions) GetObservability() LoadbalancerOptionObservability
- func (o *LoadBalancerOptions) GetObservabilityOk() (*LoadbalancerOptionObservability, bool)
- func (o *LoadBalancerOptions) GetPrivateNetworkOnly() bool
- func (o *LoadBalancerOptions) GetPrivateNetworkOnlyOk() (*bool, bool)
- func (o *LoadBalancerOptions) HasAccessControl() bool
- func (o *LoadBalancerOptions) HasEphemeralAddress() bool
- func (o *LoadBalancerOptions) HasObservability() bool
- func (o *LoadBalancerOptions) HasPrivateNetworkOnly() bool
- func (o LoadBalancerOptions) MarshalJSON() ([]byte, error)
- func (o *LoadBalancerOptions) SetAccessControl(v LoadbalancerOptionAccessControl)
- func (o *LoadBalancerOptions) SetEphemeralAddress(v bool)
- func (o *LoadBalancerOptions) SetObservability(v LoadbalancerOptionObservability)
- func (o *LoadBalancerOptions) SetPrivateNetworkOnly(v bool)
- func (o LoadBalancerOptions) ToMap() (map[string]interface{}, error)
- type LoadbalancerOptionAccessControl
- func (o *LoadbalancerOptionAccessControl) GetAllowedSourceRanges() []string
- func (o *LoadbalancerOptionAccessControl) GetAllowedSourceRangesOk() ([]string, bool)
- func (o *LoadbalancerOptionAccessControl) HasAllowedSourceRanges() bool
- func (o LoadbalancerOptionAccessControl) MarshalJSON() ([]byte, error)
- func (o *LoadbalancerOptionAccessControl) SetAllowedSourceRanges(v []string)
- func (o LoadbalancerOptionAccessControl) ToMap() (map[string]interface{}, error)
- type LoadbalancerOptionLogs
- func (o *LoadbalancerOptionLogs) GetCredentialsRef() string
- func (o *LoadbalancerOptionLogs) GetCredentialsRefOk() (*string, bool)
- func (o *LoadbalancerOptionLogs) GetPushUrl() string
- func (o *LoadbalancerOptionLogs) GetPushUrlOk() (*string, bool)
- func (o *LoadbalancerOptionLogs) HasCredentialsRef() bool
- func (o *LoadbalancerOptionLogs) HasPushUrl() bool
- func (o LoadbalancerOptionLogs) MarshalJSON() ([]byte, error)
- func (o *LoadbalancerOptionLogs) SetCredentialsRef(v string)
- func (o *LoadbalancerOptionLogs) SetPushUrl(v string)
- func (o LoadbalancerOptionLogs) ToMap() (map[string]interface{}, error)
- type LoadbalancerOptionMetrics
- func (o *LoadbalancerOptionMetrics) GetCredentialsRef() string
- func (o *LoadbalancerOptionMetrics) GetCredentialsRefOk() (*string, bool)
- func (o *LoadbalancerOptionMetrics) GetPushUrl() string
- func (o *LoadbalancerOptionMetrics) GetPushUrlOk() (*string, bool)
- func (o *LoadbalancerOptionMetrics) HasCredentialsRef() bool
- func (o *LoadbalancerOptionMetrics) HasPushUrl() bool
- func (o LoadbalancerOptionMetrics) MarshalJSON() ([]byte, error)
- func (o *LoadbalancerOptionMetrics) SetCredentialsRef(v string)
- func (o *LoadbalancerOptionMetrics) SetPushUrl(v string)
- func (o LoadbalancerOptionMetrics) ToMap() (map[string]interface{}, error)
- type LoadbalancerOptionObservability
- func (o *LoadbalancerOptionObservability) GetLogs() LoadbalancerOptionLogs
- func (o *LoadbalancerOptionObservability) GetLogsOk() (*LoadbalancerOptionLogs, bool)
- func (o *LoadbalancerOptionObservability) GetMetrics() LoadbalancerOptionMetrics
- func (o *LoadbalancerOptionObservability) GetMetricsOk() (*LoadbalancerOptionMetrics, bool)
- func (o *LoadbalancerOptionObservability) HasLogs() bool
- func (o *LoadbalancerOptionObservability) HasMetrics() bool
- func (o LoadbalancerOptionObservability) MarshalJSON() ([]byte, error)
- func (o *LoadbalancerOptionObservability) SetLogs(v LoadbalancerOptionLogs)
- func (o *LoadbalancerOptionObservability) SetMetrics(v LoadbalancerOptionMetrics)
- func (o LoadbalancerOptionObservability) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Network
- func (o *Network) GetNetworkId() string
- func (o *Network) GetNetworkIdOk() (*string, bool)
- func (o *Network) GetRole() string
- func (o *Network) GetRoleOk() (*string, bool)
- func (o *Network) HasNetworkId() bool
- func (o *Network) HasRole() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetNetworkId(v string)
- func (o *Network) SetRole(v string)
- func (o Network) ToMap() (map[string]interface{}, error)
- type NullableActiveHealthCheck
- func (v NullableActiveHealthCheck) Get() *ActiveHealthCheck
- func (v NullableActiveHealthCheck) IsSet() bool
- func (v NullableActiveHealthCheck) MarshalJSON() ([]byte, error)
- func (v *NullableActiveHealthCheck) Set(val *ActiveHealthCheck)
- func (v *NullableActiveHealthCheck) UnmarshalJSON(src []byte) error
- func (v *NullableActiveHealthCheck) Unset()
- type NullableBool
- type NullableCreateCredentialsPayload
- func (v NullableCreateCredentialsPayload) Get() *CreateCredentialsPayload
- func (v NullableCreateCredentialsPayload) IsSet() bool
- func (v NullableCreateCredentialsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCredentialsPayload) Set(val *CreateCredentialsPayload)
- func (v *NullableCreateCredentialsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCredentialsPayload) Unset()
- type NullableCreateCredentialsResponse
- func (v NullableCreateCredentialsResponse) Get() *CreateCredentialsResponse
- func (v NullableCreateCredentialsResponse) IsSet() bool
- func (v NullableCreateCredentialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCredentialsResponse) Set(val *CreateCredentialsResponse)
- func (v *NullableCreateCredentialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCredentialsResponse) Unset()
- type NullableCreateLoadBalancerPayload
- func (v NullableCreateLoadBalancerPayload) Get() *CreateLoadBalancerPayload
- func (v NullableCreateLoadBalancerPayload) IsSet() bool
- func (v NullableCreateLoadBalancerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLoadBalancerPayload) Set(val *CreateLoadBalancerPayload)
- func (v *NullableCreateLoadBalancerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLoadBalancerPayload) Unset()
- type NullableCredentialsResponse
- func (v NullableCredentialsResponse) Get() *CredentialsResponse
- func (v NullableCredentialsResponse) IsSet() bool
- func (v NullableCredentialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCredentialsResponse) Set(val *CredentialsResponse)
- func (v *NullableCredentialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCredentialsResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetCredentialsResponse
- func (v NullableGetCredentialsResponse) Get() *GetCredentialsResponse
- func (v NullableGetCredentialsResponse) IsSet() bool
- func (v NullableGetCredentialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCredentialsResponse) Set(val *GetCredentialsResponse)
- func (v *NullableGetCredentialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCredentialsResponse) Unset()
- type NullableGetQuotaResponse
- func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
- func (v NullableGetQuotaResponse) IsSet() bool
- func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
- func (v *NullableGetQuotaResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetQuotaResponse) Unset()
- type NullableGoogleProtobufAny
- func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
- func (v NullableGoogleProtobufAny) IsSet() bool
- func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
- func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableGoogleProtobufAny) Unset()
- type NullableHttpHealthChecks
- func (v NullableHttpHealthChecks) Get() *HttpHealthChecks
- func (v NullableHttpHealthChecks) IsSet() bool
- func (v NullableHttpHealthChecks) MarshalJSON() ([]byte, error)
- func (v *NullableHttpHealthChecks) Set(val *HttpHealthChecks)
- func (v *NullableHttpHealthChecks) UnmarshalJSON(src []byte) error
- func (v *NullableHttpHealthChecks) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCredentialsResponse
- func (v NullableListCredentialsResponse) Get() *ListCredentialsResponse
- func (v NullableListCredentialsResponse) IsSet() bool
- func (v NullableListCredentialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCredentialsResponse) Set(val *ListCredentialsResponse)
- func (v *NullableListCredentialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCredentialsResponse) Unset()
- type NullableListLoadBalancersResponse
- func (v NullableListLoadBalancersResponse) Get() *ListLoadBalancersResponse
- func (v NullableListLoadBalancersResponse) IsSet() bool
- func (v NullableListLoadBalancersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListLoadBalancersResponse) Set(val *ListLoadBalancersResponse)
- func (v *NullableListLoadBalancersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListLoadBalancersResponse) Unset()
- type NullableListPlansResponse
- func (v NullableListPlansResponse) Get() *ListPlansResponse
- func (v NullableListPlansResponse) IsSet() bool
- func (v NullableListPlansResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListPlansResponse) Set(val *ListPlansResponse)
- func (v *NullableListPlansResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListPlansResponse) Unset()
- type NullableListener
- type NullableLoadBalancer
- func (v NullableLoadBalancer) Get() *LoadBalancer
- func (v NullableLoadBalancer) IsSet() bool
- func (v NullableLoadBalancer) MarshalJSON() ([]byte, error)
- func (v *NullableLoadBalancer) Set(val *LoadBalancer)
- func (v *NullableLoadBalancer) UnmarshalJSON(src []byte) error
- func (v *NullableLoadBalancer) Unset()
- type NullableLoadBalancerError
- func (v NullableLoadBalancerError) Get() *LoadBalancerError
- func (v NullableLoadBalancerError) IsSet() bool
- func (v NullableLoadBalancerError) MarshalJSON() ([]byte, error)
- func (v *NullableLoadBalancerError) Set(val *LoadBalancerError)
- func (v *NullableLoadBalancerError) UnmarshalJSON(src []byte) error
- func (v *NullableLoadBalancerError) Unset()
- type NullableLoadBalancerOptions
- func (v NullableLoadBalancerOptions) Get() *LoadBalancerOptions
- func (v NullableLoadBalancerOptions) IsSet() bool
- func (v NullableLoadBalancerOptions) MarshalJSON() ([]byte, error)
- func (v *NullableLoadBalancerOptions) Set(val *LoadBalancerOptions)
- func (v *NullableLoadBalancerOptions) UnmarshalJSON(src []byte) error
- func (v *NullableLoadBalancerOptions) Unset()
- type NullableLoadbalancerOptionAccessControl
- func (v NullableLoadbalancerOptionAccessControl) Get() *LoadbalancerOptionAccessControl
- func (v NullableLoadbalancerOptionAccessControl) IsSet() bool
- func (v NullableLoadbalancerOptionAccessControl) MarshalJSON() ([]byte, error)
- func (v *NullableLoadbalancerOptionAccessControl) Set(val *LoadbalancerOptionAccessControl)
- func (v *NullableLoadbalancerOptionAccessControl) UnmarshalJSON(src []byte) error
- func (v *NullableLoadbalancerOptionAccessControl) Unset()
- type NullableLoadbalancerOptionLogs
- func (v NullableLoadbalancerOptionLogs) Get() *LoadbalancerOptionLogs
- func (v NullableLoadbalancerOptionLogs) IsSet() bool
- func (v NullableLoadbalancerOptionLogs) MarshalJSON() ([]byte, error)
- func (v *NullableLoadbalancerOptionLogs) Set(val *LoadbalancerOptionLogs)
- func (v *NullableLoadbalancerOptionLogs) UnmarshalJSON(src []byte) error
- func (v *NullableLoadbalancerOptionLogs) Unset()
- type NullableLoadbalancerOptionMetrics
- func (v NullableLoadbalancerOptionMetrics) Get() *LoadbalancerOptionMetrics
- func (v NullableLoadbalancerOptionMetrics) IsSet() bool
- func (v NullableLoadbalancerOptionMetrics) MarshalJSON() ([]byte, error)
- func (v *NullableLoadbalancerOptionMetrics) Set(val *LoadbalancerOptionMetrics)
- func (v *NullableLoadbalancerOptionMetrics) UnmarshalJSON(src []byte) error
- func (v *NullableLoadbalancerOptionMetrics) Unset()
- type NullableLoadbalancerOptionObservability
- func (v NullableLoadbalancerOptionObservability) Get() *LoadbalancerOptionObservability
- func (v NullableLoadbalancerOptionObservability) IsSet() bool
- func (v NullableLoadbalancerOptionObservability) MarshalJSON() ([]byte, error)
- func (v *NullableLoadbalancerOptionObservability) Set(val *LoadbalancerOptionObservability)
- func (v *NullableLoadbalancerOptionObservability) UnmarshalJSON(src []byte) error
- func (v *NullableLoadbalancerOptionObservability) Unset()
- type NullableNetwork
- type NullableOptionsTCP
- type NullableOptionsUDP
- type NullablePlanDetails
- func (v NullablePlanDetails) Get() *PlanDetails
- func (v NullablePlanDetails) IsSet() bool
- func (v NullablePlanDetails) MarshalJSON() ([]byte, error)
- func (v *NullablePlanDetails) Set(val *PlanDetails)
- func (v *NullablePlanDetails) UnmarshalJSON(src []byte) error
- func (v *NullablePlanDetails) Unset()
- type NullableSecurityGroup
- func (v NullableSecurityGroup) Get() *SecurityGroup
- func (v NullableSecurityGroup) IsSet() bool
- func (v NullableSecurityGroup) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroup) Set(val *SecurityGroup)
- func (v *NullableSecurityGroup) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroup) Unset()
- type NullableServerNameIndicator
- func (v NullableServerNameIndicator) Get() *ServerNameIndicator
- func (v NullableServerNameIndicator) IsSet() bool
- func (v NullableServerNameIndicator) MarshalJSON() ([]byte, error)
- func (v *NullableServerNameIndicator) Set(val *ServerNameIndicator)
- func (v *NullableServerNameIndicator) UnmarshalJSON(src []byte) error
- func (v *NullableServerNameIndicator) Unset()
- type NullableSessionPersistence
- func (v NullableSessionPersistence) Get() *SessionPersistence
- func (v NullableSessionPersistence) IsSet() bool
- func (v NullableSessionPersistence) MarshalJSON() ([]byte, error)
- func (v *NullableSessionPersistence) Set(val *SessionPersistence)
- func (v *NullableSessionPersistence) UnmarshalJSON(src []byte) error
- func (v *NullableSessionPersistence) Unset()
- type NullableStatus
- type NullableString
- type NullableTarget
- type NullableTargetPool
- type NullableTime
- type NullableTlsConfig
- type NullableUpdateCredentialsPayload
- func (v NullableUpdateCredentialsPayload) Get() *UpdateCredentialsPayload
- func (v NullableUpdateCredentialsPayload) IsSet() bool
- func (v NullableUpdateCredentialsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCredentialsPayload) Set(val *UpdateCredentialsPayload)
- func (v *NullableUpdateCredentialsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCredentialsPayload) Unset()
- type NullableUpdateCredentialsResponse
- func (v NullableUpdateCredentialsResponse) Get() *UpdateCredentialsResponse
- func (v NullableUpdateCredentialsResponse) IsSet() bool
- func (v NullableUpdateCredentialsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCredentialsResponse) Set(val *UpdateCredentialsResponse)
- func (v *NullableUpdateCredentialsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCredentialsResponse) Unset()
- type NullableUpdateLoadBalancerPayload
- func (v NullableUpdateLoadBalancerPayload) Get() *UpdateLoadBalancerPayload
- func (v NullableUpdateLoadBalancerPayload) IsSet() bool
- func (v NullableUpdateLoadBalancerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateLoadBalancerPayload) Set(val *UpdateLoadBalancerPayload)
- func (v *NullableUpdateLoadBalancerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateLoadBalancerPayload) Unset()
- type NullableUpdateTargetPoolPayload
- func (v NullableUpdateTargetPoolPayload) Get() *UpdateTargetPoolPayload
- func (v NullableUpdateTargetPoolPayload) IsSet() bool
- func (v NullableUpdateTargetPoolPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateTargetPoolPayload) Set(val *UpdateTargetPoolPayload)
- func (v *NullableUpdateTargetPoolPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateTargetPoolPayload) Unset()
- type OptionsTCP
- type OptionsUDP
- type PlanDetails
- func (o *PlanDetails) GetDescription() string
- func (o *PlanDetails) GetDescriptionOk() (*string, bool)
- func (o *PlanDetails) GetFlavorName() string
- func (o *PlanDetails) GetFlavorNameOk() (*string, bool)
- func (o *PlanDetails) GetMaxConnections() int32
- func (o *PlanDetails) GetMaxConnectionsOk() (*int32, bool)
- func (o *PlanDetails) GetName() string
- func (o *PlanDetails) GetNameOk() (*string, bool)
- func (o *PlanDetails) GetPlanId() string
- func (o *PlanDetails) GetPlanIdOk() (*string, bool)
- func (o *PlanDetails) GetRegion() string
- func (o *PlanDetails) GetRegionOk() (*string, bool)
- func (o *PlanDetails) HasDescription() bool
- func (o *PlanDetails) HasFlavorName() bool
- func (o *PlanDetails) HasMaxConnections() bool
- func (o *PlanDetails) HasName() bool
- func (o *PlanDetails) HasPlanId() bool
- func (o *PlanDetails) HasRegion() bool
- func (o PlanDetails) MarshalJSON() ([]byte, error)
- func (o *PlanDetails) SetDescription(v string)
- func (o *PlanDetails) SetFlavorName(v string)
- func (o *PlanDetails) SetMaxConnections(v int32)
- func (o *PlanDetails) SetName(v string)
- func (o *PlanDetails) SetPlanId(v string)
- func (o *PlanDetails) SetRegion(v string)
- func (o PlanDetails) ToMap() (map[string]interface{}, error)
- type SecurityGroup
- func (o *SecurityGroup) GetId() string
- func (o *SecurityGroup) GetIdOk() (*string, bool)
- func (o *SecurityGroup) GetName() string
- func (o *SecurityGroup) GetNameOk() (*string, bool)
- func (o *SecurityGroup) HasId() bool
- func (o *SecurityGroup) HasName() bool
- func (o SecurityGroup) MarshalJSON() ([]byte, error)
- func (o *SecurityGroup) SetId(v string)
- func (o *SecurityGroup) SetName(v string)
- func (o SecurityGroup) ToMap() (map[string]interface{}, error)
- type ServerNameIndicator
- func (o *ServerNameIndicator) GetName() string
- func (o *ServerNameIndicator) GetNameOk() (*string, bool)
- func (o *ServerNameIndicator) HasName() bool
- func (o ServerNameIndicator) MarshalJSON() ([]byte, error)
- func (o *ServerNameIndicator) SetName(v string)
- func (o ServerNameIndicator) ToMap() (map[string]interface{}, error)
- type SessionPersistence
- func (o *SessionPersistence) GetUseSourceIpAddress() bool
- func (o *SessionPersistence) GetUseSourceIpAddressOk() (*bool, bool)
- func (o *SessionPersistence) HasUseSourceIpAddress() bool
- func (o SessionPersistence) MarshalJSON() ([]byte, error)
- func (o *SessionPersistence) SetUseSourceIpAddress(v bool)
- func (o SessionPersistence) ToMap() (map[string]interface{}, error)
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []GoogleProtobufAny
- func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []GoogleProtobufAny)
- func (o *Status) SetMessage(v string)
- func (o Status) ToMap() (map[string]interface{}, error)
- type Target
- func (o *Target) GetDisplayName() string
- func (o *Target) GetDisplayNameOk() (*string, bool)
- func (o *Target) GetIp() string
- func (o *Target) GetIpOk() (*string, bool)
- func (o *Target) HasDisplayName() bool
- func (o *Target) HasIp() bool
- func (o Target) MarshalJSON() ([]byte, error)
- func (o *Target) SetDisplayName(v string)
- func (o *Target) SetIp(v string)
- func (o Target) ToMap() (map[string]interface{}, error)
- type TargetPool
- func (o *TargetPool) GetActiveHealthCheck() ActiveHealthCheck
- func (o *TargetPool) GetActiveHealthCheckOk() (*ActiveHealthCheck, bool)
- func (o *TargetPool) GetName() string
- func (o *TargetPool) GetNameOk() (*string, bool)
- func (o *TargetPool) GetSessionPersistence() SessionPersistence
- func (o *TargetPool) GetSessionPersistenceOk() (*SessionPersistence, bool)
- func (o *TargetPool) GetTargetPort() int32
- func (o *TargetPool) GetTargetPortOk() (*int32, bool)
- func (o *TargetPool) GetTargets() []Target
- func (o *TargetPool) GetTargetsOk() ([]Target, bool)
- func (o *TargetPool) HasActiveHealthCheck() bool
- func (o *TargetPool) HasName() bool
- func (o *TargetPool) HasSessionPersistence() bool
- func (o *TargetPool) HasTargetPort() bool
- func (o *TargetPool) HasTargets() bool
- func (o TargetPool) MarshalJSON() ([]byte, error)
- func (o *TargetPool) SetActiveHealthCheck(v ActiveHealthCheck)
- func (o *TargetPool) SetName(v string)
- func (o *TargetPool) SetSessionPersistence(v SessionPersistence)
- func (o *TargetPool) SetTargetPort(v int32)
- func (o *TargetPool) SetTargets(v []Target)
- func (o TargetPool) ToMap() (map[string]interface{}, error)
- type TlsConfig
- func (o *TlsConfig) GetCustomCa() string
- func (o *TlsConfig) GetCustomCaOk() (*string, bool)
- func (o *TlsConfig) GetEnabled() bool
- func (o *TlsConfig) GetEnabledOk() (*bool, bool)
- func (o *TlsConfig) GetSkipCertificateValidation() bool
- func (o *TlsConfig) GetSkipCertificateValidationOk() (*bool, bool)
- func (o *TlsConfig) HasCustomCa() bool
- func (o *TlsConfig) HasEnabled() bool
- func (o *TlsConfig) HasSkipCertificateValidation() bool
- func (o TlsConfig) MarshalJSON() ([]byte, error)
- func (o *TlsConfig) SetCustomCa(v string)
- func (o *TlsConfig) SetEnabled(v bool)
- func (o *TlsConfig) SetSkipCertificateValidation(v bool)
- func (o TlsConfig) ToMap() (map[string]interface{}, error)
- type UpdateCredentialsPayload
- func (o *UpdateCredentialsPayload) GetDisplayName() string
- func (o *UpdateCredentialsPayload) GetDisplayNameOk() (*string, bool)
- func (o *UpdateCredentialsPayload) GetPassword() string
- func (o *UpdateCredentialsPayload) GetPasswordOk() (*string, bool)
- func (o *UpdateCredentialsPayload) GetUsername() string
- func (o *UpdateCredentialsPayload) GetUsernameOk() (*string, bool)
- func (o *UpdateCredentialsPayload) HasDisplayName() bool
- func (o *UpdateCredentialsPayload) HasPassword() bool
- func (o *UpdateCredentialsPayload) HasUsername() bool
- func (o UpdateCredentialsPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateCredentialsPayload) SetDisplayName(v string)
- func (o *UpdateCredentialsPayload) SetPassword(v string)
- func (o *UpdateCredentialsPayload) SetUsername(v string)
- func (o UpdateCredentialsPayload) ToMap() (map[string]interface{}, error)
- type UpdateCredentialsResponse
- func (o *UpdateCredentialsResponse) GetCredential() CredentialsResponse
- func (o *UpdateCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
- func (o *UpdateCredentialsResponse) HasCredential() bool
- func (o UpdateCredentialsResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateCredentialsResponse) SetCredential(v CredentialsResponse)
- func (o UpdateCredentialsResponse) ToMap() (map[string]interface{}, error)
- type UpdateLoadBalancerPayload
- func (o *UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment() bool
- func (o *UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
- func (o *UpdateLoadBalancerPayload) GetErrors() []LoadBalancerError
- func (o *UpdateLoadBalancerPayload) GetErrorsOk() ([]LoadBalancerError, bool)
- func (o *UpdateLoadBalancerPayload) GetExternalAddress() string
- func (o *UpdateLoadBalancerPayload) GetExternalAddressOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetLabels() map[string]string
- func (o *UpdateLoadBalancerPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateLoadBalancerPayload) GetListeners() []Listener
- func (o *UpdateLoadBalancerPayload) GetListenersOk() ([]Listener, bool)
- func (o *UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroup() SecurityGroup
- func (o *UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
- func (o *UpdateLoadBalancerPayload) GetName() string
- func (o *UpdateLoadBalancerPayload) GetNameOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetNetworks() []Network
- func (o *UpdateLoadBalancerPayload) GetNetworksOk() ([]Network, bool)
- func (o *UpdateLoadBalancerPayload) GetOptions() LoadBalancerOptions
- func (o *UpdateLoadBalancerPayload) GetOptionsOk() (*LoadBalancerOptions, bool)
- func (o *UpdateLoadBalancerPayload) GetPlanId() string
- func (o *UpdateLoadBalancerPayload) GetPlanIdOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetPrivateAddress() string
- func (o *UpdateLoadBalancerPayload) GetPrivateAddressOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetRegion() string
- func (o *UpdateLoadBalancerPayload) GetRegionOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetStatus() string
- func (o *UpdateLoadBalancerPayload) GetStatusOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) GetTargetPools() []TargetPool
- func (o *UpdateLoadBalancerPayload) GetTargetPoolsOk() ([]TargetPool, bool)
- func (o *UpdateLoadBalancerPayload) GetTargetSecurityGroup() SecurityGroup
- func (o *UpdateLoadBalancerPayload) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
- func (o *UpdateLoadBalancerPayload) GetVersion() string
- func (o *UpdateLoadBalancerPayload) GetVersionOk() (*string, bool)
- func (o *UpdateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment() bool
- func (o *UpdateLoadBalancerPayload) HasErrors() bool
- func (o *UpdateLoadBalancerPayload) HasExternalAddress() bool
- func (o *UpdateLoadBalancerPayload) HasLabels() bool
- func (o *UpdateLoadBalancerPayload) HasListeners() bool
- func (o *UpdateLoadBalancerPayload) HasLoadBalancerSecurityGroup() bool
- func (o *UpdateLoadBalancerPayload) HasName() bool
- func (o *UpdateLoadBalancerPayload) HasNetworks() bool
- func (o *UpdateLoadBalancerPayload) HasOptions() bool
- func (o *UpdateLoadBalancerPayload) HasPlanId() bool
- func (o *UpdateLoadBalancerPayload) HasPrivateAddress() bool
- func (o *UpdateLoadBalancerPayload) HasRegion() bool
- func (o *UpdateLoadBalancerPayload) HasStatus() bool
- func (o *UpdateLoadBalancerPayload) HasTargetPools() bool
- func (o *UpdateLoadBalancerPayload) HasTargetSecurityGroup() bool
- func (o *UpdateLoadBalancerPayload) HasVersion() bool
- func (o UpdateLoadBalancerPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment(v bool)
- func (o *UpdateLoadBalancerPayload) SetErrors(v []LoadBalancerError)
- func (o *UpdateLoadBalancerPayload) SetExternalAddress(v string)
- func (o *UpdateLoadBalancerPayload) SetLabels(v map[string]string)
- func (o *UpdateLoadBalancerPayload) SetListeners(v []Listener)
- func (o *UpdateLoadBalancerPayload) SetLoadBalancerSecurityGroup(v SecurityGroup)
- func (o *UpdateLoadBalancerPayload) SetName(v string)
- func (o *UpdateLoadBalancerPayload) SetNetworks(v []Network)
- func (o *UpdateLoadBalancerPayload) SetOptions(v LoadBalancerOptions)
- func (o *UpdateLoadBalancerPayload) SetPlanId(v string)
- func (o *UpdateLoadBalancerPayload) SetPrivateAddress(v string)
- func (o *UpdateLoadBalancerPayload) SetRegion(v string)
- func (o *UpdateLoadBalancerPayload) SetStatus(v string)
- func (o *UpdateLoadBalancerPayload) SetTargetPools(v []TargetPool)
- func (o *UpdateLoadBalancerPayload) SetTargetSecurityGroup(v SecurityGroup)
- func (o *UpdateLoadBalancerPayload) SetVersion(v string)
- func (o UpdateLoadBalancerPayload) ToMap() (map[string]interface{}, error)
- type UpdateTargetPoolPayload
- func (o *UpdateTargetPoolPayload) GetActiveHealthCheck() ActiveHealthCheck
- func (o *UpdateTargetPoolPayload) GetActiveHealthCheckOk() (*ActiveHealthCheck, bool)
- func (o *UpdateTargetPoolPayload) GetName() string
- func (o *UpdateTargetPoolPayload) GetNameOk() (*string, bool)
- func (o *UpdateTargetPoolPayload) GetSessionPersistence() SessionPersistence
- func (o *UpdateTargetPoolPayload) GetSessionPersistenceOk() (*SessionPersistence, bool)
- func (o *UpdateTargetPoolPayload) GetTargetPort() int32
- func (o *UpdateTargetPoolPayload) GetTargetPortOk() (*int32, bool)
- func (o *UpdateTargetPoolPayload) GetTargets() []Target
- func (o *UpdateTargetPoolPayload) GetTargetsOk() ([]Target, bool)
- func (o *UpdateTargetPoolPayload) HasActiveHealthCheck() bool
- func (o *UpdateTargetPoolPayload) HasName() bool
- func (o *UpdateTargetPoolPayload) HasSessionPersistence() bool
- func (o *UpdateTargetPoolPayload) HasTargetPort() bool
- func (o *UpdateTargetPoolPayload) HasTargets() bool
- func (o UpdateTargetPoolPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateTargetPoolPayload) SetActiveHealthCheck(v ActiveHealthCheck)
- func (o *UpdateTargetPoolPayload) SetName(v string)
- func (o *UpdateTargetPoolPayload) SetSessionPersistence(v SessionPersistence)
- func (o *UpdateTargetPoolPayload) SetTargetPort(v int32)
- func (o *UpdateTargetPoolPayload) SetTargets(v []Target)
- func (o UpdateTargetPoolPayload) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Network Load Balancer API API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ActiveHealthCheck ¶
type ActiveHealthCheck struct {
// Overrides the default port used for health check probes.
AltPort *int32 `json:"altPort,omitempty"`
// Healthy threshold of the health checking
HealthyThreshold *int32 `json:"healthyThreshold,omitempty"`
HttpHealthChecks *HttpHealthChecks `json:"httpHealthChecks,omitempty"`
// Interval duration of health checking in seconds
Interval *string `json:"interval,omitempty" validate:"regexp=^-?(?:0|[1-9][0-9]{0,11})(?:\\\\.[0-9]{1,9})?s$"`
// Interval duration threshold of the health checking in seconds
IntervalJitter *string `json:"intervalJitter,omitempty" validate:"regexp=^-?(?:0|[1-9][0-9]{0,11})(?:\\\\.[0-9]{1,9})?s$"`
// Active health checking timeout duration in seconds
Timeout *string `json:"timeout,omitempty" validate:"regexp=^-?(?:0|[1-9][0-9]{0,11})(?:\\\\.[0-9]{1,9})?s$"`
// Unhealthy threshold of the health checking
UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"`
}
ActiveHealthCheck struct for ActiveHealthCheck
func NewActiveHealthCheck ¶
func NewActiveHealthCheck() *ActiveHealthCheck
NewActiveHealthCheck instantiates a new ActiveHealthCheck 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 NewActiveHealthCheckWithDefaults ¶
func NewActiveHealthCheckWithDefaults() *ActiveHealthCheck
NewActiveHealthCheckWithDefaults instantiates a new ActiveHealthCheck 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 (*ActiveHealthCheck) GetAltPort ¶
func (o *ActiveHealthCheck) GetAltPort() int32
GetAltPort returns the AltPort field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetAltPortOk ¶
func (o *ActiveHealthCheck) GetAltPortOk() (*int32, bool)
GetAltPortOk returns a tuple with the AltPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetHealthyThreshold ¶
func (o *ActiveHealthCheck) GetHealthyThreshold() int32
GetHealthyThreshold returns the HealthyThreshold field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetHealthyThresholdOk ¶
func (o *ActiveHealthCheck) GetHealthyThresholdOk() (*int32, bool)
GetHealthyThresholdOk returns a tuple with the HealthyThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetHttpHealthChecks ¶
func (o *ActiveHealthCheck) GetHttpHealthChecks() HttpHealthChecks
GetHttpHealthChecks returns the HttpHealthChecks field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetHttpHealthChecksOk ¶
func (o *ActiveHealthCheck) GetHttpHealthChecksOk() (*HttpHealthChecks, bool)
GetHttpHealthChecksOk returns a tuple with the HttpHealthChecks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetInterval ¶
func (o *ActiveHealthCheck) GetInterval() string
GetInterval returns the Interval field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetIntervalJitter ¶
func (o *ActiveHealthCheck) GetIntervalJitter() string
GetIntervalJitter returns the IntervalJitter field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetIntervalJitterOk ¶
func (o *ActiveHealthCheck) GetIntervalJitterOk() (*string, bool)
GetIntervalJitterOk returns a tuple with the IntervalJitter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetIntervalOk ¶
func (o *ActiveHealthCheck) GetIntervalOk() (*string, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetTimeout ¶
func (o *ActiveHealthCheck) GetTimeout() string
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetTimeoutOk ¶
func (o *ActiveHealthCheck) GetTimeoutOk() (*string, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) GetUnhealthyThreshold ¶
func (o *ActiveHealthCheck) GetUnhealthyThreshold() int32
GetUnhealthyThreshold returns the UnhealthyThreshold field value if set, zero value otherwise.
func (*ActiveHealthCheck) GetUnhealthyThresholdOk ¶
func (o *ActiveHealthCheck) GetUnhealthyThresholdOk() (*int32, bool)
GetUnhealthyThresholdOk returns a tuple with the UnhealthyThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActiveHealthCheck) HasAltPort ¶
func (o *ActiveHealthCheck) HasAltPort() bool
HasAltPort returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasHealthyThreshold ¶
func (o *ActiveHealthCheck) HasHealthyThreshold() bool
HasHealthyThreshold returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasHttpHealthChecks ¶
func (o *ActiveHealthCheck) HasHttpHealthChecks() bool
HasHttpHealthChecks returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasInterval ¶
func (o *ActiveHealthCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasIntervalJitter ¶
func (o *ActiveHealthCheck) HasIntervalJitter() bool
HasIntervalJitter returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasTimeout ¶
func (o *ActiveHealthCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*ActiveHealthCheck) HasUnhealthyThreshold ¶
func (o *ActiveHealthCheck) HasUnhealthyThreshold() bool
HasUnhealthyThreshold returns a boolean if a field has been set.
func (ActiveHealthCheck) MarshalJSON ¶
func (o ActiveHealthCheck) MarshalJSON() ([]byte, error)
func (*ActiveHealthCheck) SetAltPort ¶
func (o *ActiveHealthCheck) SetAltPort(v int32)
SetAltPort gets a reference to the given int32 and assigns it to the AltPort field.
func (*ActiveHealthCheck) SetHealthyThreshold ¶
func (o *ActiveHealthCheck) SetHealthyThreshold(v int32)
SetHealthyThreshold gets a reference to the given int32 and assigns it to the HealthyThreshold field.
func (*ActiveHealthCheck) SetHttpHealthChecks ¶
func (o *ActiveHealthCheck) SetHttpHealthChecks(v HttpHealthChecks)
SetHttpHealthChecks gets a reference to the given HttpHealthChecks and assigns it to the HttpHealthChecks field.
func (*ActiveHealthCheck) SetInterval ¶
func (o *ActiveHealthCheck) SetInterval(v string)
SetInterval gets a reference to the given string and assigns it to the Interval field.
func (*ActiveHealthCheck) SetIntervalJitter ¶
func (o *ActiveHealthCheck) SetIntervalJitter(v string)
SetIntervalJitter gets a reference to the given string and assigns it to the IntervalJitter field.
func (*ActiveHealthCheck) SetTimeout ¶
func (o *ActiveHealthCheck) SetTimeout(v string)
SetTimeout gets a reference to the given string and assigns it to the Timeout field.
func (*ActiveHealthCheck) SetUnhealthyThreshold ¶
func (o *ActiveHealthCheck) SetUnhealthyThreshold(v int32)
SetUnhealthyThreshold gets a reference to the given int32 and assigns it to the UnhealthyThreshold field.
func (ActiveHealthCheck) ToMap ¶
func (o ActiveHealthCheck) ToMap() (map[string]interface{}, error)
type ApiCreateCredentialsRequest ¶
type ApiCreateCredentialsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateCredentialsRequest) CreateCredentialsPayload ¶
func (r ApiCreateCredentialsRequest) CreateCredentialsPayload(createCredentialsPayload CreateCredentialsPayload) ApiCreateCredentialsRequest
func (ApiCreateCredentialsRequest) Execute ¶
func (r ApiCreateCredentialsRequest) Execute() (*CreateCredentialsResponse, error)
func (ApiCreateCredentialsRequest) XRequestID ¶
func (r ApiCreateCredentialsRequest) XRequestID(xRequestID string) ApiCreateCredentialsRequest
type ApiCreateLoadBalancerRequest ¶
type ApiCreateLoadBalancerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateLoadBalancerRequest) CreateLoadBalancerPayload ¶
func (r ApiCreateLoadBalancerRequest) CreateLoadBalancerPayload(createLoadBalancerPayload CreateLoadBalancerPayload) ApiCreateLoadBalancerRequest
func (ApiCreateLoadBalancerRequest) Execute ¶
func (r ApiCreateLoadBalancerRequest) Execute() (*LoadBalancer, error)
func (ApiCreateLoadBalancerRequest) XRequestID ¶
func (r ApiCreateLoadBalancerRequest) XRequestID(xRequestID string) ApiCreateLoadBalancerRequest
type ApiDeleteCredentialsRequest ¶
type ApiDeleteCredentialsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteCredentialsRequest) Execute ¶
func (r ApiDeleteCredentialsRequest) Execute() (map[string]interface{}, error)
type ApiDeleteLoadBalancerRequest ¶
type ApiDeleteLoadBalancerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteLoadBalancerRequest) Execute ¶
func (r ApiDeleteLoadBalancerRequest) Execute() (map[string]interface{}, error)
type ApiGetCredentialsRequest ¶
type ApiGetCredentialsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCredentialsRequest) Execute ¶
func (r ApiGetCredentialsRequest) Execute() (*GetCredentialsResponse, error)
type ApiGetLoadBalancerRequest ¶
type ApiGetLoadBalancerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetLoadBalancerRequest) Execute ¶
func (r ApiGetLoadBalancerRequest) Execute() (*LoadBalancer, error)
type ApiGetQuotaRequest ¶
type ApiGetQuotaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetQuotaRequest) Execute ¶
func (r ApiGetQuotaRequest) Execute() (*GetQuotaResponse, error)
type ApiListCredentialsRequest ¶
type ApiListCredentialsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCredentialsRequest) Execute ¶
func (r ApiListCredentialsRequest) Execute() (*ListCredentialsResponse, error)
type ApiListLoadBalancersRequest ¶
type ApiListLoadBalancersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListLoadBalancersRequest) Execute ¶
func (r ApiListLoadBalancersRequest) Execute() (*ListLoadBalancersResponse, error)
func (ApiListLoadBalancersRequest) PageId ¶
func (r ApiListLoadBalancersRequest) PageId(pageId string) ApiListLoadBalancersRequest
page_id is a page identifier returned by the previous response and is used to request the next page
func (ApiListLoadBalancersRequest) PageSize ¶
func (r ApiListLoadBalancersRequest) PageSize(pageSize string) ApiListLoadBalancersRequest
page_size specifies how many load balancers should be returned on this page. Must be a positive number <= 1000
type ApiListPlansRequest ¶
type ApiListPlansRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPlansRequest) Execute ¶
func (r ApiListPlansRequest) Execute() (*ListPlansResponse, error)
type ApiUpdateCredentialsRequest ¶
type ApiUpdateCredentialsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateCredentialsRequest) Execute ¶
func (r ApiUpdateCredentialsRequest) Execute() (*UpdateCredentialsResponse, error)
func (ApiUpdateCredentialsRequest) UpdateCredentialsPayload ¶
func (r ApiUpdateCredentialsRequest) UpdateCredentialsPayload(updateCredentialsPayload UpdateCredentialsPayload) ApiUpdateCredentialsRequest
type ApiUpdateLoadBalancerRequest ¶
type ApiUpdateLoadBalancerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateLoadBalancerRequest) Execute ¶
func (r ApiUpdateLoadBalancerRequest) Execute() (*LoadBalancer, error)
func (ApiUpdateLoadBalancerRequest) UpdateLoadBalancerPayload ¶
func (r ApiUpdateLoadBalancerRequest) UpdateLoadBalancerPayload(updateLoadBalancerPayload UpdateLoadBalancerPayload) ApiUpdateLoadBalancerRequest
type ApiUpdateTargetPoolRequest ¶
type ApiUpdateTargetPoolRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateTargetPoolRequest) Execute ¶
func (r ApiUpdateTargetPoolRequest) Execute() (*TargetPool, error)
func (ApiUpdateTargetPoolRequest) UpdateTargetPoolPayload ¶
func (r ApiUpdateTargetPoolRequest) UpdateTargetPoolPayload(updateTargetPoolPayload UpdateTargetPoolPayload) ApiUpdateTargetPoolRequest
type CreateCredentialsPayload ¶
type CreateCredentialsPayload struct {
// Credential name
DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,251}[0-9a-z])?$"`
// A valid password used for an existing STACKIT Observability instance, which is used during basic auth.
Password *string `json:"password,omitempty"`
// A valid username used for an existing STACKIT Observability instance, which is used during basic auth.
Username *string `json:"username,omitempty"`
}
CreateCredentialsPayload struct for CreateCredentialsPayload
func NewCreateCredentialsPayload ¶
func NewCreateCredentialsPayload() *CreateCredentialsPayload
NewCreateCredentialsPayload instantiates a new CreateCredentialsPayload 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 NewCreateCredentialsPayloadWithDefaults ¶
func NewCreateCredentialsPayloadWithDefaults() *CreateCredentialsPayload
NewCreateCredentialsPayloadWithDefaults instantiates a new CreateCredentialsPayload 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 (*CreateCredentialsPayload) GetDisplayName ¶
func (o *CreateCredentialsPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*CreateCredentialsPayload) GetDisplayNameOk ¶
func (o *CreateCredentialsPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCredentialsPayload) GetPassword ¶
func (o *CreateCredentialsPayload) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*CreateCredentialsPayload) GetPasswordOk ¶
func (o *CreateCredentialsPayload) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCredentialsPayload) GetUsername ¶
func (o *CreateCredentialsPayload) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*CreateCredentialsPayload) GetUsernameOk ¶
func (o *CreateCredentialsPayload) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCredentialsPayload) HasDisplayName ¶
func (o *CreateCredentialsPayload) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*CreateCredentialsPayload) HasPassword ¶
func (o *CreateCredentialsPayload) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*CreateCredentialsPayload) HasUsername ¶
func (o *CreateCredentialsPayload) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (CreateCredentialsPayload) MarshalJSON ¶
func (o CreateCredentialsPayload) MarshalJSON() ([]byte, error)
func (*CreateCredentialsPayload) SetDisplayName ¶
func (o *CreateCredentialsPayload) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*CreateCredentialsPayload) SetPassword ¶
func (o *CreateCredentialsPayload) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*CreateCredentialsPayload) SetUsername ¶
func (o *CreateCredentialsPayload) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (CreateCredentialsPayload) ToMap ¶
func (o CreateCredentialsPayload) ToMap() (map[string]interface{}, error)
type CreateCredentialsResponse ¶
type CreateCredentialsResponse struct {
Credential *CredentialsResponse `json:"credential,omitempty"`
}
CreateCredentialsResponse struct for CreateCredentialsResponse
func NewCreateCredentialsResponse ¶
func NewCreateCredentialsResponse() *CreateCredentialsResponse
NewCreateCredentialsResponse instantiates a new CreateCredentialsResponse 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 NewCreateCredentialsResponseWithDefaults ¶
func NewCreateCredentialsResponseWithDefaults() *CreateCredentialsResponse
NewCreateCredentialsResponseWithDefaults instantiates a new CreateCredentialsResponse 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 (*CreateCredentialsResponse) GetCredential ¶
func (o *CreateCredentialsResponse) GetCredential() CredentialsResponse
GetCredential returns the Credential field value if set, zero value otherwise.
func (*CreateCredentialsResponse) GetCredentialOk ¶
func (o *CreateCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
GetCredentialOk returns a tuple with the Credential field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCredentialsResponse) HasCredential ¶
func (o *CreateCredentialsResponse) HasCredential() bool
HasCredential returns a boolean if a field has been set.
func (CreateCredentialsResponse) MarshalJSON ¶
func (o CreateCredentialsResponse) MarshalJSON() ([]byte, error)
func (*CreateCredentialsResponse) SetCredential ¶
func (o *CreateCredentialsResponse) SetCredential(v CredentialsResponse)
SetCredential gets a reference to the given CredentialsResponse and assigns it to the Credential field.
func (CreateCredentialsResponse) ToMap ¶
func (o CreateCredentialsResponse) ToMap() (map[string]interface{}, error)
type CreateLoadBalancerPayload ¶
type CreateLoadBalancerPayload struct {
// Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.
DisableTargetSecurityGroupAssignment *bool `json:"disableTargetSecurityGroupAssignment,omitempty"`
// Reports all errors a load balancer has.
Errors []LoadBalancerError `json:"errors,omitempty"`
// External load balancer IP address where this load balancer is exposed. Not changeable after creation.
ExternalAddress *string `json:"externalAddress,omitempty"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener.
Listeners []Listener `json:"listeners,omitempty"`
// Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
LoadBalancerSecurityGroup *SecurityGroup `json:"loadBalancerSecurityGroup,omitempty"`
// Load balancer name. Not changeable after creation.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation.
Networks []Network `json:"networks,omitempty"`
Options *LoadBalancerOptions `json:"options,omitempty"`
// Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId *string `json:"planId,omitempty"`
// Transient private load balancer IP address that can change any time.
PrivateAddress *string `json:"privateAddress,omitempty"`
// Region of the LoadBalancer
Region *string `json:"region,omitempty"`
Status *string `json:"status,omitempty"`
// List of all target pools which will be used in the load balancer. Limited to 20.
TargetPools []TargetPool `json:"targetPools,omitempty"`
// Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
TargetSecurityGroup *SecurityGroup `json:"targetSecurityGroup,omitempty"`
// Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.
Version *string `json:"version,omitempty"`
}
CreateLoadBalancerPayload struct for CreateLoadBalancerPayload
func NewCreateLoadBalancerPayload ¶
func NewCreateLoadBalancerPayload() *CreateLoadBalancerPayload
NewCreateLoadBalancerPayload instantiates a new CreateLoadBalancerPayload 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 NewCreateLoadBalancerPayloadWithDefaults ¶
func NewCreateLoadBalancerPayloadWithDefaults() *CreateLoadBalancerPayload
NewCreateLoadBalancerPayloadWithDefaults instantiates a new CreateLoadBalancerPayload 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 (*CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment ¶
func (o *CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment() bool
GetDisableTargetSecurityGroupAssignment returns the DisableTargetSecurityGroupAssignment field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk ¶
func (o *CreateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
GetDisableTargetSecurityGroupAssignmentOk returns a tuple with the DisableTargetSecurityGroupAssignment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetErrors ¶
func (o *CreateLoadBalancerPayload) GetErrors() []LoadBalancerError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetErrorsOk ¶
func (o *CreateLoadBalancerPayload) GetErrorsOk() ([]LoadBalancerError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetExternalAddress ¶
func (o *CreateLoadBalancerPayload) GetExternalAddress() string
GetExternalAddress returns the ExternalAddress field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetExternalAddressOk ¶
func (o *CreateLoadBalancerPayload) GetExternalAddressOk() (*string, bool)
GetExternalAddressOk returns a tuple with the ExternalAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetLabels ¶
func (o *CreateLoadBalancerPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetLabelsOk ¶
func (o *CreateLoadBalancerPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetListeners ¶
func (o *CreateLoadBalancerPayload) GetListeners() []Listener
GetListeners returns the Listeners field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetListenersOk ¶
func (o *CreateLoadBalancerPayload) GetListenersOk() ([]Listener, bool)
GetListenersOk returns a tuple with the Listeners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetLoadBalancerSecurityGroup ¶
func (o *CreateLoadBalancerPayload) GetLoadBalancerSecurityGroup() SecurityGroup
GetLoadBalancerSecurityGroup returns the LoadBalancerSecurityGroup field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk ¶
func (o *CreateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
GetLoadBalancerSecurityGroupOk returns a tuple with the LoadBalancerSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetName ¶
func (o *CreateLoadBalancerPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetNameOk ¶
func (o *CreateLoadBalancerPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetNetworks ¶
func (o *CreateLoadBalancerPayload) GetNetworks() []Network
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetNetworksOk ¶
func (o *CreateLoadBalancerPayload) GetNetworksOk() ([]Network, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetOptions ¶
func (o *CreateLoadBalancerPayload) GetOptions() LoadBalancerOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetOptionsOk ¶
func (o *CreateLoadBalancerPayload) GetOptionsOk() (*LoadBalancerOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetPlanId ¶
func (o *CreateLoadBalancerPayload) GetPlanId() string
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetPlanIdOk ¶
func (o *CreateLoadBalancerPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetPrivateAddress ¶
func (o *CreateLoadBalancerPayload) GetPrivateAddress() string
GetPrivateAddress returns the PrivateAddress field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetPrivateAddressOk ¶
func (o *CreateLoadBalancerPayload) GetPrivateAddressOk() (*string, bool)
GetPrivateAddressOk returns a tuple with the PrivateAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetRegion ¶
func (o *CreateLoadBalancerPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetRegionOk ¶
func (o *CreateLoadBalancerPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetStatus ¶
func (o *CreateLoadBalancerPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetStatusOk ¶
func (o *CreateLoadBalancerPayload) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetTargetPools ¶
func (o *CreateLoadBalancerPayload) GetTargetPools() []TargetPool
GetTargetPools returns the TargetPools field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetTargetPoolsOk ¶
func (o *CreateLoadBalancerPayload) GetTargetPoolsOk() ([]TargetPool, bool)
GetTargetPoolsOk returns a tuple with the TargetPools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetTargetSecurityGroup ¶
func (o *CreateLoadBalancerPayload) GetTargetSecurityGroup() SecurityGroup
GetTargetSecurityGroup returns the TargetSecurityGroup field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetTargetSecurityGroupOk ¶
func (o *CreateLoadBalancerPayload) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
GetTargetSecurityGroupOk returns a tuple with the TargetSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) GetVersion ¶
func (o *CreateLoadBalancerPayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*CreateLoadBalancerPayload) GetVersionOk ¶
func (o *CreateLoadBalancerPayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment ¶
func (o *CreateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment() bool
HasDisableTargetSecurityGroupAssignment returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasErrors ¶
func (o *CreateLoadBalancerPayload) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasExternalAddress ¶
func (o *CreateLoadBalancerPayload) HasExternalAddress() bool
HasExternalAddress returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasLabels ¶
func (o *CreateLoadBalancerPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasListeners ¶
func (o *CreateLoadBalancerPayload) HasListeners() bool
HasListeners returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasLoadBalancerSecurityGroup ¶
func (o *CreateLoadBalancerPayload) HasLoadBalancerSecurityGroup() bool
HasLoadBalancerSecurityGroup returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasName ¶
func (o *CreateLoadBalancerPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasNetworks ¶
func (o *CreateLoadBalancerPayload) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasOptions ¶
func (o *CreateLoadBalancerPayload) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasPlanId ¶
func (o *CreateLoadBalancerPayload) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasPrivateAddress ¶
func (o *CreateLoadBalancerPayload) HasPrivateAddress() bool
HasPrivateAddress returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasRegion ¶
func (o *CreateLoadBalancerPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasStatus ¶
func (o *CreateLoadBalancerPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasTargetPools ¶
func (o *CreateLoadBalancerPayload) HasTargetPools() bool
HasTargetPools returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasTargetSecurityGroup ¶
func (o *CreateLoadBalancerPayload) HasTargetSecurityGroup() bool
HasTargetSecurityGroup returns a boolean if a field has been set.
func (*CreateLoadBalancerPayload) HasVersion ¶
func (o *CreateLoadBalancerPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (CreateLoadBalancerPayload) MarshalJSON ¶
func (o CreateLoadBalancerPayload) MarshalJSON() ([]byte, error)
func (*CreateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment ¶
func (o *CreateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment(v bool)
SetDisableTargetSecurityGroupAssignment gets a reference to the given bool and assigns it to the DisableTargetSecurityGroupAssignment field.
func (*CreateLoadBalancerPayload) SetErrors ¶
func (o *CreateLoadBalancerPayload) SetErrors(v []LoadBalancerError)
SetErrors gets a reference to the given []LoadBalancerError and assigns it to the Errors field.
func (*CreateLoadBalancerPayload) SetExternalAddress ¶
func (o *CreateLoadBalancerPayload) SetExternalAddress(v string)
SetExternalAddress gets a reference to the given string and assigns it to the ExternalAddress field.
func (*CreateLoadBalancerPayload) SetLabels ¶
func (o *CreateLoadBalancerPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateLoadBalancerPayload) SetListeners ¶
func (o *CreateLoadBalancerPayload) SetListeners(v []Listener)
SetListeners gets a reference to the given []Listener and assigns it to the Listeners field.
func (*CreateLoadBalancerPayload) SetLoadBalancerSecurityGroup ¶
func (o *CreateLoadBalancerPayload) SetLoadBalancerSecurityGroup(v SecurityGroup)
SetLoadBalancerSecurityGroup gets a reference to the given SecurityGroup and assigns it to the LoadBalancerSecurityGroup field.
func (*CreateLoadBalancerPayload) SetName ¶
func (o *CreateLoadBalancerPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateLoadBalancerPayload) SetNetworks ¶
func (o *CreateLoadBalancerPayload) SetNetworks(v []Network)
SetNetworks gets a reference to the given []Network and assigns it to the Networks field.
func (*CreateLoadBalancerPayload) SetOptions ¶
func (o *CreateLoadBalancerPayload) SetOptions(v LoadBalancerOptions)
SetOptions gets a reference to the given LoadBalancerOptions and assigns it to the Options field.
func (*CreateLoadBalancerPayload) SetPlanId ¶
func (o *CreateLoadBalancerPayload) SetPlanId(v string)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (*CreateLoadBalancerPayload) SetPrivateAddress ¶
func (o *CreateLoadBalancerPayload) SetPrivateAddress(v string)
SetPrivateAddress gets a reference to the given string and assigns it to the PrivateAddress field.
func (*CreateLoadBalancerPayload) SetRegion ¶
func (o *CreateLoadBalancerPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateLoadBalancerPayload) SetStatus ¶
func (o *CreateLoadBalancerPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateLoadBalancerPayload) SetTargetPools ¶
func (o *CreateLoadBalancerPayload) SetTargetPools(v []TargetPool)
SetTargetPools gets a reference to the given []TargetPool and assigns it to the TargetPools field.
func (*CreateLoadBalancerPayload) SetTargetSecurityGroup ¶
func (o *CreateLoadBalancerPayload) SetTargetSecurityGroup(v SecurityGroup)
SetTargetSecurityGroup gets a reference to the given SecurityGroup and assigns it to the TargetSecurityGroup field.
func (*CreateLoadBalancerPayload) SetVersion ¶
func (o *CreateLoadBalancerPayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (CreateLoadBalancerPayload) ToMap ¶
func (o CreateLoadBalancerPayload) ToMap() (map[string]interface{}, error)
type CredentialsResponse ¶
type CredentialsResponse struct {
// The credentials reference can be used for observability of the Load Balancer.
CredentialsRef *string `json:"credentialsRef,omitempty"`
// Credential name
DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Region of the Credential
Region *string `json:"region,omitempty"`
// The username used for the STACKIT Observability instance
Username *string `json:"username,omitempty"`
}
CredentialsResponse struct for CredentialsResponse
func NewCredentialsResponse ¶
func NewCredentialsResponse() *CredentialsResponse
NewCredentialsResponse instantiates a new CredentialsResponse 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 NewCredentialsResponseWithDefaults ¶
func NewCredentialsResponseWithDefaults() *CredentialsResponse
NewCredentialsResponseWithDefaults instantiates a new CredentialsResponse 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 (*CredentialsResponse) GetCredentialsRef ¶
func (o *CredentialsResponse) GetCredentialsRef() string
GetCredentialsRef returns the CredentialsRef field value if set, zero value otherwise.
func (*CredentialsResponse) GetCredentialsRefOk ¶
func (o *CredentialsResponse) GetCredentialsRefOk() (*string, bool)
GetCredentialsRefOk returns a tuple with the CredentialsRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsResponse) GetDisplayName ¶
func (o *CredentialsResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*CredentialsResponse) GetDisplayNameOk ¶
func (o *CredentialsResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsResponse) GetRegion ¶
func (o *CredentialsResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CredentialsResponse) GetRegionOk ¶
func (o *CredentialsResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsResponse) GetUsername ¶
func (o *CredentialsResponse) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*CredentialsResponse) GetUsernameOk ¶
func (o *CredentialsResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsResponse) HasCredentialsRef ¶
func (o *CredentialsResponse) HasCredentialsRef() bool
HasCredentialsRef returns a boolean if a field has been set.
func (*CredentialsResponse) HasDisplayName ¶
func (o *CredentialsResponse) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*CredentialsResponse) HasRegion ¶
func (o *CredentialsResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CredentialsResponse) HasUsername ¶
func (o *CredentialsResponse) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (CredentialsResponse) MarshalJSON ¶
func (o CredentialsResponse) MarshalJSON() ([]byte, error)
func (*CredentialsResponse) SetCredentialsRef ¶
func (o *CredentialsResponse) SetCredentialsRef(v string)
SetCredentialsRef gets a reference to the given string and assigns it to the CredentialsRef field.
func (*CredentialsResponse) SetDisplayName ¶
func (o *CredentialsResponse) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*CredentialsResponse) SetRegion ¶
func (o *CredentialsResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CredentialsResponse) SetUsername ¶
func (o *CredentialsResponse) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (CredentialsResponse) ToMap ¶
func (o CredentialsResponse) ToMap() (map[string]interface{}, error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateCredentials Create credentials for observability of the Load Balancer
Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT
Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the
STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateCredentialsRequest
*/
CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest
// CreateCredentialsExecute executes the request
// @return CreateCredentialsResponse
CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
/*
CreateLoadBalancer Create a load balancer in a project
Create Load Balancer will create a load balancer.
The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateLoadBalancerRequest
*/
CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest
// CreateLoadBalancerExecute executes the request
// @return LoadBalancer
CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
/*
DeleteCredentials Delete a single credential in a project.
Delete Credential
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param credentialsRef
@return ApiDeleteCredentialsRequest
*/
DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest
// DeleteCredentialsExecute executes the request
// @return map[string]interface{}
DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
/*
DeleteLoadBalancer Delete a given load balancer in a project.
DeleteLoadBalancer will delete a given load balancer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteLoadBalancerRequest
*/
DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest
// DeleteLoadBalancerExecute executes the request
// @return map[string]interface{}
DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
/*
GetCredentials Get a single credential reference in a project.
Get Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param credentialsRef
@return ApiGetCredentialsRequest
*/
GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest
// GetCredentialsExecute executes the request
// @return GetCredentialsResponse
GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
/*
GetLoadBalancer Get a single load balancer in a project.
Get Load Balancer will get a single load balancer of a project. This contains all the information set during
creation or updates. Additionally, it will have information about the state of the load balancer in the form
of a status field and error description feedback.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetLoadBalancerRequest
*/
GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest
// GetLoadBalancerExecute executes the request
// @return LoadBalancer
GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
/*
GetQuota Get the quota of Load Balancers in a project.
Retrieves the configured Load Balancer quota for the project. Limit can be changed via service request.
There can be 3 times as many observability credentials as Load Balancers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiGetQuotaRequest
*/
GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
// GetQuotaExecute executes the request
// @return GetQuotaResponse
GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
/*
ListCredentials List all credentials in a project.
List Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListCredentialsRequest
*/
ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest
// ListCredentialsExecute executes the request
// @return ListCredentialsResponse
ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
/*
ListLoadBalancers List load balancers in a project.
ListLoadBalancer will list load balancers of a project. This contains information set during
creation or updates for every load balancer in the project. Additionally, it will have information about
the state of the load balancer in the form of a status field and error description feedback.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListLoadBalancersRequest
*/
ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest
// ListLoadBalancersExecute executes the request
// @return ListLoadBalancersResponse
ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
/*
ListPlans List available service plans.
ListPlans returns for the configured service plans for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@return ApiListPlansRequest
*/
ListPlans(ctx context.Context, region string) ApiListPlansRequest
// ListPlansExecute executes the request
// @return ListPlansResponse
ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error)
/*
UpdateCredentials Update credentials for observability in a project.
Update Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param credentialsRef
@return ApiUpdateCredentialsRequest
*/
UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest
// UpdateCredentialsExecute executes the request
// @return UpdateCredentialsResponse
UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
/*
UpdateLoadBalancer Update a load balancer in a project.
Update Load Balancer allows the change of listeners and target pools of an existing Load Balancer.
The Load balancer resource version needs to be the current version to ensure concurrency safe updates.
The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateLoadBalancerRequest
*/
UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest
// UpdateLoadBalancerExecute executes the request
// @return LoadBalancer
UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
/*
UpdateTargetPool Update a single target pool of a load balancer in a project.
ReplaceTargetPool will replace a specific target pool of a load balancer with new content.
Useful to add/remove target servers. will update a load balancer.
Only replaces the mentioned target pools and leaves others unchanged.
Cannot be used to create or rename a target pool.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@param targetPoolName
@return ApiUpdateTargetPoolRequest
*/
UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest
// UpdateTargetPoolExecute executes the request
// @return TargetPool
UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateCredentials ¶
func (a *DefaultAPIService) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest
CreateCredentials Create credentials for observability of the Load Balancer
Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT
Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateCredentialsRequest
func (*DefaultAPIService) CreateCredentialsExecute ¶
func (a *DefaultAPIService) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
Execute executes the request
@return CreateCredentialsResponse
func (*DefaultAPIService) CreateLoadBalancer ¶
func (a *DefaultAPIService) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest
CreateLoadBalancer Create a load balancer in a project
Create Load Balancer will create a load balancer.
The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateLoadBalancerRequest
func (*DefaultAPIService) CreateLoadBalancerExecute ¶
func (a *DefaultAPIService) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
Execute executes the request
@return LoadBalancer
func (*DefaultAPIService) DeleteCredentials ¶
func (a *DefaultAPIService) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest
DeleteCredentials Delete a single credential in a project.
Delete Credential
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param credentialsRef @return ApiDeleteCredentialsRequest
func (*DefaultAPIService) DeleteCredentialsExecute ¶
func (a *DefaultAPIService) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteLoadBalancer ¶
func (a *DefaultAPIService) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest
DeleteLoadBalancer Delete a given load balancer in a project.
DeleteLoadBalancer will delete a given load balancer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteLoadBalancerRequest
func (*DefaultAPIService) DeleteLoadBalancerExecute ¶
func (a *DefaultAPIService) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) GetCredentials ¶
func (a *DefaultAPIService) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest
GetCredentials Get a single credential reference in a project.
Get Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param credentialsRef @return ApiGetCredentialsRequest
func (*DefaultAPIService) GetCredentialsExecute ¶
func (a *DefaultAPIService) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
Execute executes the request
@return GetCredentialsResponse
func (*DefaultAPIService) GetLoadBalancer ¶
func (a *DefaultAPIService) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest
GetLoadBalancer Get a single load balancer in a project.
Get Load Balancer will get a single load balancer of a project. This contains all the information set during
creation or updates. Additionally, it will have information about the state of the load balancer in the form of a status field and error description feedback. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetLoadBalancerRequest
func (*DefaultAPIService) GetLoadBalancerExecute ¶
func (a *DefaultAPIService) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
Execute executes the request
@return LoadBalancer
func (*DefaultAPIService) GetQuota ¶
func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
GetQuota Get the quota of Load Balancers in a project.
Retrieves the configured Load Balancer quota for the project. Limit can be changed via service request.
There can be 3 times as many observability credentials as Load Balancers. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiGetQuotaRequest
func (*DefaultAPIService) GetQuotaExecute ¶
func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
Execute executes the request
@return GetQuotaResponse
func (*DefaultAPIService) ListCredentials ¶
func (a *DefaultAPIService) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest
ListCredentials List all credentials in a project.
List Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListCredentialsRequest
func (*DefaultAPIService) ListCredentialsExecute ¶
func (a *DefaultAPIService) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
Execute executes the request
@return ListCredentialsResponse
func (*DefaultAPIService) ListLoadBalancers ¶
func (a *DefaultAPIService) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest
ListLoadBalancers List load balancers in a project.
ListLoadBalancer will list load balancers of a project. This contains information set during
creation or updates for every load balancer in the project. Additionally, it will have information about the state of the load balancer in the form of a status field and error description feedback. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListLoadBalancersRequest
func (*DefaultAPIService) ListLoadBalancersExecute ¶
func (a *DefaultAPIService) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
Execute executes the request
@return ListLoadBalancersResponse
func (*DefaultAPIService) ListPlans ¶
func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest
ListPlans List available service plans.
ListPlans returns for the configured service plans for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @return ApiListPlansRequest
func (*DefaultAPIService) ListPlansExecute ¶
func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error)
Execute executes the request
@return ListPlansResponse
func (*DefaultAPIService) UpdateCredentials ¶
func (a *DefaultAPIService) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest
UpdateCredentials Update credentials for observability in a project.
Update Credentials
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param credentialsRef @return ApiUpdateCredentialsRequest
func (*DefaultAPIService) UpdateCredentialsExecute ¶
func (a *DefaultAPIService) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
Execute executes the request
@return UpdateCredentialsResponse
func (*DefaultAPIService) UpdateLoadBalancer ¶
func (a *DefaultAPIService) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest
UpdateLoadBalancer Update a load balancer in a project.
Update Load Balancer allows the change of listeners and target pools of an existing Load Balancer.
The Load balancer resource version needs to be the current version to ensure concurrency safe updates. The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiUpdateLoadBalancerRequest
func (*DefaultAPIService) UpdateLoadBalancerExecute ¶
func (a *DefaultAPIService) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
Execute executes the request
@return LoadBalancer
func (*DefaultAPIService) UpdateTargetPool ¶
func (a *DefaultAPIService) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest
UpdateTargetPool Update a single target pool of a load balancer in a project.
ReplaceTargetPool will replace a specific target pool of a load balancer with new content.
Useful to add/remove target servers. will update a load balancer. Only replaces the mentioned target pools and leaves others unchanged. Cannot be used to create or rename a target pool. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @param targetPoolName @return ApiUpdateTargetPoolRequest
func (*DefaultAPIService) UpdateTargetPoolExecute ¶
func (a *DefaultAPIService) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
Execute executes the request
@return TargetPool
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateCredentialsExecuteMock can be populated to implement the behavior of the CreateCredentialsExecute function of this mock
CreateCredentialsExecuteMock *func(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
// CreateLoadBalancerExecuteMock can be populated to implement the behavior of the CreateLoadBalancerExecute function of this mock
CreateLoadBalancerExecuteMock *func(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
// DeleteCredentialsExecuteMock can be populated to implement the behavior of the DeleteCredentialsExecute function of this mock
DeleteCredentialsExecuteMock *func(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
// DeleteLoadBalancerExecuteMock can be populated to implement the behavior of the DeleteLoadBalancerExecute function of this mock
DeleteLoadBalancerExecuteMock *func(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
// GetCredentialsExecuteMock can be populated to implement the behavior of the GetCredentialsExecute function of this mock
GetCredentialsExecuteMock *func(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
// GetLoadBalancerExecuteMock can be populated to implement the behavior of the GetLoadBalancerExecute function of this mock
GetLoadBalancerExecuteMock *func(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
// GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
// ListCredentialsExecuteMock can be populated to implement the behavior of the ListCredentialsExecute function of this mock
ListCredentialsExecuteMock *func(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
// ListLoadBalancersExecuteMock can be populated to implement the behavior of the ListLoadBalancersExecute function of this mock
ListLoadBalancersExecuteMock *func(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
// ListPlansExecuteMock can be populated to implement the behavior of the ListPlansExecute function of this mock
ListPlansExecuteMock *func(r ApiListPlansRequest) (*ListPlansResponse, error)
// UpdateCredentialsExecuteMock can be populated to implement the behavior of the UpdateCredentialsExecute function of this mock
UpdateCredentialsExecuteMock *func(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
// UpdateLoadBalancerExecuteMock can be populated to implement the behavior of the UpdateLoadBalancerExecute function of this mock
UpdateLoadBalancerExecuteMock *func(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
// UpdateTargetPoolExecuteMock can be populated to implement the behavior of the UpdateTargetPoolExecute function of this mock
UpdateTargetPoolExecuteMock *func(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateCredentials ¶
func (a DefaultAPIServiceMock) CreateCredentials(ctx context.Context, projectId string, region string) ApiCreateCredentialsRequest
func (DefaultAPIServiceMock) CreateCredentialsExecute ¶
func (a DefaultAPIServiceMock) CreateCredentialsExecute(r ApiCreateCredentialsRequest) (*CreateCredentialsResponse, error)
CreateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCredentialsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateLoadBalancer ¶
func (a DefaultAPIServiceMock) CreateLoadBalancer(ctx context.Context, projectId string, region string) ApiCreateLoadBalancerRequest
func (DefaultAPIServiceMock) CreateLoadBalancerExecute ¶
func (a DefaultAPIServiceMock) CreateLoadBalancerExecute(r ApiCreateLoadBalancerRequest) (*LoadBalancer, error)
CreateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteCredentials ¶
func (a DefaultAPIServiceMock) DeleteCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiDeleteCredentialsRequest
func (DefaultAPIServiceMock) DeleteCredentialsExecute ¶
func (a DefaultAPIServiceMock) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (map[string]interface{}, error)
DeleteCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCredentialsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteLoadBalancer ¶
func (a DefaultAPIServiceMock) DeleteLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiDeleteLoadBalancerRequest
func (DefaultAPIServiceMock) DeleteLoadBalancerExecute ¶
func (a DefaultAPIServiceMock) DeleteLoadBalancerExecute(r ApiDeleteLoadBalancerRequest) (map[string]interface{}, error)
DeleteLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCredentials ¶
func (a DefaultAPIServiceMock) GetCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiGetCredentialsRequest
func (DefaultAPIServiceMock) GetCredentialsExecute ¶
func (a DefaultAPIServiceMock) GetCredentialsExecute(r ApiGetCredentialsRequest) (*GetCredentialsResponse, error)
GetCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCredentialsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetLoadBalancer ¶
func (a DefaultAPIServiceMock) GetLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiGetLoadBalancerRequest
func (DefaultAPIServiceMock) GetLoadBalancerExecute ¶
func (a DefaultAPIServiceMock) GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancer, error)
GetLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetQuota ¶
func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
func (DefaultAPIServiceMock) GetQuotaExecute ¶
func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCredentials ¶
func (a DefaultAPIServiceMock) ListCredentials(ctx context.Context, projectId string, region string) ApiListCredentialsRequest
func (DefaultAPIServiceMock) ListCredentialsExecute ¶
func (a DefaultAPIServiceMock) ListCredentialsExecute(r ApiListCredentialsRequest) (*ListCredentialsResponse, error)
ListCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCredentialsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListLoadBalancers ¶
func (a DefaultAPIServiceMock) ListLoadBalancers(ctx context.Context, projectId string, region string) ApiListLoadBalancersRequest
func (DefaultAPIServiceMock) ListLoadBalancersExecute ¶
func (a DefaultAPIServiceMock) ListLoadBalancersExecute(r ApiListLoadBalancersRequest) (*ListLoadBalancersResponse, error)
ListLoadBalancersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListLoadBalancersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPlans ¶
func (a DefaultAPIServiceMock) ListPlans(ctx context.Context, region string) ApiListPlansRequest
func (DefaultAPIServiceMock) ListPlansExecute ¶
func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*ListPlansResponse, error)
ListPlansExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateCredentials ¶
func (a DefaultAPIServiceMock) UpdateCredentials(ctx context.Context, projectId string, region string, credentialsRef string) ApiUpdateCredentialsRequest
func (DefaultAPIServiceMock) UpdateCredentialsExecute ¶
func (a DefaultAPIServiceMock) UpdateCredentialsExecute(r ApiUpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
UpdateCredentialsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateCredentialsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateLoadBalancer ¶
func (a DefaultAPIServiceMock) UpdateLoadBalancer(ctx context.Context, projectId string, region string, name string) ApiUpdateLoadBalancerRequest
func (DefaultAPIServiceMock) UpdateLoadBalancerExecute ¶
func (a DefaultAPIServiceMock) UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancer, error)
UpdateLoadBalancerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateLoadBalancerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateTargetPool ¶
func (a DefaultAPIServiceMock) UpdateTargetPool(ctx context.Context, projectId string, region string, name string, targetPoolName string) ApiUpdateTargetPoolRequest
func (DefaultAPIServiceMock) UpdateTargetPoolExecute ¶
func (a DefaultAPIServiceMock) UpdateTargetPoolExecute(r ApiUpdateTargetPoolRequest) (*TargetPool, error)
UpdateTargetPoolExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateTargetPoolExecuteMock field in the DefaultAPIServiceMock struct.
type GetCredentialsResponse ¶
type GetCredentialsResponse struct {
Credential *CredentialsResponse `json:"credential,omitempty"`
}
GetCredentialsResponse struct for GetCredentialsResponse
func NewGetCredentialsResponse ¶
func NewGetCredentialsResponse() *GetCredentialsResponse
NewGetCredentialsResponse instantiates a new GetCredentialsResponse 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 NewGetCredentialsResponseWithDefaults ¶
func NewGetCredentialsResponseWithDefaults() *GetCredentialsResponse
NewGetCredentialsResponseWithDefaults instantiates a new GetCredentialsResponse 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 (*GetCredentialsResponse) GetCredential ¶
func (o *GetCredentialsResponse) GetCredential() CredentialsResponse
GetCredential returns the Credential field value if set, zero value otherwise.
func (*GetCredentialsResponse) GetCredentialOk ¶
func (o *GetCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
GetCredentialOk returns a tuple with the Credential field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCredentialsResponse) HasCredential ¶
func (o *GetCredentialsResponse) HasCredential() bool
HasCredential returns a boolean if a field has been set.
func (GetCredentialsResponse) MarshalJSON ¶
func (o GetCredentialsResponse) MarshalJSON() ([]byte, error)
func (*GetCredentialsResponse) SetCredential ¶
func (o *GetCredentialsResponse) SetCredential(v CredentialsResponse)
SetCredential gets a reference to the given CredentialsResponse and assigns it to the Credential field.
func (GetCredentialsResponse) ToMap ¶
func (o GetCredentialsResponse) ToMap() (map[string]interface{}, error)
type GetQuotaResponse ¶
type GetQuotaResponse struct {
// The maximum number of observability credentials that can be stored in this project.
MaxCredentials *int32 `json:"maxCredentials,omitempty"`
// The maximum number of load balancing servers in this project. Unlimited if set to -1.
MaxLoadBalancers *int32 `json:"maxLoadBalancers,omitempty"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
// The number of observability credentials that are currently existing in this project.
UsedCredentials *int32 `json:"usedCredentials,omitempty"`
// The number of load balancing servers that are currently existing in this project.
UsedLoadBalancers *int32 `json:"usedLoadBalancers,omitempty"`
}
GetQuotaResponse struct for GetQuotaResponse
func NewGetQuotaResponse ¶
func NewGetQuotaResponse() *GetQuotaResponse
NewGetQuotaResponse instantiates a new GetQuotaResponse 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 NewGetQuotaResponseWithDefaults ¶
func NewGetQuotaResponseWithDefaults() *GetQuotaResponse
NewGetQuotaResponseWithDefaults instantiates a new GetQuotaResponse 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 (*GetQuotaResponse) GetMaxCredentials ¶
func (o *GetQuotaResponse) GetMaxCredentials() int32
GetMaxCredentials returns the MaxCredentials field value if set, zero value otherwise.
func (*GetQuotaResponse) GetMaxCredentialsOk ¶
func (o *GetQuotaResponse) GetMaxCredentialsOk() (*int32, bool)
GetMaxCredentialsOk returns a tuple with the MaxCredentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetMaxLoadBalancers ¶
func (o *GetQuotaResponse) GetMaxLoadBalancers() int32
GetMaxLoadBalancers returns the MaxLoadBalancers field value if set, zero value otherwise.
func (*GetQuotaResponse) GetMaxLoadBalancersOk ¶
func (o *GetQuotaResponse) GetMaxLoadBalancersOk() (*int32, bool)
GetMaxLoadBalancersOk returns a tuple with the MaxLoadBalancers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetProjectId ¶
func (o *GetQuotaResponse) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*GetQuotaResponse) GetProjectIdOk ¶
func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetRegion ¶
func (o *GetQuotaResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetQuotaResponse) GetRegionOk ¶
func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetUsedCredentials ¶
func (o *GetQuotaResponse) GetUsedCredentials() int32
GetUsedCredentials returns the UsedCredentials field value if set, zero value otherwise.
func (*GetQuotaResponse) GetUsedCredentialsOk ¶
func (o *GetQuotaResponse) GetUsedCredentialsOk() (*int32, bool)
GetUsedCredentialsOk returns a tuple with the UsedCredentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetUsedLoadBalancers ¶
func (o *GetQuotaResponse) GetUsedLoadBalancers() int32
GetUsedLoadBalancers returns the UsedLoadBalancers field value if set, zero value otherwise.
func (*GetQuotaResponse) GetUsedLoadBalancersOk ¶
func (o *GetQuotaResponse) GetUsedLoadBalancersOk() (*int32, bool)
GetUsedLoadBalancersOk returns a tuple with the UsedLoadBalancers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) HasMaxCredentials ¶
func (o *GetQuotaResponse) HasMaxCredentials() bool
HasMaxCredentials returns a boolean if a field has been set.
func (*GetQuotaResponse) HasMaxLoadBalancers ¶
func (o *GetQuotaResponse) HasMaxLoadBalancers() bool
HasMaxLoadBalancers returns a boolean if a field has been set.
func (*GetQuotaResponse) HasProjectId ¶
func (o *GetQuotaResponse) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*GetQuotaResponse) HasRegion ¶
func (o *GetQuotaResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*GetQuotaResponse) HasUsedCredentials ¶
func (o *GetQuotaResponse) HasUsedCredentials() bool
HasUsedCredentials returns a boolean if a field has been set.
func (*GetQuotaResponse) HasUsedLoadBalancers ¶
func (o *GetQuotaResponse) HasUsedLoadBalancers() bool
HasUsedLoadBalancers returns a boolean if a field has been set.
func (GetQuotaResponse) MarshalJSON ¶
func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
func (*GetQuotaResponse) SetMaxCredentials ¶
func (o *GetQuotaResponse) SetMaxCredentials(v int32)
SetMaxCredentials gets a reference to the given int32 and assigns it to the MaxCredentials field.
func (*GetQuotaResponse) SetMaxLoadBalancers ¶
func (o *GetQuotaResponse) SetMaxLoadBalancers(v int32)
SetMaxLoadBalancers gets a reference to the given int32 and assigns it to the MaxLoadBalancers field.
func (*GetQuotaResponse) SetProjectId ¶
func (o *GetQuotaResponse) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*GetQuotaResponse) SetRegion ¶
func (o *GetQuotaResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*GetQuotaResponse) SetUsedCredentials ¶
func (o *GetQuotaResponse) SetUsedCredentials(v int32)
SetUsedCredentials gets a reference to the given int32 and assigns it to the UsedCredentials field.
func (*GetQuotaResponse) SetUsedLoadBalancers ¶
func (o *GetQuotaResponse) SetUsedLoadBalancers(v int32)
SetUsedLoadBalancers gets a reference to the given int32 and assigns it to the UsedLoadBalancers field.
func (GetQuotaResponse) ToMap ¶
func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
type GoogleProtobufAny ¶
type GoogleProtobufAny struct {
// The type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{}
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny 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 NewGoogleProtobufAnyWithDefaults ¶
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny 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 (*GoogleProtobufAny) GetType ¶
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoogleProtobufAny) HasType ¶
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (GoogleProtobufAny) ToMap ¶
func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
func (*GoogleProtobufAny) UnmarshalJSON ¶
func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
type HttpHealthChecks ¶
type HttpHealthChecks struct {
// List of HTTP status codes that indicate a healthy response
OkStatuses []string `json:"okStatuses,omitempty"`
// Path to send the health check request to
Path *string `json:"path,omitempty"`
Tls *TlsConfig `json:"tls,omitempty"`
}
HttpHealthChecks Options for the HTTP health checking.
func NewHttpHealthChecks ¶
func NewHttpHealthChecks() *HttpHealthChecks
NewHttpHealthChecks instantiates a new HttpHealthChecks 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 NewHttpHealthChecksWithDefaults ¶
func NewHttpHealthChecksWithDefaults() *HttpHealthChecks
NewHttpHealthChecksWithDefaults instantiates a new HttpHealthChecks 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 (*HttpHealthChecks) GetOkStatuses ¶
func (o *HttpHealthChecks) GetOkStatuses() []string
GetOkStatuses returns the OkStatuses field value if set, zero value otherwise.
func (*HttpHealthChecks) GetOkStatusesOk ¶
func (o *HttpHealthChecks) GetOkStatusesOk() ([]string, bool)
GetOkStatusesOk returns a tuple with the OkStatuses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HttpHealthChecks) GetPath ¶
func (o *HttpHealthChecks) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*HttpHealthChecks) GetPathOk ¶
func (o *HttpHealthChecks) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HttpHealthChecks) GetTls ¶
func (o *HttpHealthChecks) GetTls() TlsConfig
GetTls returns the Tls field value if set, zero value otherwise.
func (*HttpHealthChecks) GetTlsOk ¶
func (o *HttpHealthChecks) GetTlsOk() (*TlsConfig, bool)
GetTlsOk returns a tuple with the Tls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HttpHealthChecks) HasOkStatuses ¶
func (o *HttpHealthChecks) HasOkStatuses() bool
HasOkStatuses returns a boolean if a field has been set.
func (*HttpHealthChecks) HasPath ¶
func (o *HttpHealthChecks) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*HttpHealthChecks) HasTls ¶
func (o *HttpHealthChecks) HasTls() bool
HasTls returns a boolean if a field has been set.
func (HttpHealthChecks) MarshalJSON ¶
func (o HttpHealthChecks) MarshalJSON() ([]byte, error)
func (*HttpHealthChecks) SetOkStatuses ¶
func (o *HttpHealthChecks) SetOkStatuses(v []string)
SetOkStatuses gets a reference to the given []string and assigns it to the OkStatuses field.
func (*HttpHealthChecks) SetPath ¶
func (o *HttpHealthChecks) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*HttpHealthChecks) SetTls ¶
func (o *HttpHealthChecks) SetTls(v TlsConfig)
SetTls gets a reference to the given TlsConfig and assigns it to the Tls field.
func (HttpHealthChecks) ToMap ¶
func (o HttpHealthChecks) ToMap() (map[string]interface{}, error)
type ListCredentialsResponse ¶
type ListCredentialsResponse struct {
Credentials []CredentialsResponse `json:"credentials,omitempty"`
}
ListCredentialsResponse struct for ListCredentialsResponse
func NewListCredentialsResponse ¶
func NewListCredentialsResponse() *ListCredentialsResponse
NewListCredentialsResponse instantiates a new ListCredentialsResponse 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 NewListCredentialsResponseWithDefaults ¶
func NewListCredentialsResponseWithDefaults() *ListCredentialsResponse
NewListCredentialsResponseWithDefaults instantiates a new ListCredentialsResponse 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 (*ListCredentialsResponse) GetCredentials ¶
func (o *ListCredentialsResponse) GetCredentials() []CredentialsResponse
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*ListCredentialsResponse) GetCredentialsOk ¶
func (o *ListCredentialsResponse) GetCredentialsOk() ([]CredentialsResponse, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCredentialsResponse) HasCredentials ¶
func (o *ListCredentialsResponse) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (ListCredentialsResponse) MarshalJSON ¶
func (o ListCredentialsResponse) MarshalJSON() ([]byte, error)
func (*ListCredentialsResponse) SetCredentials ¶
func (o *ListCredentialsResponse) SetCredentials(v []CredentialsResponse)
SetCredentials gets a reference to the given []CredentialsResponse and assigns it to the Credentials field.
func (ListCredentialsResponse) ToMap ¶
func (o ListCredentialsResponse) ToMap() (map[string]interface{}, error)
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct {
LoadBalancers []LoadBalancer `json:"loadBalancers,omitempty"`
// Continue token from the ListLoadBalancerResponse with Limit option
NextPageId *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
}
ListLoadBalancersResponse struct for ListLoadBalancersResponse
func NewListLoadBalancersResponse ¶
func NewListLoadBalancersResponse() *ListLoadBalancersResponse
NewListLoadBalancersResponse instantiates a new ListLoadBalancersResponse 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 NewListLoadBalancersResponseWithDefaults ¶
func NewListLoadBalancersResponseWithDefaults() *ListLoadBalancersResponse
NewListLoadBalancersResponseWithDefaults instantiates a new ListLoadBalancersResponse 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 (*ListLoadBalancersResponse) GetLoadBalancers ¶
func (o *ListLoadBalancersResponse) GetLoadBalancers() []LoadBalancer
GetLoadBalancers returns the LoadBalancers field value if set, zero value otherwise.
func (*ListLoadBalancersResponse) GetLoadBalancersOk ¶
func (o *ListLoadBalancersResponse) GetLoadBalancersOk() ([]LoadBalancer, bool)
GetLoadBalancersOk returns a tuple with the LoadBalancers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListLoadBalancersResponse) GetNextPageId ¶
func (o *ListLoadBalancersResponse) GetNextPageId() string
GetNextPageId returns the NextPageId field value if set, zero value otherwise.
func (*ListLoadBalancersResponse) GetNextPageIdOk ¶
func (o *ListLoadBalancersResponse) GetNextPageIdOk() (*string, bool)
GetNextPageIdOk returns a tuple with the NextPageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListLoadBalancersResponse) HasLoadBalancers ¶
func (o *ListLoadBalancersResponse) HasLoadBalancers() bool
HasLoadBalancers returns a boolean if a field has been set.
func (*ListLoadBalancersResponse) HasNextPageId ¶
func (o *ListLoadBalancersResponse) HasNextPageId() bool
HasNextPageId returns a boolean if a field has been set.
func (ListLoadBalancersResponse) MarshalJSON ¶
func (o ListLoadBalancersResponse) MarshalJSON() ([]byte, error)
func (*ListLoadBalancersResponse) SetLoadBalancers ¶
func (o *ListLoadBalancersResponse) SetLoadBalancers(v []LoadBalancer)
SetLoadBalancers gets a reference to the given []LoadBalancer and assigns it to the LoadBalancers field.
func (*ListLoadBalancersResponse) SetNextPageId ¶
func (o *ListLoadBalancersResponse) SetNextPageId(v string)
SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.
func (ListLoadBalancersResponse) ToMap ¶
func (o ListLoadBalancersResponse) ToMap() (map[string]interface{}, error)
type ListPlansResponse ¶
type ListPlansResponse struct {
ValidPlans []PlanDetails `json:"validPlans,omitempty"`
}
ListPlansResponse struct for ListPlansResponse
func NewListPlansResponse ¶
func NewListPlansResponse() *ListPlansResponse
NewListPlansResponse instantiates a new ListPlansResponse 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 NewListPlansResponseWithDefaults ¶
func NewListPlansResponseWithDefaults() *ListPlansResponse
NewListPlansResponseWithDefaults instantiates a new ListPlansResponse 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 (*ListPlansResponse) GetValidPlans ¶
func (o *ListPlansResponse) GetValidPlans() []PlanDetails
GetValidPlans returns the ValidPlans field value if set, zero value otherwise.
func (*ListPlansResponse) GetValidPlansOk ¶
func (o *ListPlansResponse) GetValidPlansOk() ([]PlanDetails, bool)
GetValidPlansOk returns a tuple with the ValidPlans field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListPlansResponse) HasValidPlans ¶
func (o *ListPlansResponse) HasValidPlans() bool
HasValidPlans returns a boolean if a field has been set.
func (ListPlansResponse) MarshalJSON ¶
func (o ListPlansResponse) MarshalJSON() ([]byte, error)
func (*ListPlansResponse) SetValidPlans ¶
func (o *ListPlansResponse) SetValidPlans(v []PlanDetails)
SetValidPlans gets a reference to the given []PlanDetails and assigns it to the ValidPlans field.
func (ListPlansResponse) ToMap ¶
func (o ListPlansResponse) ToMap() (map[string]interface{}, error)
type Listener ¶
type Listener struct {
DisplayName *string `json:"displayName,omitempty"`
// Will be used to reference a listener and will replace display name in the future. Currently uses <protocol>-<port> as the name if no display name is given.
Name *string `json:"name,omitempty"`
// Port number where we listen for traffic
Port *int32 `json:"port,omitempty"`
// Protocol is the highest network protocol we understand to load balance. Currently only PROTOCOL_TCP, PROTOCOL_TCP_PROXY and PROTOCOL_TLS_PASSTHROUGH are supported.
Protocol *string `json:"protocol,omitempty"`
// Server Name Indicators config for domains to be routed to the desired target pool for this listener.
ServerNameIndicators []ServerNameIndicator `json:"serverNameIndicators,omitempty"`
// Reference target pool by target pool name.
TargetPool *string `json:"targetPool,omitempty"`
Tcp *OptionsTCP `json:"tcp,omitempty"`
Udp *OptionsUDP `json:"udp,omitempty"`
}
Listener struct for Listener
func NewListener ¶
func NewListener() *Listener
NewListener instantiates a new Listener 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 NewListenerWithDefaults ¶
func NewListenerWithDefaults() *Listener
NewListenerWithDefaults instantiates a new Listener 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 (*Listener) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*Listener) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetPortOk ¶
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetProtocol ¶
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*Listener) GetProtocolOk ¶
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetServerNameIndicators ¶
func (o *Listener) GetServerNameIndicators() []ServerNameIndicator
GetServerNameIndicators returns the ServerNameIndicators field value if set, zero value otherwise.
func (*Listener) GetServerNameIndicatorsOk ¶
func (o *Listener) GetServerNameIndicatorsOk() ([]ServerNameIndicator, bool)
GetServerNameIndicatorsOk returns a tuple with the ServerNameIndicators field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetTargetPool ¶
GetTargetPool returns the TargetPool field value if set, zero value otherwise.
func (*Listener) GetTargetPoolOk ¶
GetTargetPoolOk returns a tuple with the TargetPool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetTcp ¶
func (o *Listener) GetTcp() OptionsTCP
GetTcp returns the Tcp field value if set, zero value otherwise.
func (*Listener) GetTcpOk ¶
func (o *Listener) GetTcpOk() (*OptionsTCP, bool)
GetTcpOk returns a tuple with the Tcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) GetUdp ¶
func (o *Listener) GetUdp() OptionsUDP
GetUdp returns the Udp field value if set, zero value otherwise.
func (*Listener) GetUdpOk ¶
func (o *Listener) GetUdpOk() (*OptionsUDP, bool)
GetUdpOk returns a tuple with the Udp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Listener) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*Listener) HasProtocol ¶
HasProtocol returns a boolean if a field has been set.
func (*Listener) HasServerNameIndicators ¶
HasServerNameIndicators returns a boolean if a field has been set.
func (*Listener) HasTargetPool ¶
HasTargetPool returns a boolean if a field has been set.
func (Listener) MarshalJSON ¶
func (*Listener) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*Listener) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Listener) SetPort ¶
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*Listener) SetProtocol ¶
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*Listener) SetServerNameIndicators ¶
func (o *Listener) SetServerNameIndicators(v []ServerNameIndicator)
SetServerNameIndicators gets a reference to the given []ServerNameIndicator and assigns it to the ServerNameIndicators field.
func (*Listener) SetTargetPool ¶
SetTargetPool gets a reference to the given string and assigns it to the TargetPool field.
func (*Listener) SetTcp ¶
func (o *Listener) SetTcp(v OptionsTCP)
SetTcp gets a reference to the given OptionsTCP and assigns it to the Tcp field.
func (*Listener) SetUdp ¶
func (o *Listener) SetUdp(v OptionsUDP)
SetUdp gets a reference to the given OptionsUDP and assigns it to the Udp field.
type LoadBalancer ¶
type LoadBalancer struct {
// Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.
DisableTargetSecurityGroupAssignment *bool `json:"disableTargetSecurityGroupAssignment,omitempty"`
// Reports all errors a load balancer has.
Errors []LoadBalancerError `json:"errors,omitempty"`
// External load balancer IP address where this load balancer is exposed. Not changeable after creation.
ExternalAddress *string `json:"externalAddress,omitempty"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener.
Listeners []Listener `json:"listeners,omitempty"`
// Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
LoadBalancerSecurityGroup *SecurityGroup `json:"loadBalancerSecurityGroup,omitempty"`
// Load balancer name. Not changeable after creation.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation.
Networks []Network `json:"networks,omitempty"`
Options *LoadBalancerOptions `json:"options,omitempty"`
// Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId *string `json:"planId,omitempty"`
// Transient private load balancer IP address that can change any time.
PrivateAddress *string `json:"privateAddress,omitempty"`
// Region of the LoadBalancer
Region *string `json:"region,omitempty"`
Status *string `json:"status,omitempty"`
// List of all target pools which will be used in the load balancer. Limited to 20.
TargetPools []TargetPool `json:"targetPools,omitempty"`
// Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
TargetSecurityGroup *SecurityGroup `json:"targetSecurityGroup,omitempty"`
// Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.
Version *string `json:"version,omitempty"`
}
LoadBalancer struct for LoadBalancer
func NewLoadBalancer ¶
func NewLoadBalancer() *LoadBalancer
NewLoadBalancer instantiates a new LoadBalancer 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 NewLoadBalancerWithDefaults ¶
func NewLoadBalancerWithDefaults() *LoadBalancer
NewLoadBalancerWithDefaults instantiates a new LoadBalancer 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 (*LoadBalancer) GetDisableTargetSecurityGroupAssignment ¶
func (o *LoadBalancer) GetDisableTargetSecurityGroupAssignment() bool
GetDisableTargetSecurityGroupAssignment returns the DisableTargetSecurityGroupAssignment field value if set, zero value otherwise.
func (*LoadBalancer) GetDisableTargetSecurityGroupAssignmentOk ¶
func (o *LoadBalancer) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
GetDisableTargetSecurityGroupAssignmentOk returns a tuple with the DisableTargetSecurityGroupAssignment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetErrors ¶
func (o *LoadBalancer) GetErrors() []LoadBalancerError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*LoadBalancer) GetErrorsOk ¶
func (o *LoadBalancer) GetErrorsOk() ([]LoadBalancerError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetExternalAddress ¶
func (o *LoadBalancer) GetExternalAddress() string
GetExternalAddress returns the ExternalAddress field value if set, zero value otherwise.
func (*LoadBalancer) GetExternalAddressOk ¶
func (o *LoadBalancer) GetExternalAddressOk() (*string, bool)
GetExternalAddressOk returns a tuple with the ExternalAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetLabels ¶
func (o *LoadBalancer) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*LoadBalancer) GetLabelsOk ¶
func (o *LoadBalancer) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetListeners ¶
func (o *LoadBalancer) GetListeners() []Listener
GetListeners returns the Listeners field value if set, zero value otherwise.
func (*LoadBalancer) GetListenersOk ¶
func (o *LoadBalancer) GetListenersOk() ([]Listener, bool)
GetListenersOk returns a tuple with the Listeners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetLoadBalancerSecurityGroup ¶
func (o *LoadBalancer) GetLoadBalancerSecurityGroup() SecurityGroup
GetLoadBalancerSecurityGroup returns the LoadBalancerSecurityGroup field value if set, zero value otherwise.
func (*LoadBalancer) GetLoadBalancerSecurityGroupOk ¶
func (o *LoadBalancer) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
GetLoadBalancerSecurityGroupOk returns a tuple with the LoadBalancerSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetName ¶
func (o *LoadBalancer) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*LoadBalancer) GetNameOk ¶
func (o *LoadBalancer) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetNetworks ¶
func (o *LoadBalancer) GetNetworks() []Network
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*LoadBalancer) GetNetworksOk ¶
func (o *LoadBalancer) GetNetworksOk() ([]Network, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetOptions ¶
func (o *LoadBalancer) GetOptions() LoadBalancerOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*LoadBalancer) GetOptionsOk ¶
func (o *LoadBalancer) GetOptionsOk() (*LoadBalancerOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetPlanId ¶
func (o *LoadBalancer) GetPlanId() string
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*LoadBalancer) GetPlanIdOk ¶
func (o *LoadBalancer) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetPrivateAddress ¶
func (o *LoadBalancer) GetPrivateAddress() string
GetPrivateAddress returns the PrivateAddress field value if set, zero value otherwise.
func (*LoadBalancer) GetPrivateAddressOk ¶
func (o *LoadBalancer) GetPrivateAddressOk() (*string, bool)
GetPrivateAddressOk returns a tuple with the PrivateAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetRegion ¶
func (o *LoadBalancer) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*LoadBalancer) GetRegionOk ¶
func (o *LoadBalancer) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetStatus ¶
func (o *LoadBalancer) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LoadBalancer) GetStatusOk ¶
func (o *LoadBalancer) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetTargetPools ¶
func (o *LoadBalancer) GetTargetPools() []TargetPool
GetTargetPools returns the TargetPools field value if set, zero value otherwise.
func (*LoadBalancer) GetTargetPoolsOk ¶
func (o *LoadBalancer) GetTargetPoolsOk() ([]TargetPool, bool)
GetTargetPoolsOk returns a tuple with the TargetPools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetTargetSecurityGroup ¶
func (o *LoadBalancer) GetTargetSecurityGroup() SecurityGroup
GetTargetSecurityGroup returns the TargetSecurityGroup field value if set, zero value otherwise.
func (*LoadBalancer) GetTargetSecurityGroupOk ¶
func (o *LoadBalancer) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
GetTargetSecurityGroupOk returns a tuple with the TargetSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) GetVersion ¶
func (o *LoadBalancer) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*LoadBalancer) GetVersionOk ¶
func (o *LoadBalancer) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancer) HasDisableTargetSecurityGroupAssignment ¶
func (o *LoadBalancer) HasDisableTargetSecurityGroupAssignment() bool
HasDisableTargetSecurityGroupAssignment returns a boolean if a field has been set.
func (*LoadBalancer) HasErrors ¶
func (o *LoadBalancer) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*LoadBalancer) HasExternalAddress ¶
func (o *LoadBalancer) HasExternalAddress() bool
HasExternalAddress returns a boolean if a field has been set.
func (*LoadBalancer) HasLabels ¶
func (o *LoadBalancer) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*LoadBalancer) HasListeners ¶
func (o *LoadBalancer) HasListeners() bool
HasListeners returns a boolean if a field has been set.
func (*LoadBalancer) HasLoadBalancerSecurityGroup ¶
func (o *LoadBalancer) HasLoadBalancerSecurityGroup() bool
HasLoadBalancerSecurityGroup returns a boolean if a field has been set.
func (*LoadBalancer) HasName ¶
func (o *LoadBalancer) HasName() bool
HasName returns a boolean if a field has been set.
func (*LoadBalancer) HasNetworks ¶
func (o *LoadBalancer) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (*LoadBalancer) HasOptions ¶
func (o *LoadBalancer) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*LoadBalancer) HasPlanId ¶
func (o *LoadBalancer) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*LoadBalancer) HasPrivateAddress ¶
func (o *LoadBalancer) HasPrivateAddress() bool
HasPrivateAddress returns a boolean if a field has been set.
func (*LoadBalancer) HasRegion ¶
func (o *LoadBalancer) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*LoadBalancer) HasStatus ¶
func (o *LoadBalancer) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LoadBalancer) HasTargetPools ¶
func (o *LoadBalancer) HasTargetPools() bool
HasTargetPools returns a boolean if a field has been set.
func (*LoadBalancer) HasTargetSecurityGroup ¶
func (o *LoadBalancer) HasTargetSecurityGroup() bool
HasTargetSecurityGroup returns a boolean if a field has been set.
func (*LoadBalancer) HasVersion ¶
func (o *LoadBalancer) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (LoadBalancer) MarshalJSON ¶
func (o LoadBalancer) MarshalJSON() ([]byte, error)
func (*LoadBalancer) SetDisableTargetSecurityGroupAssignment ¶
func (o *LoadBalancer) SetDisableTargetSecurityGroupAssignment(v bool)
SetDisableTargetSecurityGroupAssignment gets a reference to the given bool and assigns it to the DisableTargetSecurityGroupAssignment field.
func (*LoadBalancer) SetErrors ¶
func (o *LoadBalancer) SetErrors(v []LoadBalancerError)
SetErrors gets a reference to the given []LoadBalancerError and assigns it to the Errors field.
func (*LoadBalancer) SetExternalAddress ¶
func (o *LoadBalancer) SetExternalAddress(v string)
SetExternalAddress gets a reference to the given string and assigns it to the ExternalAddress field.
func (*LoadBalancer) SetLabels ¶
func (o *LoadBalancer) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*LoadBalancer) SetListeners ¶
func (o *LoadBalancer) SetListeners(v []Listener)
SetListeners gets a reference to the given []Listener and assigns it to the Listeners field.
func (*LoadBalancer) SetLoadBalancerSecurityGroup ¶
func (o *LoadBalancer) SetLoadBalancerSecurityGroup(v SecurityGroup)
SetLoadBalancerSecurityGroup gets a reference to the given SecurityGroup and assigns it to the LoadBalancerSecurityGroup field.
func (*LoadBalancer) SetName ¶
func (o *LoadBalancer) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*LoadBalancer) SetNetworks ¶
func (o *LoadBalancer) SetNetworks(v []Network)
SetNetworks gets a reference to the given []Network and assigns it to the Networks field.
func (*LoadBalancer) SetOptions ¶
func (o *LoadBalancer) SetOptions(v LoadBalancerOptions)
SetOptions gets a reference to the given LoadBalancerOptions and assigns it to the Options field.
func (*LoadBalancer) SetPlanId ¶
func (o *LoadBalancer) SetPlanId(v string)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (*LoadBalancer) SetPrivateAddress ¶
func (o *LoadBalancer) SetPrivateAddress(v string)
SetPrivateAddress gets a reference to the given string and assigns it to the PrivateAddress field.
func (*LoadBalancer) SetRegion ¶
func (o *LoadBalancer) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*LoadBalancer) SetStatus ¶
func (o *LoadBalancer) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*LoadBalancer) SetTargetPools ¶
func (o *LoadBalancer) SetTargetPools(v []TargetPool)
SetTargetPools gets a reference to the given []TargetPool and assigns it to the TargetPools field.
func (*LoadBalancer) SetTargetSecurityGroup ¶
func (o *LoadBalancer) SetTargetSecurityGroup(v SecurityGroup)
SetTargetSecurityGroup gets a reference to the given SecurityGroup and assigns it to the TargetSecurityGroup field.
func (*LoadBalancer) SetVersion ¶
func (o *LoadBalancer) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (LoadBalancer) ToMap ¶
func (o LoadBalancer) ToMap() (map[string]interface{}, error)
type LoadBalancerError ¶
type LoadBalancerError struct {
// The error description contains additional helpful user information to fix the error state of the load balancer. For example the IP 45.135.247.139 does not exist in the project, then the description will report: Floating IP \"45.135.247.139\" could not be found or if the IP was deleted then you will get a proper error message.
Description *string `json:"description,omitempty"`
// The error type specifies which part of the load balancer encountered the error. I.e. the API will not check if a provided public IP is actually available in the project. Instead the load balancer with try to use the provided IP and if not available reports TYPE_FIP_NOT_CONFIGURED error or TYPE_FIP_NOT_FOUND if the IP was deleted.
Type *string `json:"type,omitempty"`
}
LoadBalancerError struct for LoadBalancerError
func NewLoadBalancerError ¶
func NewLoadBalancerError() *LoadBalancerError
NewLoadBalancerError instantiates a new LoadBalancerError 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 NewLoadBalancerErrorWithDefaults ¶
func NewLoadBalancerErrorWithDefaults() *LoadBalancerError
NewLoadBalancerErrorWithDefaults instantiates a new LoadBalancerError 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 (*LoadBalancerError) GetDescription ¶
func (o *LoadBalancerError) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*LoadBalancerError) GetDescriptionOk ¶
func (o *LoadBalancerError) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerError) GetType ¶
func (o *LoadBalancerError) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*LoadBalancerError) GetTypeOk ¶
func (o *LoadBalancerError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerError) HasDescription ¶
func (o *LoadBalancerError) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*LoadBalancerError) HasType ¶
func (o *LoadBalancerError) HasType() bool
HasType returns a boolean if a field has been set.
func (LoadBalancerError) MarshalJSON ¶
func (o LoadBalancerError) MarshalJSON() ([]byte, error)
func (*LoadBalancerError) SetDescription ¶
func (o *LoadBalancerError) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*LoadBalancerError) SetType ¶
func (o *LoadBalancerError) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (LoadBalancerError) ToMap ¶
func (o LoadBalancerError) ToMap() (map[string]interface{}, error)
type LoadBalancerOptions ¶
type LoadBalancerOptions struct {
AccessControl *LoadbalancerOptionAccessControl `json:"accessControl,omitempty"`
EphemeralAddress *bool `json:"ephemeralAddress,omitempty"`
Observability *LoadbalancerOptionObservability `json:"observability,omitempty"`
// Load Balancer is accessible only via a private network ip address. Not changeable after creation.
PrivateNetworkOnly *bool `json:"privateNetworkOnly,omitempty"`
}
LoadBalancerOptions Defines any optional functionality you want to have enabled on your load balancer.
func NewLoadBalancerOptions ¶
func NewLoadBalancerOptions() *LoadBalancerOptions
NewLoadBalancerOptions instantiates a new LoadBalancerOptions 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 NewLoadBalancerOptionsWithDefaults ¶
func NewLoadBalancerOptionsWithDefaults() *LoadBalancerOptions
NewLoadBalancerOptionsWithDefaults instantiates a new LoadBalancerOptions 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 (*LoadBalancerOptions) GetAccessControl ¶
func (o *LoadBalancerOptions) GetAccessControl() LoadbalancerOptionAccessControl
GetAccessControl returns the AccessControl field value if set, zero value otherwise.
func (*LoadBalancerOptions) GetAccessControlOk ¶
func (o *LoadBalancerOptions) GetAccessControlOk() (*LoadbalancerOptionAccessControl, bool)
GetAccessControlOk returns a tuple with the AccessControl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerOptions) GetEphemeralAddress ¶
func (o *LoadBalancerOptions) GetEphemeralAddress() bool
GetEphemeralAddress returns the EphemeralAddress field value if set, zero value otherwise.
func (*LoadBalancerOptions) GetEphemeralAddressOk ¶
func (o *LoadBalancerOptions) GetEphemeralAddressOk() (*bool, bool)
GetEphemeralAddressOk returns a tuple with the EphemeralAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerOptions) GetObservability ¶
func (o *LoadBalancerOptions) GetObservability() LoadbalancerOptionObservability
GetObservability returns the Observability field value if set, zero value otherwise.
func (*LoadBalancerOptions) GetObservabilityOk ¶
func (o *LoadBalancerOptions) GetObservabilityOk() (*LoadbalancerOptionObservability, bool)
GetObservabilityOk returns a tuple with the Observability field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerOptions) GetPrivateNetworkOnly ¶
func (o *LoadBalancerOptions) GetPrivateNetworkOnly() bool
GetPrivateNetworkOnly returns the PrivateNetworkOnly field value if set, zero value otherwise.
func (*LoadBalancerOptions) GetPrivateNetworkOnlyOk ¶
func (o *LoadBalancerOptions) GetPrivateNetworkOnlyOk() (*bool, bool)
GetPrivateNetworkOnlyOk returns a tuple with the PrivateNetworkOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadBalancerOptions) HasAccessControl ¶
func (o *LoadBalancerOptions) HasAccessControl() bool
HasAccessControl returns a boolean if a field has been set.
func (*LoadBalancerOptions) HasEphemeralAddress ¶
func (o *LoadBalancerOptions) HasEphemeralAddress() bool
HasEphemeralAddress returns a boolean if a field has been set.
func (*LoadBalancerOptions) HasObservability ¶
func (o *LoadBalancerOptions) HasObservability() bool
HasObservability returns a boolean if a field has been set.
func (*LoadBalancerOptions) HasPrivateNetworkOnly ¶
func (o *LoadBalancerOptions) HasPrivateNetworkOnly() bool
HasPrivateNetworkOnly returns a boolean if a field has been set.
func (LoadBalancerOptions) MarshalJSON ¶
func (o LoadBalancerOptions) MarshalJSON() ([]byte, error)
func (*LoadBalancerOptions) SetAccessControl ¶
func (o *LoadBalancerOptions) SetAccessControl(v LoadbalancerOptionAccessControl)
SetAccessControl gets a reference to the given LoadbalancerOptionAccessControl and assigns it to the AccessControl field.
func (*LoadBalancerOptions) SetEphemeralAddress ¶
func (o *LoadBalancerOptions) SetEphemeralAddress(v bool)
SetEphemeralAddress gets a reference to the given bool and assigns it to the EphemeralAddress field.
func (*LoadBalancerOptions) SetObservability ¶
func (o *LoadBalancerOptions) SetObservability(v LoadbalancerOptionObservability)
SetObservability gets a reference to the given LoadbalancerOptionObservability and assigns it to the Observability field.
func (*LoadBalancerOptions) SetPrivateNetworkOnly ¶
func (o *LoadBalancerOptions) SetPrivateNetworkOnly(v bool)
SetPrivateNetworkOnly gets a reference to the given bool and assigns it to the PrivateNetworkOnly field.
func (LoadBalancerOptions) ToMap ¶
func (o LoadBalancerOptions) ToMap() (map[string]interface{}, error)
type LoadbalancerOptionAccessControl ¶
type LoadbalancerOptionAccessControl struct {
// Load Balancer is accessible only from an IP address in this range
AllowedSourceRanges []string `json:"allowedSourceRanges,omitempty"`
}
LoadbalancerOptionAccessControl Use this option to limit the IP ranges that can use the load balancer.
func NewLoadbalancerOptionAccessControl ¶
func NewLoadbalancerOptionAccessControl() *LoadbalancerOptionAccessControl
NewLoadbalancerOptionAccessControl instantiates a new LoadbalancerOptionAccessControl 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 NewLoadbalancerOptionAccessControlWithDefaults ¶
func NewLoadbalancerOptionAccessControlWithDefaults() *LoadbalancerOptionAccessControl
NewLoadbalancerOptionAccessControlWithDefaults instantiates a new LoadbalancerOptionAccessControl 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 (*LoadbalancerOptionAccessControl) GetAllowedSourceRanges ¶
func (o *LoadbalancerOptionAccessControl) GetAllowedSourceRanges() []string
GetAllowedSourceRanges returns the AllowedSourceRanges field value if set, zero value otherwise.
func (*LoadbalancerOptionAccessControl) GetAllowedSourceRangesOk ¶
func (o *LoadbalancerOptionAccessControl) GetAllowedSourceRangesOk() ([]string, bool)
GetAllowedSourceRangesOk returns a tuple with the AllowedSourceRanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionAccessControl) HasAllowedSourceRanges ¶
func (o *LoadbalancerOptionAccessControl) HasAllowedSourceRanges() bool
HasAllowedSourceRanges returns a boolean if a field has been set.
func (LoadbalancerOptionAccessControl) MarshalJSON ¶
func (o LoadbalancerOptionAccessControl) MarshalJSON() ([]byte, error)
func (*LoadbalancerOptionAccessControl) SetAllowedSourceRanges ¶
func (o *LoadbalancerOptionAccessControl) SetAllowedSourceRanges(v []string)
SetAllowedSourceRanges gets a reference to the given []string and assigns it to the AllowedSourceRanges field.
func (LoadbalancerOptionAccessControl) ToMap ¶
func (o LoadbalancerOptionAccessControl) ToMap() (map[string]interface{}, error)
type LoadbalancerOptionLogs ¶
type LoadbalancerOptionLogs struct {
// Credentials reference for logging. This reference is created via the observability create endpoint and the credential needs to contain the basic auth username and password for the logging solution the push URL points to. Then this enables monitoring via remote write for the Load Balancer.
CredentialsRef *string `json:"credentialsRef,omitempty"`
// The Observability(Logs)/Loki remote write Push URL you want the logs to be shipped to.
PushUrl *string `json:"pushUrl,omitempty"`
}
LoadbalancerOptionLogs struct for LoadbalancerOptionLogs
func NewLoadbalancerOptionLogs ¶
func NewLoadbalancerOptionLogs() *LoadbalancerOptionLogs
NewLoadbalancerOptionLogs instantiates a new LoadbalancerOptionLogs 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 NewLoadbalancerOptionLogsWithDefaults ¶
func NewLoadbalancerOptionLogsWithDefaults() *LoadbalancerOptionLogs
NewLoadbalancerOptionLogsWithDefaults instantiates a new LoadbalancerOptionLogs 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 (*LoadbalancerOptionLogs) GetCredentialsRef ¶
func (o *LoadbalancerOptionLogs) GetCredentialsRef() string
GetCredentialsRef returns the CredentialsRef field value if set, zero value otherwise.
func (*LoadbalancerOptionLogs) GetCredentialsRefOk ¶
func (o *LoadbalancerOptionLogs) GetCredentialsRefOk() (*string, bool)
GetCredentialsRefOk returns a tuple with the CredentialsRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionLogs) GetPushUrl ¶
func (o *LoadbalancerOptionLogs) GetPushUrl() string
GetPushUrl returns the PushUrl field value if set, zero value otherwise.
func (*LoadbalancerOptionLogs) GetPushUrlOk ¶
func (o *LoadbalancerOptionLogs) GetPushUrlOk() (*string, bool)
GetPushUrlOk returns a tuple with the PushUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionLogs) HasCredentialsRef ¶
func (o *LoadbalancerOptionLogs) HasCredentialsRef() bool
HasCredentialsRef returns a boolean if a field has been set.
func (*LoadbalancerOptionLogs) HasPushUrl ¶
func (o *LoadbalancerOptionLogs) HasPushUrl() bool
HasPushUrl returns a boolean if a field has been set.
func (LoadbalancerOptionLogs) MarshalJSON ¶
func (o LoadbalancerOptionLogs) MarshalJSON() ([]byte, error)
func (*LoadbalancerOptionLogs) SetCredentialsRef ¶
func (o *LoadbalancerOptionLogs) SetCredentialsRef(v string)
SetCredentialsRef gets a reference to the given string and assigns it to the CredentialsRef field.
func (*LoadbalancerOptionLogs) SetPushUrl ¶
func (o *LoadbalancerOptionLogs) SetPushUrl(v string)
SetPushUrl gets a reference to the given string and assigns it to the PushUrl field.
func (LoadbalancerOptionLogs) ToMap ¶
func (o LoadbalancerOptionLogs) ToMap() (map[string]interface{}, error)
type LoadbalancerOptionMetrics ¶
type LoadbalancerOptionMetrics struct {
// Credentials reference for metrics. This reference is created via the observability create endpoint and the credential needs to contain the basic auth username and password for the metrics solution the push URL points to. Then this enables monitoring via remote write for the Load Balancer.
CredentialsRef *string `json:"credentialsRef,omitempty"`
// The Observability(Metrics)/Prometheus remote write push URL you want the metrics to be shipped to.
PushUrl *string `json:"pushUrl,omitempty"`
}
LoadbalancerOptionMetrics struct for LoadbalancerOptionMetrics
func NewLoadbalancerOptionMetrics ¶
func NewLoadbalancerOptionMetrics() *LoadbalancerOptionMetrics
NewLoadbalancerOptionMetrics instantiates a new LoadbalancerOptionMetrics 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 NewLoadbalancerOptionMetricsWithDefaults ¶
func NewLoadbalancerOptionMetricsWithDefaults() *LoadbalancerOptionMetrics
NewLoadbalancerOptionMetricsWithDefaults instantiates a new LoadbalancerOptionMetrics 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 (*LoadbalancerOptionMetrics) GetCredentialsRef ¶
func (o *LoadbalancerOptionMetrics) GetCredentialsRef() string
GetCredentialsRef returns the CredentialsRef field value if set, zero value otherwise.
func (*LoadbalancerOptionMetrics) GetCredentialsRefOk ¶
func (o *LoadbalancerOptionMetrics) GetCredentialsRefOk() (*string, bool)
GetCredentialsRefOk returns a tuple with the CredentialsRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionMetrics) GetPushUrl ¶
func (o *LoadbalancerOptionMetrics) GetPushUrl() string
GetPushUrl returns the PushUrl field value if set, zero value otherwise.
func (*LoadbalancerOptionMetrics) GetPushUrlOk ¶
func (o *LoadbalancerOptionMetrics) GetPushUrlOk() (*string, bool)
GetPushUrlOk returns a tuple with the PushUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionMetrics) HasCredentialsRef ¶
func (o *LoadbalancerOptionMetrics) HasCredentialsRef() bool
HasCredentialsRef returns a boolean if a field has been set.
func (*LoadbalancerOptionMetrics) HasPushUrl ¶
func (o *LoadbalancerOptionMetrics) HasPushUrl() bool
HasPushUrl returns a boolean if a field has been set.
func (LoadbalancerOptionMetrics) MarshalJSON ¶
func (o LoadbalancerOptionMetrics) MarshalJSON() ([]byte, error)
func (*LoadbalancerOptionMetrics) SetCredentialsRef ¶
func (o *LoadbalancerOptionMetrics) SetCredentialsRef(v string)
SetCredentialsRef gets a reference to the given string and assigns it to the CredentialsRef field.
func (*LoadbalancerOptionMetrics) SetPushUrl ¶
func (o *LoadbalancerOptionMetrics) SetPushUrl(v string)
SetPushUrl gets a reference to the given string and assigns it to the PushUrl field.
func (LoadbalancerOptionMetrics) ToMap ¶
func (o LoadbalancerOptionMetrics) ToMap() (map[string]interface{}, error)
type LoadbalancerOptionObservability ¶
type LoadbalancerOptionObservability struct {
Logs *LoadbalancerOptionLogs `json:"logs,omitempty"`
Metrics *LoadbalancerOptionMetrics `json:"metrics,omitempty"`
}
LoadbalancerOptionObservability We offer Load Balancer observability via STACKIT Observability or external solutions.
func NewLoadbalancerOptionObservability ¶
func NewLoadbalancerOptionObservability() *LoadbalancerOptionObservability
NewLoadbalancerOptionObservability instantiates a new LoadbalancerOptionObservability 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 NewLoadbalancerOptionObservabilityWithDefaults ¶
func NewLoadbalancerOptionObservabilityWithDefaults() *LoadbalancerOptionObservability
NewLoadbalancerOptionObservabilityWithDefaults instantiates a new LoadbalancerOptionObservability 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 (*LoadbalancerOptionObservability) GetLogs ¶
func (o *LoadbalancerOptionObservability) GetLogs() LoadbalancerOptionLogs
GetLogs returns the Logs field value if set, zero value otherwise.
func (*LoadbalancerOptionObservability) GetLogsOk ¶
func (o *LoadbalancerOptionObservability) GetLogsOk() (*LoadbalancerOptionLogs, bool)
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionObservability) GetMetrics ¶
func (o *LoadbalancerOptionObservability) GetMetrics() LoadbalancerOptionMetrics
GetMetrics returns the Metrics field value if set, zero value otherwise.
func (*LoadbalancerOptionObservability) GetMetricsOk ¶
func (o *LoadbalancerOptionObservability) GetMetricsOk() (*LoadbalancerOptionMetrics, bool)
GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoadbalancerOptionObservability) HasLogs ¶
func (o *LoadbalancerOptionObservability) HasLogs() bool
HasLogs returns a boolean if a field has been set.
func (*LoadbalancerOptionObservability) HasMetrics ¶
func (o *LoadbalancerOptionObservability) HasMetrics() bool
HasMetrics returns a boolean if a field has been set.
func (LoadbalancerOptionObservability) MarshalJSON ¶
func (o LoadbalancerOptionObservability) MarshalJSON() ([]byte, error)
func (*LoadbalancerOptionObservability) SetLogs ¶
func (o *LoadbalancerOptionObservability) SetLogs(v LoadbalancerOptionLogs)
SetLogs gets a reference to the given LoadbalancerOptionLogs and assigns it to the Logs field.
func (*LoadbalancerOptionObservability) SetMetrics ¶
func (o *LoadbalancerOptionObservability) SetMetrics(v LoadbalancerOptionMetrics)
SetMetrics gets a reference to the given LoadbalancerOptionMetrics and assigns it to the Metrics field.
func (LoadbalancerOptionObservability) ToMap ¶
func (o LoadbalancerOptionObservability) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Network ¶
type Network struct {
// Openstack network ID
NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// The role defines how the load balancer is using the network. Currently only ROLE_LISTENERS_AND_TARGETS is supported.
Role *string `json:"role,omitempty"`
}
Network struct for Network
func NewNetwork ¶
func NewNetwork() *Network
NewNetwork instantiates a new Network 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 NewNetworkWithDefaults ¶
func NewNetworkWithDefaults() *Network
NewNetworkWithDefaults instantiates a new Network 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 (*Network) GetNetworkId ¶
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*Network) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) HasNetworkId ¶
HasNetworkId returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
func (*Network) SetNetworkId ¶
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
type NullableActiveHealthCheck ¶
type NullableActiveHealthCheck struct {
// contains filtered or unexported fields
}
func NewNullableActiveHealthCheck ¶
func NewNullableActiveHealthCheck(val *ActiveHealthCheck) *NullableActiveHealthCheck
func (NullableActiveHealthCheck) Get ¶
func (v NullableActiveHealthCheck) Get() *ActiveHealthCheck
func (NullableActiveHealthCheck) IsSet ¶
func (v NullableActiveHealthCheck) IsSet() bool
func (NullableActiveHealthCheck) MarshalJSON ¶
func (v NullableActiveHealthCheck) MarshalJSON() ([]byte, error)
func (*NullableActiveHealthCheck) Set ¶
func (v *NullableActiveHealthCheck) Set(val *ActiveHealthCheck)
func (*NullableActiveHealthCheck) UnmarshalJSON ¶
func (v *NullableActiveHealthCheck) UnmarshalJSON(src []byte) error
func (*NullableActiveHealthCheck) Unset ¶
func (v *NullableActiveHealthCheck) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateCredentialsPayload ¶
type NullableCreateCredentialsPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateCredentialsPayload ¶
func NewNullableCreateCredentialsPayload(val *CreateCredentialsPayload) *NullableCreateCredentialsPayload
func (NullableCreateCredentialsPayload) Get ¶
func (v NullableCreateCredentialsPayload) Get() *CreateCredentialsPayload
func (NullableCreateCredentialsPayload) IsSet ¶
func (v NullableCreateCredentialsPayload) IsSet() bool
func (NullableCreateCredentialsPayload) MarshalJSON ¶
func (v NullableCreateCredentialsPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateCredentialsPayload) Set ¶
func (v *NullableCreateCredentialsPayload) Set(val *CreateCredentialsPayload)
func (*NullableCreateCredentialsPayload) UnmarshalJSON ¶
func (v *NullableCreateCredentialsPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateCredentialsPayload) Unset ¶
func (v *NullableCreateCredentialsPayload) Unset()
type NullableCreateCredentialsResponse ¶
type NullableCreateCredentialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCredentialsResponse ¶
func NewNullableCreateCredentialsResponse(val *CreateCredentialsResponse) *NullableCreateCredentialsResponse
func (NullableCreateCredentialsResponse) Get ¶
func (v NullableCreateCredentialsResponse) Get() *CreateCredentialsResponse
func (NullableCreateCredentialsResponse) IsSet ¶
func (v NullableCreateCredentialsResponse) IsSet() bool
func (NullableCreateCredentialsResponse) MarshalJSON ¶
func (v NullableCreateCredentialsResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCredentialsResponse) Set ¶
func (v *NullableCreateCredentialsResponse) Set(val *CreateCredentialsResponse)
func (*NullableCreateCredentialsResponse) UnmarshalJSON ¶
func (v *NullableCreateCredentialsResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCredentialsResponse) Unset ¶
func (v *NullableCreateCredentialsResponse) Unset()
type NullableCreateLoadBalancerPayload ¶
type NullableCreateLoadBalancerPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateLoadBalancerPayload ¶
func NewNullableCreateLoadBalancerPayload(val *CreateLoadBalancerPayload) *NullableCreateLoadBalancerPayload
func (NullableCreateLoadBalancerPayload) Get ¶
func (v NullableCreateLoadBalancerPayload) Get() *CreateLoadBalancerPayload
func (NullableCreateLoadBalancerPayload) IsSet ¶
func (v NullableCreateLoadBalancerPayload) IsSet() bool
func (NullableCreateLoadBalancerPayload) MarshalJSON ¶
func (v NullableCreateLoadBalancerPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateLoadBalancerPayload) Set ¶
func (v *NullableCreateLoadBalancerPayload) Set(val *CreateLoadBalancerPayload)
func (*NullableCreateLoadBalancerPayload) UnmarshalJSON ¶
func (v *NullableCreateLoadBalancerPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateLoadBalancerPayload) Unset ¶
func (v *NullableCreateLoadBalancerPayload) Unset()
type NullableCredentialsResponse ¶
type NullableCredentialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCredentialsResponse ¶
func NewNullableCredentialsResponse(val *CredentialsResponse) *NullableCredentialsResponse
func (NullableCredentialsResponse) Get ¶
func (v NullableCredentialsResponse) Get() *CredentialsResponse
func (NullableCredentialsResponse) IsSet ¶
func (v NullableCredentialsResponse) IsSet() bool
func (NullableCredentialsResponse) MarshalJSON ¶
func (v NullableCredentialsResponse) MarshalJSON() ([]byte, error)
func (*NullableCredentialsResponse) Set ¶
func (v *NullableCredentialsResponse) Set(val *CredentialsResponse)
func (*NullableCredentialsResponse) UnmarshalJSON ¶
func (v *NullableCredentialsResponse) UnmarshalJSON(src []byte) error
func (*NullableCredentialsResponse) Unset ¶
func (v *NullableCredentialsResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetCredentialsResponse ¶
type NullableGetCredentialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCredentialsResponse ¶
func NewNullableGetCredentialsResponse(val *GetCredentialsResponse) *NullableGetCredentialsResponse
func (NullableGetCredentialsResponse) Get ¶
func (v NullableGetCredentialsResponse) Get() *GetCredentialsResponse
func (NullableGetCredentialsResponse) IsSet ¶
func (v NullableGetCredentialsResponse) IsSet() bool
func (NullableGetCredentialsResponse) MarshalJSON ¶
func (v NullableGetCredentialsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCredentialsResponse) Set ¶
func (v *NullableGetCredentialsResponse) Set(val *GetCredentialsResponse)
func (*NullableGetCredentialsResponse) UnmarshalJSON ¶
func (v *NullableGetCredentialsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCredentialsResponse) Unset ¶
func (v *NullableGetCredentialsResponse) Unset()
type NullableGetQuotaResponse ¶
type NullableGetQuotaResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetQuotaResponse ¶
func NewNullableGetQuotaResponse(val *GetQuotaResponse) *NullableGetQuotaResponse
func (NullableGetQuotaResponse) Get ¶
func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
func (NullableGetQuotaResponse) IsSet ¶
func (v NullableGetQuotaResponse) IsSet() bool
func (NullableGetQuotaResponse) MarshalJSON ¶
func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
func (*NullableGetQuotaResponse) Set ¶
func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
func (*NullableGetQuotaResponse) UnmarshalJSON ¶
func (v *NullableGetQuotaResponse) UnmarshalJSON(src []byte) error
func (*NullableGetQuotaResponse) Unset ¶
func (v *NullableGetQuotaResponse) Unset()
type NullableGoogleProtobufAny ¶
type NullableGoogleProtobufAny struct {
// contains filtered or unexported fields
}
func NewNullableGoogleProtobufAny ¶
func NewNullableGoogleProtobufAny(val *GoogleProtobufAny) *NullableGoogleProtobufAny
func (NullableGoogleProtobufAny) Get ¶
func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
func (NullableGoogleProtobufAny) IsSet ¶
func (v NullableGoogleProtobufAny) IsSet() bool
func (NullableGoogleProtobufAny) MarshalJSON ¶
func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*NullableGoogleProtobufAny) Set ¶
func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
func (*NullableGoogleProtobufAny) UnmarshalJSON ¶
func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
func (*NullableGoogleProtobufAny) Unset ¶
func (v *NullableGoogleProtobufAny) Unset()
type NullableHttpHealthChecks ¶
type NullableHttpHealthChecks struct {
// contains filtered or unexported fields
}
func NewNullableHttpHealthChecks ¶
func NewNullableHttpHealthChecks(val *HttpHealthChecks) *NullableHttpHealthChecks
func (NullableHttpHealthChecks) Get ¶
func (v NullableHttpHealthChecks) Get() *HttpHealthChecks
func (NullableHttpHealthChecks) IsSet ¶
func (v NullableHttpHealthChecks) IsSet() bool
func (NullableHttpHealthChecks) MarshalJSON ¶
func (v NullableHttpHealthChecks) MarshalJSON() ([]byte, error)
func (*NullableHttpHealthChecks) Set ¶
func (v *NullableHttpHealthChecks) Set(val *HttpHealthChecks)
func (*NullableHttpHealthChecks) UnmarshalJSON ¶
func (v *NullableHttpHealthChecks) UnmarshalJSON(src []byte) error
func (*NullableHttpHealthChecks) Unset ¶
func (v *NullableHttpHealthChecks) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListCredentialsResponse ¶
type NullableListCredentialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCredentialsResponse ¶
func NewNullableListCredentialsResponse(val *ListCredentialsResponse) *NullableListCredentialsResponse
func (NullableListCredentialsResponse) Get ¶
func (v NullableListCredentialsResponse) Get() *ListCredentialsResponse
func (NullableListCredentialsResponse) IsSet ¶
func (v NullableListCredentialsResponse) IsSet() bool
func (NullableListCredentialsResponse) MarshalJSON ¶
func (v NullableListCredentialsResponse) MarshalJSON() ([]byte, error)
func (*NullableListCredentialsResponse) Set ¶
func (v *NullableListCredentialsResponse) Set(val *ListCredentialsResponse)
func (*NullableListCredentialsResponse) UnmarshalJSON ¶
func (v *NullableListCredentialsResponse) UnmarshalJSON(src []byte) error
func (*NullableListCredentialsResponse) Unset ¶
func (v *NullableListCredentialsResponse) Unset()
type NullableListLoadBalancersResponse ¶
type NullableListLoadBalancersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListLoadBalancersResponse ¶
func NewNullableListLoadBalancersResponse(val *ListLoadBalancersResponse) *NullableListLoadBalancersResponse
func (NullableListLoadBalancersResponse) Get ¶
func (v NullableListLoadBalancersResponse) Get() *ListLoadBalancersResponse
func (NullableListLoadBalancersResponse) IsSet ¶
func (v NullableListLoadBalancersResponse) IsSet() bool
func (NullableListLoadBalancersResponse) MarshalJSON ¶
func (v NullableListLoadBalancersResponse) MarshalJSON() ([]byte, error)
func (*NullableListLoadBalancersResponse) Set ¶
func (v *NullableListLoadBalancersResponse) Set(val *ListLoadBalancersResponse)
func (*NullableListLoadBalancersResponse) UnmarshalJSON ¶
func (v *NullableListLoadBalancersResponse) UnmarshalJSON(src []byte) error
func (*NullableListLoadBalancersResponse) Unset ¶
func (v *NullableListLoadBalancersResponse) Unset()
type NullableListPlansResponse ¶
type NullableListPlansResponse struct {
// contains filtered or unexported fields
}
func NewNullableListPlansResponse ¶
func NewNullableListPlansResponse(val *ListPlansResponse) *NullableListPlansResponse
func (NullableListPlansResponse) Get ¶
func (v NullableListPlansResponse) Get() *ListPlansResponse
func (NullableListPlansResponse) IsSet ¶
func (v NullableListPlansResponse) IsSet() bool
func (NullableListPlansResponse) MarshalJSON ¶
func (v NullableListPlansResponse) MarshalJSON() ([]byte, error)
func (*NullableListPlansResponse) Set ¶
func (v *NullableListPlansResponse) Set(val *ListPlansResponse)
func (*NullableListPlansResponse) UnmarshalJSON ¶
func (v *NullableListPlansResponse) UnmarshalJSON(src []byte) error
func (*NullableListPlansResponse) Unset ¶
func (v *NullableListPlansResponse) Unset()
type NullableListener ¶
type NullableListener struct {
// contains filtered or unexported fields
}
func NewNullableListener ¶
func NewNullableListener(val *Listener) *NullableListener
func (NullableListener) Get ¶
func (v NullableListener) Get() *Listener
func (NullableListener) IsSet ¶
func (v NullableListener) IsSet() bool
func (NullableListener) MarshalJSON ¶
func (v NullableListener) MarshalJSON() ([]byte, error)
func (*NullableListener) Set ¶
func (v *NullableListener) Set(val *Listener)
func (*NullableListener) UnmarshalJSON ¶
func (v *NullableListener) UnmarshalJSON(src []byte) error
func (*NullableListener) Unset ¶
func (v *NullableListener) Unset()
type NullableLoadBalancer ¶
type NullableLoadBalancer struct {
// contains filtered or unexported fields
}
func NewNullableLoadBalancer ¶
func NewNullableLoadBalancer(val *LoadBalancer) *NullableLoadBalancer
func (NullableLoadBalancer) Get ¶
func (v NullableLoadBalancer) Get() *LoadBalancer
func (NullableLoadBalancer) IsSet ¶
func (v NullableLoadBalancer) IsSet() bool
func (NullableLoadBalancer) MarshalJSON ¶
func (v NullableLoadBalancer) MarshalJSON() ([]byte, error)
func (*NullableLoadBalancer) Set ¶
func (v *NullableLoadBalancer) Set(val *LoadBalancer)
func (*NullableLoadBalancer) UnmarshalJSON ¶
func (v *NullableLoadBalancer) UnmarshalJSON(src []byte) error
func (*NullableLoadBalancer) Unset ¶
func (v *NullableLoadBalancer) Unset()
type NullableLoadBalancerError ¶
type NullableLoadBalancerError struct {
// contains filtered or unexported fields
}
func NewNullableLoadBalancerError ¶
func NewNullableLoadBalancerError(val *LoadBalancerError) *NullableLoadBalancerError
func (NullableLoadBalancerError) Get ¶
func (v NullableLoadBalancerError) Get() *LoadBalancerError
func (NullableLoadBalancerError) IsSet ¶
func (v NullableLoadBalancerError) IsSet() bool
func (NullableLoadBalancerError) MarshalJSON ¶
func (v NullableLoadBalancerError) MarshalJSON() ([]byte, error)
func (*NullableLoadBalancerError) Set ¶
func (v *NullableLoadBalancerError) Set(val *LoadBalancerError)
func (*NullableLoadBalancerError) UnmarshalJSON ¶
func (v *NullableLoadBalancerError) UnmarshalJSON(src []byte) error
func (*NullableLoadBalancerError) Unset ¶
func (v *NullableLoadBalancerError) Unset()
type NullableLoadBalancerOptions ¶
type NullableLoadBalancerOptions struct {
// contains filtered or unexported fields
}
func NewNullableLoadBalancerOptions ¶
func NewNullableLoadBalancerOptions(val *LoadBalancerOptions) *NullableLoadBalancerOptions
func (NullableLoadBalancerOptions) Get ¶
func (v NullableLoadBalancerOptions) Get() *LoadBalancerOptions
func (NullableLoadBalancerOptions) IsSet ¶
func (v NullableLoadBalancerOptions) IsSet() bool
func (NullableLoadBalancerOptions) MarshalJSON ¶
func (v NullableLoadBalancerOptions) MarshalJSON() ([]byte, error)
func (*NullableLoadBalancerOptions) Set ¶
func (v *NullableLoadBalancerOptions) Set(val *LoadBalancerOptions)
func (*NullableLoadBalancerOptions) UnmarshalJSON ¶
func (v *NullableLoadBalancerOptions) UnmarshalJSON(src []byte) error
func (*NullableLoadBalancerOptions) Unset ¶
func (v *NullableLoadBalancerOptions) Unset()
type NullableLoadbalancerOptionAccessControl ¶
type NullableLoadbalancerOptionAccessControl struct {
// contains filtered or unexported fields
}
func NewNullableLoadbalancerOptionAccessControl ¶
func NewNullableLoadbalancerOptionAccessControl(val *LoadbalancerOptionAccessControl) *NullableLoadbalancerOptionAccessControl
func (NullableLoadbalancerOptionAccessControl) IsSet ¶
func (v NullableLoadbalancerOptionAccessControl) IsSet() bool
func (NullableLoadbalancerOptionAccessControl) MarshalJSON ¶
func (v NullableLoadbalancerOptionAccessControl) MarshalJSON() ([]byte, error)
func (*NullableLoadbalancerOptionAccessControl) Set ¶
func (v *NullableLoadbalancerOptionAccessControl) Set(val *LoadbalancerOptionAccessControl)
func (*NullableLoadbalancerOptionAccessControl) UnmarshalJSON ¶
func (v *NullableLoadbalancerOptionAccessControl) UnmarshalJSON(src []byte) error
func (*NullableLoadbalancerOptionAccessControl) Unset ¶
func (v *NullableLoadbalancerOptionAccessControl) Unset()
type NullableLoadbalancerOptionLogs ¶
type NullableLoadbalancerOptionLogs struct {
// contains filtered or unexported fields
}
func NewNullableLoadbalancerOptionLogs ¶
func NewNullableLoadbalancerOptionLogs(val *LoadbalancerOptionLogs) *NullableLoadbalancerOptionLogs
func (NullableLoadbalancerOptionLogs) Get ¶
func (v NullableLoadbalancerOptionLogs) Get() *LoadbalancerOptionLogs
func (NullableLoadbalancerOptionLogs) IsSet ¶
func (v NullableLoadbalancerOptionLogs) IsSet() bool
func (NullableLoadbalancerOptionLogs) MarshalJSON ¶
func (v NullableLoadbalancerOptionLogs) MarshalJSON() ([]byte, error)
func (*NullableLoadbalancerOptionLogs) Set ¶
func (v *NullableLoadbalancerOptionLogs) Set(val *LoadbalancerOptionLogs)
func (*NullableLoadbalancerOptionLogs) UnmarshalJSON ¶
func (v *NullableLoadbalancerOptionLogs) UnmarshalJSON(src []byte) error
func (*NullableLoadbalancerOptionLogs) Unset ¶
func (v *NullableLoadbalancerOptionLogs) Unset()
type NullableLoadbalancerOptionMetrics ¶
type NullableLoadbalancerOptionMetrics struct {
// contains filtered or unexported fields
}
func NewNullableLoadbalancerOptionMetrics ¶
func NewNullableLoadbalancerOptionMetrics(val *LoadbalancerOptionMetrics) *NullableLoadbalancerOptionMetrics
func (NullableLoadbalancerOptionMetrics) Get ¶
func (v NullableLoadbalancerOptionMetrics) Get() *LoadbalancerOptionMetrics
func (NullableLoadbalancerOptionMetrics) IsSet ¶
func (v NullableLoadbalancerOptionMetrics) IsSet() bool
func (NullableLoadbalancerOptionMetrics) MarshalJSON ¶
func (v NullableLoadbalancerOptionMetrics) MarshalJSON() ([]byte, error)
func (*NullableLoadbalancerOptionMetrics) Set ¶
func (v *NullableLoadbalancerOptionMetrics) Set(val *LoadbalancerOptionMetrics)
func (*NullableLoadbalancerOptionMetrics) UnmarshalJSON ¶
func (v *NullableLoadbalancerOptionMetrics) UnmarshalJSON(src []byte) error
func (*NullableLoadbalancerOptionMetrics) Unset ¶
func (v *NullableLoadbalancerOptionMetrics) Unset()
type NullableLoadbalancerOptionObservability ¶
type NullableLoadbalancerOptionObservability struct {
// contains filtered or unexported fields
}
func NewNullableLoadbalancerOptionObservability ¶
func NewNullableLoadbalancerOptionObservability(val *LoadbalancerOptionObservability) *NullableLoadbalancerOptionObservability
func (NullableLoadbalancerOptionObservability) IsSet ¶
func (v NullableLoadbalancerOptionObservability) IsSet() bool
func (NullableLoadbalancerOptionObservability) MarshalJSON ¶
func (v NullableLoadbalancerOptionObservability) MarshalJSON() ([]byte, error)
func (*NullableLoadbalancerOptionObservability) Set ¶
func (v *NullableLoadbalancerOptionObservability) Set(val *LoadbalancerOptionObservability)
func (*NullableLoadbalancerOptionObservability) UnmarshalJSON ¶
func (v *NullableLoadbalancerOptionObservability) UnmarshalJSON(src []byte) error
func (*NullableLoadbalancerOptionObservability) Unset ¶
func (v *NullableLoadbalancerOptionObservability) Unset()
type NullableNetwork ¶
type NullableNetwork struct {
// contains filtered or unexported fields
}
func NewNullableNetwork ¶
func NewNullableNetwork(val *Network) *NullableNetwork
func (NullableNetwork) Get ¶
func (v NullableNetwork) Get() *Network
func (NullableNetwork) IsSet ¶
func (v NullableNetwork) IsSet() bool
func (NullableNetwork) MarshalJSON ¶
func (v NullableNetwork) MarshalJSON() ([]byte, error)
func (*NullableNetwork) Set ¶
func (v *NullableNetwork) Set(val *Network)
func (*NullableNetwork) UnmarshalJSON ¶
func (v *NullableNetwork) UnmarshalJSON(src []byte) error
func (*NullableNetwork) Unset ¶
func (v *NullableNetwork) Unset()
type NullableOptionsTCP ¶
type NullableOptionsTCP struct {
// contains filtered or unexported fields
}
func NewNullableOptionsTCP ¶
func NewNullableOptionsTCP(val *OptionsTCP) *NullableOptionsTCP
func (NullableOptionsTCP) Get ¶
func (v NullableOptionsTCP) Get() *OptionsTCP
func (NullableOptionsTCP) IsSet ¶
func (v NullableOptionsTCP) IsSet() bool
func (NullableOptionsTCP) MarshalJSON ¶
func (v NullableOptionsTCP) MarshalJSON() ([]byte, error)
func (*NullableOptionsTCP) Set ¶
func (v *NullableOptionsTCP) Set(val *OptionsTCP)
func (*NullableOptionsTCP) UnmarshalJSON ¶
func (v *NullableOptionsTCP) UnmarshalJSON(src []byte) error
func (*NullableOptionsTCP) Unset ¶
func (v *NullableOptionsTCP) Unset()
type NullableOptionsUDP ¶
type NullableOptionsUDP struct {
// contains filtered or unexported fields
}
func NewNullableOptionsUDP ¶
func NewNullableOptionsUDP(val *OptionsUDP) *NullableOptionsUDP
func (NullableOptionsUDP) Get ¶
func (v NullableOptionsUDP) Get() *OptionsUDP
func (NullableOptionsUDP) IsSet ¶
func (v NullableOptionsUDP) IsSet() bool
func (NullableOptionsUDP) MarshalJSON ¶
func (v NullableOptionsUDP) MarshalJSON() ([]byte, error)
func (*NullableOptionsUDP) Set ¶
func (v *NullableOptionsUDP) Set(val *OptionsUDP)
func (*NullableOptionsUDP) UnmarshalJSON ¶
func (v *NullableOptionsUDP) UnmarshalJSON(src []byte) error
func (*NullableOptionsUDP) Unset ¶
func (v *NullableOptionsUDP) Unset()
type NullablePlanDetails ¶
type NullablePlanDetails struct {
// contains filtered or unexported fields
}
func NewNullablePlanDetails ¶
func NewNullablePlanDetails(val *PlanDetails) *NullablePlanDetails
func (NullablePlanDetails) Get ¶
func (v NullablePlanDetails) Get() *PlanDetails
func (NullablePlanDetails) IsSet ¶
func (v NullablePlanDetails) IsSet() bool
func (NullablePlanDetails) MarshalJSON ¶
func (v NullablePlanDetails) MarshalJSON() ([]byte, error)
func (*NullablePlanDetails) Set ¶
func (v *NullablePlanDetails) Set(val *PlanDetails)
func (*NullablePlanDetails) UnmarshalJSON ¶
func (v *NullablePlanDetails) UnmarshalJSON(src []byte) error
func (*NullablePlanDetails) Unset ¶
func (v *NullablePlanDetails) Unset()
type NullableSecurityGroup ¶
type NullableSecurityGroup struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroup ¶
func NewNullableSecurityGroup(val *SecurityGroup) *NullableSecurityGroup
func (NullableSecurityGroup) Get ¶
func (v NullableSecurityGroup) Get() *SecurityGroup
func (NullableSecurityGroup) IsSet ¶
func (v NullableSecurityGroup) IsSet() bool
func (NullableSecurityGroup) MarshalJSON ¶
func (v NullableSecurityGroup) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroup) Set ¶
func (v *NullableSecurityGroup) Set(val *SecurityGroup)
func (*NullableSecurityGroup) UnmarshalJSON ¶
func (v *NullableSecurityGroup) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroup) Unset ¶
func (v *NullableSecurityGroup) Unset()
type NullableServerNameIndicator ¶
type NullableServerNameIndicator struct {
// contains filtered or unexported fields
}
func NewNullableServerNameIndicator ¶
func NewNullableServerNameIndicator(val *ServerNameIndicator) *NullableServerNameIndicator
func (NullableServerNameIndicator) Get ¶
func (v NullableServerNameIndicator) Get() *ServerNameIndicator
func (NullableServerNameIndicator) IsSet ¶
func (v NullableServerNameIndicator) IsSet() bool
func (NullableServerNameIndicator) MarshalJSON ¶
func (v NullableServerNameIndicator) MarshalJSON() ([]byte, error)
func (*NullableServerNameIndicator) Set ¶
func (v *NullableServerNameIndicator) Set(val *ServerNameIndicator)
func (*NullableServerNameIndicator) UnmarshalJSON ¶
func (v *NullableServerNameIndicator) UnmarshalJSON(src []byte) error
func (*NullableServerNameIndicator) Unset ¶
func (v *NullableServerNameIndicator) Unset()
type NullableSessionPersistence ¶
type NullableSessionPersistence struct {
// contains filtered or unexported fields
}
func NewNullableSessionPersistence ¶
func NewNullableSessionPersistence(val *SessionPersistence) *NullableSessionPersistence
func (NullableSessionPersistence) Get ¶
func (v NullableSessionPersistence) Get() *SessionPersistence
func (NullableSessionPersistence) IsSet ¶
func (v NullableSessionPersistence) IsSet() bool
func (NullableSessionPersistence) MarshalJSON ¶
func (v NullableSessionPersistence) MarshalJSON() ([]byte, error)
func (*NullableSessionPersistence) Set ¶
func (v *NullableSessionPersistence) Set(val *SessionPersistence)
func (*NullableSessionPersistence) UnmarshalJSON ¶
func (v *NullableSessionPersistence) UnmarshalJSON(src []byte) error
func (*NullableSessionPersistence) Unset ¶
func (v *NullableSessionPersistence) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTarget ¶
type NullableTarget struct {
// contains filtered or unexported fields
}
func NewNullableTarget ¶
func NewNullableTarget(val *Target) *NullableTarget
func (NullableTarget) Get ¶
func (v NullableTarget) Get() *Target
func (NullableTarget) IsSet ¶
func (v NullableTarget) IsSet() bool
func (NullableTarget) MarshalJSON ¶
func (v NullableTarget) MarshalJSON() ([]byte, error)
func (*NullableTarget) Set ¶
func (v *NullableTarget) Set(val *Target)
func (*NullableTarget) UnmarshalJSON ¶
func (v *NullableTarget) UnmarshalJSON(src []byte) error
func (*NullableTarget) Unset ¶
func (v *NullableTarget) Unset()
type NullableTargetPool ¶
type NullableTargetPool struct {
// contains filtered or unexported fields
}
func NewNullableTargetPool ¶
func NewNullableTargetPool(val *TargetPool) *NullableTargetPool
func (NullableTargetPool) Get ¶
func (v NullableTargetPool) Get() *TargetPool
func (NullableTargetPool) IsSet ¶
func (v NullableTargetPool) IsSet() bool
func (NullableTargetPool) MarshalJSON ¶
func (v NullableTargetPool) MarshalJSON() ([]byte, error)
func (*NullableTargetPool) Set ¶
func (v *NullableTargetPool) Set(val *TargetPool)
func (*NullableTargetPool) UnmarshalJSON ¶
func (v *NullableTargetPool) UnmarshalJSON(src []byte) error
func (*NullableTargetPool) Unset ¶
func (v *NullableTargetPool) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTlsConfig ¶
type NullableTlsConfig struct {
// contains filtered or unexported fields
}
func NewNullableTlsConfig ¶
func NewNullableTlsConfig(val *TlsConfig) *NullableTlsConfig
func (NullableTlsConfig) Get ¶
func (v NullableTlsConfig) Get() *TlsConfig
func (NullableTlsConfig) IsSet ¶
func (v NullableTlsConfig) IsSet() bool
func (NullableTlsConfig) MarshalJSON ¶
func (v NullableTlsConfig) MarshalJSON() ([]byte, error)
func (*NullableTlsConfig) Set ¶
func (v *NullableTlsConfig) Set(val *TlsConfig)
func (*NullableTlsConfig) UnmarshalJSON ¶
func (v *NullableTlsConfig) UnmarshalJSON(src []byte) error
func (*NullableTlsConfig) Unset ¶
func (v *NullableTlsConfig) Unset()
type NullableUpdateCredentialsPayload ¶
type NullableUpdateCredentialsPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCredentialsPayload ¶
func NewNullableUpdateCredentialsPayload(val *UpdateCredentialsPayload) *NullableUpdateCredentialsPayload
func (NullableUpdateCredentialsPayload) Get ¶
func (v NullableUpdateCredentialsPayload) Get() *UpdateCredentialsPayload
func (NullableUpdateCredentialsPayload) IsSet ¶
func (v NullableUpdateCredentialsPayload) IsSet() bool
func (NullableUpdateCredentialsPayload) MarshalJSON ¶
func (v NullableUpdateCredentialsPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateCredentialsPayload) Set ¶
func (v *NullableUpdateCredentialsPayload) Set(val *UpdateCredentialsPayload)
func (*NullableUpdateCredentialsPayload) UnmarshalJSON ¶
func (v *NullableUpdateCredentialsPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateCredentialsPayload) Unset ¶
func (v *NullableUpdateCredentialsPayload) Unset()
type NullableUpdateCredentialsResponse ¶
type NullableUpdateCredentialsResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCredentialsResponse ¶
func NewNullableUpdateCredentialsResponse(val *UpdateCredentialsResponse) *NullableUpdateCredentialsResponse
func (NullableUpdateCredentialsResponse) Get ¶
func (v NullableUpdateCredentialsResponse) Get() *UpdateCredentialsResponse
func (NullableUpdateCredentialsResponse) IsSet ¶
func (v NullableUpdateCredentialsResponse) IsSet() bool
func (NullableUpdateCredentialsResponse) MarshalJSON ¶
func (v NullableUpdateCredentialsResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateCredentialsResponse) Set ¶
func (v *NullableUpdateCredentialsResponse) Set(val *UpdateCredentialsResponse)
func (*NullableUpdateCredentialsResponse) UnmarshalJSON ¶
func (v *NullableUpdateCredentialsResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateCredentialsResponse) Unset ¶
func (v *NullableUpdateCredentialsResponse) Unset()
type NullableUpdateLoadBalancerPayload ¶
type NullableUpdateLoadBalancerPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateLoadBalancerPayload ¶
func NewNullableUpdateLoadBalancerPayload(val *UpdateLoadBalancerPayload) *NullableUpdateLoadBalancerPayload
func (NullableUpdateLoadBalancerPayload) Get ¶
func (v NullableUpdateLoadBalancerPayload) Get() *UpdateLoadBalancerPayload
func (NullableUpdateLoadBalancerPayload) IsSet ¶
func (v NullableUpdateLoadBalancerPayload) IsSet() bool
func (NullableUpdateLoadBalancerPayload) MarshalJSON ¶
func (v NullableUpdateLoadBalancerPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateLoadBalancerPayload) Set ¶
func (v *NullableUpdateLoadBalancerPayload) Set(val *UpdateLoadBalancerPayload)
func (*NullableUpdateLoadBalancerPayload) UnmarshalJSON ¶
func (v *NullableUpdateLoadBalancerPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateLoadBalancerPayload) Unset ¶
func (v *NullableUpdateLoadBalancerPayload) Unset()
type NullableUpdateTargetPoolPayload ¶
type NullableUpdateTargetPoolPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateTargetPoolPayload ¶
func NewNullableUpdateTargetPoolPayload(val *UpdateTargetPoolPayload) *NullableUpdateTargetPoolPayload
func (NullableUpdateTargetPoolPayload) Get ¶
func (v NullableUpdateTargetPoolPayload) Get() *UpdateTargetPoolPayload
func (NullableUpdateTargetPoolPayload) IsSet ¶
func (v NullableUpdateTargetPoolPayload) IsSet() bool
func (NullableUpdateTargetPoolPayload) MarshalJSON ¶
func (v NullableUpdateTargetPoolPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateTargetPoolPayload) Set ¶
func (v *NullableUpdateTargetPoolPayload) Set(val *UpdateTargetPoolPayload)
func (*NullableUpdateTargetPoolPayload) UnmarshalJSON ¶
func (v *NullableUpdateTargetPoolPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateTargetPoolPayload) Unset ¶
func (v *NullableUpdateTargetPoolPayload) Unset()
type OptionsTCP ¶
type OptionsTCP struct {
// The connection idle timeout to be used with the protocol. The default value is set to 5 minutes, and the maximum value is one hour.
IdleTimeout *string `json:"idleTimeout,omitempty" validate:"regexp=^-?(?:0|[1-9][0-9]{0,11})(?:\\\\.[0-9]{1,9})?s$"`
}
OptionsTCP ProtocolOptionsTCP options to be configured for the PROTOCOL_TCP, PROTOCOL_TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH protocols. TCP options for the SNI listeners with the same port must be the same.
func NewOptionsTCP ¶
func NewOptionsTCP() *OptionsTCP
NewOptionsTCP instantiates a new OptionsTCP 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 NewOptionsTCPWithDefaults ¶
func NewOptionsTCPWithDefaults() *OptionsTCP
NewOptionsTCPWithDefaults instantiates a new OptionsTCP 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 (*OptionsTCP) GetIdleTimeout ¶
func (o *OptionsTCP) GetIdleTimeout() string
GetIdleTimeout returns the IdleTimeout field value if set, zero value otherwise.
func (*OptionsTCP) GetIdleTimeoutOk ¶
func (o *OptionsTCP) GetIdleTimeoutOk() (*string, bool)
GetIdleTimeoutOk returns a tuple with the IdleTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OptionsTCP) HasIdleTimeout ¶
func (o *OptionsTCP) HasIdleTimeout() bool
HasIdleTimeout returns a boolean if a field has been set.
func (OptionsTCP) MarshalJSON ¶
func (o OptionsTCP) MarshalJSON() ([]byte, error)
func (*OptionsTCP) SetIdleTimeout ¶
func (o *OptionsTCP) SetIdleTimeout(v string)
SetIdleTimeout gets a reference to the given string and assigns it to the IdleTimeout field.
func (OptionsTCP) ToMap ¶
func (o OptionsTCP) ToMap() (map[string]interface{}, error)
type OptionsUDP ¶
type OptionsUDP struct {
// The connection idle timeout to be used with the protocol. The default value is set to 1 minute, and the maximum value is 2 minutes.
IdleTimeout *string `json:"idleTimeout,omitempty" validate:"regexp=^-?(?:0|[1-9][0-9]{0,11})(?:\\\\.[0-9]{1,9})?s$"`
}
OptionsUDP ProtocolOptionsUDP options to be configured for the PROTOCOL_UDP protocol.
func NewOptionsUDP ¶
func NewOptionsUDP() *OptionsUDP
NewOptionsUDP instantiates a new OptionsUDP 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 NewOptionsUDPWithDefaults ¶
func NewOptionsUDPWithDefaults() *OptionsUDP
NewOptionsUDPWithDefaults instantiates a new OptionsUDP 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 (*OptionsUDP) GetIdleTimeout ¶
func (o *OptionsUDP) GetIdleTimeout() string
GetIdleTimeout returns the IdleTimeout field value if set, zero value otherwise.
func (*OptionsUDP) GetIdleTimeoutOk ¶
func (o *OptionsUDP) GetIdleTimeoutOk() (*string, bool)
GetIdleTimeoutOk returns a tuple with the IdleTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OptionsUDP) HasIdleTimeout ¶
func (o *OptionsUDP) HasIdleTimeout() bool
HasIdleTimeout returns a boolean if a field has been set.
func (OptionsUDP) MarshalJSON ¶
func (o OptionsUDP) MarshalJSON() ([]byte, error)
func (*OptionsUDP) SetIdleTimeout ¶
func (o *OptionsUDP) SetIdleTimeout(v string)
SetIdleTimeout gets a reference to the given string and assigns it to the IdleTimeout field.
func (OptionsUDP) ToMap ¶
func (o OptionsUDP) ToMap() (map[string]interface{}, error)
type PlanDetails ¶
type PlanDetails struct {
// Description
Description *string `json:"description,omitempty"`
// Flavor Name
FlavorName *string `json:"flavorName,omitempty"`
// Maximum number of concurrent connections per load balancer VM instance.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Service Plan Name
Name *string `json:"name,omitempty"`
// Service Plan Identifier
PlanId *string `json:"planId,omitempty"`
// Region this Plan is available in
Region *string `json:"region,omitempty"`
}
PlanDetails struct for PlanDetails
func NewPlanDetails ¶
func NewPlanDetails() *PlanDetails
NewPlanDetails instantiates a new PlanDetails 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 NewPlanDetailsWithDefaults ¶
func NewPlanDetailsWithDefaults() *PlanDetails
NewPlanDetailsWithDefaults instantiates a new PlanDetails 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 (*PlanDetails) GetDescription ¶
func (o *PlanDetails) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PlanDetails) GetDescriptionOk ¶
func (o *PlanDetails) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) GetFlavorName ¶
func (o *PlanDetails) GetFlavorName() string
GetFlavorName returns the FlavorName field value if set, zero value otherwise.
func (*PlanDetails) GetFlavorNameOk ¶
func (o *PlanDetails) GetFlavorNameOk() (*string, bool)
GetFlavorNameOk returns a tuple with the FlavorName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) GetMaxConnections ¶
func (o *PlanDetails) GetMaxConnections() int32
GetMaxConnections returns the MaxConnections field value if set, zero value otherwise.
func (*PlanDetails) GetMaxConnectionsOk ¶
func (o *PlanDetails) GetMaxConnectionsOk() (*int32, bool)
GetMaxConnectionsOk returns a tuple with the MaxConnections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) GetName ¶
func (o *PlanDetails) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PlanDetails) GetNameOk ¶
func (o *PlanDetails) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) GetPlanId ¶
func (o *PlanDetails) GetPlanId() string
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*PlanDetails) GetPlanIdOk ¶
func (o *PlanDetails) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) GetRegion ¶
func (o *PlanDetails) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*PlanDetails) GetRegionOk ¶
func (o *PlanDetails) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanDetails) HasDescription ¶
func (o *PlanDetails) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PlanDetails) HasFlavorName ¶
func (o *PlanDetails) HasFlavorName() bool
HasFlavorName returns a boolean if a field has been set.
func (*PlanDetails) HasMaxConnections ¶
func (o *PlanDetails) HasMaxConnections() bool
HasMaxConnections returns a boolean if a field has been set.
func (*PlanDetails) HasName ¶
func (o *PlanDetails) HasName() bool
HasName returns a boolean if a field has been set.
func (*PlanDetails) HasPlanId ¶
func (o *PlanDetails) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*PlanDetails) HasRegion ¶
func (o *PlanDetails) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (PlanDetails) MarshalJSON ¶
func (o PlanDetails) MarshalJSON() ([]byte, error)
func (*PlanDetails) SetDescription ¶
func (o *PlanDetails) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PlanDetails) SetFlavorName ¶
func (o *PlanDetails) SetFlavorName(v string)
SetFlavorName gets a reference to the given string and assigns it to the FlavorName field.
func (*PlanDetails) SetMaxConnections ¶
func (o *PlanDetails) SetMaxConnections(v int32)
SetMaxConnections gets a reference to the given int32 and assigns it to the MaxConnections field.
func (*PlanDetails) SetName ¶
func (o *PlanDetails) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PlanDetails) SetPlanId ¶
func (o *PlanDetails) SetPlanId(v string)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (*PlanDetails) SetRegion ¶
func (o *PlanDetails) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (PlanDetails) ToMap ¶
func (o PlanDetails) ToMap() (map[string]interface{}, error)
type SecurityGroup ¶
type SecurityGroup struct {
// ID of the security Group
Id *string `json:"id,omitempty"`
// Name of the security Group
Name *string `json:"name,omitempty"`
}
SecurityGroup struct for SecurityGroup
func NewSecurityGroup ¶
func NewSecurityGroup() *SecurityGroup
NewSecurityGroup instantiates a new SecurityGroup 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 NewSecurityGroupWithDefaults ¶
func NewSecurityGroupWithDefaults() *SecurityGroup
NewSecurityGroupWithDefaults instantiates a new SecurityGroup 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 (*SecurityGroup) GetId ¶
func (o *SecurityGroup) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SecurityGroup) GetIdOk ¶
func (o *SecurityGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetName ¶
func (o *SecurityGroup) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityGroup) GetNameOk ¶
func (o *SecurityGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) HasId ¶
func (o *SecurityGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityGroup) HasName ¶
func (o *SecurityGroup) HasName() bool
HasName returns a boolean if a field has been set.
func (SecurityGroup) MarshalJSON ¶
func (o SecurityGroup) MarshalJSON() ([]byte, error)
func (*SecurityGroup) SetId ¶
func (o *SecurityGroup) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SecurityGroup) SetName ¶
func (o *SecurityGroup) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (SecurityGroup) ToMap ¶
func (o SecurityGroup) ToMap() (map[string]interface{}, error)
type ServerNameIndicator ¶
type ServerNameIndicator struct {
// The domain name for this SNI config.
Name *string `json:"name,omitempty"`
}
ServerNameIndicator struct for ServerNameIndicator
func NewServerNameIndicator ¶
func NewServerNameIndicator() *ServerNameIndicator
NewServerNameIndicator instantiates a new ServerNameIndicator 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 NewServerNameIndicatorWithDefaults ¶
func NewServerNameIndicatorWithDefaults() *ServerNameIndicator
NewServerNameIndicatorWithDefaults instantiates a new ServerNameIndicator 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 (*ServerNameIndicator) GetName ¶
func (o *ServerNameIndicator) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerNameIndicator) GetNameOk ¶
func (o *ServerNameIndicator) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerNameIndicator) HasName ¶
func (o *ServerNameIndicator) HasName() bool
HasName returns a boolean if a field has been set.
func (ServerNameIndicator) MarshalJSON ¶
func (o ServerNameIndicator) MarshalJSON() ([]byte, error)
func (*ServerNameIndicator) SetName ¶
func (o *ServerNameIndicator) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ServerNameIndicator) ToMap ¶
func (o ServerNameIndicator) ToMap() (map[string]interface{}, error)
type SessionPersistence ¶
type SessionPersistence struct {
// If enabled then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev.
UseSourceIpAddress *bool `json:"useSourceIpAddress,omitempty"`
}
SessionPersistence struct for SessionPersistence
func NewSessionPersistence ¶
func NewSessionPersistence() *SessionPersistence
NewSessionPersistence instantiates a new SessionPersistence 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 NewSessionPersistenceWithDefaults ¶
func NewSessionPersistenceWithDefaults() *SessionPersistence
NewSessionPersistenceWithDefaults instantiates a new SessionPersistence 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 (*SessionPersistence) GetUseSourceIpAddress ¶
func (o *SessionPersistence) GetUseSourceIpAddress() bool
GetUseSourceIpAddress returns the UseSourceIpAddress field value if set, zero value otherwise.
func (*SessionPersistence) GetUseSourceIpAddressOk ¶
func (o *SessionPersistence) GetUseSourceIpAddressOk() (*bool, bool)
GetUseSourceIpAddressOk returns a tuple with the UseSourceIpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SessionPersistence) HasUseSourceIpAddress ¶
func (o *SessionPersistence) HasUseSourceIpAddress() bool
HasUseSourceIpAddress returns a boolean if a field has been set.
func (SessionPersistence) MarshalJSON ¶
func (o SessionPersistence) MarshalJSON() ([]byte, error)
func (*SessionPersistence) SetUseSourceIpAddress ¶
func (o *SessionPersistence) SetUseSourceIpAddress(v bool)
SetUseSourceIpAddress gets a reference to the given bool and assigns it to the UseSourceIpAddress field.
func (SessionPersistence) ToMap ¶
func (o SessionPersistence) ToMap() (map[string]interface{}, error)
type Status ¶
type Status struct {
// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
Code *int32 `json:"code,omitempty"`
// A list of messages that carry the error details. There is a common set of message types for APIs to use.
Details []GoogleProtobufAny `json:"details,omitempty"`
// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
Message *string `json:"message,omitempty"`
}
Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶
func (o *Status) GetDetails() []GoogleProtobufAny
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
func (o *Status) SetDetails(v []GoogleProtobufAny)
SetDetails gets a reference to the given []GoogleProtobufAny and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type Target ¶
type Target struct {
// Target name
DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[0-9a-zA-Z](?:(?:[0-9a-zA-Z]|-){0,61}[0-9a-zA-Z])?$"`
// Target IP. Must by unique within a target pool.
Ip *string `json:"ip,omitempty"`
}
Target struct for Target
func NewTarget ¶
func NewTarget() *Target
NewTarget instantiates a new Target 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 NewTargetWithDefaults ¶
func NewTargetWithDefaults() *Target
NewTargetWithDefaults instantiates a new Target 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 (*Target) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*Target) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Target) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Target) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (Target) MarshalJSON ¶
func (*Target) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
type TargetPool ¶
type TargetPool struct {
ActiveHealthCheck *ActiveHealthCheck `json:"activeHealthCheck,omitempty"`
// Target pool name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
SessionPersistence *SessionPersistence `json:"sessionPersistence,omitempty"`
// The number identifying the port where each target listens for traffic.
TargetPort *int32 `json:"targetPort,omitempty"`
// List of all targets which will be used in the pool. Limited to 250.
Targets []Target `json:"targets,omitempty"`
}
TargetPool struct for TargetPool
func NewTargetPool ¶
func NewTargetPool() *TargetPool
NewTargetPool instantiates a new TargetPool 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 NewTargetPoolWithDefaults ¶
func NewTargetPoolWithDefaults() *TargetPool
NewTargetPoolWithDefaults instantiates a new TargetPool 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 (*TargetPool) GetActiveHealthCheck ¶
func (o *TargetPool) GetActiveHealthCheck() ActiveHealthCheck
GetActiveHealthCheck returns the ActiveHealthCheck field value if set, zero value otherwise.
func (*TargetPool) GetActiveHealthCheckOk ¶
func (o *TargetPool) GetActiveHealthCheckOk() (*ActiveHealthCheck, bool)
GetActiveHealthCheckOk returns a tuple with the ActiveHealthCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TargetPool) GetName ¶
func (o *TargetPool) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TargetPool) GetNameOk ¶
func (o *TargetPool) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TargetPool) GetSessionPersistence ¶
func (o *TargetPool) GetSessionPersistence() SessionPersistence
GetSessionPersistence returns the SessionPersistence field value if set, zero value otherwise.
func (*TargetPool) GetSessionPersistenceOk ¶
func (o *TargetPool) GetSessionPersistenceOk() (*SessionPersistence, bool)
GetSessionPersistenceOk returns a tuple with the SessionPersistence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TargetPool) GetTargetPort ¶
func (o *TargetPool) GetTargetPort() int32
GetTargetPort returns the TargetPort field value if set, zero value otherwise.
func (*TargetPool) GetTargetPortOk ¶
func (o *TargetPool) GetTargetPortOk() (*int32, bool)
GetTargetPortOk returns a tuple with the TargetPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TargetPool) GetTargets ¶
func (o *TargetPool) GetTargets() []Target
GetTargets returns the Targets field value if set, zero value otherwise.
func (*TargetPool) GetTargetsOk ¶
func (o *TargetPool) GetTargetsOk() ([]Target, bool)
GetTargetsOk returns a tuple with the Targets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TargetPool) HasActiveHealthCheck ¶
func (o *TargetPool) HasActiveHealthCheck() bool
HasActiveHealthCheck returns a boolean if a field has been set.
func (*TargetPool) HasName ¶
func (o *TargetPool) HasName() bool
HasName returns a boolean if a field has been set.
func (*TargetPool) HasSessionPersistence ¶
func (o *TargetPool) HasSessionPersistence() bool
HasSessionPersistence returns a boolean if a field has been set.
func (*TargetPool) HasTargetPort ¶
func (o *TargetPool) HasTargetPort() bool
HasTargetPort returns a boolean if a field has been set.
func (*TargetPool) HasTargets ¶
func (o *TargetPool) HasTargets() bool
HasTargets returns a boolean if a field has been set.
func (TargetPool) MarshalJSON ¶
func (o TargetPool) MarshalJSON() ([]byte, error)
func (*TargetPool) SetActiveHealthCheck ¶
func (o *TargetPool) SetActiveHealthCheck(v ActiveHealthCheck)
SetActiveHealthCheck gets a reference to the given ActiveHealthCheck and assigns it to the ActiveHealthCheck field.
func (*TargetPool) SetName ¶
func (o *TargetPool) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TargetPool) SetSessionPersistence ¶
func (o *TargetPool) SetSessionPersistence(v SessionPersistence)
SetSessionPersistence gets a reference to the given SessionPersistence and assigns it to the SessionPersistence field.
func (*TargetPool) SetTargetPort ¶
func (o *TargetPool) SetTargetPort(v int32)
SetTargetPort gets a reference to the given int32 and assigns it to the TargetPort field.
func (*TargetPool) SetTargets ¶
func (o *TargetPool) SetTargets(v []Target)
SetTargets gets a reference to the given []Target and assigns it to the Targets field.
func (TargetPool) ToMap ¶
func (o TargetPool) ToMap() (map[string]interface{}, error)
type TlsConfig ¶
type TlsConfig struct {
// Specifies a custom Certificate Authority (CA). When provided, the target pool will trust certificates signed by this CA, in addition to any system-trusted CAs. This is useful for scenarios where the target pool needs to communicate with servers using self-signed or internally-issued certificates. Enabled needs to be set to true and skip validation to false for this option.
CustomCa *string `json:"customCa,omitempty"`
// Enable TLS (Transport Layer Security) bridging for the connection between Application Load Balancer and targets in this pool. When enabled, public CAs are trusted. Can be used in tandem with the options either custom CA or skip validation or alone.
Enabled *bool `json:"enabled,omitempty"`
// Bypass certificate validation for TLS bridging in this target pool. This option is insecure and can only be used with public CAs by setting enabled true. Meant to be used for testing purposes only!
SkipCertificateValidation *bool `json:"skipCertificateValidation,omitempty"`
}
TlsConfig Set this to configure TLS settings.
func NewTlsConfig ¶
func NewTlsConfig() *TlsConfig
NewTlsConfig instantiates a new TlsConfig 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 NewTlsConfigWithDefaults ¶
func NewTlsConfigWithDefaults() *TlsConfig
NewTlsConfigWithDefaults instantiates a new TlsConfig 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 (*TlsConfig) GetCustomCa ¶
GetCustomCa returns the CustomCa field value if set, zero value otherwise.
func (*TlsConfig) GetCustomCaOk ¶
GetCustomCaOk returns a tuple with the CustomCa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*TlsConfig) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetSkipCertificateValidation ¶
GetSkipCertificateValidation returns the SkipCertificateValidation field value if set, zero value otherwise.
func (*TlsConfig) GetSkipCertificateValidationOk ¶
GetSkipCertificateValidationOk returns a tuple with the SkipCertificateValidation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) HasCustomCa ¶
HasCustomCa returns a boolean if a field has been set.
func (*TlsConfig) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*TlsConfig) HasSkipCertificateValidation ¶
HasSkipCertificateValidation returns a boolean if a field has been set.
func (TlsConfig) MarshalJSON ¶
func (*TlsConfig) SetCustomCa ¶
SetCustomCa gets a reference to the given string and assigns it to the CustomCa field.
func (*TlsConfig) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*TlsConfig) SetSkipCertificateValidation ¶
SetSkipCertificateValidation gets a reference to the given bool and assigns it to the SkipCertificateValidation field.
type UpdateCredentialsPayload ¶
type UpdateCredentialsPayload struct {
// Credential name
DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,251}[0-9a-z])?$"`
// A valid password used for an existing STACKIT Observability instance, which is used during basic auth.
Password *string `json:"password,omitempty"`
// A valid username used for an existing STACKIT Observability instance, which is used during basic auth.
Username *string `json:"username,omitempty"`
}
UpdateCredentialsPayload struct for UpdateCredentialsPayload
func NewUpdateCredentialsPayload ¶
func NewUpdateCredentialsPayload() *UpdateCredentialsPayload
NewUpdateCredentialsPayload instantiates a new UpdateCredentialsPayload 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 NewUpdateCredentialsPayloadWithDefaults ¶
func NewUpdateCredentialsPayloadWithDefaults() *UpdateCredentialsPayload
NewUpdateCredentialsPayloadWithDefaults instantiates a new UpdateCredentialsPayload 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 (*UpdateCredentialsPayload) GetDisplayName ¶
func (o *UpdateCredentialsPayload) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UpdateCredentialsPayload) GetDisplayNameOk ¶
func (o *UpdateCredentialsPayload) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCredentialsPayload) GetPassword ¶
func (o *UpdateCredentialsPayload) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*UpdateCredentialsPayload) GetPasswordOk ¶
func (o *UpdateCredentialsPayload) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCredentialsPayload) GetUsername ¶
func (o *UpdateCredentialsPayload) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*UpdateCredentialsPayload) GetUsernameOk ¶
func (o *UpdateCredentialsPayload) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCredentialsPayload) HasDisplayName ¶
func (o *UpdateCredentialsPayload) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*UpdateCredentialsPayload) HasPassword ¶
func (o *UpdateCredentialsPayload) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*UpdateCredentialsPayload) HasUsername ¶
func (o *UpdateCredentialsPayload) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (UpdateCredentialsPayload) MarshalJSON ¶
func (o UpdateCredentialsPayload) MarshalJSON() ([]byte, error)
func (*UpdateCredentialsPayload) SetDisplayName ¶
func (o *UpdateCredentialsPayload) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*UpdateCredentialsPayload) SetPassword ¶
func (o *UpdateCredentialsPayload) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*UpdateCredentialsPayload) SetUsername ¶
func (o *UpdateCredentialsPayload) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (UpdateCredentialsPayload) ToMap ¶
func (o UpdateCredentialsPayload) ToMap() (map[string]interface{}, error)
type UpdateCredentialsResponse ¶
type UpdateCredentialsResponse struct {
Credential *CredentialsResponse `json:"credential,omitempty"`
}
UpdateCredentialsResponse struct for UpdateCredentialsResponse
func NewUpdateCredentialsResponse ¶
func NewUpdateCredentialsResponse() *UpdateCredentialsResponse
NewUpdateCredentialsResponse instantiates a new UpdateCredentialsResponse 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 NewUpdateCredentialsResponseWithDefaults ¶
func NewUpdateCredentialsResponseWithDefaults() *UpdateCredentialsResponse
NewUpdateCredentialsResponseWithDefaults instantiates a new UpdateCredentialsResponse 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 (*UpdateCredentialsResponse) GetCredential ¶
func (o *UpdateCredentialsResponse) GetCredential() CredentialsResponse
GetCredential returns the Credential field value if set, zero value otherwise.
func (*UpdateCredentialsResponse) GetCredentialOk ¶
func (o *UpdateCredentialsResponse) GetCredentialOk() (*CredentialsResponse, bool)
GetCredentialOk returns a tuple with the Credential field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCredentialsResponse) HasCredential ¶
func (o *UpdateCredentialsResponse) HasCredential() bool
HasCredential returns a boolean if a field has been set.
func (UpdateCredentialsResponse) MarshalJSON ¶
func (o UpdateCredentialsResponse) MarshalJSON() ([]byte, error)
func (*UpdateCredentialsResponse) SetCredential ¶
func (o *UpdateCredentialsResponse) SetCredential(v CredentialsResponse)
SetCredential gets a reference to the given CredentialsResponse and assigns it to the Credential field.
func (UpdateCredentialsResponse) ToMap ¶
func (o UpdateCredentialsResponse) ToMap() (map[string]interface{}, error)
type UpdateLoadBalancerPayload ¶
type UpdateLoadBalancerPayload struct {
// Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.
DisableTargetSecurityGroupAssignment *bool `json:"disableTargetSecurityGroupAssignment,omitempty"`
// Reports all errors a load balancer has.
Errors []LoadBalancerError `json:"errors,omitempty"`
// External load balancer IP address where this load balancer is exposed. Not changeable after creation.
ExternalAddress *string `json:"externalAddress,omitempty"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener.
Listeners []Listener `json:"listeners,omitempty"`
// Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
LoadBalancerSecurityGroup *SecurityGroup `json:"loadBalancerSecurityGroup,omitempty"`
// Load balancer name. Not changeable after creation.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation.
Networks []Network `json:"networks,omitempty"`
Options *LoadBalancerOptions `json:"options,omitempty"`
// Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.
PlanId *string `json:"planId,omitempty"`
// Transient private load balancer IP address that can change any time.
PrivateAddress *string `json:"privateAddress,omitempty"`
// Region of the LoadBalancer
Region *string `json:"region,omitempty"`
Status *string `json:"status,omitempty"`
// List of all target pools which will be used in the load balancer. Limited to 20.
TargetPools []TargetPool `json:"targetPools,omitempty"`
// Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.
TargetSecurityGroup *SecurityGroup `json:"targetSecurityGroup,omitempty"`
// Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.
Version *string `json:"version,omitempty"`
}
UpdateLoadBalancerPayload struct for UpdateLoadBalancerPayload
func NewUpdateLoadBalancerPayload ¶
func NewUpdateLoadBalancerPayload() *UpdateLoadBalancerPayload
NewUpdateLoadBalancerPayload instantiates a new UpdateLoadBalancerPayload 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 NewUpdateLoadBalancerPayloadWithDefaults ¶
func NewUpdateLoadBalancerPayloadWithDefaults() *UpdateLoadBalancerPayload
NewUpdateLoadBalancerPayloadWithDefaults instantiates a new UpdateLoadBalancerPayload 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 (*UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment ¶
func (o *UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignment() bool
GetDisableTargetSecurityGroupAssignment returns the DisableTargetSecurityGroupAssignment field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk ¶
func (o *UpdateLoadBalancerPayload) GetDisableTargetSecurityGroupAssignmentOk() (*bool, bool)
GetDisableTargetSecurityGroupAssignmentOk returns a tuple with the DisableTargetSecurityGroupAssignment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetErrors ¶
func (o *UpdateLoadBalancerPayload) GetErrors() []LoadBalancerError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetErrorsOk ¶
func (o *UpdateLoadBalancerPayload) GetErrorsOk() ([]LoadBalancerError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetExternalAddress ¶
func (o *UpdateLoadBalancerPayload) GetExternalAddress() string
GetExternalAddress returns the ExternalAddress field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetExternalAddressOk ¶
func (o *UpdateLoadBalancerPayload) GetExternalAddressOk() (*string, bool)
GetExternalAddressOk returns a tuple with the ExternalAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetLabels ¶
func (o *UpdateLoadBalancerPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetLabelsOk ¶
func (o *UpdateLoadBalancerPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetListeners ¶
func (o *UpdateLoadBalancerPayload) GetListeners() []Listener
GetListeners returns the Listeners field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetListenersOk ¶
func (o *UpdateLoadBalancerPayload) GetListenersOk() ([]Listener, bool)
GetListenersOk returns a tuple with the Listeners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroup() SecurityGroup
GetLoadBalancerSecurityGroup returns the LoadBalancerSecurityGroup field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk ¶
func (o *UpdateLoadBalancerPayload) GetLoadBalancerSecurityGroupOk() (*SecurityGroup, bool)
GetLoadBalancerSecurityGroupOk returns a tuple with the LoadBalancerSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetName ¶
func (o *UpdateLoadBalancerPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetNameOk ¶
func (o *UpdateLoadBalancerPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetNetworks ¶
func (o *UpdateLoadBalancerPayload) GetNetworks() []Network
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetNetworksOk ¶
func (o *UpdateLoadBalancerPayload) GetNetworksOk() ([]Network, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetOptions ¶
func (o *UpdateLoadBalancerPayload) GetOptions() LoadBalancerOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetOptionsOk ¶
func (o *UpdateLoadBalancerPayload) GetOptionsOk() (*LoadBalancerOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetPlanId ¶
func (o *UpdateLoadBalancerPayload) GetPlanId() string
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetPlanIdOk ¶
func (o *UpdateLoadBalancerPayload) GetPlanIdOk() (*string, bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetPrivateAddress ¶
func (o *UpdateLoadBalancerPayload) GetPrivateAddress() string
GetPrivateAddress returns the PrivateAddress field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetPrivateAddressOk ¶
func (o *UpdateLoadBalancerPayload) GetPrivateAddressOk() (*string, bool)
GetPrivateAddressOk returns a tuple with the PrivateAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetRegion ¶
func (o *UpdateLoadBalancerPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetRegionOk ¶
func (o *UpdateLoadBalancerPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetStatus ¶
func (o *UpdateLoadBalancerPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetStatusOk ¶
func (o *UpdateLoadBalancerPayload) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetTargetPools ¶
func (o *UpdateLoadBalancerPayload) GetTargetPools() []TargetPool
GetTargetPools returns the TargetPools field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetTargetPoolsOk ¶
func (o *UpdateLoadBalancerPayload) GetTargetPoolsOk() ([]TargetPool, bool)
GetTargetPoolsOk returns a tuple with the TargetPools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetTargetSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) GetTargetSecurityGroup() SecurityGroup
GetTargetSecurityGroup returns the TargetSecurityGroup field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetTargetSecurityGroupOk ¶
func (o *UpdateLoadBalancerPayload) GetTargetSecurityGroupOk() (*SecurityGroup, bool)
GetTargetSecurityGroupOk returns a tuple with the TargetSecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) GetVersion ¶
func (o *UpdateLoadBalancerPayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateLoadBalancerPayload) GetVersionOk ¶
func (o *UpdateLoadBalancerPayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment ¶
func (o *UpdateLoadBalancerPayload) HasDisableTargetSecurityGroupAssignment() bool
HasDisableTargetSecurityGroupAssignment returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasErrors ¶
func (o *UpdateLoadBalancerPayload) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasExternalAddress ¶
func (o *UpdateLoadBalancerPayload) HasExternalAddress() bool
HasExternalAddress returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasLabels ¶
func (o *UpdateLoadBalancerPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasListeners ¶
func (o *UpdateLoadBalancerPayload) HasListeners() bool
HasListeners returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasLoadBalancerSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) HasLoadBalancerSecurityGroup() bool
HasLoadBalancerSecurityGroup returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasName ¶
func (o *UpdateLoadBalancerPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasNetworks ¶
func (o *UpdateLoadBalancerPayload) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasOptions ¶
func (o *UpdateLoadBalancerPayload) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasPlanId ¶
func (o *UpdateLoadBalancerPayload) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasPrivateAddress ¶
func (o *UpdateLoadBalancerPayload) HasPrivateAddress() bool
HasPrivateAddress returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasRegion ¶
func (o *UpdateLoadBalancerPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasStatus ¶
func (o *UpdateLoadBalancerPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasTargetPools ¶
func (o *UpdateLoadBalancerPayload) HasTargetPools() bool
HasTargetPools returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasTargetSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) HasTargetSecurityGroup() bool
HasTargetSecurityGroup returns a boolean if a field has been set.
func (*UpdateLoadBalancerPayload) HasVersion ¶
func (o *UpdateLoadBalancerPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateLoadBalancerPayload) MarshalJSON ¶
func (o UpdateLoadBalancerPayload) MarshalJSON() ([]byte, error)
func (*UpdateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment ¶
func (o *UpdateLoadBalancerPayload) SetDisableTargetSecurityGroupAssignment(v bool)
SetDisableTargetSecurityGroupAssignment gets a reference to the given bool and assigns it to the DisableTargetSecurityGroupAssignment field.
func (*UpdateLoadBalancerPayload) SetErrors ¶
func (o *UpdateLoadBalancerPayload) SetErrors(v []LoadBalancerError)
SetErrors gets a reference to the given []LoadBalancerError and assigns it to the Errors field.
func (*UpdateLoadBalancerPayload) SetExternalAddress ¶
func (o *UpdateLoadBalancerPayload) SetExternalAddress(v string)
SetExternalAddress gets a reference to the given string and assigns it to the ExternalAddress field.
func (*UpdateLoadBalancerPayload) SetLabels ¶
func (o *UpdateLoadBalancerPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateLoadBalancerPayload) SetListeners ¶
func (o *UpdateLoadBalancerPayload) SetListeners(v []Listener)
SetListeners gets a reference to the given []Listener and assigns it to the Listeners field.
func (*UpdateLoadBalancerPayload) SetLoadBalancerSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) SetLoadBalancerSecurityGroup(v SecurityGroup)
SetLoadBalancerSecurityGroup gets a reference to the given SecurityGroup and assigns it to the LoadBalancerSecurityGroup field.
func (*UpdateLoadBalancerPayload) SetName ¶
func (o *UpdateLoadBalancerPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateLoadBalancerPayload) SetNetworks ¶
func (o *UpdateLoadBalancerPayload) SetNetworks(v []Network)
SetNetworks gets a reference to the given []Network and assigns it to the Networks field.
func (*UpdateLoadBalancerPayload) SetOptions ¶
func (o *UpdateLoadBalancerPayload) SetOptions(v LoadBalancerOptions)
SetOptions gets a reference to the given LoadBalancerOptions and assigns it to the Options field.
func (*UpdateLoadBalancerPayload) SetPlanId ¶
func (o *UpdateLoadBalancerPayload) SetPlanId(v string)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (*UpdateLoadBalancerPayload) SetPrivateAddress ¶
func (o *UpdateLoadBalancerPayload) SetPrivateAddress(v string)
SetPrivateAddress gets a reference to the given string and assigns it to the PrivateAddress field.
func (*UpdateLoadBalancerPayload) SetRegion ¶
func (o *UpdateLoadBalancerPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*UpdateLoadBalancerPayload) SetStatus ¶
func (o *UpdateLoadBalancerPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*UpdateLoadBalancerPayload) SetTargetPools ¶
func (o *UpdateLoadBalancerPayload) SetTargetPools(v []TargetPool)
SetTargetPools gets a reference to the given []TargetPool and assigns it to the TargetPools field.
func (*UpdateLoadBalancerPayload) SetTargetSecurityGroup ¶
func (o *UpdateLoadBalancerPayload) SetTargetSecurityGroup(v SecurityGroup)
SetTargetSecurityGroup gets a reference to the given SecurityGroup and assigns it to the TargetSecurityGroup field.
func (*UpdateLoadBalancerPayload) SetVersion ¶
func (o *UpdateLoadBalancerPayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (UpdateLoadBalancerPayload) ToMap ¶
func (o UpdateLoadBalancerPayload) ToMap() (map[string]interface{}, error)
type UpdateTargetPoolPayload ¶
type UpdateTargetPoolPayload struct {
ActiveHealthCheck *ActiveHealthCheck `json:"activeHealthCheck,omitempty"`
// Target pool name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
SessionPersistence *SessionPersistence `json:"sessionPersistence,omitempty"`
// The number identifying the port where each target listens for traffic.
TargetPort *int32 `json:"targetPort,omitempty"`
// List of all targets which will be used in the pool. Limited to 250.
Targets []Target `json:"targets,omitempty"`
}
UpdateTargetPoolPayload struct for UpdateTargetPoolPayload
func NewUpdateTargetPoolPayload ¶
func NewUpdateTargetPoolPayload() *UpdateTargetPoolPayload
NewUpdateTargetPoolPayload instantiates a new UpdateTargetPoolPayload 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 NewUpdateTargetPoolPayloadWithDefaults ¶
func NewUpdateTargetPoolPayloadWithDefaults() *UpdateTargetPoolPayload
NewUpdateTargetPoolPayloadWithDefaults instantiates a new UpdateTargetPoolPayload 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 (*UpdateTargetPoolPayload) GetActiveHealthCheck ¶
func (o *UpdateTargetPoolPayload) GetActiveHealthCheck() ActiveHealthCheck
GetActiveHealthCheck returns the ActiveHealthCheck field value if set, zero value otherwise.
func (*UpdateTargetPoolPayload) GetActiveHealthCheckOk ¶
func (o *UpdateTargetPoolPayload) GetActiveHealthCheckOk() (*ActiveHealthCheck, bool)
GetActiveHealthCheckOk returns a tuple with the ActiveHealthCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTargetPoolPayload) GetName ¶
func (o *UpdateTargetPoolPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateTargetPoolPayload) GetNameOk ¶
func (o *UpdateTargetPoolPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTargetPoolPayload) GetSessionPersistence ¶
func (o *UpdateTargetPoolPayload) GetSessionPersistence() SessionPersistence
GetSessionPersistence returns the SessionPersistence field value if set, zero value otherwise.
func (*UpdateTargetPoolPayload) GetSessionPersistenceOk ¶
func (o *UpdateTargetPoolPayload) GetSessionPersistenceOk() (*SessionPersistence, bool)
GetSessionPersistenceOk returns a tuple with the SessionPersistence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTargetPoolPayload) GetTargetPort ¶
func (o *UpdateTargetPoolPayload) GetTargetPort() int32
GetTargetPort returns the TargetPort field value if set, zero value otherwise.
func (*UpdateTargetPoolPayload) GetTargetPortOk ¶
func (o *UpdateTargetPoolPayload) GetTargetPortOk() (*int32, bool)
GetTargetPortOk returns a tuple with the TargetPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTargetPoolPayload) GetTargets ¶
func (o *UpdateTargetPoolPayload) GetTargets() []Target
GetTargets returns the Targets field value if set, zero value otherwise.
func (*UpdateTargetPoolPayload) GetTargetsOk ¶
func (o *UpdateTargetPoolPayload) GetTargetsOk() ([]Target, bool)
GetTargetsOk returns a tuple with the Targets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTargetPoolPayload) HasActiveHealthCheck ¶
func (o *UpdateTargetPoolPayload) HasActiveHealthCheck() bool
HasActiveHealthCheck returns a boolean if a field has been set.
func (*UpdateTargetPoolPayload) HasName ¶
func (o *UpdateTargetPoolPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateTargetPoolPayload) HasSessionPersistence ¶
func (o *UpdateTargetPoolPayload) HasSessionPersistence() bool
HasSessionPersistence returns a boolean if a field has been set.
func (*UpdateTargetPoolPayload) HasTargetPort ¶
func (o *UpdateTargetPoolPayload) HasTargetPort() bool
HasTargetPort returns a boolean if a field has been set.
func (*UpdateTargetPoolPayload) HasTargets ¶
func (o *UpdateTargetPoolPayload) HasTargets() bool
HasTargets returns a boolean if a field has been set.
func (UpdateTargetPoolPayload) MarshalJSON ¶
func (o UpdateTargetPoolPayload) MarshalJSON() ([]byte, error)
func (*UpdateTargetPoolPayload) SetActiveHealthCheck ¶
func (o *UpdateTargetPoolPayload) SetActiveHealthCheck(v ActiveHealthCheck)
SetActiveHealthCheck gets a reference to the given ActiveHealthCheck and assigns it to the ActiveHealthCheck field.
func (*UpdateTargetPoolPayload) SetName ¶
func (o *UpdateTargetPoolPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateTargetPoolPayload) SetSessionPersistence ¶
func (o *UpdateTargetPoolPayload) SetSessionPersistence(v SessionPersistence)
SetSessionPersistence gets a reference to the given SessionPersistence and assigns it to the SessionPersistence field.
func (*UpdateTargetPoolPayload) SetTargetPort ¶
func (o *UpdateTargetPoolPayload) SetTargetPort(v int32)
SetTargetPort gets a reference to the given int32 and assigns it to the TargetPort field.
func (*UpdateTargetPoolPayload) SetTargets ¶
func (o *UpdateTargetPoolPayload) SetTargets(v []Target)
SetTargets gets a reference to the given []Target and assigns it to the Targets field.
func (UpdateTargetPoolPayload) ToMap ¶
func (o UpdateTargetPoolPayload) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_active_health_check.go
- model_create_credentials_payload.go
- model_create_credentials_response.go
- model_create_load_balancer_payload.go
- model_credentials_response.go
- model_get_credentials_response.go
- model_get_quota_response.go
- model_google_protobuf_any.go
- model_http_health_checks.go
- model_list_credentials_response.go
- model_list_load_balancers_response.go
- model_list_plans_response.go
- model_listener.go
- model_load_balancer.go
- model_load_balancer_error.go
- model_load_balancer_options.go
- model_loadbalancer_option_access_control.go
- model_loadbalancer_option_logs.go
- model_loadbalancer_option_metrics.go
- model_loadbalancer_option_observability.go
- model_network.go
- model_options_tcp.go
- model_options_udp.go
- model_plan_details.go
- model_security_group.go
- model_server_name_indicator.go
- model_session_persistence.go
- model_status.go
- model_target.go
- model_target_pool.go
- model_tls_config.go
- model_update_credentials_payload.go
- model_update_credentials_response.go
- model_update_load_balancer_payload.go
- model_update_target_pool_payload.go
- response.go
- utils.go