cloudscheduler

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

A scheduled job that can publish a pubsub message or a http request every X interval of time, using crontab format string

To get more information about Job, see:

* [API documentation](https://cloud.google.com/scheduler/docs/reference/rest/) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=scheduler_job_pubsub&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.ID, state *JobState, opts ...pulumi.ResourceOpt) (*Job, error)

GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOpt) (*Job, error)

NewJob registers a new resource with the given unique name, arguments, and options.

func (*Job) AppEngineHttpTarget

func (r *Job) AppEngineHttpTarget() *pulumi.Output

func (*Job) Description

func (r *Job) Description() *pulumi.StringOutput

func (*Job) HttpTarget

func (r *Job) HttpTarget() *pulumi.Output

func (*Job) ID

func (r *Job) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Job) Name

func (r *Job) Name() *pulumi.StringOutput

func (*Job) Project

func (r *Job) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*Job) PubsubTarget

func (r *Job) PubsubTarget() *pulumi.Output

func (*Job) Region

func (r *Job) Region() *pulumi.StringOutput

func (*Job) RetryConfig

func (r *Job) RetryConfig() *pulumi.Output

func (*Job) Schedule

func (r *Job) Schedule() *pulumi.StringOutput

func (*Job) TimeZone

func (r *Job) TimeZone() *pulumi.StringOutput

func (*Job) URN

func (r *Job) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type JobArgs

type JobArgs struct {
	AppEngineHttpTarget interface{}
	Description         interface{}
	HttpTarget          interface{}
	Name                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project      interface{}
	PubsubTarget interface{}
	Region       interface{}
	RetryConfig  interface{}
	Schedule     interface{}
	TimeZone     interface{}
}

The set of arguments for constructing a Job resource.

type JobState

type JobState struct {
	AppEngineHttpTarget interface{}
	Description         interface{}
	HttpTarget          interface{}
	Name                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project      interface{}
	PubsubTarget interface{}
	Region       interface{}
	RetryConfig  interface{}
	Schedule     interface{}
	TimeZone     interface{}
}

Input properties used for looking up and filtering Job resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL