Skip to content

Latest commit

 

History

History
550 lines (297 loc) · 17.3 KB

ProtectionGroup.md

File metadata and controls

550 lines (297 loc) · 17.3 KB

ProtectionGroup

Properties

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]
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 user-specified name. The name must be locally unique and can be changed. [optional]
Destroyed Pointer to bool Has this protection group been destroyed? To destroy a protection group, patch to `true`. To recover a destroyed protection group, patch to `false`. If not specified, defaults to `false`. [optional]
EradicationConfig Pointer to ProtectionGroupEradicationConfig [optional]
HostCount Pointer to int64 Number of hosts in this protection group. [optional] [readonly]
HostGroupCount Pointer to int64 Number of host groups in this protection group. [optional] [readonly]
IsLocal Pointer to bool If set to `true`, the protection group belongs to the local array. If set to `false`, the protection group belongs to the remote array. [optional] [readonly]
Pod Pointer to FixedReference The pod in which the protection group resides. [optional]
ReplicationSchedule Pointer to ReplicationSchedule The schedule settings for asynchronous replication. [optional]
RetentionLock Pointer to string The valid values are `ratcheted` and `unlocked`. The default value for a newly created protection group is `unlocked`. Set `retention_lock` to `ratcheted` to enable SafeMode restrictions on the protection group. Contact Pure Technical Services to change `retention_lock` to `unlocked`. [optional]
SnapshotSchedule Pointer to SnapshotSchedule The schedule settings for protection group snapshots. [optional]
Source Pointer to FixedReference The array or pod on which the protection group was created. [optional]
SourceRetention Pointer to RetentionPolicy The retention policy for the source array of the protection group. [optional]
Space Pointer to Space Displays provisioned size and physical storage consumption data for each protection group. [optional]
TargetCount Pointer to int64 The number of targets to where this protection group replicates. [optional] [readonly]
TargetRetention Pointer to RetentionPolicy The retention policy for the target(s) of the protection group. [optional]
TimeRemaining Pointer to int64 The amount of time left until the destroyed protection group is permanently eradicated. Measured in milliseconds. Before the `time_remaining` period has elapsed, the destroyed protection group can be recovered by setting `destroyed=false`. [optional] [readonly]
VolumeCount Pointer to int64 The number of volumes in the protection group. [optional] [readonly]
Workload Pointer to WorkloadConfigurationFixedReference [optional]

Methods

NewProtectionGroup

func NewProtectionGroup() *ProtectionGroup

NewProtectionGroup instantiates a new ProtectionGroup 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

NewProtectionGroupWithDefaults

func NewProtectionGroupWithDefaults() *ProtectionGroup

NewProtectionGroupWithDefaults instantiates a new ProtectionGroup 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

GetContext

func (o *ProtectionGroup) GetContext() FixedReferenceWithType

GetContext returns the Context field if non-nil, zero value otherwise.

GetContextOk

func (o *ProtectionGroup) 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.

SetContext

func (o *ProtectionGroup) SetContext(v FixedReferenceWithType)

SetContext sets Context field to given value.

HasContext

func (o *ProtectionGroup) HasContext() bool

HasContext returns a boolean if a field has been set.

GetId

func (o *ProtectionGroup) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ProtectionGroup) 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.

SetId

func (o *ProtectionGroup) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *ProtectionGroup) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *ProtectionGroup) GetName() string

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

GetNameOk

func (o *ProtectionGroup) 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 *ProtectionGroup) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ProtectionGroup) HasName() bool

HasName returns a boolean if a field has been set.

GetDestroyed

func (o *ProtectionGroup) GetDestroyed() bool

GetDestroyed returns the Destroyed field if non-nil, zero value otherwise.

GetDestroyedOk

func (o *ProtectionGroup) GetDestroyedOk() (*bool, bool)

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

SetDestroyed

func (o *ProtectionGroup) SetDestroyed(v bool)

SetDestroyed sets Destroyed field to given value.

HasDestroyed

func (o *ProtectionGroup) HasDestroyed() bool

HasDestroyed returns a boolean if a field has been set.

GetEradicationConfig

func (o *ProtectionGroup) GetEradicationConfig() ProtectionGroupEradicationConfig

GetEradicationConfig returns the EradicationConfig field if non-nil, zero value otherwise.

GetEradicationConfigOk

func (o *ProtectionGroup) GetEradicationConfigOk() (*ProtectionGroupEradicationConfig, bool)

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

