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)

Create a DomainMapping resource with the given unique name, props, and options.

Parameters

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])

  • resource_records (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.IamBinding(resource_name, opts=None, condition=None, location=None, members=None, project=None, role=None, service=None, __props__=None, __name__=None, __opts__=None)

Create a IamBinding resource with the given unique name, props, and options.

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

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

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • role (pulumi.Input[str]) – The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag = None

(Computed) The etag of the IAM policy.

location = None

The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

project = None

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

role = None

The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

service = None

Used to find the parent resource to bind the IAM policy to

static get(resource_name, id, opts=None, condition=None, etag=None, location=None, members=None, project=None, role=None, service=None)

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

  • etag (pulumi.Input[str]) – (Computed) The etag of the IAM policy.

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • role (pulumi.Input[str]) – The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (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.IamMember(resource_name, opts=None, condition=None, location=None, member=None, project=None, role=None, service=None, __props__=None, __name__=None, __opts__=None)

Create a IamMember resource with the given unique name, props, and options.

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

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

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • role (pulumi.Input[str]) – The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag = None

(Computed) The etag of the IAM policy.

location = None

The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

project = None

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

role = None

The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

service = None

Used to find the parent resource to bind the IAM policy to

static get(resource_name, id, opts=None, condition=None, etag=None, location=None, member=None, project=None, role=None, service=None)

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

  • etag (pulumi.Input[str]) – (Computed) The etag of the IAM policy.

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • role (pulumi.Input[str]) – The role that should be applied. Only one cloudrun.IamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (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.IamPolicy(resource_name, opts=None, location=None, policy_data=None, project=None, service=None, __props__=None, __name__=None, __opts__=None)

Create a IamPolicy resource with the given unique name, props, and options.

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

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

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

etag = None

(Computed) The etag of the IAM policy.

location = None

The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

policy_data = None

The policy data generated by a organizations.getIAMPolicy data source.

project = None

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

service = None

Used to find the parent resource to bind the IAM policy to

static get(resource_name, id, opts=None, etag=None, location=None, policy_data=None, project=None, service=None)

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

  • etag (pulumi.Input[str]) – (Computed) The etag of the IAM policy.

  • location (pulumi.Input[str]) – The location of the cloud run instance. eg us-central1 Used to find the parent resource to bind the IAM policy to

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

  • service (pulumi.Input[str]) – Used to find the parent resource to bind the IAM policy to

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, template=None, traffics=None, __props__=None, __name__=None, __opts__=None)

Create a Service resource with the given unique name, props, and options.

Parameters

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 template object supports the following:

  • metadata (pulumi.Input[dict])

    • annotations (pulumi.Input[dict])

    • generation (pulumi.Input[float])

    • labels (pulumi.Input[dict])

    • name (pulumi.Input[str])

    • namespace (pulumi.Input[str])

    • resourceVersion (pulumi.Input[str])

    • self_link (pulumi.Input[str])

    • uid (pulumi.Input[str])

  • spec (pulumi.Input[dict])

    • 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])

    • serviceAccountName (pulumi.Input[str])

    • servingState (pulumi.Input[str])

The traffics object supports the following:

  • latestRevision (pulumi.Input[bool])

  • percent (pulumi.Input[float])

  • revisionName (pulumi.Input[str])

static get(resource_name, id, opts=None, location=None, metadata=None, name=None, project=None, status=None, template=None, traffics=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 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])

  • latestCreatedRevisionName (pulumi.Input[str])

  • latestReadyRevisionName (pulumi.Input[str])

  • observedGeneration (pulumi.Input[float])

  • url (pulumi.Input[str])

The template object supports the following:

  • metadata (pulumi.Input[dict])

    • annotations (pulumi.Input[dict])

    • generation (pulumi.Input[float])

    • labels (pulumi.Input[dict])

    • name (pulumi.Input[str])

    • namespace (pulumi.Input[str])

    • resourceVersion (pulumi.Input[str])

    • self_link (pulumi.Input[str])

    • uid (pulumi.Input[str])

  • spec (pulumi.Input[dict])

    • 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])

    • serviceAccountName (pulumi.Input[str])

    • servingState (pulumi.Input[str])

The traffics object supports the following:

  • latestRevision (pulumi.Input[bool])

  • percent (pulumi.Input[float])

  • revisionName (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