Class TransferJob
Creates a new Transfer Job in Google Cloud Storage Transfer.
To get more information about Google Cloud Storage Transfer, see:
Inherited Members
Namespace: Pulumi.Gcp.Storage
Assembly: Pulumi.Gcp.dll
Syntax
public class TransferJob : CustomResource
Constructors
View SourceTransferJob(String, TransferJobArgs, CustomResourceOptions)
Create a TransferJob resource with the given unique name, arguments, and options.
Declaration
public TransferJob(string name, TransferJobArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TransferJobArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCreationTime
When the Transfer Job was created.
Declaration
public Output<string> CreationTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeletionTime
When the Transfer Job was deleted.
Declaration
public Output<string> DeletionTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Unique description to identify the Transfer Job.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LastModificationTime
When the Transfer Job was last modified.
Declaration
public Output<string> LastModificationTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the Transfer Job.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Schedule
Schedule specification defining when the Transfer Job should be scheduled to start, end and and what time to run. Structure documented below.
Declaration
public Output<TransferJobSchedule> Schedule { get; }
Property Value
| Type | Description |
|---|---|
| Output<TransferJobSchedule> |
Status
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.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TransferSpec
Transfer specification. Structure documented below.
Declaration
public Output<TransferJobTransferSpec> TransferSpec { get; }
Property Value
| Type | Description |
|---|---|
| Output<TransferJobTransferSpec> |
Methods
View SourceGet(String, Input<String>, TransferJobState, CustomResourceOptions)
Get an existing TransferJob resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static TransferJob Get(string name, Input<string> id, TransferJobState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TransferJobState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| TransferJob |