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 use Cloud Scheduler your project must contain an App Engine app that is located in one of the supported regions. If your project does not have an App Engine app, you must create one.
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/)
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.