| Name | Type | Description | Notes |
|---|---|---|---|
| Context | Pointer to FixedReferenceWithType | The context in which the operation was performed. Valid values include a reference to any array which is a member of the same fleet or to the fleet itself. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided `context`. | [optional] [readonly] |
| Realms | Pointer to []FixedReferenceWithType | Reference to the realms this resource belongs to. The value is set to empty array when the resource lives outside of a realm. | [optional] [readonly] |
| Id | Pointer to string | A globally unique, system-generated ID. The ID cannot be modified and cannot refer to another resource. | [optional] [readonly] |
| Name | Pointer to string | A locally unique, system-generated name. The name cannot be modified. | [optional] [readonly] |
| KeyLocation | Pointer to string | The location where the `data sealing key` is stored. Values include `remote` and `local-in-memory`. When set to `remote`, the `key` is retrieved from an external `key management server` specified in the `remote_key_location` property (e.g., a `KMIP server` identified by `resource_type: "kmip"`). When set to `local-in-memory`, the `keying material` is provided by the user. | [optional] [readonly] |
| KeyStatus | Pointer to string | The current status of the data sealing key can be `enabled`, `disabled`, or `unavailable`. When the key is `enabled`, its keying material is in memory, and the associated realms are unsealed. If the status is `disabled`, the key is inactive, the keying material is not in memory, and the associated realms are sealed. The `unavailable` status indicates that the key was previously `enabled`, but after a power cycle, the keying material is no longer in memory, leaving the associated realms sealed. To return the key to the `enabled` state and unseal the realms, the keying material must be provided again using a PATCH request with the `keying_material` property set. To change the key's status between `enabled` and `disabled`, a PATCH request with the `requested_key_status` property should be used. | [optional] [readonly] |
| RemoteKeyLocation | Pointer to ReferenceNoIdWithType | The reference (ID, name, and resource type) to an external `key management server configuration`. For `KMIP servers`, `resource_type` will be `"kmip"`. This property is set when `key_location` is `remote` and is `null` for other `key locations`. | [optional] |
| RequestedKeyState | Pointer to string | The desired state of the data sealing key can be either `enabled` or `disabled`. Changing this state will update the key's status accordingly. To enable the key, the `keying_material` field must be set with base64-encoded keying material as defined in RFC 4648 section 4. If the desired state is set to `enabled` and `key_status` becomes `unavailable` after a power cycle, the keying material must be provided again in a PATCH request using the `keying_material` property to restore the `enabled` state. | [optional] |
func NewDataSealingKey() *DataSealingKey
NewDataSealingKey instantiates a new DataSealingKey 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 NewDataSealingKeyWithDefaults() *DataSealingKey
NewDataSealingKeyWithDefaults instantiates a new DataSealingKey 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 *DataSealingKey) GetContext() FixedReferenceWithType
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetContextOk() (*FixedReferenceWithType, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetContext(v FixedReferenceWithType)
SetContext sets Context field to given value.
func (o *DataSealingKey) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *DataSealingKey) GetRealms() []FixedReferenceWithType
GetRealms returns the Realms field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetRealmsOk() (*[]FixedReferenceWithType, bool)
GetRealmsOk returns a tuple with the Realms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetRealms(v []FixedReferenceWithType)
SetRealms sets Realms field to given value.
func (o *DataSealingKey) HasRealms() bool
HasRealms returns a boolean if a field has been set.
func (o *DataSealingKey) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetId(v string)
SetId sets Id field to given value.
func (o *DataSealingKey) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DataSealingKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DataSealingKey) 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.
func (o *DataSealingKey) SetName(v string)
SetName sets Name field to given value.
func (o *DataSealingKey) HasName() bool
HasName returns a boolean if a field has been set.
func (o *DataSealingKey) GetKeyLocation() string
GetKeyLocation returns the KeyLocation field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetKeyLocationOk() (*string, bool)
GetKeyLocationOk returns a tuple with the KeyLocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetKeyLocation(v string)
SetKeyLocation sets KeyLocation field to given value.
func (o *DataSealingKey) HasKeyLocation() bool
HasKeyLocation returns a boolean if a field has been set.
func (o *DataSealingKey) GetKeyStatus() string
GetKeyStatus returns the KeyStatus field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetKeyStatusOk() (*string, bool)
GetKeyStatusOk returns a tuple with the KeyStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetKeyStatus(v string)
SetKeyStatus sets KeyStatus field to given value.
func (o *DataSealingKey) HasKeyStatus() bool
HasKeyStatus returns a boolean if a field has been set.
func (o *DataSealingKey) GetRemoteKeyLocation() ReferenceNoIdWithType
GetRemoteKeyLocation returns the RemoteKeyLocation field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetRemoteKeyLocationOk() (*ReferenceNoIdWithType, bool)
GetRemoteKeyLocationOk returns a tuple with the RemoteKeyLocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetRemoteKeyLocation(v ReferenceNoIdWithType)
SetRemoteKeyLocation sets RemoteKeyLocation field to given value.
func (o *DataSealingKey) HasRemoteKeyLocation() bool
HasRemoteKeyLocation returns a boolean if a field has been set.
func (o *DataSealingKey) GetRequestedKeyState() string
GetRequestedKeyState returns the RequestedKeyState field if non-nil, zero value otherwise.
func (o *DataSealingKey) GetRequestedKeyStateOk() (*string, bool)
GetRequestedKeyStateOk returns a tuple with the RequestedKeyState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DataSealingKey) SetRequestedKeyState(v string)
SetRequestedKeyState sets RequestedKeyState field to given value.
func (o *DataSealingKey) HasRequestedKeyState() bool
HasRequestedKeyState returns a boolean if a field has been set.