Class: Google::Apis::DatamigrationV1::SqlServerDagConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SqlServerDagConfig
- 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
-
#linked_server ⇒ String
Required.
-
#source_ag ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerDagConfig
constructor
A new instance of SqlServerDagConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_server ⇒ String
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
5525 5526 5527 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5525 def linked_server @linked_server end |
#source_ag ⇒ String
Required. The name of the source availability group. Only used by DAG
migrations.
Corresponds to the JSON property sourceAg
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 |