Class JobArgs
Inherited Members
Namespace: Pulumi.Gcp.CloudScheduler
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class JobArgs : ResourceArgs
Constructors
View SourceJobArgs()
Declaration
public JobArgs()
Properties
View SourceAppEngineHttpTarget
App Engine HTTP target. If the job providers a App Engine HTTP target the cron will send a request to the service instance Structure is documented below.
Declaration
public Input<JobAppEngineHttpTargetArgs> AppEngineHttpTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<JobAppEngineHttpTargetArgs> |
AttemptDeadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a DEADLINE_EXCEEDED failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The allowed duration for this deadline is:
- For HTTP targets, between 15 seconds and 30 minutes.
- For App Engine HTTP targets, between 15 seconds and 24 hours. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"
Declaration
public Input<string> AttemptDeadline { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A human-readable description for the job. This string must not contain more than 500 characters.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HttpTarget
HTTP target. If the job providers a http_target the cron will send a request to the targeted url Structure is documented below.
Declaration
public Input<JobHttpTargetArgs> HttpTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<JobHttpTargetArgs> |
Name
The name of the job.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PubsubTarget
Pub/Sub target If the job providers a Pub/Sub target the cron will publish a message to the provided topic Structure is documented below.
Declaration
public Input<JobPubsubTargetArgs> PubsubTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<JobPubsubTargetArgs> |
Region
Region where the scheduler job resides
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RetryConfig
By default, if a job does not complete successfully, meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings Structure is documented below.
Declaration
public Input<JobRetryConfigArgs> RetryConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<JobRetryConfigArgs> |
Schedule
Describes the schedule on which the job will be executed.
Declaration
public Input<string> Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TimeZone
Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the tz database.
Declaration
public Input<string> TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |