Class: Google::Apis::DatamigrationV1::PrimaryInstanceSettings
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::PrimaryInstanceSettings
- 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
Settings for the cluster's primary instance
Instance Attribute Summary collapse
-
#database_flags ⇒ Hash<String,String>
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.
-
#id ⇒ String
Required.
-
#instance_network_config ⇒ Google::Apis::DatamigrationV1::InstanceNetworkConfig
Metadata related to instance level network configuration.
-
#labels ⇒ Hash<String,String>
Labels for the AlloyDB primary instance created by DMS.
-
#machine_config ⇒ Google::Apis::DatamigrationV1::MachineConfig
MachineConfig describes the configuration of a machine.
-
#outbound_public_ip_addresses ⇒ Array<String>
Output only.
-
#private_ip ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrimaryInstanceSettings
constructor
A new instance of PrimaryInstanceSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrimaryInstanceSettings
Returns a new instance of PrimaryInstanceSettings.
4703 4704 4705 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_flags ⇒ Hash<String,String>
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and
instances. See the AlloyDB documentation for how these can be used.
Corresponds to the JSON property databaseFlags
4668 4669 4670 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4668 def database_flags @database_flags end |
#id ⇒ String
Required. The ID of the AlloyDB primary instance. The ID must satisfy the
regex expression "[a-z0-9-]+".
Corresponds to the JSON property id
4674 4675 4676 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4674 def id @id end |
#instance_network_config ⇒ Google::Apis::DatamigrationV1::InstanceNetworkConfig
Metadata related to instance level network configuration.
Corresponds to the JSON property instanceNetworkConfig
4679 4680 4681 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4679 def instance_network_config @instance_network_config end |
#labels ⇒ Hash<String,String>
Labels for the AlloyDB primary instance created by DMS. An object containing a
list of 'key', 'value' pairs.
Corresponds to the JSON property labels
4685 4686 4687 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4685 def labels @labels end |
#machine_config ⇒ Google::Apis::DatamigrationV1::MachineConfig
MachineConfig describes the configuration of a machine.
Corresponds to the JSON property machineConfig
4690 4691 4692 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4690 def machine_config @machine_config end |
#outbound_public_ip_addresses ⇒ Array<String>
Output only. All outbound public IP addresses configured for the instance.
Corresponds to the JSON property outboundPublicIpAddresses
4695 4696 4697 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4695 def outbound_public_ip_addresses @outbound_public_ip_addresses end |
#private_ip ⇒ String
Output only. The private IP address for the Instance. This is the connection
endpoint for an end-user application.
Corresponds to the JSON property privateIp
4701 4702 4703 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4701 def private_ip @private_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4708 4709 4710 4711 4712 4713 4714 4715 4716 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4708 def update!(**args) @database_flags = args[:database_flags] if args.key?(:database_flags) @id = args[:id] if args.key?(:id) @instance_network_config = args[:instance_network_config] if args.key?(:instance_network_config) @labels = args[:labels] if args.key?(:labels) @machine_config = args[:machine_config] if args.key?(:machine_config) @outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses) @private_ip = args[:private_ip] if args.key?(:private_ip) end |