SetEradicationConfig

func (o *ProtectionGroup) SetEradicationConfig(v ProtectionGroupEradicationConfig)

SetEradicationConfig sets EradicationConfig field to given value.

HasEradicationConfig

func (o *ProtectionGroup) HasEradicationConfig() bool

HasEradicationConfig returns a boolean if a field has been set.

GetHostCount

func (o *ProtectionGroup) GetHostCount() int64

GetHostCount returns the HostCount field if non-nil, zero value otherwise.

GetHostCountOk

func (o *ProtectionGroup) GetHostCountOk() (*int64, bool)

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

SetHostCount

func (o *ProtectionGroup) SetHostCount(v int64)

SetHostCount sets HostCount field to given value.

HasHostCount

func (o *ProtectionGroup) HasHostCount() bool

HasHostCount returns a boolean if a field has been set.

GetHostGroupCount

func (o *ProtectionGroup) GetHostGroupCount() int64

GetHostGroupCount returns the HostGroupCount field if non-nil, zero value otherwise.

GetHostGroupCountOk

func (o *ProtectionGroup) GetHostGroupCountOk() (*int64, bool)

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

SetHostGroupCount

func (o *ProtectionGroup) SetHostGroupCount(v int64)

SetHostGroupCount sets HostGroupCount field to given value.

HasHostGroupCount

func (o *ProtectionGroup) HasHostGroupCount() bool

HasHostGroupCount returns a boolean if a field has been set.

GetIsLocal

func (o *ProtectionGroup) GetIsLocal() bool

GetIsLocal returns the IsLocal field if non-nil, zero value otherwise.

GetIsLocalOk

func (o *ProtectionGroup) GetIsLocalOk() (*bool, bool)

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

SetIsLocal

func (o *ProtectionGroup) SetIsLocal(v bool)

SetIsLocal sets IsLocal field to given value.

HasIsLocal

func (o *ProtectionGroup) HasIsLocal() bool

HasIsLocal returns a boolean if a field has been set.

GetPod

func (o *ProtectionGroup) GetPod() FixedReference

GetPod returns the Pod field if non-nil, zero value otherwise.

GetPodOk

func (o *ProtectionGroup) GetPodOk() (*FixedReference, bool)

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

SetPod

func (o *ProtectionGroup) SetPod(v FixedReference)

SetPod sets Pod field to given value.

HasPod

func (o *ProtectionGroup) HasPod() bool

HasPod returns a boolean if a field has been set.

GetReplicationSchedule

func (o *ProtectionGroup) GetReplicationSchedule() ReplicationSchedule

GetReplicationSchedule returns the ReplicationSchedule field if non-nil, zero value otherwise.

GetReplicationScheduleOk

func (o *ProtectionGroup) GetReplicationScheduleOk() (*ReplicationSchedule, bool)

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

SetReplicationSchedule

func (o *ProtectionGroup) SetReplicationSchedule(v ReplicationSchedule)

SetReplicationSchedule sets ReplicationSchedule field to given value.

HasReplicationSchedule

func (o *ProtectionGroup) HasReplicationSchedule() bool

HasReplicationSchedule returns a boolean if a field has been set.

GetRetentionLock

func (o *ProtectionGroup) GetRetentionLock() string

GetRetentionLock returns the RetentionLock field if non-nil, zero value otherwise.

GetRetentionLockOk

func (o *ProtectionGroup) GetRetentionLockOk() (*string, bool)

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

SetRetentionLock

func (o *ProtectionGroup) SetRetentionLock(v string)

SetRetentionLock sets RetentionLock field to given value.

HasRetentionLock

func (o *ProtectionGroup) HasRetentionLock() bool

HasRetentionLock returns a boolean if a field has been set.

GetSnapshotSchedule

func (o *ProtectionGroup) GetSnapshotSchedule() SnapshotSchedule

GetSnapshotSchedule returns the SnapshotSchedule field if non-nil, zero value otherwise.

GetSnapshotScheduleOk

func (o *ProtectionGroup) GetSnapshotScheduleOk() (*SnapshotSchedule, bool)

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

SetSnapshotSchedule

func (o *ProtectionGroup) SetSnapshotSchedule(v SnapshotSchedule)

SetSnapshotSchedule sets SnapshotSchedule field to given value.

HasSnapshotSchedule

func (o *ProtectionGroup) HasSnapshotSchedule() bool

HasSnapshotSchedule returns a boolean if a field has been set.

