ConnectorState class
Input properties used for looking up and filtering Connector resources.
Constructors
-
ConnectorState({Input<
Map< ? configs, Input<String, String> ?>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.
configsConnector config as keys/values. The keys of the map are connector property names, for example:connector.class,tasks.max,key.converter.connectClusterThe connect cluster name.connectorIdThe 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.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.locationID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.nameThe name of the connector. Theconnectorsegment is used when connecting directly to the connect cluster. Structured like:projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER/connectors/CONNECTOR_ID.projectThe ID of the project in which the resource belongs.stateThe current state of the connect. Possible values:STATE_UNSPECIFIED,UNASSIGNED,RUNNING,PAUSED,FAILED,RESTARTING, andSTOPPED.taskRestartPolicyA 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
connectorsegment 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, andSTOPPED.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