Documentation ¶
Index ¶
- type Job
- type JobAppEngineHttpTarget
- type JobAppEngineHttpTargetAppEngineRouting
- type JobAppEngineHttpTargetAppEngineRoutingArgs
- func (JobAppEngineHttpTargetAppEngineRoutingArgs) ElementType() reflect.Type
- func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutput() JobAppEngineHttpTargetAppEngineRoutingOutput
- func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingOutput
- func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTargetAppEngineRouting]
- type JobAppEngineHttpTargetAppEngineRoutingInput
- type JobAppEngineHttpTargetAppEngineRoutingOutput
- func (JobAppEngineHttpTargetAppEngineRoutingOutput) ElementType() reflect.Type
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Service() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutput() JobAppEngineHttpTargetAppEngineRoutingOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTargetAppEngineRouting]
- func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Version() pulumi.StringPtrOutput
- type JobAppEngineHttpTargetAppEngineRoutingPtrInput
- type JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Elem() JobAppEngineHttpTargetAppEngineRoutingOutput
- func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ElementType() reflect.Type
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Instance() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Service() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobAppEngineHttpTargetAppEngineRouting]
- func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Version() pulumi.StringPtrOutput
- type JobAppEngineHttpTargetArgs
- func (JobAppEngineHttpTargetArgs) ElementType() reflect.Type
- func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutput() JobAppEngineHttpTargetOutput
- func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutputWithContext(ctx context.Context) JobAppEngineHttpTargetOutput
- func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
- func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
- func (i JobAppEngineHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTarget]
- type JobAppEngineHttpTargetInput
- type JobAppEngineHttpTargetOutput
- func (o JobAppEngineHttpTargetOutput) AppEngineRouting() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetOutput) Body() pulumi.StringPtrOutput
- func (JobAppEngineHttpTargetOutput) ElementType() reflect.Type
- func (o JobAppEngineHttpTargetOutput) Headers() pulumi.StringMapOutput
- func (o JobAppEngineHttpTargetOutput) HttpMethod() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetOutput) RelativeUri() pulumi.StringOutput
- func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutput() JobAppEngineHttpTargetOutput
- func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutputWithContext(ctx context.Context) JobAppEngineHttpTargetOutput
- func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
- func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
- func (o JobAppEngineHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTarget]
- type JobAppEngineHttpTargetPtrInput
- type JobAppEngineHttpTargetPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) AppEngineRouting() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) Elem() JobAppEngineHttpTargetOutput
- func (JobAppEngineHttpTargetPtrOutput) ElementType() reflect.Type
- func (o JobAppEngineHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
- func (o JobAppEngineHttpTargetPtrOutput) HttpMethod() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) RelativeUri() pulumi.StringPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
- func (o JobAppEngineHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobAppEngineHttpTarget]
- type JobArgs
- type JobArray
- type JobArrayInput
- type JobArrayOutput
- func (JobArrayOutput) ElementType() reflect.Type
- func (o JobArrayOutput) Index(i pulumi.IntInput) JobOutput
- func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput
- func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
- func (o JobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Job]
- type JobHttpTarget
- type JobHttpTargetArgs
- func (JobHttpTargetArgs) ElementType() reflect.Type
- func (i JobHttpTargetArgs) ToJobHttpTargetOutput() JobHttpTargetOutput
- func (i JobHttpTargetArgs) ToJobHttpTargetOutputWithContext(ctx context.Context) JobHttpTargetOutput
- func (i JobHttpTargetArgs) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
- func (i JobHttpTargetArgs) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
- func (i JobHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTarget]
- type JobHttpTargetInput
- type JobHttpTargetOauthToken
- type JobHttpTargetOauthTokenArgs
- func (JobHttpTargetOauthTokenArgs) ElementType() reflect.Type
- func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutput() JobHttpTargetOauthTokenOutput
- func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenOutput
- func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
- func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
- func (i JobHttpTargetOauthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOauthToken]
- type JobHttpTargetOauthTokenInput
- type JobHttpTargetOauthTokenOutput
- func (JobHttpTargetOauthTokenOutput) ElementType() reflect.Type
- func (o JobHttpTargetOauthTokenOutput) Scope() pulumi.StringPtrOutput
- func (o JobHttpTargetOauthTokenOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutput() JobHttpTargetOauthTokenOutput
- func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenOutput
- func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOauthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOauthToken]
- type JobHttpTargetOauthTokenPtrInput
- type JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOauthTokenPtrOutput) Elem() JobHttpTargetOauthTokenOutput
- func (JobHttpTargetOauthTokenPtrOutput) ElementType() reflect.Type
- func (o JobHttpTargetOauthTokenPtrOutput) Scope() pulumi.StringPtrOutput
- func (o JobHttpTargetOauthTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOauthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTargetOauthToken]
- type JobHttpTargetOidcToken
- type JobHttpTargetOidcTokenArgs
- func (JobHttpTargetOidcTokenArgs) ElementType() reflect.Type
- func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutput() JobHttpTargetOidcTokenOutput
- func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenOutput
- func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
- func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
- func (i JobHttpTargetOidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOidcToken]
- type JobHttpTargetOidcTokenInput
- type JobHttpTargetOidcTokenOutput
- func (o JobHttpTargetOidcTokenOutput) Audience() pulumi.StringPtrOutput
- func (JobHttpTargetOidcTokenOutput) ElementType() reflect.Type
- func (o JobHttpTargetOidcTokenOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutput() JobHttpTargetOidcTokenOutput
- func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenOutput
- func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOidcToken]
- type JobHttpTargetOidcTokenPtrInput
- type JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOidcTokenPtrOutput) Audience() pulumi.StringPtrOutput
- func (o JobHttpTargetOidcTokenPtrOutput) Elem() JobHttpTargetOidcTokenOutput
- func (JobHttpTargetOidcTokenPtrOutput) ElementType() reflect.Type
- func (o JobHttpTargetOidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTargetOidcToken]
- type JobHttpTargetOutput
- func (o JobHttpTargetOutput) Body() pulumi.StringPtrOutput
- func (JobHttpTargetOutput) ElementType() reflect.Type
- func (o JobHttpTargetOutput) Headers() pulumi.StringMapOutput
- func (o JobHttpTargetOutput) HttpMethod() pulumi.StringPtrOutput
- func (o JobHttpTargetOutput) OauthToken() JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetOutput) OidcToken() JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetOutput) ToJobHttpTargetOutput() JobHttpTargetOutput
- func (o JobHttpTargetOutput) ToJobHttpTargetOutputWithContext(ctx context.Context) JobHttpTargetOutput
- func (o JobHttpTargetOutput) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
- func (o JobHttpTargetOutput) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
- func (o JobHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTarget]
- func (o JobHttpTargetOutput) Uri() pulumi.StringOutput
- type JobHttpTargetPtrInput
- type JobHttpTargetPtrOutput
- func (o JobHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
- func (o JobHttpTargetPtrOutput) Elem() JobHttpTargetOutput
- func (JobHttpTargetPtrOutput) ElementType() reflect.Type
- func (o JobHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
- func (o JobHttpTargetPtrOutput) HttpMethod() pulumi.StringPtrOutput
- func (o JobHttpTargetPtrOutput) OauthToken() JobHttpTargetOauthTokenPtrOutput
- func (o JobHttpTargetPtrOutput) OidcToken() JobHttpTargetOidcTokenPtrOutput
- func (o JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
- func (o JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
- func (o JobHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTarget]
- func (o JobHttpTargetPtrOutput) Uri() pulumi.StringPtrOutput
- type JobInput
- type JobMap
- type JobMapInput
- type JobMapOutput
- func (JobMapOutput) ElementType() reflect.Type
- func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput
- func (o JobMapOutput) ToJobMapOutput() JobMapOutput
- func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
- func (o JobMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]
- type JobOutput
- func (o JobOutput) AppEngineHttpTarget() JobAppEngineHttpTargetPtrOutput
- func (o JobOutput) AttemptDeadline() pulumi.StringPtrOutput
- func (o JobOutput) Description() pulumi.StringPtrOutput
- func (JobOutput) ElementType() reflect.Type
- func (o JobOutput) HttpTarget() JobHttpTargetPtrOutput
- func (o JobOutput) Name() pulumi.StringOutput
- func (o JobOutput) Paused() pulumi.BoolOutput
- func (o JobOutput) Project() pulumi.StringOutput
- func (o JobOutput) PubsubTarget() JobPubsubTargetPtrOutput
- func (o JobOutput) Region() pulumi.StringOutput
- func (o JobOutput) RetryConfig() JobRetryConfigPtrOutput
- func (o JobOutput) Schedule() pulumi.StringPtrOutput
- func (o JobOutput) State() pulumi.StringOutput
- func (o JobOutput) TimeZone() pulumi.StringPtrOutput
- func (o JobOutput) ToJobOutput() JobOutput
- func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput
- func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job]
- type JobPubsubTarget
- type JobPubsubTargetArgs
- func (JobPubsubTargetArgs) ElementType() reflect.Type
- func (i JobPubsubTargetArgs) ToJobPubsubTargetOutput() JobPubsubTargetOutput
- func (i JobPubsubTargetArgs) ToJobPubsubTargetOutputWithContext(ctx context.Context) JobPubsubTargetOutput
- func (i JobPubsubTargetArgs) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
- func (i JobPubsubTargetArgs) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
- func (i JobPubsubTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobPubsubTarget]
- type JobPubsubTargetInput
- type JobPubsubTargetOutput
- func (o JobPubsubTargetOutput) Attributes() pulumi.StringMapOutput
- func (o JobPubsubTargetOutput) Data() pulumi.StringPtrOutput
- func (JobPubsubTargetOutput) ElementType() reflect.Type
- func (o JobPubsubTargetOutput) ToJobPubsubTargetOutput() JobPubsubTargetOutput
- func (o JobPubsubTargetOutput) ToJobPubsubTargetOutputWithContext(ctx context.Context) JobPubsubTargetOutput
- func (o JobPubsubTargetOutput) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
- func (o JobPubsubTargetOutput) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
- func (o JobPubsubTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobPubsubTarget]
- func (o JobPubsubTargetOutput) TopicName() pulumi.StringOutput
- type JobPubsubTargetPtrInput
- type JobPubsubTargetPtrOutput
- func (o JobPubsubTargetPtrOutput) Attributes() pulumi.StringMapOutput
- func (o JobPubsubTargetPtrOutput) Data() pulumi.StringPtrOutput
- func (o JobPubsubTargetPtrOutput) Elem() JobPubsubTargetOutput
- func (JobPubsubTargetPtrOutput) ElementType() reflect.Type
- func (o JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
- func (o JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
- func (o JobPubsubTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobPubsubTarget]
- func (o JobPubsubTargetPtrOutput) TopicName() pulumi.StringPtrOutput
- type JobRetryConfig
- type JobRetryConfigArgs
- func (JobRetryConfigArgs) ElementType() reflect.Type
- func (i JobRetryConfigArgs) ToJobRetryConfigOutput() JobRetryConfigOutput
- func (i JobRetryConfigArgs) ToJobRetryConfigOutputWithContext(ctx context.Context) JobRetryConfigOutput
- func (i JobRetryConfigArgs) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
- func (i JobRetryConfigArgs) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
- func (i JobRetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[JobRetryConfig]
- type JobRetryConfigInput
- type JobRetryConfigOutput
- func (JobRetryConfigOutput) ElementType() reflect.Type
- func (o JobRetryConfigOutput) MaxBackoffDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o JobRetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigOutput) MinBackoffDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigOutput) RetryCount() pulumi.IntPtrOutput
- func (o JobRetryConfigOutput) ToJobRetryConfigOutput() JobRetryConfigOutput
- func (o JobRetryConfigOutput) ToJobRetryConfigOutputWithContext(ctx context.Context) JobRetryConfigOutput
- func (o JobRetryConfigOutput) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
- func (o JobRetryConfigOutput) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
- func (o JobRetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[JobRetryConfig]
- type JobRetryConfigPtrInput
- type JobRetryConfigPtrOutput
- func (o JobRetryConfigPtrOutput) Elem() JobRetryConfigOutput
- func (JobRetryConfigPtrOutput) ElementType() reflect.Type
- func (o JobRetryConfigPtrOutput) MaxBackoffDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o JobRetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigPtrOutput) MinBackoffDuration() pulumi.StringPtrOutput
- func (o JobRetryConfigPtrOutput) RetryCount() pulumi.IntPtrOutput
- func (o JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
- func (o JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
- func (o JobRetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobRetryConfig]
- type JobState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { pulumi.CustomResourceState // 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. AppEngineHttpTarget JobAppEngineHttpTargetPtrOutput `pulumi:"appEngineHttpTarget"` // 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. // * **Note**: For PubSub targets, this field is ignored - setting it will introduce an unresolvable diff. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s" AttemptDeadline pulumi.StringPtrOutput `pulumi:"attemptDeadline"` // A human-readable description for the job. // This string must not contain more than 500 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // HTTP target. // If the job providers a httpTarget the cron will // send a request to the targeted url // Structure is documented below. HttpTarget JobHttpTargetPtrOutput `pulumi:"httpTarget"` // The name of the job. // // *** Name pulumi.StringOutput `pulumi:"name"` // Sets the job to a paused state. Jobs default to being enabled when this property is not set. Paused pulumi.BoolOutput `pulumi:"paused"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // 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. PubsubTarget JobPubsubTargetPtrOutput `pulumi:"pubsubTarget"` // Region where the scheduler job resides. If it is not provided, this provider will use the provider default. Region pulumi.StringOutput `pulumi:"region"` // 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. RetryConfig JobRetryConfigPtrOutput `pulumi:"retryConfig"` // Describes the schedule on which the job will be executed. Schedule pulumi.StringPtrOutput `pulumi:"schedule"` // State of the job. State pulumi.StringOutput `pulumi:"state"` // 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. TimeZone pulumi.StringPtrOutput `pulumi:"timeZone"` }
A scheduled job that can publish a PubSub message or an HTTP request every X interval of time, using a 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/)
## Example Usage ### Scheduler Job App Engine
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudscheduler" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudscheduler.NewJob(ctx, "job", &cloudscheduler.JobArgs{ AppEngineHttpTarget: &cloudscheduler.JobAppEngineHttpTargetArgs{ AppEngineRouting: &cloudscheduler.JobAppEngineHttpTargetAppEngineRoutingArgs{ Instance: pulumi.String("my-instance-001"), Service: pulumi.String("web"), Version: pulumi.String("prod"), }, HttpMethod: pulumi.String("POST"), RelativeUri: pulumi.String("/ping"), }, AttemptDeadline: pulumi.String("320s"), Description: pulumi.String("test app engine job"), RetryConfig: &cloudscheduler.JobRetryConfigArgs{ MaxDoublings: pulumi.Int(2), MaxRetryDuration: pulumi.String("10s"), MinBackoffDuration: pulumi.String("1s"), RetryCount: pulumi.Int(3), }, Schedule: pulumi.String("*/4 * * * *"), TimeZone: pulumi.String("Europe/London"), }) if err != nil { return err } return nil }) }
``` ### Scheduler Job Oauth
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudscheduler" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := compute.GetDefaultServiceAccount(ctx, nil, nil) if err != nil { return err } _, err = cloudscheduler.NewJob(ctx, "job", &cloudscheduler.JobArgs{ Description: pulumi.String("test http job"), Schedule: pulumi.String("*/8 * * * *"), TimeZone: pulumi.String("America/New_York"), AttemptDeadline: pulumi.String("320s"), HttpTarget: &cloudscheduler.JobHttpTargetArgs{ HttpMethod: pulumi.String("GET"), Uri: pulumi.String("https://cloudscheduler.googleapis.com/v1/projects/my-project-name/locations/us-west1/jobs"), OauthToken: &cloudscheduler.JobHttpTargetOauthTokenArgs{ ServiceAccountEmail: *pulumi.String(_default.Email), }, }, }) if err != nil { return err } return nil }) }
``` ### Scheduler Job Oidc
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudscheduler" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := compute.GetDefaultServiceAccount(ctx, nil, nil) if err != nil { return err } _, err = cloudscheduler.NewJob(ctx, "job", &cloudscheduler.JobArgs{ Description: pulumi.String("test http job"), Schedule: pulumi.String("*/8 * * * *"), TimeZone: pulumi.String("America/New_York"), AttemptDeadline: pulumi.String("320s"), HttpTarget: &cloudscheduler.JobHttpTargetArgs{ HttpMethod: pulumi.String("GET"), Uri: pulumi.String("https://example.com/ping"), OidcToken: &cloudscheduler.JobHttpTargetOidcTokenArgs{ ServiceAccountEmail: *pulumi.String(_default.Email), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Job can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:cloudscheduler/job:Job default projects/{{project}}/locations/{{region}}/jobs/{{name}}
```
```sh
$ pulumi import gcp:cloudscheduler/job:Job default {{project}}/{{region}}/{{name}}
```
```sh
$ pulumi import gcp:cloudscheduler/job:Job default {{region}}/{{name}}
```
```sh
$ pulumi import gcp:cloudscheduler/job:Job default {{name}}
```
func GetJob ¶
func GetJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Job, error)
NewJob registers a new resource with the given unique name, arguments, and options.
func (*Job) ElementType ¶
func (*Job) ToJobOutput ¶
func (*Job) ToJobOutputWithContext ¶
type JobAppEngineHttpTarget ¶
type JobAppEngineHttpTarget struct { // App Engine Routing setting for the job. // Structure is documented below. AppEngineRouting *JobAppEngineHttpTargetAppEngineRouting `pulumi:"appEngineRouting"` // HTTP request body. // A request body is allowed only if the HTTP method is POST or PUT. // It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. // A base64-encoded string. Body *string `pulumi:"body"` // HTTP request headers. // This map contains the header field names and values. // Headers can be set when the job is created. Headers map[string]string `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod *string `pulumi:"httpMethod"` // The relative URI. // The relative URL must begin with "/" and must be a valid HTTP relative URL. // It can contain a path, query string arguments, and \# fragments. // If the relative URL is empty, then the root path "/" will be used. // No spaces are allowed, and the maximum length allowed is 2083 characters RelativeUri string `pulumi:"relativeUri"` }
type JobAppEngineHttpTargetAppEngineRouting ¶
type JobAppEngineHttpTargetAppEngineRouting struct { // App instance. // By default, the job is sent to an instance which is available when the job is attempted. Instance *string `pulumi:"instance"` // App service. // By default, the job is sent to the service which is the default service when the job is attempted. Service *string `pulumi:"service"` // App version. // By default, the job is sent to the version which is the default version when the job is attempted. Version *string `pulumi:"version"` }
type JobAppEngineHttpTargetAppEngineRoutingArgs ¶
type JobAppEngineHttpTargetAppEngineRoutingArgs struct { // App instance. // By default, the job is sent to an instance which is available when the job is attempted. Instance pulumi.StringPtrInput `pulumi:"instance"` // App service. // By default, the job is sent to the service which is the default service when the job is attempted. Service pulumi.StringPtrInput `pulumi:"service"` // App version. // By default, the job is sent to the version which is the default version when the job is attempted. Version pulumi.StringPtrInput `pulumi:"version"` }
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ElementType ¶
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ElementType() reflect.Type
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutput ¶
func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutput() JobAppEngineHttpTargetAppEngineRoutingOutput
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext ¶
func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingOutput
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput ¶
func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext ¶
func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingArgs) ToOutput ¶ added in v6.65.1
func (i JobAppEngineHttpTargetAppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTargetAppEngineRouting]
type JobAppEngineHttpTargetAppEngineRoutingInput ¶
type JobAppEngineHttpTargetAppEngineRoutingInput interface { pulumi.Input ToJobAppEngineHttpTargetAppEngineRoutingOutput() JobAppEngineHttpTargetAppEngineRoutingOutput ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext(context.Context) JobAppEngineHttpTargetAppEngineRoutingOutput }
JobAppEngineHttpTargetAppEngineRoutingInput is an input type that accepts JobAppEngineHttpTargetAppEngineRoutingArgs and JobAppEngineHttpTargetAppEngineRoutingOutput values. You can construct a concrete instance of `JobAppEngineHttpTargetAppEngineRoutingInput` via:
JobAppEngineHttpTargetAppEngineRoutingArgs{...}
type JobAppEngineHttpTargetAppEngineRoutingOutput ¶
type JobAppEngineHttpTargetAppEngineRoutingOutput struct{ *pulumi.OutputState }
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ElementType ¶
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ElementType() reflect.Type
func (JobAppEngineHttpTargetAppEngineRoutingOutput) Instance ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
App instance. By default, the job is sent to an instance which is available when the job is attempted.
func (JobAppEngineHttpTargetAppEngineRoutingOutput) Service ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Service() pulumi.StringPtrOutput
App service. By default, the job is sent to the service which is the default service when the job is attempted.
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutput ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutput() JobAppEngineHttpTargetAppEngineRoutingOutput
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingOutput
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingOutput) ToOutput ¶ added in v6.65.1
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTargetAppEngineRouting]
func (JobAppEngineHttpTargetAppEngineRoutingOutput) Version ¶
func (o JobAppEngineHttpTargetAppEngineRoutingOutput) Version() pulumi.StringPtrOutput
App version. By default, the job is sent to the version which is the default version when the job is attempted.
type JobAppEngineHttpTargetAppEngineRoutingPtrInput ¶
type JobAppEngineHttpTargetAppEngineRoutingPtrInput interface { pulumi.Input ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput }
JobAppEngineHttpTargetAppEngineRoutingPtrInput is an input type that accepts JobAppEngineHttpTargetAppEngineRoutingArgs, JobAppEngineHttpTargetAppEngineRoutingPtr and JobAppEngineHttpTargetAppEngineRoutingPtrOutput values. You can construct a concrete instance of `JobAppEngineHttpTargetAppEngineRoutingPtrInput` via:
JobAppEngineHttpTargetAppEngineRoutingArgs{...} or: nil
func JobAppEngineHttpTargetAppEngineRoutingPtr ¶
func JobAppEngineHttpTargetAppEngineRoutingPtr(v *JobAppEngineHttpTargetAppEngineRoutingArgs) JobAppEngineHttpTargetAppEngineRoutingPtrInput
type JobAppEngineHttpTargetAppEngineRoutingPtrOutput ¶
type JobAppEngineHttpTargetAppEngineRoutingPtrOutput struct{ *pulumi.OutputState }
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ElementType ¶
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ElementType() reflect.Type
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Instance ¶
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Instance() pulumi.StringPtrOutput
App instance. By default, the job is sent to an instance which is available when the job is attempted.
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Service ¶
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Service() pulumi.StringPtrOutput
App service. By default, the job is sent to the service which is the default service when the job is attempted.
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput ¶
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutput() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext ¶
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToJobAppEngineHttpTargetAppEngineRoutingPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetAppEngineRoutingPtrOutput
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobAppEngineHttpTargetAppEngineRouting]
func (JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Version ¶
func (o JobAppEngineHttpTargetAppEngineRoutingPtrOutput) Version() pulumi.StringPtrOutput
App version. By default, the job is sent to the version which is the default version when the job is attempted.
type JobAppEngineHttpTargetArgs ¶
type JobAppEngineHttpTargetArgs struct { // App Engine Routing setting for the job. // Structure is documented below. AppEngineRouting JobAppEngineHttpTargetAppEngineRoutingPtrInput `pulumi:"appEngineRouting"` // HTTP request body. // A request body is allowed only if the HTTP method is POST or PUT. // It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. // A base64-encoded string. Body pulumi.StringPtrInput `pulumi:"body"` // HTTP request headers. // This map contains the header field names and values. // Headers can be set when the job is created. Headers pulumi.StringMapInput `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod pulumi.StringPtrInput `pulumi:"httpMethod"` // The relative URI. // The relative URL must begin with "/" and must be a valid HTTP relative URL. // It can contain a path, query string arguments, and \# fragments. // If the relative URL is empty, then the root path "/" will be used. // No spaces are allowed, and the maximum length allowed is 2083 characters RelativeUri pulumi.StringInput `pulumi:"relativeUri"` }
func (JobAppEngineHttpTargetArgs) ElementType ¶
func (JobAppEngineHttpTargetArgs) ElementType() reflect.Type
func (JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutput ¶
func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutput() JobAppEngineHttpTargetOutput
func (JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutputWithContext ¶
func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetOutputWithContext(ctx context.Context) JobAppEngineHttpTargetOutput
func (JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutput ¶
func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutputWithContext ¶
func (i JobAppEngineHttpTargetArgs) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetArgs) ToOutput ¶ added in v6.65.1
func (i JobAppEngineHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTarget]
type JobAppEngineHttpTargetInput ¶
type JobAppEngineHttpTargetInput interface { pulumi.Input ToJobAppEngineHttpTargetOutput() JobAppEngineHttpTargetOutput ToJobAppEngineHttpTargetOutputWithContext(context.Context) JobAppEngineHttpTargetOutput }
JobAppEngineHttpTargetInput is an input type that accepts JobAppEngineHttpTargetArgs and JobAppEngineHttpTargetOutput values. You can construct a concrete instance of `JobAppEngineHttpTargetInput` via:
JobAppEngineHttpTargetArgs{...}
type JobAppEngineHttpTargetOutput ¶
type JobAppEngineHttpTargetOutput struct{ *pulumi.OutputState }
func (JobAppEngineHttpTargetOutput) AppEngineRouting ¶
func (o JobAppEngineHttpTargetOutput) AppEngineRouting() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
App Engine Routing setting for the job. Structure is documented below.
func (JobAppEngineHttpTargetOutput) Body ¶
func (o JobAppEngineHttpTargetOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string.
func (JobAppEngineHttpTargetOutput) ElementType ¶
func (JobAppEngineHttpTargetOutput) ElementType() reflect.Type
func (JobAppEngineHttpTargetOutput) Headers ¶
func (o JobAppEngineHttpTargetOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created.
func (JobAppEngineHttpTargetOutput) HttpMethod ¶
func (o JobAppEngineHttpTargetOutput) HttpMethod() pulumi.StringPtrOutput
Which HTTP method to use for the request.
func (JobAppEngineHttpTargetOutput) RelativeUri ¶
func (o JobAppEngineHttpTargetOutput) RelativeUri() pulumi.StringOutput
The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and \# fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters
func (JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutput ¶
func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutput() JobAppEngineHttpTargetOutput
func (JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutputWithContext ¶
func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetOutputWithContext(ctx context.Context) JobAppEngineHttpTargetOutput
func (JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutput ¶
func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutputWithContext ¶
func (o JobAppEngineHttpTargetOutput) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetOutput) ToOutput ¶ added in v6.65.1
func (o JobAppEngineHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobAppEngineHttpTarget]
type JobAppEngineHttpTargetPtrInput ¶
type JobAppEngineHttpTargetPtrInput interface { pulumi.Input ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput ToJobAppEngineHttpTargetPtrOutputWithContext(context.Context) JobAppEngineHttpTargetPtrOutput }
JobAppEngineHttpTargetPtrInput is an input type that accepts JobAppEngineHttpTargetArgs, JobAppEngineHttpTargetPtr and JobAppEngineHttpTargetPtrOutput values. You can construct a concrete instance of `JobAppEngineHttpTargetPtrInput` via:
JobAppEngineHttpTargetArgs{...} or: nil
func JobAppEngineHttpTargetPtr ¶
func JobAppEngineHttpTargetPtr(v *JobAppEngineHttpTargetArgs) JobAppEngineHttpTargetPtrInput
type JobAppEngineHttpTargetPtrOutput ¶
type JobAppEngineHttpTargetPtrOutput struct{ *pulumi.OutputState }
func (JobAppEngineHttpTargetPtrOutput) AppEngineRouting ¶
func (o JobAppEngineHttpTargetPtrOutput) AppEngineRouting() JobAppEngineHttpTargetAppEngineRoutingPtrOutput
App Engine Routing setting for the job. Structure is documented below.
func (JobAppEngineHttpTargetPtrOutput) Body ¶
func (o JobAppEngineHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string.
func (JobAppEngineHttpTargetPtrOutput) Elem ¶
func (o JobAppEngineHttpTargetPtrOutput) Elem() JobAppEngineHttpTargetOutput
func (JobAppEngineHttpTargetPtrOutput) ElementType ¶
func (JobAppEngineHttpTargetPtrOutput) ElementType() reflect.Type
func (JobAppEngineHttpTargetPtrOutput) Headers ¶
func (o JobAppEngineHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created.
func (JobAppEngineHttpTargetPtrOutput) HttpMethod ¶
func (o JobAppEngineHttpTargetPtrOutput) HttpMethod() pulumi.StringPtrOutput
Which HTTP method to use for the request.
func (JobAppEngineHttpTargetPtrOutput) RelativeUri ¶
func (o JobAppEngineHttpTargetPtrOutput) RelativeUri() pulumi.StringPtrOutput
The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and \# fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters
func (JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutput ¶
func (o JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutput() JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutputWithContext ¶
func (o JobAppEngineHttpTargetPtrOutput) ToJobAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) JobAppEngineHttpTargetPtrOutput
func (JobAppEngineHttpTargetPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobAppEngineHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobAppEngineHttpTarget]
type JobArgs ¶
type JobArgs struct { // 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. AppEngineHttpTarget JobAppEngineHttpTargetPtrInput // 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. // * **Note**: For PubSub targets, this field is ignored - setting it will introduce an unresolvable diff. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s" AttemptDeadline pulumi.StringPtrInput // A human-readable description for the job. // This string must not contain more than 500 characters. Description pulumi.StringPtrInput // HTTP target. // If the job providers a httpTarget the cron will // send a request to the targeted url // Structure is documented below. HttpTarget JobHttpTargetPtrInput // The name of the job. // // *** Name pulumi.StringPtrInput // Sets the job to a paused state. Jobs default to being enabled when this property is not set. Paused pulumi.BoolPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // 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. PubsubTarget JobPubsubTargetPtrInput // Region where the scheduler job resides. If it is not provided, this provider will use the provider default. Region pulumi.StringPtrInput // 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. RetryConfig JobRetryConfigPtrInput // Describes the schedule on which the job will be executed. Schedule pulumi.StringPtrInput // 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. TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a Job resource.
func (JobArgs) ElementType ¶
type JobArray ¶
type JobArray []JobInput
func (JobArray) ElementType ¶
func (JobArray) ToJobArrayOutput ¶
func (i JobArray) ToJobArrayOutput() JobArrayOutput
func (JobArray) ToJobArrayOutputWithContext ¶
func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
type JobArrayInput ¶
type JobArrayInput interface { pulumi.Input ToJobArrayOutput() JobArrayOutput ToJobArrayOutputWithContext(context.Context) JobArrayOutput }
JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:
JobArray{ JobArgs{...} }
type JobArrayOutput ¶
type JobArrayOutput struct{ *pulumi.OutputState }
func (JobArrayOutput) ElementType ¶
func (JobArrayOutput) ElementType() reflect.Type
func (JobArrayOutput) ToJobArrayOutput ¶
func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput
func (JobArrayOutput) ToJobArrayOutputWithContext ¶
func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
type JobHttpTarget ¶
type JobHttpTarget struct { // HTTP request body. // A request body is allowed only if the HTTP method is POST, PUT, or PATCH. // It is an error to set body on a job with an incompatible HttpMethod. // A base64-encoded string. Body *string `pulumi:"body"` // This map contains the header field names and values. // Repeated headers are not supported, but a header value can contain commas. Headers map[string]string `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod *string `pulumi:"httpMethod"` // Contains information needed for generating an OAuth token. // This type of authorization should be used when sending requests to a GCP endpoint. // Structure is documented below. OauthToken *JobHttpTargetOauthToken `pulumi:"oauthToken"` // Contains information needed for generating an OpenID Connect token. // This type of authorization should be used when sending requests to third party endpoints or Cloud Run. // Structure is documented below. OidcToken *JobHttpTargetOidcToken `pulumi:"oidcToken"` // The full URI path that the request will be sent to. Uri string `pulumi:"uri"` }
type JobHttpTargetArgs ¶
type JobHttpTargetArgs struct { // HTTP request body. // A request body is allowed only if the HTTP method is POST, PUT, or PATCH. // It is an error to set body on a job with an incompatible HttpMethod. // A base64-encoded string. Body pulumi.StringPtrInput `pulumi:"body"` // This map contains the header field names and values. // Repeated headers are not supported, but a header value can contain commas. Headers pulumi.StringMapInput `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod pulumi.StringPtrInput `pulumi:"httpMethod"` // Contains information needed for generating an OAuth token. // This type of authorization should be used when sending requests to a GCP endpoint. // Structure is documented below. OauthToken JobHttpTargetOauthTokenPtrInput `pulumi:"oauthToken"` // Contains information needed for generating an OpenID Connect token. // This type of authorization should be used when sending requests to third party endpoints or Cloud Run. // Structure is documented below. OidcToken JobHttpTargetOidcTokenPtrInput `pulumi:"oidcToken"` // The full URI path that the request will be sent to. Uri pulumi.StringInput `pulumi:"uri"` }
func (JobHttpTargetArgs) ElementType ¶
func (JobHttpTargetArgs) ElementType() reflect.Type
func (JobHttpTargetArgs) ToJobHttpTargetOutput ¶
func (i JobHttpTargetArgs) ToJobHttpTargetOutput() JobHttpTargetOutput
func (JobHttpTargetArgs) ToJobHttpTargetOutputWithContext ¶
func (i JobHttpTargetArgs) ToJobHttpTargetOutputWithContext(ctx context.Context) JobHttpTargetOutput
func (JobHttpTargetArgs) ToJobHttpTargetPtrOutput ¶
func (i JobHttpTargetArgs) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
func (JobHttpTargetArgs) ToJobHttpTargetPtrOutputWithContext ¶
func (i JobHttpTargetArgs) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
func (JobHttpTargetArgs) ToOutput ¶ added in v6.65.1
func (i JobHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTarget]
type JobHttpTargetInput ¶
type JobHttpTargetInput interface { pulumi.Input ToJobHttpTargetOutput() JobHttpTargetOutput ToJobHttpTargetOutputWithContext(context.Context) JobHttpTargetOutput }
JobHttpTargetInput is an input type that accepts JobHttpTargetArgs and JobHttpTargetOutput values. You can construct a concrete instance of `JobHttpTargetInput` via:
JobHttpTargetArgs{...}
type JobHttpTargetOauthToken ¶
type JobHttpTargetOauthToken struct { // OAuth scope to be used for generating OAuth access token. If not specified, // "https://www.googleapis.com/auth/cloud-platform" will be used. Scope *string `pulumi:"scope"` // Service account email to be used for generating OAuth token. // The service account must be within the same project as the job. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` }
type JobHttpTargetOauthTokenArgs ¶
type JobHttpTargetOauthTokenArgs struct { // OAuth scope to be used for generating OAuth access token. If not specified, // "https://www.googleapis.com/auth/cloud-platform" will be used. Scope pulumi.StringPtrInput `pulumi:"scope"` // Service account email to be used for generating OAuth token. // The service account must be within the same project as the job. ServiceAccountEmail pulumi.StringInput `pulumi:"serviceAccountEmail"` }
func (JobHttpTargetOauthTokenArgs) ElementType ¶
func (JobHttpTargetOauthTokenArgs) ElementType() reflect.Type
func (JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutput ¶
func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutput() JobHttpTargetOauthTokenOutput
func (JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutputWithContext ¶
func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenOutput
func (JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutput ¶
func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutputWithContext ¶
func (i JobHttpTargetOauthTokenArgs) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenArgs) ToOutput ¶ added in v6.65.1
func (i JobHttpTargetOauthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOauthToken]
type JobHttpTargetOauthTokenInput ¶
type JobHttpTargetOauthTokenInput interface { pulumi.Input ToJobHttpTargetOauthTokenOutput() JobHttpTargetOauthTokenOutput ToJobHttpTargetOauthTokenOutputWithContext(context.Context) JobHttpTargetOauthTokenOutput }
JobHttpTargetOauthTokenInput is an input type that accepts JobHttpTargetOauthTokenArgs and JobHttpTargetOauthTokenOutput values. You can construct a concrete instance of `JobHttpTargetOauthTokenInput` via:
JobHttpTargetOauthTokenArgs{...}
type JobHttpTargetOauthTokenOutput ¶
type JobHttpTargetOauthTokenOutput struct{ *pulumi.OutputState }
func (JobHttpTargetOauthTokenOutput) ElementType ¶
func (JobHttpTargetOauthTokenOutput) ElementType() reflect.Type
func (JobHttpTargetOauthTokenOutput) Scope ¶
func (o JobHttpTargetOauthTokenOutput) Scope() pulumi.StringPtrOutput
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
func (JobHttpTargetOauthTokenOutput) ServiceAccountEmail ¶
func (o JobHttpTargetOauthTokenOutput) ServiceAccountEmail() pulumi.StringOutput
Service account email to be used for generating OAuth token. The service account must be within the same project as the job.
func (JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutput ¶
func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutput() JobHttpTargetOauthTokenOutput
func (JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutputWithContext ¶
func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenOutput
func (JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutput ¶
func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext ¶
func (o JobHttpTargetOauthTokenOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetOauthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOauthToken]
type JobHttpTargetOauthTokenPtrInput ¶
type JobHttpTargetOauthTokenPtrInput interface { pulumi.Input ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput ToJobHttpTargetOauthTokenPtrOutputWithContext(context.Context) JobHttpTargetOauthTokenPtrOutput }
JobHttpTargetOauthTokenPtrInput is an input type that accepts JobHttpTargetOauthTokenArgs, JobHttpTargetOauthTokenPtr and JobHttpTargetOauthTokenPtrOutput values. You can construct a concrete instance of `JobHttpTargetOauthTokenPtrInput` via:
JobHttpTargetOauthTokenArgs{...} or: nil
func JobHttpTargetOauthTokenPtr ¶
func JobHttpTargetOauthTokenPtr(v *JobHttpTargetOauthTokenArgs) JobHttpTargetOauthTokenPtrInput
type JobHttpTargetOauthTokenPtrOutput ¶
type JobHttpTargetOauthTokenPtrOutput struct{ *pulumi.OutputState }
func (JobHttpTargetOauthTokenPtrOutput) Elem ¶
func (o JobHttpTargetOauthTokenPtrOutput) Elem() JobHttpTargetOauthTokenOutput
func (JobHttpTargetOauthTokenPtrOutput) ElementType ¶
func (JobHttpTargetOauthTokenPtrOutput) ElementType() reflect.Type
func (JobHttpTargetOauthTokenPtrOutput) Scope ¶
func (o JobHttpTargetOauthTokenPtrOutput) Scope() pulumi.StringPtrOutput
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
func (JobHttpTargetOauthTokenPtrOutput) ServiceAccountEmail ¶
func (o JobHttpTargetOauthTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
Service account email to be used for generating OAuth token. The service account must be within the same project as the job.
func (JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutput ¶
func (o JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutput() JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext ¶
func (o JobHttpTargetOauthTokenPtrOutput) ToJobHttpTargetOauthTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOauthTokenPtrOutput
func (JobHttpTargetOauthTokenPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetOauthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTargetOauthToken]
type JobHttpTargetOidcToken ¶
type JobHttpTargetOidcToken struct { // Audience to be used when generating OIDC token. If not specified, // the URI specified in target will be used. Audience *string `pulumi:"audience"` // Service account email to be used for generating OAuth token. // The service account must be within the same project as the job. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` }
type JobHttpTargetOidcTokenArgs ¶
type JobHttpTargetOidcTokenArgs struct { // Audience to be used when generating OIDC token. If not specified, // the URI specified in target will be used. Audience pulumi.StringPtrInput `pulumi:"audience"` // Service account email to be used for generating OAuth token. // The service account must be within the same project as the job. ServiceAccountEmail pulumi.StringInput `pulumi:"serviceAccountEmail"` }
func (JobHttpTargetOidcTokenArgs) ElementType ¶
func (JobHttpTargetOidcTokenArgs) ElementType() reflect.Type
func (JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutput ¶
func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutput() JobHttpTargetOidcTokenOutput
func (JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutputWithContext ¶
func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenOutput
func (JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutput ¶
func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutputWithContext ¶
func (i JobHttpTargetOidcTokenArgs) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenArgs) ToOutput ¶ added in v6.65.1
func (i JobHttpTargetOidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOidcToken]
type JobHttpTargetOidcTokenInput ¶
type JobHttpTargetOidcTokenInput interface { pulumi.Input ToJobHttpTargetOidcTokenOutput() JobHttpTargetOidcTokenOutput ToJobHttpTargetOidcTokenOutputWithContext(context.Context) JobHttpTargetOidcTokenOutput }
JobHttpTargetOidcTokenInput is an input type that accepts JobHttpTargetOidcTokenArgs and JobHttpTargetOidcTokenOutput values. You can construct a concrete instance of `JobHttpTargetOidcTokenInput` via:
JobHttpTargetOidcTokenArgs{...}
type JobHttpTargetOidcTokenOutput ¶
type JobHttpTargetOidcTokenOutput struct{ *pulumi.OutputState }
func (JobHttpTargetOidcTokenOutput) Audience ¶
func (o JobHttpTargetOidcTokenOutput) Audience() pulumi.StringPtrOutput
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
func (JobHttpTargetOidcTokenOutput) ElementType ¶
func (JobHttpTargetOidcTokenOutput) ElementType() reflect.Type
func (JobHttpTargetOidcTokenOutput) ServiceAccountEmail ¶
func (o JobHttpTargetOidcTokenOutput) ServiceAccountEmail() pulumi.StringOutput
Service account email to be used for generating OAuth token. The service account must be within the same project as the job.
func (JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutput ¶
func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutput() JobHttpTargetOidcTokenOutput
func (JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutputWithContext ¶
func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenOutput
func (JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutput ¶
func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext ¶
func (o JobHttpTargetOidcTokenOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetOidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTargetOidcToken]
type JobHttpTargetOidcTokenPtrInput ¶
type JobHttpTargetOidcTokenPtrInput interface { pulumi.Input ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput ToJobHttpTargetOidcTokenPtrOutputWithContext(context.Context) JobHttpTargetOidcTokenPtrOutput }
JobHttpTargetOidcTokenPtrInput is an input type that accepts JobHttpTargetOidcTokenArgs, JobHttpTargetOidcTokenPtr and JobHttpTargetOidcTokenPtrOutput values. You can construct a concrete instance of `JobHttpTargetOidcTokenPtrInput` via:
JobHttpTargetOidcTokenArgs{...} or: nil
func JobHttpTargetOidcTokenPtr ¶
func JobHttpTargetOidcTokenPtr(v *JobHttpTargetOidcTokenArgs) JobHttpTargetOidcTokenPtrInput
type JobHttpTargetOidcTokenPtrOutput ¶
type JobHttpTargetOidcTokenPtrOutput struct{ *pulumi.OutputState }
func (JobHttpTargetOidcTokenPtrOutput) Audience ¶
func (o JobHttpTargetOidcTokenPtrOutput) Audience() pulumi.StringPtrOutput
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
func (JobHttpTargetOidcTokenPtrOutput) Elem ¶
func (o JobHttpTargetOidcTokenPtrOutput) Elem() JobHttpTargetOidcTokenOutput
func (JobHttpTargetOidcTokenPtrOutput) ElementType ¶
func (JobHttpTargetOidcTokenPtrOutput) ElementType() reflect.Type
func (JobHttpTargetOidcTokenPtrOutput) ServiceAccountEmail ¶
func (o JobHttpTargetOidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
Service account email to be used for generating OAuth token. The service account must be within the same project as the job.
func (JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutput ¶
func (o JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutput() JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext ¶
func (o JobHttpTargetOidcTokenPtrOutput) ToJobHttpTargetOidcTokenPtrOutputWithContext(ctx context.Context) JobHttpTargetOidcTokenPtrOutput
func (JobHttpTargetOidcTokenPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetOidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTargetOidcToken]
type JobHttpTargetOutput ¶
type JobHttpTargetOutput struct{ *pulumi.OutputState }
func (JobHttpTargetOutput) Body ¶
func (o JobHttpTargetOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. A base64-encoded string.
func (JobHttpTargetOutput) ElementType ¶
func (JobHttpTargetOutput) ElementType() reflect.Type
func (JobHttpTargetOutput) Headers ¶
func (o JobHttpTargetOutput) Headers() pulumi.StringMapOutput
This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas.
func (JobHttpTargetOutput) HttpMethod ¶
func (o JobHttpTargetOutput) HttpMethod() pulumi.StringPtrOutput
Which HTTP method to use for the request.
func (JobHttpTargetOutput) OauthToken ¶
func (o JobHttpTargetOutput) OauthToken() JobHttpTargetOauthTokenPtrOutput
Contains information needed for generating an OAuth token. This type of authorization should be used when sending requests to a GCP endpoint. Structure is documented below.
func (JobHttpTargetOutput) OidcToken ¶
func (o JobHttpTargetOutput) OidcToken() JobHttpTargetOidcTokenPtrOutput
Contains information needed for generating an OpenID Connect token. This type of authorization should be used when sending requests to third party endpoints or Cloud Run. Structure is documented below.
func (JobHttpTargetOutput) ToJobHttpTargetOutput ¶
func (o JobHttpTargetOutput) ToJobHttpTargetOutput() JobHttpTargetOutput
func (JobHttpTargetOutput) ToJobHttpTargetOutputWithContext ¶
func (o JobHttpTargetOutput) ToJobHttpTargetOutputWithContext(ctx context.Context) JobHttpTargetOutput
func (JobHttpTargetOutput) ToJobHttpTargetPtrOutput ¶
func (o JobHttpTargetOutput) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
func (JobHttpTargetOutput) ToJobHttpTargetPtrOutputWithContext ¶
func (o JobHttpTargetOutput) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
func (JobHttpTargetOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobHttpTarget]
func (JobHttpTargetOutput) Uri ¶
func (o JobHttpTargetOutput) Uri() pulumi.StringOutput
The full URI path that the request will be sent to.
type JobHttpTargetPtrInput ¶
type JobHttpTargetPtrInput interface { pulumi.Input ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput ToJobHttpTargetPtrOutputWithContext(context.Context) JobHttpTargetPtrOutput }
JobHttpTargetPtrInput is an input type that accepts JobHttpTargetArgs, JobHttpTargetPtr and JobHttpTargetPtrOutput values. You can construct a concrete instance of `JobHttpTargetPtrInput` via:
JobHttpTargetArgs{...} or: nil
func JobHttpTargetPtr ¶
func JobHttpTargetPtr(v *JobHttpTargetArgs) JobHttpTargetPtrInput
type JobHttpTargetPtrOutput ¶
type JobHttpTargetPtrOutput struct{ *pulumi.OutputState }
func (JobHttpTargetPtrOutput) Body ¶
func (o JobHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. A base64-encoded string.
func (JobHttpTargetPtrOutput) Elem ¶
func (o JobHttpTargetPtrOutput) Elem() JobHttpTargetOutput
func (JobHttpTargetPtrOutput) ElementType ¶
func (JobHttpTargetPtrOutput) ElementType() reflect.Type
func (JobHttpTargetPtrOutput) Headers ¶
func (o JobHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
This map contains the header field names and values. Repeated headers are not supported, but a header value can contain commas.
func (JobHttpTargetPtrOutput) HttpMethod ¶
func (o JobHttpTargetPtrOutput) HttpMethod() pulumi.StringPtrOutput
Which HTTP method to use for the request.
func (JobHttpTargetPtrOutput) OauthToken ¶
func (o JobHttpTargetPtrOutput) OauthToken() JobHttpTargetOauthTokenPtrOutput
Contains information needed for generating an OAuth token. This type of authorization should be used when sending requests to a GCP endpoint. Structure is documented below.
func (JobHttpTargetPtrOutput) OidcToken ¶
func (o JobHttpTargetPtrOutput) OidcToken() JobHttpTargetOidcTokenPtrOutput
Contains information needed for generating an OpenID Connect token. This type of authorization should be used when sending requests to third party endpoints or Cloud Run. Structure is documented below.
func (JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutput ¶
func (o JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutput() JobHttpTargetPtrOutput
func (JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutputWithContext ¶
func (o JobHttpTargetPtrOutput) ToJobHttpTargetPtrOutputWithContext(ctx context.Context) JobHttpTargetPtrOutput
func (JobHttpTargetPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobHttpTarget]
func (JobHttpTargetPtrOutput) Uri ¶
func (o JobHttpTargetPtrOutput) Uri() pulumi.StringPtrOutput
The full URI path that the request will be sent to.
type JobMap ¶
func (JobMap) ElementType ¶
func (JobMap) ToJobMapOutput ¶
func (i JobMap) ToJobMapOutput() JobMapOutput
func (JobMap) ToJobMapOutputWithContext ¶
func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
type JobMapInput ¶
type JobMapInput interface { pulumi.Input ToJobMapOutput() JobMapOutput ToJobMapOutputWithContext(context.Context) JobMapOutput }
JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:
JobMap{ "key": JobArgs{...} }
type JobMapOutput ¶
type JobMapOutput struct{ *pulumi.OutputState }
func (JobMapOutput) ElementType ¶
func (JobMapOutput) ElementType() reflect.Type
func (JobMapOutput) MapIndex ¶
func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput
func (JobMapOutput) ToJobMapOutput ¶
func (o JobMapOutput) ToJobMapOutput() JobMapOutput
func (JobMapOutput) ToJobMapOutputWithContext ¶
func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
type JobOutput ¶
type JobOutput struct{ *pulumi.OutputState }
func (JobOutput) AppEngineHttpTarget ¶ added in v6.23.0
func (o JobOutput) AppEngineHttpTarget() JobAppEngineHttpTargetPtrOutput
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.
func (JobOutput) AttemptDeadline ¶ added in v6.23.0
func (o JobOutput) AttemptDeadline() pulumi.StringPtrOutput
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.
- **Note**: For PubSub targets, this field is ignored - setting it will introduce an unresolvable diff. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"
func (JobOutput) Description ¶ added in v6.23.0
func (o JobOutput) Description() pulumi.StringPtrOutput
A human-readable description for the job. This string must not contain more than 500 characters.
func (JobOutput) ElementType ¶
func (JobOutput) HttpTarget ¶ added in v6.23.0
func (o JobOutput) HttpTarget() JobHttpTargetPtrOutput
HTTP target. If the job providers a httpTarget the cron will send a request to the targeted url Structure is documented below.
func (JobOutput) Name ¶ added in v6.23.0
func (o JobOutput) Name() pulumi.StringOutput
The name of the job.
***
func (JobOutput) Paused ¶ added in v6.34.0
func (o JobOutput) Paused() pulumi.BoolOutput
Sets the job to a paused state. Jobs default to being enabled when this property is not set.
func (JobOutput) Project ¶ added in v6.23.0
func (o JobOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (JobOutput) PubsubTarget ¶ added in v6.23.0
func (o JobOutput) PubsubTarget() JobPubsubTargetPtrOutput
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.
func (JobOutput) Region ¶ added in v6.23.0
func (o JobOutput) Region() pulumi.StringOutput
Region where the scheduler job resides. If it is not provided, this provider will use the provider default.
func (JobOutput) RetryConfig ¶ added in v6.23.0
func (o JobOutput) RetryConfig() JobRetryConfigPtrOutput
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.
func (JobOutput) Schedule ¶ added in v6.23.0
func (o JobOutput) Schedule() pulumi.StringPtrOutput
Describes the schedule on which the job will be executed.
func (JobOutput) State ¶ added in v6.34.0
func (o JobOutput) State() pulumi.StringOutput
State of the job.
func (JobOutput) TimeZone ¶ added in v6.23.0
func (o JobOutput) TimeZone() pulumi.StringPtrOutput
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.
func (JobOutput) ToJobOutput ¶
func (JobOutput) ToJobOutputWithContext ¶
type JobPubsubTarget ¶
type JobPubsubTarget struct { // Attributes for PubsubMessage. // Pubsub message must contain either non-empty data, or at least one attribute. Attributes map[string]string `pulumi:"attributes"` // The message payload for PubsubMessage. // Pubsub message must contain either non-empty data, or at least one attribute. // A base64-encoded string. Data *string `pulumi:"data"` // The full resource name for the Cloud Pub/Sub topic to which // messages will be published when a job is delivered. ~>**NOTE:** // The topic name must be in the same format as required by PubSub's // PublishRequest.name, e.g. `projects/my-project/topics/my-topic`. TopicName string `pulumi:"topicName"` }
type JobPubsubTargetArgs ¶
type JobPubsubTargetArgs struct { // Attributes for PubsubMessage. // Pubsub message must contain either non-empty data, or at least one attribute. Attributes pulumi.StringMapInput `pulumi:"attributes"` // The message payload for PubsubMessage. // Pubsub message must contain either non-empty data, or at least one attribute. // A base64-encoded string. Data pulumi.StringPtrInput `pulumi:"data"` // The full resource name for the Cloud Pub/Sub topic to which // messages will be published when a job is delivered. ~>**NOTE:** // The topic name must be in the same format as required by PubSub's // PublishRequest.name, e.g. `projects/my-project/topics/my-topic`. TopicName pulumi.StringInput `pulumi:"topicName"` }
func (JobPubsubTargetArgs) ElementType ¶
func (JobPubsubTargetArgs) ElementType() reflect.Type
func (JobPubsubTargetArgs) ToJobPubsubTargetOutput ¶
func (i JobPubsubTargetArgs) ToJobPubsubTargetOutput() JobPubsubTargetOutput
func (JobPubsubTargetArgs) ToJobPubsubTargetOutputWithContext ¶
func (i JobPubsubTargetArgs) ToJobPubsubTargetOutputWithContext(ctx context.Context) JobPubsubTargetOutput
func (JobPubsubTargetArgs) ToJobPubsubTargetPtrOutput ¶
func (i JobPubsubTargetArgs) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
func (JobPubsubTargetArgs) ToJobPubsubTargetPtrOutputWithContext ¶
func (i JobPubsubTargetArgs) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
func (JobPubsubTargetArgs) ToOutput ¶ added in v6.65.1
func (i JobPubsubTargetArgs) ToOutput(ctx context.Context) pulumix.Output[JobPubsubTarget]
type JobPubsubTargetInput ¶
type JobPubsubTargetInput interface { pulumi.Input ToJobPubsubTargetOutput() JobPubsubTargetOutput ToJobPubsubTargetOutputWithContext(context.Context) JobPubsubTargetOutput }
JobPubsubTargetInput is an input type that accepts JobPubsubTargetArgs and JobPubsubTargetOutput values. You can construct a concrete instance of `JobPubsubTargetInput` via:
JobPubsubTargetArgs{...}
type JobPubsubTargetOutput ¶
type JobPubsubTargetOutput struct{ *pulumi.OutputState }
func (JobPubsubTargetOutput) Attributes ¶
func (o JobPubsubTargetOutput) Attributes() pulumi.StringMapOutput
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (JobPubsubTargetOutput) Data ¶
func (o JobPubsubTargetOutput) Data() pulumi.StringPtrOutput
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. A base64-encoded string.
func (JobPubsubTargetOutput) ElementType ¶
func (JobPubsubTargetOutput) ElementType() reflect.Type
func (JobPubsubTargetOutput) ToJobPubsubTargetOutput ¶
func (o JobPubsubTargetOutput) ToJobPubsubTargetOutput() JobPubsubTargetOutput
func (JobPubsubTargetOutput) ToJobPubsubTargetOutputWithContext ¶
func (o JobPubsubTargetOutput) ToJobPubsubTargetOutputWithContext(ctx context.Context) JobPubsubTargetOutput
func (JobPubsubTargetOutput) ToJobPubsubTargetPtrOutput ¶
func (o JobPubsubTargetOutput) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
func (JobPubsubTargetOutput) ToJobPubsubTargetPtrOutputWithContext ¶
func (o JobPubsubTargetOutput) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
func (JobPubsubTargetOutput) ToOutput ¶ added in v6.65.1
func (o JobPubsubTargetOutput) ToOutput(ctx context.Context) pulumix.Output[JobPubsubTarget]
func (JobPubsubTargetOutput) TopicName ¶
func (o JobPubsubTargetOutput) TopicName() pulumi.StringOutput
The full resource name for the Cloud Pub/Sub topic to which messages will be published when a job is delivered. ~>**NOTE:** The topic name must be in the same format as required by PubSub's PublishRequest.name, e.g. `projects/my-project/topics/my-topic`.
type JobPubsubTargetPtrInput ¶
type JobPubsubTargetPtrInput interface { pulumi.Input ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput ToJobPubsubTargetPtrOutputWithContext(context.Context) JobPubsubTargetPtrOutput }
JobPubsubTargetPtrInput is an input type that accepts JobPubsubTargetArgs, JobPubsubTargetPtr and JobPubsubTargetPtrOutput values. You can construct a concrete instance of `JobPubsubTargetPtrInput` via:
JobPubsubTargetArgs{...} or: nil
func JobPubsubTargetPtr ¶
func JobPubsubTargetPtr(v *JobPubsubTargetArgs) JobPubsubTargetPtrInput
type JobPubsubTargetPtrOutput ¶
type JobPubsubTargetPtrOutput struct{ *pulumi.OutputState }
func (JobPubsubTargetPtrOutput) Attributes ¶
func (o JobPubsubTargetPtrOutput) Attributes() pulumi.StringMapOutput
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (JobPubsubTargetPtrOutput) Data ¶
func (o JobPubsubTargetPtrOutput) Data() pulumi.StringPtrOutput
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. A base64-encoded string.
func (JobPubsubTargetPtrOutput) Elem ¶
func (o JobPubsubTargetPtrOutput) Elem() JobPubsubTargetOutput
func (JobPubsubTargetPtrOutput) ElementType ¶
func (JobPubsubTargetPtrOutput) ElementType() reflect.Type
func (JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutput ¶
func (o JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutput() JobPubsubTargetPtrOutput
func (JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutputWithContext ¶
func (o JobPubsubTargetPtrOutput) ToJobPubsubTargetPtrOutputWithContext(ctx context.Context) JobPubsubTargetPtrOutput
func (JobPubsubTargetPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobPubsubTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobPubsubTarget]
func (JobPubsubTargetPtrOutput) TopicName ¶
func (o JobPubsubTargetPtrOutput) TopicName() pulumi.StringPtrOutput
The full resource name for the Cloud Pub/Sub topic to which messages will be published when a job is delivered. ~>**NOTE:** The topic name must be in the same format as required by PubSub's PublishRequest.name, e.g. `projects/my-project/topics/my-topic`.
type JobRetryConfig ¶
type JobRetryConfig struct { // The maximum amount of time to wait before retrying a job after it fails. // A duration in seconds with up to nine fractional digits, terminated by 's'. MaxBackoffDuration *string `pulumi:"maxBackoffDuration"` // The time between retries will double maxDoublings times. // A job's retry interval starts at minBackoffDuration, // then doubles maxDoublings times, then increases linearly, // and finally retries retries at intervals of maxBackoffDuration up to retryCount times. MaxDoublings *int `pulumi:"maxDoublings"` // The time limit for retrying a failed job, measured from time when an execution was first attempted. // If specified with retryCount, the job will be retried until both limits are reached. // A duration in seconds with up to nine fractional digits, terminated by 's'. MaxRetryDuration *string `pulumi:"maxRetryDuration"` // The minimum amount of time to wait before retrying a job after it fails. // A duration in seconds with up to nine fractional digits, terminated by 's'. MinBackoffDuration *string `pulumi:"minBackoffDuration"` // The number of attempts that the system will make to run a // job using the exponential backoff procedure described by maxDoublings. // Values greater than 5 and negative values are not allowed. RetryCount *int `pulumi:"retryCount"` }
type JobRetryConfigArgs ¶
type JobRetryConfigArgs struct { // The maximum amount of time to wait before retrying a job after it fails. // A duration in seconds with up to nine fractional digits, terminated by 's'. MaxBackoffDuration pulumi.StringPtrInput `pulumi:"maxBackoffDuration"` // The time between retries will double maxDoublings times. // A job's retry interval starts at minBackoffDuration, // then doubles maxDoublings times, then increases linearly, // and finally retries retries at intervals of maxBackoffDuration up to retryCount times. MaxDoublings pulumi.IntPtrInput `pulumi:"maxDoublings"` // The time limit for retrying a failed job, measured from time when an execution was first attempted. // If specified with retryCount, the job will be retried until both limits are reached. // A duration in seconds with up to nine fractional digits, terminated by 's'. MaxRetryDuration pulumi.StringPtrInput `pulumi:"maxRetryDuration"` // The minimum amount of time to wait before retrying a job after it fails. // A duration in seconds with up to nine fractional digits, terminated by 's'. MinBackoffDuration pulumi.StringPtrInput `pulumi:"minBackoffDuration"` // The number of attempts that the system will make to run a // job using the exponential backoff procedure described by maxDoublings. // Values greater than 5 and negative values are not allowed. RetryCount pulumi.IntPtrInput `pulumi:"retryCount"` }
func (JobRetryConfigArgs) ElementType ¶
func (JobRetryConfigArgs) ElementType() reflect.Type
func (JobRetryConfigArgs) ToJobRetryConfigOutput ¶
func (i JobRetryConfigArgs) ToJobRetryConfigOutput() JobRetryConfigOutput
func (JobRetryConfigArgs) ToJobRetryConfigOutputWithContext ¶
func (i JobRetryConfigArgs) ToJobRetryConfigOutputWithContext(ctx context.Context) JobRetryConfigOutput
func (JobRetryConfigArgs) ToJobRetryConfigPtrOutput ¶
func (i JobRetryConfigArgs) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
func (JobRetryConfigArgs) ToJobRetryConfigPtrOutputWithContext ¶
func (i JobRetryConfigArgs) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
func (JobRetryConfigArgs) ToOutput ¶ added in v6.65.1
func (i JobRetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[JobRetryConfig]
type JobRetryConfigInput ¶
type JobRetryConfigInput interface { pulumi.Input ToJobRetryConfigOutput() JobRetryConfigOutput ToJobRetryConfigOutputWithContext(context.Context) JobRetryConfigOutput }
JobRetryConfigInput is an input type that accepts JobRetryConfigArgs and JobRetryConfigOutput values. You can construct a concrete instance of `JobRetryConfigInput` via:
JobRetryConfigArgs{...}
type JobRetryConfigOutput ¶
type JobRetryConfigOutput struct{ *pulumi.OutputState }
func (JobRetryConfigOutput) ElementType ¶
func (JobRetryConfigOutput) ElementType() reflect.Type
func (JobRetryConfigOutput) MaxBackoffDuration ¶
func (o JobRetryConfigOutput) MaxBackoffDuration() pulumi.StringPtrOutput
The maximum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigOutput) MaxDoublings ¶
func (o JobRetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double maxDoublings times. A job's retry interval starts at minBackoffDuration, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoffDuration up to retryCount times.
func (JobRetryConfigOutput) MaxRetryDuration ¶
func (o JobRetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retryCount, the job will be retried until both limits are reached. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigOutput) MinBackoffDuration ¶
func (o JobRetryConfigOutput) MinBackoffDuration() pulumi.StringPtrOutput
The minimum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigOutput) RetryCount ¶
func (o JobRetryConfigOutput) RetryCount() pulumi.IntPtrOutput
The number of attempts that the system will make to run a job using the exponential backoff procedure described by maxDoublings. Values greater than 5 and negative values are not allowed.
func (JobRetryConfigOutput) ToJobRetryConfigOutput ¶
func (o JobRetryConfigOutput) ToJobRetryConfigOutput() JobRetryConfigOutput
func (JobRetryConfigOutput) ToJobRetryConfigOutputWithContext ¶
func (o JobRetryConfigOutput) ToJobRetryConfigOutputWithContext(ctx context.Context) JobRetryConfigOutput
func (JobRetryConfigOutput) ToJobRetryConfigPtrOutput ¶
func (o JobRetryConfigOutput) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
func (JobRetryConfigOutput) ToJobRetryConfigPtrOutputWithContext ¶
func (o JobRetryConfigOutput) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
func (JobRetryConfigOutput) ToOutput ¶ added in v6.65.1
func (o JobRetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[JobRetryConfig]
type JobRetryConfigPtrInput ¶
type JobRetryConfigPtrInput interface { pulumi.Input ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput ToJobRetryConfigPtrOutputWithContext(context.Context) JobRetryConfigPtrOutput }
JobRetryConfigPtrInput is an input type that accepts JobRetryConfigArgs, JobRetryConfigPtr and JobRetryConfigPtrOutput values. You can construct a concrete instance of `JobRetryConfigPtrInput` via:
JobRetryConfigArgs{...} or: nil
func JobRetryConfigPtr ¶
func JobRetryConfigPtr(v *JobRetryConfigArgs) JobRetryConfigPtrInput
type JobRetryConfigPtrOutput ¶
type JobRetryConfigPtrOutput struct{ *pulumi.OutputState }
func (JobRetryConfigPtrOutput) Elem ¶
func (o JobRetryConfigPtrOutput) Elem() JobRetryConfigOutput
func (JobRetryConfigPtrOutput) ElementType ¶
func (JobRetryConfigPtrOutput) ElementType() reflect.Type
func (JobRetryConfigPtrOutput) MaxBackoffDuration ¶
func (o JobRetryConfigPtrOutput) MaxBackoffDuration() pulumi.StringPtrOutput
The maximum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigPtrOutput) MaxDoublings ¶
func (o JobRetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double maxDoublings times. A job's retry interval starts at minBackoffDuration, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoffDuration up to retryCount times.
func (JobRetryConfigPtrOutput) MaxRetryDuration ¶
func (o JobRetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retryCount, the job will be retried until both limits are reached. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigPtrOutput) MinBackoffDuration ¶
func (o JobRetryConfigPtrOutput) MinBackoffDuration() pulumi.StringPtrOutput
The minimum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
func (JobRetryConfigPtrOutput) RetryCount ¶
func (o JobRetryConfigPtrOutput) RetryCount() pulumi.IntPtrOutput
The number of attempts that the system will make to run a job using the exponential backoff procedure described by maxDoublings. Values greater than 5 and negative values are not allowed.
func (JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutput ¶
func (o JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutput() JobRetryConfigPtrOutput
func (JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutputWithContext ¶
func (o JobRetryConfigPtrOutput) ToJobRetryConfigPtrOutputWithContext(ctx context.Context) JobRetryConfigPtrOutput
func (JobRetryConfigPtrOutput) ToOutput ¶ added in v6.65.1
func (o JobRetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobRetryConfig]
type JobState ¶
type JobState struct { // 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. AppEngineHttpTarget JobAppEngineHttpTargetPtrInput // 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. // * **Note**: For PubSub targets, this field is ignored - setting it will introduce an unresolvable diff. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s" AttemptDeadline pulumi.StringPtrInput // A human-readable description for the job. // This string must not contain more than 500 characters. Description pulumi.StringPtrInput // HTTP target. // If the job providers a httpTarget the cron will // send a request to the targeted url // Structure is documented below. HttpTarget JobHttpTargetPtrInput // The name of the job. // // *** Name pulumi.StringPtrInput // Sets the job to a paused state. Jobs default to being enabled when this property is not set. Paused pulumi.BoolPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // 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. PubsubTarget JobPubsubTargetPtrInput // Region where the scheduler job resides. If it is not provided, this provider will use the provider default. Region pulumi.StringPtrInput // 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. RetryConfig JobRetryConfigPtrInput // Describes the schedule on which the job will be executed. Schedule pulumi.StringPtrInput // State of the job. State pulumi.StringPtrInput // 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. TimeZone pulumi.StringPtrInput }