Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::AlloyDbSettings.
Settings for creating an AlloyDB cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#encryption_config
def encryption_config() -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::EncryptionConfig
Returns
- (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::EncryptionConfig) — Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
#encryption_config=
def encryption_config=(value) -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::EncryptionConfig
Parameter
- value (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::EncryptionConfig) — Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
Returns
- (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::EncryptionConfig) — Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
#initial_user
def initial_user() -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword
Returns
- (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword) — Required. Input only. Initial user to setup during cluster creation. Required.
#initial_user=
def initial_user=(value) -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword
Parameter
- value (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword) — Required. Input only. Initial user to setup during cluster creation. Required.
Returns
- (::Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword) — Required. Input only. Initial user to setup during cluster creation. Required.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
#primary_instance_settings
def primary_instance_settings() -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::PrimaryInstanceSettings
#primary_instance_settings=
def primary_instance_settings=(value) -> ::Google::Cloud::CloudDMS::V1::AlloyDbSettings::PrimaryInstanceSettings
Parameter
#vpc_network
def vpc_network() -> ::String
Returns
- (::String) — Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
#vpc_network=
def vpc_network=(value) -> ::String
Parameter
- value (::String) — Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
Returns
- (::String) — Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.