Class: Google::Apis::DatamigrationV1::SqlServerDagConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Configuration for distributed availability group (DAG) for the SQL Server homogeneous migration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerDagConfig

Returns a new instance of SqlServerDagConfig.



5533
5534
5535
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5533

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

Instance Attribute Details

#linked_serverString

Required. The name of the linked server that points to the source SQL Server instance. Only used by DAG migrations. Corresponds to the JSON property linkedServer

Returns:

  • (String)


5525
5526
5527
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5525

def linked_server
  @linked_server
end

#source_agString

Required. The name of the source availability group. Only used by DAG migrations. Corresponds to the JSON property sourceAg

Returns:

  • (String)


5531
5532
5533
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5531

def source_ag
  @source_ag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5538
5539
5540
5541
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5538

def update!(**args)
  @linked_server = args[:linked_server] if args.key?(:linked_server)
  @source_ag = args[:source_ag] if args.key?(:source_ag)
end