Documentation
¶
Index ¶
- type Job
- func (r *Job) AppEngineHttpTarget() *pulumi.Output
- func (r *Job) Description() *pulumi.StringOutput
- func (r *Job) HttpTarget() *pulumi.Output
- func (r *Job) ID() *pulumi.IDOutput
- func (r *Job) Name() *pulumi.StringOutput
- func (r *Job) Project() *pulumi.StringOutput
- func (r *Job) PubsubTarget() *pulumi.Output
- func (r *Job) Region() *pulumi.StringOutput
- func (r *Job) RetryConfig() *pulumi.Output
- func (r *Job) Schedule() *pulumi.StringOutput
- func (r *Job) TimeZone() *pulumi.StringOutput
- func (r *Job) URN() *pulumi.URNOutput
- type JobArgs
- type JobState
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
- [Official Documentation](https://cloud.google.com/scheduler/)
<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 (*Job) Description ¶
func (r *Job) Description() *pulumi.StringOutput
func (*Job) HttpTarget ¶
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 (*Job) Region ¶
func (r *Job) Region() *pulumi.StringOutput
func (*Job) RetryConfig ¶
func (*Job) Schedule ¶
func (r *Job) Schedule() *pulumi.StringOutput
func (*Job) TimeZone ¶
func (r *Job) TimeZone() *pulumi.StringOutput
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.