2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class AlloyDbSettings : IMessage<AlloyDbSettings>, IEquatable<AlloyDbSettings>, IDeepCloneable<AlloyDbSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class AlloyDbSettings.

Settings for creating an AlloyDB cluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AlloyDbSettings

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### AlloyDbSettings()

    public AlloyDbSettings()

### AlloyDbSettings(AlloyDbSettings)

    public AlloyDbSettings(AlloyDbSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AlloyDbSettings` |

## Properties

### EncryptionConfig

    public AlloyDbSettings.Types.EncryptionConfig EncryptionConfig { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AlloyDbSettingsTypesEncryptionConfig` |   |

### InitialUser

    public AlloyDbSettings.Types.UserPassword InitialUser { get; set; }

Required. Input only. Initial user to setup during cluster creation.
Required.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AlloyDbSettingsTypesUserPassword` |   |

### Labels

    public MapField<string, string> Labels { get; }

Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### PrimaryInstanceSettings

    public AlloyDbSettings.Types.PrimaryInstanceSettings PrimaryInstanceSettings { get; set; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AlloyDbSettingsTypesPrimaryInstanceSettings` |   |

### VpcNetwork

    public string VpcNetwork { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |