cloudscheduler

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.

class pulumi_gcp.cloudscheduler.Job(resource_name, opts=None, app_engine_http_target=None, description=None, http_target=None, name=None, project=None, pubsub_target=None, region=None, retry_config=None, schedule=None, time_zone=None, __props__=None, __name__=None, __opts__=None)

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:

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The app_engine_http_target object supports the following:

  • appEngineRouting (pulumi.Input[dict])

    • instance (pulumi.Input[str])

    • service (pulumi.Input[str])

    • version (pulumi.Input[str])

  • body (pulumi.Input[str])

  • headers (pulumi.Input[dict])

  • httpMethod (pulumi.Input[str])

  • relativeUri (pulumi.Input[str])

The http_target object supports the following:

  • body (pulumi.Input[str])

  • headers (pulumi.Input[dict])

  • httpMethod (pulumi.Input[str])

  • uri (pulumi.Input[str])

The pubsub_target object supports the following:

  • attributes (pulumi.Input[dict])

  • data (pulumi.Input[str])

  • topicName (pulumi.Input[str])

The retry_config object supports the following:

  • maxBackoffDuration (pulumi.Input[str])

  • maxDoublings (pulumi.Input[float])

  • maxRetryDuration (pulumi.Input[str])

  • minBackoffDuration (pulumi.Input[str])

  • retryCount (pulumi.Input[float])

project = None

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

static get(resource_name, id, opts=None, app_engine_http_target=None, description=None, http_target=None, name=None, project=None, pubsub_target=None, region=None, retry_config=None, schedule=None, time_zone=None)

Get an existing Job resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The app_engine_http_target object supports the following:

  • appEngineRouting (pulumi.Input[dict])

    • instance (pulumi.Input[str])

    • service (pulumi.Input[str])

    • version (pulumi.Input[str])

  • body (pulumi.Input[str])

  • headers (pulumi.Input[dict])

  • httpMethod (pulumi.Input[str])

  • relativeUri (pulumi.Input[str])

The http_target object supports the following:

  • body (pulumi.Input[str])

  • headers (pulumi.Input[dict])

  • httpMethod (pulumi.Input[str])

  • uri (pulumi.Input[str])

The pubsub_target object supports the following:

  • attributes (pulumi.Input[dict])

  • data (pulumi.Input[str])

  • topicName (pulumi.Input[str])

The retry_config object supports the following:

  • maxBackoffDuration (pulumi.Input[str])

  • maxDoublings (pulumi.Input[float])

  • maxRetryDuration (pulumi.Input[str])

  • minBackoffDuration (pulumi.Input[str])

  • retryCount (pulumi.Input[float])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str