ResourceState
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewResourceState(state string, ) *ResourceState
NewResourceState instantiates a new ResourceState 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 NewResourceStateWithDefaults() *ResourceState
NewResourceStateWithDefaults instantiates a new ResourceState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ResourceState) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *ResourceState) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceState) SetState(v string)
SetState sets State field to given value.
func (o *ResourceState) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *ResourceState) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceState) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *ResourceState) HasMessage() bool
HasMessage returns a boolean if a field has been set.
State
string
State of the resource. Resource states: `AVAILABLE`: There are no pending modification requests for this item. `BUSY`: There is at least one modification request pending and all following requests will be queued. `DEPLOYING`: The resource is being created. `FAILED`: The creation of the resource failed. `UPDATING`: The resource is being updated. `FAILED_UPDATING`: An update to the resource was not successful. `DESTROYING`: A delete command was issued, and the resource is being deleted.
Message
Pointer to string
A human readable message describing the current state. In case of an error, the message will contain a detailed error message.
[optional]