GetSource

func (o *ProtectionGroup) GetSource() FixedReference

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *ProtectionGroup) GetSourceOk() (*FixedReference, bool)

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

SetSource

func (o *ProtectionGroup) SetSource(v FixedReference)

SetSource sets Source field to given value.

HasSource

func (o *ProtectionGroup) HasSource() bool

HasSource returns a boolean if a field has been set.

GetSourceRetention

func (o *ProtectionGroup) GetSourceRetention() RetentionPolicy

GetSourceRetention returns the SourceRetention field if non-nil, zero value otherwise.

GetSourceRetentionOk

func (o *ProtectionGroup) GetSourceRetentionOk() (*RetentionPolicy, bool)

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

SetSourceRetention

func (o *ProtectionGroup) SetSourceRetention(v RetentionPolicy)

SetSourceRetention sets SourceRetention field to given value.

HasSourceRetention

func (o *ProtectionGroup) HasSourceRetention() bool

HasSourceRetention returns a boolean if a field has been set.

GetSpace

func (o *ProtectionGroup) GetSpace() Space

GetSpace returns the Space field if non-nil, zero value otherwise.

GetSpaceOk

func (o *ProtectionGroup) GetSpaceOk() (*Space, bool)

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

SetSpace

func (o *ProtectionGroup) SetSpace(v Space)

SetSpace sets Space field to given value.

HasSpace

func (o *ProtectionGroup) HasSpace() bool

HasSpace returns a boolean if a field has been set.

GetTargetCount

func (o *ProtectionGroup) GetTargetCount() int64

GetTargetCount returns the TargetCount field if non-nil, zero value otherwise.

GetTargetCountOk

func (o *ProtectionGroup) GetTargetCountOk() (*int64, bool)

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

SetTargetCount

func (o *ProtectionGroup) SetTargetCount(v int64)

SetTargetCount sets TargetCount field to given value.

HasTargetCount

func (o *ProtectionGroup) HasTargetCount() bool

HasTargetCount returns a boolean if a field has been set.

GetTargetRetention

func (o *ProtectionGroup) GetTargetRetention() RetentionPolicy

GetTargetRetention returns the TargetRetention field if non-nil, zero value otherwise.

GetTargetRetentionOk

func (o *ProtectionGroup) GetTargetRetentionOk() (*RetentionPolicy, bool)

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

SetTargetRetention

func (o *ProtectionGroup) SetTargetRetention(v RetentionPolicy)

SetTargetRetention sets TargetRetention field to given value.

HasTargetRetention

func (o *ProtectionGroup) HasTargetRetention() bool

HasTargetRetention returns a boolean if a field has been set.

GetTimeRemaining

func (o *ProtectionGroup) GetTimeRemaining() int64

GetTimeRemaining returns the TimeRemaining field if non-nil, zero value otherwise.

GetTimeRemainingOk

func (o *ProtectionGroup) GetTimeRemainingOk() (*int64, bool)

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

SetTimeRemaining

func (o *ProtectionGroup) SetTimeRemaining(v int64)

SetTimeRemaining sets TimeRemaining field to given value.

HasTimeRemaining

func (o *ProtectionGroup) HasTimeRemaining() bool

HasTimeRemaining returns a boolean if a field has been set.

GetVolumeCount

func (o *ProtectionGroup) GetVolumeCount() int64

GetVolumeCount returns the VolumeCount field if non-nil, zero value otherwise.

GetVolumeCountOk

func (o *ProtectionGroup) GetVolumeCountOk() (*int64, bool)

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

SetVolumeCount

func (o *ProtectionGroup) SetVolumeCount(v int64)

SetVolumeCount sets VolumeCount field to given value.

HasVolumeCount

func (o *ProtectionGroup) HasVolumeCount() bool

HasVolumeCount returns a boolean if a field has been set.

GetWorkload

func (o *ProtectionGroup) GetWorkload() WorkloadConfigurationFixedReference

GetWorkload returns the Workload field if non-nil, zero value otherwise.

GetWorkloadOk

func (o *ProtectionGroup) GetWorkloadOk() (*WorkloadConfigurationFixedReference, bool)

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

SetWorkload

func (o *ProtectionGroup) SetWorkload(v WorkloadConfigurationFixedReference)

SetWorkload sets Workload field to given value.

HasWorkload

func (o *ProtectionGroup) HasWorkload() bool

HasWorkload returns a boolean if a field has been set.

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