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.Types.PrimaryInstanceSettings : IMessage<AlloyDbSettings.Types.PrimaryInstanceSettings>, IEquatable<AlloyDbSettings.Types.PrimaryInstanceSettings>, IDeepCloneable<AlloyDbSettings.Types.PrimaryInstanceSettings>, IBufferMessage, IMessage

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

Settings for the cluster's primary instance

## Inheritance

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

## 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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[PrimaryInstanceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[PrimaryInstanceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[PrimaryInstanceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.PrimaryInstanceSettings.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

### PrimaryInstanceSettings()

    public PrimaryInstanceSettings()

### PrimaryInstanceSettings(PrimaryInstanceSettings)

    public PrimaryInstanceSettings(AlloyDbSettings.Types.PrimaryInstanceSettings other)

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

## Properties

### DatabaseFlags

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

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.

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

### Id

    public string Id { get; set; }

Required. The ID of the AlloyDB primary instance. The ID must satisfy the
regex expression "\[a-z0-9-\]+".

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

### Labels

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

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

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

### MachineConfig

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

Configuration for the machines that host the underlying
database engine.

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

### PrivateIp

    public string PrivateIp { get; set; }

Output only. The private IP address for the Instance.
This is the connection endpoint for an end-user application.

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