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.



6036
6037
6038
# File 'lib/google/apis/datamigration_v1/classes.rb', line 6036

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)


6028
6029
6030
# File 'lib/google/apis/datamigration_v1/classes.rb', line 6028

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)


6034
6035
6036
# File 'lib/google/apis/datamigration_v1/classes.rb', line 6034

def source_ag
  @source_ag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6041
6042
6043
6044
# File 'lib/google/apis/datamigration_v1/classes.rb', line 6041

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