ConnectorState class

Input properties used for looking up and filtering Connector resources.

Constructors

ConnectorState({Input<Map<String, String>?>? configs, Input<String?>? connectCluster, Input<String?>? connectorId, Input<String?>? deletionPolicy, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<String?>? state, Input<ConnectorTaskRestartPolicy?>? taskRestartPolicy})
Creates a new ConnectorState. configs Connector config as keys/values. The keys of the map are connector property names, for example: connector.class, tasks.max, key.converter. connectCluster The connect cluster name. connectorId The ID to use for the connector, which will become the final component of the connector's name. This value is structured like: my-connector-id. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. location ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations. name The name of the connector. The connector segment is used when connecting directly to the connect cluster. Structured like: projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER/connectors/CONNECTOR_ID. project The ID of the project in which the resource belongs. state The current state of the connect. Possible values: STATE_UNSPECIFIED, UNASSIGNED, RUNNING, PAUSED, FAILED, RESTARTING, and STOPPED. taskRestartPolicy A policy that specifies how to restart the failed connectors/tasks in a Cluster resource. If not set, the failed connectors/tasks won't be restarted.
const
ConnectorState.fromMap(Map<String, dynamic> map)
factory

Properties

configs → Input<Map<String, String>?>?
Connector config as keys/values. The keys of the map are connector property names, for example: connector.class, tasks.max, key.converter.
final
connectCluster → Input<String?>?
The connect cluster name.
final
connectorId → Input<String?>?
The ID to use for the connector, which will become the final component of the connector's name. This value is structured like: my-connector-id.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String?>?
ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
final
name → Input<String?>?
The name of the connector. The connector segment is used when connecting directly to the connect cluster. Structured like: projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER/connectors/CONNECTOR_ID.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
The current state of the connect. Possible values: STATE_UNSPECIFIED, UNASSIGNED, RUNNING, PAUSED, FAILED, RESTARTING, and STOPPED.
final
taskRestartPolicy → Input<ConnectorTaskRestartPolicy?>?
A policy that specifies how to restart the failed connectors/tasks in a Cluster resource. If not set, the failed connectors/tasks won't be restarted. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited