Show / Hide Table of Contents

Class JobArgs

Inheritance
System.Object
InputArgs
ResourceArgs
JobArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.CloudScheduler
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class JobArgs : ResourceArgs

Constructors

View Source

JobArgs()

Declaration
public JobArgs()

Properties

View Source

AppEngineHttpTarget

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Name

The name of the job.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

Region

Region where the scheduler job resides

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.