Skip to content

Latest commit

 

History

History
320 lines (175 loc) · 9.72 KB

CreateContainerGroup.md

File metadata and controls

320 lines (175 loc) · 9.72 KB

CreateContainerGroup

Properties

Name Type Description Notes
Name string
DisplayName Pointer to NullableString [optional]
Container CreateContainer
RestartPolicy ContainerRestartPolicy
Replicas int32
CountryCodes Pointer to []CountryCode [optional]
Networking Pointer to NullableCreateContainerGroupNetworking [optional]
LivenessProbe Pointer to NullableContainerGroupProbe [optional]
ReadinessProbe Pointer to NullableContainerGroupProbe [optional]
StartupProbe Pointer to NullableContainerGroupProbe [optional]

Methods

NewCreateContainerGroup

func NewCreateContainerGroup(name string, container CreateContainer, restartPolicy ContainerRestartPolicy, replicas int32, ) *CreateContainerGroup

NewCreateContainerGroup instantiates a new CreateContainerGroup 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

NewCreateContainerGroupWithDefaults

func NewCreateContainerGroupWithDefaults() *CreateContainerGroup

NewCreateContainerGroupWithDefaults instantiates a new CreateContainerGroup 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

GetName

func (o *CreateContainerGroup) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *CreateContainerGroup) GetNameOk() (*string, bool)

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

SetName

func (o *CreateContainerGroup) SetName(v string)

SetName sets Name field to given value.

GetDisplayName

func (o *CreateContainerGroup) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *CreateContainerGroup) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *CreateContainerGroup) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *CreateContainerGroup) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

SetDisplayNameNil

func (o *CreateContainerGroup) SetDisplayNameNil(b bool)

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

UnsetDisplayName

func (o *CreateContainerGroup) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

GetContainer

func (o *CreateContainerGroup) GetContainer() CreateContainer

GetContainer returns the Container field if non-nil, zero value otherwise.

GetContainerOk

func (o *CreateContainerGroup) GetContainerOk() (*CreateContainer, bool)

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

SetContainer

func (o *CreateContainerGroup) SetContainer(v CreateContainer)

SetContainer sets Container field to given value.

GetRestartPolicy

func (o *CreateContainerGroup) GetRestartPolicy() ContainerRestartPolicy

GetRestartPolicy returns the RestartPolicy field if non-nil, zero value otherwise.

GetRestartPolicyOk

func (o *CreateContainerGroup) GetRestartPolicyOk() (*ContainerRestartPolicy, bool)

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

SetRestartPolicy

func (o *CreateContainerGroup) SetRestartPolicy(v ContainerRestartPolicy)

SetRestartPolicy sets RestartPolicy field to given value.

GetReplicas

func (o *CreateContainerGroup) GetReplicas() int32

GetReplicas returns the Replicas field if non-nil, zero value otherwise.

GetReplicasOk

func (o *CreateContainerGroup) GetReplicasOk() (*int32, bool)

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

SetReplicas

func (o *CreateContainerGroup) SetReplicas(v int32)

SetReplicas sets Replicas field to given value.

GetCountryCodes

func (o *CreateContainerGroup) GetCountryCodes() []CountryCode

GetCountryCodes returns the CountryCodes field if non-nil, zero value otherwise.

GetCountryCodesOk

func (o *CreateContainerGroup) GetCountryCodesOk() (*[]CountryCode, bool)

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

SetCountryCodes

func (o *CreateContainerGroup) SetCountryCodes(v []CountryCode)

SetCountryCodes sets CountryCodes field to given value.

HasCountryCodes

func (o *CreateContainerGroup) HasCountryCodes() bool

HasCountryCodes returns a boolean if a field has been set.

GetNetworking

func (o *CreateContainerGroup) GetNetworking() CreateContainerGroupNetworking

GetNetworking returns the Networking field if non-nil, zero value otherwise.

GetNetworkingOk

func (o *CreateContainerGroup) GetNetworkingOk() (*CreateContainerGroupNetworking, bool)

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

SetNetworking

func (o *CreateContainerGroup) SetNetworking(v CreateContainerGroupNetworking)

SetNetworking sets Networking field to given value.

HasNetworking

func (o *CreateContainerGroup) HasNetworking() bool

HasNetworking returns a boolean if a field has been set.

SetNetworkingNil

func (o *CreateContainerGroup) SetNetworkingNil(b bool)

SetNetworkingNil sets the value for Networking to be an explicit nil

UnsetNetworking

func (o *CreateContainerGroup) UnsetNetworking()

UnsetNetworking ensures that no value is present for Networking, not even an explicit nil

GetLivenessProbe

func (o *CreateContainerGroup) GetLivenessProbe() ContainerGroupProbe

GetLivenessProbe returns the LivenessProbe field if non-nil, zero value otherwise.

GetLivenessProbeOk

func (o *CreateContainerGroup) GetLivenessProbeOk() (*ContainerGroupProbe, bool)

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

SetLivenessProbe

func (o *CreateContainerGroup) SetLivenessProbe(v ContainerGroupProbe)

SetLivenessProbe sets LivenessProbe field to given value.

HasLivenessProbe

func (o *CreateContainerGroup) HasLivenessProbe() bool

HasLivenessProbe returns a boolean if a field has been set.

SetLivenessProbeNil

func (o *CreateContainerGroup) SetLivenessProbeNil(b bool)

SetLivenessProbeNil sets the value for LivenessProbe to be an explicit nil

UnsetLivenessProbe

func (o *CreateContainerGroup) UnsetLivenessProbe()

UnsetLivenessProbe ensures that no value is present for LivenessProbe, not even an explicit nil

GetReadinessProbe

func (o *CreateContainerGroup) GetReadinessProbe() ContainerGroupProbe

GetReadinessProbe returns the ReadinessProbe field if non-nil, zero value otherwise.

GetReadinessProbeOk

func (o *CreateContainerGroup) GetReadinessProbeOk() (*ContainerGroupProbe, bool)

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

SetReadinessProbe

func (o *CreateContainerGroup) SetReadinessProbe(v ContainerGroupProbe)

SetReadinessProbe sets ReadinessProbe field to given value.

HasReadinessProbe

func (o *CreateContainerGroup) HasReadinessProbe() bool

HasReadinessProbe returns a boolean if a field has been set.

SetReadinessProbeNil

func (o *CreateContainerGroup) SetReadinessProbeNil(b bool)

SetReadinessProbeNil sets the value for ReadinessProbe to be an explicit nil

UnsetReadinessProbe

func (o *CreateContainerGroup) UnsetReadinessProbe()

UnsetReadinessProbe ensures that no value is present for ReadinessProbe, not even an explicit nil

GetStartupProbe

func (o *CreateContainerGroup) GetStartupProbe() ContainerGroupProbe

GetStartupProbe returns the StartupProbe field if non-nil, zero value otherwise.

GetStartupProbeOk

func (o *CreateContainerGroup) GetStartupProbeOk() (*ContainerGroupProbe, bool)

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

SetStartupProbe

func (o *CreateContainerGroup) SetStartupProbe(v ContainerGroupProbe)

SetStartupProbe sets StartupProbe field to given value.

HasStartupProbe

func (o *CreateContainerGroup) HasStartupProbe() bool

HasStartupProbe returns a boolean if a field has been set.

SetStartupProbeNil

func (o *CreateContainerGroup) SetStartupProbeNil(b bool)

SetStartupProbeNil sets the value for StartupProbe to be an explicit nil

UnsetStartupProbe

func (o *CreateContainerGroup) UnsetStartupProbe()

UnsetStartupProbe ensures that no value is present for StartupProbe, not even an explicit nil

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