TransferJobState class
Input properties used for looking up and filtering TransferJob resources.
Constructors
-
TransferJobState({Input<
String?> ? creationTime, Input<String?> ? deletionPolicy, Input<String?> ? deletionTime, Input<String?> ? description, Input<TransferJobEventStream?> ? eventStream, Input<String?> ? lastModificationTime, Input<TransferJobLoggingConfig?> ? loggingConfig, Input<String?> ? name, Input<TransferJobNotificationConfig?> ? notificationConfig, Input<String?> ? project, Input<TransferJobReplicationSpec?> ? replicationSpec, Input<TransferJobSchedule?> ? schedule, Input<String?> ? serviceAccount, Input<String?> ? status, Input<TransferJobTransferSpec?> ? transferSpec}) -
Creates a new TransferJobState.
creationTimeWhen the Transfer Job was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".deletionTimeWhen the Transfer Job was deleted.descriptionUnique description to identify the Transfer Job.eventStreamSpecifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below EithereventStreamorschedulemust be set.lastModificationTimeWhen the Transfer Job was last modified.loggingConfigLogging configuration. Structure documented below.nameThe name of the Transfer Job. This name must start with "transferJobs/" prefix and end with a letter or a number, and should be no more than 128 characters (transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically (transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name withtransferJobs/{{name}}format, wherenameis a numeric value.notificationConfigNotification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.projectThe project in which the resource belongs. If itreplicationSpecReplication specification. Structure documented below. User should not configureschedule,eventStreamwith this argument. One oftransferSpec, orreplicationSpecmust be specified.scheduleSchedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. EitherscheduleoreventStreammust be set.serviceAccountThe user-managed service account to run the job. If this field is specified, the given service account is granted the necessary permissions to all applicable resources (e.g. GCS buckets) required by the job.statusStatus of the job. Default:ENABLED. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.transferSpecTransfer specification. Structure documented below. One oftransferSpec, orreplicationSpeccan be specified.const -
TransferJobState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
creationTime
→ Input<
String?> ? -
When the Transfer Job was created.
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
-
deletionTime
→ Input<
String?> ? -
When the Transfer Job was deleted.
final
-
description
→ Input<
String?> ? -
Unique description to identify the Transfer Job.
final
-
eventStream
→ Input<
TransferJobEventStream?> ? -
Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below Either
eventStreamorschedulemust be set.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lastModificationTime
→ Input<
String?> ? -
When the Transfer Job was last modified.
final
-
loggingConfig
→ Input<
TransferJobLoggingConfig?> ? -
Logging configuration. Structure documented below.
final
-
name
→ Input<
String?> ? -
The name of the Transfer Job. This name must start with "transferJobs/" prefix and end with a letter or a number, and should be no more than 128 characters (
transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically (transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name withtransferJobs/{{name}}format, wherenameis a numeric value.final -
notificationConfig
→ Input<
TransferJobNotificationConfig?> ? -
Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
final
-
project
→ Input<
String?> ? -
The project in which the resource belongs. If it
is not provided, the provider project is used.
final
-
replicationSpec
→ Input<
TransferJobReplicationSpec?> ? -
Replication specification. Structure documented below. User should not configure
schedule,eventStreamwith this argument. One oftransferSpec, orreplicationSpecmust be specified.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedule
→ Input<
TransferJobSchedule?> ? -
Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either
scheduleoreventStreammust be set.final -
serviceAccount
→ Input<
String?> ? -
The user-managed service account to run the job. If this field is specified, the given service account is granted the necessary permissions to all applicable resources (e.g. GCS buckets) required by the job.
final
-
status
→ Input<
String?> ? -
Status of the job. Default:
ENABLED. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.final -
transferSpec
→ Input<
TransferJobTransferSpec?> ? -
Transfer specification. Structure documented below. One of
transferSpec, orreplicationSpeccan be specified.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