cloudrunv2

package
v6.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	pulumi.CustomResourceState

	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources.
	// All system annotations in v1 now have a corresponding field in v2 Job.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization JobBinaryAuthorizationPtrOutput `pulumi:"binaryAuthorization"`
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrOutput `pulumi:"client"`
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrOutput `pulumi:"clientVersion"`
	// The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in reconciling for additional information on `reconciliation` process in Cloud Run.
	// Structure is documented below.
	Conditions JobConditionArrayOutput `pulumi:"conditions"`
	// (Output)
	// Creation timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Email address of the authenticated creator.
	Creator pulumi.StringOutput `pulumi:"creator"`
	// The deletion time.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Number of executions created for this job.
	ExecutionCount pulumi.IntOutput `pulumi:"executionCount"`
	// For a deleted resource, the time after which it will be permamently deleted.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// A number that monotonically increases every time the user modifies the desired state.
	Generation pulumi.StringOutput `pulumi:"generation"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Job.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Email address of the last authenticated modifier.
	LastModifier pulumi.StringOutput `pulumi:"lastModifier"`
	// Name of the last created execution.
	// Structure is documented below.
	LatestCreatedExecutions JobLatestCreatedExecutionArrayOutput `pulumi:"latestCreatedExecutions"`
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringOutput `pulumi:"launchStage"`
	// The location of the cloud run job
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Name of the Job.
	Name pulumi.StringOutput `pulumi:"name"`
	// The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	ObservedGeneration pulumi.StringOutput `pulumi:"observedGeneration"`
	// 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"`
	// Returns true if the Job is currently being acted upon by the system to bring it into the desired state.
	// When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
	// If reconciliation succeeded, the following fields will match: observedGeneration and generation, latestSucceededExecution and latestCreatedExecution.
	// If reconciliation failed, observedGeneration and latestSucceededExecution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// The template used to create executions for this Job.
	// Structure is documented below.
	Template JobTemplateOutput `pulumi:"template"`
	// The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state
	// Structure is documented below.
	TerminalConditions JobTerminalConditionArrayOutput `pulumi:"terminalConditions"`
	// Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

A Cloud Run Job resource that references a container image which is run to completion.

To get more information about Job, see:

* [API documentation](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs) * How-to Guides

## Example Usage ### Cloudrunv2 Job Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Job Sql

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: nil,
			},
		})
		if err != nil {
			return err
		}
		instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Region:          pulumi.String("us-central1"),
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Volumes: cloudrunv2.JobTemplateTemplateVolumeArray{
						&cloudrunv2.JobTemplateTemplateVolumeArgs{
							Name: pulumi.String("cloudsql"),
							CloudSqlInstance: &cloudrunv2.JobTemplateTemplateVolumeCloudSqlInstanceArgs{
								Instances: pulumi.StringArray{
									instance.ConnectionName,
								},
							},
						},
					},
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
							Envs: cloudrunv2.JobTemplateTemplateContainerEnvArray{
								&cloudrunv2.JobTemplateTemplateContainerEnvArgs{
									Name:  pulumi.String("FOO"),
									Value: pulumi.String("bar"),
								},
								&cloudrunv2.JobTemplateTemplateContainerEnvArgs{
									Name: pulumi.String("latestdclsecret"),
									ValueSource: &cloudrunv2.JobTemplateTemplateContainerEnvValueSourceArgs{
										SecretKeyRef: &cloudrunv2.JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs{
											Secret:  secret.SecretId,
											Version: pulumi.String("1"),
										},
									},
								},
							},
							VolumeMounts: cloudrunv2.JobTemplateTemplateContainerVolumeMountArray{
								&cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs{
									Name:      pulumi.String("cloudsql"),
									MountPath: pulumi.String("/cloudsql"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretVersion(ctx, "secret-version-data", &secretmanager.SecretVersionArgs{
			Secret:     secret.Name,
			SecretData: pulumi.String("secret-data"),
		})
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamMember(ctx, "secret-access", &secretmanager.SecretIamMemberArgs{
			SecretId: secret.ID(),
			Role:     pulumi.String("roles/secretmanager.secretAccessor"),
			Member:   pulumi.String(fmt.Sprintf("serviceAccount:%v-compute@developer.gserviceaccount.com", project.Number)),
		}, pulumi.DependsOn([]pulumi.Resource{
			secret,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Job Vpcaccess

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/vpcaccess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		customTestNetwork, err := compute.NewNetwork(ctx, "customTestNetwork", &compute.NetworkArgs{
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		customTestSubnetwork, err := compute.NewSubnetwork(ctx, "customTestSubnetwork", &compute.SubnetworkArgs{
			IpCidrRange: pulumi.String("10.2.0.0/28"),
			Region:      pulumi.String("us-central1"),
			Network:     customTestNetwork.ID(),
		})
		if err != nil {
			return err
		}
		connector, err := vpcaccess.NewConnector(ctx, "connector", &vpcaccess.ConnectorArgs{
			Subnet: &vpcaccess.ConnectorSubnetArgs{
				Name: customTestSubnetwork.Name,
			},
			MachineType:  pulumi.String("e2-standard-4"),
			MinInstances: pulumi.Int(2),
			MaxInstances: pulumi.Int(3),
			Region:       pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						},
					},
					VpcAccess: &cloudrunv2.JobTemplateTemplateVpcAccessArgs{
						Connector: connector.ID(),
						Egress:    pulumi.String("ALL_TRAFFIC"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Job Directvpc

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location:    pulumi.String("us-central1"),
			LaunchStage: pulumi.String("BETA"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/job"),
						},
					},
					VpcAccess: &cloudrunv2.JobTemplateTemplateVpcAccessArgs{
						NetworkInterfaces: cloudrunv2.JobTemplateTemplateVpcAccessNetworkInterfaceArray{
							&cloudrunv2.JobTemplateTemplateVpcAccessNetworkInterfaceArgs{
								Network:    pulumi.String("default"),
								Subnetwork: pulumi.String("default"),
								Tags: pulumi.StringArray{
									pulumi.String("tag1"),
									pulumi.String("tag2"),
									pulumi.String("tag3"),
								},
							},
						},
						Egress: pulumi.String("ALL_TRAFFIC"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Job Secret

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: nil,
			},
		})
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretVersion(ctx, "secret-version-data", &secretmanager.SecretVersionArgs{
			Secret:     secret.Name,
			SecretData: pulumi.String("secret-data"),
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamMember(ctx, "secret-access", &secretmanager.SecretIamMemberArgs{
			SecretId: secret.ID(),
			Role:     pulumi.String("roles/secretmanager.secretAccessor"),
			Member:   pulumi.String(fmt.Sprintf("serviceAccount:%v-compute@developer.gserviceaccount.com", project.Number)),
		}, pulumi.DependsOn([]pulumi.Resource{
			secret,
		}))
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Volumes: cloudrunv2.JobTemplateTemplateVolumeArray{
						&cloudrunv2.JobTemplateTemplateVolumeArgs{
							Name: pulumi.String("a-volume"),
							Secret: &cloudrunv2.JobTemplateTemplateVolumeSecretArgs{
								Secret:      secret.SecretId,
								DefaultMode: pulumi.Int(292),
								Items: cloudrunv2.JobTemplateTemplateVolumeSecretItemArray{
									&cloudrunv2.JobTemplateTemplateVolumeSecretItemArgs{
										Version: pulumi.String("1"),
										Path:    pulumi.String("my-secret"),
										Mode:    pulumi.Int(256),
									},
								},
							},
						},
					},
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
							VolumeMounts: cloudrunv2.JobTemplateTemplateContainerVolumeMountArray{
								&cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs{
									Name:      pulumi.String("a-volume"),
									MountPath: pulumi.String("/secrets"),
								},
							},
						},
					},
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			secret_version_data,
			secret_access,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Job Emptydir

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJob(ctx, "default", &cloudrunv2.JobArgs{
			Location:    pulumi.String("us-central1"),
			LaunchStage: pulumi.String("BETA"),
			Template: &cloudrunv2.JobTemplateArgs{
				Template: &cloudrunv2.JobTemplateTemplateArgs{
					Containers: cloudrunv2.JobTemplateTemplateContainerArray{
						&cloudrunv2.JobTemplateTemplateContainerArgs{
							Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
							VolumeMounts: cloudrunv2.JobTemplateTemplateContainerVolumeMountArray{
								&cloudrunv2.JobTemplateTemplateContainerVolumeMountArgs{
									Name:      pulumi.String("empty-dir-volume"),
									MountPath: pulumi.String("/mnt"),
								},
							},
						},
					},
					Volumes: cloudrunv2.JobTemplateTemplateVolumeArray{
						&cloudrunv2.JobTemplateTemplateVolumeArgs{
							Name: pulumi.String("empty-dir-volume"),
							EmptyDir: &cloudrunv2.JobTemplateTemplateVolumeEmptyDirArgs{
								Medium:    pulumi.String("MEMORY"),
								SizeLimit: pulumi.String("128Mi"),
							},
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Job can be imported using any of these accepted formats

```sh

$ pulumi import gcp:cloudrunv2/job:Job default projects/{{project}}/locations/{{location}}/jobs/{{name}}

```

```sh

$ pulumi import gcp:cloudrunv2/job:Job default {{project}}/{{location}}/{{name}}

```

```sh

$ pulumi import gcp:cloudrunv2/job:Job default {{location}}/{{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) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput

func (*Job) ToOutput added in v6.65.1

func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job]

type JobArgs

type JobArgs struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources.
	// All system annotations in v1 now have a corresponding field in v2 Job.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization JobBinaryAuthorizationPtrInput
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrInput
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrInput
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Job.
	Labels pulumi.StringMapInput
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// The location of the cloud run job
	Location pulumi.StringPtrInput
	// Name of the Job.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The template used to create executions for this Job.
	// Structure is documented below.
	Template JobTemplateInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

func (JobArray) ToOutput added in v6.65.1

func (i JobArray) ToOutput(ctx context.Context) pulumix.Output[[]*Job]

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

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

func (JobArrayOutput) ToOutput added in v6.65.1

func (o JobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Job]

type JobBinaryAuthorization

type JobBinaryAuthorization struct {
	// If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
	BreakglassJustification *string `pulumi:"breakglassJustification"`
	// If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
	UseDefault *bool `pulumi:"useDefault"`
}

type JobBinaryAuthorizationArgs

type JobBinaryAuthorizationArgs struct {
	// If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
	BreakglassJustification pulumi.StringPtrInput `pulumi:"breakglassJustification"`
	// If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
	UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"`
}

func (JobBinaryAuthorizationArgs) ElementType

func (JobBinaryAuthorizationArgs) ElementType() reflect.Type

func (JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationOutput

func (i JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationOutput() JobBinaryAuthorizationOutput

func (JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationOutputWithContext

func (i JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationOutputWithContext(ctx context.Context) JobBinaryAuthorizationOutput

func (JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationPtrOutput

func (i JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationPtrOutput() JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationPtrOutputWithContext

func (i JobBinaryAuthorizationArgs) ToJobBinaryAuthorizationPtrOutputWithContext(ctx context.Context) JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationArgs) ToOutput added in v6.65.1

type JobBinaryAuthorizationInput

type JobBinaryAuthorizationInput interface {
	pulumi.Input

	ToJobBinaryAuthorizationOutput() JobBinaryAuthorizationOutput
	ToJobBinaryAuthorizationOutputWithContext(context.Context) JobBinaryAuthorizationOutput
}

JobBinaryAuthorizationInput is an input type that accepts JobBinaryAuthorizationArgs and JobBinaryAuthorizationOutput values. You can construct a concrete instance of `JobBinaryAuthorizationInput` via:

JobBinaryAuthorizationArgs{...}

type JobBinaryAuthorizationOutput

type JobBinaryAuthorizationOutput struct{ *pulumi.OutputState }

func (JobBinaryAuthorizationOutput) BreakglassJustification

func (o JobBinaryAuthorizationOutput) BreakglassJustification() pulumi.StringPtrOutput

If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

func (JobBinaryAuthorizationOutput) ElementType

func (JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationOutput

func (o JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationOutput() JobBinaryAuthorizationOutput

func (JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationOutputWithContext

func (o JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationOutputWithContext(ctx context.Context) JobBinaryAuthorizationOutput

func (JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationPtrOutput

func (o JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationPtrOutput() JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationPtrOutputWithContext

func (o JobBinaryAuthorizationOutput) ToJobBinaryAuthorizationPtrOutputWithContext(ctx context.Context) JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationOutput) ToOutput added in v6.65.1

func (JobBinaryAuthorizationOutput) UseDefault

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

type JobBinaryAuthorizationPtrInput

type JobBinaryAuthorizationPtrInput interface {
	pulumi.Input

	ToJobBinaryAuthorizationPtrOutput() JobBinaryAuthorizationPtrOutput
	ToJobBinaryAuthorizationPtrOutputWithContext(context.Context) JobBinaryAuthorizationPtrOutput
}

JobBinaryAuthorizationPtrInput is an input type that accepts JobBinaryAuthorizationArgs, JobBinaryAuthorizationPtr and JobBinaryAuthorizationPtrOutput values. You can construct a concrete instance of `JobBinaryAuthorizationPtrInput` via:

        JobBinaryAuthorizationArgs{...}

or:

        nil

type JobBinaryAuthorizationPtrOutput

type JobBinaryAuthorizationPtrOutput struct{ *pulumi.OutputState }

func (JobBinaryAuthorizationPtrOutput) BreakglassJustification

func (o JobBinaryAuthorizationPtrOutput) BreakglassJustification() pulumi.StringPtrOutput

If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

func (JobBinaryAuthorizationPtrOutput) Elem

func (JobBinaryAuthorizationPtrOutput) ElementType

func (JobBinaryAuthorizationPtrOutput) ToJobBinaryAuthorizationPtrOutput

func (o JobBinaryAuthorizationPtrOutput) ToJobBinaryAuthorizationPtrOutput() JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationPtrOutput) ToJobBinaryAuthorizationPtrOutputWithContext

func (o JobBinaryAuthorizationPtrOutput) ToJobBinaryAuthorizationPtrOutputWithContext(ctx context.Context) JobBinaryAuthorizationPtrOutput

func (JobBinaryAuthorizationPtrOutput) ToOutput added in v6.65.1

func (JobBinaryAuthorizationPtrOutput) UseDefault

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

type JobCondition

type JobCondition struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason *string `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message *string `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason *string `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason *string `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity *string `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State *string `pulumi:"state"`
	// (Output)
	// type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
	Type *string `pulumi:"type"`
}

type JobConditionArgs

type JobConditionArgs struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason pulumi.StringPtrInput `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason pulumi.StringPtrInput `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State pulumi.StringPtrInput `pulumi:"state"`
	// (Output)
	// type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (JobConditionArgs) ElementType

func (JobConditionArgs) ElementType() reflect.Type

func (JobConditionArgs) ToJobConditionOutput

func (i JobConditionArgs) ToJobConditionOutput() JobConditionOutput

func (JobConditionArgs) ToJobConditionOutputWithContext

func (i JobConditionArgs) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

func (JobConditionArgs) ToOutput added in v6.65.1

type JobConditionArray

type JobConditionArray []JobConditionInput

func (JobConditionArray) ElementType

func (JobConditionArray) ElementType() reflect.Type

func (JobConditionArray) ToJobConditionArrayOutput

func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArray) ToJobConditionArrayOutputWithContext

func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

func (JobConditionArray) ToOutput added in v6.65.1

type JobConditionArrayInput

type JobConditionArrayInput interface {
	pulumi.Input

	ToJobConditionArrayOutput() JobConditionArrayOutput
	ToJobConditionArrayOutputWithContext(context.Context) JobConditionArrayOutput
}

JobConditionArrayInput is an input type that accepts JobConditionArray and JobConditionArrayOutput values. You can construct a concrete instance of `JobConditionArrayInput` via:

JobConditionArray{ JobConditionArgs{...} }

type JobConditionArrayOutput

type JobConditionArrayOutput struct{ *pulumi.OutputState }

func (JobConditionArrayOutput) ElementType

func (JobConditionArrayOutput) ElementType() reflect.Type

func (JobConditionArrayOutput) Index

func (JobConditionArrayOutput) ToJobConditionArrayOutput

func (o JobConditionArrayOutput) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArrayOutput) ToJobConditionArrayOutputWithContext

func (o JobConditionArrayOutput) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

func (JobConditionArrayOutput) ToOutput added in v6.65.1

type JobConditionInput

type JobConditionInput interface {
	pulumi.Input

	ToJobConditionOutput() JobConditionOutput
	ToJobConditionOutputWithContext(context.Context) JobConditionOutput
}

JobConditionInput is an input type that accepts JobConditionArgs and JobConditionOutput values. You can construct a concrete instance of `JobConditionInput` via:

JobConditionArgs{...}

type JobConditionOutput

type JobConditionOutput struct{ *pulumi.OutputState }

func (JobConditionOutput) ElementType

func (JobConditionOutput) ElementType() reflect.Type

func (JobConditionOutput) ExecutionReason

func (o JobConditionOutput) ExecutionReason() pulumi.StringPtrOutput

(Output) A reason for the execution condition.

func (JobConditionOutput) LastTransitionTime

func (o JobConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

(Output) Last time the condition transitioned from one status to another. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (JobConditionOutput) Message

(Output) Human readable message indicating details about the current status.

func (JobConditionOutput) Reason

(Output) A common (service-level) reason for this condition.

func (JobConditionOutput) RevisionReason

func (o JobConditionOutput) RevisionReason() pulumi.StringPtrOutput

(Output) A reason for the revision condition.

func (JobConditionOutput) Severity

(Output) How to interpret failures of this condition, one of Error, Warning, Info

func (JobConditionOutput) State

(Output) State of the condition.

func (JobConditionOutput) ToJobConditionOutput

func (o JobConditionOutput) ToJobConditionOutput() JobConditionOutput

func (JobConditionOutput) ToJobConditionOutputWithContext

func (o JobConditionOutput) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

func (JobConditionOutput) ToOutput added in v6.65.1

func (JobConditionOutput) Type

(Output) type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.

type JobIamBinding added in v6.48.0

type JobIamBinding struct {
	pulumi.CustomResourceState

	Condition JobIamBindingConditionPtrOutput `pulumi:"condition"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput      `pulumi:"location"`
	Members  pulumi.StringArrayOutput `pulumi:"members"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Job. Each of these resources serves a different use case:

* `cloudrunv2.JobIamPolicy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `cloudrunv2.JobIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `cloudrunv2.JobIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.JobIamPolicy`: Retrieves the IAM policy for the job

> **Note:** `cloudrunv2.JobIamPolicy` **cannot** be used in conjunction with `cloudrunv2.JobIamBinding` and `cloudrunv2.JobIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.JobIamBinding` resources **can be** used in conjunction with `cloudrunv2.JobIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_job\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJobIamPolicy(ctx, "policy", &cloudrunv2.JobIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_job.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamBinding(ctx, "binding", &cloudrunv2.JobIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamMember(ctx, "member", &cloudrunv2.JobIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/jobs/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) job IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor projects/{{project}}/locations/{{location}}/jobs/{{job}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetJobIamBinding added in v6.48.0

func GetJobIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobIamBindingState, opts ...pulumi.ResourceOption) (*JobIamBinding, error)

GetJobIamBinding gets an existing JobIamBinding 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 NewJobIamBinding added in v6.48.0

func NewJobIamBinding(ctx *pulumi.Context,
	name string, args *JobIamBindingArgs, opts ...pulumi.ResourceOption) (*JobIamBinding, error)

NewJobIamBinding registers a new resource with the given unique name, arguments, and options.

func (*JobIamBinding) ElementType added in v6.48.0

func (*JobIamBinding) ElementType() reflect.Type

func (*JobIamBinding) ToJobIamBindingOutput added in v6.48.0

func (i *JobIamBinding) ToJobIamBindingOutput() JobIamBindingOutput

func (*JobIamBinding) ToJobIamBindingOutputWithContext added in v6.48.0

func (i *JobIamBinding) ToJobIamBindingOutputWithContext(ctx context.Context) JobIamBindingOutput

func (*JobIamBinding) ToOutput added in v6.65.1

type JobIamBindingArgs added in v6.48.0

type JobIamBindingArgs struct {
	Condition JobIamBindingConditionPtrInput
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Members  pulumi.StringArrayInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a JobIamBinding resource.

func (JobIamBindingArgs) ElementType added in v6.48.0

func (JobIamBindingArgs) ElementType() reflect.Type

type JobIamBindingArray added in v6.48.0

type JobIamBindingArray []JobIamBindingInput

func (JobIamBindingArray) ElementType added in v6.48.0

func (JobIamBindingArray) ElementType() reflect.Type

func (JobIamBindingArray) ToJobIamBindingArrayOutput added in v6.48.0

func (i JobIamBindingArray) ToJobIamBindingArrayOutput() JobIamBindingArrayOutput

func (JobIamBindingArray) ToJobIamBindingArrayOutputWithContext added in v6.48.0

func (i JobIamBindingArray) ToJobIamBindingArrayOutputWithContext(ctx context.Context) JobIamBindingArrayOutput

func (JobIamBindingArray) ToOutput added in v6.65.1

type JobIamBindingArrayInput added in v6.48.0

type JobIamBindingArrayInput interface {
	pulumi.Input

	ToJobIamBindingArrayOutput() JobIamBindingArrayOutput
	ToJobIamBindingArrayOutputWithContext(context.Context) JobIamBindingArrayOutput
}

JobIamBindingArrayInput is an input type that accepts JobIamBindingArray and JobIamBindingArrayOutput values. You can construct a concrete instance of `JobIamBindingArrayInput` via:

JobIamBindingArray{ JobIamBindingArgs{...} }

type JobIamBindingArrayOutput added in v6.48.0

type JobIamBindingArrayOutput struct{ *pulumi.OutputState }

func (JobIamBindingArrayOutput) ElementType added in v6.48.0

func (JobIamBindingArrayOutput) ElementType() reflect.Type

func (JobIamBindingArrayOutput) Index added in v6.48.0

func (JobIamBindingArrayOutput) ToJobIamBindingArrayOutput added in v6.48.0

func (o JobIamBindingArrayOutput) ToJobIamBindingArrayOutput() JobIamBindingArrayOutput

func (JobIamBindingArrayOutput) ToJobIamBindingArrayOutputWithContext added in v6.48.0

func (o JobIamBindingArrayOutput) ToJobIamBindingArrayOutputWithContext(ctx context.Context) JobIamBindingArrayOutput

func (JobIamBindingArrayOutput) ToOutput added in v6.65.1

type JobIamBindingCondition added in v6.48.0

type JobIamBindingCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type JobIamBindingConditionArgs added in v6.48.0

type JobIamBindingConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (JobIamBindingConditionArgs) ElementType added in v6.48.0

func (JobIamBindingConditionArgs) ElementType() reflect.Type

func (JobIamBindingConditionArgs) ToJobIamBindingConditionOutput added in v6.48.0

func (i JobIamBindingConditionArgs) ToJobIamBindingConditionOutput() JobIamBindingConditionOutput

func (JobIamBindingConditionArgs) ToJobIamBindingConditionOutputWithContext added in v6.48.0

func (i JobIamBindingConditionArgs) ToJobIamBindingConditionOutputWithContext(ctx context.Context) JobIamBindingConditionOutput

func (JobIamBindingConditionArgs) ToJobIamBindingConditionPtrOutput added in v6.48.0

func (i JobIamBindingConditionArgs) ToJobIamBindingConditionPtrOutput() JobIamBindingConditionPtrOutput

func (JobIamBindingConditionArgs) ToJobIamBindingConditionPtrOutputWithContext added in v6.48.0

func (i JobIamBindingConditionArgs) ToJobIamBindingConditionPtrOutputWithContext(ctx context.Context) JobIamBindingConditionPtrOutput

func (JobIamBindingConditionArgs) ToOutput added in v6.65.1

type JobIamBindingConditionInput added in v6.48.0

type JobIamBindingConditionInput interface {
	pulumi.Input

	ToJobIamBindingConditionOutput() JobIamBindingConditionOutput
	ToJobIamBindingConditionOutputWithContext(context.Context) JobIamBindingConditionOutput
}

JobIamBindingConditionInput is an input type that accepts JobIamBindingConditionArgs and JobIamBindingConditionOutput values. You can construct a concrete instance of `JobIamBindingConditionInput` via:

JobIamBindingConditionArgs{...}

type JobIamBindingConditionOutput added in v6.48.0

type JobIamBindingConditionOutput struct{ *pulumi.OutputState }

func (JobIamBindingConditionOutput) Description added in v6.48.0

func (JobIamBindingConditionOutput) ElementType added in v6.48.0

func (JobIamBindingConditionOutput) Expression added in v6.48.0

func (JobIamBindingConditionOutput) Title added in v6.48.0

func (JobIamBindingConditionOutput) ToJobIamBindingConditionOutput added in v6.48.0

func (o JobIamBindingConditionOutput) ToJobIamBindingConditionOutput() JobIamBindingConditionOutput

func (JobIamBindingConditionOutput) ToJobIamBindingConditionOutputWithContext added in v6.48.0

func (o JobIamBindingConditionOutput) ToJobIamBindingConditionOutputWithContext(ctx context.Context) JobIamBindingConditionOutput

func (JobIamBindingConditionOutput) ToJobIamBindingConditionPtrOutput added in v6.48.0

func (o JobIamBindingConditionOutput) ToJobIamBindingConditionPtrOutput() JobIamBindingConditionPtrOutput

func (JobIamBindingConditionOutput) ToJobIamBindingConditionPtrOutputWithContext added in v6.48.0

func (o JobIamBindingConditionOutput) ToJobIamBindingConditionPtrOutputWithContext(ctx context.Context) JobIamBindingConditionPtrOutput

func (JobIamBindingConditionOutput) ToOutput added in v6.65.1

type JobIamBindingConditionPtrInput added in v6.48.0

type JobIamBindingConditionPtrInput interface {
	pulumi.Input

	ToJobIamBindingConditionPtrOutput() JobIamBindingConditionPtrOutput
	ToJobIamBindingConditionPtrOutputWithContext(context.Context) JobIamBindingConditionPtrOutput
}

JobIamBindingConditionPtrInput is an input type that accepts JobIamBindingConditionArgs, JobIamBindingConditionPtr and JobIamBindingConditionPtrOutput values. You can construct a concrete instance of `JobIamBindingConditionPtrInput` via:

        JobIamBindingConditionArgs{...}

or:

        nil

func JobIamBindingConditionPtr added in v6.48.0

func JobIamBindingConditionPtr(v *JobIamBindingConditionArgs) JobIamBindingConditionPtrInput

type JobIamBindingConditionPtrOutput added in v6.48.0

type JobIamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (JobIamBindingConditionPtrOutput) Description added in v6.48.0

func (JobIamBindingConditionPtrOutput) Elem added in v6.48.0

func (JobIamBindingConditionPtrOutput) ElementType added in v6.48.0

func (JobIamBindingConditionPtrOutput) Expression added in v6.48.0

func (JobIamBindingConditionPtrOutput) Title added in v6.48.0

func (JobIamBindingConditionPtrOutput) ToJobIamBindingConditionPtrOutput added in v6.48.0

func (o JobIamBindingConditionPtrOutput) ToJobIamBindingConditionPtrOutput() JobIamBindingConditionPtrOutput

func (JobIamBindingConditionPtrOutput) ToJobIamBindingConditionPtrOutputWithContext added in v6.48.0

func (o JobIamBindingConditionPtrOutput) ToJobIamBindingConditionPtrOutputWithContext(ctx context.Context) JobIamBindingConditionPtrOutput

func (JobIamBindingConditionPtrOutput) ToOutput added in v6.65.1

type JobIamBindingInput added in v6.48.0

type JobIamBindingInput interface {
	pulumi.Input

	ToJobIamBindingOutput() JobIamBindingOutput
	ToJobIamBindingOutputWithContext(ctx context.Context) JobIamBindingOutput
}

type JobIamBindingMap added in v6.48.0

type JobIamBindingMap map[string]JobIamBindingInput

func (JobIamBindingMap) ElementType added in v6.48.0

func (JobIamBindingMap) ElementType() reflect.Type

func (JobIamBindingMap) ToJobIamBindingMapOutput added in v6.48.0

func (i JobIamBindingMap) ToJobIamBindingMapOutput() JobIamBindingMapOutput

func (JobIamBindingMap) ToJobIamBindingMapOutputWithContext added in v6.48.0

func (i JobIamBindingMap) ToJobIamBindingMapOutputWithContext(ctx context.Context) JobIamBindingMapOutput

func (JobIamBindingMap) ToOutput added in v6.65.1

type JobIamBindingMapInput added in v6.48.0

type JobIamBindingMapInput interface {
	pulumi.Input

	ToJobIamBindingMapOutput() JobIamBindingMapOutput
	ToJobIamBindingMapOutputWithContext(context.Context) JobIamBindingMapOutput
}

JobIamBindingMapInput is an input type that accepts JobIamBindingMap and JobIamBindingMapOutput values. You can construct a concrete instance of `JobIamBindingMapInput` via:

JobIamBindingMap{ "key": JobIamBindingArgs{...} }

type JobIamBindingMapOutput added in v6.48.0

type JobIamBindingMapOutput struct{ *pulumi.OutputState }

func (JobIamBindingMapOutput) ElementType added in v6.48.0

func (JobIamBindingMapOutput) ElementType() reflect.Type

func (JobIamBindingMapOutput) MapIndex added in v6.48.0

func (JobIamBindingMapOutput) ToJobIamBindingMapOutput added in v6.48.0

func (o JobIamBindingMapOutput) ToJobIamBindingMapOutput() JobIamBindingMapOutput

func (JobIamBindingMapOutput) ToJobIamBindingMapOutputWithContext added in v6.48.0

func (o JobIamBindingMapOutput) ToJobIamBindingMapOutputWithContext(ctx context.Context) JobIamBindingMapOutput

func (JobIamBindingMapOutput) ToOutput added in v6.65.1

type JobIamBindingOutput added in v6.48.0

type JobIamBindingOutput struct{ *pulumi.OutputState }

func (JobIamBindingOutput) Condition added in v6.48.0

func (JobIamBindingOutput) ElementType added in v6.48.0

func (JobIamBindingOutput) ElementType() reflect.Type

func (JobIamBindingOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (JobIamBindingOutput) Location added in v6.48.0

The location of the cloud run job Used to find the parent resource to bind the IAM policy to

func (JobIamBindingOutput) Members added in v6.48.0

func (JobIamBindingOutput) Name added in v6.48.0

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

func (JobIamBindingOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (JobIamBindingOutput) Role added in v6.48.0

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

func (JobIamBindingOutput) ToJobIamBindingOutput added in v6.48.0

func (o JobIamBindingOutput) ToJobIamBindingOutput() JobIamBindingOutput

func (JobIamBindingOutput) ToJobIamBindingOutputWithContext added in v6.48.0

func (o JobIamBindingOutput) ToJobIamBindingOutputWithContext(ctx context.Context) JobIamBindingOutput

func (JobIamBindingOutput) ToOutput added in v6.65.1

type JobIamBindingState added in v6.48.0

type JobIamBindingState struct {
	Condition JobIamBindingConditionPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Members  pulumi.StringArrayInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (JobIamBindingState) ElementType added in v6.48.0

func (JobIamBindingState) ElementType() reflect.Type

type JobIamMember added in v6.48.0

type JobIamMember struct {
	pulumi.CustomResourceState

	Condition JobIamMemberConditionPtrOutput `pulumi:"condition"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	Member   pulumi.StringOutput `pulumi:"member"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Job. Each of these resources serves a different use case:

* `cloudrunv2.JobIamPolicy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `cloudrunv2.JobIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `cloudrunv2.JobIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.JobIamPolicy`: Retrieves the IAM policy for the job

> **Note:** `cloudrunv2.JobIamPolicy` **cannot** be used in conjunction with `cloudrunv2.JobIamBinding` and `cloudrunv2.JobIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.JobIamBinding` resources **can be** used in conjunction with `cloudrunv2.JobIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_job\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJobIamPolicy(ctx, "policy", &cloudrunv2.JobIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_job.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamBinding(ctx, "binding", &cloudrunv2.JobIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamMember(ctx, "member", &cloudrunv2.JobIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/jobs/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) job IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamMember:JobIamMember editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamMember:JobIamMember editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamMember:JobIamMember editor projects/{{project}}/locations/{{location}}/jobs/{{job}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetJobIamMember added in v6.48.0

func GetJobIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobIamMemberState, opts ...pulumi.ResourceOption) (*JobIamMember, error)

GetJobIamMember gets an existing JobIamMember 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 NewJobIamMember added in v6.48.0

func NewJobIamMember(ctx *pulumi.Context,
	name string, args *JobIamMemberArgs, opts ...pulumi.ResourceOption) (*JobIamMember, error)

NewJobIamMember registers a new resource with the given unique name, arguments, and options.

func (*JobIamMember) ElementType added in v6.48.0

func (*JobIamMember) ElementType() reflect.Type

func (*JobIamMember) ToJobIamMemberOutput added in v6.48.0

func (i *JobIamMember) ToJobIamMemberOutput() JobIamMemberOutput

func (*JobIamMember) ToJobIamMemberOutputWithContext added in v6.48.0

func (i *JobIamMember) ToJobIamMemberOutputWithContext(ctx context.Context) JobIamMemberOutput

func (*JobIamMember) ToOutput added in v6.65.1

type JobIamMemberArgs added in v6.48.0

type JobIamMemberArgs struct {
	Condition JobIamMemberConditionPtrInput
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Member   pulumi.StringInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a JobIamMember resource.

func (JobIamMemberArgs) ElementType added in v6.48.0

func (JobIamMemberArgs) ElementType() reflect.Type

type JobIamMemberArray added in v6.48.0

type JobIamMemberArray []JobIamMemberInput

func (JobIamMemberArray) ElementType added in v6.48.0

func (JobIamMemberArray) ElementType() reflect.Type

func (JobIamMemberArray) ToJobIamMemberArrayOutput added in v6.48.0

func (i JobIamMemberArray) ToJobIamMemberArrayOutput() JobIamMemberArrayOutput

func (JobIamMemberArray) ToJobIamMemberArrayOutputWithContext added in v6.48.0

func (i JobIamMemberArray) ToJobIamMemberArrayOutputWithContext(ctx context.Context) JobIamMemberArrayOutput

func (JobIamMemberArray) ToOutput added in v6.65.1

type JobIamMemberArrayInput added in v6.48.0

type JobIamMemberArrayInput interface {
	pulumi.Input

	ToJobIamMemberArrayOutput() JobIamMemberArrayOutput
	ToJobIamMemberArrayOutputWithContext(context.Context) JobIamMemberArrayOutput
}

JobIamMemberArrayInput is an input type that accepts JobIamMemberArray and JobIamMemberArrayOutput values. You can construct a concrete instance of `JobIamMemberArrayInput` via:

JobIamMemberArray{ JobIamMemberArgs{...} }

type JobIamMemberArrayOutput added in v6.48.0

type JobIamMemberArrayOutput struct{ *pulumi.OutputState }

func (JobIamMemberArrayOutput) ElementType added in v6.48.0

func (JobIamMemberArrayOutput) ElementType() reflect.Type

func (JobIamMemberArrayOutput) Index added in v6.48.0

func (JobIamMemberArrayOutput) ToJobIamMemberArrayOutput added in v6.48.0

func (o JobIamMemberArrayOutput) ToJobIamMemberArrayOutput() JobIamMemberArrayOutput

func (JobIamMemberArrayOutput) ToJobIamMemberArrayOutputWithContext added in v6.48.0

func (o JobIamMemberArrayOutput) ToJobIamMemberArrayOutputWithContext(ctx context.Context) JobIamMemberArrayOutput

func (JobIamMemberArrayOutput) ToOutput added in v6.65.1

type JobIamMemberCondition added in v6.48.0

type JobIamMemberCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type JobIamMemberConditionArgs added in v6.48.0

type JobIamMemberConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (JobIamMemberConditionArgs) ElementType added in v6.48.0

func (JobIamMemberConditionArgs) ElementType() reflect.Type

func (JobIamMemberConditionArgs) ToJobIamMemberConditionOutput added in v6.48.0

func (i JobIamMemberConditionArgs) ToJobIamMemberConditionOutput() JobIamMemberConditionOutput

func (JobIamMemberConditionArgs) ToJobIamMemberConditionOutputWithContext added in v6.48.0

func (i JobIamMemberConditionArgs) ToJobIamMemberConditionOutputWithContext(ctx context.Context) JobIamMemberConditionOutput

func (JobIamMemberConditionArgs) ToJobIamMemberConditionPtrOutput added in v6.48.0

func (i JobIamMemberConditionArgs) ToJobIamMemberConditionPtrOutput() JobIamMemberConditionPtrOutput

func (JobIamMemberConditionArgs) ToJobIamMemberConditionPtrOutputWithContext added in v6.48.0

func (i JobIamMemberConditionArgs) ToJobIamMemberConditionPtrOutputWithContext(ctx context.Context) JobIamMemberConditionPtrOutput

func (JobIamMemberConditionArgs) ToOutput added in v6.65.1

type JobIamMemberConditionInput added in v6.48.0

type JobIamMemberConditionInput interface {
	pulumi.Input

	ToJobIamMemberConditionOutput() JobIamMemberConditionOutput
	ToJobIamMemberConditionOutputWithContext(context.Context) JobIamMemberConditionOutput
}

JobIamMemberConditionInput is an input type that accepts JobIamMemberConditionArgs and JobIamMemberConditionOutput values. You can construct a concrete instance of `JobIamMemberConditionInput` via:

JobIamMemberConditionArgs{...}

type JobIamMemberConditionOutput added in v6.48.0

type JobIamMemberConditionOutput struct{ *pulumi.OutputState }

func (JobIamMemberConditionOutput) Description added in v6.48.0

func (JobIamMemberConditionOutput) ElementType added in v6.48.0

func (JobIamMemberConditionOutput) Expression added in v6.48.0

func (JobIamMemberConditionOutput) Title added in v6.48.0

func (JobIamMemberConditionOutput) ToJobIamMemberConditionOutput added in v6.48.0

func (o JobIamMemberConditionOutput) ToJobIamMemberConditionOutput() JobIamMemberConditionOutput

func (JobIamMemberConditionOutput) ToJobIamMemberConditionOutputWithContext added in v6.48.0

func (o JobIamMemberConditionOutput) ToJobIamMemberConditionOutputWithContext(ctx context.Context) JobIamMemberConditionOutput

func (JobIamMemberConditionOutput) ToJobIamMemberConditionPtrOutput added in v6.48.0

func (o JobIamMemberConditionOutput) ToJobIamMemberConditionPtrOutput() JobIamMemberConditionPtrOutput

func (JobIamMemberConditionOutput) ToJobIamMemberConditionPtrOutputWithContext added in v6.48.0

func (o JobIamMemberConditionOutput) ToJobIamMemberConditionPtrOutputWithContext(ctx context.Context) JobIamMemberConditionPtrOutput

func (JobIamMemberConditionOutput) ToOutput added in v6.65.1

type JobIamMemberConditionPtrInput added in v6.48.0

type JobIamMemberConditionPtrInput interface {
	pulumi.Input

	ToJobIamMemberConditionPtrOutput() JobIamMemberConditionPtrOutput
	ToJobIamMemberConditionPtrOutputWithContext(context.Context) JobIamMemberConditionPtrOutput
}

JobIamMemberConditionPtrInput is an input type that accepts JobIamMemberConditionArgs, JobIamMemberConditionPtr and JobIamMemberConditionPtrOutput values. You can construct a concrete instance of `JobIamMemberConditionPtrInput` via:

        JobIamMemberConditionArgs{...}

or:

        nil

func JobIamMemberConditionPtr added in v6.48.0

func JobIamMemberConditionPtr(v *JobIamMemberConditionArgs) JobIamMemberConditionPtrInput

type JobIamMemberConditionPtrOutput added in v6.48.0

type JobIamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (JobIamMemberConditionPtrOutput) Description added in v6.48.0

func (JobIamMemberConditionPtrOutput) Elem added in v6.48.0

func (JobIamMemberConditionPtrOutput) ElementType added in v6.48.0

func (JobIamMemberConditionPtrOutput) Expression added in v6.48.0

func (JobIamMemberConditionPtrOutput) Title added in v6.48.0

func (JobIamMemberConditionPtrOutput) ToJobIamMemberConditionPtrOutput added in v6.48.0

func (o JobIamMemberConditionPtrOutput) ToJobIamMemberConditionPtrOutput() JobIamMemberConditionPtrOutput

func (JobIamMemberConditionPtrOutput) ToJobIamMemberConditionPtrOutputWithContext added in v6.48.0

func (o JobIamMemberConditionPtrOutput) ToJobIamMemberConditionPtrOutputWithContext(ctx context.Context) JobIamMemberConditionPtrOutput

func (JobIamMemberConditionPtrOutput) ToOutput added in v6.65.1

type JobIamMemberInput added in v6.48.0

type JobIamMemberInput interface {
	pulumi.Input

	ToJobIamMemberOutput() JobIamMemberOutput
	ToJobIamMemberOutputWithContext(ctx context.Context) JobIamMemberOutput
}

type JobIamMemberMap added in v6.48.0

type JobIamMemberMap map[string]JobIamMemberInput

func (JobIamMemberMap) ElementType added in v6.48.0

func (JobIamMemberMap) ElementType() reflect.Type

func (JobIamMemberMap) ToJobIamMemberMapOutput added in v6.48.0

func (i JobIamMemberMap) ToJobIamMemberMapOutput() JobIamMemberMapOutput

func (JobIamMemberMap) ToJobIamMemberMapOutputWithContext added in v6.48.0

func (i JobIamMemberMap) ToJobIamMemberMapOutputWithContext(ctx context.Context) JobIamMemberMapOutput

func (JobIamMemberMap) ToOutput added in v6.65.1

type JobIamMemberMapInput added in v6.48.0

type JobIamMemberMapInput interface {
	pulumi.Input

	ToJobIamMemberMapOutput() JobIamMemberMapOutput
	ToJobIamMemberMapOutputWithContext(context.Context) JobIamMemberMapOutput
}

JobIamMemberMapInput is an input type that accepts JobIamMemberMap and JobIamMemberMapOutput values. You can construct a concrete instance of `JobIamMemberMapInput` via:

JobIamMemberMap{ "key": JobIamMemberArgs{...} }

type JobIamMemberMapOutput added in v6.48.0

type JobIamMemberMapOutput struct{ *pulumi.OutputState }

func (JobIamMemberMapOutput) ElementType added in v6.48.0

func (JobIamMemberMapOutput) ElementType() reflect.Type

func (JobIamMemberMapOutput) MapIndex added in v6.48.0

func (JobIamMemberMapOutput) ToJobIamMemberMapOutput added in v6.48.0

func (o JobIamMemberMapOutput) ToJobIamMemberMapOutput() JobIamMemberMapOutput

func (JobIamMemberMapOutput) ToJobIamMemberMapOutputWithContext added in v6.48.0

func (o JobIamMemberMapOutput) ToJobIamMemberMapOutputWithContext(ctx context.Context) JobIamMemberMapOutput

func (JobIamMemberMapOutput) ToOutput added in v6.65.1

type JobIamMemberOutput added in v6.48.0

type JobIamMemberOutput struct{ *pulumi.OutputState }

func (JobIamMemberOutput) Condition added in v6.48.0

func (JobIamMemberOutput) ElementType added in v6.48.0

func (JobIamMemberOutput) ElementType() reflect.Type

func (JobIamMemberOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (JobIamMemberOutput) Location added in v6.48.0

func (o JobIamMemberOutput) Location() pulumi.StringOutput

The location of the cloud run job Used to find the parent resource to bind the IAM policy to

func (JobIamMemberOutput) Member added in v6.48.0

func (JobIamMemberOutput) Name added in v6.48.0

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

func (JobIamMemberOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (JobIamMemberOutput) Role added in v6.48.0

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

func (JobIamMemberOutput) ToJobIamMemberOutput added in v6.48.0

func (o JobIamMemberOutput) ToJobIamMemberOutput() JobIamMemberOutput

func (JobIamMemberOutput) ToJobIamMemberOutputWithContext added in v6.48.0

func (o JobIamMemberOutput) ToJobIamMemberOutputWithContext(ctx context.Context) JobIamMemberOutput

func (JobIamMemberOutput) ToOutput added in v6.65.1

type JobIamMemberState added in v6.48.0

type JobIamMemberState struct {
	Condition JobIamMemberConditionPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Member   pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (JobIamMemberState) ElementType added in v6.48.0

func (JobIamMemberState) ElementType() reflect.Type

type JobIamPolicy added in v6.48.0

type JobIamPolicy struct {
	pulumi.CustomResourceState

	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringOutput `pulumi:"policyData"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Job. Each of these resources serves a different use case:

* `cloudrunv2.JobIamPolicy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `cloudrunv2.JobIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `cloudrunv2.JobIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.JobIamPolicy`: Retrieves the IAM policy for the job

> **Note:** `cloudrunv2.JobIamPolicy` **cannot** be used in conjunction with `cloudrunv2.JobIamBinding` and `cloudrunv2.JobIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.JobIamBinding` resources **can be** used in conjunction with `cloudrunv2.JobIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_job\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewJobIamPolicy(ctx, "policy", &cloudrunv2.JobIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_job.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamBinding(ctx, "binding", &cloudrunv2.JobIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_job\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewJobIamMember(ctx, "member", &cloudrunv2.JobIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_job.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/jobs/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) job IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamPolicy:JobIamPolicy editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamPolicy:JobIamPolicy editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/jobIamPolicy:JobIamPolicy editor projects/{{project}}/locations/{{location}}/jobs/{{job}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetJobIamPolicy added in v6.48.0

func GetJobIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobIamPolicyState, opts ...pulumi.ResourceOption) (*JobIamPolicy, error)

GetJobIamPolicy gets an existing JobIamPolicy 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 NewJobIamPolicy added in v6.48.0

func NewJobIamPolicy(ctx *pulumi.Context,
	name string, args *JobIamPolicyArgs, opts ...pulumi.ResourceOption) (*JobIamPolicy, error)

NewJobIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*JobIamPolicy) ElementType added in v6.48.0

func (*JobIamPolicy) ElementType() reflect.Type

func (*JobIamPolicy) ToJobIamPolicyOutput added in v6.48.0

func (i *JobIamPolicy) ToJobIamPolicyOutput() JobIamPolicyOutput

func (*JobIamPolicy) ToJobIamPolicyOutputWithContext added in v6.48.0

func (i *JobIamPolicy) ToJobIamPolicyOutputWithContext(ctx context.Context) JobIamPolicyOutput

func (*JobIamPolicy) ToOutput added in v6.65.1

type JobIamPolicyArgs added in v6.48.0

type JobIamPolicyArgs struct {
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a JobIamPolicy resource.

func (JobIamPolicyArgs) ElementType added in v6.48.0

func (JobIamPolicyArgs) ElementType() reflect.Type

type JobIamPolicyArray added in v6.48.0

type JobIamPolicyArray []JobIamPolicyInput

func (JobIamPolicyArray) ElementType added in v6.48.0

func (JobIamPolicyArray) ElementType() reflect.Type

func (JobIamPolicyArray) ToJobIamPolicyArrayOutput added in v6.48.0

func (i JobIamPolicyArray) ToJobIamPolicyArrayOutput() JobIamPolicyArrayOutput

func (JobIamPolicyArray) ToJobIamPolicyArrayOutputWithContext added in v6.48.0

func (i JobIamPolicyArray) ToJobIamPolicyArrayOutputWithContext(ctx context.Context) JobIamPolicyArrayOutput

func (JobIamPolicyArray) ToOutput added in v6.65.1

type JobIamPolicyArrayInput added in v6.48.0

type JobIamPolicyArrayInput interface {
	pulumi.Input

	ToJobIamPolicyArrayOutput() JobIamPolicyArrayOutput
	ToJobIamPolicyArrayOutputWithContext(context.Context) JobIamPolicyArrayOutput
}

JobIamPolicyArrayInput is an input type that accepts JobIamPolicyArray and JobIamPolicyArrayOutput values. You can construct a concrete instance of `JobIamPolicyArrayInput` via:

JobIamPolicyArray{ JobIamPolicyArgs{...} }

type JobIamPolicyArrayOutput added in v6.48.0

type JobIamPolicyArrayOutput struct{ *pulumi.OutputState }

func (JobIamPolicyArrayOutput) ElementType added in v6.48.0

func (JobIamPolicyArrayOutput) ElementType() reflect.Type

func (JobIamPolicyArrayOutput) Index added in v6.48.0

func (JobIamPolicyArrayOutput) ToJobIamPolicyArrayOutput added in v6.48.0

func (o JobIamPolicyArrayOutput) ToJobIamPolicyArrayOutput() JobIamPolicyArrayOutput

func (JobIamPolicyArrayOutput) ToJobIamPolicyArrayOutputWithContext added in v6.48.0

func (o JobIamPolicyArrayOutput) ToJobIamPolicyArrayOutputWithContext(ctx context.Context) JobIamPolicyArrayOutput

func (JobIamPolicyArrayOutput) ToOutput added in v6.65.1

type JobIamPolicyInput added in v6.48.0

type JobIamPolicyInput interface {
	pulumi.Input

	ToJobIamPolicyOutput() JobIamPolicyOutput
	ToJobIamPolicyOutputWithContext(ctx context.Context) JobIamPolicyOutput
}

type JobIamPolicyMap added in v6.48.0

type JobIamPolicyMap map[string]JobIamPolicyInput

func (JobIamPolicyMap) ElementType added in v6.48.0

func (JobIamPolicyMap) ElementType() reflect.Type

func (JobIamPolicyMap) ToJobIamPolicyMapOutput added in v6.48.0

func (i JobIamPolicyMap) ToJobIamPolicyMapOutput() JobIamPolicyMapOutput

func (JobIamPolicyMap) ToJobIamPolicyMapOutputWithContext added in v6.48.0

func (i JobIamPolicyMap) ToJobIamPolicyMapOutputWithContext(ctx context.Context) JobIamPolicyMapOutput

func (JobIamPolicyMap) ToOutput added in v6.65.1

type JobIamPolicyMapInput added in v6.48.0

type JobIamPolicyMapInput interface {
	pulumi.Input

	ToJobIamPolicyMapOutput() JobIamPolicyMapOutput
	ToJobIamPolicyMapOutputWithContext(context.Context) JobIamPolicyMapOutput
}

JobIamPolicyMapInput is an input type that accepts JobIamPolicyMap and JobIamPolicyMapOutput values. You can construct a concrete instance of `JobIamPolicyMapInput` via:

JobIamPolicyMap{ "key": JobIamPolicyArgs{...} }

type JobIamPolicyMapOutput added in v6.48.0

type JobIamPolicyMapOutput struct{ *pulumi.OutputState }

func (JobIamPolicyMapOutput) ElementType added in v6.48.0

func (JobIamPolicyMapOutput) ElementType() reflect.Type

func (JobIamPolicyMapOutput) MapIndex added in v6.48.0

func (JobIamPolicyMapOutput) ToJobIamPolicyMapOutput added in v6.48.0

func (o JobIamPolicyMapOutput) ToJobIamPolicyMapOutput() JobIamPolicyMapOutput

func (JobIamPolicyMapOutput) ToJobIamPolicyMapOutputWithContext added in v6.48.0

func (o JobIamPolicyMapOutput) ToJobIamPolicyMapOutputWithContext(ctx context.Context) JobIamPolicyMapOutput

func (JobIamPolicyMapOutput) ToOutput added in v6.65.1

type JobIamPolicyOutput added in v6.48.0

type JobIamPolicyOutput struct{ *pulumi.OutputState }

func (JobIamPolicyOutput) ElementType added in v6.48.0

func (JobIamPolicyOutput) ElementType() reflect.Type

func (JobIamPolicyOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (JobIamPolicyOutput) Location added in v6.48.0

func (o JobIamPolicyOutput) Location() pulumi.StringOutput

The location of the cloud run job Used to find the parent resource to bind the IAM policy to

func (JobIamPolicyOutput) Name added in v6.48.0

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

func (JobIamPolicyOutput) PolicyData added in v6.48.0

func (o JobIamPolicyOutput) PolicyData() pulumi.StringOutput

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

func (JobIamPolicyOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (JobIamPolicyOutput) ToJobIamPolicyOutput added in v6.48.0

func (o JobIamPolicyOutput) ToJobIamPolicyOutput() JobIamPolicyOutput

func (JobIamPolicyOutput) ToJobIamPolicyOutputWithContext added in v6.48.0

func (o JobIamPolicyOutput) ToJobIamPolicyOutputWithContext(ctx context.Context) JobIamPolicyOutput

func (JobIamPolicyOutput) ToOutput added in v6.65.1

type JobIamPolicyState added in v6.48.0

type JobIamPolicyState struct {
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
}

func (JobIamPolicyState) ElementType added in v6.48.0

func (JobIamPolicyState) ElementType() reflect.Type

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobLatestCreatedExecution

type JobLatestCreatedExecution struct {
	// (Output)
	// Completion timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CompletionTime *string `pulumi:"completionTime"`
	// (Output)
	// Creation timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime *string `pulumi:"createTime"`
	// Name of the Job.
	Name *string `pulumi:"name"`
}

type JobLatestCreatedExecutionArgs

type JobLatestCreatedExecutionArgs struct {
	// (Output)
	// Completion timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"`
	// (Output)
	// Creation timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// Name of the Job.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (JobLatestCreatedExecutionArgs) ElementType

func (JobLatestCreatedExecutionArgs) ToJobLatestCreatedExecutionOutput

func (i JobLatestCreatedExecutionArgs) ToJobLatestCreatedExecutionOutput() JobLatestCreatedExecutionOutput

func (JobLatestCreatedExecutionArgs) ToJobLatestCreatedExecutionOutputWithContext

func (i JobLatestCreatedExecutionArgs) ToJobLatestCreatedExecutionOutputWithContext(ctx context.Context) JobLatestCreatedExecutionOutput

func (JobLatestCreatedExecutionArgs) ToOutput added in v6.65.1

type JobLatestCreatedExecutionArray

type JobLatestCreatedExecutionArray []JobLatestCreatedExecutionInput

func (JobLatestCreatedExecutionArray) ElementType

func (JobLatestCreatedExecutionArray) ToJobLatestCreatedExecutionArrayOutput

func (i JobLatestCreatedExecutionArray) ToJobLatestCreatedExecutionArrayOutput() JobLatestCreatedExecutionArrayOutput

func (JobLatestCreatedExecutionArray) ToJobLatestCreatedExecutionArrayOutputWithContext

func (i JobLatestCreatedExecutionArray) ToJobLatestCreatedExecutionArrayOutputWithContext(ctx context.Context) JobLatestCreatedExecutionArrayOutput

func (JobLatestCreatedExecutionArray) ToOutput added in v6.65.1

type JobLatestCreatedExecutionArrayInput

type JobLatestCreatedExecutionArrayInput interface {
	pulumi.Input

	ToJobLatestCreatedExecutionArrayOutput() JobLatestCreatedExecutionArrayOutput
	ToJobLatestCreatedExecutionArrayOutputWithContext(context.Context) JobLatestCreatedExecutionArrayOutput
}

JobLatestCreatedExecutionArrayInput is an input type that accepts JobLatestCreatedExecutionArray and JobLatestCreatedExecutionArrayOutput values. You can construct a concrete instance of `JobLatestCreatedExecutionArrayInput` via:

JobLatestCreatedExecutionArray{ JobLatestCreatedExecutionArgs{...} }

type JobLatestCreatedExecutionArrayOutput

type JobLatestCreatedExecutionArrayOutput struct{ *pulumi.OutputState }

func (JobLatestCreatedExecutionArrayOutput) ElementType

func (JobLatestCreatedExecutionArrayOutput) Index

func (JobLatestCreatedExecutionArrayOutput) ToJobLatestCreatedExecutionArrayOutput

func (o JobLatestCreatedExecutionArrayOutput) ToJobLatestCreatedExecutionArrayOutput() JobLatestCreatedExecutionArrayOutput

func (JobLatestCreatedExecutionArrayOutput) ToJobLatestCreatedExecutionArrayOutputWithContext

func (o JobLatestCreatedExecutionArrayOutput) ToJobLatestCreatedExecutionArrayOutputWithContext(ctx context.Context) JobLatestCreatedExecutionArrayOutput

func (JobLatestCreatedExecutionArrayOutput) ToOutput added in v6.65.1

type JobLatestCreatedExecutionInput

type JobLatestCreatedExecutionInput interface {
	pulumi.Input

	ToJobLatestCreatedExecutionOutput() JobLatestCreatedExecutionOutput
	ToJobLatestCreatedExecutionOutputWithContext(context.Context) JobLatestCreatedExecutionOutput
}

JobLatestCreatedExecutionInput is an input type that accepts JobLatestCreatedExecutionArgs and JobLatestCreatedExecutionOutput values. You can construct a concrete instance of `JobLatestCreatedExecutionInput` via:

JobLatestCreatedExecutionArgs{...}

type JobLatestCreatedExecutionOutput

type JobLatestCreatedExecutionOutput struct{ *pulumi.OutputState }

func (JobLatestCreatedExecutionOutput) CompletionTime

(Output) Completion timestamp of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (JobLatestCreatedExecutionOutput) CreateTime

(Output) Creation timestamp of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (JobLatestCreatedExecutionOutput) ElementType

func (JobLatestCreatedExecutionOutput) Name

Name of the Job.

func (JobLatestCreatedExecutionOutput) ToJobLatestCreatedExecutionOutput

func (o JobLatestCreatedExecutionOutput) ToJobLatestCreatedExecutionOutput() JobLatestCreatedExecutionOutput

func (JobLatestCreatedExecutionOutput) ToJobLatestCreatedExecutionOutputWithContext

func (o JobLatestCreatedExecutionOutput) ToJobLatestCreatedExecutionOutputWithContext(ctx context.Context) JobLatestCreatedExecutionOutput

func (JobLatestCreatedExecutionOutput) ToOutput added in v6.65.1

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

func (JobMap) ToOutput added in v6.65.1

func (i JobMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]

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

func (JobMapOutput) ToOutput added in v6.65.1

func (o JobMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) Annotations added in v6.60.0

func (o JobOutput) Annotations() pulumi.StringMapOutput

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (JobOutput) BinaryAuthorization

func (o JobOutput) BinaryAuthorization() JobBinaryAuthorizationPtrOutput

Settings for the Binary Authorization feature. Structure is documented below.

func (JobOutput) Client

func (o JobOutput) Client() pulumi.StringPtrOutput

Arbitrary identifier for the API client.

func (JobOutput) ClientVersion

func (o JobOutput) ClientVersion() pulumi.StringPtrOutput

Arbitrary version identifier for the API client.

func (JobOutput) Conditions

func (o JobOutput) Conditions() JobConditionArrayOutput

The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in reconciling for additional information on `reconciliation` process in Cloud Run. Structure is documented below.

func (JobOutput) CreateTime added in v6.64.0

func (o JobOutput) CreateTime() pulumi.StringOutput

(Output) Creation timestamp of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (JobOutput) Creator added in v6.64.0

func (o JobOutput) Creator() pulumi.StringOutput

Email address of the authenticated creator.

func (JobOutput) DeleteTime added in v6.64.0

func (o JobOutput) DeleteTime() pulumi.StringOutput

The deletion time.

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) Etag

func (o JobOutput) Etag() pulumi.StringOutput

A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

func (JobOutput) ExecutionCount

func (o JobOutput) ExecutionCount() pulumi.IntOutput

Number of executions created for this job.

func (JobOutput) ExpireTime added in v6.64.0

func (o JobOutput) ExpireTime() pulumi.StringOutput

For a deleted resource, the time after which it will be permamently deleted.

func (JobOutput) Generation

func (o JobOutput) Generation() pulumi.StringOutput

A number that monotonically increases every time the user modifies the desired state.

func (JobOutput) Labels

func (o JobOutput) Labels() pulumi.StringMapOutput

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.

func (JobOutput) LastModifier added in v6.64.0

func (o JobOutput) LastModifier() pulumi.StringOutput

Email address of the last authenticated modifier.

func (JobOutput) LatestCreatedExecutions

func (o JobOutput) LatestCreatedExecutions() JobLatestCreatedExecutionArrayOutput

Name of the last created execution. Structure is documented below.

func (JobOutput) LaunchStage

func (o JobOutput) LaunchStage() pulumi.StringOutput

The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.

func (JobOutput) Location

func (o JobOutput) Location() pulumi.StringPtrOutput

The location of the cloud run job

func (JobOutput) Name

func (o JobOutput) Name() pulumi.StringOutput

Name of the Job.

func (JobOutput) ObservedGeneration

func (o JobOutput) ObservedGeneration() pulumi.StringOutput

The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud Run.

func (JobOutput) Project

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

func (o JobOutput) Reconciling() pulumi.BoolOutput

Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation succeeded, the following fields will match: observedGeneration and generation, latestSucceededExecution and latestCreatedExecution. If reconciliation failed, observedGeneration and latestSucceededExecution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions

func (JobOutput) Template

func (o JobOutput) Template() JobTemplateOutput

The template used to create executions for this Job. Structure is documented below.

func (JobOutput) TerminalConditions

func (o JobOutput) TerminalConditions() JobTerminalConditionArrayOutput

The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state Structure is documented below.

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput

func (JobOutput) ToOutput added in v6.65.1

func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job]

func (JobOutput) Uid

func (o JobOutput) Uid() pulumi.StringOutput

Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (JobOutput) UpdateTime added in v6.64.0

func (o JobOutput) UpdateTime() pulumi.StringOutput

The last-modified time.

type JobState

type JobState struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources.
	// All system annotations in v1 now have a corresponding field in v2 Job.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization JobBinaryAuthorizationPtrInput
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrInput
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrInput
	// The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in reconciling for additional information on `reconciliation` process in Cloud Run.
	// Structure is documented below.
	Conditions JobConditionArrayInput
	// (Output)
	// Creation timestamp of the execution.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// Email address of the authenticated creator.
	Creator pulumi.StringPtrInput
	// The deletion time.
	DeleteTime pulumi.StringPtrInput
	// A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
	Etag pulumi.StringPtrInput
	// Number of executions created for this job.
	ExecutionCount pulumi.IntPtrInput
	// For a deleted resource, the time after which it will be permamently deleted.
	ExpireTime pulumi.StringPtrInput
	// A number that monotonically increases every time the user modifies the desired state.
	Generation pulumi.StringPtrInput
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Job.
	Labels pulumi.StringMapInput
	// Email address of the last authenticated modifier.
	LastModifier pulumi.StringPtrInput
	// Name of the last created execution.
	// Structure is documented below.
	LatestCreatedExecutions JobLatestCreatedExecutionArrayInput
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// The location of the cloud run job
	Location pulumi.StringPtrInput
	// Name of the Job.
	Name pulumi.StringPtrInput
	// The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	ObservedGeneration pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Returns true if the Job is currently being acted upon by the system to bring it into the desired state.
	// When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
	// If reconciliation succeeded, the following fields will match: observedGeneration and generation, latestSucceededExecution and latestCreatedExecution.
	// If reconciliation failed, observedGeneration and latestSucceededExecution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions
	Reconciling pulumi.BoolPtrInput
	// The template used to create executions for this Job.
	// Structure is documented below.
	Template JobTemplatePtrInput
	// The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state
	// Structure is documented below.
	TerminalConditions JobTerminalConditionArrayInput
	// Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringPtrInput
	// The last-modified time.
	UpdateTime pulumi.StringPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobTemplate

type JobTemplate struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations map[string]string `pulumi:"annotations"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
	// or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
	// https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
	Labels map[string]string `pulumi:"labels"`
	// Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
	Parallelism *int `pulumi:"parallelism"`
	// Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	TaskCount *int `pulumi:"taskCount"`
	// Describes the task(s) that will be created when executing an execution
	// Structure is documented below.
	Template JobTemplateTemplate `pulumi:"template"`
}

type JobTemplateArgs

type JobTemplateArgs struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
	// or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
	// https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
	Parallelism pulumi.IntPtrInput `pulumi:"parallelism"`
	// Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	TaskCount pulumi.IntPtrInput `pulumi:"taskCount"`
	// Describes the task(s) that will be created when executing an execution
	// Structure is documented below.
	Template JobTemplateTemplateInput `pulumi:"template"`
}

func (JobTemplateArgs) ElementType

func (JobTemplateArgs) ElementType() reflect.Type

func (JobTemplateArgs) ToJobTemplateOutput

func (i JobTemplateArgs) ToJobTemplateOutput() JobTemplateOutput

func (JobTemplateArgs) ToJobTemplateOutputWithContext

func (i JobTemplateArgs) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput

func (JobTemplateArgs) ToJobTemplatePtrOutput

func (i JobTemplateArgs) ToJobTemplatePtrOutput() JobTemplatePtrOutput

func (JobTemplateArgs) ToJobTemplatePtrOutputWithContext

func (i JobTemplateArgs) ToJobTemplatePtrOutputWithContext(ctx context.Context) JobTemplatePtrOutput

func (JobTemplateArgs) ToOutput added in v6.65.1

type JobTemplateInput

type JobTemplateInput interface {
	pulumi.Input

	ToJobTemplateOutput() JobTemplateOutput
	ToJobTemplateOutputWithContext(context.Context) JobTemplateOutput
}

JobTemplateInput is an input type that accepts JobTemplateArgs and JobTemplateOutput values. You can construct a concrete instance of `JobTemplateInput` via:

JobTemplateArgs{...}

type JobTemplateOutput

type JobTemplateOutput struct{ *pulumi.OutputState }

func (JobTemplateOutput) Annotations added in v6.60.0

func (o JobTemplateOutput) Annotations() pulumi.StringMapOutput

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (JobTemplateOutput) ElementType

func (JobTemplateOutput) ElementType() reflect.Type

func (JobTemplateOutput) Labels

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

func (JobTemplateOutput) Parallelism

func (o JobTemplateOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.

func (JobTemplateOutput) TaskCount

func (o JobTemplateOutput) TaskCount() pulumi.IntPtrOutput

Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobTemplateOutput) Template

Describes the task(s) that will be created when executing an execution Structure is documented below.

func (JobTemplateOutput) ToJobTemplateOutput

func (o JobTemplateOutput) ToJobTemplateOutput() JobTemplateOutput

func (JobTemplateOutput) ToJobTemplateOutputWithContext

func (o JobTemplateOutput) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput

func (JobTemplateOutput) ToJobTemplatePtrOutput

func (o JobTemplateOutput) ToJobTemplatePtrOutput() JobTemplatePtrOutput

func (JobTemplateOutput) ToJobTemplatePtrOutputWithContext

func (o JobTemplateOutput) ToJobTemplatePtrOutputWithContext(ctx context.Context) JobTemplatePtrOutput

func (JobTemplateOutput) ToOutput added in v6.65.1

type JobTemplatePtrInput

type JobTemplatePtrInput interface {
	pulumi.Input

	ToJobTemplatePtrOutput() JobTemplatePtrOutput
	ToJobTemplatePtrOutputWithContext(context.Context) JobTemplatePtrOutput
}

JobTemplatePtrInput is an input type that accepts JobTemplateArgs, JobTemplatePtr and JobTemplatePtrOutput values. You can construct a concrete instance of `JobTemplatePtrInput` via:

        JobTemplateArgs{...}

or:

        nil

func JobTemplatePtr

func JobTemplatePtr(v *JobTemplateArgs) JobTemplatePtrInput

type JobTemplatePtrOutput

type JobTemplatePtrOutput struct{ *pulumi.OutputState }

func (JobTemplatePtrOutput) Annotations added in v6.60.0

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (JobTemplatePtrOutput) Elem

func (JobTemplatePtrOutput) ElementType

func (JobTemplatePtrOutput) ElementType() reflect.Type

func (JobTemplatePtrOutput) Labels

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

func (JobTemplatePtrOutput) Parallelism

func (o JobTemplatePtrOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.

func (JobTemplatePtrOutput) TaskCount

Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobTemplatePtrOutput) Template

Describes the task(s) that will be created when executing an execution Structure is documented below.

func (JobTemplatePtrOutput) ToJobTemplatePtrOutput

func (o JobTemplatePtrOutput) ToJobTemplatePtrOutput() JobTemplatePtrOutput

func (JobTemplatePtrOutput) ToJobTemplatePtrOutputWithContext

func (o JobTemplatePtrOutput) ToJobTemplatePtrOutputWithContext(ctx context.Context) JobTemplatePtrOutput

func (JobTemplatePtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplate

type JobTemplateTemplate struct {
	// Holds the single container that defines the unit of execution for this task.
	// Structure is documented below.
	Containers []JobTemplateTemplateContainer `pulumi:"containers"`
	// A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
	EncryptionKey *string `pulumi:"encryptionKey"`
	// The execution environment being used to host this Task.
	// Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
	ExecutionEnvironment *string `pulumi:"executionEnvironment"`
	// Number of retries allowed per Task, before marking this Task failed.
	MaxRetries *int `pulumi:"maxRetries"`
	// Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
	ServiceAccount *string `pulumi:"serviceAccount"`
	// Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	Timeout *string `pulumi:"timeout"`
	// A list of Volumes to make available to containers.
	// Structure is documented below.
	Volumes []JobTemplateTemplateVolume `pulumi:"volumes"`
	// VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
	// Structure is documented below.
	VpcAccess *JobTemplateTemplateVpcAccess `pulumi:"vpcAccess"`
}

type JobTemplateTemplateArgs

type JobTemplateTemplateArgs struct {
	// Holds the single container that defines the unit of execution for this task.
	// Structure is documented below.
	Containers JobTemplateTemplateContainerArrayInput `pulumi:"containers"`
	// A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
	EncryptionKey pulumi.StringPtrInput `pulumi:"encryptionKey"`
	// The execution environment being used to host this Task.
	// Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
	ExecutionEnvironment pulumi.StringPtrInput `pulumi:"executionEnvironment"`
	// Number of retries allowed per Task, before marking this Task failed.
	MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"`
	// Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
	ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"`
	// Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
	// A list of Volumes to make available to containers.
	// Structure is documented below.
	Volumes JobTemplateTemplateVolumeArrayInput `pulumi:"volumes"`
	// VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
	// Structure is documented below.
	VpcAccess JobTemplateTemplateVpcAccessPtrInput `pulumi:"vpcAccess"`
}

func (JobTemplateTemplateArgs) ElementType

func (JobTemplateTemplateArgs) ElementType() reflect.Type

func (JobTemplateTemplateArgs) ToJobTemplateTemplateOutput

func (i JobTemplateTemplateArgs) ToJobTemplateTemplateOutput() JobTemplateTemplateOutput

func (JobTemplateTemplateArgs) ToJobTemplateTemplateOutputWithContext

func (i JobTemplateTemplateArgs) ToJobTemplateTemplateOutputWithContext(ctx context.Context) JobTemplateTemplateOutput

func (JobTemplateTemplateArgs) ToJobTemplateTemplatePtrOutput

func (i JobTemplateTemplateArgs) ToJobTemplateTemplatePtrOutput() JobTemplateTemplatePtrOutput

func (JobTemplateTemplateArgs) ToJobTemplateTemplatePtrOutputWithContext

func (i JobTemplateTemplateArgs) ToJobTemplateTemplatePtrOutputWithContext(ctx context.Context) JobTemplateTemplatePtrOutput

func (JobTemplateTemplateArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainer

type JobTemplateTemplateContainer struct {
	// Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args []string `pulumi:"args"`
	// Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Commands []string `pulumi:"commands"`
	// List of environment variables to set in the container.
	// Structure is documented below.
	Envs []JobTemplateTemplateContainerEnv `pulumi:"envs"`
	// URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
	Image string `pulumi:"image"`
	// (Optional, Deprecated)
	// Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// This field is not supported in Cloud Run Job currently.
	// Structure is documented below.
	//
	// > **Warning:** `livenessProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `liveness_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	LivenessProbe *JobTemplateTemplateContainerLivenessProbe `pulumi:"livenessProbe"`
	// Name of the container specified as a DNS_LABEL.
	Name *string `pulumi:"name"`
	// List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
	// If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
	// Structure is documented below.
	Ports []JobTemplateTemplateContainerPort `pulumi:"ports"`
	// Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	// Structure is documented below.
	Resources *JobTemplateTemplateContainerResources `pulumi:"resources"`
	// (Optional, Deprecated)
	// Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// This field is not supported in Cloud Run Job currently.
	// Structure is documented below.
	//
	// > **Warning:** `startupProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `startup_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	StartupProbe *JobTemplateTemplateContainerStartupProbe `pulumi:"startupProbe"`
	// Volume to mount into the container's filesystem.
	// Structure is documented below.
	VolumeMounts []JobTemplateTemplateContainerVolumeMount `pulumi:"volumeMounts"`
	// Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
	WorkingDir *string `pulumi:"workingDir"`
}

type JobTemplateTemplateContainerArgs

type JobTemplateTemplateContainerArgs struct {
	// Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args pulumi.StringArrayInput `pulumi:"args"`
	// Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// List of environment variables to set in the container.
	// Structure is documented below.
	Envs JobTemplateTemplateContainerEnvArrayInput `pulumi:"envs"`
	// URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
	Image pulumi.StringInput `pulumi:"image"`
	// (Optional, Deprecated)
	// Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// This field is not supported in Cloud Run Job currently.
	// Structure is documented below.
	//
	// > **Warning:** `livenessProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `liveness_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	LivenessProbe JobTemplateTemplateContainerLivenessProbePtrInput `pulumi:"livenessProbe"`
	// Name of the container specified as a DNS_LABEL.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
	// If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
	// Structure is documented below.
	Ports JobTemplateTemplateContainerPortArrayInput `pulumi:"ports"`
	// Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	// Structure is documented below.
	Resources JobTemplateTemplateContainerResourcesPtrInput `pulumi:"resources"`
	// (Optional, Deprecated)
	// Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// This field is not supported in Cloud Run Job currently.
	// Structure is documented below.
	//
	// > **Warning:** `startupProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `startup_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	StartupProbe JobTemplateTemplateContainerStartupProbePtrInput `pulumi:"startupProbe"`
	// Volume to mount into the container's filesystem.
	// Structure is documented below.
	VolumeMounts JobTemplateTemplateContainerVolumeMountArrayInput `pulumi:"volumeMounts"`
	// Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
	WorkingDir pulumi.StringPtrInput `pulumi:"workingDir"`
}

func (JobTemplateTemplateContainerArgs) ElementType

func (JobTemplateTemplateContainerArgs) ToJobTemplateTemplateContainerOutput

func (i JobTemplateTemplateContainerArgs) ToJobTemplateTemplateContainerOutput() JobTemplateTemplateContainerOutput

func (JobTemplateTemplateContainerArgs) ToJobTemplateTemplateContainerOutputWithContext

func (i JobTemplateTemplateContainerArgs) ToJobTemplateTemplateContainerOutputWithContext(ctx context.Context) JobTemplateTemplateContainerOutput

func (JobTemplateTemplateContainerArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerArray

type JobTemplateTemplateContainerArray []JobTemplateTemplateContainerInput

func (JobTemplateTemplateContainerArray) ElementType

func (JobTemplateTemplateContainerArray) ToJobTemplateTemplateContainerArrayOutput

func (i JobTemplateTemplateContainerArray) ToJobTemplateTemplateContainerArrayOutput() JobTemplateTemplateContainerArrayOutput

func (JobTemplateTemplateContainerArray) ToJobTemplateTemplateContainerArrayOutputWithContext

func (i JobTemplateTemplateContainerArray) ToJobTemplateTemplateContainerArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerArrayOutput

func (JobTemplateTemplateContainerArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerArrayInput

type JobTemplateTemplateContainerArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerArrayOutput() JobTemplateTemplateContainerArrayOutput
	ToJobTemplateTemplateContainerArrayOutputWithContext(context.Context) JobTemplateTemplateContainerArrayOutput
}

JobTemplateTemplateContainerArrayInput is an input type that accepts JobTemplateTemplateContainerArray and JobTemplateTemplateContainerArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerArrayInput` via:

JobTemplateTemplateContainerArray{ JobTemplateTemplateContainerArgs{...} }

type JobTemplateTemplateContainerArrayOutput

type JobTemplateTemplateContainerArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerArrayOutput) ElementType

func (JobTemplateTemplateContainerArrayOutput) Index

func (JobTemplateTemplateContainerArrayOutput) ToJobTemplateTemplateContainerArrayOutput

func (o JobTemplateTemplateContainerArrayOutput) ToJobTemplateTemplateContainerArrayOutput() JobTemplateTemplateContainerArrayOutput

func (JobTemplateTemplateContainerArrayOutput) ToJobTemplateTemplateContainerArrayOutputWithContext

func (o JobTemplateTemplateContainerArrayOutput) ToJobTemplateTemplateContainerArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerArrayOutput

func (JobTemplateTemplateContainerArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnv

type JobTemplateTemplateContainerEnv struct {
	// Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.
	Name string `pulumi:"name"`
	// Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
	Value *string `pulumi:"value"`
	// Source for the environment variable's value.
	// Structure is documented below.
	ValueSource *JobTemplateTemplateContainerEnvValueSource `pulumi:"valueSource"`
}

type JobTemplateTemplateContainerEnvArgs

type JobTemplateTemplateContainerEnvArgs struct {
	// Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.
	Name pulumi.StringInput `pulumi:"name"`
	// Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
	Value pulumi.StringPtrInput `pulumi:"value"`
	// Source for the environment variable's value.
	// Structure is documented below.
	ValueSource JobTemplateTemplateContainerEnvValueSourcePtrInput `pulumi:"valueSource"`
}

func (JobTemplateTemplateContainerEnvArgs) ElementType

func (JobTemplateTemplateContainerEnvArgs) ToJobTemplateTemplateContainerEnvOutput

func (i JobTemplateTemplateContainerEnvArgs) ToJobTemplateTemplateContainerEnvOutput() JobTemplateTemplateContainerEnvOutput

func (JobTemplateTemplateContainerEnvArgs) ToJobTemplateTemplateContainerEnvOutputWithContext

func (i JobTemplateTemplateContainerEnvArgs) ToJobTemplateTemplateContainerEnvOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvOutput

func (JobTemplateTemplateContainerEnvArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvArray

type JobTemplateTemplateContainerEnvArray []JobTemplateTemplateContainerEnvInput

func (JobTemplateTemplateContainerEnvArray) ElementType

func (JobTemplateTemplateContainerEnvArray) ToJobTemplateTemplateContainerEnvArrayOutput

func (i JobTemplateTemplateContainerEnvArray) ToJobTemplateTemplateContainerEnvArrayOutput() JobTemplateTemplateContainerEnvArrayOutput

func (JobTemplateTemplateContainerEnvArray) ToJobTemplateTemplateContainerEnvArrayOutputWithContext

func (i JobTemplateTemplateContainerEnvArray) ToJobTemplateTemplateContainerEnvArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvArrayOutput

func (JobTemplateTemplateContainerEnvArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvArrayInput

type JobTemplateTemplateContainerEnvArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvArrayOutput() JobTemplateTemplateContainerEnvArrayOutput
	ToJobTemplateTemplateContainerEnvArrayOutputWithContext(context.Context) JobTemplateTemplateContainerEnvArrayOutput
}

JobTemplateTemplateContainerEnvArrayInput is an input type that accepts JobTemplateTemplateContainerEnvArray and JobTemplateTemplateContainerEnvArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvArrayInput` via:

JobTemplateTemplateContainerEnvArray{ JobTemplateTemplateContainerEnvArgs{...} }

type JobTemplateTemplateContainerEnvArrayOutput

type JobTemplateTemplateContainerEnvArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvArrayOutput) ElementType

func (JobTemplateTemplateContainerEnvArrayOutput) Index

func (JobTemplateTemplateContainerEnvArrayOutput) ToJobTemplateTemplateContainerEnvArrayOutput

func (o JobTemplateTemplateContainerEnvArrayOutput) ToJobTemplateTemplateContainerEnvArrayOutput() JobTemplateTemplateContainerEnvArrayOutput

func (JobTemplateTemplateContainerEnvArrayOutput) ToJobTemplateTemplateContainerEnvArrayOutputWithContext

func (o JobTemplateTemplateContainerEnvArrayOutput) ToJobTemplateTemplateContainerEnvArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvArrayOutput

func (JobTemplateTemplateContainerEnvArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvInput

type JobTemplateTemplateContainerEnvInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvOutput() JobTemplateTemplateContainerEnvOutput
	ToJobTemplateTemplateContainerEnvOutputWithContext(context.Context) JobTemplateTemplateContainerEnvOutput
}

JobTemplateTemplateContainerEnvInput is an input type that accepts JobTemplateTemplateContainerEnvArgs and JobTemplateTemplateContainerEnvOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvInput` via:

JobTemplateTemplateContainerEnvArgs{...}

type JobTemplateTemplateContainerEnvOutput

type JobTemplateTemplateContainerEnvOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvOutput) ElementType

func (JobTemplateTemplateContainerEnvOutput) Name

Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.

func (JobTemplateTemplateContainerEnvOutput) ToJobTemplateTemplateContainerEnvOutput

func (o JobTemplateTemplateContainerEnvOutput) ToJobTemplateTemplateContainerEnvOutput() JobTemplateTemplateContainerEnvOutput

func (JobTemplateTemplateContainerEnvOutput) ToJobTemplateTemplateContainerEnvOutputWithContext

func (o JobTemplateTemplateContainerEnvOutput) ToJobTemplateTemplateContainerEnvOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvOutput

func (JobTemplateTemplateContainerEnvOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerEnvOutput) Value

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes

func (JobTemplateTemplateContainerEnvOutput) ValueSource

Source for the environment variable's value. Structure is documented below.

type JobTemplateTemplateContainerEnvValueSource

type JobTemplateTemplateContainerEnvValueSource struct {
	// Selects a secret and a specific version from Cloud Secret Manager.
	// Structure is documented below.
	SecretKeyRef *JobTemplateTemplateContainerEnvValueSourceSecretKeyRef `pulumi:"secretKeyRef"`
}

type JobTemplateTemplateContainerEnvValueSourceArgs

type JobTemplateTemplateContainerEnvValueSourceArgs struct {
	// Selects a secret and a specific version from Cloud Secret Manager.
	// Structure is documented below.
	SecretKeyRef JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrInput `pulumi:"secretKeyRef"`
}

func (JobTemplateTemplateContainerEnvValueSourceArgs) ElementType

func (JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourceOutput

func (i JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourceOutput() JobTemplateTemplateContainerEnvValueSourceOutput

func (JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourceOutputWithContext

func (i JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourceOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceOutput

func (JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput

func (i JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput() JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext

func (i JobTemplateTemplateContainerEnvValueSourceArgs) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourceArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvValueSourceInput

type JobTemplateTemplateContainerEnvValueSourceInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvValueSourceOutput() JobTemplateTemplateContainerEnvValueSourceOutput
	ToJobTemplateTemplateContainerEnvValueSourceOutputWithContext(context.Context) JobTemplateTemplateContainerEnvValueSourceOutput
}

JobTemplateTemplateContainerEnvValueSourceInput is an input type that accepts JobTemplateTemplateContainerEnvValueSourceArgs and JobTemplateTemplateContainerEnvValueSourceOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvValueSourceInput` via:

JobTemplateTemplateContainerEnvValueSourceArgs{...}

type JobTemplateTemplateContainerEnvValueSourceOutput

type JobTemplateTemplateContainerEnvValueSourceOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvValueSourceOutput) ElementType

func (JobTemplateTemplateContainerEnvValueSourceOutput) SecretKeyRef

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

func (JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourceOutput

func (o JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourceOutput() JobTemplateTemplateContainerEnvValueSourceOutput

func (JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourceOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourceOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceOutput

func (JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput

func (o JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput() JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourceOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourceOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvValueSourcePtrInput

type JobTemplateTemplateContainerEnvValueSourcePtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvValueSourcePtrOutput() JobTemplateTemplateContainerEnvValueSourcePtrOutput
	ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext(context.Context) JobTemplateTemplateContainerEnvValueSourcePtrOutput
}

JobTemplateTemplateContainerEnvValueSourcePtrInput is an input type that accepts JobTemplateTemplateContainerEnvValueSourceArgs, JobTemplateTemplateContainerEnvValueSourcePtr and JobTemplateTemplateContainerEnvValueSourcePtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvValueSourcePtrInput` via:

        JobTemplateTemplateContainerEnvValueSourceArgs{...}

or:

        nil

type JobTemplateTemplateContainerEnvValueSourcePtrOutput

type JobTemplateTemplateContainerEnvValueSourcePtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) Elem

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) ElementType

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) SecretKeyRef

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput

func (o JobTemplateTemplateContainerEnvValueSourcePtrOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutput() JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourcePtrOutput) ToJobTemplateTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourcePtrOutput

func (JobTemplateTemplateContainerEnvValueSourcePtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRef

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRef struct {
	// The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
	Secret string `pulumi:"secret"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
	Version string `pulumi:"version"`
}

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs struct {
	// The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
	Secret pulumi.StringInput `pulumi:"secret"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ElementType

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext

func (i JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (i JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefInput

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput() JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput
	ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput
}

JobTemplateTemplateContainerEnvValueSourceSecretKeyRefInput is an input type that accepts JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs and JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvValueSourceSecretKeyRefInput` via:

JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs{...}

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ElementType

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrInput

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput() JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput
	ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput
}

JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrInput is an input type that accepts JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs, JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtr and JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrInput` via:

        JobTemplateTemplateContainerEnvValueSourceSecretKeyRefArgs{...}

or:

        nil

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

type JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Elem

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ElementType

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (o JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToJobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

type JobTemplateTemplateContainerInput

type JobTemplateTemplateContainerInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerOutput() JobTemplateTemplateContainerOutput
	ToJobTemplateTemplateContainerOutputWithContext(context.Context) JobTemplateTemplateContainerOutput
}

JobTemplateTemplateContainerInput is an input type that accepts JobTemplateTemplateContainerArgs and JobTemplateTemplateContainerOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerInput` via:

JobTemplateTemplateContainerArgs{...}

type JobTemplateTemplateContainerLivenessProbe

type JobTemplateTemplateContainerLivenessProbe struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet *JobTemplateTemplateContainerLivenessProbeHttpGet `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket *JobTemplateTemplateContainerLivenessProbeTcpSocket `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type JobTemplateTemplateContainerLivenessProbeArgs

type JobTemplateTemplateContainerLivenessProbeArgs struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet JobTemplateTemplateContainerLivenessProbeHttpGetPtrInput `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket JobTemplateTemplateContainerLivenessProbeTcpSocketPtrInput `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (JobTemplateTemplateContainerLivenessProbeArgs) ElementType

func (JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbeOutput

func (i JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbeOutput() JobTemplateTemplateContainerLivenessProbeOutput

func (JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbeOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbeOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeOutput

func (JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbePtrOutput

func (i JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbePtrOutput() JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeArgs) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbeArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGet

type JobTemplateTemplateContainerLivenessProbeHttpGet struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders []JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeader `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path *string `pulumi:"path"`
}

type JobTemplateTemplateContainerLivenessProbeHttpGetArgs

type JobTemplateTemplateContainerLivenessProbeHttpGetArgs struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutput

func (i JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutput() JobTemplateTemplateContainerLivenessProbeHttpGetOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (i JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput() JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeader

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeader struct {
	// The header field name
	Name string `pulumi:"name"`
	// The header field value
	Value *string `pulumi:"value"`
}

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs struct {
	// The header field name
	Name pulumi.StringInput `pulumi:"name"`
	// The header field value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray []JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderInput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput() JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput
	ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput
}

JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray and JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput` via:

JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArray{ JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs{...} }

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderInput

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput() JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput
	ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput
}

JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs and JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderInput` via:

JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderArgs{...}

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

type JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) Name

The header field name

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) Value

The header field value

type JobTemplateTemplateContainerLivenessProbeHttpGetInput

type JobTemplateTemplateContainerLivenessProbeHttpGetInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeHttpGetOutput() JobTemplateTemplateContainerLivenessProbeHttpGetOutput
	ToJobTemplateTemplateContainerLivenessProbeHttpGetOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetOutput
}

JobTemplateTemplateContainerLivenessProbeHttpGetInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeHttpGetArgs and JobTemplateTemplateContainerLivenessProbeHttpGetOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeHttpGetInput` via:

JobTemplateTemplateContainerLivenessProbeHttpGetArgs{...}

type JobTemplateTemplateContainerLivenessProbeHttpGetOutput

type JobTemplateTemplateContainerLivenessProbeHttpGetOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (o JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput() JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeHttpGetPtrInput

type JobTemplateTemplateContainerLivenessProbeHttpGetPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput() JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput
	ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput
}

JobTemplateTemplateContainerLivenessProbeHttpGetPtrInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeHttpGetArgs, JobTemplateTemplateContainerLivenessProbeHttpGetPtr and JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeHttpGetPtrInput` via:

        JobTemplateTemplateContainerLivenessProbeHttpGetArgs{...}

or:

        nil

type JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

type JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) Elem

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerLivenessProbeHttpGetPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeInput

type JobTemplateTemplateContainerLivenessProbeInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeOutput() JobTemplateTemplateContainerLivenessProbeOutput
	ToJobTemplateTemplateContainerLivenessProbeOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeOutput
}

JobTemplateTemplateContainerLivenessProbeInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeArgs and JobTemplateTemplateContainerLivenessProbeOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeInput` via:

JobTemplateTemplateContainerLivenessProbeArgs{...}

type JobTemplateTemplateContainerLivenessProbeOutput

type JobTemplateTemplateContainerLivenessProbeOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (JobTemplateTemplateContainerLivenessProbeOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbeOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerLivenessProbeOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (JobTemplateTemplateContainerLivenessProbeOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbeOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbeOutput

func (o JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbeOutput() JobTemplateTemplateContainerLivenessProbeOutput

func (JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbeOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbeOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeOutput

func (JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutput

func (o JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutput() JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbeOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbePtrInput

type JobTemplateTemplateContainerLivenessProbePtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbePtrOutput() JobTemplateTemplateContainerLivenessProbePtrOutput
	ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbePtrOutput
}

JobTemplateTemplateContainerLivenessProbePtrInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeArgs, JobTemplateTemplateContainerLivenessProbePtr and JobTemplateTemplateContainerLivenessProbePtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbePtrInput` via:

        JobTemplateTemplateContainerLivenessProbeArgs{...}

or:

        nil

type JobTemplateTemplateContainerLivenessProbePtrOutput

type JobTemplateTemplateContainerLivenessProbePtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbePtrOutput) Elem

func (JobTemplateTemplateContainerLivenessProbePtrOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbePtrOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (JobTemplateTemplateContainerLivenessProbePtrOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbePtrOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerLivenessProbePtrOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (JobTemplateTemplateContainerLivenessProbePtrOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerLivenessProbePtrOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerLivenessProbePtrOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutput

func (o JobTemplateTemplateContainerLivenessProbePtrOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutput() JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbePtrOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbePtrOutput) ToJobTemplateTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbePtrOutput

func (JobTemplateTemplateContainerLivenessProbePtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeTcpSocket

type JobTemplateTemplateContainerLivenessProbeTcpSocket struct {
	// Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.
	Port *int `pulumi:"port"`
}

type JobTemplateTemplateContainerLivenessProbeTcpSocketArgs

type JobTemplateTemplateContainerLivenessProbeTcpSocketArgs struct {
	// Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ElementType

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (i JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput() JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (i JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeTcpSocketInput

type JobTemplateTemplateContainerLivenessProbeTcpSocketInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutput() JobTemplateTemplateContainerLivenessProbeTcpSocketOutput
	ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketOutput
}

JobTemplateTemplateContainerLivenessProbeTcpSocketInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeTcpSocketArgs and JobTemplateTemplateContainerLivenessProbeTcpSocketOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeTcpSocketInput` via:

JobTemplateTemplateContainerLivenessProbeTcpSocketArgs{...}

type JobTemplateTemplateContainerLivenessProbeTcpSocketOutput

type JobTemplateTemplateContainerLivenessProbeTcpSocketOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerLivenessProbeTcpSocketPtrInput

type JobTemplateTemplateContainerLivenessProbeTcpSocketPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput() JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput
	ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput
}

JobTemplateTemplateContainerLivenessProbeTcpSocketPtrInput is an input type that accepts JobTemplateTemplateContainerLivenessProbeTcpSocketArgs, JobTemplateTemplateContainerLivenessProbeTcpSocketPtr and JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerLivenessProbeTcpSocketPtrInput` via:

        JobTemplateTemplateContainerLivenessProbeTcpSocketArgs{...}

or:

        nil

type JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

type JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) Elem

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) ElementType

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (o JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerLivenessProbeTcpSocketPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerOutput

type JobTemplateTemplateContainerOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerOutput) Args

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (JobTemplateTemplateContainerOutput) Commands

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (JobTemplateTemplateContainerOutput) ElementType

func (JobTemplateTemplateContainerOutput) Envs

List of environment variables to set in the container. Structure is documented below.

func (JobTemplateTemplateContainerOutput) Image

URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images

func (JobTemplateTemplateContainerOutput) LivenessProbe deprecated

(Optional, Deprecated) Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes This field is not supported in Cloud Run Job currently. Structure is documented below.

> **Warning:** `livenessProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

Deprecated: `liveness_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

func (JobTemplateTemplateContainerOutput) Name

Name of the container specified as a DNS_LABEL.

func (JobTemplateTemplateContainerOutput) Ports

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

func (JobTemplateTemplateContainerOutput) Resources

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

func (JobTemplateTemplateContainerOutput) StartupProbe deprecated

(Optional, Deprecated) Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes This field is not supported in Cloud Run Job currently. Structure is documented below.

> **Warning:** `startupProbe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

Deprecated: `startup_probe` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

func (JobTemplateTemplateContainerOutput) ToJobTemplateTemplateContainerOutput

func (o JobTemplateTemplateContainerOutput) ToJobTemplateTemplateContainerOutput() JobTemplateTemplateContainerOutput

func (JobTemplateTemplateContainerOutput) ToJobTemplateTemplateContainerOutputWithContext

func (o JobTemplateTemplateContainerOutput) ToJobTemplateTemplateContainerOutputWithContext(ctx context.Context) JobTemplateTemplateContainerOutput

func (JobTemplateTemplateContainerOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerOutput) VolumeMounts

Volume to mount into the container's filesystem. Structure is documented below.

func (JobTemplateTemplateContainerOutput) WorkingDir

Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

type JobTemplateTemplateContainerPort

type JobTemplateTemplateContainerPort struct {
	// Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
	ContainerPort *int `pulumi:"containerPort"`
	// If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
	Name *string `pulumi:"name"`
}

type JobTemplateTemplateContainerPortArgs

type JobTemplateTemplateContainerPortArgs struct {
	// Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
	ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"`
	// If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (JobTemplateTemplateContainerPortArgs) ElementType

func (JobTemplateTemplateContainerPortArgs) ToJobTemplateTemplateContainerPortOutput

func (i JobTemplateTemplateContainerPortArgs) ToJobTemplateTemplateContainerPortOutput() JobTemplateTemplateContainerPortOutput

func (JobTemplateTemplateContainerPortArgs) ToJobTemplateTemplateContainerPortOutputWithContext

func (i JobTemplateTemplateContainerPortArgs) ToJobTemplateTemplateContainerPortOutputWithContext(ctx context.Context) JobTemplateTemplateContainerPortOutput

func (JobTemplateTemplateContainerPortArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerPortArray

type JobTemplateTemplateContainerPortArray []JobTemplateTemplateContainerPortInput

func (JobTemplateTemplateContainerPortArray) ElementType

func (JobTemplateTemplateContainerPortArray) ToJobTemplateTemplateContainerPortArrayOutput

func (i JobTemplateTemplateContainerPortArray) ToJobTemplateTemplateContainerPortArrayOutput() JobTemplateTemplateContainerPortArrayOutput

func (JobTemplateTemplateContainerPortArray) ToJobTemplateTemplateContainerPortArrayOutputWithContext

func (i JobTemplateTemplateContainerPortArray) ToJobTemplateTemplateContainerPortArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerPortArrayOutput

func (JobTemplateTemplateContainerPortArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerPortArrayInput

type JobTemplateTemplateContainerPortArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerPortArrayOutput() JobTemplateTemplateContainerPortArrayOutput
	ToJobTemplateTemplateContainerPortArrayOutputWithContext(context.Context) JobTemplateTemplateContainerPortArrayOutput
}

JobTemplateTemplateContainerPortArrayInput is an input type that accepts JobTemplateTemplateContainerPortArray and JobTemplateTemplateContainerPortArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerPortArrayInput` via:

JobTemplateTemplateContainerPortArray{ JobTemplateTemplateContainerPortArgs{...} }

type JobTemplateTemplateContainerPortArrayOutput

type JobTemplateTemplateContainerPortArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerPortArrayOutput) ElementType

func (JobTemplateTemplateContainerPortArrayOutput) Index

func (JobTemplateTemplateContainerPortArrayOutput) ToJobTemplateTemplateContainerPortArrayOutput

func (o JobTemplateTemplateContainerPortArrayOutput) ToJobTemplateTemplateContainerPortArrayOutput() JobTemplateTemplateContainerPortArrayOutput

func (JobTemplateTemplateContainerPortArrayOutput) ToJobTemplateTemplateContainerPortArrayOutputWithContext

func (o JobTemplateTemplateContainerPortArrayOutput) ToJobTemplateTemplateContainerPortArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerPortArrayOutput

func (JobTemplateTemplateContainerPortArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerPortInput

type JobTemplateTemplateContainerPortInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerPortOutput() JobTemplateTemplateContainerPortOutput
	ToJobTemplateTemplateContainerPortOutputWithContext(context.Context) JobTemplateTemplateContainerPortOutput
}

JobTemplateTemplateContainerPortInput is an input type that accepts JobTemplateTemplateContainerPortArgs and JobTemplateTemplateContainerPortOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerPortInput` via:

JobTemplateTemplateContainerPortArgs{...}

type JobTemplateTemplateContainerPortOutput

type JobTemplateTemplateContainerPortOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerPortOutput) ContainerPort

Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.

func (JobTemplateTemplateContainerPortOutput) ElementType

func (JobTemplateTemplateContainerPortOutput) Name

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

func (JobTemplateTemplateContainerPortOutput) ToJobTemplateTemplateContainerPortOutput

func (o JobTemplateTemplateContainerPortOutput) ToJobTemplateTemplateContainerPortOutput() JobTemplateTemplateContainerPortOutput

func (JobTemplateTemplateContainerPortOutput) ToJobTemplateTemplateContainerPortOutputWithContext

func (o JobTemplateTemplateContainerPortOutput) ToJobTemplateTemplateContainerPortOutputWithContext(ctx context.Context) JobTemplateTemplateContainerPortOutput

func (JobTemplateTemplateContainerPortOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerResources

type JobTemplateTemplateContainerResources struct {
	// Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
	Limits map[string]string `pulumi:"limits"`
}

type JobTemplateTemplateContainerResourcesArgs

type JobTemplateTemplateContainerResourcesArgs struct {
	// Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
	Limits pulumi.StringMapInput `pulumi:"limits"`
}

func (JobTemplateTemplateContainerResourcesArgs) ElementType

func (JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesOutput

func (i JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesOutput() JobTemplateTemplateContainerResourcesOutput

func (JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesOutputWithContext

func (i JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesOutputWithContext(ctx context.Context) JobTemplateTemplateContainerResourcesOutput

func (JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesPtrOutput

func (i JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesPtrOutput() JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext

func (i JobTemplateTemplateContainerResourcesArgs) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerResourcesInput

type JobTemplateTemplateContainerResourcesInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerResourcesOutput() JobTemplateTemplateContainerResourcesOutput
	ToJobTemplateTemplateContainerResourcesOutputWithContext(context.Context) JobTemplateTemplateContainerResourcesOutput
}

JobTemplateTemplateContainerResourcesInput is an input type that accepts JobTemplateTemplateContainerResourcesArgs and JobTemplateTemplateContainerResourcesOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerResourcesInput` via:

JobTemplateTemplateContainerResourcesArgs{...}

type JobTemplateTemplateContainerResourcesOutput

type JobTemplateTemplateContainerResourcesOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerResourcesOutput) ElementType

func (JobTemplateTemplateContainerResourcesOutput) Limits

Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

func (JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesOutput

func (o JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesOutput() JobTemplateTemplateContainerResourcesOutput

func (JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesOutputWithContext

func (o JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesOutputWithContext(ctx context.Context) JobTemplateTemplateContainerResourcesOutput

func (JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesPtrOutput

func (o JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesPtrOutput() JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext

func (o JobTemplateTemplateContainerResourcesOutput) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerResourcesPtrInput

type JobTemplateTemplateContainerResourcesPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerResourcesPtrOutput() JobTemplateTemplateContainerResourcesPtrOutput
	ToJobTemplateTemplateContainerResourcesPtrOutputWithContext(context.Context) JobTemplateTemplateContainerResourcesPtrOutput
}

JobTemplateTemplateContainerResourcesPtrInput is an input type that accepts JobTemplateTemplateContainerResourcesArgs, JobTemplateTemplateContainerResourcesPtr and JobTemplateTemplateContainerResourcesPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerResourcesPtrInput` via:

        JobTemplateTemplateContainerResourcesArgs{...}

or:

        nil

type JobTemplateTemplateContainerResourcesPtrOutput

type JobTemplateTemplateContainerResourcesPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerResourcesPtrOutput) Elem

func (JobTemplateTemplateContainerResourcesPtrOutput) ElementType

func (JobTemplateTemplateContainerResourcesPtrOutput) Limits

Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

func (JobTemplateTemplateContainerResourcesPtrOutput) ToJobTemplateTemplateContainerResourcesPtrOutput

func (o JobTemplateTemplateContainerResourcesPtrOutput) ToJobTemplateTemplateContainerResourcesPtrOutput() JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesPtrOutput) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext

func (o JobTemplateTemplateContainerResourcesPtrOutput) ToJobTemplateTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerResourcesPtrOutput

func (JobTemplateTemplateContainerResourcesPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbe

type JobTemplateTemplateContainerStartupProbe struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet *JobTemplateTemplateContainerStartupProbeHttpGet `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket *JobTemplateTemplateContainerStartupProbeTcpSocket `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type JobTemplateTemplateContainerStartupProbeArgs

type JobTemplateTemplateContainerStartupProbeArgs struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet JobTemplateTemplateContainerStartupProbeHttpGetPtrInput `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket JobTemplateTemplateContainerStartupProbeTcpSocketPtrInput `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (JobTemplateTemplateContainerStartupProbeArgs) ElementType

func (JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbeOutput

func (i JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbeOutput() JobTemplateTemplateContainerStartupProbeOutput

func (JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbeOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbeOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeOutput

func (JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbePtrOutput

func (i JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbePtrOutput() JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeArgs) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbeArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGet

type JobTemplateTemplateContainerStartupProbeHttpGet struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders []JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path *string `pulumi:"path"`
}

type JobTemplateTemplateContainerStartupProbeHttpGetArgs

type JobTemplateTemplateContainerStartupProbeHttpGetArgs struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetOutput

func (i JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetOutput() JobTemplateTemplateContainerStartupProbeHttpGetOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (i JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput() JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeader struct {
	// The header field name
	Name string `pulumi:"name"`
	// The header field value
	Value *string `pulumi:"value"`
}

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs struct {
	// The header field name
	Name pulumi.StringInput `pulumi:"name"`
	// The header field value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray []JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderInput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput() JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput
	ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput
}

JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput is an input type that accepts JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray and JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput` via:

JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArray{ JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs{...} }

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderInput

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput() JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput
	ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput
}

JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderInput is an input type that accepts JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs and JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderInput` via:

JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs{...}

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput

type JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) Name

The header field name

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderOutput) Value

The header field value

type JobTemplateTemplateContainerStartupProbeHttpGetInput

type JobTemplateTemplateContainerStartupProbeHttpGetInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeHttpGetOutput() JobTemplateTemplateContainerStartupProbeHttpGetOutput
	ToJobTemplateTemplateContainerStartupProbeHttpGetOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeHttpGetOutput
}

JobTemplateTemplateContainerStartupProbeHttpGetInput is an input type that accepts JobTemplateTemplateContainerStartupProbeHttpGetArgs and JobTemplateTemplateContainerStartupProbeHttpGetOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeHttpGetInput` via:

JobTemplateTemplateContainerStartupProbeHttpGetArgs{...}

type JobTemplateTemplateContainerStartupProbeHttpGetOutput

type JobTemplateTemplateContainerStartupProbeHttpGetOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (o JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput() JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeHttpGetPtrInput

type JobTemplateTemplateContainerStartupProbeHttpGetPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput() JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput
	ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput
}

JobTemplateTemplateContainerStartupProbeHttpGetPtrInput is an input type that accepts JobTemplateTemplateContainerStartupProbeHttpGetArgs, JobTemplateTemplateContainerStartupProbeHttpGetPtr and JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeHttpGetPtrInput` via:

        JobTemplateTemplateContainerStartupProbeHttpGetArgs{...}

or:

        nil

type JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

type JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) Elem

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) ToJobTemplateTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput

func (JobTemplateTemplateContainerStartupProbeHttpGetPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeInput

type JobTemplateTemplateContainerStartupProbeInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeOutput() JobTemplateTemplateContainerStartupProbeOutput
	ToJobTemplateTemplateContainerStartupProbeOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeOutput
}

JobTemplateTemplateContainerStartupProbeInput is an input type that accepts JobTemplateTemplateContainerStartupProbeArgs and JobTemplateTemplateContainerStartupProbeOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeInput` via:

JobTemplateTemplateContainerStartupProbeArgs{...}

type JobTemplateTemplateContainerStartupProbeOutput

type JobTemplateTemplateContainerStartupProbeOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (JobTemplateTemplateContainerStartupProbeOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbeOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerStartupProbeOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (JobTemplateTemplateContainerStartupProbeOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbeOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbeOutput

func (o JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbeOutput() JobTemplateTemplateContainerStartupProbeOutput

func (JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbeOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbeOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeOutput

func (JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbePtrOutput

func (o JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbePtrOutput() JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeOutput) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbeOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbePtrInput

type JobTemplateTemplateContainerStartupProbePtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbePtrOutput() JobTemplateTemplateContainerStartupProbePtrOutput
	ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbePtrOutput
}

JobTemplateTemplateContainerStartupProbePtrInput is an input type that accepts JobTemplateTemplateContainerStartupProbeArgs, JobTemplateTemplateContainerStartupProbePtr and JobTemplateTemplateContainerStartupProbePtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbePtrInput` via:

        JobTemplateTemplateContainerStartupProbeArgs{...}

or:

        nil

type JobTemplateTemplateContainerStartupProbePtrOutput

type JobTemplateTemplateContainerStartupProbePtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbePtrOutput) Elem

func (JobTemplateTemplateContainerStartupProbePtrOutput) ElementType

func (JobTemplateTemplateContainerStartupProbePtrOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (JobTemplateTemplateContainerStartupProbePtrOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbePtrOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerStartupProbePtrOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (JobTemplateTemplateContainerStartupProbePtrOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (JobTemplateTemplateContainerStartupProbePtrOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (JobTemplateTemplateContainerStartupProbePtrOutput) ToJobTemplateTemplateContainerStartupProbePtrOutput

func (o JobTemplateTemplateContainerStartupProbePtrOutput) ToJobTemplateTemplateContainerStartupProbePtrOutput() JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbePtrOutput) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbePtrOutput) ToJobTemplateTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbePtrOutput

func (JobTemplateTemplateContainerStartupProbePtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeTcpSocket

type JobTemplateTemplateContainerStartupProbeTcpSocket struct {
	// Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.
	Port *int `pulumi:"port"`
}

type JobTemplateTemplateContainerStartupProbeTcpSocketArgs

type JobTemplateTemplateContainerStartupProbeTcpSocketArgs struct {
	// Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ElementType

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutput

func (i JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutput() JobTemplateTemplateContainerStartupProbeTcpSocketOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (i JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput() JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (i JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeTcpSocketInput

type JobTemplateTemplateContainerStartupProbeTcpSocketInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeTcpSocketOutput() JobTemplateTemplateContainerStartupProbeTcpSocketOutput
	ToJobTemplateTemplateContainerStartupProbeTcpSocketOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketOutput
}

JobTemplateTemplateContainerStartupProbeTcpSocketInput is an input type that accepts JobTemplateTemplateContainerStartupProbeTcpSocketArgs and JobTemplateTemplateContainerStartupProbeTcpSocketOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeTcpSocketInput` via:

JobTemplateTemplateContainerStartupProbeTcpSocketArgs{...}

type JobTemplateTemplateContainerStartupProbeTcpSocketOutput

type JobTemplateTemplateContainerStartupProbeTcpSocketOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerStartupProbeTcpSocketPtrInput

type JobTemplateTemplateContainerStartupProbeTcpSocketPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput() JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput
	ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput
}

JobTemplateTemplateContainerStartupProbeTcpSocketPtrInput is an input type that accepts JobTemplateTemplateContainerStartupProbeTcpSocketArgs, JobTemplateTemplateContainerStartupProbeTcpSocketPtr and JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerStartupProbeTcpSocketPtrInput` via:

        JobTemplateTemplateContainerStartupProbeTcpSocketArgs{...}

or:

        nil

type JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

type JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) Elem

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) ElementType

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to 8080.

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (o JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) ToJobTemplateTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput

func (JobTemplateTemplateContainerStartupProbeTcpSocketPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerVolumeMount

type JobTemplateTemplateContainerVolumeMount struct {
	// Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
	MountPath string `pulumi:"mountPath"`
	// This must match the Name of a Volume.
	Name string `pulumi:"name"`
}

type JobTemplateTemplateContainerVolumeMountArgs

type JobTemplateTemplateContainerVolumeMountArgs struct {
	// Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
	MountPath pulumi.StringInput `pulumi:"mountPath"`
	// This must match the Name of a Volume.
	Name pulumi.StringInput `pulumi:"name"`
}

func (JobTemplateTemplateContainerVolumeMountArgs) ElementType

func (JobTemplateTemplateContainerVolumeMountArgs) ToJobTemplateTemplateContainerVolumeMountOutput

func (i JobTemplateTemplateContainerVolumeMountArgs) ToJobTemplateTemplateContainerVolumeMountOutput() JobTemplateTemplateContainerVolumeMountOutput

func (JobTemplateTemplateContainerVolumeMountArgs) ToJobTemplateTemplateContainerVolumeMountOutputWithContext

func (i JobTemplateTemplateContainerVolumeMountArgs) ToJobTemplateTemplateContainerVolumeMountOutputWithContext(ctx context.Context) JobTemplateTemplateContainerVolumeMountOutput

func (JobTemplateTemplateContainerVolumeMountArgs) ToOutput added in v6.65.1

type JobTemplateTemplateContainerVolumeMountArray

type JobTemplateTemplateContainerVolumeMountArray []JobTemplateTemplateContainerVolumeMountInput

func (JobTemplateTemplateContainerVolumeMountArray) ElementType

func (JobTemplateTemplateContainerVolumeMountArray) ToJobTemplateTemplateContainerVolumeMountArrayOutput

func (i JobTemplateTemplateContainerVolumeMountArray) ToJobTemplateTemplateContainerVolumeMountArrayOutput() JobTemplateTemplateContainerVolumeMountArrayOutput

func (JobTemplateTemplateContainerVolumeMountArray) ToJobTemplateTemplateContainerVolumeMountArrayOutputWithContext

func (i JobTemplateTemplateContainerVolumeMountArray) ToJobTemplateTemplateContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerVolumeMountArrayOutput

func (JobTemplateTemplateContainerVolumeMountArray) ToOutput added in v6.65.1

type JobTemplateTemplateContainerVolumeMountArrayInput

type JobTemplateTemplateContainerVolumeMountArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerVolumeMountArrayOutput() JobTemplateTemplateContainerVolumeMountArrayOutput
	ToJobTemplateTemplateContainerVolumeMountArrayOutputWithContext(context.Context) JobTemplateTemplateContainerVolumeMountArrayOutput
}

JobTemplateTemplateContainerVolumeMountArrayInput is an input type that accepts JobTemplateTemplateContainerVolumeMountArray and JobTemplateTemplateContainerVolumeMountArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerVolumeMountArrayInput` via:

JobTemplateTemplateContainerVolumeMountArray{ JobTemplateTemplateContainerVolumeMountArgs{...} }

type JobTemplateTemplateContainerVolumeMountArrayOutput

type JobTemplateTemplateContainerVolumeMountArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerVolumeMountArrayOutput) ElementType

func (JobTemplateTemplateContainerVolumeMountArrayOutput) Index

func (JobTemplateTemplateContainerVolumeMountArrayOutput) ToJobTemplateTemplateContainerVolumeMountArrayOutput

func (o JobTemplateTemplateContainerVolumeMountArrayOutput) ToJobTemplateTemplateContainerVolumeMountArrayOutput() JobTemplateTemplateContainerVolumeMountArrayOutput

func (JobTemplateTemplateContainerVolumeMountArrayOutput) ToJobTemplateTemplateContainerVolumeMountArrayOutputWithContext

func (o JobTemplateTemplateContainerVolumeMountArrayOutput) ToJobTemplateTemplateContainerVolumeMountArrayOutputWithContext(ctx context.Context) JobTemplateTemplateContainerVolumeMountArrayOutput

func (JobTemplateTemplateContainerVolumeMountArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateContainerVolumeMountInput

type JobTemplateTemplateContainerVolumeMountInput interface {
	pulumi.Input

	ToJobTemplateTemplateContainerVolumeMountOutput() JobTemplateTemplateContainerVolumeMountOutput
	ToJobTemplateTemplateContainerVolumeMountOutputWithContext(context.Context) JobTemplateTemplateContainerVolumeMountOutput
}

JobTemplateTemplateContainerVolumeMountInput is an input type that accepts JobTemplateTemplateContainerVolumeMountArgs and JobTemplateTemplateContainerVolumeMountOutput values. You can construct a concrete instance of `JobTemplateTemplateContainerVolumeMountInput` via:

JobTemplateTemplateContainerVolumeMountArgs{...}

type JobTemplateTemplateContainerVolumeMountOutput

type JobTemplateTemplateContainerVolumeMountOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateContainerVolumeMountOutput) ElementType

func (JobTemplateTemplateContainerVolumeMountOutput) MountPath

Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run

func (JobTemplateTemplateContainerVolumeMountOutput) Name

This must match the Name of a Volume.

func (JobTemplateTemplateContainerVolumeMountOutput) ToJobTemplateTemplateContainerVolumeMountOutput

func (o JobTemplateTemplateContainerVolumeMountOutput) ToJobTemplateTemplateContainerVolumeMountOutput() JobTemplateTemplateContainerVolumeMountOutput

func (JobTemplateTemplateContainerVolumeMountOutput) ToJobTemplateTemplateContainerVolumeMountOutputWithContext

func (o JobTemplateTemplateContainerVolumeMountOutput) ToJobTemplateTemplateContainerVolumeMountOutputWithContext(ctx context.Context) JobTemplateTemplateContainerVolumeMountOutput

func (JobTemplateTemplateContainerVolumeMountOutput) ToOutput added in v6.65.1

type JobTemplateTemplateInput

type JobTemplateTemplateInput interface {
	pulumi.Input

	ToJobTemplateTemplateOutput() JobTemplateTemplateOutput
	ToJobTemplateTemplateOutputWithContext(context.Context) JobTemplateTemplateOutput
}

JobTemplateTemplateInput is an input type that accepts JobTemplateTemplateArgs and JobTemplateTemplateOutput values. You can construct a concrete instance of `JobTemplateTemplateInput` via:

JobTemplateTemplateArgs{...}

type JobTemplateTemplateOutput

type JobTemplateTemplateOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateOutput) Containers

Holds the single container that defines the unit of execution for this task. Structure is documented below.

func (JobTemplateTemplateOutput) ElementType

func (JobTemplateTemplateOutput) ElementType() reflect.Type

func (JobTemplateTemplateOutput) EncryptionKey

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

func (JobTemplateTemplateOutput) ExecutionEnvironment

func (o JobTemplateTemplateOutput) ExecutionEnvironment() pulumi.StringPtrOutput

The execution environment being used to host this Task. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.

func (JobTemplateTemplateOutput) MaxRetries

Number of retries allowed per Task, before marking this Task failed.

func (JobTemplateTemplateOutput) ServiceAccount

Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.

func (JobTemplateTemplateOutput) Timeout

Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

func (JobTemplateTemplateOutput) ToJobTemplateTemplateOutput

func (o JobTemplateTemplateOutput) ToJobTemplateTemplateOutput() JobTemplateTemplateOutput

func (JobTemplateTemplateOutput) ToJobTemplateTemplateOutputWithContext

func (o JobTemplateTemplateOutput) ToJobTemplateTemplateOutputWithContext(ctx context.Context) JobTemplateTemplateOutput

func (JobTemplateTemplateOutput) ToJobTemplateTemplatePtrOutput

func (o JobTemplateTemplateOutput) ToJobTemplateTemplatePtrOutput() JobTemplateTemplatePtrOutput

func (JobTemplateTemplateOutput) ToJobTemplateTemplatePtrOutputWithContext

func (o JobTemplateTemplateOutput) ToJobTemplateTemplatePtrOutputWithContext(ctx context.Context) JobTemplateTemplatePtrOutput

func (JobTemplateTemplateOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateOutput) Volumes

A list of Volumes to make available to containers. Structure is documented below.

func (JobTemplateTemplateOutput) VpcAccess

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

type JobTemplateTemplatePtrInput

type JobTemplateTemplatePtrInput interface {
	pulumi.Input

	ToJobTemplateTemplatePtrOutput() JobTemplateTemplatePtrOutput
	ToJobTemplateTemplatePtrOutputWithContext(context.Context) JobTemplateTemplatePtrOutput
}

JobTemplateTemplatePtrInput is an input type that accepts JobTemplateTemplateArgs, JobTemplateTemplatePtr and JobTemplateTemplatePtrOutput values. You can construct a concrete instance of `JobTemplateTemplatePtrInput` via:

        JobTemplateTemplateArgs{...}

or:

        nil

type JobTemplateTemplatePtrOutput

type JobTemplateTemplatePtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplatePtrOutput) Containers

Holds the single container that defines the unit of execution for this task. Structure is documented below.

func (JobTemplateTemplatePtrOutput) Elem

func (JobTemplateTemplatePtrOutput) ElementType

func (JobTemplateTemplatePtrOutput) EncryptionKey

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

func (JobTemplateTemplatePtrOutput) ExecutionEnvironment

func (o JobTemplateTemplatePtrOutput) ExecutionEnvironment() pulumi.StringPtrOutput

The execution environment being used to host this Task. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.

func (JobTemplateTemplatePtrOutput) MaxRetries

Number of retries allowed per Task, before marking this Task failed.

func (JobTemplateTemplatePtrOutput) ServiceAccount

Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.

func (JobTemplateTemplatePtrOutput) Timeout

Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

func (JobTemplateTemplatePtrOutput) ToJobTemplateTemplatePtrOutput

func (o JobTemplateTemplatePtrOutput) ToJobTemplateTemplatePtrOutput() JobTemplateTemplatePtrOutput

func (JobTemplateTemplatePtrOutput) ToJobTemplateTemplatePtrOutputWithContext

func (o JobTemplateTemplatePtrOutput) ToJobTemplateTemplatePtrOutputWithContext(ctx context.Context) JobTemplateTemplatePtrOutput

func (JobTemplateTemplatePtrOutput) ToOutput added in v6.65.1

func (JobTemplateTemplatePtrOutput) Volumes

A list of Volumes to make available to containers. Structure is documented below.

func (JobTemplateTemplatePtrOutput) VpcAccess

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

type JobTemplateTemplateVolume

type JobTemplateTemplateVolume struct {
	// For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
	// Structure is documented below.
	CloudSqlInstance *JobTemplateTemplateVolumeCloudSqlInstance `pulumi:"cloudSqlInstance"`
	EmptyDir         *JobTemplateTemplateVolumeEmptyDir         `pulumi:"emptyDir"`
	// Volume's name.
	Name string `pulumi:"name"`
	// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// Structure is documented below.
	Secret *JobTemplateTemplateVolumeSecret `pulumi:"secret"`
}

type JobTemplateTemplateVolumeArgs

type JobTemplateTemplateVolumeArgs struct {
	// For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
	// Structure is documented below.
	CloudSqlInstance JobTemplateTemplateVolumeCloudSqlInstancePtrInput `pulumi:"cloudSqlInstance"`
	EmptyDir         JobTemplateTemplateVolumeEmptyDirPtrInput         `pulumi:"emptyDir"`
	// Volume's name.
	Name pulumi.StringInput `pulumi:"name"`
	// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// Structure is documented below.
	Secret JobTemplateTemplateVolumeSecretPtrInput `pulumi:"secret"`
}

func (JobTemplateTemplateVolumeArgs) ElementType

func (JobTemplateTemplateVolumeArgs) ToJobTemplateTemplateVolumeOutput

func (i JobTemplateTemplateVolumeArgs) ToJobTemplateTemplateVolumeOutput() JobTemplateTemplateVolumeOutput

func (JobTemplateTemplateVolumeArgs) ToJobTemplateTemplateVolumeOutputWithContext

func (i JobTemplateTemplateVolumeArgs) ToJobTemplateTemplateVolumeOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeOutput

func (JobTemplateTemplateVolumeArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeArray

type JobTemplateTemplateVolumeArray []JobTemplateTemplateVolumeInput

func (JobTemplateTemplateVolumeArray) ElementType

func (JobTemplateTemplateVolumeArray) ToJobTemplateTemplateVolumeArrayOutput

func (i JobTemplateTemplateVolumeArray) ToJobTemplateTemplateVolumeArrayOutput() JobTemplateTemplateVolumeArrayOutput

func (JobTemplateTemplateVolumeArray) ToJobTemplateTemplateVolumeArrayOutputWithContext

func (i JobTemplateTemplateVolumeArray) ToJobTemplateTemplateVolumeArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeArrayOutput

func (JobTemplateTemplateVolumeArray) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeArrayInput

type JobTemplateTemplateVolumeArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeArrayOutput() JobTemplateTemplateVolumeArrayOutput
	ToJobTemplateTemplateVolumeArrayOutputWithContext(context.Context) JobTemplateTemplateVolumeArrayOutput
}

JobTemplateTemplateVolumeArrayInput is an input type that accepts JobTemplateTemplateVolumeArray and JobTemplateTemplateVolumeArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeArrayInput` via:

JobTemplateTemplateVolumeArray{ JobTemplateTemplateVolumeArgs{...} }

type JobTemplateTemplateVolumeArrayOutput

type JobTemplateTemplateVolumeArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeArrayOutput) ElementType

func (JobTemplateTemplateVolumeArrayOutput) Index

func (JobTemplateTemplateVolumeArrayOutput) ToJobTemplateTemplateVolumeArrayOutput

func (o JobTemplateTemplateVolumeArrayOutput) ToJobTemplateTemplateVolumeArrayOutput() JobTemplateTemplateVolumeArrayOutput

func (JobTemplateTemplateVolumeArrayOutput) ToJobTemplateTemplateVolumeArrayOutputWithContext

func (o JobTemplateTemplateVolumeArrayOutput) ToJobTemplateTemplateVolumeArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeArrayOutput

func (JobTemplateTemplateVolumeArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeCloudSqlInstance

type JobTemplateTemplateVolumeCloudSqlInstance struct {
	// The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
	Instances []string `pulumi:"instances"`
}

type JobTemplateTemplateVolumeCloudSqlInstanceArgs

type JobTemplateTemplateVolumeCloudSqlInstanceArgs struct {
	// The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
	Instances pulumi.StringArrayInput `pulumi:"instances"`
}

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ElementType

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstanceOutput

func (i JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstanceOutput() JobTemplateTemplateVolumeCloudSqlInstanceOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstanceOutputWithContext

func (i JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstanceOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeCloudSqlInstanceOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (i JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput() JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (i JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeCloudSqlInstanceInput

type JobTemplateTemplateVolumeCloudSqlInstanceInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeCloudSqlInstanceOutput() JobTemplateTemplateVolumeCloudSqlInstanceOutput
	ToJobTemplateTemplateVolumeCloudSqlInstanceOutputWithContext(context.Context) JobTemplateTemplateVolumeCloudSqlInstanceOutput
}

JobTemplateTemplateVolumeCloudSqlInstanceInput is an input type that accepts JobTemplateTemplateVolumeCloudSqlInstanceArgs and JobTemplateTemplateVolumeCloudSqlInstanceOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeCloudSqlInstanceInput` via:

JobTemplateTemplateVolumeCloudSqlInstanceArgs{...}

type JobTemplateTemplateVolumeCloudSqlInstanceOutput

type JobTemplateTemplateVolumeCloudSqlInstanceOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ElementType

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) Instances

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstanceOutput

func (o JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstanceOutput() JobTemplateTemplateVolumeCloudSqlInstanceOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstanceOutputWithContext

func (o JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstanceOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeCloudSqlInstanceOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (o JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput() JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (o JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstanceOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeCloudSqlInstancePtrInput

type JobTemplateTemplateVolumeCloudSqlInstancePtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput() JobTemplateTemplateVolumeCloudSqlInstancePtrOutput
	ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext(context.Context) JobTemplateTemplateVolumeCloudSqlInstancePtrOutput
}

JobTemplateTemplateVolumeCloudSqlInstancePtrInput is an input type that accepts JobTemplateTemplateVolumeCloudSqlInstanceArgs, JobTemplateTemplateVolumeCloudSqlInstancePtr and JobTemplateTemplateVolumeCloudSqlInstancePtrOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeCloudSqlInstancePtrInput` via:

        JobTemplateTemplateVolumeCloudSqlInstanceArgs{...}

or:

        nil

type JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

type JobTemplateTemplateVolumeCloudSqlInstancePtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) Elem

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ElementType

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) Instances

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (o JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutput() JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (o JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ToJobTemplateTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeCloudSqlInstancePtrOutput

func (JobTemplateTemplateVolumeCloudSqlInstancePtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeEmptyDir added in v6.56.0

type JobTemplateTemplateVolumeEmptyDir struct {
	// The different types of medium supported for EmptyDir.
	// Default value is `MEMORY`.
	// Possible values are: `MEMORY`.
	Medium *string `pulumi:"medium"`
	// Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
	SizeLimit *string `pulumi:"sizeLimit"`
}

type JobTemplateTemplateVolumeEmptyDirArgs added in v6.56.0

type JobTemplateTemplateVolumeEmptyDirArgs struct {
	// The different types of medium supported for EmptyDir.
	// Default value is `MEMORY`.
	// Possible values are: `MEMORY`.
	Medium pulumi.StringPtrInput `pulumi:"medium"`
	// Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
	SizeLimit pulumi.StringPtrInput `pulumi:"sizeLimit"`
}

func (JobTemplateTemplateVolumeEmptyDirArgs) ElementType added in v6.56.0

func (JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirOutput added in v6.56.0

func (i JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirOutput() JobTemplateTemplateVolumeEmptyDirOutput

func (JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirOutputWithContext added in v6.56.0

func (i JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeEmptyDirOutput

func (JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (i JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirPtrOutput() JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (i JobTemplateTemplateVolumeEmptyDirArgs) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeEmptyDirInput added in v6.56.0

type JobTemplateTemplateVolumeEmptyDirInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeEmptyDirOutput() JobTemplateTemplateVolumeEmptyDirOutput
	ToJobTemplateTemplateVolumeEmptyDirOutputWithContext(context.Context) JobTemplateTemplateVolumeEmptyDirOutput
}

JobTemplateTemplateVolumeEmptyDirInput is an input type that accepts JobTemplateTemplateVolumeEmptyDirArgs and JobTemplateTemplateVolumeEmptyDirOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeEmptyDirInput` via:

JobTemplateTemplateVolumeEmptyDirArgs{...}

type JobTemplateTemplateVolumeEmptyDirOutput added in v6.56.0

type JobTemplateTemplateVolumeEmptyDirOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeEmptyDirOutput) ElementType added in v6.56.0

func (JobTemplateTemplateVolumeEmptyDirOutput) Medium added in v6.56.0

The different types of medium supported for EmptyDir. Default value is `MEMORY`. Possible values are: `MEMORY`.

func (JobTemplateTemplateVolumeEmptyDirOutput) SizeLimit added in v6.56.0

Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

func (JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirOutput added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirOutput() JobTemplateTemplateVolumeEmptyDirOutput

func (JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirOutputWithContext added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeEmptyDirOutput

func (JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutput() JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeEmptyDirPtrInput added in v6.56.0

type JobTemplateTemplateVolumeEmptyDirPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeEmptyDirPtrOutput() JobTemplateTemplateVolumeEmptyDirPtrOutput
	ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext(context.Context) JobTemplateTemplateVolumeEmptyDirPtrOutput
}

JobTemplateTemplateVolumeEmptyDirPtrInput is an input type that accepts JobTemplateTemplateVolumeEmptyDirArgs, JobTemplateTemplateVolumeEmptyDirPtr and JobTemplateTemplateVolumeEmptyDirPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeEmptyDirPtrInput` via:

        JobTemplateTemplateVolumeEmptyDirArgs{...}

or:

        nil

type JobTemplateTemplateVolumeEmptyDirPtrOutput added in v6.56.0

type JobTemplateTemplateVolumeEmptyDirPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) Elem added in v6.56.0

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) ElementType added in v6.56.0

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) Medium added in v6.56.0

The different types of medium supported for EmptyDir. Default value is `MEMORY`. Possible values are: `MEMORY`.

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) SizeLimit added in v6.56.0

Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirPtrOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutput() JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (o JobTemplateTemplateVolumeEmptyDirPtrOutput) ToJobTemplateTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeEmptyDirPtrOutput

func (JobTemplateTemplateVolumeEmptyDirPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeInput

type JobTemplateTemplateVolumeInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeOutput() JobTemplateTemplateVolumeOutput
	ToJobTemplateTemplateVolumeOutputWithContext(context.Context) JobTemplateTemplateVolumeOutput
}

JobTemplateTemplateVolumeInput is an input type that accepts JobTemplateTemplateVolumeArgs and JobTemplateTemplateVolumeOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeInput` via:

JobTemplateTemplateVolumeArgs{...}

type JobTemplateTemplateVolumeOutput

type JobTemplateTemplateVolumeOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeOutput) CloudSqlInstance

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Structure is documented below.

func (JobTemplateTemplateVolumeOutput) ElementType

func (JobTemplateTemplateVolumeOutput) EmptyDir added in v6.56.0

func (JobTemplateTemplateVolumeOutput) Name

Volume's name.

func (JobTemplateTemplateVolumeOutput) Secret

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.

func (JobTemplateTemplateVolumeOutput) ToJobTemplateTemplateVolumeOutput

func (o JobTemplateTemplateVolumeOutput) ToJobTemplateTemplateVolumeOutput() JobTemplateTemplateVolumeOutput

func (JobTemplateTemplateVolumeOutput) ToJobTemplateTemplateVolumeOutputWithContext

func (o JobTemplateTemplateVolumeOutput) ToJobTemplateTemplateVolumeOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeOutput

func (JobTemplateTemplateVolumeOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecret

type JobTemplateTemplateVolumeSecret struct {
	// Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
	DefaultMode *int `pulumi:"defaultMode"`
	// If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
	// Structure is documented below.
	Items []JobTemplateTemplateVolumeSecretItem `pulumi:"items"`
	// The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
	Secret string `pulumi:"secret"`
}

type JobTemplateTemplateVolumeSecretArgs

type JobTemplateTemplateVolumeSecretArgs struct {
	// Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
	DefaultMode pulumi.IntPtrInput `pulumi:"defaultMode"`
	// If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
	// Structure is documented below.
	Items JobTemplateTemplateVolumeSecretItemArrayInput `pulumi:"items"`
	// The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
	Secret pulumi.StringInput `pulumi:"secret"`
}

func (JobTemplateTemplateVolumeSecretArgs) ElementType

func (JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretOutput

func (i JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretOutput() JobTemplateTemplateVolumeSecretOutput

func (JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretOutputWithContext

func (i JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretOutput

func (JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretPtrOutput

func (i JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretPtrOutput() JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext

func (i JobTemplateTemplateVolumeSecretArgs) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecretInput

type JobTemplateTemplateVolumeSecretInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeSecretOutput() JobTemplateTemplateVolumeSecretOutput
	ToJobTemplateTemplateVolumeSecretOutputWithContext(context.Context) JobTemplateTemplateVolumeSecretOutput
}

JobTemplateTemplateVolumeSecretInput is an input type that accepts JobTemplateTemplateVolumeSecretArgs and JobTemplateTemplateVolumeSecretOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeSecretInput` via:

JobTemplateTemplateVolumeSecretArgs{...}

type JobTemplateTemplateVolumeSecretItem

type JobTemplateTemplateVolumeSecretItem struct {
	// Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
	Mode *int `pulumi:"mode"`
	// The relative path of the secret in the container.
	Path string `pulumi:"path"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
	Version string `pulumi:"version"`
}

type JobTemplateTemplateVolumeSecretItemArgs

type JobTemplateTemplateVolumeSecretItemArgs struct {
	// Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
	Mode pulumi.IntPtrInput `pulumi:"mode"`
	// The relative path of the secret in the container.
	Path pulumi.StringInput `pulumi:"path"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
	Version pulumi.StringInput `pulumi:"version"`
}

func (JobTemplateTemplateVolumeSecretItemArgs) ElementType

func (JobTemplateTemplateVolumeSecretItemArgs) ToJobTemplateTemplateVolumeSecretItemOutput

func (i JobTemplateTemplateVolumeSecretItemArgs) ToJobTemplateTemplateVolumeSecretItemOutput() JobTemplateTemplateVolumeSecretItemOutput

func (JobTemplateTemplateVolumeSecretItemArgs) ToJobTemplateTemplateVolumeSecretItemOutputWithContext

func (i JobTemplateTemplateVolumeSecretItemArgs) ToJobTemplateTemplateVolumeSecretItemOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretItemOutput

func (JobTemplateTemplateVolumeSecretItemArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecretItemArray

type JobTemplateTemplateVolumeSecretItemArray []JobTemplateTemplateVolumeSecretItemInput

func (JobTemplateTemplateVolumeSecretItemArray) ElementType

func (JobTemplateTemplateVolumeSecretItemArray) ToJobTemplateTemplateVolumeSecretItemArrayOutput

func (i JobTemplateTemplateVolumeSecretItemArray) ToJobTemplateTemplateVolumeSecretItemArrayOutput() JobTemplateTemplateVolumeSecretItemArrayOutput

func (JobTemplateTemplateVolumeSecretItemArray) ToJobTemplateTemplateVolumeSecretItemArrayOutputWithContext

func (i JobTemplateTemplateVolumeSecretItemArray) ToJobTemplateTemplateVolumeSecretItemArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretItemArrayOutput

func (JobTemplateTemplateVolumeSecretItemArray) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecretItemArrayInput

type JobTemplateTemplateVolumeSecretItemArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeSecretItemArrayOutput() JobTemplateTemplateVolumeSecretItemArrayOutput
	ToJobTemplateTemplateVolumeSecretItemArrayOutputWithContext(context.Context) JobTemplateTemplateVolumeSecretItemArrayOutput
}

JobTemplateTemplateVolumeSecretItemArrayInput is an input type that accepts JobTemplateTemplateVolumeSecretItemArray and JobTemplateTemplateVolumeSecretItemArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeSecretItemArrayInput` via:

JobTemplateTemplateVolumeSecretItemArray{ JobTemplateTemplateVolumeSecretItemArgs{...} }

type JobTemplateTemplateVolumeSecretItemArrayOutput

type JobTemplateTemplateVolumeSecretItemArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeSecretItemArrayOutput) ElementType

func (JobTemplateTemplateVolumeSecretItemArrayOutput) Index

func (JobTemplateTemplateVolumeSecretItemArrayOutput) ToJobTemplateTemplateVolumeSecretItemArrayOutput

func (o JobTemplateTemplateVolumeSecretItemArrayOutput) ToJobTemplateTemplateVolumeSecretItemArrayOutput() JobTemplateTemplateVolumeSecretItemArrayOutput

func (JobTemplateTemplateVolumeSecretItemArrayOutput) ToJobTemplateTemplateVolumeSecretItemArrayOutputWithContext

func (o JobTemplateTemplateVolumeSecretItemArrayOutput) ToJobTemplateTemplateVolumeSecretItemArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretItemArrayOutput

func (JobTemplateTemplateVolumeSecretItemArrayOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecretItemInput

type JobTemplateTemplateVolumeSecretItemInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeSecretItemOutput() JobTemplateTemplateVolumeSecretItemOutput
	ToJobTemplateTemplateVolumeSecretItemOutputWithContext(context.Context) JobTemplateTemplateVolumeSecretItemOutput
}

JobTemplateTemplateVolumeSecretItemInput is an input type that accepts JobTemplateTemplateVolumeSecretItemArgs and JobTemplateTemplateVolumeSecretItemOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeSecretItemInput` via:

JobTemplateTemplateVolumeSecretItemArgs{...}

type JobTemplateTemplateVolumeSecretItemOutput

type JobTemplateTemplateVolumeSecretItemOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeSecretItemOutput) ElementType

func (JobTemplateTemplateVolumeSecretItemOutput) Mode

Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.

func (JobTemplateTemplateVolumeSecretItemOutput) Path

The relative path of the secret in the container.

func (JobTemplateTemplateVolumeSecretItemOutput) ToJobTemplateTemplateVolumeSecretItemOutput

func (o JobTemplateTemplateVolumeSecretItemOutput) ToJobTemplateTemplateVolumeSecretItemOutput() JobTemplateTemplateVolumeSecretItemOutput

func (JobTemplateTemplateVolumeSecretItemOutput) ToJobTemplateTemplateVolumeSecretItemOutputWithContext

func (o JobTemplateTemplateVolumeSecretItemOutput) ToJobTemplateTemplateVolumeSecretItemOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretItemOutput

func (JobTemplateTemplateVolumeSecretItemOutput) ToOutput added in v6.65.1

func (JobTemplateTemplateVolumeSecretItemOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version

type JobTemplateTemplateVolumeSecretOutput

type JobTemplateTemplateVolumeSecretOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeSecretOutput) DefaultMode

Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.

func (JobTemplateTemplateVolumeSecretOutput) ElementType

func (JobTemplateTemplateVolumeSecretOutput) Items

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

func (JobTemplateTemplateVolumeSecretOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

func (JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretOutput

func (o JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretOutput() JobTemplateTemplateVolumeSecretOutput

func (JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretOutputWithContext

func (o JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretOutput

func (JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretPtrOutput

func (o JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretPtrOutput() JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext

func (o JobTemplateTemplateVolumeSecretOutput) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVolumeSecretPtrInput

type JobTemplateTemplateVolumeSecretPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateVolumeSecretPtrOutput() JobTemplateTemplateVolumeSecretPtrOutput
	ToJobTemplateTemplateVolumeSecretPtrOutputWithContext(context.Context) JobTemplateTemplateVolumeSecretPtrOutput
}

JobTemplateTemplateVolumeSecretPtrInput is an input type that accepts JobTemplateTemplateVolumeSecretArgs, JobTemplateTemplateVolumeSecretPtr and JobTemplateTemplateVolumeSecretPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateVolumeSecretPtrInput` via:

        JobTemplateTemplateVolumeSecretArgs{...}

or:

        nil

type JobTemplateTemplateVolumeSecretPtrOutput

type JobTemplateTemplateVolumeSecretPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVolumeSecretPtrOutput) DefaultMode

Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.

func (JobTemplateTemplateVolumeSecretPtrOutput) Elem

func (JobTemplateTemplateVolumeSecretPtrOutput) ElementType

func (JobTemplateTemplateVolumeSecretPtrOutput) Items

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

func (JobTemplateTemplateVolumeSecretPtrOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

func (JobTemplateTemplateVolumeSecretPtrOutput) ToJobTemplateTemplateVolumeSecretPtrOutput

func (o JobTemplateTemplateVolumeSecretPtrOutput) ToJobTemplateTemplateVolumeSecretPtrOutput() JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretPtrOutput) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext

func (o JobTemplateTemplateVolumeSecretPtrOutput) ToJobTemplateTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVolumeSecretPtrOutput

func (JobTemplateTemplateVolumeSecretPtrOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVpcAccess

type JobTemplateTemplateVpcAccess struct {
	// VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
	Connector *string `pulumi:"connector"`
	// Traffic VPC egress settings.
	// Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.
	Egress *string `pulumi:"egress"`
	// Direct VPC egress settings. Currently only single network interface is supported.
	// Structure is documented below.
	NetworkInterfaces []JobTemplateTemplateVpcAccessNetworkInterface `pulumi:"networkInterfaces"`
}

type JobTemplateTemplateVpcAccessArgs

type JobTemplateTemplateVpcAccessArgs struct {
	// VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
	Connector pulumi.StringPtrInput `pulumi:"connector"`
	// Traffic VPC egress settings.
	// Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.
	Egress pulumi.StringPtrInput `pulumi:"egress"`
	// Direct VPC egress settings. Currently only single network interface is supported.
	// Structure is documented below.
	NetworkInterfaces JobTemplateTemplateVpcAccessNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
}

func (JobTemplateTemplateVpcAccessArgs) ElementType

func (JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessOutput

func (i JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessOutput() JobTemplateTemplateVpcAccessOutput

func (JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessOutputWithContext

func (i JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessOutput

func (JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessPtrOutput

func (i JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessPtrOutput() JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessPtrOutputWithContext

func (i JobTemplateTemplateVpcAccessArgs) ToJobTemplateTemplateVpcAccessPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessArgs) ToOutput added in v6.65.1

type JobTemplateTemplateVpcAccessInput

type JobTemplateTemplateVpcAccessInput interface {
	pulumi.Input

	ToJobTemplateTemplateVpcAccessOutput() JobTemplateTemplateVpcAccessOutput
	ToJobTemplateTemplateVpcAccessOutputWithContext(context.Context) JobTemplateTemplateVpcAccessOutput
}

JobTemplateTemplateVpcAccessInput is an input type that accepts JobTemplateTemplateVpcAccessArgs and JobTemplateTemplateVpcAccessOutput values. You can construct a concrete instance of `JobTemplateTemplateVpcAccessInput` via:

JobTemplateTemplateVpcAccessArgs{...}

type JobTemplateTemplateVpcAccessNetworkInterface added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterface struct {
	// The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	// looked up from the subnetwork.
	Network *string `pulumi:"network"`
	// The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	// subnetwork with the same name with the network will be used.
	Subnetwork *string `pulumi:"subnetwork"`
	// Network tags applied to this Cloud Run job.
	//
	// ***
	Tags []string `pulumi:"tags"`
}

type JobTemplateTemplateVpcAccessNetworkInterfaceArgs added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArgs struct {
	// The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	// looked up from the subnetwork.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	// subnetwork with the same name with the network will be used.
	Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"`
	// Network tags applied to this Cloud Run job.
	//
	// ***
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ElementType added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

func (i JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutput() JobTemplateTemplateVpcAccessNetworkInterfaceOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutputWithContext added in v6.67.0

func (i JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArgs) ToOutput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArray added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArray []JobTemplateTemplateVpcAccessNetworkInterfaceInput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArray) ElementType added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceArray) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

func (i JobTemplateTemplateVpcAccessNetworkInterfaceArray) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput() JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArray) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutputWithContext added in v6.67.0

func (i JobTemplateTemplateVpcAccessNetworkInterfaceArray) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArray) ToOutput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArrayInput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput() JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput
	ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput
}

JobTemplateTemplateVpcAccessNetworkInterfaceArrayInput is an input type that accepts JobTemplateTemplateVpcAccessNetworkInterfaceArray and JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput values. You can construct a concrete instance of `JobTemplateTemplateVpcAccessNetworkInterfaceArrayInput` via:

JobTemplateTemplateVpcAccessNetworkInterfaceArray{ JobTemplateTemplateVpcAccessNetworkInterfaceArgs{...} }

type JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) ElementType added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) Index added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutputWithContext added in v6.67.0

func (o JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceArrayOutput) ToOutput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceInput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceInput interface {
	pulumi.Input

	ToJobTemplateTemplateVpcAccessNetworkInterfaceOutput() JobTemplateTemplateVpcAccessNetworkInterfaceOutput
	ToJobTemplateTemplateVpcAccessNetworkInterfaceOutputWithContext(context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceOutput
}

JobTemplateTemplateVpcAccessNetworkInterfaceInput is an input type that accepts JobTemplateTemplateVpcAccessNetworkInterfaceArgs and JobTemplateTemplateVpcAccessNetworkInterfaceOutput values. You can construct a concrete instance of `JobTemplateTemplateVpcAccessNetworkInterfaceInput` via:

JobTemplateTemplateVpcAccessNetworkInterfaceArgs{...}

type JobTemplateTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

type JobTemplateTemplateVpcAccessNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ElementType added in v6.67.0

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) Network added in v6.67.0

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) Subnetwork added in v6.67.0

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) Tags added in v6.67.0

Network tags applied to this Cloud Run job.

***

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

func (o JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutput() JobTemplateTemplateVpcAccessNetworkInterfaceOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutputWithContext added in v6.67.0

func (o JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ToJobTemplateTemplateVpcAccessNetworkInterfaceOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessNetworkInterfaceOutput

func (JobTemplateTemplateVpcAccessNetworkInterfaceOutput) ToOutput added in v6.67.0

type JobTemplateTemplateVpcAccessOutput

type JobTemplateTemplateVpcAccessOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVpcAccessOutput) Connector

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.

func (JobTemplateTemplateVpcAccessOutput) Egress

Traffic VPC egress settings. Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.

func (JobTemplateTemplateVpcAccessOutput) ElementType

func (JobTemplateTemplateVpcAccessOutput) NetworkInterfaces added in v6.67.0

Direct VPC egress settings. Currently only single network interface is supported. Structure is documented below.

func (JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessOutput

func (o JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessOutput() JobTemplateTemplateVpcAccessOutput

func (JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessOutputWithContext

func (o JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessOutput

func (JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessPtrOutput

func (o JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessPtrOutput() JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessPtrOutputWithContext

func (o JobTemplateTemplateVpcAccessOutput) ToJobTemplateTemplateVpcAccessPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessOutput) ToOutput added in v6.65.1

type JobTemplateTemplateVpcAccessPtrInput

type JobTemplateTemplateVpcAccessPtrInput interface {
	pulumi.Input

	ToJobTemplateTemplateVpcAccessPtrOutput() JobTemplateTemplateVpcAccessPtrOutput
	ToJobTemplateTemplateVpcAccessPtrOutputWithContext(context.Context) JobTemplateTemplateVpcAccessPtrOutput
}

JobTemplateTemplateVpcAccessPtrInput is an input type that accepts JobTemplateTemplateVpcAccessArgs, JobTemplateTemplateVpcAccessPtr and JobTemplateTemplateVpcAccessPtrOutput values. You can construct a concrete instance of `JobTemplateTemplateVpcAccessPtrInput` via:

        JobTemplateTemplateVpcAccessArgs{...}

or:

        nil

type JobTemplateTemplateVpcAccessPtrOutput

type JobTemplateTemplateVpcAccessPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateTemplateVpcAccessPtrOutput) Connector

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.

func (JobTemplateTemplateVpcAccessPtrOutput) Egress

Traffic VPC egress settings. Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.

func (JobTemplateTemplateVpcAccessPtrOutput) Elem

func (JobTemplateTemplateVpcAccessPtrOutput) ElementType

func (JobTemplateTemplateVpcAccessPtrOutput) NetworkInterfaces added in v6.67.0

Direct VPC egress settings. Currently only single network interface is supported. Structure is documented below.

func (JobTemplateTemplateVpcAccessPtrOutput) ToJobTemplateTemplateVpcAccessPtrOutput

func (o JobTemplateTemplateVpcAccessPtrOutput) ToJobTemplateTemplateVpcAccessPtrOutput() JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessPtrOutput) ToJobTemplateTemplateVpcAccessPtrOutputWithContext

func (o JobTemplateTemplateVpcAccessPtrOutput) ToJobTemplateTemplateVpcAccessPtrOutputWithContext(ctx context.Context) JobTemplateTemplateVpcAccessPtrOutput

func (JobTemplateTemplateVpcAccessPtrOutput) ToOutput added in v6.65.1

type JobTerminalCondition

type JobTerminalCondition struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason *string `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message *string `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason *string `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason *string `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity *string `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State *string `pulumi:"state"`
	// (Output)
	// type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
	Type *string `pulumi:"type"`
}

type JobTerminalConditionArgs

type JobTerminalConditionArgs struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason pulumi.StringPtrInput `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason pulumi.StringPtrInput `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State pulumi.StringPtrInput `pulumi:"state"`
	// (Output)
	// type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (JobTerminalConditionArgs) ElementType

func (JobTerminalConditionArgs) ElementType() reflect.Type

func (JobTerminalConditionArgs) ToJobTerminalConditionOutput

func (i JobTerminalConditionArgs) ToJobTerminalConditionOutput() JobTerminalConditionOutput

func (JobTerminalConditionArgs) ToJobTerminalConditionOutputWithContext

func (i JobTerminalConditionArgs) ToJobTerminalConditionOutputWithContext(ctx context.Context) JobTerminalConditionOutput

func (JobTerminalConditionArgs) ToOutput added in v6.65.1

type JobTerminalConditionArray

type JobTerminalConditionArray []JobTerminalConditionInput

func (JobTerminalConditionArray) ElementType

func (JobTerminalConditionArray) ElementType() reflect.Type

func (JobTerminalConditionArray) ToJobTerminalConditionArrayOutput

func (i JobTerminalConditionArray) ToJobTerminalConditionArrayOutput() JobTerminalConditionArrayOutput

func (JobTerminalConditionArray) ToJobTerminalConditionArrayOutputWithContext

func (i JobTerminalConditionArray) ToJobTerminalConditionArrayOutputWithContext(ctx context.Context) JobTerminalConditionArrayOutput

func (JobTerminalConditionArray) ToOutput added in v6.65.1

type JobTerminalConditionArrayInput

type JobTerminalConditionArrayInput interface {
	pulumi.Input

	ToJobTerminalConditionArrayOutput() JobTerminalConditionArrayOutput
	ToJobTerminalConditionArrayOutputWithContext(context.Context) JobTerminalConditionArrayOutput
}

JobTerminalConditionArrayInput is an input type that accepts JobTerminalConditionArray and JobTerminalConditionArrayOutput values. You can construct a concrete instance of `JobTerminalConditionArrayInput` via:

JobTerminalConditionArray{ JobTerminalConditionArgs{...} }

type JobTerminalConditionArrayOutput

type JobTerminalConditionArrayOutput struct{ *pulumi.OutputState }

func (JobTerminalConditionArrayOutput) ElementType

func (JobTerminalConditionArrayOutput) Index

func (JobTerminalConditionArrayOutput) ToJobTerminalConditionArrayOutput

func (o JobTerminalConditionArrayOutput) ToJobTerminalConditionArrayOutput() JobTerminalConditionArrayOutput

func (JobTerminalConditionArrayOutput) ToJobTerminalConditionArrayOutputWithContext

func (o JobTerminalConditionArrayOutput) ToJobTerminalConditionArrayOutputWithContext(ctx context.Context) JobTerminalConditionArrayOutput

func (JobTerminalConditionArrayOutput) ToOutput added in v6.65.1

type JobTerminalConditionInput

type JobTerminalConditionInput interface {
	pulumi.Input

	ToJobTerminalConditionOutput() JobTerminalConditionOutput
	ToJobTerminalConditionOutputWithContext(context.Context) JobTerminalConditionOutput
}

JobTerminalConditionInput is an input type that accepts JobTerminalConditionArgs and JobTerminalConditionOutput values. You can construct a concrete instance of `JobTerminalConditionInput` via:

JobTerminalConditionArgs{...}

type JobTerminalConditionOutput

type JobTerminalConditionOutput struct{ *pulumi.OutputState }

func (JobTerminalConditionOutput) ElementType

func (JobTerminalConditionOutput) ElementType() reflect.Type

func (JobTerminalConditionOutput) ExecutionReason

(Output) A reason for the execution condition.

func (JobTerminalConditionOutput) LastTransitionTime

func (o JobTerminalConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

(Output) Last time the condition transitioned from one status to another. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (JobTerminalConditionOutput) Message

(Output) Human readable message indicating details about the current status.

func (JobTerminalConditionOutput) Reason

(Output) A common (service-level) reason for this condition.

func (JobTerminalConditionOutput) RevisionReason

(Output) A reason for the revision condition.

func (JobTerminalConditionOutput) Severity

(Output) How to interpret failures of this condition, one of Error, Warning, Info

func (JobTerminalConditionOutput) State

(Output) State of the condition.

func (JobTerminalConditionOutput) ToJobTerminalConditionOutput

func (o JobTerminalConditionOutput) ToJobTerminalConditionOutput() JobTerminalConditionOutput

func (JobTerminalConditionOutput) ToJobTerminalConditionOutputWithContext

func (o JobTerminalConditionOutput) ToJobTerminalConditionOutputWithContext(ctx context.Context) JobTerminalConditionOutput

func (JobTerminalConditionOutput) ToOutput added in v6.65.1

func (JobTerminalConditionOutput) Type

(Output) type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.

type LookupJobIamPolicyArgs added in v6.59.0

type LookupJobIamPolicyArgs struct {
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location *string `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name string `pulumi:"name"`
	// 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.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getJobIamPolicy.

type LookupJobIamPolicyOutputArgs added in v6.59.0

type LookupJobIamPolicyOutputArgs struct {
	// The location of the cloud run job Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringInput `pulumi:"name"`
	// 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.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getJobIamPolicy.

func (LookupJobIamPolicyOutputArgs) ElementType added in v6.59.0

type LookupJobIamPolicyResult added in v6.59.0

type LookupJobIamPolicyResult struct {
	// (Computed) The etag of the IAM policy.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// (Required only by `cloudrunv2.JobIamPolicy`) The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData string `pulumi:"policyData"`
	Project    string `pulumi:"project"`
}

A collection of values returned by getJobIamPolicy.

func LookupJobIamPolicy added in v6.59.0

func LookupJobIamPolicy(ctx *pulumi.Context, args *LookupJobIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupJobIamPolicyResult, error)

Retrieves the current IAM policy data for job

## example

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.LookupJobIamPolicy(ctx, &cloudrunv2.LookupJobIamPolicyArgs{
			Project:  pulumi.StringRef(google_cloud_run_v2_job.Default.Project),
			Location: pulumi.StringRef(google_cloud_run_v2_job.Default.Location),
			Name:     google_cloud_run_v2_job.Default.Name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupJobIamPolicyResultOutput added in v6.59.0

type LookupJobIamPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJobIamPolicy.

func LookupJobIamPolicyOutput added in v6.59.0

func (LookupJobIamPolicyResultOutput) ElementType added in v6.59.0

func (LookupJobIamPolicyResultOutput) Etag added in v6.59.0

(Computed) The etag of the IAM policy.

func (LookupJobIamPolicyResultOutput) Id added in v6.59.0

The provider-assigned unique ID for this managed resource.

func (LookupJobIamPolicyResultOutput) Location added in v6.59.0

func (LookupJobIamPolicyResultOutput) Name added in v6.59.0

func (LookupJobIamPolicyResultOutput) PolicyData added in v6.59.0

(Required only by `cloudrunv2.JobIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.

func (LookupJobIamPolicyResultOutput) Project added in v6.59.0

func (LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutput added in v6.59.0

func (o LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutput() LookupJobIamPolicyResultOutput

func (LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutputWithContext added in v6.59.0

func (o LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutputWithContext(ctx context.Context) LookupJobIamPolicyResultOutput

func (LookupJobIamPolicyResultOutput) ToOutput added in v6.65.1

type LookupServiceIamPolicyArgs added in v6.59.0

type LookupServiceIamPolicyArgs struct {
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location *string `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name string `pulumi:"name"`
	// 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.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getServiceIamPolicy.

type LookupServiceIamPolicyOutputArgs added in v6.59.0

type LookupServiceIamPolicyOutputArgs struct {
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringInput `pulumi:"name"`
	// 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.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getServiceIamPolicy.

func (LookupServiceIamPolicyOutputArgs) ElementType added in v6.59.0

type LookupServiceIamPolicyResult added in v6.59.0

type LookupServiceIamPolicyResult struct {
	// (Computed) The etag of the IAM policy.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// (Required only by `cloudrunv2.ServiceIamPolicy`) The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData string `pulumi:"policyData"`
	Project    string `pulumi:"project"`
}

A collection of values returned by getServiceIamPolicy.

func LookupServiceIamPolicy added in v6.59.0

func LookupServiceIamPolicy(ctx *pulumi.Context, args *LookupServiceIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupServiceIamPolicyResult, error)

Retrieves the current IAM policy data for service

## example

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.LookupServiceIamPolicy(ctx, &cloudrunv2.LookupServiceIamPolicyArgs{
			Project:  pulumi.StringRef(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.StringRef(google_cloud_run_v2_service.Default.Location),
			Name:     google_cloud_run_v2_service.Default.Name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceIamPolicyResultOutput added in v6.59.0

type LookupServiceIamPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceIamPolicy.

func LookupServiceIamPolicyOutput added in v6.59.0

func (LookupServiceIamPolicyResultOutput) ElementType added in v6.59.0

func (LookupServiceIamPolicyResultOutput) Etag added in v6.59.0

(Computed) The etag of the IAM policy.

func (LookupServiceIamPolicyResultOutput) Id added in v6.59.0

The provider-assigned unique ID for this managed resource.

func (LookupServiceIamPolicyResultOutput) Location added in v6.59.0

func (LookupServiceIamPolicyResultOutput) Name added in v6.59.0

func (LookupServiceIamPolicyResultOutput) PolicyData added in v6.59.0

(Required only by `cloudrunv2.ServiceIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.

func (LookupServiceIamPolicyResultOutput) Project added in v6.59.0

func (LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput added in v6.59.0

func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput() LookupServiceIamPolicyResultOutput

func (LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutputWithContext added in v6.59.0

func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutputWithContext(ctx context.Context) LookupServiceIamPolicyResultOutput

func (LookupServiceIamPolicyResultOutput) ToOutput added in v6.65.1

type Service

type Service struct {
	pulumi.CustomResourceState

	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources.
	// All system annotations in v1 now have a corresponding field in v2 Service.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization ServiceBinaryAuthorizationPtrOutput `pulumi:"binaryAuthorization"`
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrOutput `pulumi:"client"`
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrOutput `pulumi:"clientVersion"`
	// The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	Conditions ServiceConditionArrayOutput `pulumi:"conditions"`
	// The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Email address of the authenticated creator.
	Creator pulumi.StringOutput `pulumi:"creator"`
	// One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a
	// string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see
	// https://cloud.google.com/run/docs/configuring/custom-audiences.
	CustomAudiences pulumi.StringArrayOutput `pulumi:"customAudiences"`
	// The deletion time.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// User-provided description of the Service. This field currently has a 512-character limit.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// For a deleted resource, the time after which it will be permamently deleted.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
	Generation pulumi.StringOutput `pulumi:"generation"`
	// Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
	// Possible values are: `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
	Ingress pulumi.StringOutput `pulumi:"ingress"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with  `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Service.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Email address of the last authenticated modifier.
	LastModifier pulumi.StringOutput `pulumi:"lastModifier"`
	// Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	LatestCreatedRevision pulumi.StringOutput `pulumi:"latestCreatedRevision"`
	// Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	LatestReadyRevision pulumi.StringOutput `pulumi:"latestReadyRevision"`
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringOutput `pulumi:"launchStage"`
	// The location of the cloud run service
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Name of the Service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
	ObservedGeneration pulumi.StringOutput `pulumi:"observedGeneration"`
	// 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"`
	// Returns true if the Service is currently being acted upon by the system to bring it into the desired state.
	// When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
	// If reconciliation succeeded, the following fields will match: traffic and trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision.
	// If reconciliation failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminalCondition and conditions.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// The template used to create revisions for this Service.
	// Structure is documented below.
	Template ServiceTemplateOutput `pulumi:"template"`
	// The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	TerminalConditions ServiceTerminalConditionArrayOutput `pulumi:"terminalConditions"`
	// Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	TrafficStatuses ServiceTrafficStatusArrayOutput `pulumi:"trafficStatuses"`
	// Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
	// Structure is documented below.
	Traffics ServiceTrafficArrayOutput `pulumi:"traffics"`
	// Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// (Output)
	// Displays the target URI.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Service acts as a top-level container that manages a set of configurations and revision templates 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.

To get more information about Service, see:

* [API documentation](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services) * How-to Guides

## Example Usage ### Cloudrunv2 Service Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Sql

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("secret-1"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: nil,
			},
		})
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretVersion(ctx, "secret-version-data", &secretmanager.SecretVersionArgs{
			Secret:     secret.Name,
			SecretData: pulumi.String("secret-data"),
		})
		if err != nil {
			return err
		}
		instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Region:          pulumi.String("us-central1"),
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Location: pulumi.String("us-central1"),
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Scaling: &cloudrunv2.ServiceTemplateScalingArgs{
					MaxInstanceCount: pulumi.Int(2),
				},
				Volumes: cloudrunv2.ServiceTemplateVolumeArray{
					&cloudrunv2.ServiceTemplateVolumeArgs{
						Name: pulumi.String("cloudsql"),
						CloudSqlInstance: &cloudrunv2.ServiceTemplateVolumeCloudSqlInstanceArgs{
							Instances: pulumi.StringArray{
								instance.ConnectionName,
							},
						},
					},
				},
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						Envs: cloudrunv2.ServiceTemplateContainerEnvArray{
							&cloudrunv2.ServiceTemplateContainerEnvArgs{
								Name:  pulumi.String("FOO"),
								Value: pulumi.String("bar"),
							},
							&cloudrunv2.ServiceTemplateContainerEnvArgs{
								Name: pulumi.String("SECRET_ENV_VAR"),
								ValueSource: &cloudrunv2.ServiceTemplateContainerEnvValueSourceArgs{
									SecretKeyRef: &cloudrunv2.ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs{
										Secret:  secret.SecretId,
										Version: pulumi.String("1"),
									},
								},
							},
						},
						VolumeMounts: cloudrunv2.ServiceTemplateContainerVolumeMountArray{
							&cloudrunv2.ServiceTemplateContainerVolumeMountArgs{
								Name:      pulumi.String("cloudsql"),
								MountPath: pulumi.String("/cloudsql"),
							},
						},
					},
				},
			},
			Traffics: cloudrunv2.ServiceTrafficArray{
				&cloudrunv2.ServiceTrafficArgs{
					Type:    pulumi.String("TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST"),
					Percent: pulumi.Int(100),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			secret_version_data,
		}))
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamMember(ctx, "secret-access", &secretmanager.SecretIamMemberArgs{
			SecretId: secret.ID(),
			Role:     pulumi.String("roles/secretmanager.secretAccessor"),
			Member:   pulumi.String(fmt.Sprintf("serviceAccount:%v-compute@developer.gserviceaccount.com", project.Number)),
		}, pulumi.DependsOn([]pulumi.Resource{
			secret,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Vpcaccess

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/vpcaccess"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		customTestNetwork, err := compute.NewNetwork(ctx, "customTestNetwork", &compute.NetworkArgs{
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		customTestSubnetwork, err := compute.NewSubnetwork(ctx, "customTestSubnetwork", &compute.SubnetworkArgs{
			IpCidrRange: pulumi.String("10.2.0.0/28"),
			Region:      pulumi.String("us-central1"),
			Network:     customTestNetwork.ID(),
		})
		if err != nil {
			return err
		}
		connector, err := vpcaccess.NewConnector(ctx, "connector", &vpcaccess.ConnectorArgs{
			Subnet: &vpcaccess.ConnectorSubnetArgs{
				Name: customTestSubnetwork.Name,
			},
			MachineType:  pulumi.String("e2-standard-4"),
			MinInstances: pulumi.Int(2),
			MaxInstances: pulumi.Int(3),
			Region:       pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
				VpcAccess: &cloudrunv2.ServiceTemplateVpcAccessArgs{
					Connector: connector.ID(),
					Egress:    pulumi.String("ALL_TRAFFIC"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Directvpc

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			LaunchStage: pulumi.String("BETA"),
			Location:    pulumi.String("us-central1"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
				VpcAccess: &cloudrunv2.ServiceTemplateVpcAccessArgs{
					Egress: pulumi.String("ALL_TRAFFIC"),
					NetworkInterfaces: cloudrunv2.ServiceTemplateVpcAccessNetworkInterfaceArray{
						&cloudrunv2.ServiceTemplateVpcAccessNetworkInterfaceArgs{
							Network:    pulumi.String("default"),
							Subnetwork: pulumi.String("default"),
							Tags: pulumi.StringArray{
								pulumi.String("tag1"),
								pulumi.String("tag2"),
								pulumi.String("tag3"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Probes

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Location: pulumi.String("us-central1"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						LivenessProbe: &cloudrunv2.ServiceTemplateContainerLivenessProbeArgs{
							HttpGet: &cloudrunv2.ServiceTemplateContainerLivenessProbeHttpGetArgs{
								Path: pulumi.String("/"),
							},
						},
						StartupProbe: &cloudrunv2.ServiceTemplateContainerStartupProbeArgs{
							FailureThreshold:    pulumi.Int(1),
							InitialDelaySeconds: pulumi.Int(0),
							PeriodSeconds:       pulumi.Int(3),
							TcpSocket: &cloudrunv2.ServiceTemplateContainerStartupProbeTcpSocketArgs{
								Port: pulumi.Int(8080),
							},
							TimeoutSeconds: pulumi.Int(1),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Secret

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("secret-1"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: nil,
			},
		})
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretVersion(ctx, "secret-version-data", &secretmanager.SecretVersionArgs{
			Secret:     secret.Name,
			SecretData: pulumi.String("secret-data"),
		})
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Location: pulumi.String("us-central1"),
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Volumes: cloudrunv2.ServiceTemplateVolumeArray{
					&cloudrunv2.ServiceTemplateVolumeArgs{
						Name: pulumi.String("a-volume"),
						Secret: &cloudrunv2.ServiceTemplateVolumeSecretArgs{
							Secret:      secret.SecretId,
							DefaultMode: pulumi.Int(292),
							Items: cloudrunv2.ServiceTemplateVolumeSecretItemArray{
								&cloudrunv2.ServiceTemplateVolumeSecretItemArgs{
									Version: pulumi.String("1"),
									Path:    pulumi.String("my-secret"),
								},
							},
						},
					},
				},
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						VolumeMounts: cloudrunv2.ServiceTemplateContainerVolumeMountArray{
							&cloudrunv2.ServiceTemplateContainerVolumeMountArgs{
								Name:      pulumi.String("a-volume"),
								MountPath: pulumi.String("/secrets"),
							},
						},
					},
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			secret_version_data,
		}))
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamMember(ctx, "secret-access", &secretmanager.SecretIamMemberArgs{
			SecretId: secret.ID(),
			Role:     pulumi.String("roles/secretmanager.secretAccessor"),
			Member:   pulumi.String(fmt.Sprintf("serviceAccount:%v-compute@developer.gserviceaccount.com", project.Number)),
		}, pulumi.DependsOn([]pulumi.Resource{
			secret,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudrunv2 Service Multicontainer

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Location:    pulumi.String("us-central1"),
			LaunchStage: pulumi.String("BETA"),
			Ingress:     pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Name: pulumi.String("hello-1"),
						Ports: cloudrunv2.ServiceTemplateContainerPortArray{
							&cloudrunv2.ServiceTemplateContainerPortArgs{
								ContainerPort: pulumi.Int(8080),
							},
						},
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
						DependsOns: pulumi.StringArray{
							pulumi.String("hello-2"),
						},
						VolumeMounts: cloudrunv2.ServiceTemplateContainerVolumeMountArray{
							&cloudrunv2.ServiceTemplateContainerVolumeMountArgs{
								Name:      pulumi.String("empty-dir-volume"),
								MountPath: pulumi.String("/mnt"),
							},
						},
					},
					&cloudrunv2.ServiceTemplateContainerArgs{
						Name:  pulumi.String("hello-2"),
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
				Volumes: cloudrunv2.ServiceTemplateVolumeArray{
					&cloudrunv2.ServiceTemplateVolumeArgs{
						Name: pulumi.String("empty-dir-volume"),
						EmptyDir: &cloudrunv2.ServiceTemplateVolumeEmptyDirArgs{
							Medium:    pulumi.String("MEMORY"),
							SizeLimit: pulumi.String("256Mi"),
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service can be imported using any of these accepted formats

```sh

$ pulumi import gcp:cloudrunv2/service:Service default projects/{{project}}/locations/{{location}}/services/{{name}}

```

```sh

$ pulumi import gcp:cloudrunv2/service:Service default {{project}}/{{location}}/{{name}}

```

```sh

$ pulumi import gcp:cloudrunv2/service:Service default {{location}}/{{name}}

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToOutput added in v6.65.1

func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service]

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources.
	// All system annotations in v1 now have a corresponding field in v2 Service.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization ServiceBinaryAuthorizationPtrInput
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrInput
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrInput
	// One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a
	// string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see
	// https://cloud.google.com/run/docs/configuring/custom-audiences.
	CustomAudiences pulumi.StringArrayInput
	// User-provided description of the Service. This field currently has a 512-character limit.
	Description pulumi.StringPtrInput
	// Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
	// Possible values are: `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
	Ingress pulumi.StringPtrInput
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with  `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Service.
	Labels pulumi.StringMapInput
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// The location of the cloud run service
	Location pulumi.StringPtrInput
	// Name of the Service.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The template used to create revisions for this Service.
	// Structure is documented below.
	Template ServiceTemplateInput
	// Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
	// Structure is documented below.
	Traffics ServiceTrafficArrayInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToOutput added in v6.65.1

func (i ServiceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Service]

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToOutput added in v6.65.1

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceBinaryAuthorization

type ServiceBinaryAuthorization struct {
	// If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
	BreakglassJustification *string `pulumi:"breakglassJustification"`
	// If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
	UseDefault *bool `pulumi:"useDefault"`
}

type ServiceBinaryAuthorizationArgs

type ServiceBinaryAuthorizationArgs struct {
	// If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
	BreakglassJustification pulumi.StringPtrInput `pulumi:"breakglassJustification"`
	// If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
	UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"`
}

func (ServiceBinaryAuthorizationArgs) ElementType

func (ServiceBinaryAuthorizationArgs) ToOutput added in v6.65.1

func (ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationOutput

func (i ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationOutput() ServiceBinaryAuthorizationOutput

func (ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationOutputWithContext

func (i ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationOutputWithContext(ctx context.Context) ServiceBinaryAuthorizationOutput

func (ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationPtrOutput

func (i ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationPtrOutput() ServiceBinaryAuthorizationPtrOutput

func (ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationPtrOutputWithContext

func (i ServiceBinaryAuthorizationArgs) ToServiceBinaryAuthorizationPtrOutputWithContext(ctx context.Context) ServiceBinaryAuthorizationPtrOutput

type ServiceBinaryAuthorizationInput

type ServiceBinaryAuthorizationInput interface {
	pulumi.Input

	ToServiceBinaryAuthorizationOutput() ServiceBinaryAuthorizationOutput
	ToServiceBinaryAuthorizationOutputWithContext(context.Context) ServiceBinaryAuthorizationOutput
}

ServiceBinaryAuthorizationInput is an input type that accepts ServiceBinaryAuthorizationArgs and ServiceBinaryAuthorizationOutput values. You can construct a concrete instance of `ServiceBinaryAuthorizationInput` via:

ServiceBinaryAuthorizationArgs{...}

type ServiceBinaryAuthorizationOutput

type ServiceBinaryAuthorizationOutput struct{ *pulumi.OutputState }

func (ServiceBinaryAuthorizationOutput) BreakglassJustification

func (o ServiceBinaryAuthorizationOutput) BreakglassJustification() pulumi.StringPtrOutput

If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

func (ServiceBinaryAuthorizationOutput) ElementType

func (ServiceBinaryAuthorizationOutput) ToOutput added in v6.65.1

func (ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationOutput

func (o ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationOutput() ServiceBinaryAuthorizationOutput

func (ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationOutputWithContext

func (o ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationOutputWithContext(ctx context.Context) ServiceBinaryAuthorizationOutput

func (ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationPtrOutput

func (o ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationPtrOutput() ServiceBinaryAuthorizationPtrOutput

func (ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationPtrOutputWithContext

func (o ServiceBinaryAuthorizationOutput) ToServiceBinaryAuthorizationPtrOutputWithContext(ctx context.Context) ServiceBinaryAuthorizationPtrOutput

func (ServiceBinaryAuthorizationOutput) UseDefault

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

type ServiceBinaryAuthorizationPtrInput

type ServiceBinaryAuthorizationPtrInput interface {
	pulumi.Input

	ToServiceBinaryAuthorizationPtrOutput() ServiceBinaryAuthorizationPtrOutput
	ToServiceBinaryAuthorizationPtrOutputWithContext(context.Context) ServiceBinaryAuthorizationPtrOutput
}

ServiceBinaryAuthorizationPtrInput is an input type that accepts ServiceBinaryAuthorizationArgs, ServiceBinaryAuthorizationPtr and ServiceBinaryAuthorizationPtrOutput values. You can construct a concrete instance of `ServiceBinaryAuthorizationPtrInput` via:

        ServiceBinaryAuthorizationArgs{...}

or:

        nil

type ServiceBinaryAuthorizationPtrOutput

type ServiceBinaryAuthorizationPtrOutput struct{ *pulumi.OutputState }

func (ServiceBinaryAuthorizationPtrOutput) BreakglassJustification

func (o ServiceBinaryAuthorizationPtrOutput) BreakglassJustification() pulumi.StringPtrOutput

If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

func (ServiceBinaryAuthorizationPtrOutput) Elem

func (ServiceBinaryAuthorizationPtrOutput) ElementType

func (ServiceBinaryAuthorizationPtrOutput) ToOutput added in v6.65.1

func (ServiceBinaryAuthorizationPtrOutput) ToServiceBinaryAuthorizationPtrOutput

func (o ServiceBinaryAuthorizationPtrOutput) ToServiceBinaryAuthorizationPtrOutput() ServiceBinaryAuthorizationPtrOutput

func (ServiceBinaryAuthorizationPtrOutput) ToServiceBinaryAuthorizationPtrOutputWithContext

func (o ServiceBinaryAuthorizationPtrOutput) ToServiceBinaryAuthorizationPtrOutputWithContext(ctx context.Context) ServiceBinaryAuthorizationPtrOutput

func (ServiceBinaryAuthorizationPtrOutput) UseDefault

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

type ServiceCondition

type ServiceCondition struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason *string `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message *string `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason *string `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason *string `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity *string `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State *string `pulumi:"state"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type *string `pulumi:"type"`
}

type ServiceConditionArgs

type ServiceConditionArgs struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason pulumi.StringPtrInput `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason pulumi.StringPtrInput `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State pulumi.StringPtrInput `pulumi:"state"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceConditionArgs) ElementType

func (ServiceConditionArgs) ElementType() reflect.Type

func (ServiceConditionArgs) ToOutput added in v6.65.1

func (ServiceConditionArgs) ToServiceConditionOutput

func (i ServiceConditionArgs) ToServiceConditionOutput() ServiceConditionOutput

func (ServiceConditionArgs) ToServiceConditionOutputWithContext

func (i ServiceConditionArgs) ToServiceConditionOutputWithContext(ctx context.Context) ServiceConditionOutput

type ServiceConditionArray

type ServiceConditionArray []ServiceConditionInput

func (ServiceConditionArray) ElementType

func (ServiceConditionArray) ElementType() reflect.Type

func (ServiceConditionArray) ToOutput added in v6.65.1

func (ServiceConditionArray) ToServiceConditionArrayOutput

func (i ServiceConditionArray) ToServiceConditionArrayOutput() ServiceConditionArrayOutput

func (ServiceConditionArray) ToServiceConditionArrayOutputWithContext

func (i ServiceConditionArray) ToServiceConditionArrayOutputWithContext(ctx context.Context) ServiceConditionArrayOutput

type ServiceConditionArrayInput

type ServiceConditionArrayInput interface {
	pulumi.Input

	ToServiceConditionArrayOutput() ServiceConditionArrayOutput
	ToServiceConditionArrayOutputWithContext(context.Context) ServiceConditionArrayOutput
}

ServiceConditionArrayInput is an input type that accepts ServiceConditionArray and ServiceConditionArrayOutput values. You can construct a concrete instance of `ServiceConditionArrayInput` via:

ServiceConditionArray{ ServiceConditionArgs{...} }

type ServiceConditionArrayOutput

type ServiceConditionArrayOutput struct{ *pulumi.OutputState }

func (ServiceConditionArrayOutput) ElementType

func (ServiceConditionArrayOutput) Index

func (ServiceConditionArrayOutput) ToOutput added in v6.65.1

func (ServiceConditionArrayOutput) ToServiceConditionArrayOutput

func (o ServiceConditionArrayOutput) ToServiceConditionArrayOutput() ServiceConditionArrayOutput

func (ServiceConditionArrayOutput) ToServiceConditionArrayOutputWithContext

func (o ServiceConditionArrayOutput) ToServiceConditionArrayOutputWithContext(ctx context.Context) ServiceConditionArrayOutput

type ServiceConditionInput

type ServiceConditionInput interface {
	pulumi.Input

	ToServiceConditionOutput() ServiceConditionOutput
	ToServiceConditionOutputWithContext(context.Context) ServiceConditionOutput
}

ServiceConditionInput is an input type that accepts ServiceConditionArgs and ServiceConditionOutput values. You can construct a concrete instance of `ServiceConditionInput` via:

ServiceConditionArgs{...}

type ServiceConditionOutput

type ServiceConditionOutput struct{ *pulumi.OutputState }

func (ServiceConditionOutput) ElementType

func (ServiceConditionOutput) ElementType() reflect.Type

func (ServiceConditionOutput) ExecutionReason

func (o ServiceConditionOutput) ExecutionReason() pulumi.StringPtrOutput

(Output) A reason for the execution condition.

func (ServiceConditionOutput) LastTransitionTime

func (o ServiceConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

(Output) Last time the condition transitioned from one status to another. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (ServiceConditionOutput) Message

(Output) Human readable message indicating details about the current status.

func (ServiceConditionOutput) Reason

(Output) A common (service-level) reason for this condition.

func (ServiceConditionOutput) RevisionReason

func (o ServiceConditionOutput) RevisionReason() pulumi.StringPtrOutput

(Output) A reason for the revision condition.

func (ServiceConditionOutput) Severity

(Output) How to interpret failures of this condition, one of Error, Warning, Info

func (ServiceConditionOutput) State

(Output) State of the condition.

func (ServiceConditionOutput) ToOutput added in v6.65.1

func (ServiceConditionOutput) ToServiceConditionOutput

func (o ServiceConditionOutput) ToServiceConditionOutput() ServiceConditionOutput

func (ServiceConditionOutput) ToServiceConditionOutputWithContext

func (o ServiceConditionOutput) ToServiceConditionOutputWithContext(ctx context.Context) ServiceConditionOutput

func (ServiceConditionOutput) Type

The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.

type ServiceIamBinding added in v6.48.0

type ServiceIamBinding struct {
	pulumi.CustomResourceState

	Condition ServiceIamBindingConditionPtrOutput `pulumi:"condition"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput      `pulumi:"location"`
	Members  pulumi.StringArrayOutput `pulumi:"members"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Service. Each of these resources serves a different use case:

* `cloudrunv2.ServiceIamPolicy`: Authoritative. Sets the IAM policy for the service and replaces any existing policy already attached. * `cloudrunv2.ServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the service are preserved. * `cloudrunv2.ServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the service are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.ServiceIamPolicy`: Retrieves the IAM policy for the service

> **Note:** `cloudrunv2.ServiceIamPolicy` **cannot** be used in conjunction with `cloudrunv2.ServiceIamBinding` and `cloudrunv2.ServiceIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.ServiceIamBinding` resources **can be** used in conjunction with `cloudrunv2.ServiceIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_service\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewServiceIamPolicy(ctx, "policy", &cloudrunv2.ServiceIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_service.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamBinding(ctx, "binding", &cloudrunv2.ServiceIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamMember(ctx, "member", &cloudrunv2.ServiceIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/services/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamBinding:ServiceIamBinding editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamBinding:ServiceIamBinding editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamBinding:ServiceIamBinding editor projects/{{project}}/locations/{{location}}/services/{{service}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetServiceIamBinding added in v6.48.0

func GetServiceIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceIamBindingState, opts ...pulumi.ResourceOption) (*ServiceIamBinding, error)

GetServiceIamBinding gets an existing ServiceIamBinding 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 NewServiceIamBinding added in v6.48.0

func NewServiceIamBinding(ctx *pulumi.Context,
	name string, args *ServiceIamBindingArgs, opts ...pulumi.ResourceOption) (*ServiceIamBinding, error)

NewServiceIamBinding registers a new resource with the given unique name, arguments, and options.

func (*ServiceIamBinding) ElementType added in v6.48.0

func (*ServiceIamBinding) ElementType() reflect.Type

func (*ServiceIamBinding) ToOutput added in v6.65.1

func (*ServiceIamBinding) ToServiceIamBindingOutput added in v6.48.0

func (i *ServiceIamBinding) ToServiceIamBindingOutput() ServiceIamBindingOutput

func (*ServiceIamBinding) ToServiceIamBindingOutputWithContext added in v6.48.0

func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Context) ServiceIamBindingOutput

type ServiceIamBindingArgs added in v6.48.0

type ServiceIamBindingArgs struct {
	Condition ServiceIamBindingConditionPtrInput
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Members  pulumi.StringArrayInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a ServiceIamBinding resource.

func (ServiceIamBindingArgs) ElementType added in v6.48.0

func (ServiceIamBindingArgs) ElementType() reflect.Type

type ServiceIamBindingArray added in v6.48.0

type ServiceIamBindingArray []ServiceIamBindingInput

func (ServiceIamBindingArray) ElementType added in v6.48.0

func (ServiceIamBindingArray) ElementType() reflect.Type

func (ServiceIamBindingArray) ToOutput added in v6.65.1

func (ServiceIamBindingArray) ToServiceIamBindingArrayOutput added in v6.48.0

func (i ServiceIamBindingArray) ToServiceIamBindingArrayOutput() ServiceIamBindingArrayOutput

func (ServiceIamBindingArray) ToServiceIamBindingArrayOutputWithContext added in v6.48.0

func (i ServiceIamBindingArray) ToServiceIamBindingArrayOutputWithContext(ctx context.Context) ServiceIamBindingArrayOutput

type ServiceIamBindingArrayInput added in v6.48.0

type ServiceIamBindingArrayInput interface {
	pulumi.Input

	ToServiceIamBindingArrayOutput() ServiceIamBindingArrayOutput
	ToServiceIamBindingArrayOutputWithContext(context.Context) ServiceIamBindingArrayOutput
}

ServiceIamBindingArrayInput is an input type that accepts ServiceIamBindingArray and ServiceIamBindingArrayOutput values. You can construct a concrete instance of `ServiceIamBindingArrayInput` via:

ServiceIamBindingArray{ ServiceIamBindingArgs{...} }

type ServiceIamBindingArrayOutput added in v6.48.0

type ServiceIamBindingArrayOutput struct{ *pulumi.OutputState }

func (ServiceIamBindingArrayOutput) ElementType added in v6.48.0

func (ServiceIamBindingArrayOutput) Index added in v6.48.0

func (ServiceIamBindingArrayOutput) ToOutput added in v6.65.1

func (ServiceIamBindingArrayOutput) ToServiceIamBindingArrayOutput added in v6.48.0

func (o ServiceIamBindingArrayOutput) ToServiceIamBindingArrayOutput() ServiceIamBindingArrayOutput

func (ServiceIamBindingArrayOutput) ToServiceIamBindingArrayOutputWithContext added in v6.48.0

func (o ServiceIamBindingArrayOutput) ToServiceIamBindingArrayOutputWithContext(ctx context.Context) ServiceIamBindingArrayOutput

type ServiceIamBindingCondition added in v6.48.0

type ServiceIamBindingCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type ServiceIamBindingConditionArgs added in v6.48.0

type ServiceIamBindingConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (ServiceIamBindingConditionArgs) ElementType added in v6.48.0

func (ServiceIamBindingConditionArgs) ToOutput added in v6.65.1

func (ServiceIamBindingConditionArgs) ToServiceIamBindingConditionOutput added in v6.48.0

func (i ServiceIamBindingConditionArgs) ToServiceIamBindingConditionOutput() ServiceIamBindingConditionOutput

func (ServiceIamBindingConditionArgs) ToServiceIamBindingConditionOutputWithContext added in v6.48.0

func (i ServiceIamBindingConditionArgs) ToServiceIamBindingConditionOutputWithContext(ctx context.Context) ServiceIamBindingConditionOutput

func (ServiceIamBindingConditionArgs) ToServiceIamBindingConditionPtrOutput added in v6.48.0

func (i ServiceIamBindingConditionArgs) ToServiceIamBindingConditionPtrOutput() ServiceIamBindingConditionPtrOutput

func (ServiceIamBindingConditionArgs) ToServiceIamBindingConditionPtrOutputWithContext added in v6.48.0

func (i ServiceIamBindingConditionArgs) ToServiceIamBindingConditionPtrOutputWithContext(ctx context.Context) ServiceIamBindingConditionPtrOutput

type ServiceIamBindingConditionInput added in v6.48.0

type ServiceIamBindingConditionInput interface {
	pulumi.Input

	ToServiceIamBindingConditionOutput() ServiceIamBindingConditionOutput
	ToServiceIamBindingConditionOutputWithContext(context.Context) ServiceIamBindingConditionOutput
}

ServiceIamBindingConditionInput is an input type that accepts ServiceIamBindingConditionArgs and ServiceIamBindingConditionOutput values. You can construct a concrete instance of `ServiceIamBindingConditionInput` via:

ServiceIamBindingConditionArgs{...}

type ServiceIamBindingConditionOutput added in v6.48.0

type ServiceIamBindingConditionOutput struct{ *pulumi.OutputState }

func (ServiceIamBindingConditionOutput) Description added in v6.48.0

func (ServiceIamBindingConditionOutput) ElementType added in v6.48.0

func (ServiceIamBindingConditionOutput) Expression added in v6.48.0

func (ServiceIamBindingConditionOutput) Title added in v6.48.0

func (ServiceIamBindingConditionOutput) ToOutput added in v6.65.1

func (ServiceIamBindingConditionOutput) ToServiceIamBindingConditionOutput added in v6.48.0

func (o ServiceIamBindingConditionOutput) ToServiceIamBindingConditionOutput() ServiceIamBindingConditionOutput

func (ServiceIamBindingConditionOutput) ToServiceIamBindingConditionOutputWithContext added in v6.48.0

func (o ServiceIamBindingConditionOutput) ToServiceIamBindingConditionOutputWithContext(ctx context.Context) ServiceIamBindingConditionOutput

func (ServiceIamBindingConditionOutput) ToServiceIamBindingConditionPtrOutput added in v6.48.0

func (o ServiceIamBindingConditionOutput) ToServiceIamBindingConditionPtrOutput() ServiceIamBindingConditionPtrOutput

func (ServiceIamBindingConditionOutput) ToServiceIamBindingConditionPtrOutputWithContext added in v6.48.0

func (o ServiceIamBindingConditionOutput) ToServiceIamBindingConditionPtrOutputWithContext(ctx context.Context) ServiceIamBindingConditionPtrOutput

type ServiceIamBindingConditionPtrInput added in v6.48.0

type ServiceIamBindingConditionPtrInput interface {
	pulumi.Input

	ToServiceIamBindingConditionPtrOutput() ServiceIamBindingConditionPtrOutput
	ToServiceIamBindingConditionPtrOutputWithContext(context.Context) ServiceIamBindingConditionPtrOutput
}

ServiceIamBindingConditionPtrInput is an input type that accepts ServiceIamBindingConditionArgs, ServiceIamBindingConditionPtr and ServiceIamBindingConditionPtrOutput values. You can construct a concrete instance of `ServiceIamBindingConditionPtrInput` via:

        ServiceIamBindingConditionArgs{...}

or:

        nil

func ServiceIamBindingConditionPtr added in v6.48.0

type ServiceIamBindingConditionPtrOutput added in v6.48.0

type ServiceIamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (ServiceIamBindingConditionPtrOutput) Description added in v6.48.0

func (ServiceIamBindingConditionPtrOutput) Elem added in v6.48.0

func (ServiceIamBindingConditionPtrOutput) ElementType added in v6.48.0

func (ServiceIamBindingConditionPtrOutput) Expression added in v6.48.0

func (ServiceIamBindingConditionPtrOutput) Title added in v6.48.0

func (ServiceIamBindingConditionPtrOutput) ToOutput added in v6.65.1

func (ServiceIamBindingConditionPtrOutput) ToServiceIamBindingConditionPtrOutput added in v6.48.0

func (o ServiceIamBindingConditionPtrOutput) ToServiceIamBindingConditionPtrOutput() ServiceIamBindingConditionPtrOutput

func (ServiceIamBindingConditionPtrOutput) ToServiceIamBindingConditionPtrOutputWithContext added in v6.48.0

func (o ServiceIamBindingConditionPtrOutput) ToServiceIamBindingConditionPtrOutputWithContext(ctx context.Context) ServiceIamBindingConditionPtrOutput

type ServiceIamBindingInput added in v6.48.0

type ServiceIamBindingInput interface {
	pulumi.Input

	ToServiceIamBindingOutput() ServiceIamBindingOutput
	ToServiceIamBindingOutputWithContext(ctx context.Context) ServiceIamBindingOutput
}

type ServiceIamBindingMap added in v6.48.0

type ServiceIamBindingMap map[string]ServiceIamBindingInput

func (ServiceIamBindingMap) ElementType added in v6.48.0

func (ServiceIamBindingMap) ElementType() reflect.Type

func (ServiceIamBindingMap) ToOutput added in v6.65.1

func (ServiceIamBindingMap) ToServiceIamBindingMapOutput added in v6.48.0

func (i ServiceIamBindingMap) ToServiceIamBindingMapOutput() ServiceIamBindingMapOutput

func (ServiceIamBindingMap) ToServiceIamBindingMapOutputWithContext added in v6.48.0

func (i ServiceIamBindingMap) ToServiceIamBindingMapOutputWithContext(ctx context.Context) ServiceIamBindingMapOutput

type ServiceIamBindingMapInput added in v6.48.0

type ServiceIamBindingMapInput interface {
	pulumi.Input

	ToServiceIamBindingMapOutput() ServiceIamBindingMapOutput
	ToServiceIamBindingMapOutputWithContext(context.Context) ServiceIamBindingMapOutput
}

ServiceIamBindingMapInput is an input type that accepts ServiceIamBindingMap and ServiceIamBindingMapOutput values. You can construct a concrete instance of `ServiceIamBindingMapInput` via:

ServiceIamBindingMap{ "key": ServiceIamBindingArgs{...} }

type ServiceIamBindingMapOutput added in v6.48.0

type ServiceIamBindingMapOutput struct{ *pulumi.OutputState }

func (ServiceIamBindingMapOutput) ElementType added in v6.48.0

func (ServiceIamBindingMapOutput) ElementType() reflect.Type

func (ServiceIamBindingMapOutput) MapIndex added in v6.48.0

func (ServiceIamBindingMapOutput) ToOutput added in v6.65.1

func (ServiceIamBindingMapOutput) ToServiceIamBindingMapOutput added in v6.48.0

func (o ServiceIamBindingMapOutput) ToServiceIamBindingMapOutput() ServiceIamBindingMapOutput

func (ServiceIamBindingMapOutput) ToServiceIamBindingMapOutputWithContext added in v6.48.0

func (o ServiceIamBindingMapOutput) ToServiceIamBindingMapOutputWithContext(ctx context.Context) ServiceIamBindingMapOutput

type ServiceIamBindingOutput added in v6.48.0

type ServiceIamBindingOutput struct{ *pulumi.OutputState }

func (ServiceIamBindingOutput) Condition added in v6.48.0

func (ServiceIamBindingOutput) ElementType added in v6.48.0

func (ServiceIamBindingOutput) ElementType() reflect.Type

func (ServiceIamBindingOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (ServiceIamBindingOutput) Location added in v6.48.0

The location of the cloud run service Used to find the parent resource to bind the IAM policy to

func (ServiceIamBindingOutput) Members added in v6.48.0

func (ServiceIamBindingOutput) Name added in v6.48.0

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

func (ServiceIamBindingOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (ServiceIamBindingOutput) Role added in v6.48.0

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

func (ServiceIamBindingOutput) ToOutput added in v6.65.1

func (ServiceIamBindingOutput) ToServiceIamBindingOutput added in v6.48.0

func (o ServiceIamBindingOutput) ToServiceIamBindingOutput() ServiceIamBindingOutput

func (ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext added in v6.48.0

func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx context.Context) ServiceIamBindingOutput

type ServiceIamBindingState added in v6.48.0

type ServiceIamBindingState struct {
	Condition ServiceIamBindingConditionPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Members  pulumi.StringArrayInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (ServiceIamBindingState) ElementType added in v6.48.0

func (ServiceIamBindingState) ElementType() reflect.Type

type ServiceIamMember added in v6.48.0

type ServiceIamMember struct {
	pulumi.CustomResourceState

	Condition ServiceIamMemberConditionPtrOutput `pulumi:"condition"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	Member   pulumi.StringOutput `pulumi:"member"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Service. Each of these resources serves a different use case:

* `cloudrunv2.ServiceIamPolicy`: Authoritative. Sets the IAM policy for the service and replaces any existing policy already attached. * `cloudrunv2.ServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the service are preserved. * `cloudrunv2.ServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the service are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.ServiceIamPolicy`: Retrieves the IAM policy for the service

> **Note:** `cloudrunv2.ServiceIamPolicy` **cannot** be used in conjunction with `cloudrunv2.ServiceIamBinding` and `cloudrunv2.ServiceIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.ServiceIamBinding` resources **can be** used in conjunction with `cloudrunv2.ServiceIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_service\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewServiceIamPolicy(ctx, "policy", &cloudrunv2.ServiceIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_service.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamBinding(ctx, "binding", &cloudrunv2.ServiceIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamMember(ctx, "member", &cloudrunv2.ServiceIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/services/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamMember:ServiceIamMember editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamMember:ServiceIamMember editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamMember:ServiceIamMember editor projects/{{project}}/locations/{{location}}/services/{{service}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetServiceIamMember added in v6.48.0

func GetServiceIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceIamMemberState, opts ...pulumi.ResourceOption) (*ServiceIamMember, error)

GetServiceIamMember gets an existing ServiceIamMember 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 NewServiceIamMember added in v6.48.0

func NewServiceIamMember(ctx *pulumi.Context,
	name string, args *ServiceIamMemberArgs, opts ...pulumi.ResourceOption) (*ServiceIamMember, error)

NewServiceIamMember registers a new resource with the given unique name, arguments, and options.

func (*ServiceIamMember) ElementType added in v6.48.0

func (*ServiceIamMember) ElementType() reflect.Type

func (*ServiceIamMember) ToOutput added in v6.65.1

func (*ServiceIamMember) ToServiceIamMemberOutput added in v6.48.0

func (i *ServiceIamMember) ToServiceIamMemberOutput() ServiceIamMemberOutput

func (*ServiceIamMember) ToServiceIamMemberOutputWithContext added in v6.48.0

func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Context) ServiceIamMemberOutput

type ServiceIamMemberArgs added in v6.48.0

type ServiceIamMemberArgs struct {
	Condition ServiceIamMemberConditionPtrInput
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Member   pulumi.StringInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a ServiceIamMember resource.

func (ServiceIamMemberArgs) ElementType added in v6.48.0

func (ServiceIamMemberArgs) ElementType() reflect.Type

type ServiceIamMemberArray added in v6.48.0

type ServiceIamMemberArray []ServiceIamMemberInput

func (ServiceIamMemberArray) ElementType added in v6.48.0

func (ServiceIamMemberArray) ElementType() reflect.Type

func (ServiceIamMemberArray) ToOutput added in v6.65.1

func (ServiceIamMemberArray) ToServiceIamMemberArrayOutput added in v6.48.0

func (i ServiceIamMemberArray) ToServiceIamMemberArrayOutput() ServiceIamMemberArrayOutput

func (ServiceIamMemberArray) ToServiceIamMemberArrayOutputWithContext added in v6.48.0

func (i ServiceIamMemberArray) ToServiceIamMemberArrayOutputWithContext(ctx context.Context) ServiceIamMemberArrayOutput

type ServiceIamMemberArrayInput added in v6.48.0

type ServiceIamMemberArrayInput interface {
	pulumi.Input

	ToServiceIamMemberArrayOutput() ServiceIamMemberArrayOutput
	ToServiceIamMemberArrayOutputWithContext(context.Context) ServiceIamMemberArrayOutput
}

ServiceIamMemberArrayInput is an input type that accepts ServiceIamMemberArray and ServiceIamMemberArrayOutput values. You can construct a concrete instance of `ServiceIamMemberArrayInput` via:

ServiceIamMemberArray{ ServiceIamMemberArgs{...} }

type ServiceIamMemberArrayOutput added in v6.48.0

type ServiceIamMemberArrayOutput struct{ *pulumi.OutputState }

func (ServiceIamMemberArrayOutput) ElementType added in v6.48.0

func (ServiceIamMemberArrayOutput) Index added in v6.48.0

func (ServiceIamMemberArrayOutput) ToOutput added in v6.65.1

func (ServiceIamMemberArrayOutput) ToServiceIamMemberArrayOutput added in v6.48.0

func (o ServiceIamMemberArrayOutput) ToServiceIamMemberArrayOutput() ServiceIamMemberArrayOutput

func (ServiceIamMemberArrayOutput) ToServiceIamMemberArrayOutputWithContext added in v6.48.0

func (o ServiceIamMemberArrayOutput) ToServiceIamMemberArrayOutputWithContext(ctx context.Context) ServiceIamMemberArrayOutput

type ServiceIamMemberCondition added in v6.48.0

type ServiceIamMemberCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type ServiceIamMemberConditionArgs added in v6.48.0

type ServiceIamMemberConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (ServiceIamMemberConditionArgs) ElementType added in v6.48.0

func (ServiceIamMemberConditionArgs) ToOutput added in v6.65.1

func (ServiceIamMemberConditionArgs) ToServiceIamMemberConditionOutput added in v6.48.0

func (i ServiceIamMemberConditionArgs) ToServiceIamMemberConditionOutput() ServiceIamMemberConditionOutput

func (ServiceIamMemberConditionArgs) ToServiceIamMemberConditionOutputWithContext added in v6.48.0

func (i ServiceIamMemberConditionArgs) ToServiceIamMemberConditionOutputWithContext(ctx context.Context) ServiceIamMemberConditionOutput

func (ServiceIamMemberConditionArgs) ToServiceIamMemberConditionPtrOutput added in v6.48.0

func (i ServiceIamMemberConditionArgs) ToServiceIamMemberConditionPtrOutput() ServiceIamMemberConditionPtrOutput

func (ServiceIamMemberConditionArgs) ToServiceIamMemberConditionPtrOutputWithContext added in v6.48.0

func (i ServiceIamMemberConditionArgs) ToServiceIamMemberConditionPtrOutputWithContext(ctx context.Context) ServiceIamMemberConditionPtrOutput

type ServiceIamMemberConditionInput added in v6.48.0

type ServiceIamMemberConditionInput interface {
	pulumi.Input

	ToServiceIamMemberConditionOutput() ServiceIamMemberConditionOutput
	ToServiceIamMemberConditionOutputWithContext(context.Context) ServiceIamMemberConditionOutput
}

ServiceIamMemberConditionInput is an input type that accepts ServiceIamMemberConditionArgs and ServiceIamMemberConditionOutput values. You can construct a concrete instance of `ServiceIamMemberConditionInput` via:

ServiceIamMemberConditionArgs{...}

type ServiceIamMemberConditionOutput added in v6.48.0

type ServiceIamMemberConditionOutput struct{ *pulumi.OutputState }

func (ServiceIamMemberConditionOutput) Description added in v6.48.0

func (ServiceIamMemberConditionOutput) ElementType added in v6.48.0

func (ServiceIamMemberConditionOutput) Expression added in v6.48.0

func (ServiceIamMemberConditionOutput) Title added in v6.48.0

func (ServiceIamMemberConditionOutput) ToOutput added in v6.65.1

func (ServiceIamMemberConditionOutput) ToServiceIamMemberConditionOutput added in v6.48.0

func (o ServiceIamMemberConditionOutput) ToServiceIamMemberConditionOutput() ServiceIamMemberConditionOutput

func (ServiceIamMemberConditionOutput) ToServiceIamMemberConditionOutputWithContext added in v6.48.0

func (o ServiceIamMemberConditionOutput) ToServiceIamMemberConditionOutputWithContext(ctx context.Context) ServiceIamMemberConditionOutput

func (ServiceIamMemberConditionOutput) ToServiceIamMemberConditionPtrOutput added in v6.48.0

func (o ServiceIamMemberConditionOutput) ToServiceIamMemberConditionPtrOutput() ServiceIamMemberConditionPtrOutput

func (ServiceIamMemberConditionOutput) ToServiceIamMemberConditionPtrOutputWithContext added in v6.48.0

func (o ServiceIamMemberConditionOutput) ToServiceIamMemberConditionPtrOutputWithContext(ctx context.Context) ServiceIamMemberConditionPtrOutput

type ServiceIamMemberConditionPtrInput added in v6.48.0

type ServiceIamMemberConditionPtrInput interface {
	pulumi.Input

	ToServiceIamMemberConditionPtrOutput() ServiceIamMemberConditionPtrOutput
	ToServiceIamMemberConditionPtrOutputWithContext(context.Context) ServiceIamMemberConditionPtrOutput
}

ServiceIamMemberConditionPtrInput is an input type that accepts ServiceIamMemberConditionArgs, ServiceIamMemberConditionPtr and ServiceIamMemberConditionPtrOutput values. You can construct a concrete instance of `ServiceIamMemberConditionPtrInput` via:

        ServiceIamMemberConditionArgs{...}

or:

        nil

func ServiceIamMemberConditionPtr added in v6.48.0

type ServiceIamMemberConditionPtrOutput added in v6.48.0

type ServiceIamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (ServiceIamMemberConditionPtrOutput) Description added in v6.48.0

func (ServiceIamMemberConditionPtrOutput) Elem added in v6.48.0

func (ServiceIamMemberConditionPtrOutput) ElementType added in v6.48.0

func (ServiceIamMemberConditionPtrOutput) Expression added in v6.48.0

func (ServiceIamMemberConditionPtrOutput) Title added in v6.48.0

func (ServiceIamMemberConditionPtrOutput) ToOutput added in v6.65.1

func (ServiceIamMemberConditionPtrOutput) ToServiceIamMemberConditionPtrOutput added in v6.48.0

func (o ServiceIamMemberConditionPtrOutput) ToServiceIamMemberConditionPtrOutput() ServiceIamMemberConditionPtrOutput

func (ServiceIamMemberConditionPtrOutput) ToServiceIamMemberConditionPtrOutputWithContext added in v6.48.0

func (o ServiceIamMemberConditionPtrOutput) ToServiceIamMemberConditionPtrOutputWithContext(ctx context.Context) ServiceIamMemberConditionPtrOutput

type ServiceIamMemberInput added in v6.48.0

type ServiceIamMemberInput interface {
	pulumi.Input

	ToServiceIamMemberOutput() ServiceIamMemberOutput
	ToServiceIamMemberOutputWithContext(ctx context.Context) ServiceIamMemberOutput
}

type ServiceIamMemberMap added in v6.48.0

type ServiceIamMemberMap map[string]ServiceIamMemberInput

func (ServiceIamMemberMap) ElementType added in v6.48.0

func (ServiceIamMemberMap) ElementType() reflect.Type

func (ServiceIamMemberMap) ToOutput added in v6.65.1

func (ServiceIamMemberMap) ToServiceIamMemberMapOutput added in v6.48.0

func (i ServiceIamMemberMap) ToServiceIamMemberMapOutput() ServiceIamMemberMapOutput

func (ServiceIamMemberMap) ToServiceIamMemberMapOutputWithContext added in v6.48.0

func (i ServiceIamMemberMap) ToServiceIamMemberMapOutputWithContext(ctx context.Context) ServiceIamMemberMapOutput

type ServiceIamMemberMapInput added in v6.48.0

type ServiceIamMemberMapInput interface {
	pulumi.Input

	ToServiceIamMemberMapOutput() ServiceIamMemberMapOutput
	ToServiceIamMemberMapOutputWithContext(context.Context) ServiceIamMemberMapOutput
}

ServiceIamMemberMapInput is an input type that accepts ServiceIamMemberMap and ServiceIamMemberMapOutput values. You can construct a concrete instance of `ServiceIamMemberMapInput` via:

ServiceIamMemberMap{ "key": ServiceIamMemberArgs{...} }

type ServiceIamMemberMapOutput added in v6.48.0

type ServiceIamMemberMapOutput struct{ *pulumi.OutputState }

func (ServiceIamMemberMapOutput) ElementType added in v6.48.0

func (ServiceIamMemberMapOutput) ElementType() reflect.Type

func (ServiceIamMemberMapOutput) MapIndex added in v6.48.0

func (ServiceIamMemberMapOutput) ToOutput added in v6.65.1

func (ServiceIamMemberMapOutput) ToServiceIamMemberMapOutput added in v6.48.0

func (o ServiceIamMemberMapOutput) ToServiceIamMemberMapOutput() ServiceIamMemberMapOutput

func (ServiceIamMemberMapOutput) ToServiceIamMemberMapOutputWithContext added in v6.48.0

func (o ServiceIamMemberMapOutput) ToServiceIamMemberMapOutputWithContext(ctx context.Context) ServiceIamMemberMapOutput

type ServiceIamMemberOutput added in v6.48.0

type ServiceIamMemberOutput struct{ *pulumi.OutputState }

func (ServiceIamMemberOutput) Condition added in v6.48.0

func (ServiceIamMemberOutput) ElementType added in v6.48.0

func (ServiceIamMemberOutput) ElementType() reflect.Type

func (ServiceIamMemberOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (ServiceIamMemberOutput) Location added in v6.48.0

The location of the cloud run service Used to find the parent resource to bind the IAM policy to

func (ServiceIamMemberOutput) Member added in v6.48.0

func (ServiceIamMemberOutput) Name added in v6.48.0

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

func (ServiceIamMemberOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (ServiceIamMemberOutput) Role added in v6.48.0

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

func (ServiceIamMemberOutput) ToOutput added in v6.65.1

func (ServiceIamMemberOutput) ToServiceIamMemberOutput added in v6.48.0

func (o ServiceIamMemberOutput) ToServiceIamMemberOutput() ServiceIamMemberOutput

func (ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext added in v6.48.0

func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context.Context) ServiceIamMemberOutput

type ServiceIamMemberState added in v6.48.0

type ServiceIamMemberState struct {
	Condition ServiceIamMemberConditionPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	Member   pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `cloudrunv2.ServiceIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (ServiceIamMemberState) ElementType added in v6.48.0

func (ServiceIamMemberState) ElementType() reflect.Type

type ServiceIamPolicy added in v6.48.0

type ServiceIamPolicy struct {
	pulumi.CustomResourceState

	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringOutput `pulumi:"name"`
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringOutput `pulumi:"policyData"`
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringOutput `pulumi:"project"`
}

Three different resources help you manage your IAM policy for Cloud Run (v2 API) Service. Each of these resources serves a different use case:

* `cloudrunv2.ServiceIamPolicy`: Authoritative. Sets the IAM policy for the service and replaces any existing policy already attached. * `cloudrunv2.ServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the service are preserved. * `cloudrunv2.ServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the service are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `cloudrunv2.ServiceIamPolicy`: Retrieves the IAM policy for the service

> **Note:** `cloudrunv2.ServiceIamPolicy` **cannot** be used in conjunction with `cloudrunv2.ServiceIamBinding` and `cloudrunv2.ServiceIamMember` or they will fight over what your policy should be.

> **Note:** `cloudrunv2.ServiceIamBinding` resources **can be** used in conjunction with `cloudrunv2.ServiceIamMember` resources **only if** they do not grant privilege to the same role.

## google\_cloud\_run\_v2\_service\_iam\_policy

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudrunv2.NewServiceIamPolicy(ctx, "policy", &cloudrunv2.ServiceIamPolicyArgs{
			Project:    pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location:   pulumi.Any(google_cloud_run_v2_service.Default.Location),
			PolicyData: *pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_binding

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamBinding(ctx, "binding", &cloudrunv2.ServiceIamBindingArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_cloud\_run\_v2\_service\_iam\_member

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudrunv2.NewServiceIamMember(ctx, "member", &cloudrunv2.ServiceIamMemberArgs{
			Project:  pulumi.Any(google_cloud_run_v2_service.Default.Project),
			Location: pulumi.Any(google_cloud_run_v2_service.Default.Location),
			Role:     pulumi.String("roles/viewer"),
			Member:   pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/services/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) service IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamPolicy:ServiceIamPolicy editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer user:jane@example.com"

```

IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamPolicy:ServiceIamPolicy editor "projects/{{project}}/locations/{{location}}/services/{{service}} roles/viewer"

```

IAM policy imports use the identifier of the resource in question, e.g.

```sh

$ pulumi import gcp:cloudrunv2/serviceIamPolicy:ServiceIamPolicy editor projects/{{project}}/locations/{{location}}/services/{{service}}

```

-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetServiceIamPolicy added in v6.48.0

func GetServiceIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceIamPolicyState, opts ...pulumi.ResourceOption) (*ServiceIamPolicy, error)

GetServiceIamPolicy gets an existing ServiceIamPolicy 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 NewServiceIamPolicy added in v6.48.0

func NewServiceIamPolicy(ctx *pulumi.Context,
	name string, args *ServiceIamPolicyArgs, opts ...pulumi.ResourceOption) (*ServiceIamPolicy, error)

NewServiceIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*ServiceIamPolicy) ElementType added in v6.48.0

func (*ServiceIamPolicy) ElementType() reflect.Type

func (*ServiceIamPolicy) ToOutput added in v6.65.1

func (*ServiceIamPolicy) ToServiceIamPolicyOutput added in v6.48.0

func (i *ServiceIamPolicy) ToServiceIamPolicyOutput() ServiceIamPolicyOutput

func (*ServiceIamPolicy) ToServiceIamPolicyOutputWithContext added in v6.48.0

func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput

type ServiceIamPolicyArgs added in v6.48.0

type ServiceIamPolicyArgs struct {
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceIamPolicy resource.

func (ServiceIamPolicyArgs) ElementType added in v6.48.0

func (ServiceIamPolicyArgs) ElementType() reflect.Type

type ServiceIamPolicyArray added in v6.48.0

type ServiceIamPolicyArray []ServiceIamPolicyInput

func (ServiceIamPolicyArray) ElementType added in v6.48.0

func (ServiceIamPolicyArray) ElementType() reflect.Type

func (ServiceIamPolicyArray) ToOutput added in v6.65.1

func (ServiceIamPolicyArray) ToServiceIamPolicyArrayOutput added in v6.48.0

func (i ServiceIamPolicyArray) ToServiceIamPolicyArrayOutput() ServiceIamPolicyArrayOutput

func (ServiceIamPolicyArray) ToServiceIamPolicyArrayOutputWithContext added in v6.48.0

func (i ServiceIamPolicyArray) ToServiceIamPolicyArrayOutputWithContext(ctx context.Context) ServiceIamPolicyArrayOutput

type ServiceIamPolicyArrayInput added in v6.48.0

type ServiceIamPolicyArrayInput interface {
	pulumi.Input

	ToServiceIamPolicyArrayOutput() ServiceIamPolicyArrayOutput
	ToServiceIamPolicyArrayOutputWithContext(context.Context) ServiceIamPolicyArrayOutput
}

ServiceIamPolicyArrayInput is an input type that accepts ServiceIamPolicyArray and ServiceIamPolicyArrayOutput values. You can construct a concrete instance of `ServiceIamPolicyArrayInput` via:

ServiceIamPolicyArray{ ServiceIamPolicyArgs{...} }

type ServiceIamPolicyArrayOutput added in v6.48.0

type ServiceIamPolicyArrayOutput struct{ *pulumi.OutputState }

func (ServiceIamPolicyArrayOutput) ElementType added in v6.48.0

func (ServiceIamPolicyArrayOutput) Index added in v6.48.0

func (ServiceIamPolicyArrayOutput) ToOutput added in v6.65.1

func (ServiceIamPolicyArrayOutput) ToServiceIamPolicyArrayOutput added in v6.48.0

func (o ServiceIamPolicyArrayOutput) ToServiceIamPolicyArrayOutput() ServiceIamPolicyArrayOutput

func (ServiceIamPolicyArrayOutput) ToServiceIamPolicyArrayOutputWithContext added in v6.48.0

func (o ServiceIamPolicyArrayOutput) ToServiceIamPolicyArrayOutputWithContext(ctx context.Context) ServiceIamPolicyArrayOutput

type ServiceIamPolicyInput added in v6.48.0

type ServiceIamPolicyInput interface {
	pulumi.Input

	ToServiceIamPolicyOutput() ServiceIamPolicyOutput
	ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput
}

type ServiceIamPolicyMap added in v6.48.0

type ServiceIamPolicyMap map[string]ServiceIamPolicyInput

func (ServiceIamPolicyMap) ElementType added in v6.48.0

func (ServiceIamPolicyMap) ElementType() reflect.Type

func (ServiceIamPolicyMap) ToOutput added in v6.65.1

func (ServiceIamPolicyMap) ToServiceIamPolicyMapOutput added in v6.48.0

func (i ServiceIamPolicyMap) ToServiceIamPolicyMapOutput() ServiceIamPolicyMapOutput

func (ServiceIamPolicyMap) ToServiceIamPolicyMapOutputWithContext added in v6.48.0

func (i ServiceIamPolicyMap) ToServiceIamPolicyMapOutputWithContext(ctx context.Context) ServiceIamPolicyMapOutput

type ServiceIamPolicyMapInput added in v6.48.0

type ServiceIamPolicyMapInput interface {
	pulumi.Input

	ToServiceIamPolicyMapOutput() ServiceIamPolicyMapOutput
	ToServiceIamPolicyMapOutputWithContext(context.Context) ServiceIamPolicyMapOutput
}

ServiceIamPolicyMapInput is an input type that accepts ServiceIamPolicyMap and ServiceIamPolicyMapOutput values. You can construct a concrete instance of `ServiceIamPolicyMapInput` via:

ServiceIamPolicyMap{ "key": ServiceIamPolicyArgs{...} }

type ServiceIamPolicyMapOutput added in v6.48.0

type ServiceIamPolicyMapOutput struct{ *pulumi.OutputState }

func (ServiceIamPolicyMapOutput) ElementType added in v6.48.0

func (ServiceIamPolicyMapOutput) ElementType() reflect.Type

func (ServiceIamPolicyMapOutput) MapIndex added in v6.48.0

func (ServiceIamPolicyMapOutput) ToOutput added in v6.65.1

func (ServiceIamPolicyMapOutput) ToServiceIamPolicyMapOutput added in v6.48.0

func (o ServiceIamPolicyMapOutput) ToServiceIamPolicyMapOutput() ServiceIamPolicyMapOutput

func (ServiceIamPolicyMapOutput) ToServiceIamPolicyMapOutputWithContext added in v6.48.0

func (o ServiceIamPolicyMapOutput) ToServiceIamPolicyMapOutputWithContext(ctx context.Context) ServiceIamPolicyMapOutput

type ServiceIamPolicyOutput added in v6.48.0

type ServiceIamPolicyOutput struct{ *pulumi.OutputState }

func (ServiceIamPolicyOutput) ElementType added in v6.48.0

func (ServiceIamPolicyOutput) ElementType() reflect.Type

func (ServiceIamPolicyOutput) Etag added in v6.48.0

(Computed) The etag of the IAM policy.

func (ServiceIamPolicyOutput) Location added in v6.48.0

The location of the cloud run service Used to find the parent resource to bind the IAM policy to

func (ServiceIamPolicyOutput) Name added in v6.48.0

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

func (ServiceIamPolicyOutput) PolicyData added in v6.48.0

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

func (ServiceIamPolicyOutput) Project added in v6.48.0

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.

  • `member/members` - (Required) Identities that will be granted the privilege in `role`. Each entry can have one of the following values:
  • **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
  • **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
  • **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
  • **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
  • **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
  • **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
  • **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
  • **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
  • **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (ServiceIamPolicyOutput) ToOutput added in v6.65.1

func (ServiceIamPolicyOutput) ToServiceIamPolicyOutput added in v6.48.0

func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutput() ServiceIamPolicyOutput

func (ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext added in v6.48.0

func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput

type ServiceIamPolicyState added in v6.48.0

type ServiceIamPolicyState struct {
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The location of the cloud run service Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Used to find the parent resource to bind the IAM policy to
	Name pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringPtrInput
	// 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.
	//
	// * `member/members` - (Required) Identities that will be granted the privilege in `role`.
	//   Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Project pulumi.StringPtrInput
}

func (ServiceIamPolicyState) ElementType added in v6.48.0

func (ServiceIamPolicyState) ElementType() reflect.Type

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToOutput added in v6.65.1

func (i ServiceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Service]

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToOutput added in v6.65.1

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) Annotations added in v6.48.0

func (o ServiceOutput) Annotations() pulumi.StringMapOutput

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (ServiceOutput) BinaryAuthorization

func (o ServiceOutput) BinaryAuthorization() ServiceBinaryAuthorizationPtrOutput

Settings for the Binary Authorization feature. Structure is documented below.

func (ServiceOutput) Client

Arbitrary identifier for the API client.

func (ServiceOutput) ClientVersion

func (o ServiceOutput) ClientVersion() pulumi.StringPtrOutput

Arbitrary version identifier for the API client.

func (ServiceOutput) Conditions

The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

func (ServiceOutput) CreateTime added in v6.64.0

func (o ServiceOutput) CreateTime() pulumi.StringOutput

The creation time.

func (ServiceOutput) Creator added in v6.64.0

func (o ServiceOutput) Creator() pulumi.StringOutput

Email address of the authenticated creator.

func (ServiceOutput) CustomAudiences added in v6.62.0

func (o ServiceOutput) CustomAudiences() pulumi.StringArrayOutput

One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.

func (ServiceOutput) DeleteTime added in v6.64.0

func (o ServiceOutput) DeleteTime() pulumi.StringOutput

The deletion time.

func (ServiceOutput) Description

func (o ServiceOutput) Description() pulumi.StringPtrOutput

User-provided description of the Service. This field currently has a 512-character limit.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) Etag

A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

func (ServiceOutput) ExpireTime added in v6.64.0

func (o ServiceOutput) ExpireTime() pulumi.StringOutput

For a deleted resource, the time after which it will be permamently deleted.

func (ServiceOutput) Generation

func (o ServiceOutput) Generation() pulumi.StringOutput

A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.

func (ServiceOutput) Ingress

func (o ServiceOutput) Ingress() pulumi.StringOutput

Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values are: `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.

func (ServiceOutput) Labels

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.

func (ServiceOutput) LastModifier added in v6.64.0

func (o ServiceOutput) LastModifier() pulumi.StringOutput

Email address of the last authenticated modifier.

func (ServiceOutput) LatestCreatedRevision

func (o ServiceOutput) LatestCreatedRevision() pulumi.StringOutput

Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.

func (ServiceOutput) LatestReadyRevision

func (o ServiceOutput) LatestReadyRevision() pulumi.StringOutput

Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.

func (ServiceOutput) LaunchStage

func (o ServiceOutput) LaunchStage() pulumi.StringOutput

The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.

func (ServiceOutput) Location

func (o ServiceOutput) Location() pulumi.StringPtrOutput

The location of the cloud run service

func (ServiceOutput) Name

Name of the Service.

func (ServiceOutput) ObservedGeneration

func (o ServiceOutput) ObservedGeneration() pulumi.StringOutput

The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.

func (ServiceOutput) Project

func (o ServiceOutput) Project() pulumi.StringOutput

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

func (ServiceOutput) Reconciling

func (o ServiceOutput) Reconciling() pulumi.BoolOutput

Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation succeeded, the following fields will match: traffic and trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision. If reconciliation failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminalCondition and conditions.

func (ServiceOutput) Template

func (o ServiceOutput) Template() ServiceTemplateOutput

The template used to create revisions for this Service. Structure is documented below.

func (ServiceOutput) TerminalConditions

func (o ServiceOutput) TerminalConditions() ServiceTerminalConditionArrayOutput

The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

func (ServiceOutput) ToOutput added in v6.65.1

func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service]

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) TrafficStatuses

func (o ServiceOutput) TrafficStatuses() ServiceTrafficStatusArrayOutput

Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

func (ServiceOutput) Traffics

Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. Structure is documented below.

func (ServiceOutput) Uid

Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

func (ServiceOutput) UpdateTime added in v6.64.0

func (o ServiceOutput) UpdateTime() pulumi.StringOutput

The last-modified time.

func (ServiceOutput) Uri

(Output) Displays the target URI.

type ServiceState

type ServiceState struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources.
	// All system annotations in v1 now have a corresponding field in v2 Service.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput
	// Settings for the Binary Authorization feature.
	// Structure is documented below.
	BinaryAuthorization ServiceBinaryAuthorizationPtrInput
	// Arbitrary identifier for the API client.
	Client pulumi.StringPtrInput
	// Arbitrary version identifier for the API client.
	ClientVersion pulumi.StringPtrInput
	// The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	Conditions ServiceConditionArrayInput
	// The creation time.
	CreateTime pulumi.StringPtrInput
	// Email address of the authenticated creator.
	Creator pulumi.StringPtrInput
	// One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a
	// string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see
	// https://cloud.google.com/run/docs/configuring/custom-audiences.
	CustomAudiences pulumi.StringArrayInput
	// The deletion time.
	DeleteTime pulumi.StringPtrInput
	// User-provided description of the Service. This field currently has a 512-character limit.
	Description pulumi.StringPtrInput
	// A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
	Etag pulumi.StringPtrInput
	// For a deleted resource, the time after which it will be permamently deleted.
	ExpireTime pulumi.StringPtrInput
	// A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
	Generation pulumi.StringPtrInput
	// Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
	// Possible values are: `INGRESS_TRAFFIC_ALL`, `INGRESS_TRAFFIC_INTERNAL_ONLY`, `INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER`.
	Ingress pulumi.StringPtrInput
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
	// environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with  `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 Service.
	Labels pulumi.StringMapInput
	// Email address of the last authenticated modifier.
	LastModifier pulumi.StringPtrInput
	// Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	LatestCreatedRevision pulumi.StringPtrInput
	// Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	LatestReadyRevision pulumi.StringPtrInput
	// The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA.
	// If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.
	// For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
	// Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// The location of the cloud run service
	Location pulumi.StringPtrInput
	// Name of the Service.
	Name pulumi.StringPtrInput
	// The generation of this Service currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
	ObservedGeneration pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Returns true if the Service is currently being acted upon by the system to bring it into the desired state.
	// When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state.
	// If reconciliation succeeded, the following fields will match: traffic and trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision.
	// If reconciliation failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in terminalCondition and conditions.
	Reconciling pulumi.BoolPtrInput
	// The template used to create revisions for this Service.
	// Structure is documented below.
	Template ServiceTemplatePtrInput
	// The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	TerminalConditions ServiceTerminalConditionArrayInput
	// Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run.
	// Structure is documented below.
	TrafficStatuses ServiceTrafficStatusArrayInput
	// Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.
	// Structure is documented below.
	Traffics ServiceTrafficArrayInput
	// Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	Uid pulumi.StringPtrInput
	// The last-modified time.
	UpdateTime pulumi.StringPtrInput
	// (Output)
	// Displays the target URI.
	Uri pulumi.StringPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceTemplate

type ServiceTemplate struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations map[string]string `pulumi:"annotations"`
	// Holds the containers that define the unit of execution for this Service.
	// Structure is documented below.
	Containers []ServiceTemplateContainer `pulumi:"containers"`
	// A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
	EncryptionKey *string `pulumi:"encryptionKey"`
	// The sandbox environment to host this Revision.
	// Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
	ExecutionEnvironment *string `pulumi:"executionEnvironment"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
	// For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
	Labels map[string]string `pulumi:"labels"`
	// Sets the maximum number of requests that each serving instance can receive.
	MaxInstanceRequestConcurrency *int `pulumi:"maxInstanceRequestConcurrency"`
	// The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
	Revision *string `pulumi:"revision"`
	// Scaling settings for this Revision.
	// Structure is documented below.
	Scaling *ServiceTemplateScaling `pulumi:"scaling"`
	// Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
	ServiceAccount *string `pulumi:"serviceAccount"`
	// Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
	SessionAffinity *bool `pulumi:"sessionAffinity"`
	// Max allowed time for an instance to respond to a request.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	Timeout *string `pulumi:"timeout"`
	// A list of Volumes to make available to containers.
	// Structure is documented below.
	Volumes []ServiceTemplateVolume `pulumi:"volumes"`
	// VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
	// Structure is documented below.
	VpcAccess *ServiceTemplateVpcAccess `pulumi:"vpcAccess"`
}

type ServiceTemplateArgs

type ServiceTemplateArgs struct {
	// Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
	// Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
	// This field follows Kubernetes annotations' namespacing, limits, and rules.
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
	// Holds the containers that define the unit of execution for this Service.
	// Structure is documented below.
	Containers ServiceTemplateContainerArrayInput `pulumi:"containers"`
	// A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
	EncryptionKey pulumi.StringPtrInput `pulumi:"encryptionKey"`
	// The sandbox environment to host this Revision.
	// Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
	ExecutionEnvironment pulumi.StringPtrInput `pulumi:"executionEnvironment"`
	// Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
	// For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
	// Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
	// All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Sets the maximum number of requests that each serving instance can receive.
	MaxInstanceRequestConcurrency pulumi.IntPtrInput `pulumi:"maxInstanceRequestConcurrency"`
	// The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
	Revision pulumi.StringPtrInput `pulumi:"revision"`
	// Scaling settings for this Revision.
	// Structure is documented below.
	Scaling ServiceTemplateScalingPtrInput `pulumi:"scaling"`
	// Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
	ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"`
	// Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity
	SessionAffinity pulumi.BoolPtrInput `pulumi:"sessionAffinity"`
	// Max allowed time for an instance to respond to a request.
	// A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
	// A list of Volumes to make available to containers.
	// Structure is documented below.
	Volumes ServiceTemplateVolumeArrayInput `pulumi:"volumes"`
	// VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
	// Structure is documented below.
	VpcAccess ServiceTemplateVpcAccessPtrInput `pulumi:"vpcAccess"`
}

func (ServiceTemplateArgs) ElementType

func (ServiceTemplateArgs) ElementType() reflect.Type

func (ServiceTemplateArgs) ToOutput added in v6.65.1

func (ServiceTemplateArgs) ToServiceTemplateOutput

func (i ServiceTemplateArgs) ToServiceTemplateOutput() ServiceTemplateOutput

func (ServiceTemplateArgs) ToServiceTemplateOutputWithContext

func (i ServiceTemplateArgs) ToServiceTemplateOutputWithContext(ctx context.Context) ServiceTemplateOutput

func (ServiceTemplateArgs) ToServiceTemplatePtrOutput

func (i ServiceTemplateArgs) ToServiceTemplatePtrOutput() ServiceTemplatePtrOutput

func (ServiceTemplateArgs) ToServiceTemplatePtrOutputWithContext

func (i ServiceTemplateArgs) ToServiceTemplatePtrOutputWithContext(ctx context.Context) ServiceTemplatePtrOutput

type ServiceTemplateContainer

type ServiceTemplateContainer struct {
	// Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args []string `pulumi:"args"`
	// Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Commands   []string `pulumi:"commands"`
	DependsOns []string `pulumi:"dependsOns"`
	// List of environment variables to set in the container.
	// Structure is documented below.
	Envs []ServiceTemplateContainerEnv `pulumi:"envs"`
	// URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
	Image string `pulumi:"image"`
	// Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// Structure is documented below.
	LivenessProbe *ServiceTemplateContainerLivenessProbe `pulumi:"livenessProbe"`
	// Name of the container specified as a DNS_LABEL.
	Name *string `pulumi:"name"`
	// List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
	// If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
	// Structure is documented below.
	Ports []ServiceTemplateContainerPort `pulumi:"ports"`
	// Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	// Structure is documented below.
	Resources *ServiceTemplateContainerResources `pulumi:"resources"`
	// Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// Structure is documented below.
	StartupProbe *ServiceTemplateContainerStartupProbe `pulumi:"startupProbe"`
	// Volume to mount into the container's filesystem.
	// Structure is documented below.
	VolumeMounts []ServiceTemplateContainerVolumeMount `pulumi:"volumeMounts"`
	// Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
	WorkingDir *string `pulumi:"workingDir"`
}

type ServiceTemplateContainerArgs

type ServiceTemplateContainerArgs struct {
	// Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args pulumi.StringArrayInput `pulumi:"args"`
	// Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Commands   pulumi.StringArrayInput `pulumi:"commands"`
	DependsOns pulumi.StringArrayInput `pulumi:"dependsOns"`
	// List of environment variables to set in the container.
	// Structure is documented below.
	Envs ServiceTemplateContainerEnvArrayInput `pulumi:"envs"`
	// URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
	Image pulumi.StringInput `pulumi:"image"`
	// Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// Structure is documented below.
	LivenessProbe ServiceTemplateContainerLivenessProbePtrInput `pulumi:"livenessProbe"`
	// Name of the container specified as a DNS_LABEL.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
	// If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
	// Structure is documented below.
	Ports ServiceTemplateContainerPortArrayInput `pulumi:"ports"`
	// Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	// Structure is documented below.
	Resources ServiceTemplateContainerResourcesPtrInput `pulumi:"resources"`
	// Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// Structure is documented below.
	StartupProbe ServiceTemplateContainerStartupProbePtrInput `pulumi:"startupProbe"`
	// Volume to mount into the container's filesystem.
	// Structure is documented below.
	VolumeMounts ServiceTemplateContainerVolumeMountArrayInput `pulumi:"volumeMounts"`
	// Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
	WorkingDir pulumi.StringPtrInput `pulumi:"workingDir"`
}

func (ServiceTemplateContainerArgs) ElementType

func (ServiceTemplateContainerArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerArgs) ToServiceTemplateContainerOutput

func (i ServiceTemplateContainerArgs) ToServiceTemplateContainerOutput() ServiceTemplateContainerOutput

func (ServiceTemplateContainerArgs) ToServiceTemplateContainerOutputWithContext

func (i ServiceTemplateContainerArgs) ToServiceTemplateContainerOutputWithContext(ctx context.Context) ServiceTemplateContainerOutput

type ServiceTemplateContainerArray

type ServiceTemplateContainerArray []ServiceTemplateContainerInput

func (ServiceTemplateContainerArray) ElementType

func (ServiceTemplateContainerArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerArray) ToServiceTemplateContainerArrayOutput

func (i ServiceTemplateContainerArray) ToServiceTemplateContainerArrayOutput() ServiceTemplateContainerArrayOutput

func (ServiceTemplateContainerArray) ToServiceTemplateContainerArrayOutputWithContext

func (i ServiceTemplateContainerArray) ToServiceTemplateContainerArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerArrayOutput

type ServiceTemplateContainerArrayInput

type ServiceTemplateContainerArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerArrayOutput() ServiceTemplateContainerArrayOutput
	ToServiceTemplateContainerArrayOutputWithContext(context.Context) ServiceTemplateContainerArrayOutput
}

ServiceTemplateContainerArrayInput is an input type that accepts ServiceTemplateContainerArray and ServiceTemplateContainerArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerArrayInput` via:

ServiceTemplateContainerArray{ ServiceTemplateContainerArgs{...} }

type ServiceTemplateContainerArrayOutput

type ServiceTemplateContainerArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerArrayOutput) ElementType

func (ServiceTemplateContainerArrayOutput) Index

func (ServiceTemplateContainerArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerArrayOutput) ToServiceTemplateContainerArrayOutput

func (o ServiceTemplateContainerArrayOutput) ToServiceTemplateContainerArrayOutput() ServiceTemplateContainerArrayOutput

func (ServiceTemplateContainerArrayOutput) ToServiceTemplateContainerArrayOutputWithContext

func (o ServiceTemplateContainerArrayOutput) ToServiceTemplateContainerArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerArrayOutput

type ServiceTemplateContainerEnv

type ServiceTemplateContainerEnv struct {
	// Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.
	Name string `pulumi:"name"`
	// Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
	Value *string `pulumi:"value"`
	// Source for the environment variable's value.
	// Structure is documented below.
	ValueSource *ServiceTemplateContainerEnvValueSource `pulumi:"valueSource"`
}

type ServiceTemplateContainerEnvArgs

type ServiceTemplateContainerEnvArgs struct {
	// Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.
	Name pulumi.StringInput `pulumi:"name"`
	// Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes
	Value pulumi.StringPtrInput `pulumi:"value"`
	// Source for the environment variable's value.
	// Structure is documented below.
	ValueSource ServiceTemplateContainerEnvValueSourcePtrInput `pulumi:"valueSource"`
}

func (ServiceTemplateContainerEnvArgs) ElementType

func (ServiceTemplateContainerEnvArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvArgs) ToServiceTemplateContainerEnvOutput

func (i ServiceTemplateContainerEnvArgs) ToServiceTemplateContainerEnvOutput() ServiceTemplateContainerEnvOutput

func (ServiceTemplateContainerEnvArgs) ToServiceTemplateContainerEnvOutputWithContext

func (i ServiceTemplateContainerEnvArgs) ToServiceTemplateContainerEnvOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvOutput

type ServiceTemplateContainerEnvArray

type ServiceTemplateContainerEnvArray []ServiceTemplateContainerEnvInput

func (ServiceTemplateContainerEnvArray) ElementType

func (ServiceTemplateContainerEnvArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvArray) ToServiceTemplateContainerEnvArrayOutput

func (i ServiceTemplateContainerEnvArray) ToServiceTemplateContainerEnvArrayOutput() ServiceTemplateContainerEnvArrayOutput

func (ServiceTemplateContainerEnvArray) ToServiceTemplateContainerEnvArrayOutputWithContext

func (i ServiceTemplateContainerEnvArray) ToServiceTemplateContainerEnvArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvArrayOutput

type ServiceTemplateContainerEnvArrayInput

type ServiceTemplateContainerEnvArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvArrayOutput() ServiceTemplateContainerEnvArrayOutput
	ToServiceTemplateContainerEnvArrayOutputWithContext(context.Context) ServiceTemplateContainerEnvArrayOutput
}

ServiceTemplateContainerEnvArrayInput is an input type that accepts ServiceTemplateContainerEnvArray and ServiceTemplateContainerEnvArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvArrayInput` via:

ServiceTemplateContainerEnvArray{ ServiceTemplateContainerEnvArgs{...} }

type ServiceTemplateContainerEnvArrayOutput

type ServiceTemplateContainerEnvArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvArrayOutput) ElementType

func (ServiceTemplateContainerEnvArrayOutput) Index

func (ServiceTemplateContainerEnvArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvArrayOutput) ToServiceTemplateContainerEnvArrayOutput

func (o ServiceTemplateContainerEnvArrayOutput) ToServiceTemplateContainerEnvArrayOutput() ServiceTemplateContainerEnvArrayOutput

func (ServiceTemplateContainerEnvArrayOutput) ToServiceTemplateContainerEnvArrayOutputWithContext

func (o ServiceTemplateContainerEnvArrayOutput) ToServiceTemplateContainerEnvArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvArrayOutput

type ServiceTemplateContainerEnvInput

type ServiceTemplateContainerEnvInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvOutput() ServiceTemplateContainerEnvOutput
	ToServiceTemplateContainerEnvOutputWithContext(context.Context) ServiceTemplateContainerEnvOutput
}

ServiceTemplateContainerEnvInput is an input type that accepts ServiceTemplateContainerEnvArgs and ServiceTemplateContainerEnvOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvInput` via:

ServiceTemplateContainerEnvArgs{...}

type ServiceTemplateContainerEnvOutput

type ServiceTemplateContainerEnvOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvOutput) ElementType

func (ServiceTemplateContainerEnvOutput) Name

Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.

func (ServiceTemplateContainerEnvOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvOutput) ToServiceTemplateContainerEnvOutput

func (o ServiceTemplateContainerEnvOutput) ToServiceTemplateContainerEnvOutput() ServiceTemplateContainerEnvOutput

func (ServiceTemplateContainerEnvOutput) ToServiceTemplateContainerEnvOutputWithContext

func (o ServiceTemplateContainerEnvOutput) ToServiceTemplateContainerEnvOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvOutput

func (ServiceTemplateContainerEnvOutput) Value

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "", and the maximum length is 32768 bytes

func (ServiceTemplateContainerEnvOutput) ValueSource

Source for the environment variable's value. Structure is documented below.

type ServiceTemplateContainerEnvValueSource

type ServiceTemplateContainerEnvValueSource struct {
	// Selects a secret and a specific version from Cloud Secret Manager.
	// Structure is documented below.
	SecretKeyRef *ServiceTemplateContainerEnvValueSourceSecretKeyRef `pulumi:"secretKeyRef"`
}

type ServiceTemplateContainerEnvValueSourceArgs

type ServiceTemplateContainerEnvValueSourceArgs struct {
	// Selects a secret and a specific version from Cloud Secret Manager.
	// Structure is documented below.
	SecretKeyRef ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrInput `pulumi:"secretKeyRef"`
}

func (ServiceTemplateContainerEnvValueSourceArgs) ElementType

func (ServiceTemplateContainerEnvValueSourceArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourceOutput

func (i ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourceOutput() ServiceTemplateContainerEnvValueSourceOutput

func (ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourceOutputWithContext

func (i ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourceOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceOutput

func (ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourcePtrOutput

func (i ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourcePtrOutput() ServiceTemplateContainerEnvValueSourcePtrOutput

func (ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext

func (i ServiceTemplateContainerEnvValueSourceArgs) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourcePtrOutput

type ServiceTemplateContainerEnvValueSourceInput

type ServiceTemplateContainerEnvValueSourceInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvValueSourceOutput() ServiceTemplateContainerEnvValueSourceOutput
	ToServiceTemplateContainerEnvValueSourceOutputWithContext(context.Context) ServiceTemplateContainerEnvValueSourceOutput
}

ServiceTemplateContainerEnvValueSourceInput is an input type that accepts ServiceTemplateContainerEnvValueSourceArgs and ServiceTemplateContainerEnvValueSourceOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvValueSourceInput` via:

ServiceTemplateContainerEnvValueSourceArgs{...}

type ServiceTemplateContainerEnvValueSourceOutput

type ServiceTemplateContainerEnvValueSourceOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvValueSourceOutput) ElementType

func (ServiceTemplateContainerEnvValueSourceOutput) SecretKeyRef

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

func (ServiceTemplateContainerEnvValueSourceOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourceOutput

func (o ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourceOutput() ServiceTemplateContainerEnvValueSourceOutput

func (ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourceOutputWithContext

func (o ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourceOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceOutput

func (ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourcePtrOutput

func (o ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourcePtrOutput() ServiceTemplateContainerEnvValueSourcePtrOutput

func (ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext

func (o ServiceTemplateContainerEnvValueSourceOutput) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourcePtrOutput

type ServiceTemplateContainerEnvValueSourcePtrInput

type ServiceTemplateContainerEnvValueSourcePtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvValueSourcePtrOutput() ServiceTemplateContainerEnvValueSourcePtrOutput
	ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext(context.Context) ServiceTemplateContainerEnvValueSourcePtrOutput
}

ServiceTemplateContainerEnvValueSourcePtrInput is an input type that accepts ServiceTemplateContainerEnvValueSourceArgs, ServiceTemplateContainerEnvValueSourcePtr and ServiceTemplateContainerEnvValueSourcePtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvValueSourcePtrInput` via:

        ServiceTemplateContainerEnvValueSourceArgs{...}

or:

        nil

type ServiceTemplateContainerEnvValueSourcePtrOutput

type ServiceTemplateContainerEnvValueSourcePtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvValueSourcePtrOutput) Elem

func (ServiceTemplateContainerEnvValueSourcePtrOutput) ElementType

func (ServiceTemplateContainerEnvValueSourcePtrOutput) SecretKeyRef

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

func (ServiceTemplateContainerEnvValueSourcePtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourcePtrOutput) ToServiceTemplateContainerEnvValueSourcePtrOutput

func (o ServiceTemplateContainerEnvValueSourcePtrOutput) ToServiceTemplateContainerEnvValueSourcePtrOutput() ServiceTemplateContainerEnvValueSourcePtrOutput

func (ServiceTemplateContainerEnvValueSourcePtrOutput) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext

func (o ServiceTemplateContainerEnvValueSourcePtrOutput) ToServiceTemplateContainerEnvValueSourcePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourcePtrOutput

type ServiceTemplateContainerEnvValueSourceSecretKeyRef

type ServiceTemplateContainerEnvValueSourceSecretKeyRef struct {
	// The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
	Secret string `pulumi:"secret"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
	Version *string `pulumi:"version"`
}

type ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs

type ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs struct {
	// The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.
	Secret pulumi.StringInput `pulumi:"secret"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ElementType

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext

func (i ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (i ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput() ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (i ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

type ServiceTemplateContainerEnvValueSourceSecretKeyRefInput

type ServiceTemplateContainerEnvValueSourceSecretKeyRefInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutput() ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput
	ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput
}

ServiceTemplateContainerEnvValueSourceSecretKeyRefInput is an input type that accepts ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs and ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvValueSourceSecretKeyRefInput` via:

ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs{...}

type ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput

type ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ElementType

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext

func (o ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (o ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

type ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrInput

type ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput() ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput
	ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput
}

ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrInput is an input type that accepts ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs, ServiceTemplateContainerEnvValueSourceSecretKeyRefPtr and ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrInput` via:

        ServiceTemplateContainerEnvValueSourceSecretKeyRefArgs{...}

or:

        nil

type ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

type ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Elem

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ElementType

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project.

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext

func (o ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) ToServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput

func (ServiceTemplateContainerEnvValueSourceSecretKeyRefPtrOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

type ServiceTemplateContainerInput

type ServiceTemplateContainerInput interface {
	pulumi.Input

	ToServiceTemplateContainerOutput() ServiceTemplateContainerOutput
	ToServiceTemplateContainerOutputWithContext(context.Context) ServiceTemplateContainerOutput
}

ServiceTemplateContainerInput is an input type that accepts ServiceTemplateContainerArgs and ServiceTemplateContainerOutput values. You can construct a concrete instance of `ServiceTemplateContainerInput` via:

ServiceTemplateContainerArgs{...}

type ServiceTemplateContainerLivenessProbe

type ServiceTemplateContainerLivenessProbe struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// GRPC specifies an action involving a GRPC port.
	// Structure is documented below.
	Grpc *ServiceTemplateContainerLivenessProbeGrpc `pulumi:"grpc"`
	// HTTPGet specifies the http request to perform.
	// Structure is documented below.
	HttpGet *ServiceTemplateContainerLivenessProbeHttpGet `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// (Optional, Deprecated)
	// TCPSocket specifies an action involving a TCP port. This field is not supported in liveness probe currently.
	// Structure is documented below.
	//
	// > **Warning:** `tcpSocket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `tcp_socket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	TcpSocket *ServiceTemplateContainerLivenessProbeTcpSocket `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type ServiceTemplateContainerLivenessProbeArgs

type ServiceTemplateContainerLivenessProbeArgs struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// GRPC specifies an action involving a GRPC port.
	// Structure is documented below.
	Grpc ServiceTemplateContainerLivenessProbeGrpcPtrInput `pulumi:"grpc"`
	// HTTPGet specifies the http request to perform.
	// Structure is documented below.
	HttpGet ServiceTemplateContainerLivenessProbeHttpGetPtrInput `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// (Optional, Deprecated)
	// TCPSocket specifies an action involving a TCP port. This field is not supported in liveness probe currently.
	// Structure is documented below.
	//
	// > **Warning:** `tcpSocket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	//
	// Deprecated: `tcp_socket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
	TcpSocket ServiceTemplateContainerLivenessProbeTcpSocketPtrInput `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (ServiceTemplateContainerLivenessProbeArgs) ElementType

func (ServiceTemplateContainerLivenessProbeArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbeOutput

func (i ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbeOutput() ServiceTemplateContainerLivenessProbeOutput

func (ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbeOutputWithContext

func (i ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbeOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeOutput

func (ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbePtrOutput

func (i ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbePtrOutput() ServiceTemplateContainerLivenessProbePtrOutput

func (ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbePtrOutputWithContext

func (i ServiceTemplateContainerLivenessProbeArgs) ToServiceTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbePtrOutput

type ServiceTemplateContainerLivenessProbeGrpc added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpc struct {
	// Port number to access on the container. Number must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
	// The name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	// If this is not specified, the default behavior is defined by gRPC.
	Service *string `pulumi:"service"`
}

type ServiceTemplateContainerLivenessProbeGrpcArgs added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpcArgs struct {
	// Port number to access on the container. Number must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	// If this is not specified, the default behavior is defined by gRPC.
	Service pulumi.StringPtrInput `pulumi:"service"`
}

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ElementType added in v6.51.0

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcOutput added in v6.51.0

func (i ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcOutput() ServiceTemplateContainerLivenessProbeGrpcOutput

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcOutputWithContext added in v6.51.0

func (i ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeGrpcOutput

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput added in v6.51.0

func (i ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput() ServiceTemplateContainerLivenessProbeGrpcPtrOutput

func (ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext added in v6.51.0

func (i ServiceTemplateContainerLivenessProbeGrpcArgs) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeGrpcPtrOutput

type ServiceTemplateContainerLivenessProbeGrpcInput added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpcInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeGrpcOutput() ServiceTemplateContainerLivenessProbeGrpcOutput
	ToServiceTemplateContainerLivenessProbeGrpcOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeGrpcOutput
}

ServiceTemplateContainerLivenessProbeGrpcInput is an input type that accepts ServiceTemplateContainerLivenessProbeGrpcArgs and ServiceTemplateContainerLivenessProbeGrpcOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeGrpcInput` via:

ServiceTemplateContainerLivenessProbeGrpcArgs{...}

type ServiceTemplateContainerLivenessProbeGrpcOutput added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpcOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ElementType added in v6.51.0

func (ServiceTemplateContainerLivenessProbeGrpcOutput) Port added in v6.51.0

Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeGrpcOutput) Service added in v6.51.0

The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcOutput added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcOutput() ServiceTemplateContainerLivenessProbeGrpcOutput

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeGrpcOutput

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput() ServiceTemplateContainerLivenessProbeGrpcPtrOutput

func (ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeGrpcPtrOutput

type ServiceTemplateContainerLivenessProbeGrpcPtrInput added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpcPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeGrpcPtrOutput() ServiceTemplateContainerLivenessProbeGrpcPtrOutput
	ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeGrpcPtrOutput
}

ServiceTemplateContainerLivenessProbeGrpcPtrInput is an input type that accepts ServiceTemplateContainerLivenessProbeGrpcArgs, ServiceTemplateContainerLivenessProbeGrpcPtr and ServiceTemplateContainerLivenessProbeGrpcPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeGrpcPtrInput` via:

        ServiceTemplateContainerLivenessProbeGrpcArgs{...}

or:

        nil

type ServiceTemplateContainerLivenessProbeGrpcPtrOutput added in v6.51.0

type ServiceTemplateContainerLivenessProbeGrpcPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) Elem added in v6.51.0

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ElementType added in v6.51.0

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) Port added in v6.51.0

Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) Service added in v6.51.0

The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutput() ServiceTemplateContainerLivenessProbeGrpcPtrOutput

func (ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerLivenessProbeGrpcPtrOutput) ToServiceTemplateContainerLivenessProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeGrpcPtrOutput

type ServiceTemplateContainerLivenessProbeHttpGet

type ServiceTemplateContainerLivenessProbeHttpGet struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders []ServiceTemplateContainerLivenessProbeHttpGetHttpHeader `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path *string `pulumi:"path"`
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
}

type ServiceTemplateContainerLivenessProbeHttpGetArgs

type ServiceTemplateContainerLivenessProbeHttpGetArgs struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetOutput

func (i ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetOutput() ServiceTemplateContainerLivenessProbeHttpGetOutput

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetOutputWithContext

func (i ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetOutput

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput

func (i ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput() ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

func (ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (i ServiceTemplateContainerLivenessProbeHttpGetArgs) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeader

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeader struct {
	// The header field name
	Name string `pulumi:"name"`
	// The header field value
	Value *string `pulumi:"value"`
}

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs struct {
	// The header field name
	Name pulumi.StringInput `pulumi:"name"`
	// The header field value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext

func (i ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray []ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderInput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext

func (i ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput() ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput
	ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput
}

ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput is an input type that accepts ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray and ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayInput` via:

ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArray{ ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs{...} }

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) Index

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext

func (o ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderInput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput() ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput
	ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput
}

ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderInput is an input type that accepts ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs and ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderInput` via:

ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs{...}

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

type ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) Name

The header field name

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext

func (o ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderOutput) Value

The header field value

type ServiceTemplateContainerLivenessProbeHttpGetInput

type ServiceTemplateContainerLivenessProbeHttpGetInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeHttpGetOutput() ServiceTemplateContainerLivenessProbeHttpGetOutput
	ToServiceTemplateContainerLivenessProbeHttpGetOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeHttpGetOutput
}

ServiceTemplateContainerLivenessProbeHttpGetInput is an input type that accepts ServiceTemplateContainerLivenessProbeHttpGetArgs and ServiceTemplateContainerLivenessProbeHttpGetOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeHttpGetInput` via:

ServiceTemplateContainerLivenessProbeHttpGetArgs{...}

type ServiceTemplateContainerLivenessProbeHttpGetOutput

type ServiceTemplateContainerLivenessProbeHttpGetOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) Port added in v6.56.0

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetOutput

func (o ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetOutput() ServiceTemplateContainerLivenessProbeHttpGetOutput

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetOutputWithContext

func (o ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetOutput

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput

func (o ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput() ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

func (ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbeHttpGetOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

type ServiceTemplateContainerLivenessProbeHttpGetPtrInput

type ServiceTemplateContainerLivenessProbeHttpGetPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput() ServiceTemplateContainerLivenessProbeHttpGetPtrOutput
	ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeHttpGetPtrOutput
}

ServiceTemplateContainerLivenessProbeHttpGetPtrInput is an input type that accepts ServiceTemplateContainerLivenessProbeHttpGetArgs, ServiceTemplateContainerLivenessProbeHttpGetPtr and ServiceTemplateContainerLivenessProbeHttpGetPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeHttpGetPtrInput` via:

        ServiceTemplateContainerLivenessProbeHttpGetArgs{...}

or:

        nil

type ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

type ServiceTemplateContainerLivenessProbeHttpGetPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) Elem

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) ElementType

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) Port added in v6.56.0

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutput

func (ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbeHttpGetPtrOutput) ToServiceTemplateContainerLivenessProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeHttpGetPtrOutput

type ServiceTemplateContainerLivenessProbeInput

type ServiceTemplateContainerLivenessProbeInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeOutput() ServiceTemplateContainerLivenessProbeOutput
	ToServiceTemplateContainerLivenessProbeOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeOutput
}

ServiceTemplateContainerLivenessProbeInput is an input type that accepts ServiceTemplateContainerLivenessProbeArgs and ServiceTemplateContainerLivenessProbeOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeInput` via:

ServiceTemplateContainerLivenessProbeArgs{...}

type ServiceTemplateContainerLivenessProbeOutput

type ServiceTemplateContainerLivenessProbeOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeOutput) ElementType

func (ServiceTemplateContainerLivenessProbeOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (ServiceTemplateContainerLivenessProbeOutput) Grpc added in v6.51.0

GRPC specifies an action involving a GRPC port. Structure is documented below.

func (ServiceTemplateContainerLivenessProbeOutput) HttpGet

HTTPGet specifies the http request to perform. Structure is documented below.

func (ServiceTemplateContainerLivenessProbeOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerLivenessProbeOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (ServiceTemplateContainerLivenessProbeOutput) TcpSocket deprecated

(Optional, Deprecated) TCPSocket specifies an action involving a TCP port. This field is not supported in liveness probe currently. Structure is documented below.

> **Warning:** `tcpSocket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

Deprecated: `tcp_socket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

func (ServiceTemplateContainerLivenessProbeOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerLivenessProbeOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbeOutput

func (o ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbeOutput() ServiceTemplateContainerLivenessProbeOutput

func (ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbeOutputWithContext

func (o ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbeOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeOutput

func (ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbePtrOutput

func (o ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbePtrOutput() ServiceTemplateContainerLivenessProbePtrOutput

func (ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbePtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbeOutput) ToServiceTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbePtrOutput

type ServiceTemplateContainerLivenessProbePtrInput

type ServiceTemplateContainerLivenessProbePtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbePtrOutput() ServiceTemplateContainerLivenessProbePtrOutput
	ToServiceTemplateContainerLivenessProbePtrOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbePtrOutput
}

ServiceTemplateContainerLivenessProbePtrInput is an input type that accepts ServiceTemplateContainerLivenessProbeArgs, ServiceTemplateContainerLivenessProbePtr and ServiceTemplateContainerLivenessProbePtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbePtrInput` via:

        ServiceTemplateContainerLivenessProbeArgs{...}

or:

        nil

type ServiceTemplateContainerLivenessProbePtrOutput

type ServiceTemplateContainerLivenessProbePtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbePtrOutput) Elem

func (ServiceTemplateContainerLivenessProbePtrOutput) ElementType

func (ServiceTemplateContainerLivenessProbePtrOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (ServiceTemplateContainerLivenessProbePtrOutput) Grpc added in v6.51.0

GRPC specifies an action involving a GRPC port. Structure is documented below.

func (ServiceTemplateContainerLivenessProbePtrOutput) HttpGet

HTTPGet specifies the http request to perform. Structure is documented below.

func (ServiceTemplateContainerLivenessProbePtrOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerLivenessProbePtrOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (ServiceTemplateContainerLivenessProbePtrOutput) TcpSocket deprecated

(Optional, Deprecated) TCPSocket specifies an action involving a TCP port. This field is not supported in liveness probe currently. Structure is documented below.

> **Warning:** `tcpSocket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

Deprecated: `tcp_socket` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

func (ServiceTemplateContainerLivenessProbePtrOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerLivenessProbePtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbePtrOutput) ToServiceTemplateContainerLivenessProbePtrOutput

func (o ServiceTemplateContainerLivenessProbePtrOutput) ToServiceTemplateContainerLivenessProbePtrOutput() ServiceTemplateContainerLivenessProbePtrOutput

func (ServiceTemplateContainerLivenessProbePtrOutput) ToServiceTemplateContainerLivenessProbePtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbePtrOutput) ToServiceTemplateContainerLivenessProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbePtrOutput

type ServiceTemplateContainerLivenessProbeTcpSocket

type ServiceTemplateContainerLivenessProbeTcpSocket struct {
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
}

type ServiceTemplateContainerLivenessProbeTcpSocketArgs

type ServiceTemplateContainerLivenessProbeTcpSocketArgs struct {
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ElementType

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketOutput

func (i ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketOutput() ServiceTemplateContainerLivenessProbeTcpSocketOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketOutputWithContext

func (i ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeTcpSocketOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

func (i ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput() ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (i ServiceTemplateContainerLivenessProbeTcpSocketArgs) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

type ServiceTemplateContainerLivenessProbeTcpSocketInput

type ServiceTemplateContainerLivenessProbeTcpSocketInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeTcpSocketOutput() ServiceTemplateContainerLivenessProbeTcpSocketOutput
	ToServiceTemplateContainerLivenessProbeTcpSocketOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeTcpSocketOutput
}

ServiceTemplateContainerLivenessProbeTcpSocketInput is an input type that accepts ServiceTemplateContainerLivenessProbeTcpSocketArgs and ServiceTemplateContainerLivenessProbeTcpSocketOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeTcpSocketInput` via:

ServiceTemplateContainerLivenessProbeTcpSocketArgs{...}

type ServiceTemplateContainerLivenessProbeTcpSocketOutput

type ServiceTemplateContainerLivenessProbeTcpSocketOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ElementType

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketOutputWithContext

func (o ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeTcpSocketOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

func (o ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput() ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbeTcpSocketOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

type ServiceTemplateContainerLivenessProbeTcpSocketPtrInput

type ServiceTemplateContainerLivenessProbeTcpSocketPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput() ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput
	ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(context.Context) ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput
}

ServiceTemplateContainerLivenessProbeTcpSocketPtrInput is an input type that accepts ServiceTemplateContainerLivenessProbeTcpSocketArgs, ServiceTemplateContainerLivenessProbeTcpSocketPtr and ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerLivenessProbeTcpSocketPtrInput` via:

        ServiceTemplateContainerLivenessProbeTcpSocketArgs{...}

or:

        nil

type ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

type ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) Elem

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) ElementType

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

func (ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext

func (o ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput) ToServiceTemplateContainerLivenessProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerLivenessProbeTcpSocketPtrOutput

type ServiceTemplateContainerOutput

type ServiceTemplateContainerOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerOutput) Args

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (ServiceTemplateContainerOutput) Commands

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

func (ServiceTemplateContainerOutput) DependsOns added in v6.56.0

func (ServiceTemplateContainerOutput) ElementType

func (ServiceTemplateContainerOutput) Envs

List of environment variables to set in the container. Structure is documented below.

func (ServiceTemplateContainerOutput) Image

URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images

func (ServiceTemplateContainerOutput) LivenessProbe

Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

func (ServiceTemplateContainerOutput) Name

Name of the container specified as a DNS_LABEL.

func (ServiceTemplateContainerOutput) Ports

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

func (ServiceTemplateContainerOutput) Resources

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

func (ServiceTemplateContainerOutput) StartupProbe

Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

func (ServiceTemplateContainerOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerOutput) ToServiceTemplateContainerOutput

func (o ServiceTemplateContainerOutput) ToServiceTemplateContainerOutput() ServiceTemplateContainerOutput

func (ServiceTemplateContainerOutput) ToServiceTemplateContainerOutputWithContext

func (o ServiceTemplateContainerOutput) ToServiceTemplateContainerOutputWithContext(ctx context.Context) ServiceTemplateContainerOutput

func (ServiceTemplateContainerOutput) VolumeMounts

Volume to mount into the container's filesystem. Structure is documented below.

func (ServiceTemplateContainerOutput) WorkingDir

Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

type ServiceTemplateContainerPort

type ServiceTemplateContainerPort struct {
	// Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
	ContainerPort *int `pulumi:"containerPort"`
	// If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
	Name *string `pulumi:"name"`
}

type ServiceTemplateContainerPortArgs

type ServiceTemplateContainerPortArgs struct {
	// Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
	ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"`
	// If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ServiceTemplateContainerPortArgs) ElementType

func (ServiceTemplateContainerPortArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerPortArgs) ToServiceTemplateContainerPortOutput

func (i ServiceTemplateContainerPortArgs) ToServiceTemplateContainerPortOutput() ServiceTemplateContainerPortOutput

func (ServiceTemplateContainerPortArgs) ToServiceTemplateContainerPortOutputWithContext

func (i ServiceTemplateContainerPortArgs) ToServiceTemplateContainerPortOutputWithContext(ctx context.Context) ServiceTemplateContainerPortOutput

type ServiceTemplateContainerPortArray

type ServiceTemplateContainerPortArray []ServiceTemplateContainerPortInput

func (ServiceTemplateContainerPortArray) ElementType

func (ServiceTemplateContainerPortArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerPortArray) ToServiceTemplateContainerPortArrayOutput

func (i ServiceTemplateContainerPortArray) ToServiceTemplateContainerPortArrayOutput() ServiceTemplateContainerPortArrayOutput

func (ServiceTemplateContainerPortArray) ToServiceTemplateContainerPortArrayOutputWithContext

func (i ServiceTemplateContainerPortArray) ToServiceTemplateContainerPortArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerPortArrayOutput

type ServiceTemplateContainerPortArrayInput

type ServiceTemplateContainerPortArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerPortArrayOutput() ServiceTemplateContainerPortArrayOutput
	ToServiceTemplateContainerPortArrayOutputWithContext(context.Context) ServiceTemplateContainerPortArrayOutput
}

ServiceTemplateContainerPortArrayInput is an input type that accepts ServiceTemplateContainerPortArray and ServiceTemplateContainerPortArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerPortArrayInput` via:

ServiceTemplateContainerPortArray{ ServiceTemplateContainerPortArgs{...} }

type ServiceTemplateContainerPortArrayOutput

type ServiceTemplateContainerPortArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerPortArrayOutput) ElementType

func (ServiceTemplateContainerPortArrayOutput) Index

func (ServiceTemplateContainerPortArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerPortArrayOutput) ToServiceTemplateContainerPortArrayOutput

func (o ServiceTemplateContainerPortArrayOutput) ToServiceTemplateContainerPortArrayOutput() ServiceTemplateContainerPortArrayOutput

func (ServiceTemplateContainerPortArrayOutput) ToServiceTemplateContainerPortArrayOutputWithContext

func (o ServiceTemplateContainerPortArrayOutput) ToServiceTemplateContainerPortArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerPortArrayOutput

type ServiceTemplateContainerPortInput

type ServiceTemplateContainerPortInput interface {
	pulumi.Input

	ToServiceTemplateContainerPortOutput() ServiceTemplateContainerPortOutput
	ToServiceTemplateContainerPortOutputWithContext(context.Context) ServiceTemplateContainerPortOutput
}

ServiceTemplateContainerPortInput is an input type that accepts ServiceTemplateContainerPortArgs and ServiceTemplateContainerPortOutput values. You can construct a concrete instance of `ServiceTemplateContainerPortInput` via:

ServiceTemplateContainerPortArgs{...}

type ServiceTemplateContainerPortOutput

type ServiceTemplateContainerPortOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerPortOutput) ContainerPort

Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.

func (ServiceTemplateContainerPortOutput) ElementType

func (ServiceTemplateContainerPortOutput) Name

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

func (ServiceTemplateContainerPortOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerPortOutput) ToServiceTemplateContainerPortOutput

func (o ServiceTemplateContainerPortOutput) ToServiceTemplateContainerPortOutput() ServiceTemplateContainerPortOutput

func (ServiceTemplateContainerPortOutput) ToServiceTemplateContainerPortOutputWithContext

func (o ServiceTemplateContainerPortOutput) ToServiceTemplateContainerPortOutputWithContext(ctx context.Context) ServiceTemplateContainerPortOutput

type ServiceTemplateContainerResources

type ServiceTemplateContainerResources struct {
	// Determines whether CPU should be throttled or not outside of requests.
	CpuIdle *bool `pulumi:"cpuIdle"`
	// Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
	Limits map[string]string `pulumi:"limits"`
	// Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
	StartupCpuBoost *bool `pulumi:"startupCpuBoost"`
}

type ServiceTemplateContainerResourcesArgs

type ServiceTemplateContainerResourcesArgs struct {
	// Determines whether CPU should be throttled or not outside of requests.
	CpuIdle pulumi.BoolPtrInput `pulumi:"cpuIdle"`
	// Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
	Limits pulumi.StringMapInput `pulumi:"limits"`
	// Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
	StartupCpuBoost pulumi.BoolPtrInput `pulumi:"startupCpuBoost"`
}

func (ServiceTemplateContainerResourcesArgs) ElementType

func (ServiceTemplateContainerResourcesArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesOutput

func (i ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesOutput() ServiceTemplateContainerResourcesOutput

func (ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesOutputWithContext

func (i ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesOutputWithContext(ctx context.Context) ServiceTemplateContainerResourcesOutput

func (ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesPtrOutput

func (i ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesPtrOutput() ServiceTemplateContainerResourcesPtrOutput

func (ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesPtrOutputWithContext

func (i ServiceTemplateContainerResourcesArgs) ToServiceTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerResourcesPtrOutput

type ServiceTemplateContainerResourcesInput

type ServiceTemplateContainerResourcesInput interface {
	pulumi.Input

	ToServiceTemplateContainerResourcesOutput() ServiceTemplateContainerResourcesOutput
	ToServiceTemplateContainerResourcesOutputWithContext(context.Context) ServiceTemplateContainerResourcesOutput
}

ServiceTemplateContainerResourcesInput is an input type that accepts ServiceTemplateContainerResourcesArgs and ServiceTemplateContainerResourcesOutput values. You can construct a concrete instance of `ServiceTemplateContainerResourcesInput` via:

ServiceTemplateContainerResourcesArgs{...}

type ServiceTemplateContainerResourcesOutput

type ServiceTemplateContainerResourcesOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerResourcesOutput) CpuIdle

Determines whether CPU should be throttled or not outside of requests.

func (ServiceTemplateContainerResourcesOutput) ElementType

func (ServiceTemplateContainerResourcesOutput) Limits

Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

func (ServiceTemplateContainerResourcesOutput) StartupCpuBoost added in v6.56.0

Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

func (ServiceTemplateContainerResourcesOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesOutput

func (o ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesOutput() ServiceTemplateContainerResourcesOutput

func (ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesOutputWithContext

func (o ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesOutputWithContext(ctx context.Context) ServiceTemplateContainerResourcesOutput

func (ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesPtrOutput

func (o ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesPtrOutput() ServiceTemplateContainerResourcesPtrOutput

func (ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesPtrOutputWithContext

func (o ServiceTemplateContainerResourcesOutput) ToServiceTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerResourcesPtrOutput

type ServiceTemplateContainerResourcesPtrInput

type ServiceTemplateContainerResourcesPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerResourcesPtrOutput() ServiceTemplateContainerResourcesPtrOutput
	ToServiceTemplateContainerResourcesPtrOutputWithContext(context.Context) ServiceTemplateContainerResourcesPtrOutput
}

ServiceTemplateContainerResourcesPtrInput is an input type that accepts ServiceTemplateContainerResourcesArgs, ServiceTemplateContainerResourcesPtr and ServiceTemplateContainerResourcesPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerResourcesPtrInput` via:

        ServiceTemplateContainerResourcesArgs{...}

or:

        nil

type ServiceTemplateContainerResourcesPtrOutput

type ServiceTemplateContainerResourcesPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerResourcesPtrOutput) CpuIdle

Determines whether CPU should be throttled or not outside of requests.

func (ServiceTemplateContainerResourcesPtrOutput) Elem

func (ServiceTemplateContainerResourcesPtrOutput) ElementType

func (ServiceTemplateContainerResourcesPtrOutput) Limits

Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

func (ServiceTemplateContainerResourcesPtrOutput) StartupCpuBoost added in v6.56.0

Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

func (ServiceTemplateContainerResourcesPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerResourcesPtrOutput) ToServiceTemplateContainerResourcesPtrOutput

func (o ServiceTemplateContainerResourcesPtrOutput) ToServiceTemplateContainerResourcesPtrOutput() ServiceTemplateContainerResourcesPtrOutput

func (ServiceTemplateContainerResourcesPtrOutput) ToServiceTemplateContainerResourcesPtrOutputWithContext

func (o ServiceTemplateContainerResourcesPtrOutput) ToServiceTemplateContainerResourcesPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerResourcesPtrOutput

type ServiceTemplateContainerStartupProbe

type ServiceTemplateContainerStartupProbe struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// GRPC specifies an action involving a GRPC port.
	// Structure is documented below.
	Grpc *ServiceTemplateContainerStartupProbeGrpc `pulumi:"grpc"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet *ServiceTemplateContainerStartupProbeHttpGet `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket *ServiceTemplateContainerStartupProbeTcpSocket `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type ServiceTemplateContainerStartupProbeArgs

type ServiceTemplateContainerStartupProbeArgs struct {
	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// GRPC specifies an action involving a GRPC port.
	// Structure is documented below.
	Grpc ServiceTemplateContainerStartupProbeGrpcPtrInput `pulumi:"grpc"`
	// HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	HttpGet ServiceTemplateContainerStartupProbeHttpGetPtrInput `pulumi:"httpGet"`
	// Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
	// Structure is documented below.
	TcpSocket ServiceTemplateContainerStartupProbeTcpSocketPtrInput `pulumi:"tcpSocket"`
	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (ServiceTemplateContainerStartupProbeArgs) ElementType

func (ServiceTemplateContainerStartupProbeArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbeOutput

func (i ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbeOutput() ServiceTemplateContainerStartupProbeOutput

func (ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbeOutputWithContext

func (i ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbeOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeOutput

func (ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbePtrOutput

func (i ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbePtrOutput() ServiceTemplateContainerStartupProbePtrOutput

func (ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbePtrOutputWithContext

func (i ServiceTemplateContainerStartupProbeArgs) ToServiceTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbePtrOutput

type ServiceTemplateContainerStartupProbeGrpc added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpc struct {
	// Port number to access on the container. Number must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
	// The name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	// If this is not specified, the default behavior is defined by gRPC.
	Service *string `pulumi:"service"`
}

type ServiceTemplateContainerStartupProbeGrpcArgs added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpcArgs struct {
	// Port number to access on the container. Number must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	// If this is not specified, the default behavior is defined by gRPC.
	Service pulumi.StringPtrInput `pulumi:"service"`
}

func (ServiceTemplateContainerStartupProbeGrpcArgs) ElementType added in v6.51.0

func (ServiceTemplateContainerStartupProbeGrpcArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcOutput added in v6.51.0

func (i ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcOutput() ServiceTemplateContainerStartupProbeGrpcOutput

func (ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcOutputWithContext added in v6.51.0

func (i ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeGrpcOutput

func (ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcPtrOutput added in v6.51.0

func (i ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcPtrOutput() ServiceTemplateContainerStartupProbeGrpcPtrOutput

func (ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext added in v6.51.0

func (i ServiceTemplateContainerStartupProbeGrpcArgs) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeGrpcPtrOutput

type ServiceTemplateContainerStartupProbeGrpcInput added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpcInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeGrpcOutput() ServiceTemplateContainerStartupProbeGrpcOutput
	ToServiceTemplateContainerStartupProbeGrpcOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeGrpcOutput
}

ServiceTemplateContainerStartupProbeGrpcInput is an input type that accepts ServiceTemplateContainerStartupProbeGrpcArgs and ServiceTemplateContainerStartupProbeGrpcOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeGrpcInput` via:

ServiceTemplateContainerStartupProbeGrpcArgs{...}

type ServiceTemplateContainerStartupProbeGrpcOutput added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpcOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeGrpcOutput) ElementType added in v6.51.0

func (ServiceTemplateContainerStartupProbeGrpcOutput) Port added in v6.51.0

Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeGrpcOutput) Service added in v6.51.0

The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

func (ServiceTemplateContainerStartupProbeGrpcOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcOutput added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcOutput() ServiceTemplateContainerStartupProbeGrpcOutput

func (ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeGrpcOutput

func (ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutput added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutput() ServiceTemplateContainerStartupProbeGrpcPtrOutput

func (ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeGrpcPtrOutput

type ServiceTemplateContainerStartupProbeGrpcPtrInput added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpcPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeGrpcPtrOutput() ServiceTemplateContainerStartupProbeGrpcPtrOutput
	ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeGrpcPtrOutput
}

ServiceTemplateContainerStartupProbeGrpcPtrInput is an input type that accepts ServiceTemplateContainerStartupProbeGrpcArgs, ServiceTemplateContainerStartupProbeGrpcPtr and ServiceTemplateContainerStartupProbeGrpcPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeGrpcPtrInput` via:

        ServiceTemplateContainerStartupProbeGrpcArgs{...}

or:

        nil

type ServiceTemplateContainerStartupProbeGrpcPtrOutput added in v6.51.0

type ServiceTemplateContainerStartupProbeGrpcPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) Elem added in v6.51.0

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) ElementType added in v6.51.0

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) Port added in v6.51.0

Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) Service added in v6.51.0

The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutput added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcPtrOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutput() ServiceTemplateContainerStartupProbeGrpcPtrOutput

func (ServiceTemplateContainerStartupProbeGrpcPtrOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext added in v6.51.0

func (o ServiceTemplateContainerStartupProbeGrpcPtrOutput) ToServiceTemplateContainerStartupProbeGrpcPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeGrpcPtrOutput

type ServiceTemplateContainerStartupProbeHttpGet

type ServiceTemplateContainerStartupProbeHttpGet struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders []ServiceTemplateContainerStartupProbeHttpGetHttpHeader `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path *string `pulumi:"path"`
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
}

type ServiceTemplateContainerStartupProbeHttpGetArgs

type ServiceTemplateContainerStartupProbeHttpGetArgs struct {
	// Custom headers to set in the request. HTTP allows repeated headers.
	// Structure is documented below.
	HttpHeaders ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput `pulumi:"httpHeaders"`
	// Path to access on the HTTP server. Defaults to '/'.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetOutput

func (i ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetOutput() ServiceTemplateContainerStartupProbeHttpGetOutput

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetOutputWithContext

func (i ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetOutput

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetPtrOutput

func (i ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetPtrOutput() ServiceTemplateContainerStartupProbeHttpGetPtrOutput

func (ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (i ServiceTemplateContainerStartupProbeHttpGetArgs) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetPtrOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeader

type ServiceTemplateContainerStartupProbeHttpGetHttpHeader struct {
	// The header field name
	Name string `pulumi:"name"`
	// The header field value
	Value *string `pulumi:"value"`
}

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs struct {
	// The header field name
	Name pulumi.StringInput `pulumi:"name"`
	// The header field value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext

func (i ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray []ServiceTemplateContainerStartupProbeHttpGetHttpHeaderInput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext

func (i ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput() ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput
	ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput
}

ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput is an input type that accepts ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray and ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayInput` via:

ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArray{ ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs{...} }

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) Index

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext

func (o ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArrayOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderInput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput() ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput
	ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput
}

ServiceTemplateContainerStartupProbeHttpGetHttpHeaderInput is an input type that accepts ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs and ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeHttpGetHttpHeaderInput` via:

ServiceTemplateContainerStartupProbeHttpGetHttpHeaderArgs{...}

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput

type ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) Name

The header field name

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext

func (o ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) ToServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput

func (ServiceTemplateContainerStartupProbeHttpGetHttpHeaderOutput) Value

The header field value

type ServiceTemplateContainerStartupProbeHttpGetInput

type ServiceTemplateContainerStartupProbeHttpGetInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeHttpGetOutput() ServiceTemplateContainerStartupProbeHttpGetOutput
	ToServiceTemplateContainerStartupProbeHttpGetOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeHttpGetOutput
}

ServiceTemplateContainerStartupProbeHttpGetInput is an input type that accepts ServiceTemplateContainerStartupProbeHttpGetArgs and ServiceTemplateContainerStartupProbeHttpGetOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeHttpGetInput` via:

ServiceTemplateContainerStartupProbeHttpGetArgs{...}

type ServiceTemplateContainerStartupProbeHttpGetOutput

type ServiceTemplateContainerStartupProbeHttpGetOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (ServiceTemplateContainerStartupProbeHttpGetOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (ServiceTemplateContainerStartupProbeHttpGetOutput) Port added in v6.56.0

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetOutput

func (o ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetOutput() ServiceTemplateContainerStartupProbeHttpGetOutput

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetOutputWithContext

func (o ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetOutput

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutput

func (o ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutput() ServiceTemplateContainerStartupProbeHttpGetPtrOutput

func (ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (o ServiceTemplateContainerStartupProbeHttpGetOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetPtrOutput

type ServiceTemplateContainerStartupProbeHttpGetPtrInput

type ServiceTemplateContainerStartupProbeHttpGetPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeHttpGetPtrOutput() ServiceTemplateContainerStartupProbeHttpGetPtrOutput
	ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeHttpGetPtrOutput
}

ServiceTemplateContainerStartupProbeHttpGetPtrInput is an input type that accepts ServiceTemplateContainerStartupProbeHttpGetArgs, ServiceTemplateContainerStartupProbeHttpGetPtr and ServiceTemplateContainerStartupProbeHttpGetPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeHttpGetPtrInput` via:

        ServiceTemplateContainerStartupProbeHttpGetArgs{...}

or:

        nil

type ServiceTemplateContainerStartupProbeHttpGetPtrOutput

type ServiceTemplateContainerStartupProbeHttpGetPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) Elem

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) ElementType

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) Path

Path to access on the HTTP server. Defaults to '/'.

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) Port added in v6.56.0

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutput

func (ServiceTemplateContainerStartupProbeHttpGetPtrOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext

func (o ServiceTemplateContainerStartupProbeHttpGetPtrOutput) ToServiceTemplateContainerStartupProbeHttpGetPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeHttpGetPtrOutput

type ServiceTemplateContainerStartupProbeInput

type ServiceTemplateContainerStartupProbeInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeOutput() ServiceTemplateContainerStartupProbeOutput
	ToServiceTemplateContainerStartupProbeOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeOutput
}

ServiceTemplateContainerStartupProbeInput is an input type that accepts ServiceTemplateContainerStartupProbeArgs and ServiceTemplateContainerStartupProbeOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeInput` via:

ServiceTemplateContainerStartupProbeArgs{...}

type ServiceTemplateContainerStartupProbeOutput

type ServiceTemplateContainerStartupProbeOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeOutput) ElementType

func (ServiceTemplateContainerStartupProbeOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (ServiceTemplateContainerStartupProbeOutput) Grpc added in v6.51.0

GRPC specifies an action involving a GRPC port. Structure is documented below.

func (ServiceTemplateContainerStartupProbeOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (ServiceTemplateContainerStartupProbeOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerStartupProbeOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (ServiceTemplateContainerStartupProbeOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (ServiceTemplateContainerStartupProbeOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerStartupProbeOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbeOutput

func (o ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbeOutput() ServiceTemplateContainerStartupProbeOutput

func (ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbeOutputWithContext

func (o ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbeOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeOutput

func (ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbePtrOutput

func (o ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbePtrOutput() ServiceTemplateContainerStartupProbePtrOutput

func (ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbePtrOutputWithContext

func (o ServiceTemplateContainerStartupProbeOutput) ToServiceTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbePtrOutput

type ServiceTemplateContainerStartupProbePtrInput

type ServiceTemplateContainerStartupProbePtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbePtrOutput() ServiceTemplateContainerStartupProbePtrOutput
	ToServiceTemplateContainerStartupProbePtrOutputWithContext(context.Context) ServiceTemplateContainerStartupProbePtrOutput
}

ServiceTemplateContainerStartupProbePtrInput is an input type that accepts ServiceTemplateContainerStartupProbeArgs, ServiceTemplateContainerStartupProbePtr and ServiceTemplateContainerStartupProbePtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbePtrInput` via:

        ServiceTemplateContainerStartupProbeArgs{...}

or:

        nil

type ServiceTemplateContainerStartupProbePtrOutput

type ServiceTemplateContainerStartupProbePtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbePtrOutput) Elem

func (ServiceTemplateContainerStartupProbePtrOutput) ElementType

func (ServiceTemplateContainerStartupProbePtrOutput) FailureThreshold

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

func (ServiceTemplateContainerStartupProbePtrOutput) Grpc added in v6.51.0

GRPC specifies an action involving a GRPC port. Structure is documented below.

func (ServiceTemplateContainerStartupProbePtrOutput) HttpGet

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (ServiceTemplateContainerStartupProbePtrOutput) InitialDelaySeconds

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerStartupProbePtrOutput) PeriodSeconds

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds

func (ServiceTemplateContainerStartupProbePtrOutput) TcpSocket

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

func (ServiceTemplateContainerStartupProbePtrOutput) TimeoutSeconds

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

func (ServiceTemplateContainerStartupProbePtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbePtrOutput) ToServiceTemplateContainerStartupProbePtrOutput

func (o ServiceTemplateContainerStartupProbePtrOutput) ToServiceTemplateContainerStartupProbePtrOutput() ServiceTemplateContainerStartupProbePtrOutput

func (ServiceTemplateContainerStartupProbePtrOutput) ToServiceTemplateContainerStartupProbePtrOutputWithContext

func (o ServiceTemplateContainerStartupProbePtrOutput) ToServiceTemplateContainerStartupProbePtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbePtrOutput

type ServiceTemplateContainerStartupProbeTcpSocket

type ServiceTemplateContainerStartupProbeTcpSocket struct {
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port *int `pulumi:"port"`
}

type ServiceTemplateContainerStartupProbeTcpSocketArgs

type ServiceTemplateContainerStartupProbeTcpSocketArgs struct {
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the same value as container.ports[0].containerPort.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ElementType

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketOutput

func (i ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketOutput() ServiceTemplateContainerStartupProbeTcpSocketOutput

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketOutputWithContext

func (i ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeTcpSocketOutput

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput

func (i ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput() ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

func (ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (i ServiceTemplateContainerStartupProbeTcpSocketArgs) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

type ServiceTemplateContainerStartupProbeTcpSocketInput

type ServiceTemplateContainerStartupProbeTcpSocketInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeTcpSocketOutput() ServiceTemplateContainerStartupProbeTcpSocketOutput
	ToServiceTemplateContainerStartupProbeTcpSocketOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeTcpSocketOutput
}

ServiceTemplateContainerStartupProbeTcpSocketInput is an input type that accepts ServiceTemplateContainerStartupProbeTcpSocketArgs and ServiceTemplateContainerStartupProbeTcpSocketOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeTcpSocketInput` via:

ServiceTemplateContainerStartupProbeTcpSocketArgs{...}

type ServiceTemplateContainerStartupProbeTcpSocketOutput

type ServiceTemplateContainerStartupProbeTcpSocketOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ElementType

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketOutput

func (o ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketOutput() ServiceTemplateContainerStartupProbeTcpSocketOutput

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketOutputWithContext

func (o ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeTcpSocketOutput

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput

func (o ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput() ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

func (ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (o ServiceTemplateContainerStartupProbeTcpSocketOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

type ServiceTemplateContainerStartupProbeTcpSocketPtrInput

type ServiceTemplateContainerStartupProbeTcpSocketPtrInput interface {
	pulumi.Input

	ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput() ServiceTemplateContainerStartupProbeTcpSocketPtrOutput
	ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(context.Context) ServiceTemplateContainerStartupProbeTcpSocketPtrOutput
}

ServiceTemplateContainerStartupProbeTcpSocketPtrInput is an input type that accepts ServiceTemplateContainerStartupProbeTcpSocketArgs, ServiceTemplateContainerStartupProbeTcpSocketPtr and ServiceTemplateContainerStartupProbeTcpSocketPtrOutput values. You can construct a concrete instance of `ServiceTemplateContainerStartupProbeTcpSocketPtrInput` via:

        ServiceTemplateContainerStartupProbeTcpSocketArgs{...}

or:

        nil

type ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

type ServiceTemplateContainerStartupProbeTcpSocketPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) Elem

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) ElementType

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) Port

Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort.

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutput

func (ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext

func (o ServiceTemplateContainerStartupProbeTcpSocketPtrOutput) ToServiceTemplateContainerStartupProbeTcpSocketPtrOutputWithContext(ctx context.Context) ServiceTemplateContainerStartupProbeTcpSocketPtrOutput

type ServiceTemplateContainerVolumeMount

type ServiceTemplateContainerVolumeMount struct {
	// Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
	MountPath string `pulumi:"mountPath"`
	// This must match the Name of a Volume.
	Name string `pulumi:"name"`
}

type ServiceTemplateContainerVolumeMountArgs

type ServiceTemplateContainerVolumeMountArgs struct {
	// Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
	MountPath pulumi.StringInput `pulumi:"mountPath"`
	// This must match the Name of a Volume.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ServiceTemplateContainerVolumeMountArgs) ElementType

func (ServiceTemplateContainerVolumeMountArgs) ToOutput added in v6.65.1

func (ServiceTemplateContainerVolumeMountArgs) ToServiceTemplateContainerVolumeMountOutput

func (i ServiceTemplateContainerVolumeMountArgs) ToServiceTemplateContainerVolumeMountOutput() ServiceTemplateContainerVolumeMountOutput

func (ServiceTemplateContainerVolumeMountArgs) ToServiceTemplateContainerVolumeMountOutputWithContext

func (i ServiceTemplateContainerVolumeMountArgs) ToServiceTemplateContainerVolumeMountOutputWithContext(ctx context.Context) ServiceTemplateContainerVolumeMountOutput

type ServiceTemplateContainerVolumeMountArray

type ServiceTemplateContainerVolumeMountArray []ServiceTemplateContainerVolumeMountInput

func (ServiceTemplateContainerVolumeMountArray) ElementType

func (ServiceTemplateContainerVolumeMountArray) ToOutput added in v6.65.1

func (ServiceTemplateContainerVolumeMountArray) ToServiceTemplateContainerVolumeMountArrayOutput

func (i ServiceTemplateContainerVolumeMountArray) ToServiceTemplateContainerVolumeMountArrayOutput() ServiceTemplateContainerVolumeMountArrayOutput

func (ServiceTemplateContainerVolumeMountArray) ToServiceTemplateContainerVolumeMountArrayOutputWithContext

func (i ServiceTemplateContainerVolumeMountArray) ToServiceTemplateContainerVolumeMountArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerVolumeMountArrayOutput

type ServiceTemplateContainerVolumeMountArrayInput

type ServiceTemplateContainerVolumeMountArrayInput interface {
	pulumi.Input

	ToServiceTemplateContainerVolumeMountArrayOutput() ServiceTemplateContainerVolumeMountArrayOutput
	ToServiceTemplateContainerVolumeMountArrayOutputWithContext(context.Context) ServiceTemplateContainerVolumeMountArrayOutput
}

ServiceTemplateContainerVolumeMountArrayInput is an input type that accepts ServiceTemplateContainerVolumeMountArray and ServiceTemplateContainerVolumeMountArrayOutput values. You can construct a concrete instance of `ServiceTemplateContainerVolumeMountArrayInput` via:

ServiceTemplateContainerVolumeMountArray{ ServiceTemplateContainerVolumeMountArgs{...} }

type ServiceTemplateContainerVolumeMountArrayOutput

type ServiceTemplateContainerVolumeMountArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerVolumeMountArrayOutput) ElementType

func (ServiceTemplateContainerVolumeMountArrayOutput) Index

func (ServiceTemplateContainerVolumeMountArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerVolumeMountArrayOutput) ToServiceTemplateContainerVolumeMountArrayOutput

func (o ServiceTemplateContainerVolumeMountArrayOutput) ToServiceTemplateContainerVolumeMountArrayOutput() ServiceTemplateContainerVolumeMountArrayOutput

func (ServiceTemplateContainerVolumeMountArrayOutput) ToServiceTemplateContainerVolumeMountArrayOutputWithContext

func (o ServiceTemplateContainerVolumeMountArrayOutput) ToServiceTemplateContainerVolumeMountArrayOutputWithContext(ctx context.Context) ServiceTemplateContainerVolumeMountArrayOutput

type ServiceTemplateContainerVolumeMountInput

type ServiceTemplateContainerVolumeMountInput interface {
	pulumi.Input

	ToServiceTemplateContainerVolumeMountOutput() ServiceTemplateContainerVolumeMountOutput
	ToServiceTemplateContainerVolumeMountOutputWithContext(context.Context) ServiceTemplateContainerVolumeMountOutput
}

ServiceTemplateContainerVolumeMountInput is an input type that accepts ServiceTemplateContainerVolumeMountArgs and ServiceTemplateContainerVolumeMountOutput values. You can construct a concrete instance of `ServiceTemplateContainerVolumeMountInput` via:

ServiceTemplateContainerVolumeMountArgs{...}

type ServiceTemplateContainerVolumeMountOutput

type ServiceTemplateContainerVolumeMountOutput struct{ *pulumi.OutputState }

func (ServiceTemplateContainerVolumeMountOutput) ElementType

func (ServiceTemplateContainerVolumeMountOutput) MountPath

Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run

func (ServiceTemplateContainerVolumeMountOutput) Name

This must match the Name of a Volume.

func (ServiceTemplateContainerVolumeMountOutput) ToOutput added in v6.65.1

func (ServiceTemplateContainerVolumeMountOutput) ToServiceTemplateContainerVolumeMountOutput

func (o ServiceTemplateContainerVolumeMountOutput) ToServiceTemplateContainerVolumeMountOutput() ServiceTemplateContainerVolumeMountOutput

func (ServiceTemplateContainerVolumeMountOutput) ToServiceTemplateContainerVolumeMountOutputWithContext

func (o ServiceTemplateContainerVolumeMountOutput) ToServiceTemplateContainerVolumeMountOutputWithContext(ctx context.Context) ServiceTemplateContainerVolumeMountOutput

type ServiceTemplateInput

type ServiceTemplateInput interface {
	pulumi.Input

	ToServiceTemplateOutput() ServiceTemplateOutput
	ToServiceTemplateOutputWithContext(context.Context) ServiceTemplateOutput
}

ServiceTemplateInput is an input type that accepts ServiceTemplateArgs and ServiceTemplateOutput values. You can construct a concrete instance of `ServiceTemplateInput` via:

ServiceTemplateArgs{...}

type ServiceTemplateOutput

type ServiceTemplateOutput struct{ *pulumi.OutputState }

func (ServiceTemplateOutput) Annotations added in v6.48.0

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (ServiceTemplateOutput) Containers

Holds the containers that define the unit of execution for this Service. Structure is documented below.

func (ServiceTemplateOutput) ElementType

func (ServiceTemplateOutput) ElementType() reflect.Type

func (ServiceTemplateOutput) EncryptionKey

func (o ServiceTemplateOutput) EncryptionKey() pulumi.StringPtrOutput

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

func (ServiceTemplateOutput) ExecutionEnvironment

func (o ServiceTemplateOutput) ExecutionEnvironment() pulumi.StringPtrOutput

The sandbox environment to host this Revision. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.

func (ServiceTemplateOutput) Labels

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

func (ServiceTemplateOutput) MaxInstanceRequestConcurrency

func (o ServiceTemplateOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput

Sets the maximum number of requests that each serving instance can receive.

func (ServiceTemplateOutput) Revision

The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.

func (ServiceTemplateOutput) Scaling

Scaling settings for this Revision. Structure is documented below.

func (ServiceTemplateOutput) ServiceAccount

func (o ServiceTemplateOutput) ServiceAccount() pulumi.StringPtrOutput

Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.

func (ServiceTemplateOutput) SessionAffinity added in v6.56.0

func (o ServiceTemplateOutput) SessionAffinity() pulumi.BoolPtrOutput

Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity

func (ServiceTemplateOutput) Timeout

Max allowed time for an instance to respond to a request. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

func (ServiceTemplateOutput) ToOutput added in v6.65.1

func (ServiceTemplateOutput) ToServiceTemplateOutput

func (o ServiceTemplateOutput) ToServiceTemplateOutput() ServiceTemplateOutput

func (ServiceTemplateOutput) ToServiceTemplateOutputWithContext

func (o ServiceTemplateOutput) ToServiceTemplateOutputWithContext(ctx context.Context) ServiceTemplateOutput

func (ServiceTemplateOutput) ToServiceTemplatePtrOutput

func (o ServiceTemplateOutput) ToServiceTemplatePtrOutput() ServiceTemplatePtrOutput

func (ServiceTemplateOutput) ToServiceTemplatePtrOutputWithContext

func (o ServiceTemplateOutput) ToServiceTemplatePtrOutputWithContext(ctx context.Context) ServiceTemplatePtrOutput

func (ServiceTemplateOutput) Volumes

A list of Volumes to make available to containers. Structure is documented below.

func (ServiceTemplateOutput) VpcAccess

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

type ServiceTemplatePtrInput

type ServiceTemplatePtrInput interface {
	pulumi.Input

	ToServiceTemplatePtrOutput() ServiceTemplatePtrOutput
	ToServiceTemplatePtrOutputWithContext(context.Context) ServiceTemplatePtrOutput
}

ServiceTemplatePtrInput is an input type that accepts ServiceTemplateArgs, ServiceTemplatePtr and ServiceTemplatePtrOutput values. You can construct a concrete instance of `ServiceTemplatePtrInput` via:

        ServiceTemplateArgs{...}

or:

        nil

type ServiceTemplatePtrOutput

type ServiceTemplatePtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplatePtrOutput) Annotations added in v6.48.0

Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.

func (ServiceTemplatePtrOutput) Containers

Holds the containers that define the unit of execution for this Service. Structure is documented below.

func (ServiceTemplatePtrOutput) Elem

func (ServiceTemplatePtrOutput) ElementType

func (ServiceTemplatePtrOutput) ElementType() reflect.Type

func (ServiceTemplatePtrOutput) EncryptionKey

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

func (ServiceTemplatePtrOutput) ExecutionEnvironment

func (o ServiceTemplatePtrOutput) ExecutionEnvironment() pulumi.StringPtrOutput

The sandbox environment to host this Revision. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.

func (ServiceTemplatePtrOutput) Labels

Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

func (ServiceTemplatePtrOutput) MaxInstanceRequestConcurrency

func (o ServiceTemplatePtrOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput

Sets the maximum number of requests that each serving instance can receive.

func (ServiceTemplatePtrOutput) Revision

The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.

func (ServiceTemplatePtrOutput) Scaling

Scaling settings for this Revision. Structure is documented below.

func (ServiceTemplatePtrOutput) ServiceAccount

func (o ServiceTemplatePtrOutput) ServiceAccount() pulumi.StringPtrOutput

Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.

func (ServiceTemplatePtrOutput) SessionAffinity added in v6.56.0

func (o ServiceTemplatePtrOutput) SessionAffinity() pulumi.BoolPtrOutput

Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity

func (ServiceTemplatePtrOutput) Timeout

Max allowed time for an instance to respond to a request. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

func (ServiceTemplatePtrOutput) ToOutput added in v6.65.1

func (ServiceTemplatePtrOutput) ToServiceTemplatePtrOutput

func (o ServiceTemplatePtrOutput) ToServiceTemplatePtrOutput() ServiceTemplatePtrOutput

func (ServiceTemplatePtrOutput) ToServiceTemplatePtrOutputWithContext

func (o ServiceTemplatePtrOutput) ToServiceTemplatePtrOutputWithContext(ctx context.Context) ServiceTemplatePtrOutput

func (ServiceTemplatePtrOutput) Volumes

A list of Volumes to make available to containers. Structure is documented below.

func (ServiceTemplatePtrOutput) VpcAccess

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

type ServiceTemplateScaling

type ServiceTemplateScaling struct {
	// Maximum number of serving instances that this resource should have.
	MaxInstanceCount *int `pulumi:"maxInstanceCount"`
	// Minimum number of serving instances that this resource should have.
	MinInstanceCount *int `pulumi:"minInstanceCount"`
}

type ServiceTemplateScalingArgs

type ServiceTemplateScalingArgs struct {
	// Maximum number of serving instances that this resource should have.
	MaxInstanceCount pulumi.IntPtrInput `pulumi:"maxInstanceCount"`
	// Minimum number of serving instances that this resource should have.
	MinInstanceCount pulumi.IntPtrInput `pulumi:"minInstanceCount"`
}

func (ServiceTemplateScalingArgs) ElementType

func (ServiceTemplateScalingArgs) ElementType() reflect.Type

func (ServiceTemplateScalingArgs) ToOutput added in v6.65.1

func (ServiceTemplateScalingArgs) ToServiceTemplateScalingOutput

func (i ServiceTemplateScalingArgs) ToServiceTemplateScalingOutput() ServiceTemplateScalingOutput

func (ServiceTemplateScalingArgs) ToServiceTemplateScalingOutputWithContext

func (i ServiceTemplateScalingArgs) ToServiceTemplateScalingOutputWithContext(ctx context.Context) ServiceTemplateScalingOutput

func (ServiceTemplateScalingArgs) ToServiceTemplateScalingPtrOutput

func (i ServiceTemplateScalingArgs) ToServiceTemplateScalingPtrOutput() ServiceTemplateScalingPtrOutput

func (ServiceTemplateScalingArgs) ToServiceTemplateScalingPtrOutputWithContext

func (i ServiceTemplateScalingArgs) ToServiceTemplateScalingPtrOutputWithContext(ctx context.Context) ServiceTemplateScalingPtrOutput

type ServiceTemplateScalingInput

type ServiceTemplateScalingInput interface {
	pulumi.Input

	ToServiceTemplateScalingOutput() ServiceTemplateScalingOutput
	ToServiceTemplateScalingOutputWithContext(context.Context) ServiceTemplateScalingOutput
}

ServiceTemplateScalingInput is an input type that accepts ServiceTemplateScalingArgs and ServiceTemplateScalingOutput values. You can construct a concrete instance of `ServiceTemplateScalingInput` via:

ServiceTemplateScalingArgs{...}

type ServiceTemplateScalingOutput

type ServiceTemplateScalingOutput struct{ *pulumi.OutputState }

func (ServiceTemplateScalingOutput) ElementType

func (ServiceTemplateScalingOutput) MaxInstanceCount

func (o ServiceTemplateScalingOutput) MaxInstanceCount() pulumi.IntPtrOutput

Maximum number of serving instances that this resource should have.

func (ServiceTemplateScalingOutput) MinInstanceCount

func (o ServiceTemplateScalingOutput) MinInstanceCount() pulumi.IntPtrOutput

Minimum number of serving instances that this resource should have.

func (ServiceTemplateScalingOutput) ToOutput added in v6.65.1

func (ServiceTemplateScalingOutput) ToServiceTemplateScalingOutput

func (o ServiceTemplateScalingOutput) ToServiceTemplateScalingOutput() ServiceTemplateScalingOutput

func (ServiceTemplateScalingOutput) ToServiceTemplateScalingOutputWithContext

func (o ServiceTemplateScalingOutput) ToServiceTemplateScalingOutputWithContext(ctx context.Context) ServiceTemplateScalingOutput

func (ServiceTemplateScalingOutput) ToServiceTemplateScalingPtrOutput

func (o ServiceTemplateScalingOutput) ToServiceTemplateScalingPtrOutput() ServiceTemplateScalingPtrOutput

func (ServiceTemplateScalingOutput) ToServiceTemplateScalingPtrOutputWithContext

func (o ServiceTemplateScalingOutput) ToServiceTemplateScalingPtrOutputWithContext(ctx context.Context) ServiceTemplateScalingPtrOutput

type ServiceTemplateScalingPtrInput

type ServiceTemplateScalingPtrInput interface {
	pulumi.Input

	ToServiceTemplateScalingPtrOutput() ServiceTemplateScalingPtrOutput
	ToServiceTemplateScalingPtrOutputWithContext(context.Context) ServiceTemplateScalingPtrOutput
}

ServiceTemplateScalingPtrInput is an input type that accepts ServiceTemplateScalingArgs, ServiceTemplateScalingPtr and ServiceTemplateScalingPtrOutput values. You can construct a concrete instance of `ServiceTemplateScalingPtrInput` via:

        ServiceTemplateScalingArgs{...}

or:

        nil

type ServiceTemplateScalingPtrOutput

type ServiceTemplateScalingPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateScalingPtrOutput) Elem

func (ServiceTemplateScalingPtrOutput) ElementType

func (ServiceTemplateScalingPtrOutput) MaxInstanceCount

Maximum number of serving instances that this resource should have.

func (ServiceTemplateScalingPtrOutput) MinInstanceCount

Minimum number of serving instances that this resource should have.

func (ServiceTemplateScalingPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateScalingPtrOutput) ToServiceTemplateScalingPtrOutput

func (o ServiceTemplateScalingPtrOutput) ToServiceTemplateScalingPtrOutput() ServiceTemplateScalingPtrOutput

func (ServiceTemplateScalingPtrOutput) ToServiceTemplateScalingPtrOutputWithContext

func (o ServiceTemplateScalingPtrOutput) ToServiceTemplateScalingPtrOutputWithContext(ctx context.Context) ServiceTemplateScalingPtrOutput

type ServiceTemplateVolume

type ServiceTemplateVolume struct {
	// For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
	// Structure is documented below.
	CloudSqlInstance *ServiceTemplateVolumeCloudSqlInstance `pulumi:"cloudSqlInstance"`
	EmptyDir         *ServiceTemplateVolumeEmptyDir         `pulumi:"emptyDir"`
	// Volume's name.
	Name string `pulumi:"name"`
	// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// Structure is documented below.
	Secret *ServiceTemplateVolumeSecret `pulumi:"secret"`
}

type ServiceTemplateVolumeArgs

type ServiceTemplateVolumeArgs struct {
	// For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
	// Structure is documented below.
	CloudSqlInstance ServiceTemplateVolumeCloudSqlInstancePtrInput `pulumi:"cloudSqlInstance"`
	EmptyDir         ServiceTemplateVolumeEmptyDirPtrInput         `pulumi:"emptyDir"`
	// Volume's name.
	Name pulumi.StringInput `pulumi:"name"`
	// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// Structure is documented below.
	Secret ServiceTemplateVolumeSecretPtrInput `pulumi:"secret"`
}

func (ServiceTemplateVolumeArgs) ElementType

func (ServiceTemplateVolumeArgs) ElementType() reflect.Type

func (ServiceTemplateVolumeArgs) ToOutput added in v6.65.1

func (ServiceTemplateVolumeArgs) ToServiceTemplateVolumeOutput

func (i ServiceTemplateVolumeArgs) ToServiceTemplateVolumeOutput() ServiceTemplateVolumeOutput

func (ServiceTemplateVolumeArgs) ToServiceTemplateVolumeOutputWithContext

func (i ServiceTemplateVolumeArgs) ToServiceTemplateVolumeOutputWithContext(ctx context.Context) ServiceTemplateVolumeOutput

type ServiceTemplateVolumeArray

type ServiceTemplateVolumeArray []ServiceTemplateVolumeInput

func (ServiceTemplateVolumeArray) ElementType

func (ServiceTemplateVolumeArray) ElementType() reflect.Type

func (ServiceTemplateVolumeArray) ToOutput added in v6.65.1

func (ServiceTemplateVolumeArray) ToServiceTemplateVolumeArrayOutput

func (i ServiceTemplateVolumeArray) ToServiceTemplateVolumeArrayOutput() ServiceTemplateVolumeArrayOutput

func (ServiceTemplateVolumeArray) ToServiceTemplateVolumeArrayOutputWithContext

func (i ServiceTemplateVolumeArray) ToServiceTemplateVolumeArrayOutputWithContext(ctx context.Context) ServiceTemplateVolumeArrayOutput

type ServiceTemplateVolumeArrayInput

type ServiceTemplateVolumeArrayInput interface {
	pulumi.Input

	ToServiceTemplateVolumeArrayOutput() ServiceTemplateVolumeArrayOutput
	ToServiceTemplateVolumeArrayOutputWithContext(context.Context) ServiceTemplateVolumeArrayOutput
}

ServiceTemplateVolumeArrayInput is an input type that accepts ServiceTemplateVolumeArray and ServiceTemplateVolumeArrayOutput values. You can construct a concrete instance of `ServiceTemplateVolumeArrayInput` via:

ServiceTemplateVolumeArray{ ServiceTemplateVolumeArgs{...} }

type ServiceTemplateVolumeArrayOutput

type ServiceTemplateVolumeArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeArrayOutput) ElementType

func (ServiceTemplateVolumeArrayOutput) Index

func (ServiceTemplateVolumeArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeArrayOutput) ToServiceTemplateVolumeArrayOutput

func (o ServiceTemplateVolumeArrayOutput) ToServiceTemplateVolumeArrayOutput() ServiceTemplateVolumeArrayOutput

func (ServiceTemplateVolumeArrayOutput) ToServiceTemplateVolumeArrayOutputWithContext

func (o ServiceTemplateVolumeArrayOutput) ToServiceTemplateVolumeArrayOutputWithContext(ctx context.Context) ServiceTemplateVolumeArrayOutput

type ServiceTemplateVolumeCloudSqlInstance

type ServiceTemplateVolumeCloudSqlInstance struct {
	// The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
	Instances []string `pulumi:"instances"`
}

type ServiceTemplateVolumeCloudSqlInstanceArgs

type ServiceTemplateVolumeCloudSqlInstanceArgs struct {
	// The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
	Instances pulumi.StringArrayInput `pulumi:"instances"`
}

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ElementType

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ToOutput added in v6.65.1

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstanceOutput

func (i ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstanceOutput() ServiceTemplateVolumeCloudSqlInstanceOutput

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstanceOutputWithContext

func (i ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstanceOutputWithContext(ctx context.Context) ServiceTemplateVolumeCloudSqlInstanceOutput

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstancePtrOutput

func (i ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstancePtrOutput() ServiceTemplateVolumeCloudSqlInstancePtrOutput

func (ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (i ServiceTemplateVolumeCloudSqlInstanceArgs) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeCloudSqlInstancePtrOutput

type ServiceTemplateVolumeCloudSqlInstanceInput

type ServiceTemplateVolumeCloudSqlInstanceInput interface {
	pulumi.Input

	ToServiceTemplateVolumeCloudSqlInstanceOutput() ServiceTemplateVolumeCloudSqlInstanceOutput
	ToServiceTemplateVolumeCloudSqlInstanceOutputWithContext(context.Context) ServiceTemplateVolumeCloudSqlInstanceOutput
}

ServiceTemplateVolumeCloudSqlInstanceInput is an input type that accepts ServiceTemplateVolumeCloudSqlInstanceArgs and ServiceTemplateVolumeCloudSqlInstanceOutput values. You can construct a concrete instance of `ServiceTemplateVolumeCloudSqlInstanceInput` via:

ServiceTemplateVolumeCloudSqlInstanceArgs{...}

type ServiceTemplateVolumeCloudSqlInstanceOutput

type ServiceTemplateVolumeCloudSqlInstanceOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ElementType

func (ServiceTemplateVolumeCloudSqlInstanceOutput) Instances

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstanceOutput

func (o ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstanceOutput() ServiceTemplateVolumeCloudSqlInstanceOutput

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstanceOutputWithContext

func (o ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstanceOutputWithContext(ctx context.Context) ServiceTemplateVolumeCloudSqlInstanceOutput

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutput

func (o ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutput() ServiceTemplateVolumeCloudSqlInstancePtrOutput

func (ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (o ServiceTemplateVolumeCloudSqlInstanceOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeCloudSqlInstancePtrOutput

type ServiceTemplateVolumeCloudSqlInstancePtrInput

type ServiceTemplateVolumeCloudSqlInstancePtrInput interface {
	pulumi.Input

	ToServiceTemplateVolumeCloudSqlInstancePtrOutput() ServiceTemplateVolumeCloudSqlInstancePtrOutput
	ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext(context.Context) ServiceTemplateVolumeCloudSqlInstancePtrOutput
}

ServiceTemplateVolumeCloudSqlInstancePtrInput is an input type that accepts ServiceTemplateVolumeCloudSqlInstanceArgs, ServiceTemplateVolumeCloudSqlInstancePtr and ServiceTemplateVolumeCloudSqlInstancePtrOutput values. You can construct a concrete instance of `ServiceTemplateVolumeCloudSqlInstancePtrInput` via:

        ServiceTemplateVolumeCloudSqlInstanceArgs{...}

or:

        nil

type ServiceTemplateVolumeCloudSqlInstancePtrOutput

type ServiceTemplateVolumeCloudSqlInstancePtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) Elem

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) ElementType

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) Instances

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutput

func (o ServiceTemplateVolumeCloudSqlInstancePtrOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutput() ServiceTemplateVolumeCloudSqlInstancePtrOutput

func (ServiceTemplateVolumeCloudSqlInstancePtrOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext

func (o ServiceTemplateVolumeCloudSqlInstancePtrOutput) ToServiceTemplateVolumeCloudSqlInstancePtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeCloudSqlInstancePtrOutput

type ServiceTemplateVolumeEmptyDir added in v6.56.0

type ServiceTemplateVolumeEmptyDir struct {
	// The different types of medium supported for EmptyDir.
	// Default value is `MEMORY`.
	// Possible values are: `MEMORY`.
	Medium *string `pulumi:"medium"`
	// Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
	//
	// ***
	SizeLimit *string `pulumi:"sizeLimit"`
}

type ServiceTemplateVolumeEmptyDirArgs added in v6.56.0

type ServiceTemplateVolumeEmptyDirArgs struct {
	// The different types of medium supported for EmptyDir.
	// Default value is `MEMORY`.
	// Possible values are: `MEMORY`.
	Medium pulumi.StringPtrInput `pulumi:"medium"`
	// Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
	//
	// ***
	SizeLimit pulumi.StringPtrInput `pulumi:"sizeLimit"`
}

func (ServiceTemplateVolumeEmptyDirArgs) ElementType added in v6.56.0

func (ServiceTemplateVolumeEmptyDirArgs) ToOutput added in v6.65.1

func (ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirOutput added in v6.56.0

func (i ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirOutput() ServiceTemplateVolumeEmptyDirOutput

func (ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirOutputWithContext added in v6.56.0

func (i ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirOutputWithContext(ctx context.Context) ServiceTemplateVolumeEmptyDirOutput

func (ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (i ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirPtrOutput() ServiceTemplateVolumeEmptyDirPtrOutput

func (ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (i ServiceTemplateVolumeEmptyDirArgs) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeEmptyDirPtrOutput

type ServiceTemplateVolumeEmptyDirInput added in v6.56.0

type ServiceTemplateVolumeEmptyDirInput interface {
	pulumi.Input

	ToServiceTemplateVolumeEmptyDirOutput() ServiceTemplateVolumeEmptyDirOutput
	ToServiceTemplateVolumeEmptyDirOutputWithContext(context.Context) ServiceTemplateVolumeEmptyDirOutput
}

ServiceTemplateVolumeEmptyDirInput is an input type that accepts ServiceTemplateVolumeEmptyDirArgs and ServiceTemplateVolumeEmptyDirOutput values. You can construct a concrete instance of `ServiceTemplateVolumeEmptyDirInput` via:

ServiceTemplateVolumeEmptyDirArgs{...}

type ServiceTemplateVolumeEmptyDirOutput added in v6.56.0

type ServiceTemplateVolumeEmptyDirOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeEmptyDirOutput) ElementType added in v6.56.0

func (ServiceTemplateVolumeEmptyDirOutput) Medium added in v6.56.0

The different types of medium supported for EmptyDir. Default value is `MEMORY`. Possible values are: `MEMORY`.

func (ServiceTemplateVolumeEmptyDirOutput) SizeLimit added in v6.56.0

Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

***

func (ServiceTemplateVolumeEmptyDirOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirOutput added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirOutput() ServiceTemplateVolumeEmptyDirOutput

func (ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirOutputWithContext added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirOutputWithContext(ctx context.Context) ServiceTemplateVolumeEmptyDirOutput

func (ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirPtrOutput() ServiceTemplateVolumeEmptyDirPtrOutput

func (ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirOutput) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeEmptyDirPtrOutput

type ServiceTemplateVolumeEmptyDirPtrInput added in v6.56.0

type ServiceTemplateVolumeEmptyDirPtrInput interface {
	pulumi.Input

	ToServiceTemplateVolumeEmptyDirPtrOutput() ServiceTemplateVolumeEmptyDirPtrOutput
	ToServiceTemplateVolumeEmptyDirPtrOutputWithContext(context.Context) ServiceTemplateVolumeEmptyDirPtrOutput
}

ServiceTemplateVolumeEmptyDirPtrInput is an input type that accepts ServiceTemplateVolumeEmptyDirArgs, ServiceTemplateVolumeEmptyDirPtr and ServiceTemplateVolumeEmptyDirPtrOutput values. You can construct a concrete instance of `ServiceTemplateVolumeEmptyDirPtrInput` via:

        ServiceTemplateVolumeEmptyDirArgs{...}

or:

        nil

type ServiceTemplateVolumeEmptyDirPtrOutput added in v6.56.0

type ServiceTemplateVolumeEmptyDirPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeEmptyDirPtrOutput) Elem added in v6.56.0

func (ServiceTemplateVolumeEmptyDirPtrOutput) ElementType added in v6.56.0

func (ServiceTemplateVolumeEmptyDirPtrOutput) Medium added in v6.56.0

The different types of medium supported for EmptyDir. Default value is `MEMORY`. Possible values are: `MEMORY`.

func (ServiceTemplateVolumeEmptyDirPtrOutput) SizeLimit added in v6.56.0

Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.

***

func (ServiceTemplateVolumeEmptyDirPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeEmptyDirPtrOutput) ToServiceTemplateVolumeEmptyDirPtrOutput added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirPtrOutput) ToServiceTemplateVolumeEmptyDirPtrOutput() ServiceTemplateVolumeEmptyDirPtrOutput

func (ServiceTemplateVolumeEmptyDirPtrOutput) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext added in v6.56.0

func (o ServiceTemplateVolumeEmptyDirPtrOutput) ToServiceTemplateVolumeEmptyDirPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeEmptyDirPtrOutput

type ServiceTemplateVolumeInput

type ServiceTemplateVolumeInput interface {
	pulumi.Input

	ToServiceTemplateVolumeOutput() ServiceTemplateVolumeOutput
	ToServiceTemplateVolumeOutputWithContext(context.Context) ServiceTemplateVolumeOutput
}

ServiceTemplateVolumeInput is an input type that accepts ServiceTemplateVolumeArgs and ServiceTemplateVolumeOutput values. You can construct a concrete instance of `ServiceTemplateVolumeInput` via:

ServiceTemplateVolumeArgs{...}

type ServiceTemplateVolumeOutput

type ServiceTemplateVolumeOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeOutput) CloudSqlInstance

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Structure is documented below.

func (ServiceTemplateVolumeOutput) ElementType

func (ServiceTemplateVolumeOutput) EmptyDir added in v6.56.0

func (ServiceTemplateVolumeOutput) Name

Volume's name.

func (ServiceTemplateVolumeOutput) Secret

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.

func (ServiceTemplateVolumeOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeOutput) ToServiceTemplateVolumeOutput

func (o ServiceTemplateVolumeOutput) ToServiceTemplateVolumeOutput() ServiceTemplateVolumeOutput

func (ServiceTemplateVolumeOutput) ToServiceTemplateVolumeOutputWithContext

func (o ServiceTemplateVolumeOutput) ToServiceTemplateVolumeOutputWithContext(ctx context.Context) ServiceTemplateVolumeOutput

type ServiceTemplateVolumeSecret

type ServiceTemplateVolumeSecret struct {
	// Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
	DefaultMode *int `pulumi:"defaultMode"`
	// If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
	// Structure is documented below.
	Items []ServiceTemplateVolumeSecretItem `pulumi:"items"`
	// The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
	Secret string `pulumi:"secret"`
}

type ServiceTemplateVolumeSecretArgs

type ServiceTemplateVolumeSecretArgs struct {
	// Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.
	DefaultMode pulumi.IntPtrInput `pulumi:"defaultMode"`
	// If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version.
	// Structure is documented below.
	Items ServiceTemplateVolumeSecretItemArrayInput `pulumi:"items"`
	// The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
	Secret pulumi.StringInput `pulumi:"secret"`
}

func (ServiceTemplateVolumeSecretArgs) ElementType

func (ServiceTemplateVolumeSecretArgs) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretOutput

func (i ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretOutput() ServiceTemplateVolumeSecretOutput

func (ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretOutputWithContext

func (i ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretOutput

func (ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretPtrOutput

func (i ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretPtrOutput() ServiceTemplateVolumeSecretPtrOutput

func (ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretPtrOutputWithContext

func (i ServiceTemplateVolumeSecretArgs) ToServiceTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretPtrOutput

type ServiceTemplateVolumeSecretInput

type ServiceTemplateVolumeSecretInput interface {
	pulumi.Input

	ToServiceTemplateVolumeSecretOutput() ServiceTemplateVolumeSecretOutput
	ToServiceTemplateVolumeSecretOutputWithContext(context.Context) ServiceTemplateVolumeSecretOutput
}

ServiceTemplateVolumeSecretInput is an input type that accepts ServiceTemplateVolumeSecretArgs and ServiceTemplateVolumeSecretOutput values. You can construct a concrete instance of `ServiceTemplateVolumeSecretInput` via:

ServiceTemplateVolumeSecretArgs{...}

type ServiceTemplateVolumeSecretItem

type ServiceTemplateVolumeSecretItem struct {
	// Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
	Mode *int `pulumi:"mode"`
	// The relative path of the secret in the container.
	Path string `pulumi:"path"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
	Version *string `pulumi:"version"`
}

type ServiceTemplateVolumeSecretItemArgs

type ServiceTemplateVolumeSecretItemArgs struct {
	// Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
	Mode pulumi.IntPtrInput `pulumi:"mode"`
	// The relative path of the secret in the container.
	Path pulumi.StringInput `pulumi:"path"`
	// The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ServiceTemplateVolumeSecretItemArgs) ElementType

func (ServiceTemplateVolumeSecretItemArgs) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretItemArgs) ToServiceTemplateVolumeSecretItemOutput

func (i ServiceTemplateVolumeSecretItemArgs) ToServiceTemplateVolumeSecretItemOutput() ServiceTemplateVolumeSecretItemOutput

func (ServiceTemplateVolumeSecretItemArgs) ToServiceTemplateVolumeSecretItemOutputWithContext

func (i ServiceTemplateVolumeSecretItemArgs) ToServiceTemplateVolumeSecretItemOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretItemOutput

type ServiceTemplateVolumeSecretItemArray

type ServiceTemplateVolumeSecretItemArray []ServiceTemplateVolumeSecretItemInput

func (ServiceTemplateVolumeSecretItemArray) ElementType

func (ServiceTemplateVolumeSecretItemArray) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretItemArray) ToServiceTemplateVolumeSecretItemArrayOutput

func (i ServiceTemplateVolumeSecretItemArray) ToServiceTemplateVolumeSecretItemArrayOutput() ServiceTemplateVolumeSecretItemArrayOutput

func (ServiceTemplateVolumeSecretItemArray) ToServiceTemplateVolumeSecretItemArrayOutputWithContext

func (i ServiceTemplateVolumeSecretItemArray) ToServiceTemplateVolumeSecretItemArrayOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretItemArrayOutput

type ServiceTemplateVolumeSecretItemArrayInput

type ServiceTemplateVolumeSecretItemArrayInput interface {
	pulumi.Input

	ToServiceTemplateVolumeSecretItemArrayOutput() ServiceTemplateVolumeSecretItemArrayOutput
	ToServiceTemplateVolumeSecretItemArrayOutputWithContext(context.Context) ServiceTemplateVolumeSecretItemArrayOutput
}

ServiceTemplateVolumeSecretItemArrayInput is an input type that accepts ServiceTemplateVolumeSecretItemArray and ServiceTemplateVolumeSecretItemArrayOutput values. You can construct a concrete instance of `ServiceTemplateVolumeSecretItemArrayInput` via:

ServiceTemplateVolumeSecretItemArray{ ServiceTemplateVolumeSecretItemArgs{...} }

type ServiceTemplateVolumeSecretItemArrayOutput

type ServiceTemplateVolumeSecretItemArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeSecretItemArrayOutput) ElementType

func (ServiceTemplateVolumeSecretItemArrayOutput) Index

func (ServiceTemplateVolumeSecretItemArrayOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretItemArrayOutput) ToServiceTemplateVolumeSecretItemArrayOutput

func (o ServiceTemplateVolumeSecretItemArrayOutput) ToServiceTemplateVolumeSecretItemArrayOutput() ServiceTemplateVolumeSecretItemArrayOutput

func (ServiceTemplateVolumeSecretItemArrayOutput) ToServiceTemplateVolumeSecretItemArrayOutputWithContext

func (o ServiceTemplateVolumeSecretItemArrayOutput) ToServiceTemplateVolumeSecretItemArrayOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretItemArrayOutput

type ServiceTemplateVolumeSecretItemInput

type ServiceTemplateVolumeSecretItemInput interface {
	pulumi.Input

	ToServiceTemplateVolumeSecretItemOutput() ServiceTemplateVolumeSecretItemOutput
	ToServiceTemplateVolumeSecretItemOutputWithContext(context.Context) ServiceTemplateVolumeSecretItemOutput
}

ServiceTemplateVolumeSecretItemInput is an input type that accepts ServiceTemplateVolumeSecretItemArgs and ServiceTemplateVolumeSecretItemOutput values. You can construct a concrete instance of `ServiceTemplateVolumeSecretItemInput` via:

ServiceTemplateVolumeSecretItemArgs{...}

type ServiceTemplateVolumeSecretItemOutput

type ServiceTemplateVolumeSecretItemOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeSecretItemOutput) ElementType

func (ServiceTemplateVolumeSecretItemOutput) Mode

Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.

func (ServiceTemplateVolumeSecretItemOutput) Path

The relative path of the secret in the container.

func (ServiceTemplateVolumeSecretItemOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretItemOutput) ToServiceTemplateVolumeSecretItemOutput

func (o ServiceTemplateVolumeSecretItemOutput) ToServiceTemplateVolumeSecretItemOutput() ServiceTemplateVolumeSecretItemOutput

func (ServiceTemplateVolumeSecretItemOutput) ToServiceTemplateVolumeSecretItemOutputWithContext

func (o ServiceTemplateVolumeSecretItemOutput) ToServiceTemplateVolumeSecretItemOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretItemOutput

func (ServiceTemplateVolumeSecretItemOutput) Version

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version

type ServiceTemplateVolumeSecretOutput

type ServiceTemplateVolumeSecretOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeSecretOutput) DefaultMode

Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.

func (ServiceTemplateVolumeSecretOutput) ElementType

func (ServiceTemplateVolumeSecretOutput) Items

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

func (ServiceTemplateVolumeSecretOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

func (ServiceTemplateVolumeSecretOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretOutput

func (o ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretOutput() ServiceTemplateVolumeSecretOutput

func (ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretOutputWithContext

func (o ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretOutput

func (ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretPtrOutput

func (o ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretPtrOutput() ServiceTemplateVolumeSecretPtrOutput

func (ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretPtrOutputWithContext

func (o ServiceTemplateVolumeSecretOutput) ToServiceTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretPtrOutput

type ServiceTemplateVolumeSecretPtrInput

type ServiceTemplateVolumeSecretPtrInput interface {
	pulumi.Input

	ToServiceTemplateVolumeSecretPtrOutput() ServiceTemplateVolumeSecretPtrOutput
	ToServiceTemplateVolumeSecretPtrOutputWithContext(context.Context) ServiceTemplateVolumeSecretPtrOutput
}

ServiceTemplateVolumeSecretPtrInput is an input type that accepts ServiceTemplateVolumeSecretArgs, ServiceTemplateVolumeSecretPtr and ServiceTemplateVolumeSecretPtrOutput values. You can construct a concrete instance of `ServiceTemplateVolumeSecretPtrInput` via:

        ServiceTemplateVolumeSecretArgs{...}

or:

        nil

type ServiceTemplateVolumeSecretPtrOutput

type ServiceTemplateVolumeSecretPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVolumeSecretPtrOutput) DefaultMode

Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting.

func (ServiceTemplateVolumeSecretPtrOutput) Elem

func (ServiceTemplateVolumeSecretPtrOutput) ElementType

func (ServiceTemplateVolumeSecretPtrOutput) Items

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

func (ServiceTemplateVolumeSecretPtrOutput) Secret

The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.

func (ServiceTemplateVolumeSecretPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateVolumeSecretPtrOutput) ToServiceTemplateVolumeSecretPtrOutput

func (o ServiceTemplateVolumeSecretPtrOutput) ToServiceTemplateVolumeSecretPtrOutput() ServiceTemplateVolumeSecretPtrOutput

func (ServiceTemplateVolumeSecretPtrOutput) ToServiceTemplateVolumeSecretPtrOutputWithContext

func (o ServiceTemplateVolumeSecretPtrOutput) ToServiceTemplateVolumeSecretPtrOutputWithContext(ctx context.Context) ServiceTemplateVolumeSecretPtrOutput

type ServiceTemplateVpcAccess

type ServiceTemplateVpcAccess struct {
	// VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
	Connector *string `pulumi:"connector"`
	// Traffic VPC egress settings.
	// Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.
	Egress *string `pulumi:"egress"`
	// Direct VPC egress settings. Currently only single network interface is supported.
	// Structure is documented below.
	NetworkInterfaces []ServiceTemplateVpcAccessNetworkInterface `pulumi:"networkInterfaces"`
}

type ServiceTemplateVpcAccessArgs

type ServiceTemplateVpcAccessArgs struct {
	// VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
	Connector pulumi.StringPtrInput `pulumi:"connector"`
	// Traffic VPC egress settings.
	// Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.
	Egress pulumi.StringPtrInput `pulumi:"egress"`
	// Direct VPC egress settings. Currently only single network interface is supported.
	// Structure is documented below.
	NetworkInterfaces ServiceTemplateVpcAccessNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
}

func (ServiceTemplateVpcAccessArgs) ElementType

func (ServiceTemplateVpcAccessArgs) ToOutput added in v6.65.1

func (ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessOutput

func (i ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessOutput() ServiceTemplateVpcAccessOutput

func (ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessOutputWithContext

func (i ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessOutput

func (ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessPtrOutput

func (i ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessPtrOutput() ServiceTemplateVpcAccessPtrOutput

func (ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessPtrOutputWithContext

func (i ServiceTemplateVpcAccessArgs) ToServiceTemplateVpcAccessPtrOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessPtrOutput

type ServiceTemplateVpcAccessInput

type ServiceTemplateVpcAccessInput interface {
	pulumi.Input

	ToServiceTemplateVpcAccessOutput() ServiceTemplateVpcAccessOutput
	ToServiceTemplateVpcAccessOutputWithContext(context.Context) ServiceTemplateVpcAccessOutput
}

ServiceTemplateVpcAccessInput is an input type that accepts ServiceTemplateVpcAccessArgs and ServiceTemplateVpcAccessOutput values. You can construct a concrete instance of `ServiceTemplateVpcAccessInput` via:

ServiceTemplateVpcAccessArgs{...}

type ServiceTemplateVpcAccessNetworkInterface added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterface struct {
	// The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	// looked up from the subnetwork.
	Network *string `pulumi:"network"`
	// The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	// subnetwork with the same name with the network will be used.
	Subnetwork *string `pulumi:"subnetwork"`
	// Network tags applied to this Cloud Run service.
	Tags []string `pulumi:"tags"`
}

type ServiceTemplateVpcAccessNetworkInterfaceArgs added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceArgs struct {
	// The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be
	// looked up from the subnetwork.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the
	// subnetwork with the same name with the network will be used.
	Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"`
	// Network tags applied to this Cloud Run service.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (ServiceTemplateVpcAccessNetworkInterfaceArgs) ElementType added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArgs) ToOutput added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArgs) ToServiceTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

func (i ServiceTemplateVpcAccessNetworkInterfaceArgs) ToServiceTemplateVpcAccessNetworkInterfaceOutput() ServiceTemplateVpcAccessNetworkInterfaceOutput

func (ServiceTemplateVpcAccessNetworkInterfaceArgs) ToServiceTemplateVpcAccessNetworkInterfaceOutputWithContext added in v6.67.0

func (i ServiceTemplateVpcAccessNetworkInterfaceArgs) ToServiceTemplateVpcAccessNetworkInterfaceOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessNetworkInterfaceOutput

type ServiceTemplateVpcAccessNetworkInterfaceArray added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceArray []ServiceTemplateVpcAccessNetworkInterfaceInput

func (ServiceTemplateVpcAccessNetworkInterfaceArray) ElementType added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArray) ToOutput added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArray) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

func (i ServiceTemplateVpcAccessNetworkInterfaceArray) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutput() ServiceTemplateVpcAccessNetworkInterfaceArrayOutput

func (ServiceTemplateVpcAccessNetworkInterfaceArray) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutputWithContext added in v6.67.0

func (i ServiceTemplateVpcAccessNetworkInterfaceArray) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessNetworkInterfaceArrayOutput

type ServiceTemplateVpcAccessNetworkInterfaceArrayInput added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToServiceTemplateVpcAccessNetworkInterfaceArrayOutput() ServiceTemplateVpcAccessNetworkInterfaceArrayOutput
	ToServiceTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(context.Context) ServiceTemplateVpcAccessNetworkInterfaceArrayOutput
}

ServiceTemplateVpcAccessNetworkInterfaceArrayInput is an input type that accepts ServiceTemplateVpcAccessNetworkInterfaceArray and ServiceTemplateVpcAccessNetworkInterfaceArrayOutput values. You can construct a concrete instance of `ServiceTemplateVpcAccessNetworkInterfaceArrayInput` via:

ServiceTemplateVpcAccessNetworkInterfaceArray{ ServiceTemplateVpcAccessNetworkInterfaceArgs{...} }

type ServiceTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ElementType added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) Index added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ToOutput added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutput added in v6.67.0

func (o ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutput() ServiceTemplateVpcAccessNetworkInterfaceArrayOutput

func (ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutputWithContext added in v6.67.0

func (o ServiceTemplateVpcAccessNetworkInterfaceArrayOutput) ToServiceTemplateVpcAccessNetworkInterfaceArrayOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessNetworkInterfaceArrayOutput

type ServiceTemplateVpcAccessNetworkInterfaceInput added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceInput interface {
	pulumi.Input

	ToServiceTemplateVpcAccessNetworkInterfaceOutput() ServiceTemplateVpcAccessNetworkInterfaceOutput
	ToServiceTemplateVpcAccessNetworkInterfaceOutputWithContext(context.Context) ServiceTemplateVpcAccessNetworkInterfaceOutput
}

ServiceTemplateVpcAccessNetworkInterfaceInput is an input type that accepts ServiceTemplateVpcAccessNetworkInterfaceArgs and ServiceTemplateVpcAccessNetworkInterfaceOutput values. You can construct a concrete instance of `ServiceTemplateVpcAccessNetworkInterfaceInput` via:

ServiceTemplateVpcAccessNetworkInterfaceArgs{...}

type ServiceTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

type ServiceTemplateVpcAccessNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) ElementType added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) Network added in v6.67.0

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) Subnetwork added in v6.67.0

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) Tags added in v6.67.0

Network tags applied to this Cloud Run service.

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) ToOutput added in v6.67.0

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) ToServiceTemplateVpcAccessNetworkInterfaceOutput added in v6.67.0

func (o ServiceTemplateVpcAccessNetworkInterfaceOutput) ToServiceTemplateVpcAccessNetworkInterfaceOutput() ServiceTemplateVpcAccessNetworkInterfaceOutput

func (ServiceTemplateVpcAccessNetworkInterfaceOutput) ToServiceTemplateVpcAccessNetworkInterfaceOutputWithContext added in v6.67.0

func (o ServiceTemplateVpcAccessNetworkInterfaceOutput) ToServiceTemplateVpcAccessNetworkInterfaceOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessNetworkInterfaceOutput

type ServiceTemplateVpcAccessOutput

type ServiceTemplateVpcAccessOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVpcAccessOutput) Connector

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.

func (ServiceTemplateVpcAccessOutput) Egress

Traffic VPC egress settings. Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.

func (ServiceTemplateVpcAccessOutput) ElementType

func (ServiceTemplateVpcAccessOutput) NetworkInterfaces added in v6.67.0

Direct VPC egress settings. Currently only single network interface is supported. Structure is documented below.

func (ServiceTemplateVpcAccessOutput) ToOutput added in v6.65.1

func (ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessOutput

func (o ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessOutput() ServiceTemplateVpcAccessOutput

func (ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessOutputWithContext

func (o ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessOutput

func (ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessPtrOutput

func (o ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessPtrOutput() ServiceTemplateVpcAccessPtrOutput

func (ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessPtrOutputWithContext

func (o ServiceTemplateVpcAccessOutput) ToServiceTemplateVpcAccessPtrOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessPtrOutput

type ServiceTemplateVpcAccessPtrInput

type ServiceTemplateVpcAccessPtrInput interface {
	pulumi.Input

	ToServiceTemplateVpcAccessPtrOutput() ServiceTemplateVpcAccessPtrOutput
	ToServiceTemplateVpcAccessPtrOutputWithContext(context.Context) ServiceTemplateVpcAccessPtrOutput
}

ServiceTemplateVpcAccessPtrInput is an input type that accepts ServiceTemplateVpcAccessArgs, ServiceTemplateVpcAccessPtr and ServiceTemplateVpcAccessPtrOutput values. You can construct a concrete instance of `ServiceTemplateVpcAccessPtrInput` via:

        ServiceTemplateVpcAccessArgs{...}

or:

        nil

type ServiceTemplateVpcAccessPtrOutput

type ServiceTemplateVpcAccessPtrOutput struct{ *pulumi.OutputState }

func (ServiceTemplateVpcAccessPtrOutput) Connector

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.

func (ServiceTemplateVpcAccessPtrOutput) Egress

Traffic VPC egress settings. Possible values are: `ALL_TRAFFIC`, `PRIVATE_RANGES_ONLY`.

func (ServiceTemplateVpcAccessPtrOutput) Elem

func (ServiceTemplateVpcAccessPtrOutput) ElementType

func (ServiceTemplateVpcAccessPtrOutput) NetworkInterfaces added in v6.67.0

Direct VPC egress settings. Currently only single network interface is supported. Structure is documented below.

func (ServiceTemplateVpcAccessPtrOutput) ToOutput added in v6.65.1

func (ServiceTemplateVpcAccessPtrOutput) ToServiceTemplateVpcAccessPtrOutput

func (o ServiceTemplateVpcAccessPtrOutput) ToServiceTemplateVpcAccessPtrOutput() ServiceTemplateVpcAccessPtrOutput

func (ServiceTemplateVpcAccessPtrOutput) ToServiceTemplateVpcAccessPtrOutputWithContext

func (o ServiceTemplateVpcAccessPtrOutput) ToServiceTemplateVpcAccessPtrOutputWithContext(ctx context.Context) ServiceTemplateVpcAccessPtrOutput

type ServiceTerminalCondition

type ServiceTerminalCondition struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason *string `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message *string `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason *string `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason *string `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity *string `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State *string `pulumi:"state"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type *string `pulumi:"type"`
}

type ServiceTerminalConditionArgs

type ServiceTerminalConditionArgs struct {
	// (Output)
	// A reason for the execution condition.
	ExecutionReason pulumi.StringPtrInput `pulumi:"executionReason"`
	// (Output)
	// Last time the condition transitioned from one status to another.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (Output)
	// A common (service-level) reason for this condition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// (Output)
	// A reason for the revision condition.
	RevisionReason pulumi.StringPtrInput `pulumi:"revisionReason"`
	// (Output)
	// How to interpret failures of this condition, one of Error, Warning, Info
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// (Output)
	// State of the condition.
	State pulumi.StringPtrInput `pulumi:"state"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceTerminalConditionArgs) ElementType

func (ServiceTerminalConditionArgs) ToOutput added in v6.65.1

func (ServiceTerminalConditionArgs) ToServiceTerminalConditionOutput

func (i ServiceTerminalConditionArgs) ToServiceTerminalConditionOutput() ServiceTerminalConditionOutput

func (ServiceTerminalConditionArgs) ToServiceTerminalConditionOutputWithContext

func (i ServiceTerminalConditionArgs) ToServiceTerminalConditionOutputWithContext(ctx context.Context) ServiceTerminalConditionOutput

type ServiceTerminalConditionArray

type ServiceTerminalConditionArray []ServiceTerminalConditionInput

func (ServiceTerminalConditionArray) ElementType

func (ServiceTerminalConditionArray) ToOutput added in v6.65.1

func (ServiceTerminalConditionArray) ToServiceTerminalConditionArrayOutput

func (i ServiceTerminalConditionArray) ToServiceTerminalConditionArrayOutput() ServiceTerminalConditionArrayOutput

func (ServiceTerminalConditionArray) ToServiceTerminalConditionArrayOutputWithContext

func (i ServiceTerminalConditionArray) ToServiceTerminalConditionArrayOutputWithContext(ctx context.Context) ServiceTerminalConditionArrayOutput

type ServiceTerminalConditionArrayInput

type ServiceTerminalConditionArrayInput interface {
	pulumi.Input

	ToServiceTerminalConditionArrayOutput() ServiceTerminalConditionArrayOutput
	ToServiceTerminalConditionArrayOutputWithContext(context.Context) ServiceTerminalConditionArrayOutput
}

ServiceTerminalConditionArrayInput is an input type that accepts ServiceTerminalConditionArray and ServiceTerminalConditionArrayOutput values. You can construct a concrete instance of `ServiceTerminalConditionArrayInput` via:

ServiceTerminalConditionArray{ ServiceTerminalConditionArgs{...} }

type ServiceTerminalConditionArrayOutput

type ServiceTerminalConditionArrayOutput struct{ *pulumi.OutputState }

func (ServiceTerminalConditionArrayOutput) ElementType

func (ServiceTerminalConditionArrayOutput) Index

func (ServiceTerminalConditionArrayOutput) ToOutput added in v6.65.1

func (ServiceTerminalConditionArrayOutput) ToServiceTerminalConditionArrayOutput

func (o ServiceTerminalConditionArrayOutput) ToServiceTerminalConditionArrayOutput() ServiceTerminalConditionArrayOutput

func (ServiceTerminalConditionArrayOutput) ToServiceTerminalConditionArrayOutputWithContext

func (o ServiceTerminalConditionArrayOutput) ToServiceTerminalConditionArrayOutputWithContext(ctx context.Context) ServiceTerminalConditionArrayOutput

type ServiceTerminalConditionInput

type ServiceTerminalConditionInput interface {
	pulumi.Input

	ToServiceTerminalConditionOutput() ServiceTerminalConditionOutput
	ToServiceTerminalConditionOutputWithContext(context.Context) ServiceTerminalConditionOutput
}

ServiceTerminalConditionInput is an input type that accepts ServiceTerminalConditionArgs and ServiceTerminalConditionOutput values. You can construct a concrete instance of `ServiceTerminalConditionInput` via:

ServiceTerminalConditionArgs{...}

type ServiceTerminalConditionOutput

type ServiceTerminalConditionOutput struct{ *pulumi.OutputState }

func (ServiceTerminalConditionOutput) ElementType

func (ServiceTerminalConditionOutput) ExecutionReason

(Output) A reason for the execution condition.

func (ServiceTerminalConditionOutput) LastTransitionTime

func (o ServiceTerminalConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

(Output) Last time the condition transitioned from one status to another. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (ServiceTerminalConditionOutput) Message

(Output) Human readable message indicating details about the current status.

func (ServiceTerminalConditionOutput) Reason

(Output) A common (service-level) reason for this condition.

func (ServiceTerminalConditionOutput) RevisionReason

(Output) A reason for the revision condition.

func (ServiceTerminalConditionOutput) Severity

(Output) How to interpret failures of this condition, one of Error, Warning, Info

func (ServiceTerminalConditionOutput) State

(Output) State of the condition.

func (ServiceTerminalConditionOutput) ToOutput added in v6.65.1

func (ServiceTerminalConditionOutput) ToServiceTerminalConditionOutput

func (o ServiceTerminalConditionOutput) ToServiceTerminalConditionOutput() ServiceTerminalConditionOutput

func (ServiceTerminalConditionOutput) ToServiceTerminalConditionOutputWithContext

func (o ServiceTerminalConditionOutput) ToServiceTerminalConditionOutputWithContext(ctx context.Context) ServiceTerminalConditionOutput

func (ServiceTerminalConditionOutput) Type

The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.

type ServiceTraffic

type ServiceTraffic struct {
	// Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
	Percent *int `pulumi:"percent"`
	// Revision to which to send this portion of traffic, if traffic allocation is by revision.
	Revision *string `pulumi:"revision"`
	// Indicates a string to be part of the URI to exclusively reference this target.
	Tag *string `pulumi:"tag"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type *string `pulumi:"type"`
}

type ServiceTrafficArgs

type ServiceTrafficArgs struct {
	// Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
	Percent pulumi.IntPtrInput `pulumi:"percent"`
	// Revision to which to send this portion of traffic, if traffic allocation is by revision.
	Revision pulumi.StringPtrInput `pulumi:"revision"`
	// Indicates a string to be part of the URI to exclusively reference this target.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceTrafficArgs) ElementType

func (ServiceTrafficArgs) ElementType() reflect.Type

func (ServiceTrafficArgs) ToOutput added in v6.65.1

func (ServiceTrafficArgs) ToServiceTrafficOutput

func (i ServiceTrafficArgs) ToServiceTrafficOutput() ServiceTrafficOutput

func (ServiceTrafficArgs) ToServiceTrafficOutputWithContext

func (i ServiceTrafficArgs) ToServiceTrafficOutputWithContext(ctx context.Context) ServiceTrafficOutput

type ServiceTrafficArray

type ServiceTrafficArray []ServiceTrafficInput

func (ServiceTrafficArray) ElementType

func (ServiceTrafficArray) ElementType() reflect.Type

func (ServiceTrafficArray) ToOutput added in v6.65.1

func (ServiceTrafficArray) ToServiceTrafficArrayOutput

func (i ServiceTrafficArray) ToServiceTrafficArrayOutput() ServiceTrafficArrayOutput

func (ServiceTrafficArray) ToServiceTrafficArrayOutputWithContext

func (i ServiceTrafficArray) ToServiceTrafficArrayOutputWithContext(ctx context.Context) ServiceTrafficArrayOutput

type ServiceTrafficArrayInput

type ServiceTrafficArrayInput interface {
	pulumi.Input

	ToServiceTrafficArrayOutput() ServiceTrafficArrayOutput
	ToServiceTrafficArrayOutputWithContext(context.Context) ServiceTrafficArrayOutput
}

ServiceTrafficArrayInput is an input type that accepts ServiceTrafficArray and ServiceTrafficArrayOutput values. You can construct a concrete instance of `ServiceTrafficArrayInput` via:

ServiceTrafficArray{ ServiceTrafficArgs{...} }

type ServiceTrafficArrayOutput

type ServiceTrafficArrayOutput struct{ *pulumi.OutputState }

func (ServiceTrafficArrayOutput) ElementType

func (ServiceTrafficArrayOutput) ElementType() reflect.Type

func (ServiceTrafficArrayOutput) Index

func (ServiceTrafficArrayOutput) ToOutput added in v6.65.1

func (ServiceTrafficArrayOutput) ToServiceTrafficArrayOutput

func (o ServiceTrafficArrayOutput) ToServiceTrafficArrayOutput() ServiceTrafficArrayOutput

func (ServiceTrafficArrayOutput) ToServiceTrafficArrayOutputWithContext

func (o ServiceTrafficArrayOutput) ToServiceTrafficArrayOutputWithContext(ctx context.Context) ServiceTrafficArrayOutput

type ServiceTrafficInput

type ServiceTrafficInput interface {
	pulumi.Input

	ToServiceTrafficOutput() ServiceTrafficOutput
	ToServiceTrafficOutputWithContext(context.Context) ServiceTrafficOutput
}

ServiceTrafficInput is an input type that accepts ServiceTrafficArgs and ServiceTrafficOutput values. You can construct a concrete instance of `ServiceTrafficInput` via:

ServiceTrafficArgs{...}

type ServiceTrafficOutput

type ServiceTrafficOutput struct{ *pulumi.OutputState }

func (ServiceTrafficOutput) ElementType

func (ServiceTrafficOutput) ElementType() reflect.Type

func (ServiceTrafficOutput) Percent

Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.

func (ServiceTrafficOutput) Revision

Revision to which to send this portion of traffic, if traffic allocation is by revision.

func (ServiceTrafficOutput) Tag

Indicates a string to be part of the URI to exclusively reference this target.

func (ServiceTrafficOutput) ToOutput added in v6.65.1

func (ServiceTrafficOutput) ToServiceTrafficOutput

func (o ServiceTrafficOutput) ToServiceTrafficOutput() ServiceTrafficOutput

func (ServiceTrafficOutput) ToServiceTrafficOutputWithContext

func (o ServiceTrafficOutput) ToServiceTrafficOutputWithContext(ctx context.Context) ServiceTrafficOutput

func (ServiceTrafficOutput) Type

The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.

type ServiceTrafficStatus

type ServiceTrafficStatus struct {
	// Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
	Percent *int `pulumi:"percent"`
	// The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
	Revision *string `pulumi:"revision"`
	// Indicates a string to be part of the URI to exclusively reference this target.
	Tag *string `pulumi:"tag"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type *string `pulumi:"type"`
	// (Output)
	// Displays the target URI.
	Uri *string `pulumi:"uri"`
}

type ServiceTrafficStatusArgs

type ServiceTrafficStatusArgs struct {
	// Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
	Percent pulumi.IntPtrInput `pulumi:"percent"`
	// The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
	Revision pulumi.StringPtrInput `pulumi:"revision"`
	// Indicates a string to be part of the URI to exclusively reference this target.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The allocation type for this traffic target.
	// Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// (Output)
	// Displays the target URI.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (ServiceTrafficStatusArgs) ElementType

func (ServiceTrafficStatusArgs) ElementType() reflect.Type

func (ServiceTrafficStatusArgs) ToOutput added in v6.65.1

func (ServiceTrafficStatusArgs) ToServiceTrafficStatusOutput

func (i ServiceTrafficStatusArgs) ToServiceTrafficStatusOutput() ServiceTrafficStatusOutput

func (ServiceTrafficStatusArgs) ToServiceTrafficStatusOutputWithContext

func (i ServiceTrafficStatusArgs) ToServiceTrafficStatusOutputWithContext(ctx context.Context) ServiceTrafficStatusOutput

type ServiceTrafficStatusArray

type ServiceTrafficStatusArray []ServiceTrafficStatusInput

func (ServiceTrafficStatusArray) ElementType

func (ServiceTrafficStatusArray) ElementType() reflect.Type

func (ServiceTrafficStatusArray) ToOutput added in v6.65.1

func (ServiceTrafficStatusArray) ToServiceTrafficStatusArrayOutput

func (i ServiceTrafficStatusArray) ToServiceTrafficStatusArrayOutput() ServiceTrafficStatusArrayOutput

func (ServiceTrafficStatusArray) ToServiceTrafficStatusArrayOutputWithContext

func (i ServiceTrafficStatusArray) ToServiceTrafficStatusArrayOutputWithContext(ctx context.Context) ServiceTrafficStatusArrayOutput

type ServiceTrafficStatusArrayInput

type ServiceTrafficStatusArrayInput interface {
	pulumi.Input

	ToServiceTrafficStatusArrayOutput() ServiceTrafficStatusArrayOutput
	ToServiceTrafficStatusArrayOutputWithContext(context.Context) ServiceTrafficStatusArrayOutput
}

ServiceTrafficStatusArrayInput is an input type that accepts ServiceTrafficStatusArray and ServiceTrafficStatusArrayOutput values. You can construct a concrete instance of `ServiceTrafficStatusArrayInput` via:

ServiceTrafficStatusArray{ ServiceTrafficStatusArgs{...} }

type ServiceTrafficStatusArrayOutput

type ServiceTrafficStatusArrayOutput struct{ *pulumi.OutputState }

func (ServiceTrafficStatusArrayOutput) ElementType

func (ServiceTrafficStatusArrayOutput) Index

func (ServiceTrafficStatusArrayOutput) ToOutput added in v6.65.1

func (ServiceTrafficStatusArrayOutput) ToServiceTrafficStatusArrayOutput

func (o ServiceTrafficStatusArrayOutput) ToServiceTrafficStatusArrayOutput() ServiceTrafficStatusArrayOutput

func (ServiceTrafficStatusArrayOutput) ToServiceTrafficStatusArrayOutputWithContext

func (o ServiceTrafficStatusArrayOutput) ToServiceTrafficStatusArrayOutputWithContext(ctx context.Context) ServiceTrafficStatusArrayOutput

type ServiceTrafficStatusInput

type ServiceTrafficStatusInput interface {
	pulumi.Input

	ToServiceTrafficStatusOutput() ServiceTrafficStatusOutput
	ToServiceTrafficStatusOutputWithContext(context.Context) ServiceTrafficStatusOutput
}

ServiceTrafficStatusInput is an input type that accepts ServiceTrafficStatusArgs and ServiceTrafficStatusOutput values. You can construct a concrete instance of `ServiceTrafficStatusInput` via:

ServiceTrafficStatusArgs{...}

type ServiceTrafficStatusOutput

type ServiceTrafficStatusOutput struct{ *pulumi.OutputState }

func (ServiceTrafficStatusOutput) ElementType

func (ServiceTrafficStatusOutput) ElementType() reflect.Type

func (ServiceTrafficStatusOutput) Percent

Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.

func (ServiceTrafficStatusOutput) Revision

The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.

func (ServiceTrafficStatusOutput) Tag

Indicates a string to be part of the URI to exclusively reference this target.

func (ServiceTrafficStatusOutput) ToOutput added in v6.65.1

func (ServiceTrafficStatusOutput) ToServiceTrafficStatusOutput

func (o ServiceTrafficStatusOutput) ToServiceTrafficStatusOutput() ServiceTrafficStatusOutput

func (ServiceTrafficStatusOutput) ToServiceTrafficStatusOutputWithContext

func (o ServiceTrafficStatusOutput) ToServiceTrafficStatusOutputWithContext(ctx context.Context) ServiceTrafficStatusOutput

func (ServiceTrafficStatusOutput) Type

The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.

func (ServiceTrafficStatusOutput) Uri

(Output) Displays the target URI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL