cloudrun

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.cloudrun.DomainMapping(resource_name, opts=None, location=None, metadata=None, name=None, project=None, spec=None, __props__=None, __name__=None, __opts__=None)

Resource to hold the state and status of a user’s domain mapping.

Note: Cloud Run as a product is in beta, however the REST API is currently still an alpha. Please use this with caution as it may change when the API moves to beta.

To get more information about DomainMapping, see:

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

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

The metadata object supports the following:

  • annotations (pulumi.Input[dict])

  • generation (pulumi.Input[float])

  • labels (pulumi.Input[dict])

  • namespace (pulumi.Input[str])

  • resourceVersion (pulumi.Input[str])

  • self_link (pulumi.Input[str])

  • uid (pulumi.Input[str])

The spec object supports the following:

  • certificateMode (pulumi.Input[str])

  • forceOverride (pulumi.Input[bool])

  • routeName (pulumi.Input[str])

static get(resource_name, id, opts=None, location=None, metadata=None, name=None, project=None, spec=None, status=None)

Get an existing DomainMapping 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.

The metadata object supports the following:

  • annotations (pulumi.Input[dict])

  • generation (pulumi.Input[float])

  • labels (pulumi.Input[dict])

  • namespace (pulumi.Input[str])

  • resourceVersion (pulumi.Input[str])

  • self_link (pulumi.Input[str])

  • uid (pulumi.Input[str])

The spec object supports the following:

  • certificateMode (pulumi.Input[str])

  • forceOverride (pulumi.Input[bool])

  • routeName (pulumi.Input[str])

The status object supports the following:

  • conditions (pulumi.Input[list])

    • message (pulumi.Input[str])

    • reason (pulumi.Input[str])

    • status (pulumi.Input[str])

    • type (pulumi.Input[str])

  • mappedRouteName (pulumi.Input[str])

  • observedGeneration (pulumi.Input[float])

  • resourceRecords (pulumi.Input[list])

    • name (pulumi.Input[str])

    • rrdata (pulumi.Input[str])

    • type (pulumi.Input[str])

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

class pulumi_gcp.cloudrun.Service(resource_name, opts=None, location=None, metadata=None, name=None, project=None, spec=None, __props__=None, __name__=None, __opts__=None)

Note: Cloud Run as a product is in beta, however the REST API is currently still an alpha. Please use this with caution as it may change when the API moves to beta.

Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets).

The Service’s controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own.

See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

To get more information about Service, see:

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

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

The metadata object supports the following:

  • annotations (pulumi.Input[dict])

  • generation (pulumi.Input[float])

  • labels (pulumi.Input[dict])

  • namespace (pulumi.Input[str])

  • resourceVersion (pulumi.Input[str])

  • self_link (pulumi.Input[str])

  • uid (pulumi.Input[str])

The spec object supports the following:

  • containerConcurrency (pulumi.Input[float])

  • containers (pulumi.Input[list])

    • args (pulumi.Input[list])

    • commands (pulumi.Input[list])

    • envs (pulumi.Input[list])

      • name (pulumi.Input[str])

      • value (pulumi.Input[str])

    • envFroms (pulumi.Input[list])

      • configMapRef (pulumi.Input[dict])

        • localObjectReference (pulumi.Input[dict])

          • name (pulumi.Input[str])

        • optional (pulumi.Input[bool])

      • prefix (pulumi.Input[str])

      • secretRef (pulumi.Input[dict])

        • localObjectReference (pulumi.Input[dict])

          • name (pulumi.Input[str])

        • optional (pulumi.Input[bool])

    • image (pulumi.Input[str])

    • resources (pulumi.Input[dict])

      • limits (pulumi.Input[dict])

      • requests (pulumi.Input[dict])

    • workingDir (pulumi.Input[str])

  • servingState (pulumi.Input[str])

static get(resource_name, id, opts=None, location=None, metadata=None, name=None, project=None, spec=None, status=None)

Get an existing Service 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.

The metadata object supports the following:

  • annotations (pulumi.Input[dict])

  • generation (pulumi.Input[float])

  • labels (pulumi.Input[dict])

  • namespace (pulumi.Input[str])

  • resourceVersion (pulumi.Input[str])

  • self_link (pulumi.Input[str])

  • uid (pulumi.Input[str])

The spec object supports the following:

  • containerConcurrency (pulumi.Input[float])

  • containers (pulumi.Input[list])

    • args (pulumi.Input[list])

    • commands (pulumi.Input[list])

    • envs (pulumi.Input[list])

      • name (pulumi.Input[str])

      • value (pulumi.Input[str])

    • envFroms (pulumi.Input[list])

      • configMapRef (pulumi.Input[dict])

        • localObjectReference (pulumi.Input[dict])

          • name (pulumi.Input[str])

        • optional (pulumi.Input[bool])

      • prefix (pulumi.Input[str])

      • secretRef (pulumi.Input[dict])

        • localObjectReference (pulumi.Input[dict])

          • name (pulumi.Input[str])

        • optional (pulumi.Input[bool])

    • image (pulumi.Input[str])

    • resources (pulumi.Input[dict])

      • limits (pulumi.Input[dict])

      • requests (pulumi.Input[dict])

    • workingDir (pulumi.Input[str])

  • servingState (pulumi.Input[str])

The status object supports the following:

  • conditions (pulumi.Input[list])

    • message (pulumi.Input[str])

    • reason (pulumi.Input[str])

    • status (pulumi.Input[str])

    • type (pulumi.Input[str])

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