# Class PrimaryInstanceSettings (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    PrimaryInstanceSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for the cluster's primary instance

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `id` | `str` Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "\[a-z0-9-\]+". |
| `machine_config` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig` Configuration for the machines that host the underlying database engine. |
| `database_flags` | `MutableMapping[str, str]` 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. |
| `labels` | `MutableMapping[str, str]` Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs. |
| `private_ip` | `str` Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application. |

## Classes

### DatabaseFlagsEntry

    DatabaseFlagsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### MachineConfig

    MachineConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

MachineConfig describes the configuration of a machine.