Class: Google::Apis::NetappV1::HybridReplicationParameters
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::HybridReplicationParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
The Hybrid Replication parameters for the volume.
Instance Attribute Summary collapse
-
#cluster_location ⇒ String
Optional.
-
#description ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#peer_cluster_name ⇒ String
Required.
-
#peer_ip_addresses ⇒ Array<String>
Required.
-
#peer_svm_name ⇒ String
Required.
-
#peer_volume_name ⇒ String
Required.
-
#replication ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HybridReplicationParameters
constructor
A new instance of HybridReplicationParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HybridReplicationParameters
Returns a new instance of HybridReplicationParameters.
719 720 721 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_location ⇒ String
Optional. Name of source cluster location associated with the Hybrid
replication. This is a free-form field for the display purpose only.
Corresponds to the JSON property clusterLocation
679 680 681 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 679 def cluster_location @cluster_location end |
#description ⇒ String
Optional. Description of the replication.
Corresponds to the JSON property description
684 685 686 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 684 def description @description end |
#labels ⇒ Hash<String,String>
Optional. Labels to be added to the replication as the key value pairs.
Corresponds to the JSON property labels
689 690 691 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 689 def labels @labels end |
#peer_cluster_name ⇒ String
Required. Name of the user's local source cluster to be peered with the
destination cluster.
Corresponds to the JSON property peerClusterName
695 696 697 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 695 def peer_cluster_name @peer_cluster_name end |
#peer_ip_addresses ⇒ Array<String>
Required. List of node ip addresses to be peered with.
Corresponds to the JSON property peerIpAddresses
700 701 702 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 700 def peer_ip_addresses @peer_ip_addresses end |
#peer_svm_name ⇒ String
Required. Name of the user's local source vserver svm to be peered with the
destination vserver svm.
Corresponds to the JSON property peerSvmName
706 707 708 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 706 def peer_svm_name @peer_svm_name end |
#peer_volume_name ⇒ String
Required. Name of the user's local source volume to be peered with the
destination volume.
Corresponds to the JSON property peerVolumeName
712 713 714 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 712 def peer_volume_name @peer_volume_name end |
#replication ⇒ String
Required. Desired name for the replication of this volume.
Corresponds to the JSON property replication
717 718 719 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 717 def replication @replication end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
724 725 726 727 728 729 730 731 732 733 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 724 def update!(**args) @cluster_location = args[:cluster_location] if args.key?(:cluster_location) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name) @peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses) @peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name) @peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name) @replication = args[:replication] if args.key?(:replication) end |