Class: Google::Apis::NetappV1::EstablishPeeringRequest

Inherits:
Object
  • Object
show all
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

EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EstablishPeeringRequest

Returns a new instance of EstablishPeeringRequest.



558
559
560
# File 'lib/google/apis/netapp_v1/classes.rb', line 558

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#peer_cluster_nameString

Required. Name of the user's local source cluster to be peered with the destination cluster. Corresponds to the JSON property peerClusterName

Returns:

  • (String)


539
540
541
# File 'lib/google/apis/netapp_v1/classes.rb', line 539

def peer_cluster_name
  @peer_cluster_name
end

#peer_ip_addressesArray<String>

Optional. List of IPv4 ip addresses to be used for peering. Corresponds to the JSON property peerIpAddresses

Returns:

  • (Array<String>)


544
545
546
# File 'lib/google/apis/netapp_v1/classes.rb', line 544

def peer_ip_addresses
  @peer_ip_addresses
end

#peer_svm_nameString

Required. Name of the user's local source vserver svm to be peered with the destination vserver svm. Corresponds to the JSON property peerSvmName

Returns:

  • (String)


550
551
552
# File 'lib/google/apis/netapp_v1/classes.rb', line 550

def peer_svm_name
  @peer_svm_name
end

#peer_volume_nameString

Required. Name of the user's local source volume to be peered with the destination volume. Corresponds to the JSON property peerVolumeName

Returns:

  • (String)


556
557
558
# File 'lib/google/apis/netapp_v1/classes.rb', line 556

def peer_volume_name
  @peer_volume_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



563
564
565
566
567
568
# File 'lib/google/apis/netapp_v1/classes.rb', line 563

def update!(**args)
  @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)
end