v1

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Unspecified.
	InstancePolicyProvisioningModelProvisioningModelUnspecified = InstancePolicyProvisioningModel("PROVISIONING_MODEL_UNSPECIFIED")
	// Standard VM.
	InstancePolicyProvisioningModelStandard = InstancePolicyProvisioningModel("STANDARD")
	// SPOT VM.
	InstancePolicyProvisioningModelSpot = InstancePolicyProvisioningModel("SPOT")
	// Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
	InstancePolicyProvisioningModelPreemptible = InstancePolicyProvisioningModel("PREEMPTIBLE")
)
View Source
const (
	// Action unspecified.
	LifecyclePolicyActionActionUnspecified = LifecyclePolicyAction("ACTION_UNSPECIFIED")
	// Action that tasks in the group will be scheduled to re-execute.
	LifecyclePolicyActionRetryTask = LifecyclePolicyAction("RETRY_TASK")
	// Action that tasks in the group will be stopped immediately.
	LifecyclePolicyActionFailTask = LifecyclePolicyAction("FAIL_TASK")
)
View Source
const (
	// Logs are not preserved.
	LogsPolicyDestinationDestinationUnspecified = LogsPolicyDestination("DESTINATION_UNSPECIFIED")
	// Logs are streamed to Cloud Logging.
	LogsPolicyDestinationCloudLogging = LogsPolicyDestination("CLOUD_LOGGING")
	// Logs are saved to a file path.
	LogsPolicyDestinationPath = LogsPolicyDestination("PATH")
)
View Source
const (
	// Job state unspecified.
	MessageNewJobStateStateUnspecified = MessageNewJobState("STATE_UNSPECIFIED")
	// Job is admitted (validated and persisted) and waiting for resources.
	MessageNewJobStateQueued = MessageNewJobState("QUEUED")
	// Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
	MessageNewJobStateScheduled = MessageNewJobState("SCHEDULED")
	// Resource allocation has been successful. At least one Task in the Job is RUNNING.
	MessageNewJobStateRunning = MessageNewJobState("RUNNING")
	// All Tasks in the Job have finished successfully.
	MessageNewJobStateSucceeded = MessageNewJobState("SUCCEEDED")
	// At least one Task in the Job has failed.
	MessageNewJobStateFailed = MessageNewJobState("FAILED")
	// The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
	MessageNewJobStateDeletionInProgress = MessageNewJobState("DELETION_IN_PROGRESS")
)
View Source
const (
	// Unknown state.
	MessageNewTaskStateStateUnspecified = MessageNewTaskState("STATE_UNSPECIFIED")
	// The Task is created and waiting for resources.
	MessageNewTaskStatePending = MessageNewTaskState("PENDING")
	// The Task is assigned to at least one VM.
	MessageNewTaskStateAssigned = MessageNewTaskState("ASSIGNED")
	// The Task is running.
	MessageNewTaskStateRunning = MessageNewTaskState("RUNNING")
	// The Task has failed.
	MessageNewTaskStateFailed = MessageNewTaskState("FAILED")
	// The Task has succeeded.
	MessageNewTaskStateSucceeded = MessageNewTaskState("SUCCEEDED")
	// The Task has not been executed when the Job finishes.
	MessageNewTaskStateUnexecuted = MessageNewTaskState("UNEXECUTED")
)
View Source
const (
	// Unspecified.
	MessageTypeTypeUnspecified = MessageType("TYPE_UNSPECIFIED")
	// Notify users that the job state has changed.
	MessageTypeJobStateChanged = MessageType("JOB_STATE_CHANGED")
	// Notify users that the task state has changed.
	MessageTypeTaskStateChanged = MessageType("TASK_STATE_CHANGED")
)
View Source
const (
	// Unspecified.
	TaskGroupSchedulingPolicySchedulingPolicyUnspecified = TaskGroupSchedulingPolicy("SCHEDULING_POLICY_UNSPECIFIED")
	// Run Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
	TaskGroupSchedulingPolicyAsSoonAsPossible = TaskGroupSchedulingPolicy("AS_SOON_AS_POSSIBLE")
	// Run Tasks sequentially with increased task index.
	TaskGroupSchedulingPolicyInOrder = TaskGroupSchedulingPolicy("IN_ORDER")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Accelerator

type Accelerator struct {
	// The number of accelerators of this type.
	Count *string `pulumi:"count"`
	// Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
	DriverVersion *string `pulumi:"driverVersion"`
	// Deprecated: please use instances[0].install_gpu_drivers instead.
	//
	// Deprecated: Deprecated: please use instances[0].install_gpu_drivers instead.
	InstallGpuDrivers *bool `pulumi:"installGpuDrivers"`
	// The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.
	Type *string `pulumi:"type"`
}

Accelerator describes Compute Engine accelerators to be attached to the VM.

type AcceleratorArgs

type AcceleratorArgs struct {
	// The number of accelerators of this type.
	Count pulumi.StringPtrInput `pulumi:"count"`
	// Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
	DriverVersion pulumi.StringPtrInput `pulumi:"driverVersion"`
	// Deprecated: please use instances[0].install_gpu_drivers instead.
	//
	// Deprecated: Deprecated: please use instances[0].install_gpu_drivers instead.
	InstallGpuDrivers pulumi.BoolPtrInput `pulumi:"installGpuDrivers"`
	// The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

Accelerator describes Compute Engine accelerators to be attached to the VM.

func (AcceleratorArgs) ElementType

func (AcceleratorArgs) ElementType() reflect.Type

func (AcceleratorArgs) ToAcceleratorOutput

func (i AcceleratorArgs) ToAcceleratorOutput() AcceleratorOutput

func (AcceleratorArgs) ToAcceleratorOutputWithContext

func (i AcceleratorArgs) ToAcceleratorOutputWithContext(ctx context.Context) AcceleratorOutput

type AcceleratorArray

type AcceleratorArray []AcceleratorInput

func (AcceleratorArray) ElementType

func (AcceleratorArray) ElementType() reflect.Type

func (AcceleratorArray) ToAcceleratorArrayOutput

func (i AcceleratorArray) ToAcceleratorArrayOutput() AcceleratorArrayOutput

func (AcceleratorArray) ToAcceleratorArrayOutputWithContext

func (i AcceleratorArray) ToAcceleratorArrayOutputWithContext(ctx context.Context) AcceleratorArrayOutput

type AcceleratorArrayInput

type AcceleratorArrayInput interface {
	pulumi.Input

	ToAcceleratorArrayOutput() AcceleratorArrayOutput
	ToAcceleratorArrayOutputWithContext(context.Context) AcceleratorArrayOutput
}

AcceleratorArrayInput is an input type that accepts AcceleratorArray and AcceleratorArrayOutput values. You can construct a concrete instance of `AcceleratorArrayInput` via:

AcceleratorArray{ AcceleratorArgs{...} }

type AcceleratorArrayOutput

type AcceleratorArrayOutput struct{ *pulumi.OutputState }

func (AcceleratorArrayOutput) ElementType

func (AcceleratorArrayOutput) ElementType() reflect.Type

func (AcceleratorArrayOutput) Index

func (AcceleratorArrayOutput) ToAcceleratorArrayOutput

func (o AcceleratorArrayOutput) ToAcceleratorArrayOutput() AcceleratorArrayOutput

func (AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext

func (o AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext(ctx context.Context) AcceleratorArrayOutput

type AcceleratorInput

type AcceleratorInput interface {
	pulumi.Input

	ToAcceleratorOutput() AcceleratorOutput
	ToAcceleratorOutputWithContext(context.Context) AcceleratorOutput
}

AcceleratorInput is an input type that accepts AcceleratorArgs and AcceleratorOutput values. You can construct a concrete instance of `AcceleratorInput` via:

AcceleratorArgs{...}

type AcceleratorOutput

type AcceleratorOutput struct{ *pulumi.OutputState }

Accelerator describes Compute Engine accelerators to be attached to the VM.

func (AcceleratorOutput) Count

The number of accelerators of this type.

func (AcceleratorOutput) DriverVersion added in v0.32.0

func (o AcceleratorOutput) DriverVersion() pulumi.StringPtrOutput

Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.

func (AcceleratorOutput) ElementType

func (AcceleratorOutput) ElementType() reflect.Type

func (AcceleratorOutput) InstallGpuDrivers deprecated

func (o AcceleratorOutput) InstallGpuDrivers() pulumi.BoolPtrOutput

Deprecated: please use instances[0].install_gpu_drivers instead.

Deprecated: Deprecated: please use instances[0].install_gpu_drivers instead.

func (AcceleratorOutput) ToAcceleratorOutput

func (o AcceleratorOutput) ToAcceleratorOutput() AcceleratorOutput

func (AcceleratorOutput) ToAcceleratorOutputWithContext

func (o AcceleratorOutput) ToAcceleratorOutputWithContext(ctx context.Context) AcceleratorOutput

func (AcceleratorOutput) Type

The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.

type AcceleratorResponse

type AcceleratorResponse struct {
	// The number of accelerators of this type.
	Count string `pulumi:"count"`
	// Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
	DriverVersion string `pulumi:"driverVersion"`
	// Deprecated: please use instances[0].install_gpu_drivers instead.
	//
	// Deprecated: Deprecated: please use instances[0].install_gpu_drivers instead.
	InstallGpuDrivers bool `pulumi:"installGpuDrivers"`
	// The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.
	Type string `pulumi:"type"`
}

Accelerator describes Compute Engine accelerators to be attached to the VM.

type AcceleratorResponseArrayOutput

type AcceleratorResponseArrayOutput struct{ *pulumi.OutputState }

func (AcceleratorResponseArrayOutput) ElementType

func (AcceleratorResponseArrayOutput) Index

func (AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutput

func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutput() AcceleratorResponseArrayOutput

func (AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithContext

func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithContext(ctx context.Context) AcceleratorResponseArrayOutput

type AcceleratorResponseOutput

type AcceleratorResponseOutput struct{ *pulumi.OutputState }

Accelerator describes Compute Engine accelerators to be attached to the VM.

func (AcceleratorResponseOutput) Count

The number of accelerators of this type.

func (AcceleratorResponseOutput) DriverVersion added in v0.32.0

func (o AcceleratorResponseOutput) DriverVersion() pulumi.StringOutput

Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.

func (AcceleratorResponseOutput) ElementType

func (AcceleratorResponseOutput) ElementType() reflect.Type

func (AcceleratorResponseOutput) InstallGpuDrivers deprecated

func (o AcceleratorResponseOutput) InstallGpuDrivers() pulumi.BoolOutput

Deprecated: please use instances[0].install_gpu_drivers instead.

Deprecated: Deprecated: please use instances[0].install_gpu_drivers instead.

func (AcceleratorResponseOutput) ToAcceleratorResponseOutput

func (o AcceleratorResponseOutput) ToAcceleratorResponseOutput() AcceleratorResponseOutput

func (AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext

func (o AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext(ctx context.Context) AcceleratorResponseOutput

func (AcceleratorResponseOutput) Type

The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.

type ActionCondition

type ActionCondition struct {
	// Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
	ExitCodes []int `pulumi:"exitCodes"`
}

Conditions for actions to deal with task failures.

type ActionConditionArgs

type ActionConditionArgs struct {
	// Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
	ExitCodes pulumi.IntArrayInput `pulumi:"exitCodes"`
}

Conditions for actions to deal with task failures.

func (ActionConditionArgs) ElementType

func (ActionConditionArgs) ElementType() reflect.Type

func (ActionConditionArgs) ToActionConditionOutput

func (i ActionConditionArgs) ToActionConditionOutput() ActionConditionOutput

func (ActionConditionArgs) ToActionConditionOutputWithContext

func (i ActionConditionArgs) ToActionConditionOutputWithContext(ctx context.Context) ActionConditionOutput

func (ActionConditionArgs) ToActionConditionPtrOutput

func (i ActionConditionArgs) ToActionConditionPtrOutput() ActionConditionPtrOutput

func (ActionConditionArgs) ToActionConditionPtrOutputWithContext

func (i ActionConditionArgs) ToActionConditionPtrOutputWithContext(ctx context.Context) ActionConditionPtrOutput

type ActionConditionInput

type ActionConditionInput interface {
	pulumi.Input

	ToActionConditionOutput() ActionConditionOutput
	ToActionConditionOutputWithContext(context.Context) ActionConditionOutput
}

ActionConditionInput is an input type that accepts ActionConditionArgs and ActionConditionOutput values. You can construct a concrete instance of `ActionConditionInput` via:

ActionConditionArgs{...}

type ActionConditionOutput

type ActionConditionOutput struct{ *pulumi.OutputState }

Conditions for actions to deal with task failures.

func (ActionConditionOutput) ElementType

func (ActionConditionOutput) ElementType() reflect.Type

func (ActionConditionOutput) ExitCodes

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

func (ActionConditionOutput) ToActionConditionOutput

func (o ActionConditionOutput) ToActionConditionOutput() ActionConditionOutput

func (ActionConditionOutput) ToActionConditionOutputWithContext

func (o ActionConditionOutput) ToActionConditionOutputWithContext(ctx context.Context) ActionConditionOutput

func (ActionConditionOutput) ToActionConditionPtrOutput

func (o ActionConditionOutput) ToActionConditionPtrOutput() ActionConditionPtrOutput

func (ActionConditionOutput) ToActionConditionPtrOutputWithContext

func (o ActionConditionOutput) ToActionConditionPtrOutputWithContext(ctx context.Context) ActionConditionPtrOutput

type ActionConditionPtrInput

type ActionConditionPtrInput interface {
	pulumi.Input

	ToActionConditionPtrOutput() ActionConditionPtrOutput
	ToActionConditionPtrOutputWithContext(context.Context) ActionConditionPtrOutput
}

ActionConditionPtrInput is an input type that accepts ActionConditionArgs, ActionConditionPtr and ActionConditionPtrOutput values. You can construct a concrete instance of `ActionConditionPtrInput` via:

        ActionConditionArgs{...}

or:

        nil

type ActionConditionPtrOutput

type ActionConditionPtrOutput struct{ *pulumi.OutputState }

func (ActionConditionPtrOutput) Elem

func (ActionConditionPtrOutput) ElementType

func (ActionConditionPtrOutput) ElementType() reflect.Type

func (ActionConditionPtrOutput) ExitCodes

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

func (ActionConditionPtrOutput) ToActionConditionPtrOutput

func (o ActionConditionPtrOutput) ToActionConditionPtrOutput() ActionConditionPtrOutput

func (ActionConditionPtrOutput) ToActionConditionPtrOutputWithContext

func (o ActionConditionPtrOutput) ToActionConditionPtrOutputWithContext(ctx context.Context) ActionConditionPtrOutput

type ActionConditionResponse

type ActionConditionResponse struct {
	// Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
	ExitCodes []int `pulumi:"exitCodes"`
}

Conditions for actions to deal with task failures.

type ActionConditionResponseOutput

type ActionConditionResponseOutput struct{ *pulumi.OutputState }

Conditions for actions to deal with task failures.

func (ActionConditionResponseOutput) ElementType

func (ActionConditionResponseOutput) ExitCodes

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

func (ActionConditionResponseOutput) ToActionConditionResponseOutput

func (o ActionConditionResponseOutput) ToActionConditionResponseOutput() ActionConditionResponseOutput

func (ActionConditionResponseOutput) ToActionConditionResponseOutputWithContext

func (o ActionConditionResponseOutput) ToActionConditionResponseOutputWithContext(ctx context.Context) ActionConditionResponseOutput

type AllocationPolicy

type AllocationPolicy struct {
	// Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
	Instances []InstancePolicyOrTemplate `pulumi:"instances"`
	// Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels map[string]string `pulumi:"labels"`
	// Location where compute resources should be allocated for the Job.
	Location *LocationPolicy `pulumi:"location"`
	// The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
	Network *NetworkPolicy `pulumi:"network"`
	// The placement policy.
	Placement *PlacementPolicy `pulumi:"placement"`
	// Service account that VMs will run as.
	ServiceAccount *ServiceAccount `pulumi:"serviceAccount"`
}

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

type AllocationPolicyArgs

type AllocationPolicyArgs struct {
	// Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
	Instances InstancePolicyOrTemplateArrayInput `pulumi:"instances"`
	// Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Location where compute resources should be allocated for the Job.
	Location LocationPolicyPtrInput `pulumi:"location"`
	// The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
	Network NetworkPolicyPtrInput `pulumi:"network"`
	// The placement policy.
	Placement PlacementPolicyPtrInput `pulumi:"placement"`
	// Service account that VMs will run as.
	ServiceAccount ServiceAccountPtrInput `pulumi:"serviceAccount"`
}

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

func (AllocationPolicyArgs) ElementType

func (AllocationPolicyArgs) ElementType() reflect.Type

func (AllocationPolicyArgs) ToAllocationPolicyOutput

func (i AllocationPolicyArgs) ToAllocationPolicyOutput() AllocationPolicyOutput

func (AllocationPolicyArgs) ToAllocationPolicyOutputWithContext

func (i AllocationPolicyArgs) ToAllocationPolicyOutputWithContext(ctx context.Context) AllocationPolicyOutput

func (AllocationPolicyArgs) ToAllocationPolicyPtrOutput

func (i AllocationPolicyArgs) ToAllocationPolicyPtrOutput() AllocationPolicyPtrOutput

func (AllocationPolicyArgs) ToAllocationPolicyPtrOutputWithContext

func (i AllocationPolicyArgs) ToAllocationPolicyPtrOutputWithContext(ctx context.Context) AllocationPolicyPtrOutput

type AllocationPolicyInput

type AllocationPolicyInput interface {
	pulumi.Input

	ToAllocationPolicyOutput() AllocationPolicyOutput
	ToAllocationPolicyOutputWithContext(context.Context) AllocationPolicyOutput
}

AllocationPolicyInput is an input type that accepts AllocationPolicyArgs and AllocationPolicyOutput values. You can construct a concrete instance of `AllocationPolicyInput` via:

AllocationPolicyArgs{...}

type AllocationPolicyOutput

type AllocationPolicyOutput struct{ *pulumi.OutputState }

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

func (AllocationPolicyOutput) ElementType

func (AllocationPolicyOutput) ElementType() reflect.Type

func (AllocationPolicyOutput) Instances

Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.

func (AllocationPolicyOutput) Labels

Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.

func (AllocationPolicyOutput) Location

Location where compute resources should be allocated for the Job.

func (AllocationPolicyOutput) Network

The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.

func (AllocationPolicyOutput) Placement added in v0.31.1

The placement policy.

func (AllocationPolicyOutput) ServiceAccount

Service account that VMs will run as.

func (AllocationPolicyOutput) ToAllocationPolicyOutput

func (o AllocationPolicyOutput) ToAllocationPolicyOutput() AllocationPolicyOutput

func (AllocationPolicyOutput) ToAllocationPolicyOutputWithContext

func (o AllocationPolicyOutput) ToAllocationPolicyOutputWithContext(ctx context.Context) AllocationPolicyOutput

func (AllocationPolicyOutput) ToAllocationPolicyPtrOutput

func (o AllocationPolicyOutput) ToAllocationPolicyPtrOutput() AllocationPolicyPtrOutput

func (AllocationPolicyOutput) ToAllocationPolicyPtrOutputWithContext

func (o AllocationPolicyOutput) ToAllocationPolicyPtrOutputWithContext(ctx context.Context) AllocationPolicyPtrOutput

type AllocationPolicyPtrInput

type AllocationPolicyPtrInput interface {
	pulumi.Input

	ToAllocationPolicyPtrOutput() AllocationPolicyPtrOutput
	ToAllocationPolicyPtrOutputWithContext(context.Context) AllocationPolicyPtrOutput
}

AllocationPolicyPtrInput is an input type that accepts AllocationPolicyArgs, AllocationPolicyPtr and AllocationPolicyPtrOutput values. You can construct a concrete instance of `AllocationPolicyPtrInput` via:

        AllocationPolicyArgs{...}

or:

        nil

type AllocationPolicyPtrOutput

type AllocationPolicyPtrOutput struct{ *pulumi.OutputState }

func (AllocationPolicyPtrOutput) Elem

func (AllocationPolicyPtrOutput) ElementType

func (AllocationPolicyPtrOutput) ElementType() reflect.Type

func (AllocationPolicyPtrOutput) Instances

Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.

func (AllocationPolicyPtrOutput) Labels

Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.

func (AllocationPolicyPtrOutput) Location

Location where compute resources should be allocated for the Job.

func (AllocationPolicyPtrOutput) Network

The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.

func (AllocationPolicyPtrOutput) Placement added in v0.31.1

The placement policy.

func (AllocationPolicyPtrOutput) ServiceAccount

Service account that VMs will run as.

func (AllocationPolicyPtrOutput) ToAllocationPolicyPtrOutput

func (o AllocationPolicyPtrOutput) ToAllocationPolicyPtrOutput() AllocationPolicyPtrOutput

func (AllocationPolicyPtrOutput) ToAllocationPolicyPtrOutputWithContext

func (o AllocationPolicyPtrOutput) ToAllocationPolicyPtrOutputWithContext(ctx context.Context) AllocationPolicyPtrOutput

type AllocationPolicyResponse

type AllocationPolicyResponse struct {
	// Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
	Instances []InstancePolicyOrTemplateResponse `pulumi:"instances"`
	// Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels map[string]string `pulumi:"labels"`
	// Location where compute resources should be allocated for the Job.
	Location LocationPolicyResponse `pulumi:"location"`
	// The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
	Network NetworkPolicyResponse `pulumi:"network"`
	// The placement policy.
	Placement PlacementPolicyResponse `pulumi:"placement"`
	// Service account that VMs will run as.
	ServiceAccount ServiceAccountResponse `pulumi:"serviceAccount"`
}

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

type AllocationPolicyResponseOutput

type AllocationPolicyResponseOutput struct{ *pulumi.OutputState }

A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.

func (AllocationPolicyResponseOutput) ElementType

func (AllocationPolicyResponseOutput) Instances

Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.

func (AllocationPolicyResponseOutput) Labels

Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.

func (AllocationPolicyResponseOutput) Location

Location where compute resources should be allocated for the Job.

func (AllocationPolicyResponseOutput) Network

The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.

func (AllocationPolicyResponseOutput) Placement added in v0.31.1

The placement policy.

func (AllocationPolicyResponseOutput) ServiceAccount

Service account that VMs will run as.

func (AllocationPolicyResponseOutput) ToAllocationPolicyResponseOutput

func (o AllocationPolicyResponseOutput) ToAllocationPolicyResponseOutput() AllocationPolicyResponseOutput

func (AllocationPolicyResponseOutput) ToAllocationPolicyResponseOutputWithContext

func (o AllocationPolicyResponseOutput) ToAllocationPolicyResponseOutputWithContext(ctx context.Context) AllocationPolicyResponseOutput

type AttachedDisk

type AttachedDisk struct {
	// Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
	DeviceName *string `pulumi:"deviceName"`
	// Name of an existing PD.
	ExistingDisk *string `pulumi:"existingDisk"`
	NewDisk      *Disk   `pulumi:"newDisk"`
}

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

type AttachedDiskArgs

type AttachedDiskArgs struct {
	// Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
	DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
	// Name of an existing PD.
	ExistingDisk pulumi.StringPtrInput `pulumi:"existingDisk"`
	NewDisk      DiskPtrInput          `pulumi:"newDisk"`
}

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

func (AttachedDiskArgs) ElementType

func (AttachedDiskArgs) ElementType() reflect.Type

func (AttachedDiskArgs) ToAttachedDiskOutput

func (i AttachedDiskArgs) ToAttachedDiskOutput() AttachedDiskOutput

func (AttachedDiskArgs) ToAttachedDiskOutputWithContext

func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) AttachedDiskOutput

type AttachedDiskArray

type AttachedDiskArray []AttachedDiskInput

func (AttachedDiskArray) ElementType

func (AttachedDiskArray) ElementType() reflect.Type

func (AttachedDiskArray) ToAttachedDiskArrayOutput

func (i AttachedDiskArray) ToAttachedDiskArrayOutput() AttachedDiskArrayOutput

func (AttachedDiskArray) ToAttachedDiskArrayOutputWithContext

func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Context) AttachedDiskArrayOutput

type AttachedDiskArrayInput

type AttachedDiskArrayInput interface {
	pulumi.Input

	ToAttachedDiskArrayOutput() AttachedDiskArrayOutput
	ToAttachedDiskArrayOutputWithContext(context.Context) AttachedDiskArrayOutput
}

AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. You can construct a concrete instance of `AttachedDiskArrayInput` via:

AttachedDiskArray{ AttachedDiskArgs{...} }

type AttachedDiskArrayOutput

type AttachedDiskArrayOutput struct{ *pulumi.OutputState }

func (AttachedDiskArrayOutput) ElementType

func (AttachedDiskArrayOutput) ElementType() reflect.Type

func (AttachedDiskArrayOutput) Index

func (AttachedDiskArrayOutput) ToAttachedDiskArrayOutput

func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutput() AttachedDiskArrayOutput

func (AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext

func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx context.Context) AttachedDiskArrayOutput

type AttachedDiskInput

type AttachedDiskInput interface {
	pulumi.Input

	ToAttachedDiskOutput() AttachedDiskOutput
	ToAttachedDiskOutputWithContext(context.Context) AttachedDiskOutput
}

AttachedDiskInput is an input type that accepts AttachedDiskArgs and AttachedDiskOutput values. You can construct a concrete instance of `AttachedDiskInput` via:

AttachedDiskArgs{...}

type AttachedDiskOutput

type AttachedDiskOutput struct{ *pulumi.OutputState }

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

func (AttachedDiskOutput) DeviceName

func (o AttachedDiskOutput) DeviceName() pulumi.StringPtrOutput

Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

func (AttachedDiskOutput) ElementType

func (AttachedDiskOutput) ElementType() reflect.Type

func (AttachedDiskOutput) ExistingDisk

func (o AttachedDiskOutput) ExistingDisk() pulumi.StringPtrOutput

Name of an existing PD.

func (AttachedDiskOutput) NewDisk

func (o AttachedDiskOutput) NewDisk() DiskPtrOutput

func (AttachedDiskOutput) ToAttachedDiskOutput

func (o AttachedDiskOutput) ToAttachedDiskOutput() AttachedDiskOutput

func (AttachedDiskOutput) ToAttachedDiskOutputWithContext

func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) AttachedDiskOutput

type AttachedDiskResponse

type AttachedDiskResponse struct {
	// Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
	DeviceName string `pulumi:"deviceName"`
	// Name of an existing PD.
	ExistingDisk string       `pulumi:"existingDisk"`
	NewDisk      DiskResponse `pulumi:"newDisk"`
}

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

type AttachedDiskResponseArrayOutput

type AttachedDiskResponseArrayOutput struct{ *pulumi.OutputState }

func (AttachedDiskResponseArrayOutput) ElementType

func (AttachedDiskResponseArrayOutput) Index

func (AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutput

func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutput() AttachedDiskResponseArrayOutput

func (AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithContext

func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithContext(ctx context.Context) AttachedDiskResponseArrayOutput

type AttachedDiskResponseOutput

type AttachedDiskResponseOutput struct{ *pulumi.OutputState }

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

func (AttachedDiskResponseOutput) DeviceName

Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

func (AttachedDiskResponseOutput) ElementType

func (AttachedDiskResponseOutput) ElementType() reflect.Type

func (AttachedDiskResponseOutput) ExistingDisk

Name of an existing PD.

func (AttachedDiskResponseOutput) NewDisk

func (AttachedDiskResponseOutput) ToAttachedDiskResponseOutput

func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutput() AttachedDiskResponseOutput

func (AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext

func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx context.Context) AttachedDiskResponseOutput

type Barrier

type Barrier struct {
	// Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
	Name *string `pulumi:"name"`
}

Barrier runnable blocks until all tasks in a taskgroup reach it.

type BarrierArgs

type BarrierArgs struct {
	// Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

Barrier runnable blocks until all tasks in a taskgroup reach it.

func (BarrierArgs) ElementType

func (BarrierArgs) ElementType() reflect.Type

func (BarrierArgs) ToBarrierOutput

func (i BarrierArgs) ToBarrierOutput() BarrierOutput

func (BarrierArgs) ToBarrierOutputWithContext

func (i BarrierArgs) ToBarrierOutputWithContext(ctx context.Context) BarrierOutput

func (BarrierArgs) ToBarrierPtrOutput

func (i BarrierArgs) ToBarrierPtrOutput() BarrierPtrOutput

func (BarrierArgs) ToBarrierPtrOutputWithContext

func (i BarrierArgs) ToBarrierPtrOutputWithContext(ctx context.Context) BarrierPtrOutput

type BarrierInput

type BarrierInput interface {
	pulumi.Input

	ToBarrierOutput() BarrierOutput
	ToBarrierOutputWithContext(context.Context) BarrierOutput
}

BarrierInput is an input type that accepts BarrierArgs and BarrierOutput values. You can construct a concrete instance of `BarrierInput` via:

BarrierArgs{...}

type BarrierOutput

type BarrierOutput struct{ *pulumi.OutputState }

Barrier runnable blocks until all tasks in a taskgroup reach it.

func (BarrierOutput) ElementType

func (BarrierOutput) ElementType() reflect.Type

func (BarrierOutput) Name

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

func (BarrierOutput) ToBarrierOutput

func (o BarrierOutput) ToBarrierOutput() BarrierOutput

func (BarrierOutput) ToBarrierOutputWithContext

func (o BarrierOutput) ToBarrierOutputWithContext(ctx context.Context) BarrierOutput

func (BarrierOutput) ToBarrierPtrOutput

func (o BarrierOutput) ToBarrierPtrOutput() BarrierPtrOutput

func (BarrierOutput) ToBarrierPtrOutputWithContext

func (o BarrierOutput) ToBarrierPtrOutputWithContext(ctx context.Context) BarrierPtrOutput

type BarrierPtrInput

type BarrierPtrInput interface {
	pulumi.Input

	ToBarrierPtrOutput() BarrierPtrOutput
	ToBarrierPtrOutputWithContext(context.Context) BarrierPtrOutput
}

BarrierPtrInput is an input type that accepts BarrierArgs, BarrierPtr and BarrierPtrOutput values. You can construct a concrete instance of `BarrierPtrInput` via:

        BarrierArgs{...}

or:

        nil

func BarrierPtr

func BarrierPtr(v *BarrierArgs) BarrierPtrInput

type BarrierPtrOutput

type BarrierPtrOutput struct{ *pulumi.OutputState }

func (BarrierPtrOutput) Elem

func (BarrierPtrOutput) ElementType

func (BarrierPtrOutput) ElementType() reflect.Type

func (BarrierPtrOutput) Name

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

func (BarrierPtrOutput) ToBarrierPtrOutput

func (o BarrierPtrOutput) ToBarrierPtrOutput() BarrierPtrOutput

func (BarrierPtrOutput) ToBarrierPtrOutputWithContext

func (o BarrierPtrOutput) ToBarrierPtrOutputWithContext(ctx context.Context) BarrierPtrOutput

type BarrierResponse

type BarrierResponse struct {
	// Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
	Name string `pulumi:"name"`
}

Barrier runnable blocks until all tasks in a taskgroup reach it.

type BarrierResponseOutput

type BarrierResponseOutput struct{ *pulumi.OutputState }

Barrier runnable blocks until all tasks in a taskgroup reach it.

func (BarrierResponseOutput) ElementType

func (BarrierResponseOutput) ElementType() reflect.Type

func (BarrierResponseOutput) Name

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

func (BarrierResponseOutput) ToBarrierResponseOutput

func (o BarrierResponseOutput) ToBarrierResponseOutput() BarrierResponseOutput

func (BarrierResponseOutput) ToBarrierResponseOutputWithContext

func (o BarrierResponseOutput) ToBarrierResponseOutputWithContext(ctx context.Context) BarrierResponseOutput

type CloudLoggingOption added in v0.32.0

type CloudLoggingOption struct {
}

CloudLoggingOption contains additional settings for cloud logging generated by Batch job.

type CloudLoggingOptionArgs added in v0.32.0

type CloudLoggingOptionArgs struct {
}

CloudLoggingOption contains additional settings for cloud logging generated by Batch job.

func (CloudLoggingOptionArgs) ElementType added in v0.32.0

func (CloudLoggingOptionArgs) ElementType() reflect.Type

func (CloudLoggingOptionArgs) ToCloudLoggingOptionOutput added in v0.32.0

func (i CloudLoggingOptionArgs) ToCloudLoggingOptionOutput() CloudLoggingOptionOutput

func (CloudLoggingOptionArgs) ToCloudLoggingOptionOutputWithContext added in v0.32.0

func (i CloudLoggingOptionArgs) ToCloudLoggingOptionOutputWithContext(ctx context.Context) CloudLoggingOptionOutput

func (CloudLoggingOptionArgs) ToCloudLoggingOptionPtrOutput added in v0.32.0

func (i CloudLoggingOptionArgs) ToCloudLoggingOptionPtrOutput() CloudLoggingOptionPtrOutput

func (CloudLoggingOptionArgs) ToCloudLoggingOptionPtrOutputWithContext added in v0.32.0

func (i CloudLoggingOptionArgs) ToCloudLoggingOptionPtrOutputWithContext(ctx context.Context) CloudLoggingOptionPtrOutput

type CloudLoggingOptionInput added in v0.32.0

type CloudLoggingOptionInput interface {
	pulumi.Input

	ToCloudLoggingOptionOutput() CloudLoggingOptionOutput
	ToCloudLoggingOptionOutputWithContext(context.Context) CloudLoggingOptionOutput
}

CloudLoggingOptionInput is an input type that accepts CloudLoggingOptionArgs and CloudLoggingOptionOutput values. You can construct a concrete instance of `CloudLoggingOptionInput` via:

CloudLoggingOptionArgs{...}

type CloudLoggingOptionOutput added in v0.32.0

type CloudLoggingOptionOutput struct{ *pulumi.OutputState }

CloudLoggingOption contains additional settings for cloud logging generated by Batch job.

func (CloudLoggingOptionOutput) ElementType added in v0.32.0

func (CloudLoggingOptionOutput) ElementType() reflect.Type

func (CloudLoggingOptionOutput) ToCloudLoggingOptionOutput added in v0.32.0

func (o CloudLoggingOptionOutput) ToCloudLoggingOptionOutput() CloudLoggingOptionOutput

func (CloudLoggingOptionOutput) ToCloudLoggingOptionOutputWithContext added in v0.32.0

func (o CloudLoggingOptionOutput) ToCloudLoggingOptionOutputWithContext(ctx context.Context) CloudLoggingOptionOutput

func (CloudLoggingOptionOutput) ToCloudLoggingOptionPtrOutput added in v0.32.0

func (o CloudLoggingOptionOutput) ToCloudLoggingOptionPtrOutput() CloudLoggingOptionPtrOutput

func (CloudLoggingOptionOutput) ToCloudLoggingOptionPtrOutputWithContext added in v0.32.0

func (o CloudLoggingOptionOutput) ToCloudLoggingOptionPtrOutputWithContext(ctx context.Context) CloudLoggingOptionPtrOutput

type CloudLoggingOptionPtrInput added in v0.32.0

type CloudLoggingOptionPtrInput interface {
	pulumi.Input

	ToCloudLoggingOptionPtrOutput() CloudLoggingOptionPtrOutput
	ToCloudLoggingOptionPtrOutputWithContext(context.Context) CloudLoggingOptionPtrOutput
}

CloudLoggingOptionPtrInput is an input type that accepts CloudLoggingOptionArgs, CloudLoggingOptionPtr and CloudLoggingOptionPtrOutput values. You can construct a concrete instance of `CloudLoggingOptionPtrInput` via:

        CloudLoggingOptionArgs{...}

or:

        nil

func CloudLoggingOptionPtr added in v0.32.0

func CloudLoggingOptionPtr(v *CloudLoggingOptionArgs) CloudLoggingOptionPtrInput

type CloudLoggingOptionPtrOutput added in v0.32.0

type CloudLoggingOptionPtrOutput struct{ *pulumi.OutputState }

func (CloudLoggingOptionPtrOutput) Elem added in v0.32.0

func (CloudLoggingOptionPtrOutput) ElementType added in v0.32.0

func (CloudLoggingOptionPtrOutput) ToCloudLoggingOptionPtrOutput added in v0.32.0

func (o CloudLoggingOptionPtrOutput) ToCloudLoggingOptionPtrOutput() CloudLoggingOptionPtrOutput

func (CloudLoggingOptionPtrOutput) ToCloudLoggingOptionPtrOutputWithContext added in v0.32.0

func (o CloudLoggingOptionPtrOutput) ToCloudLoggingOptionPtrOutputWithContext(ctx context.Context) CloudLoggingOptionPtrOutput

type CloudLoggingOptionResponse added in v0.32.0

type CloudLoggingOptionResponse struct {
}

CloudLoggingOption contains additional settings for cloud logging generated by Batch job.

type CloudLoggingOptionResponseOutput added in v0.32.0

type CloudLoggingOptionResponseOutput struct{ *pulumi.OutputState }

CloudLoggingOption contains additional settings for cloud logging generated by Batch job.

func (CloudLoggingOptionResponseOutput) ElementType added in v0.32.0

func (CloudLoggingOptionResponseOutput) ToCloudLoggingOptionResponseOutput added in v0.32.0

func (o CloudLoggingOptionResponseOutput) ToCloudLoggingOptionResponseOutput() CloudLoggingOptionResponseOutput

func (CloudLoggingOptionResponseOutput) ToCloudLoggingOptionResponseOutputWithContext added in v0.32.0

func (o CloudLoggingOptionResponseOutput) ToCloudLoggingOptionResponseOutputWithContext(ctx context.Context) CloudLoggingOptionResponseOutput

type ComputeResource

type ComputeResource struct {
	// Extra boot disk size in MiB for each task.
	BootDiskMib *string `pulumi:"bootDiskMib"`
	// The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.
	CpuMilli *string `pulumi:"cpuMilli"`
	// Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.
	MemoryMib *string `pulumi:"memoryMib"`
}

Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.

type ComputeResourceArgs

type ComputeResourceArgs struct {
	// Extra boot disk size in MiB for each task.
	BootDiskMib pulumi.StringPtrInput `pulumi:"bootDiskMib"`
	// The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.
	CpuMilli pulumi.StringPtrInput `pulumi:"cpuMilli"`
	// Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.
	MemoryMib pulumi.StringPtrInput `pulumi:"memoryMib"`
}

Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.

func (ComputeResourceArgs) ElementType

func (ComputeResourceArgs) ElementType() reflect.Type

func (ComputeResourceArgs) ToComputeResourceOutput

func (i ComputeResourceArgs) ToComputeResourceOutput() ComputeResourceOutput

func (ComputeResourceArgs) ToComputeResourceOutputWithContext

func (i ComputeResourceArgs) ToComputeResourceOutputWithContext(ctx context.Context) ComputeResourceOutput

func (ComputeResourceArgs) ToComputeResourcePtrOutput

func (i ComputeResourceArgs) ToComputeResourcePtrOutput() ComputeResourcePtrOutput

func (ComputeResourceArgs) ToComputeResourcePtrOutputWithContext

func (i ComputeResourceArgs) ToComputeResourcePtrOutputWithContext(ctx context.Context) ComputeResourcePtrOutput

type ComputeResourceInput

type ComputeResourceInput interface {
	pulumi.Input

	ToComputeResourceOutput() ComputeResourceOutput
	ToComputeResourceOutputWithContext(context.Context) ComputeResourceOutput
}

ComputeResourceInput is an input type that accepts ComputeResourceArgs and ComputeResourceOutput values. You can construct a concrete instance of `ComputeResourceInput` via:

ComputeResourceArgs{...}

type ComputeResourceOutput

type ComputeResourceOutput struct{ *pulumi.OutputState }

Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.

func (ComputeResourceOutput) BootDiskMib

Extra boot disk size in MiB for each task.

func (ComputeResourceOutput) CpuMilli

The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.

func (ComputeResourceOutput) ElementType

func (ComputeResourceOutput) ElementType() reflect.Type

func (ComputeResourceOutput) MemoryMib

Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.

func (ComputeResourceOutput) ToComputeResourceOutput

func (o ComputeResourceOutput) ToComputeResourceOutput() ComputeResourceOutput

func (ComputeResourceOutput) ToComputeResourceOutputWithContext

func (o ComputeResourceOutput) ToComputeResourceOutputWithContext(ctx context.Context) ComputeResourceOutput

func (ComputeResourceOutput) ToComputeResourcePtrOutput

func (o ComputeResourceOutput) ToComputeResourcePtrOutput() ComputeResourcePtrOutput

func (ComputeResourceOutput) ToComputeResourcePtrOutputWithContext

func (o ComputeResourceOutput) ToComputeResourcePtrOutputWithContext(ctx context.Context) ComputeResourcePtrOutput

type ComputeResourcePtrInput

type ComputeResourcePtrInput interface {
	pulumi.Input

	ToComputeResourcePtrOutput() ComputeResourcePtrOutput
	ToComputeResourcePtrOutputWithContext(context.Context) ComputeResourcePtrOutput
}

ComputeResourcePtrInput is an input type that accepts ComputeResourceArgs, ComputeResourcePtr and ComputeResourcePtrOutput values. You can construct a concrete instance of `ComputeResourcePtrInput` via:

        ComputeResourceArgs{...}

or:

        nil

type ComputeResourcePtrOutput

type ComputeResourcePtrOutput struct{ *pulumi.OutputState }

func (ComputeResourcePtrOutput) BootDiskMib

Extra boot disk size in MiB for each task.

func (ComputeResourcePtrOutput) CpuMilli

The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.

func (ComputeResourcePtrOutput) Elem

func (ComputeResourcePtrOutput) ElementType

func (ComputeResourcePtrOutput) ElementType() reflect.Type

func (ComputeResourcePtrOutput) MemoryMib

Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.

func (ComputeResourcePtrOutput) ToComputeResourcePtrOutput

func (o ComputeResourcePtrOutput) ToComputeResourcePtrOutput() ComputeResourcePtrOutput

func (ComputeResourcePtrOutput) ToComputeResourcePtrOutputWithContext

func (o ComputeResourcePtrOutput) ToComputeResourcePtrOutputWithContext(ctx context.Context) ComputeResourcePtrOutput

type ComputeResourceResponse

type ComputeResourceResponse struct {
	// Extra boot disk size in MiB for each task.
	BootDiskMib string `pulumi:"bootDiskMib"`
	// The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.
	CpuMilli string `pulumi:"cpuMilli"`
	// Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.
	MemoryMib string `pulumi:"memoryMib"`
}

Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.

type ComputeResourceResponseOutput

type ComputeResourceResponseOutput struct{ *pulumi.OutputState }

Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.

func (ComputeResourceResponseOutput) BootDiskMib

Extra boot disk size in MiB for each task.

func (ComputeResourceResponseOutput) CpuMilli

The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.

func (ComputeResourceResponseOutput) ElementType

func (ComputeResourceResponseOutput) MemoryMib

Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in InstancePolicy(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the InstancePolicyOrTemplate(https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.

func (ComputeResourceResponseOutput) ToComputeResourceResponseOutput

func (o ComputeResourceResponseOutput) ToComputeResourceResponseOutput() ComputeResourceResponseOutput

func (ComputeResourceResponseOutput) ToComputeResourceResponseOutputWithContext

func (o ComputeResourceResponseOutput) ToComputeResourceResponseOutputWithContext(ctx context.Context) ComputeResourceResponseOutput

type Container

type Container struct {
	// If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.
	BlockExternalNetwork *bool `pulumi:"blockExternalNetwork"`
	// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
	Commands []string `pulumi:"commands"`
	// Overrides the `ENTRYPOINT` specified in the container.
	Entrypoint *string `pulumi:"entrypoint"`
	// The URI to pull the container image from.
	ImageUri *string `pulumi:"imageUri"`
	// Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
	Options *string `pulumi:"options"`
	// Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;
	Password *string `pulumi:"password"`
	// Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.
	Username *string `pulumi:"username"`
	// Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.
	Volumes []string `pulumi:"volumes"`
}

Container runnable.

type ContainerArgs

type ContainerArgs struct {
	// If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.
	BlockExternalNetwork pulumi.BoolPtrInput `pulumi:"blockExternalNetwork"`
	// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// Overrides the `ENTRYPOINT` specified in the container.
	Entrypoint pulumi.StringPtrInput `pulumi:"entrypoint"`
	// The URI to pull the container image from.
	ImageUri pulumi.StringPtrInput `pulumi:"imageUri"`
	// Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
	Options pulumi.StringPtrInput `pulumi:"options"`
	// Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.
	Username pulumi.StringPtrInput `pulumi:"username"`
	// Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.
	Volumes pulumi.StringArrayInput `pulumi:"volumes"`
}

Container runnable.

func (ContainerArgs) ElementType

func (ContainerArgs) ElementType() reflect.Type

func (ContainerArgs) ToContainerOutput

func (i ContainerArgs) ToContainerOutput() ContainerOutput

func (ContainerArgs) ToContainerOutputWithContext

func (i ContainerArgs) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

func (ContainerArgs) ToContainerPtrOutput

func (i ContainerArgs) ToContainerPtrOutput() ContainerPtrOutput

func (ContainerArgs) ToContainerPtrOutputWithContext

func (i ContainerArgs) ToContainerPtrOutputWithContext(ctx context.Context) ContainerPtrOutput

type ContainerInput

type ContainerInput interface {
	pulumi.Input

	ToContainerOutput() ContainerOutput
	ToContainerOutputWithContext(context.Context) ContainerOutput
}

ContainerInput is an input type that accepts ContainerArgs and ContainerOutput values. You can construct a concrete instance of `ContainerInput` via:

ContainerArgs{...}

type ContainerOutput

type ContainerOutput struct{ *pulumi.OutputState }

Container runnable.

func (ContainerOutput) BlockExternalNetwork

func (o ContainerOutput) BlockExternalNetwork() pulumi.BoolPtrOutput

If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.

func (ContainerOutput) Commands

Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.

func (ContainerOutput) ElementType

func (ContainerOutput) ElementType() reflect.Type

func (ContainerOutput) Entrypoint

func (o ContainerOutput) Entrypoint() pulumi.StringPtrOutput

Overrides the `ENTRYPOINT` specified in the container.

func (ContainerOutput) ImageUri

func (o ContainerOutput) ImageUri() pulumi.StringPtrOutput

The URI to pull the container image from.

func (ContainerOutput) Options

Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".

func (ContainerOutput) Password

func (o ContainerOutput) Password() pulumi.StringPtrOutput

Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;

func (ContainerOutput) ToContainerOutput

func (o ContainerOutput) ToContainerOutput() ContainerOutput

func (ContainerOutput) ToContainerOutputWithContext

func (o ContainerOutput) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

func (ContainerOutput) ToContainerPtrOutput

func (o ContainerOutput) ToContainerPtrOutput() ContainerPtrOutput

func (ContainerOutput) ToContainerPtrOutputWithContext

func (o ContainerOutput) ToContainerPtrOutputWithContext(ctx context.Context) ContainerPtrOutput

func (ContainerOutput) Username

func (o ContainerOutput) Username() pulumi.StringPtrOutput

Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.

func (ContainerOutput) Volumes

Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.

type ContainerPtrInput

type ContainerPtrInput interface {
	pulumi.Input

	ToContainerPtrOutput() ContainerPtrOutput
	ToContainerPtrOutputWithContext(context.Context) ContainerPtrOutput
}

ContainerPtrInput is an input type that accepts ContainerArgs, ContainerPtr and ContainerPtrOutput values. You can construct a concrete instance of `ContainerPtrInput` via:

        ContainerArgs{...}

or:

        nil

func ContainerPtr

func ContainerPtr(v *ContainerArgs) ContainerPtrInput

type ContainerPtrOutput

type ContainerPtrOutput struct{ *pulumi.OutputState }

func (ContainerPtrOutput) BlockExternalNetwork

func (o ContainerPtrOutput) BlockExternalNetwork() pulumi.BoolPtrOutput

If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.

func (ContainerPtrOutput) Commands

Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.

func (ContainerPtrOutput) Elem

func (ContainerPtrOutput) ElementType

func (ContainerPtrOutput) ElementType() reflect.Type

func (ContainerPtrOutput) Entrypoint

func (o ContainerPtrOutput) Entrypoint() pulumi.StringPtrOutput

Overrides the `ENTRYPOINT` specified in the container.

func (ContainerPtrOutput) ImageUri

The URI to pull the container image from.

func (ContainerPtrOutput) Options

Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".

func (ContainerPtrOutput) Password

Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;

func (ContainerPtrOutput) ToContainerPtrOutput

func (o ContainerPtrOutput) ToContainerPtrOutput() ContainerPtrOutput

func (ContainerPtrOutput) ToContainerPtrOutputWithContext

func (o ContainerPtrOutput) ToContainerPtrOutputWithContext(ctx context.Context) ContainerPtrOutput

func (ContainerPtrOutput) Username

Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.

func (ContainerPtrOutput) Volumes

Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.

type ContainerResponse

type ContainerResponse struct {
	// If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.
	BlockExternalNetwork bool `pulumi:"blockExternalNetwork"`
	// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
	Commands []string `pulumi:"commands"`
	// Overrides the `ENTRYPOINT` specified in the container.
	Entrypoint string `pulumi:"entrypoint"`
	// The URI to pull the container image from.
	ImageUri string `pulumi:"imageUri"`
	// Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
	Options string `pulumi:"options"`
	// Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;
	Password string `pulumi:"password"`
	// Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.
	Username string `pulumi:"username"`
	// Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.
	Volumes []string `pulumi:"volumes"`
}

Container runnable.

type ContainerResponseOutput

type ContainerResponseOutput struct{ *pulumi.OutputState }

Container runnable.

func (ContainerResponseOutput) BlockExternalNetwork

func (o ContainerResponseOutput) BlockExternalNetwork() pulumi.BoolOutput

If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.

func (ContainerResponseOutput) Commands

Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.

func (ContainerResponseOutput) ElementType

func (ContainerResponseOutput) ElementType() reflect.Type

func (ContainerResponseOutput) Entrypoint

Overrides the `ENTRYPOINT` specified in the container.

func (ContainerResponseOutput) ImageUri

The URI to pull the container image from.

func (ContainerResponseOutput) Options

Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".

func (ContainerResponseOutput) Password

Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;

func (ContainerResponseOutput) ToContainerResponseOutput

func (o ContainerResponseOutput) ToContainerResponseOutput() ContainerResponseOutput

func (ContainerResponseOutput) ToContainerResponseOutputWithContext

func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx context.Context) ContainerResponseOutput

func (ContainerResponseOutput) Username

Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.

func (ContainerResponseOutput) Volumes

Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.

type Disk

type Disk struct {
	// Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
	DiskInterface *string `pulumi:"diskInterface"`
	// URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
	Image *string `pulumi:"image"`
	// Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
	SizeGb *string `pulumi:"sizeGb"`
	// Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
	Snapshot *string `pulumi:"snapshot"`
	// Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
	Type *string `pulumi:"type"`
}

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.

type DiskArgs

type DiskArgs struct {
	// Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
	DiskInterface pulumi.StringPtrInput `pulumi:"diskInterface"`
	// URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
	Image pulumi.StringPtrInput `pulumi:"image"`
	// Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
	SizeGb pulumi.StringPtrInput `pulumi:"sizeGb"`
	// Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
	Snapshot pulumi.StringPtrInput `pulumi:"snapshot"`
	// Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.

func (DiskArgs) ElementType

func (DiskArgs) ElementType() reflect.Type

func (DiskArgs) ToDiskOutput

func (i DiskArgs) ToDiskOutput() DiskOutput

func (DiskArgs) ToDiskOutputWithContext

func (i DiskArgs) ToDiskOutputWithContext(ctx context.Context) DiskOutput

func (DiskArgs) ToDiskPtrOutput

func (i DiskArgs) ToDiskPtrOutput() DiskPtrOutput

func (DiskArgs) ToDiskPtrOutputWithContext

func (i DiskArgs) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOutput

type DiskInput

type DiskInput interface {
	pulumi.Input

	ToDiskOutput() DiskOutput
	ToDiskOutputWithContext(context.Context) DiskOutput
}

DiskInput is an input type that accepts DiskArgs and DiskOutput values. You can construct a concrete instance of `DiskInput` via:

DiskArgs{...}

type DiskOutput

type DiskOutput struct{ *pulumi.OutputState }

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.

func (DiskOutput) DiskInterface

func (o DiskOutput) DiskInterface() pulumi.StringPtrOutput

Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.

func (DiskOutput) ElementType

func (DiskOutput) ElementType() reflect.Type

func (DiskOutput) Image

func (o DiskOutput) Image() pulumi.StringPtrOutput

URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.

func (DiskOutput) SizeGb

func (o DiskOutput) SizeGb() pulumi.StringPtrOutput

Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.

func (DiskOutput) Snapshot

func (o DiskOutput) Snapshot() pulumi.StringPtrOutput

Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.

func (DiskOutput) ToDiskOutput

func (o DiskOutput) ToDiskOutput() DiskOutput

func (DiskOutput) ToDiskOutputWithContext

func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput

func (DiskOutput) ToDiskPtrOutput

func (o DiskOutput) ToDiskPtrOutput() DiskPtrOutput

func (DiskOutput) ToDiskPtrOutputWithContext

func (o DiskOutput) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOutput

func (DiskOutput) Type

Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".

type DiskPtrInput

type DiskPtrInput interface {
	pulumi.Input

	ToDiskPtrOutput() DiskPtrOutput
	ToDiskPtrOutputWithContext(context.Context) DiskPtrOutput
}

DiskPtrInput is an input type that accepts DiskArgs, DiskPtr and DiskPtrOutput values. You can construct a concrete instance of `DiskPtrInput` via:

        DiskArgs{...}

or:

        nil

func DiskPtr

func DiskPtr(v *DiskArgs) DiskPtrInput

type DiskPtrOutput

type DiskPtrOutput struct{ *pulumi.OutputState }

func (DiskPtrOutput) DiskInterface

func (o DiskPtrOutput) DiskInterface() pulumi.StringPtrOutput

Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.

func (DiskPtrOutput) Elem

func (o DiskPtrOutput) Elem() DiskOutput

func (DiskPtrOutput) ElementType

func (DiskPtrOutput) ElementType() reflect.Type

func (DiskPtrOutput) Image

URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.

func (DiskPtrOutput) SizeGb

Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.

func (DiskPtrOutput) Snapshot

func (o DiskPtrOutput) Snapshot() pulumi.StringPtrOutput

Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.

func (DiskPtrOutput) ToDiskPtrOutput

func (o DiskPtrOutput) ToDiskPtrOutput() DiskPtrOutput

func (DiskPtrOutput) ToDiskPtrOutputWithContext

func (o DiskPtrOutput) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOutput

func (DiskPtrOutput) Type

Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".

type DiskResponse

type DiskResponse struct {
	// Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
	DiskInterface string `pulumi:"diskInterface"`
	// URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
	Image string `pulumi:"image"`
	// Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
	SizeGb string `pulumi:"sizeGb"`
	// Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
	Snapshot string `pulumi:"snapshot"`
	// Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
	Type string `pulumi:"type"`
}

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.

type DiskResponseOutput

type DiskResponseOutput struct{ *pulumi.OutputState }

A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.

func (DiskResponseOutput) DiskInterface

func (o DiskResponseOutput) DiskInterface() pulumi.StringOutput

Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.

func (DiskResponseOutput) ElementType

func (DiskResponseOutput) ElementType() reflect.Type

func (DiskResponseOutput) Image

URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.

func (DiskResponseOutput) SizeGb

Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.

func (DiskResponseOutput) Snapshot

func (o DiskResponseOutput) Snapshot() pulumi.StringOutput

Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.

func (DiskResponseOutput) ToDiskResponseOutput

func (o DiskResponseOutput) ToDiskResponseOutput() DiskResponseOutput

func (DiskResponseOutput) ToDiskResponseOutputWithContext

func (o DiskResponseOutput) ToDiskResponseOutputWithContext(ctx context.Context) DiskResponseOutput

func (DiskResponseOutput) Type

Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".

type Environment

type Environment struct {
	// An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
	EncryptedVariables *KMSEnvMap `pulumi:"encryptedVariables"`
	// A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
	SecretVariables map[string]string `pulumi:"secretVariables"`
	// A map of environment variable names to values.
	Variables map[string]string `pulumi:"variables"`
}

An Environment describes a collection of environment variables to set when executing Tasks.

type EnvironmentArgs

type EnvironmentArgs struct {
	// An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
	EncryptedVariables KMSEnvMapPtrInput `pulumi:"encryptedVariables"`
	// A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
	SecretVariables pulumi.StringMapInput `pulumi:"secretVariables"`
	// A map of environment variable names to values.
	Variables pulumi.StringMapInput `pulumi:"variables"`
}

An Environment describes a collection of environment variables to set when executing Tasks.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

func (EnvironmentArgs) ToEnvironmentOutput

func (i EnvironmentArgs) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentArgs) ToEnvironmentOutputWithContext

func (i EnvironmentArgs) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

func (EnvironmentArgs) ToEnvironmentPtrOutput

func (i EnvironmentArgs) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (EnvironmentArgs) ToEnvironmentPtrOutputWithContext

func (i EnvironmentArgs) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

type EnvironmentArray

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext

func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentArrayInput

type EnvironmentArrayInput interface {
	pulumi.Input

	ToEnvironmentArrayOutput() EnvironmentArrayOutput
	ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput
}

EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:

EnvironmentArray{ EnvironmentArgs{...} }

type EnvironmentArrayOutput

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentInput

type EnvironmentInput interface {
	pulumi.Input

	ToEnvironmentOutput() EnvironmentOutput
	ToEnvironmentOutputWithContext(context.Context) EnvironmentOutput
}

EnvironmentInput is an input type that accepts EnvironmentArgs and EnvironmentOutput values. You can construct a concrete instance of `EnvironmentInput` via:

EnvironmentArgs{...}

type EnvironmentOutput

type EnvironmentOutput struct{ *pulumi.OutputState }

An Environment describes a collection of environment variables to set when executing Tasks.

func (EnvironmentOutput) ElementType

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) EncryptedVariables

func (o EnvironmentOutput) EncryptedVariables() KMSEnvMapPtrOutput

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

func (EnvironmentOutput) SecretVariables

func (o EnvironmentOutput) SecretVariables() pulumi.StringMapOutput

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

func (EnvironmentOutput) ToEnvironmentOutput

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext

func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentPtrOutput

func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (EnvironmentOutput) ToEnvironmentPtrOutputWithContext

func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

func (EnvironmentOutput) Variables

A map of environment variable names to values.

type EnvironmentPtrInput

type EnvironmentPtrInput interface {
	pulumi.Input

	ToEnvironmentPtrOutput() EnvironmentPtrOutput
	ToEnvironmentPtrOutputWithContext(context.Context) EnvironmentPtrOutput
}

EnvironmentPtrInput is an input type that accepts EnvironmentArgs, EnvironmentPtr and EnvironmentPtrOutput values. You can construct a concrete instance of `EnvironmentPtrInput` via:

        EnvironmentArgs{...}

or:

        nil

func EnvironmentPtr

func EnvironmentPtr(v *EnvironmentArgs) EnvironmentPtrInput

type EnvironmentPtrOutput

type EnvironmentPtrOutput struct{ *pulumi.OutputState }

func (EnvironmentPtrOutput) Elem

func (EnvironmentPtrOutput) ElementType

func (EnvironmentPtrOutput) ElementType() reflect.Type

func (EnvironmentPtrOutput) EncryptedVariables

func (o EnvironmentPtrOutput) EncryptedVariables() KMSEnvMapPtrOutput

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

func (EnvironmentPtrOutput) SecretVariables

func (o EnvironmentPtrOutput) SecretVariables() pulumi.StringMapOutput

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

func (EnvironmentPtrOutput) ToEnvironmentPtrOutput

func (o EnvironmentPtrOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext

func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

func (EnvironmentPtrOutput) Variables

A map of environment variable names to values.

type EnvironmentResponse

type EnvironmentResponse struct {
	// An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
	EncryptedVariables KMSEnvMapResponse `pulumi:"encryptedVariables"`
	// A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
	SecretVariables map[string]string `pulumi:"secretVariables"`
	// A map of environment variable names to values.
	Variables map[string]string `pulumi:"variables"`
}

An Environment describes a collection of environment variables to set when executing Tasks.

type EnvironmentResponseArrayOutput

type EnvironmentResponseArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentResponseArrayOutput) ElementType

func (EnvironmentResponseArrayOutput) Index

func (EnvironmentResponseArrayOutput) ToEnvironmentResponseArrayOutput

func (o EnvironmentResponseArrayOutput) ToEnvironmentResponseArrayOutput() EnvironmentResponseArrayOutput

func (EnvironmentResponseArrayOutput) ToEnvironmentResponseArrayOutputWithContext

func (o EnvironmentResponseArrayOutput) ToEnvironmentResponseArrayOutputWithContext(ctx context.Context) EnvironmentResponseArrayOutput

type EnvironmentResponseOutput

type EnvironmentResponseOutput struct{ *pulumi.OutputState }

An Environment describes a collection of environment variables to set when executing Tasks.

func (EnvironmentResponseOutput) ElementType

func (EnvironmentResponseOutput) ElementType() reflect.Type

func (EnvironmentResponseOutput) EncryptedVariables

func (o EnvironmentResponseOutput) EncryptedVariables() KMSEnvMapResponseOutput

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

func (EnvironmentResponseOutput) SecretVariables

func (o EnvironmentResponseOutput) SecretVariables() pulumi.StringMapOutput

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

func (EnvironmentResponseOutput) ToEnvironmentResponseOutput

func (o EnvironmentResponseOutput) ToEnvironmentResponseOutput() EnvironmentResponseOutput

func (EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext

func (o EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext(ctx context.Context) EnvironmentResponseOutput

func (EnvironmentResponseOutput) Variables

A map of environment variable names to values.

type GCS

type GCS struct {
	// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
	RemotePath *string `pulumi:"remotePath"`
}

Represents a Google Cloud Storage volume.

type GCSArgs

type GCSArgs struct {
	// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
	RemotePath pulumi.StringPtrInput `pulumi:"remotePath"`
}

Represents a Google Cloud Storage volume.

func (GCSArgs) ElementType

func (GCSArgs) ElementType() reflect.Type

func (GCSArgs) ToGCSOutput

func (i GCSArgs) ToGCSOutput() GCSOutput

func (GCSArgs) ToGCSOutputWithContext

func (i GCSArgs) ToGCSOutputWithContext(ctx context.Context) GCSOutput

func (GCSArgs) ToGCSPtrOutput

func (i GCSArgs) ToGCSPtrOutput() GCSPtrOutput

func (GCSArgs) ToGCSPtrOutputWithContext

func (i GCSArgs) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutput

type GCSInput

type GCSInput interface {
	pulumi.Input

	ToGCSOutput() GCSOutput
	ToGCSOutputWithContext(context.Context) GCSOutput
}

GCSInput is an input type that accepts GCSArgs and GCSOutput values. You can construct a concrete instance of `GCSInput` via:

GCSArgs{...}

type GCSOutput

type GCSOutput struct{ *pulumi.OutputState }

Represents a Google Cloud Storage volume.

func (GCSOutput) ElementType

func (GCSOutput) ElementType() reflect.Type

func (GCSOutput) RemotePath

func (o GCSOutput) RemotePath() pulumi.StringPtrOutput

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

func (GCSOutput) ToGCSOutput

func (o GCSOutput) ToGCSOutput() GCSOutput

func (GCSOutput) ToGCSOutputWithContext

func (o GCSOutput) ToGCSOutputWithContext(ctx context.Context) GCSOutput

func (GCSOutput) ToGCSPtrOutput

func (o GCSOutput) ToGCSPtrOutput() GCSPtrOutput

func (GCSOutput) ToGCSPtrOutputWithContext

func (o GCSOutput) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutput

type GCSPtrInput

type GCSPtrInput interface {
	pulumi.Input

	ToGCSPtrOutput() GCSPtrOutput
	ToGCSPtrOutputWithContext(context.Context) GCSPtrOutput
}

GCSPtrInput is an input type that accepts GCSArgs, GCSPtr and GCSPtrOutput values. You can construct a concrete instance of `GCSPtrInput` via:

        GCSArgs{...}

or:

        nil

func GCSPtr

func GCSPtr(v *GCSArgs) GCSPtrInput

type GCSPtrOutput

type GCSPtrOutput struct{ *pulumi.OutputState }

func (GCSPtrOutput) Elem

func (o GCSPtrOutput) Elem() GCSOutput

func (GCSPtrOutput) ElementType

func (GCSPtrOutput) ElementType() reflect.Type

func (GCSPtrOutput) RemotePath

func (o GCSPtrOutput) RemotePath() pulumi.StringPtrOutput

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

func (GCSPtrOutput) ToGCSPtrOutput

func (o GCSPtrOutput) ToGCSPtrOutput() GCSPtrOutput

func (GCSPtrOutput) ToGCSPtrOutputWithContext

func (o GCSPtrOutput) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutput

type GCSResponse

type GCSResponse struct {
	// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
	RemotePath string `pulumi:"remotePath"`
}

Represents a Google Cloud Storage volume.

type GCSResponseOutput

type GCSResponseOutput struct{ *pulumi.OutputState }

Represents a Google Cloud Storage volume.

func (GCSResponseOutput) ElementType

func (GCSResponseOutput) ElementType() reflect.Type

func (GCSResponseOutput) RemotePath

func (o GCSResponseOutput) RemotePath() pulumi.StringOutput

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

func (GCSResponseOutput) ToGCSResponseOutput

func (o GCSResponseOutput) ToGCSResponseOutput() GCSResponseOutput

func (GCSResponseOutput) ToGCSResponseOutputWithContext

func (o GCSResponseOutput) ToGCSResponseOutputWithContext(ctx context.Context) GCSResponseOutput

type InstancePolicy

type InstancePolicy struct {
	// The accelerators attached to each VM instance.
	Accelerators []Accelerator `pulumi:"accelerators"`
	// Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
	BootDisk *Disk `pulumi:"bootDisk"`
	// Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
	Disks []AttachedDisk `pulumi:"disks"`
	// The Compute Engine machine type.
	MachineType *string `pulumi:"machineType"`
	// The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
	MinCpuPlatform *string `pulumi:"minCpuPlatform"`
	// The provisioning model.
	ProvisioningModel *InstancePolicyProvisioningModel `pulumi:"provisioningModel"`
	// Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
	Reservation *string `pulumi:"reservation"`
}

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

type InstancePolicyArgs

type InstancePolicyArgs struct {
	// The accelerators attached to each VM instance.
	Accelerators AcceleratorArrayInput `pulumi:"accelerators"`
	// Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
	BootDisk DiskPtrInput `pulumi:"bootDisk"`
	// Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
	Disks AttachedDiskArrayInput `pulumi:"disks"`
	// The Compute Engine machine type.
	MachineType pulumi.StringPtrInput `pulumi:"machineType"`
	// The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
	MinCpuPlatform pulumi.StringPtrInput `pulumi:"minCpuPlatform"`
	// The provisioning model.
	ProvisioningModel InstancePolicyProvisioningModelPtrInput `pulumi:"provisioningModel"`
	// Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
	Reservation pulumi.StringPtrInput `pulumi:"reservation"`
}

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

func (InstancePolicyArgs) ElementType

func (InstancePolicyArgs) ElementType() reflect.Type

func (InstancePolicyArgs) ToInstancePolicyOutput

func (i InstancePolicyArgs) ToInstancePolicyOutput() InstancePolicyOutput

func (InstancePolicyArgs) ToInstancePolicyOutputWithContext

func (i InstancePolicyArgs) ToInstancePolicyOutputWithContext(ctx context.Context) InstancePolicyOutput

func (InstancePolicyArgs) ToInstancePolicyPtrOutput

func (i InstancePolicyArgs) ToInstancePolicyPtrOutput() InstancePolicyPtrOutput

func (InstancePolicyArgs) ToInstancePolicyPtrOutputWithContext

func (i InstancePolicyArgs) ToInstancePolicyPtrOutputWithContext(ctx context.Context) InstancePolicyPtrOutput

type InstancePolicyInput

type InstancePolicyInput interface {
	pulumi.Input

	ToInstancePolicyOutput() InstancePolicyOutput
	ToInstancePolicyOutputWithContext(context.Context) InstancePolicyOutput
}

InstancePolicyInput is an input type that accepts InstancePolicyArgs and InstancePolicyOutput values. You can construct a concrete instance of `InstancePolicyInput` via:

InstancePolicyArgs{...}

type InstancePolicyOrTemplate

type InstancePolicyOrTemplate struct {
	// Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
	InstallGpuDrivers *bool `pulumi:"installGpuDrivers"`
	// Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
	InstanceTemplate *string `pulumi:"instanceTemplate"`
	// InstancePolicy.
	Policy *InstancePolicy `pulumi:"policy"`
}

InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.

type InstancePolicyOrTemplateArgs

type InstancePolicyOrTemplateArgs struct {
	// Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
	InstallGpuDrivers pulumi.BoolPtrInput `pulumi:"installGpuDrivers"`
	// Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
	InstanceTemplate pulumi.StringPtrInput `pulumi:"instanceTemplate"`
	// InstancePolicy.
	Policy InstancePolicyPtrInput `pulumi:"policy"`
}

InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.

func (InstancePolicyOrTemplateArgs) ElementType

func (InstancePolicyOrTemplateArgs) ToInstancePolicyOrTemplateOutput

func (i InstancePolicyOrTemplateArgs) ToInstancePolicyOrTemplateOutput() InstancePolicyOrTemplateOutput

func (InstancePolicyOrTemplateArgs) ToInstancePolicyOrTemplateOutputWithContext

func (i InstancePolicyOrTemplateArgs) ToInstancePolicyOrTemplateOutputWithContext(ctx context.Context) InstancePolicyOrTemplateOutput

type InstancePolicyOrTemplateArray

type InstancePolicyOrTemplateArray []InstancePolicyOrTemplateInput

func (InstancePolicyOrTemplateArray) ElementType

func (InstancePolicyOrTemplateArray) ToInstancePolicyOrTemplateArrayOutput

func (i InstancePolicyOrTemplateArray) ToInstancePolicyOrTemplateArrayOutput() InstancePolicyOrTemplateArrayOutput

func (InstancePolicyOrTemplateArray) ToInstancePolicyOrTemplateArrayOutputWithContext

func (i InstancePolicyOrTemplateArray) ToInstancePolicyOrTemplateArrayOutputWithContext(ctx context.Context) InstancePolicyOrTemplateArrayOutput

type InstancePolicyOrTemplateArrayInput

type InstancePolicyOrTemplateArrayInput interface {
	pulumi.Input

	ToInstancePolicyOrTemplateArrayOutput() InstancePolicyOrTemplateArrayOutput
	ToInstancePolicyOrTemplateArrayOutputWithContext(context.Context) InstancePolicyOrTemplateArrayOutput
}

InstancePolicyOrTemplateArrayInput is an input type that accepts InstancePolicyOrTemplateArray and InstancePolicyOrTemplateArrayOutput values. You can construct a concrete instance of `InstancePolicyOrTemplateArrayInput` via:

InstancePolicyOrTemplateArray{ InstancePolicyOrTemplateArgs{...} }

type InstancePolicyOrTemplateArrayOutput

type InstancePolicyOrTemplateArrayOutput struct{ *pulumi.OutputState }

func (InstancePolicyOrTemplateArrayOutput) ElementType

func (InstancePolicyOrTemplateArrayOutput) Index

func (InstancePolicyOrTemplateArrayOutput) ToInstancePolicyOrTemplateArrayOutput

func (o InstancePolicyOrTemplateArrayOutput) ToInstancePolicyOrTemplateArrayOutput() InstancePolicyOrTemplateArrayOutput

func (InstancePolicyOrTemplateArrayOutput) ToInstancePolicyOrTemplateArrayOutputWithContext

func (o InstancePolicyOrTemplateArrayOutput) ToInstancePolicyOrTemplateArrayOutputWithContext(ctx context.Context) InstancePolicyOrTemplateArrayOutput

type InstancePolicyOrTemplateInput

type InstancePolicyOrTemplateInput interface {
	pulumi.Input

	ToInstancePolicyOrTemplateOutput() InstancePolicyOrTemplateOutput
	ToInstancePolicyOrTemplateOutputWithContext(context.Context) InstancePolicyOrTemplateOutput
}

InstancePolicyOrTemplateInput is an input type that accepts InstancePolicyOrTemplateArgs and InstancePolicyOrTemplateOutput values. You can construct a concrete instance of `InstancePolicyOrTemplateInput` via:

InstancePolicyOrTemplateArgs{...}

type InstancePolicyOrTemplateOutput

type InstancePolicyOrTemplateOutput struct{ *pulumi.OutputState }

InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.

func (InstancePolicyOrTemplateOutput) ElementType

func (InstancePolicyOrTemplateOutput) InstallGpuDrivers

func (o InstancePolicyOrTemplateOutput) InstallGpuDrivers() pulumi.BoolPtrOutput

Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.

func (InstancePolicyOrTemplateOutput) InstanceTemplate

Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.

func (InstancePolicyOrTemplateOutput) Policy

InstancePolicy.

func (InstancePolicyOrTemplateOutput) ToInstancePolicyOrTemplateOutput

func (o InstancePolicyOrTemplateOutput) ToInstancePolicyOrTemplateOutput() InstancePolicyOrTemplateOutput

func (InstancePolicyOrTemplateOutput) ToInstancePolicyOrTemplateOutputWithContext

func (o InstancePolicyOrTemplateOutput) ToInstancePolicyOrTemplateOutputWithContext(ctx context.Context) InstancePolicyOrTemplateOutput

type InstancePolicyOrTemplateResponse

type InstancePolicyOrTemplateResponse struct {
	// Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
	InstallGpuDrivers bool `pulumi:"installGpuDrivers"`
	// Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
	InstanceTemplate string `pulumi:"instanceTemplate"`
	// InstancePolicy.
	Policy InstancePolicyResponse `pulumi:"policy"`
}

InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.

type InstancePolicyOrTemplateResponseArrayOutput

type InstancePolicyOrTemplateResponseArrayOutput struct{ *pulumi.OutputState }

func (InstancePolicyOrTemplateResponseArrayOutput) ElementType

func (InstancePolicyOrTemplateResponseArrayOutput) Index

func (InstancePolicyOrTemplateResponseArrayOutput) ToInstancePolicyOrTemplateResponseArrayOutput

func (o InstancePolicyOrTemplateResponseArrayOutput) ToInstancePolicyOrTemplateResponseArrayOutput() InstancePolicyOrTemplateResponseArrayOutput

func (InstancePolicyOrTemplateResponseArrayOutput) ToInstancePolicyOrTemplateResponseArrayOutputWithContext

func (o InstancePolicyOrTemplateResponseArrayOutput) ToInstancePolicyOrTemplateResponseArrayOutputWithContext(ctx context.Context) InstancePolicyOrTemplateResponseArrayOutput

type InstancePolicyOrTemplateResponseOutput

type InstancePolicyOrTemplateResponseOutput struct{ *pulumi.OutputState }

InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.

func (InstancePolicyOrTemplateResponseOutput) ElementType

func (InstancePolicyOrTemplateResponseOutput) InstallGpuDrivers

Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.

func (InstancePolicyOrTemplateResponseOutput) InstanceTemplate

Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.

func (InstancePolicyOrTemplateResponseOutput) Policy

InstancePolicy.

func (InstancePolicyOrTemplateResponseOutput) ToInstancePolicyOrTemplateResponseOutput

func (o InstancePolicyOrTemplateResponseOutput) ToInstancePolicyOrTemplateResponseOutput() InstancePolicyOrTemplateResponseOutput

func (InstancePolicyOrTemplateResponseOutput) ToInstancePolicyOrTemplateResponseOutputWithContext

func (o InstancePolicyOrTemplateResponseOutput) ToInstancePolicyOrTemplateResponseOutputWithContext(ctx context.Context) InstancePolicyOrTemplateResponseOutput

type InstancePolicyOutput

type InstancePolicyOutput struct{ *pulumi.OutputState }

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

func (InstancePolicyOutput) Accelerators

The accelerators attached to each VM instance.

func (InstancePolicyOutput) BootDisk

func (o InstancePolicyOutput) BootDisk() DiskPtrOutput

Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.

func (InstancePolicyOutput) Disks

Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.

func (InstancePolicyOutput) ElementType

func (InstancePolicyOutput) ElementType() reflect.Type

func (InstancePolicyOutput) MachineType

The Compute Engine machine type.

func (InstancePolicyOutput) MinCpuPlatform

func (o InstancePolicyOutput) MinCpuPlatform() pulumi.StringPtrOutput

The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.

func (InstancePolicyOutput) ProvisioningModel

The provisioning model.

func (InstancePolicyOutput) Reservation added in v0.32.0

Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.

func (InstancePolicyOutput) ToInstancePolicyOutput

func (o InstancePolicyOutput) ToInstancePolicyOutput() InstancePolicyOutput

func (InstancePolicyOutput) ToInstancePolicyOutputWithContext

func (o InstancePolicyOutput) ToInstancePolicyOutputWithContext(ctx context.Context) InstancePolicyOutput

func (InstancePolicyOutput) ToInstancePolicyPtrOutput

func (o InstancePolicyOutput) ToInstancePolicyPtrOutput() InstancePolicyPtrOutput

func (InstancePolicyOutput) ToInstancePolicyPtrOutputWithContext

func (o InstancePolicyOutput) ToInstancePolicyPtrOutputWithContext(ctx context.Context) InstancePolicyPtrOutput

type InstancePolicyProvisioningModel

type InstancePolicyProvisioningModel string

The provisioning model.

func (InstancePolicyProvisioningModel) ElementType

func (InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelOutput

func (e InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelOutput() InstancePolicyProvisioningModelOutput

func (InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelOutputWithContext

func (e InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelOutputWithContext(ctx context.Context) InstancePolicyProvisioningModelOutput

func (InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelPtrOutput

func (e InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelPtrOutput() InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelPtrOutputWithContext

func (e InstancePolicyProvisioningModel) ToInstancePolicyProvisioningModelPtrOutputWithContext(ctx context.Context) InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModel) ToStringOutput

func (InstancePolicyProvisioningModel) ToStringOutputWithContext

func (e InstancePolicyProvisioningModel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstancePolicyProvisioningModel) ToStringPtrOutput

func (InstancePolicyProvisioningModel) ToStringPtrOutputWithContext

func (e InstancePolicyProvisioningModel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstancePolicyProvisioningModelInput

type InstancePolicyProvisioningModelInput interface {
	pulumi.Input

	ToInstancePolicyProvisioningModelOutput() InstancePolicyProvisioningModelOutput
	ToInstancePolicyProvisioningModelOutputWithContext(context.Context) InstancePolicyProvisioningModelOutput
}

InstancePolicyProvisioningModelInput is an input type that accepts InstancePolicyProvisioningModelArgs and InstancePolicyProvisioningModelOutput values. You can construct a concrete instance of `InstancePolicyProvisioningModelInput` via:

InstancePolicyProvisioningModelArgs{...}

type InstancePolicyProvisioningModelOutput

type InstancePolicyProvisioningModelOutput struct{ *pulumi.OutputState }

func (InstancePolicyProvisioningModelOutput) ElementType

func (InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelOutput

func (o InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelOutput() InstancePolicyProvisioningModelOutput

func (InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelOutputWithContext

func (o InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelOutputWithContext(ctx context.Context) InstancePolicyProvisioningModelOutput

func (InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelPtrOutput

func (o InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelPtrOutput() InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelPtrOutputWithContext

func (o InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModelPtrOutputWithContext(ctx context.Context) InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModelOutput) ToStringOutput

func (InstancePolicyProvisioningModelOutput) ToStringOutputWithContext

func (o InstancePolicyProvisioningModelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstancePolicyProvisioningModelOutput) ToStringPtrOutput

func (InstancePolicyProvisioningModelOutput) ToStringPtrOutputWithContext

func (o InstancePolicyProvisioningModelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstancePolicyProvisioningModelPtrInput

type InstancePolicyProvisioningModelPtrInput interface {
	pulumi.Input

	ToInstancePolicyProvisioningModelPtrOutput() InstancePolicyProvisioningModelPtrOutput
	ToInstancePolicyProvisioningModelPtrOutputWithContext(context.Context) InstancePolicyProvisioningModelPtrOutput
}

type InstancePolicyProvisioningModelPtrOutput

type InstancePolicyProvisioningModelPtrOutput struct{ *pulumi.OutputState }

func (InstancePolicyProvisioningModelPtrOutput) Elem

func (InstancePolicyProvisioningModelPtrOutput) ElementType

func (InstancePolicyProvisioningModelPtrOutput) ToInstancePolicyProvisioningModelPtrOutput

func (o InstancePolicyProvisioningModelPtrOutput) ToInstancePolicyProvisioningModelPtrOutput() InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModelPtrOutput) ToInstancePolicyProvisioningModelPtrOutputWithContext

func (o InstancePolicyProvisioningModelPtrOutput) ToInstancePolicyProvisioningModelPtrOutputWithContext(ctx context.Context) InstancePolicyProvisioningModelPtrOutput

func (InstancePolicyProvisioningModelPtrOutput) ToStringPtrOutput

func (InstancePolicyProvisioningModelPtrOutput) ToStringPtrOutputWithContext

type InstancePolicyPtrInput

type InstancePolicyPtrInput interface {
	pulumi.Input

	ToInstancePolicyPtrOutput() InstancePolicyPtrOutput
	ToInstancePolicyPtrOutputWithContext(context.Context) InstancePolicyPtrOutput
}

InstancePolicyPtrInput is an input type that accepts InstancePolicyArgs, InstancePolicyPtr and InstancePolicyPtrOutput values. You can construct a concrete instance of `InstancePolicyPtrInput` via:

        InstancePolicyArgs{...}

or:

        nil

type InstancePolicyPtrOutput

type InstancePolicyPtrOutput struct{ *pulumi.OutputState }

func (InstancePolicyPtrOutput) Accelerators

The accelerators attached to each VM instance.

func (InstancePolicyPtrOutput) BootDisk

Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.

func (InstancePolicyPtrOutput) Disks

Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.

func (InstancePolicyPtrOutput) Elem

func (InstancePolicyPtrOutput) ElementType

func (InstancePolicyPtrOutput) ElementType() reflect.Type

func (InstancePolicyPtrOutput) MachineType

The Compute Engine machine type.

func (InstancePolicyPtrOutput) MinCpuPlatform

func (o InstancePolicyPtrOutput) MinCpuPlatform() pulumi.StringPtrOutput

The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.

func (InstancePolicyPtrOutput) ProvisioningModel

The provisioning model.

func (InstancePolicyPtrOutput) Reservation added in v0.32.0

Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.

func (InstancePolicyPtrOutput) ToInstancePolicyPtrOutput

func (o InstancePolicyPtrOutput) ToInstancePolicyPtrOutput() InstancePolicyPtrOutput

func (InstancePolicyPtrOutput) ToInstancePolicyPtrOutputWithContext

func (o InstancePolicyPtrOutput) ToInstancePolicyPtrOutputWithContext(ctx context.Context) InstancePolicyPtrOutput

type InstancePolicyResponse

type InstancePolicyResponse struct {
	// The accelerators attached to each VM instance.
	Accelerators []AcceleratorResponse `pulumi:"accelerators"`
	// Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
	BootDisk DiskResponse `pulumi:"bootDisk"`
	// Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
	Disks []AttachedDiskResponse `pulumi:"disks"`
	// The Compute Engine machine type.
	MachineType string `pulumi:"machineType"`
	// The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
	MinCpuPlatform string `pulumi:"minCpuPlatform"`
	// The provisioning model.
	ProvisioningModel string `pulumi:"provisioningModel"`
	// Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
	Reservation string `pulumi:"reservation"`
}

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

type InstancePolicyResponseOutput

type InstancePolicyResponseOutput struct{ *pulumi.OutputState }

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

func (InstancePolicyResponseOutput) Accelerators

The accelerators attached to each VM instance.

func (InstancePolicyResponseOutput) BootDisk

Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.

func (InstancePolicyResponseOutput) Disks

Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.

func (InstancePolicyResponseOutput) ElementType

func (InstancePolicyResponseOutput) MachineType

The Compute Engine machine type.

func (InstancePolicyResponseOutput) MinCpuPlatform

The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.

func (InstancePolicyResponseOutput) ProvisioningModel

func (o InstancePolicyResponseOutput) ProvisioningModel() pulumi.StringOutput

The provisioning model.

func (InstancePolicyResponseOutput) Reservation added in v0.32.0

Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.

func (InstancePolicyResponseOutput) ToInstancePolicyResponseOutput

func (o InstancePolicyResponseOutput) ToInstancePolicyResponseOutput() InstancePolicyResponseOutput

func (InstancePolicyResponseOutput) ToInstancePolicyResponseOutputWithContext

func (o InstancePolicyResponseOutput) ToInstancePolicyResponseOutputWithContext(ctx context.Context) InstancePolicyResponseOutput

type Job

type Job struct {
	pulumi.CustomResourceState

	// Compute resource allocation for all TaskGroups in the Job.
	AllocationPolicy AllocationPolicyResponseOutput `pulumi:"allocationPolicy"`
	// When the Job was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
	JobId pulumi.StringPtrOutput `pulumi:"jobId"`
	// Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// Log preservation policy for the Job.
	LogsPolicy LogsPolicyResponseOutput `pulumi:"logsPolicy"`
	// Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
	Name pulumi.StringOutput `pulumi:"name"`
	// Notification configurations.
	Notifications JobNotificationResponseArrayOutput `pulumi:"notifications"`
	// Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
	Priority pulumi.StringOutput `pulumi:"priority"`
	Project  pulumi.StringOutput `pulumi:"project"`
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// Job status. It is read only for users.
	Status JobStatusResponseOutput `pulumi:"status"`
	// TaskGroups in the Job. Only one TaskGroup is supported now.
	TaskGroups TaskGroupResponseArrayOutput `pulumi:"taskGroups"`
	// A system generated unique ID (in UUID4 format) for the Job.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// The last time the Job was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Create a Job. Auto-naming is currently not supported for this resource.

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

type JobArgs

type JobArgs struct {
	// Compute resource allocation for all TaskGroups in the Job.
	AllocationPolicy AllocationPolicyPtrInput
	// ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
	JobId pulumi.StringPtrInput
	// Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// Log preservation policy for the Job.
	LogsPolicy LogsPolicyPtrInput
	// Notification configurations.
	Notifications JobNotificationArrayInput
	// Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
	Priority pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrInput
	// TaskGroups in the Job. Only one TaskGroup is supported now.
	TaskGroups TaskGroupArrayInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobInput

type JobInput interface {
	pulumi.Input

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

type JobNotification

type JobNotification struct {
	// The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
	Message *Message `pulumi:"message"`
	// The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.
	PubsubTopic *string `pulumi:"pubsubTopic"`
}

Notification configurations.

type JobNotificationArgs

type JobNotificationArgs struct {
	// The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
	Message MessagePtrInput `pulumi:"message"`
	// The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.
	PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"`
}

Notification configurations.

func (JobNotificationArgs) ElementType

func (JobNotificationArgs) ElementType() reflect.Type

func (JobNotificationArgs) ToJobNotificationOutput

func (i JobNotificationArgs) ToJobNotificationOutput() JobNotificationOutput

func (JobNotificationArgs) ToJobNotificationOutputWithContext

func (i JobNotificationArgs) ToJobNotificationOutputWithContext(ctx context.Context) JobNotificationOutput

type JobNotificationArray

type JobNotificationArray []JobNotificationInput

func (JobNotificationArray) ElementType

func (JobNotificationArray) ElementType() reflect.Type

func (JobNotificationArray) ToJobNotificationArrayOutput

func (i JobNotificationArray) ToJobNotificationArrayOutput() JobNotificationArrayOutput

func (JobNotificationArray) ToJobNotificationArrayOutputWithContext

func (i JobNotificationArray) ToJobNotificationArrayOutputWithContext(ctx context.Context) JobNotificationArrayOutput

type JobNotificationArrayInput

type JobNotificationArrayInput interface {
	pulumi.Input

	ToJobNotificationArrayOutput() JobNotificationArrayOutput
	ToJobNotificationArrayOutputWithContext(context.Context) JobNotificationArrayOutput
}

JobNotificationArrayInput is an input type that accepts JobNotificationArray and JobNotificationArrayOutput values. You can construct a concrete instance of `JobNotificationArrayInput` via:

JobNotificationArray{ JobNotificationArgs{...} }

type JobNotificationArrayOutput

type JobNotificationArrayOutput struct{ *pulumi.OutputState }

func (JobNotificationArrayOutput) ElementType

func (JobNotificationArrayOutput) ElementType() reflect.Type

func (JobNotificationArrayOutput) Index

func (JobNotificationArrayOutput) ToJobNotificationArrayOutput

func (o JobNotificationArrayOutput) ToJobNotificationArrayOutput() JobNotificationArrayOutput

func (JobNotificationArrayOutput) ToJobNotificationArrayOutputWithContext

func (o JobNotificationArrayOutput) ToJobNotificationArrayOutputWithContext(ctx context.Context) JobNotificationArrayOutput

type JobNotificationInput

type JobNotificationInput interface {
	pulumi.Input

	ToJobNotificationOutput() JobNotificationOutput
	ToJobNotificationOutputWithContext(context.Context) JobNotificationOutput
}

JobNotificationInput is an input type that accepts JobNotificationArgs and JobNotificationOutput values. You can construct a concrete instance of `JobNotificationInput` via:

JobNotificationArgs{...}

type JobNotificationOutput

type JobNotificationOutput struct{ *pulumi.OutputState }

Notification configurations.

func (JobNotificationOutput) ElementType

func (JobNotificationOutput) ElementType() reflect.Type

func (JobNotificationOutput) Message

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

func (JobNotificationOutput) PubsubTopic

The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.

func (JobNotificationOutput) ToJobNotificationOutput

func (o JobNotificationOutput) ToJobNotificationOutput() JobNotificationOutput

func (JobNotificationOutput) ToJobNotificationOutputWithContext

func (o JobNotificationOutput) ToJobNotificationOutputWithContext(ctx context.Context) JobNotificationOutput

type JobNotificationResponse

type JobNotificationResponse struct {
	// The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
	Message MessageResponse `pulumi:"message"`
	// The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.
	PubsubTopic string `pulumi:"pubsubTopic"`
}

Notification configurations.

type JobNotificationResponseArrayOutput

type JobNotificationResponseArrayOutput struct{ *pulumi.OutputState }

func (JobNotificationResponseArrayOutput) ElementType

func (JobNotificationResponseArrayOutput) Index

func (JobNotificationResponseArrayOutput) ToJobNotificationResponseArrayOutput

func (o JobNotificationResponseArrayOutput) ToJobNotificationResponseArrayOutput() JobNotificationResponseArrayOutput

func (JobNotificationResponseArrayOutput) ToJobNotificationResponseArrayOutputWithContext

func (o JobNotificationResponseArrayOutput) ToJobNotificationResponseArrayOutputWithContext(ctx context.Context) JobNotificationResponseArrayOutput

type JobNotificationResponseOutput

type JobNotificationResponseOutput struct{ *pulumi.OutputState }

Notification configurations.

func (JobNotificationResponseOutput) ElementType

func (JobNotificationResponseOutput) Message

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

func (JobNotificationResponseOutput) PubsubTopic

The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.

func (JobNotificationResponseOutput) ToJobNotificationResponseOutput

func (o JobNotificationResponseOutput) ToJobNotificationResponseOutput() JobNotificationResponseOutput

func (JobNotificationResponseOutput) ToJobNotificationResponseOutputWithContext

func (o JobNotificationResponseOutput) ToJobNotificationResponseOutputWithContext(ctx context.Context) JobNotificationResponseOutput

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) AllocationPolicy

func (o JobOutput) AllocationPolicy() AllocationPolicyResponseOutput

Compute resource allocation for all TaskGroups in the Job.

func (JobOutput) CreateTime

func (o JobOutput) CreateTime() pulumi.StringOutput

When the Job was created.

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) JobId

func (o JobOutput) JobId() pulumi.StringPtrOutput

ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".

func (JobOutput) Labels

func (o JobOutput) Labels() pulumi.StringMapOutput

Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.

func (JobOutput) Location

func (o JobOutput) Location() pulumi.StringOutput

func (JobOutput) LogsPolicy

func (o JobOutput) LogsPolicy() LogsPolicyResponseOutput

Log preservation policy for the Job.

func (JobOutput) Name

func (o JobOutput) Name() pulumi.StringOutput

Job name. For example: "projects/123456/locations/us-central1/jobs/job01".

func (JobOutput) Notifications

Notification configurations.

func (JobOutput) Priority

func (o JobOutput) Priority() pulumi.StringOutput

Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.

func (JobOutput) Project

func (o JobOutput) Project() pulumi.StringOutput

func (JobOutput) RequestId

func (o JobOutput) RequestId() pulumi.StringPtrOutput

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (JobOutput) Status

Job status. It is read only for users.

func (JobOutput) TaskGroups

func (o JobOutput) TaskGroups() TaskGroupResponseArrayOutput

TaskGroups in the Job. Only one TaskGroup is supported now.

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

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

func (JobOutput) Uid

func (o JobOutput) Uid() pulumi.StringOutput

A system generated unique ID (in UUID4 format) for the Job.

func (JobOutput) UpdateTime

func (o JobOutput) UpdateTime() pulumi.StringOutput

The last time the Job was updated.

type JobState

type JobState struct {
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobStatusResponse

type JobStatusResponse struct {
	// The duration of time that the Job spent in status RUNNING.
	RunDuration string `pulumi:"runDuration"`
	// Job state
	State string `pulumi:"state"`
	// Job status events
	StatusEvents []StatusEventResponse `pulumi:"statusEvents"`
	// Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
	TaskGroups map[string]string `pulumi:"taskGroups"`
}

Job status.

type JobStatusResponseOutput

type JobStatusResponseOutput struct{ *pulumi.OutputState }

Job status.

func (JobStatusResponseOutput) ElementType

func (JobStatusResponseOutput) ElementType() reflect.Type

func (JobStatusResponseOutput) RunDuration

The duration of time that the Job spent in status RUNNING.

func (JobStatusResponseOutput) State

Job state

func (JobStatusResponseOutput) StatusEvents

Job status events

func (JobStatusResponseOutput) TaskGroups

Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.

func (JobStatusResponseOutput) ToJobStatusResponseOutput

func (o JobStatusResponseOutput) ToJobStatusResponseOutput() JobStatusResponseOutput

func (JobStatusResponseOutput) ToJobStatusResponseOutputWithContext

func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx context.Context) JobStatusResponseOutput

type KMSEnvMap

type KMSEnvMap struct {
	// The value of the cipherText response from the `encrypt` method.
	CipherText *string `pulumi:"cipherText"`
	// The name of the KMS key that will be used to decrypt the cipher text.
	KeyName *string `pulumi:"keyName"`
}

type KMSEnvMapArgs

type KMSEnvMapArgs struct {
	// The value of the cipherText response from the `encrypt` method.
	CipherText pulumi.StringPtrInput `pulumi:"cipherText"`
	// The name of the KMS key that will be used to decrypt the cipher text.
	KeyName pulumi.StringPtrInput `pulumi:"keyName"`
}

func (KMSEnvMapArgs) ElementType

func (KMSEnvMapArgs) ElementType() reflect.Type

func (KMSEnvMapArgs) ToKMSEnvMapOutput

func (i KMSEnvMapArgs) ToKMSEnvMapOutput() KMSEnvMapOutput

func (KMSEnvMapArgs) ToKMSEnvMapOutputWithContext

func (i KMSEnvMapArgs) ToKMSEnvMapOutputWithContext(ctx context.Context) KMSEnvMapOutput

func (KMSEnvMapArgs) ToKMSEnvMapPtrOutput

func (i KMSEnvMapArgs) ToKMSEnvMapPtrOutput() KMSEnvMapPtrOutput

func (KMSEnvMapArgs) ToKMSEnvMapPtrOutputWithContext

func (i KMSEnvMapArgs) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) KMSEnvMapPtrOutput

type KMSEnvMapInput

type KMSEnvMapInput interface {
	pulumi.Input

	ToKMSEnvMapOutput() KMSEnvMapOutput
	ToKMSEnvMapOutputWithContext(context.Context) KMSEnvMapOutput
}

KMSEnvMapInput is an input type that accepts KMSEnvMap and KMSEnvMapOutput values. You can construct a concrete instance of `KMSEnvMapInput` via:

KMSEnvMap{ "key": KMSEnvArgs{...} }

type KMSEnvMapOutput

type KMSEnvMapOutput struct{ *pulumi.OutputState }

func (KMSEnvMapOutput) CipherText

func (o KMSEnvMapOutput) CipherText() pulumi.StringPtrOutput

The value of the cipherText response from the `encrypt` method.

func (KMSEnvMapOutput) ElementType

func (KMSEnvMapOutput) ElementType() reflect.Type

func (KMSEnvMapOutput) KeyName

The name of the KMS key that will be used to decrypt the cipher text.

func (KMSEnvMapOutput) ToKMSEnvMapOutput

func (o KMSEnvMapOutput) ToKMSEnvMapOutput() KMSEnvMapOutput

func (KMSEnvMapOutput) ToKMSEnvMapOutputWithContext

func (o KMSEnvMapOutput) ToKMSEnvMapOutputWithContext(ctx context.Context) KMSEnvMapOutput

func (KMSEnvMapOutput) ToKMSEnvMapPtrOutput

func (o KMSEnvMapOutput) ToKMSEnvMapPtrOutput() KMSEnvMapPtrOutput

func (KMSEnvMapOutput) ToKMSEnvMapPtrOutputWithContext

func (o KMSEnvMapOutput) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) KMSEnvMapPtrOutput

type KMSEnvMapPtrInput

type KMSEnvMapPtrInput interface {
	pulumi.Input

	ToKMSEnvMapPtrOutput() KMSEnvMapPtrOutput
	ToKMSEnvMapPtrOutputWithContext(context.Context) KMSEnvMapPtrOutput
}

KMSEnvMapPtrInput is an input type that accepts KMSEnvMapArgs, KMSEnvMapPtr and KMSEnvMapPtrOutput values. You can construct a concrete instance of `KMSEnvMapPtrInput` via:

        KMSEnvMapArgs{...}

or:

        nil

func KMSEnvMapPtr

func KMSEnvMapPtr(v *KMSEnvMapArgs) KMSEnvMapPtrInput

type KMSEnvMapPtrOutput

type KMSEnvMapPtrOutput struct{ *pulumi.OutputState }

func (KMSEnvMapPtrOutput) CipherText

func (o KMSEnvMapPtrOutput) CipherText() pulumi.StringPtrOutput

The value of the cipherText response from the `encrypt` method.

func (KMSEnvMapPtrOutput) Elem

func (KMSEnvMapPtrOutput) ElementType

func (KMSEnvMapPtrOutput) ElementType() reflect.Type

func (KMSEnvMapPtrOutput) KeyName

The name of the KMS key that will be used to decrypt the cipher text.

func (KMSEnvMapPtrOutput) ToKMSEnvMapPtrOutput

func (o KMSEnvMapPtrOutput) ToKMSEnvMapPtrOutput() KMSEnvMapPtrOutput

func (KMSEnvMapPtrOutput) ToKMSEnvMapPtrOutputWithContext

func (o KMSEnvMapPtrOutput) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) KMSEnvMapPtrOutput

type KMSEnvMapResponse

type KMSEnvMapResponse struct {
	// The value of the cipherText response from the `encrypt` method.
	CipherText string `pulumi:"cipherText"`
	// The name of the KMS key that will be used to decrypt the cipher text.
	KeyName string `pulumi:"keyName"`
}

type KMSEnvMapResponseOutput

type KMSEnvMapResponseOutput struct{ *pulumi.OutputState }

func (KMSEnvMapResponseOutput) CipherText

The value of the cipherText response from the `encrypt` method.

func (KMSEnvMapResponseOutput) ElementType

func (KMSEnvMapResponseOutput) ElementType() reflect.Type

func (KMSEnvMapResponseOutput) KeyName

The name of the KMS key that will be used to decrypt the cipher text.

func (KMSEnvMapResponseOutput) ToKMSEnvMapResponseOutput

func (o KMSEnvMapResponseOutput) ToKMSEnvMapResponseOutput() KMSEnvMapResponseOutput

func (KMSEnvMapResponseOutput) ToKMSEnvMapResponseOutputWithContext

func (o KMSEnvMapResponseOutput) ToKMSEnvMapResponseOutputWithContext(ctx context.Context) KMSEnvMapResponseOutput

type LifecyclePolicy

type LifecyclePolicy struct {
	// Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
	Action *LifecyclePolicyAction `pulumi:"action"`
	// Conditions that decide why a task failure is dealt with a specific action.
	ActionCondition *ActionCondition `pulumi:"actionCondition"`
}

LifecyclePolicy describes how to deal with task failures based on different conditions.

type LifecyclePolicyAction

type LifecyclePolicyAction string

Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.

func (LifecyclePolicyAction) ElementType

func (LifecyclePolicyAction) ElementType() reflect.Type

func (LifecyclePolicyAction) ToLifecyclePolicyActionOutput

func (e LifecyclePolicyAction) ToLifecyclePolicyActionOutput() LifecyclePolicyActionOutput

func (LifecyclePolicyAction) ToLifecyclePolicyActionOutputWithContext

func (e LifecyclePolicyAction) ToLifecyclePolicyActionOutputWithContext(ctx context.Context) LifecyclePolicyActionOutput

func (LifecyclePolicyAction) ToLifecyclePolicyActionPtrOutput

func (e LifecyclePolicyAction) ToLifecyclePolicyActionPtrOutput() LifecyclePolicyActionPtrOutput

func (LifecyclePolicyAction) ToLifecyclePolicyActionPtrOutputWithContext

func (e LifecyclePolicyAction) ToLifecyclePolicyActionPtrOutputWithContext(ctx context.Context) LifecyclePolicyActionPtrOutput

func (LifecyclePolicyAction) ToStringOutput

func (e LifecyclePolicyAction) ToStringOutput() pulumi.StringOutput

func (LifecyclePolicyAction) ToStringOutputWithContext

func (e LifecyclePolicyAction) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LifecyclePolicyAction) ToStringPtrOutput

func (e LifecyclePolicyAction) ToStringPtrOutput() pulumi.StringPtrOutput

func (LifecyclePolicyAction) ToStringPtrOutputWithContext

func (e LifecyclePolicyAction) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LifecyclePolicyActionInput

type LifecyclePolicyActionInput interface {
	pulumi.Input

	ToLifecyclePolicyActionOutput() LifecyclePolicyActionOutput
	ToLifecyclePolicyActionOutputWithContext(context.Context) LifecyclePolicyActionOutput
}

LifecyclePolicyActionInput is an input type that accepts LifecyclePolicyActionArgs and LifecyclePolicyActionOutput values. You can construct a concrete instance of `LifecyclePolicyActionInput` via:

LifecyclePolicyActionArgs{...}

type LifecyclePolicyActionOutput

type LifecyclePolicyActionOutput struct{ *pulumi.OutputState }

func (LifecyclePolicyActionOutput) ElementType

func (LifecyclePolicyActionOutput) ToLifecyclePolicyActionOutput

func (o LifecyclePolicyActionOutput) ToLifecyclePolicyActionOutput() LifecyclePolicyActionOutput

func (LifecyclePolicyActionOutput) ToLifecyclePolicyActionOutputWithContext

func (o LifecyclePolicyActionOutput) ToLifecyclePolicyActionOutputWithContext(ctx context.Context) LifecyclePolicyActionOutput

func (LifecyclePolicyActionOutput) ToLifecyclePolicyActionPtrOutput

func (o LifecyclePolicyActionOutput) ToLifecyclePolicyActionPtrOutput() LifecyclePolicyActionPtrOutput

func (LifecyclePolicyActionOutput) ToLifecyclePolicyActionPtrOutputWithContext

func (o LifecyclePolicyActionOutput) ToLifecyclePolicyActionPtrOutputWithContext(ctx context.Context) LifecyclePolicyActionPtrOutput

func (LifecyclePolicyActionOutput) ToStringOutput

func (o LifecyclePolicyActionOutput) ToStringOutput() pulumi.StringOutput

func (LifecyclePolicyActionOutput) ToStringOutputWithContext

func (o LifecyclePolicyActionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LifecyclePolicyActionOutput) ToStringPtrOutput

func (o LifecyclePolicyActionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (LifecyclePolicyActionOutput) ToStringPtrOutputWithContext

func (o LifecyclePolicyActionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LifecyclePolicyActionPtrInput

type LifecyclePolicyActionPtrInput interface {
	pulumi.Input

	ToLifecyclePolicyActionPtrOutput() LifecyclePolicyActionPtrOutput
	ToLifecyclePolicyActionPtrOutputWithContext(context.Context) LifecyclePolicyActionPtrOutput
}

func LifecyclePolicyActionPtr

func LifecyclePolicyActionPtr(v string) LifecyclePolicyActionPtrInput

type LifecyclePolicyActionPtrOutput

type LifecyclePolicyActionPtrOutput struct{ *pulumi.OutputState }

func (LifecyclePolicyActionPtrOutput) Elem

func (LifecyclePolicyActionPtrOutput) ElementType

func (LifecyclePolicyActionPtrOutput) ToLifecyclePolicyActionPtrOutput

func (o LifecyclePolicyActionPtrOutput) ToLifecyclePolicyActionPtrOutput() LifecyclePolicyActionPtrOutput

func (LifecyclePolicyActionPtrOutput) ToLifecyclePolicyActionPtrOutputWithContext

func (o LifecyclePolicyActionPtrOutput) ToLifecyclePolicyActionPtrOutputWithContext(ctx context.Context) LifecyclePolicyActionPtrOutput

func (LifecyclePolicyActionPtrOutput) ToStringPtrOutput

func (LifecyclePolicyActionPtrOutput) ToStringPtrOutputWithContext

func (o LifecyclePolicyActionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LifecyclePolicyArgs

type LifecyclePolicyArgs struct {
	// Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
	Action LifecyclePolicyActionPtrInput `pulumi:"action"`
	// Conditions that decide why a task failure is dealt with a specific action.
	ActionCondition ActionConditionPtrInput `pulumi:"actionCondition"`
}

LifecyclePolicy describes how to deal with task failures based on different conditions.

func (LifecyclePolicyArgs) ElementType

func (LifecyclePolicyArgs) ElementType() reflect.Type

func (LifecyclePolicyArgs) ToLifecyclePolicyOutput

func (i LifecyclePolicyArgs) ToLifecyclePolicyOutput() LifecyclePolicyOutput

func (LifecyclePolicyArgs) ToLifecyclePolicyOutputWithContext

func (i LifecyclePolicyArgs) ToLifecyclePolicyOutputWithContext(ctx context.Context) LifecyclePolicyOutput

type LifecyclePolicyArray

type LifecyclePolicyArray []LifecyclePolicyInput

func (LifecyclePolicyArray) ElementType

func (LifecyclePolicyArray) ElementType() reflect.Type

func (LifecyclePolicyArray) ToLifecyclePolicyArrayOutput

func (i LifecyclePolicyArray) ToLifecyclePolicyArrayOutput() LifecyclePolicyArrayOutput

func (LifecyclePolicyArray) ToLifecyclePolicyArrayOutputWithContext

func (i LifecyclePolicyArray) ToLifecyclePolicyArrayOutputWithContext(ctx context.Context) LifecyclePolicyArrayOutput

type LifecyclePolicyArrayInput

type LifecyclePolicyArrayInput interface {
	pulumi.Input

	ToLifecyclePolicyArrayOutput() LifecyclePolicyArrayOutput
	ToLifecyclePolicyArrayOutputWithContext(context.Context) LifecyclePolicyArrayOutput
}

LifecyclePolicyArrayInput is an input type that accepts LifecyclePolicyArray and LifecyclePolicyArrayOutput values. You can construct a concrete instance of `LifecyclePolicyArrayInput` via:

LifecyclePolicyArray{ LifecyclePolicyArgs{...} }

type LifecyclePolicyArrayOutput

type LifecyclePolicyArrayOutput struct{ *pulumi.OutputState }

func (LifecyclePolicyArrayOutput) ElementType

func (LifecyclePolicyArrayOutput) ElementType() reflect.Type

func (LifecyclePolicyArrayOutput) Index

func (LifecyclePolicyArrayOutput) ToLifecyclePolicyArrayOutput

func (o LifecyclePolicyArrayOutput) ToLifecyclePolicyArrayOutput() LifecyclePolicyArrayOutput

func (LifecyclePolicyArrayOutput) ToLifecyclePolicyArrayOutputWithContext

func (o LifecyclePolicyArrayOutput) ToLifecyclePolicyArrayOutputWithContext(ctx context.Context) LifecyclePolicyArrayOutput

type LifecyclePolicyInput

type LifecyclePolicyInput interface {
	pulumi.Input

	ToLifecyclePolicyOutput() LifecyclePolicyOutput
	ToLifecyclePolicyOutputWithContext(context.Context) LifecyclePolicyOutput
}

LifecyclePolicyInput is an input type that accepts LifecyclePolicyArgs and LifecyclePolicyOutput values. You can construct a concrete instance of `LifecyclePolicyInput` via:

LifecyclePolicyArgs{...}

type LifecyclePolicyOutput

type LifecyclePolicyOutput struct{ *pulumi.OutputState }

LifecyclePolicy describes how to deal with task failures based on different conditions.

func (LifecyclePolicyOutput) Action

Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.

func (LifecyclePolicyOutput) ActionCondition

func (o LifecyclePolicyOutput) ActionCondition() ActionConditionPtrOutput

Conditions that decide why a task failure is dealt with a specific action.

func (LifecyclePolicyOutput) ElementType

func (LifecyclePolicyOutput) ElementType() reflect.Type

func (LifecyclePolicyOutput) ToLifecyclePolicyOutput

func (o LifecyclePolicyOutput) ToLifecyclePolicyOutput() LifecyclePolicyOutput

func (LifecyclePolicyOutput) ToLifecyclePolicyOutputWithContext

func (o LifecyclePolicyOutput) ToLifecyclePolicyOutputWithContext(ctx context.Context) LifecyclePolicyOutput

type LifecyclePolicyResponse

type LifecyclePolicyResponse struct {
	// Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
	Action string `pulumi:"action"`
	// Conditions that decide why a task failure is dealt with a specific action.
	ActionCondition ActionConditionResponse `pulumi:"actionCondition"`
}

LifecyclePolicy describes how to deal with task failures based on different conditions.

type LifecyclePolicyResponseArrayOutput

type LifecyclePolicyResponseArrayOutput struct{ *pulumi.OutputState }

func (LifecyclePolicyResponseArrayOutput) ElementType

func (LifecyclePolicyResponseArrayOutput) Index

func (LifecyclePolicyResponseArrayOutput) ToLifecyclePolicyResponseArrayOutput

func (o LifecyclePolicyResponseArrayOutput) ToLifecyclePolicyResponseArrayOutput() LifecyclePolicyResponseArrayOutput

func (LifecyclePolicyResponseArrayOutput) ToLifecyclePolicyResponseArrayOutputWithContext

func (o LifecyclePolicyResponseArrayOutput) ToLifecyclePolicyResponseArrayOutputWithContext(ctx context.Context) LifecyclePolicyResponseArrayOutput

type LifecyclePolicyResponseOutput

type LifecyclePolicyResponseOutput struct{ *pulumi.OutputState }

LifecyclePolicy describes how to deal with task failures based on different conditions.

func (LifecyclePolicyResponseOutput) Action

Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.

func (LifecyclePolicyResponseOutput) ActionCondition

Conditions that decide why a task failure is dealt with a specific action.

func (LifecyclePolicyResponseOutput) ElementType

func (LifecyclePolicyResponseOutput) ToLifecyclePolicyResponseOutput

func (o LifecyclePolicyResponseOutput) ToLifecyclePolicyResponseOutput() LifecyclePolicyResponseOutput

func (LifecyclePolicyResponseOutput) ToLifecyclePolicyResponseOutputWithContext

func (o LifecyclePolicyResponseOutput) ToLifecyclePolicyResponseOutputWithContext(ctx context.Context) LifecyclePolicyResponseOutput

type LocationPolicy

type LocationPolicy struct {
	// A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
	AllowedLocations []string `pulumi:"allowedLocations"`
}

type LocationPolicyArgs

type LocationPolicyArgs struct {
	// A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
	AllowedLocations pulumi.StringArrayInput `pulumi:"allowedLocations"`
}

func (LocationPolicyArgs) ElementType

func (LocationPolicyArgs) ElementType() reflect.Type

func (LocationPolicyArgs) ToLocationPolicyOutput

func (i LocationPolicyArgs) ToLocationPolicyOutput() LocationPolicyOutput

func (LocationPolicyArgs) ToLocationPolicyOutputWithContext

func (i LocationPolicyArgs) ToLocationPolicyOutputWithContext(ctx context.Context) LocationPolicyOutput

func (LocationPolicyArgs) ToLocationPolicyPtrOutput

func (i LocationPolicyArgs) ToLocationPolicyPtrOutput() LocationPolicyPtrOutput

func (LocationPolicyArgs) ToLocationPolicyPtrOutputWithContext

func (i LocationPolicyArgs) ToLocationPolicyPtrOutputWithContext(ctx context.Context) LocationPolicyPtrOutput

type LocationPolicyInput

type LocationPolicyInput interface {
	pulumi.Input

	ToLocationPolicyOutput() LocationPolicyOutput
	ToLocationPolicyOutputWithContext(context.Context) LocationPolicyOutput
}

LocationPolicyInput is an input type that accepts LocationPolicyArgs and LocationPolicyOutput values. You can construct a concrete instance of `LocationPolicyInput` via:

LocationPolicyArgs{...}

type LocationPolicyOutput

type LocationPolicyOutput struct{ *pulumi.OutputState }

func (LocationPolicyOutput) AllowedLocations

func (o LocationPolicyOutput) AllowedLocations() pulumi.StringArrayOutput

A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.

func (LocationPolicyOutput) ElementType

func (LocationPolicyOutput) ElementType() reflect.Type

func (LocationPolicyOutput) ToLocationPolicyOutput

func (o LocationPolicyOutput) ToLocationPolicyOutput() LocationPolicyOutput

func (LocationPolicyOutput) ToLocationPolicyOutputWithContext

func (o LocationPolicyOutput) ToLocationPolicyOutputWithContext(ctx context.Context) LocationPolicyOutput

func (LocationPolicyOutput) ToLocationPolicyPtrOutput

func (o LocationPolicyOutput) ToLocationPolicyPtrOutput() LocationPolicyPtrOutput

func (LocationPolicyOutput) ToLocationPolicyPtrOutputWithContext

func (o LocationPolicyOutput) ToLocationPolicyPtrOutputWithContext(ctx context.Context) LocationPolicyPtrOutput

type LocationPolicyPtrInput

type LocationPolicyPtrInput interface {
	pulumi.Input

	ToLocationPolicyPtrOutput() LocationPolicyPtrOutput
	ToLocationPolicyPtrOutputWithContext(context.Context) LocationPolicyPtrOutput
}

LocationPolicyPtrInput is an input type that accepts LocationPolicyArgs, LocationPolicyPtr and LocationPolicyPtrOutput values. You can construct a concrete instance of `LocationPolicyPtrInput` via:

        LocationPolicyArgs{...}

or:

        nil

type LocationPolicyPtrOutput

type LocationPolicyPtrOutput struct{ *pulumi.OutputState }

func (LocationPolicyPtrOutput) AllowedLocations

func (o LocationPolicyPtrOutput) AllowedLocations() pulumi.StringArrayOutput

A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.

func (LocationPolicyPtrOutput) Elem

func (LocationPolicyPtrOutput) ElementType

func (LocationPolicyPtrOutput) ElementType() reflect.Type

func (LocationPolicyPtrOutput) ToLocationPolicyPtrOutput

func (o LocationPolicyPtrOutput) ToLocationPolicyPtrOutput() LocationPolicyPtrOutput

func (LocationPolicyPtrOutput) ToLocationPolicyPtrOutputWithContext

func (o LocationPolicyPtrOutput) ToLocationPolicyPtrOutputWithContext(ctx context.Context) LocationPolicyPtrOutput

type LocationPolicyResponse

type LocationPolicyResponse struct {
	// A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
	AllowedLocations []string `pulumi:"allowedLocations"`
}

type LocationPolicyResponseOutput

type LocationPolicyResponseOutput struct{ *pulumi.OutputState }

func (LocationPolicyResponseOutput) AllowedLocations

A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.

func (LocationPolicyResponseOutput) ElementType

func (LocationPolicyResponseOutput) ToLocationPolicyResponseOutput

func (o LocationPolicyResponseOutput) ToLocationPolicyResponseOutput() LocationPolicyResponseOutput

func (LocationPolicyResponseOutput) ToLocationPolicyResponseOutputWithContext

func (o LocationPolicyResponseOutput) ToLocationPolicyResponseOutputWithContext(ctx context.Context) LocationPolicyResponseOutput

type LogsPolicy

type LogsPolicy struct {
	// Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
	CloudLoggingOption *CloudLoggingOption `pulumi:"cloudLoggingOption"`
	// Where logs should be saved.
	Destination *LogsPolicyDestination `pulumi:"destination"`
	// The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
	LogsPath *string `pulumi:"logsPath"`
}

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

type LogsPolicyArgs

type LogsPolicyArgs struct {
	// Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
	CloudLoggingOption CloudLoggingOptionPtrInput `pulumi:"cloudLoggingOption"`
	// Where logs should be saved.
	Destination LogsPolicyDestinationPtrInput `pulumi:"destination"`
	// The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
	LogsPath pulumi.StringPtrInput `pulumi:"logsPath"`
}

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

func (LogsPolicyArgs) ElementType

func (LogsPolicyArgs) ElementType() reflect.Type

func (LogsPolicyArgs) ToLogsPolicyOutput

func (i LogsPolicyArgs) ToLogsPolicyOutput() LogsPolicyOutput

func (LogsPolicyArgs) ToLogsPolicyOutputWithContext

func (i LogsPolicyArgs) ToLogsPolicyOutputWithContext(ctx context.Context) LogsPolicyOutput

func (LogsPolicyArgs) ToLogsPolicyPtrOutput

func (i LogsPolicyArgs) ToLogsPolicyPtrOutput() LogsPolicyPtrOutput

func (LogsPolicyArgs) ToLogsPolicyPtrOutputWithContext

func (i LogsPolicyArgs) ToLogsPolicyPtrOutputWithContext(ctx context.Context) LogsPolicyPtrOutput

type LogsPolicyDestination

type LogsPolicyDestination string

Where logs should be saved.

func (LogsPolicyDestination) ElementType

func (LogsPolicyDestination) ElementType() reflect.Type

func (LogsPolicyDestination) ToLogsPolicyDestinationOutput

func (e LogsPolicyDestination) ToLogsPolicyDestinationOutput() LogsPolicyDestinationOutput

func (LogsPolicyDestination) ToLogsPolicyDestinationOutputWithContext

func (e LogsPolicyDestination) ToLogsPolicyDestinationOutputWithContext(ctx context.Context) LogsPolicyDestinationOutput

func (LogsPolicyDestination) ToLogsPolicyDestinationPtrOutput

func (e LogsPolicyDestination) ToLogsPolicyDestinationPtrOutput() LogsPolicyDestinationPtrOutput

func (LogsPolicyDestination) ToLogsPolicyDestinationPtrOutputWithContext

func (e LogsPolicyDestination) ToLogsPolicyDestinationPtrOutputWithContext(ctx context.Context) LogsPolicyDestinationPtrOutput

func (LogsPolicyDestination) ToStringOutput

func (e LogsPolicyDestination) ToStringOutput() pulumi.StringOutput

func (LogsPolicyDestination) ToStringOutputWithContext

func (e LogsPolicyDestination) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LogsPolicyDestination) ToStringPtrOutput

func (e LogsPolicyDestination) ToStringPtrOutput() pulumi.StringPtrOutput

func (LogsPolicyDestination) ToStringPtrOutputWithContext

func (e LogsPolicyDestination) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogsPolicyDestinationInput

type LogsPolicyDestinationInput interface {
	pulumi.Input

	ToLogsPolicyDestinationOutput() LogsPolicyDestinationOutput
	ToLogsPolicyDestinationOutputWithContext(context.Context) LogsPolicyDestinationOutput
}

LogsPolicyDestinationInput is an input type that accepts LogsPolicyDestinationArgs and LogsPolicyDestinationOutput values. You can construct a concrete instance of `LogsPolicyDestinationInput` via:

LogsPolicyDestinationArgs{...}

type LogsPolicyDestinationOutput

type LogsPolicyDestinationOutput struct{ *pulumi.OutputState }

func (LogsPolicyDestinationOutput) ElementType

func (LogsPolicyDestinationOutput) ToLogsPolicyDestinationOutput

func (o LogsPolicyDestinationOutput) ToLogsPolicyDestinationOutput() LogsPolicyDestinationOutput

func (LogsPolicyDestinationOutput) ToLogsPolicyDestinationOutputWithContext

func (o LogsPolicyDestinationOutput) ToLogsPolicyDestinationOutputWithContext(ctx context.Context) LogsPolicyDestinationOutput

func (LogsPolicyDestinationOutput) ToLogsPolicyDestinationPtrOutput

func (o LogsPolicyDestinationOutput) ToLogsPolicyDestinationPtrOutput() LogsPolicyDestinationPtrOutput

func (LogsPolicyDestinationOutput) ToLogsPolicyDestinationPtrOutputWithContext

func (o LogsPolicyDestinationOutput) ToLogsPolicyDestinationPtrOutputWithContext(ctx context.Context) LogsPolicyDestinationPtrOutput

func (LogsPolicyDestinationOutput) ToStringOutput

func (o LogsPolicyDestinationOutput) ToStringOutput() pulumi.StringOutput

func (LogsPolicyDestinationOutput) ToStringOutputWithContext

func (o LogsPolicyDestinationOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LogsPolicyDestinationOutput) ToStringPtrOutput

func (o LogsPolicyDestinationOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (LogsPolicyDestinationOutput) ToStringPtrOutputWithContext

func (o LogsPolicyDestinationOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogsPolicyDestinationPtrInput

type LogsPolicyDestinationPtrInput interface {
	pulumi.Input

	ToLogsPolicyDestinationPtrOutput() LogsPolicyDestinationPtrOutput
	ToLogsPolicyDestinationPtrOutputWithContext(context.Context) LogsPolicyDestinationPtrOutput
}

func LogsPolicyDestinationPtr

func LogsPolicyDestinationPtr(v string) LogsPolicyDestinationPtrInput

type LogsPolicyDestinationPtrOutput

type LogsPolicyDestinationPtrOutput struct{ *pulumi.OutputState }

func (LogsPolicyDestinationPtrOutput) Elem

func (LogsPolicyDestinationPtrOutput) ElementType

func (LogsPolicyDestinationPtrOutput) ToLogsPolicyDestinationPtrOutput

func (o LogsPolicyDestinationPtrOutput) ToLogsPolicyDestinationPtrOutput() LogsPolicyDestinationPtrOutput

func (LogsPolicyDestinationPtrOutput) ToLogsPolicyDestinationPtrOutputWithContext

func (o LogsPolicyDestinationPtrOutput) ToLogsPolicyDestinationPtrOutputWithContext(ctx context.Context) LogsPolicyDestinationPtrOutput

func (LogsPolicyDestinationPtrOutput) ToStringPtrOutput

func (LogsPolicyDestinationPtrOutput) ToStringPtrOutputWithContext

func (o LogsPolicyDestinationPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogsPolicyInput

type LogsPolicyInput interface {
	pulumi.Input

	ToLogsPolicyOutput() LogsPolicyOutput
	ToLogsPolicyOutputWithContext(context.Context) LogsPolicyOutput
}

LogsPolicyInput is an input type that accepts LogsPolicyArgs and LogsPolicyOutput values. You can construct a concrete instance of `LogsPolicyInput` via:

LogsPolicyArgs{...}

type LogsPolicyOutput

type LogsPolicyOutput struct{ *pulumi.OutputState }

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

func (LogsPolicyOutput) CloudLoggingOption added in v0.32.0

func (o LogsPolicyOutput) CloudLoggingOption() CloudLoggingOptionPtrOutput

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

func (LogsPolicyOutput) Destination

Where logs should be saved.

func (LogsPolicyOutput) ElementType

func (LogsPolicyOutput) ElementType() reflect.Type

func (LogsPolicyOutput) LogsPath

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.

func (LogsPolicyOutput) ToLogsPolicyOutput

func (o LogsPolicyOutput) ToLogsPolicyOutput() LogsPolicyOutput

func (LogsPolicyOutput) ToLogsPolicyOutputWithContext

func (o LogsPolicyOutput) ToLogsPolicyOutputWithContext(ctx context.Context) LogsPolicyOutput

func (LogsPolicyOutput) ToLogsPolicyPtrOutput

func (o LogsPolicyOutput) ToLogsPolicyPtrOutput() LogsPolicyPtrOutput

func (LogsPolicyOutput) ToLogsPolicyPtrOutputWithContext

func (o LogsPolicyOutput) ToLogsPolicyPtrOutputWithContext(ctx context.Context) LogsPolicyPtrOutput

type LogsPolicyPtrInput

type LogsPolicyPtrInput interface {
	pulumi.Input

	ToLogsPolicyPtrOutput() LogsPolicyPtrOutput
	ToLogsPolicyPtrOutputWithContext(context.Context) LogsPolicyPtrOutput
}

LogsPolicyPtrInput is an input type that accepts LogsPolicyArgs, LogsPolicyPtr and LogsPolicyPtrOutput values. You can construct a concrete instance of `LogsPolicyPtrInput` via:

        LogsPolicyArgs{...}

or:

        nil

func LogsPolicyPtr

func LogsPolicyPtr(v *LogsPolicyArgs) LogsPolicyPtrInput

type LogsPolicyPtrOutput

type LogsPolicyPtrOutput struct{ *pulumi.OutputState }

func (LogsPolicyPtrOutput) CloudLoggingOption added in v0.32.0

func (o LogsPolicyPtrOutput) CloudLoggingOption() CloudLoggingOptionPtrOutput

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

func (LogsPolicyPtrOutput) Destination

Where logs should be saved.

func (LogsPolicyPtrOutput) Elem

func (LogsPolicyPtrOutput) ElementType

func (LogsPolicyPtrOutput) ElementType() reflect.Type

func (LogsPolicyPtrOutput) LogsPath

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.

func (LogsPolicyPtrOutput) ToLogsPolicyPtrOutput

func (o LogsPolicyPtrOutput) ToLogsPolicyPtrOutput() LogsPolicyPtrOutput

func (LogsPolicyPtrOutput) ToLogsPolicyPtrOutputWithContext

func (o LogsPolicyPtrOutput) ToLogsPolicyPtrOutputWithContext(ctx context.Context) LogsPolicyPtrOutput

type LogsPolicyResponse

type LogsPolicyResponse struct {
	// Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
	CloudLoggingOption CloudLoggingOptionResponse `pulumi:"cloudLoggingOption"`
	// Where logs should be saved.
	Destination string `pulumi:"destination"`
	// The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
	LogsPath string `pulumi:"logsPath"`
}

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

type LogsPolicyResponseOutput

type LogsPolicyResponseOutput struct{ *pulumi.OutputState }

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

func (LogsPolicyResponseOutput) CloudLoggingOption added in v0.32.0

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

func (LogsPolicyResponseOutput) Destination

Where logs should be saved.

func (LogsPolicyResponseOutput) ElementType

func (LogsPolicyResponseOutput) ElementType() reflect.Type

func (LogsPolicyResponseOutput) LogsPath

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.

func (LogsPolicyResponseOutput) ToLogsPolicyResponseOutput

func (o LogsPolicyResponseOutput) ToLogsPolicyResponseOutput() LogsPolicyResponseOutput

func (LogsPolicyResponseOutput) ToLogsPolicyResponseOutputWithContext

func (o LogsPolicyResponseOutput) ToLogsPolicyResponseOutputWithContext(ctx context.Context) LogsPolicyResponseOutput

type LookupJobArgs

type LookupJobArgs struct {
	JobId    string  `pulumi:"jobId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
}

type LookupJobOutputArgs

type LookupJobOutputArgs struct {
	JobId    pulumi.StringInput    `pulumi:"jobId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupJobOutputArgs) ElementType

func (LookupJobOutputArgs) ElementType() reflect.Type

type LookupJobResult

type LookupJobResult struct {
	// Compute resource allocation for all TaskGroups in the Job.
	AllocationPolicy AllocationPolicyResponse `pulumi:"allocationPolicy"`
	// When the Job was created.
	CreateTime string `pulumi:"createTime"`
	// Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
	Labels map[string]string `pulumi:"labels"`
	// Log preservation policy for the Job.
	LogsPolicy LogsPolicyResponse `pulumi:"logsPolicy"`
	// Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
	Name string `pulumi:"name"`
	// Notification configurations.
	Notifications []JobNotificationResponse `pulumi:"notifications"`
	// Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
	Priority string `pulumi:"priority"`
	// Job status. It is read only for users.
	Status JobStatusResponse `pulumi:"status"`
	// TaskGroups in the Job. Only one TaskGroup is supported now.
	TaskGroups []TaskGroupResponse `pulumi:"taskGroups"`
	// A system generated unique ID (in UUID4 format) for the Job.
	Uid string `pulumi:"uid"`
	// The last time the Job was updated.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupJob

func LookupJob(ctx *pulumi.Context, args *LookupJobArgs, opts ...pulumi.InvokeOption) (*LookupJobResult, error)

Get a Job specified by its resource name.

type LookupJobResultOutput

type LookupJobResultOutput struct{ *pulumi.OutputState }

func (LookupJobResultOutput) AllocationPolicy

Compute resource allocation for all TaskGroups in the Job.

func (LookupJobResultOutput) CreateTime

func (o LookupJobResultOutput) CreateTime() pulumi.StringOutput

When the Job was created.

func (LookupJobResultOutput) ElementType

func (LookupJobResultOutput) ElementType() reflect.Type

func (LookupJobResultOutput) Labels

Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.

func (LookupJobResultOutput) LogsPolicy

Log preservation policy for the Job.

func (LookupJobResultOutput) Name

Job name. For example: "projects/123456/locations/us-central1/jobs/job01".

func (LookupJobResultOutput) Notifications

Notification configurations.

func (LookupJobResultOutput) Priority

Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.

func (LookupJobResultOutput) Status

Job status. It is read only for users.

func (LookupJobResultOutput) TaskGroups

TaskGroups in the Job. Only one TaskGroup is supported now.

func (LookupJobResultOutput) ToLookupJobResultOutput

func (o LookupJobResultOutput) ToLookupJobResultOutput() LookupJobResultOutput

func (LookupJobResultOutput) ToLookupJobResultOutputWithContext

func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Context) LookupJobResultOutput

func (LookupJobResultOutput) Uid

A system generated unique ID (in UUID4 format) for the Job.

func (LookupJobResultOutput) UpdateTime

func (o LookupJobResultOutput) UpdateTime() pulumi.StringOutput

The last time the Job was updated.

type Message

type Message struct {
	// The new job state.
	NewJobState *MessageNewJobState `pulumi:"newJobState"`
	// The new task state.
	NewTaskState *MessageNewTaskState `pulumi:"newTaskState"`
	// The message type.
	Type *MessageType `pulumi:"type"`
}

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

type MessageArgs

type MessageArgs struct {
	// The new job state.
	NewJobState MessageNewJobStatePtrInput `pulumi:"newJobState"`
	// The new task state.
	NewTaskState MessageNewTaskStatePtrInput `pulumi:"newTaskState"`
	// The message type.
	Type MessageTypePtrInput `pulumi:"type"`
}

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

func (MessageArgs) ElementType

func (MessageArgs) ElementType() reflect.Type

func (MessageArgs) ToMessageOutput

func (i MessageArgs) ToMessageOutput() MessageOutput

func (MessageArgs) ToMessageOutputWithContext

func (i MessageArgs) ToMessageOutputWithContext(ctx context.Context) MessageOutput

func (MessageArgs) ToMessagePtrOutput

func (i MessageArgs) ToMessagePtrOutput() MessagePtrOutput

func (MessageArgs) ToMessagePtrOutputWithContext

func (i MessageArgs) ToMessagePtrOutputWithContext(ctx context.Context) MessagePtrOutput

type MessageInput

type MessageInput interface {
	pulumi.Input

	ToMessageOutput() MessageOutput
	ToMessageOutputWithContext(context.Context) MessageOutput
}

MessageInput is an input type that accepts MessageArgs and MessageOutput values. You can construct a concrete instance of `MessageInput` via:

MessageArgs{...}

type MessageNewJobState

type MessageNewJobState string

The new job state.

func (MessageNewJobState) ElementType

func (MessageNewJobState) ElementType() reflect.Type

func (MessageNewJobState) ToMessageNewJobStateOutput

func (e MessageNewJobState) ToMessageNewJobStateOutput() MessageNewJobStateOutput

func (MessageNewJobState) ToMessageNewJobStateOutputWithContext

func (e MessageNewJobState) ToMessageNewJobStateOutputWithContext(ctx context.Context) MessageNewJobStateOutput

func (MessageNewJobState) ToMessageNewJobStatePtrOutput

func (e MessageNewJobState) ToMessageNewJobStatePtrOutput() MessageNewJobStatePtrOutput

func (MessageNewJobState) ToMessageNewJobStatePtrOutputWithContext

func (e MessageNewJobState) ToMessageNewJobStatePtrOutputWithContext(ctx context.Context) MessageNewJobStatePtrOutput

func (MessageNewJobState) ToStringOutput

func (e MessageNewJobState) ToStringOutput() pulumi.StringOutput

func (MessageNewJobState) ToStringOutputWithContext

func (e MessageNewJobState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageNewJobState) ToStringPtrOutput

func (e MessageNewJobState) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewJobState) ToStringPtrOutputWithContext

func (e MessageNewJobState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageNewJobStateInput

type MessageNewJobStateInput interface {
	pulumi.Input

	ToMessageNewJobStateOutput() MessageNewJobStateOutput
	ToMessageNewJobStateOutputWithContext(context.Context) MessageNewJobStateOutput
}

MessageNewJobStateInput is an input type that accepts MessageNewJobStateArgs and MessageNewJobStateOutput values. You can construct a concrete instance of `MessageNewJobStateInput` via:

MessageNewJobStateArgs{...}

type MessageNewJobStateOutput

type MessageNewJobStateOutput struct{ *pulumi.OutputState }

func (MessageNewJobStateOutput) ElementType

func (MessageNewJobStateOutput) ElementType() reflect.Type

func (MessageNewJobStateOutput) ToMessageNewJobStateOutput

func (o MessageNewJobStateOutput) ToMessageNewJobStateOutput() MessageNewJobStateOutput

func (MessageNewJobStateOutput) ToMessageNewJobStateOutputWithContext

func (o MessageNewJobStateOutput) ToMessageNewJobStateOutputWithContext(ctx context.Context) MessageNewJobStateOutput

func (MessageNewJobStateOutput) ToMessageNewJobStatePtrOutput

func (o MessageNewJobStateOutput) ToMessageNewJobStatePtrOutput() MessageNewJobStatePtrOutput

func (MessageNewJobStateOutput) ToMessageNewJobStatePtrOutputWithContext

func (o MessageNewJobStateOutput) ToMessageNewJobStatePtrOutputWithContext(ctx context.Context) MessageNewJobStatePtrOutput

func (MessageNewJobStateOutput) ToStringOutput

func (o MessageNewJobStateOutput) ToStringOutput() pulumi.StringOutput

func (MessageNewJobStateOutput) ToStringOutputWithContext

func (o MessageNewJobStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageNewJobStateOutput) ToStringPtrOutput

func (o MessageNewJobStateOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewJobStateOutput) ToStringPtrOutputWithContext

func (o MessageNewJobStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageNewJobStatePtrInput

type MessageNewJobStatePtrInput interface {
	pulumi.Input

	ToMessageNewJobStatePtrOutput() MessageNewJobStatePtrOutput
	ToMessageNewJobStatePtrOutputWithContext(context.Context) MessageNewJobStatePtrOutput
}

func MessageNewJobStatePtr

func MessageNewJobStatePtr(v string) MessageNewJobStatePtrInput

type MessageNewJobStatePtrOutput

type MessageNewJobStatePtrOutput struct{ *pulumi.OutputState }

func (MessageNewJobStatePtrOutput) Elem

func (MessageNewJobStatePtrOutput) ElementType

func (MessageNewJobStatePtrOutput) ToMessageNewJobStatePtrOutput

func (o MessageNewJobStatePtrOutput) ToMessageNewJobStatePtrOutput() MessageNewJobStatePtrOutput

func (MessageNewJobStatePtrOutput) ToMessageNewJobStatePtrOutputWithContext

func (o MessageNewJobStatePtrOutput) ToMessageNewJobStatePtrOutputWithContext(ctx context.Context) MessageNewJobStatePtrOutput

func (MessageNewJobStatePtrOutput) ToStringPtrOutput

func (o MessageNewJobStatePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewJobStatePtrOutput) ToStringPtrOutputWithContext

func (o MessageNewJobStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageNewTaskState

type MessageNewTaskState string

The new task state.

func (MessageNewTaskState) ElementType

func (MessageNewTaskState) ElementType() reflect.Type

func (MessageNewTaskState) ToMessageNewTaskStateOutput

func (e MessageNewTaskState) ToMessageNewTaskStateOutput() MessageNewTaskStateOutput

func (MessageNewTaskState) ToMessageNewTaskStateOutputWithContext

func (e MessageNewTaskState) ToMessageNewTaskStateOutputWithContext(ctx context.Context) MessageNewTaskStateOutput

func (MessageNewTaskState) ToMessageNewTaskStatePtrOutput

func (e MessageNewTaskState) ToMessageNewTaskStatePtrOutput() MessageNewTaskStatePtrOutput

func (MessageNewTaskState) ToMessageNewTaskStatePtrOutputWithContext

func (e MessageNewTaskState) ToMessageNewTaskStatePtrOutputWithContext(ctx context.Context) MessageNewTaskStatePtrOutput

func (MessageNewTaskState) ToStringOutput

func (e MessageNewTaskState) ToStringOutput() pulumi.StringOutput

func (MessageNewTaskState) ToStringOutputWithContext

func (e MessageNewTaskState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageNewTaskState) ToStringPtrOutput

func (e MessageNewTaskState) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewTaskState) ToStringPtrOutputWithContext

func (e MessageNewTaskState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageNewTaskStateInput

type MessageNewTaskStateInput interface {
	pulumi.Input

	ToMessageNewTaskStateOutput() MessageNewTaskStateOutput
	ToMessageNewTaskStateOutputWithContext(context.Context) MessageNewTaskStateOutput
}

MessageNewTaskStateInput is an input type that accepts MessageNewTaskStateArgs and MessageNewTaskStateOutput values. You can construct a concrete instance of `MessageNewTaskStateInput` via:

MessageNewTaskStateArgs{...}

type MessageNewTaskStateOutput

type MessageNewTaskStateOutput struct{ *pulumi.OutputState }

func (MessageNewTaskStateOutput) ElementType

func (MessageNewTaskStateOutput) ElementType() reflect.Type

func (MessageNewTaskStateOutput) ToMessageNewTaskStateOutput

func (o MessageNewTaskStateOutput) ToMessageNewTaskStateOutput() MessageNewTaskStateOutput

func (MessageNewTaskStateOutput) ToMessageNewTaskStateOutputWithContext

func (o MessageNewTaskStateOutput) ToMessageNewTaskStateOutputWithContext(ctx context.Context) MessageNewTaskStateOutput

func (MessageNewTaskStateOutput) ToMessageNewTaskStatePtrOutput

func (o MessageNewTaskStateOutput) ToMessageNewTaskStatePtrOutput() MessageNewTaskStatePtrOutput

func (MessageNewTaskStateOutput) ToMessageNewTaskStatePtrOutputWithContext

func (o MessageNewTaskStateOutput) ToMessageNewTaskStatePtrOutputWithContext(ctx context.Context) MessageNewTaskStatePtrOutput

func (MessageNewTaskStateOutput) ToStringOutput

func (o MessageNewTaskStateOutput) ToStringOutput() pulumi.StringOutput

func (MessageNewTaskStateOutput) ToStringOutputWithContext

func (o MessageNewTaskStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageNewTaskStateOutput) ToStringPtrOutput

func (o MessageNewTaskStateOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewTaskStateOutput) ToStringPtrOutputWithContext

func (o MessageNewTaskStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageNewTaskStatePtrInput

type MessageNewTaskStatePtrInput interface {
	pulumi.Input

	ToMessageNewTaskStatePtrOutput() MessageNewTaskStatePtrOutput
	ToMessageNewTaskStatePtrOutputWithContext(context.Context) MessageNewTaskStatePtrOutput
}

func MessageNewTaskStatePtr

func MessageNewTaskStatePtr(v string) MessageNewTaskStatePtrInput

type MessageNewTaskStatePtrOutput

type MessageNewTaskStatePtrOutput struct{ *pulumi.OutputState }

func (MessageNewTaskStatePtrOutput) Elem

func (MessageNewTaskStatePtrOutput) ElementType

func (MessageNewTaskStatePtrOutput) ToMessageNewTaskStatePtrOutput

func (o MessageNewTaskStatePtrOutput) ToMessageNewTaskStatePtrOutput() MessageNewTaskStatePtrOutput

func (MessageNewTaskStatePtrOutput) ToMessageNewTaskStatePtrOutputWithContext

func (o MessageNewTaskStatePtrOutput) ToMessageNewTaskStatePtrOutputWithContext(ctx context.Context) MessageNewTaskStatePtrOutput

func (MessageNewTaskStatePtrOutput) ToStringPtrOutput

func (o MessageNewTaskStatePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageNewTaskStatePtrOutput) ToStringPtrOutputWithContext

func (o MessageNewTaskStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageOutput

type MessageOutput struct{ *pulumi.OutputState }

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

func (MessageOutput) ElementType

func (MessageOutput) ElementType() reflect.Type

func (MessageOutput) NewJobState

The new job state.

func (MessageOutput) NewTaskState

The new task state.

func (MessageOutput) ToMessageOutput

func (o MessageOutput) ToMessageOutput() MessageOutput

func (MessageOutput) ToMessageOutputWithContext

func (o MessageOutput) ToMessageOutputWithContext(ctx context.Context) MessageOutput

func (MessageOutput) ToMessagePtrOutput

func (o MessageOutput) ToMessagePtrOutput() MessagePtrOutput

func (MessageOutput) ToMessagePtrOutputWithContext

func (o MessageOutput) ToMessagePtrOutputWithContext(ctx context.Context) MessagePtrOutput

func (MessageOutput) Type

The message type.

type MessagePtrInput

type MessagePtrInput interface {
	pulumi.Input

	ToMessagePtrOutput() MessagePtrOutput
	ToMessagePtrOutputWithContext(context.Context) MessagePtrOutput
}

MessagePtrInput is an input type that accepts MessageArgs, MessagePtr and MessagePtrOutput values. You can construct a concrete instance of `MessagePtrInput` via:

        MessageArgs{...}

or:

        nil

func MessagePtr

func MessagePtr(v *MessageArgs) MessagePtrInput

type MessagePtrOutput

type MessagePtrOutput struct{ *pulumi.OutputState }

func (MessagePtrOutput) Elem

func (MessagePtrOutput) ElementType

func (MessagePtrOutput) ElementType() reflect.Type

func (MessagePtrOutput) NewJobState

The new job state.

func (MessagePtrOutput) NewTaskState

The new task state.

func (MessagePtrOutput) ToMessagePtrOutput

func (o MessagePtrOutput) ToMessagePtrOutput() MessagePtrOutput

func (MessagePtrOutput) ToMessagePtrOutputWithContext

func (o MessagePtrOutput) ToMessagePtrOutputWithContext(ctx context.Context) MessagePtrOutput

func (MessagePtrOutput) Type

The message type.

type MessageResponse

type MessageResponse struct {
	// The new job state.
	NewJobState string `pulumi:"newJobState"`
	// The new task state.
	NewTaskState string `pulumi:"newTaskState"`
	// The message type.
	Type string `pulumi:"type"`
}

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

type MessageResponseOutput

type MessageResponseOutput struct{ *pulumi.OutputState }

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

func (MessageResponseOutput) ElementType

func (MessageResponseOutput) ElementType() reflect.Type

func (MessageResponseOutput) NewJobState

func (o MessageResponseOutput) NewJobState() pulumi.StringOutput

The new job state.

func (MessageResponseOutput) NewTaskState

func (o MessageResponseOutput) NewTaskState() pulumi.StringOutput

The new task state.

func (MessageResponseOutput) ToMessageResponseOutput

func (o MessageResponseOutput) ToMessageResponseOutput() MessageResponseOutput

func (MessageResponseOutput) ToMessageResponseOutputWithContext

func (o MessageResponseOutput) ToMessageResponseOutputWithContext(ctx context.Context) MessageResponseOutput

func (MessageResponseOutput) Type

The message type.

type MessageType

type MessageType string

The message type.

func (MessageType) ElementType

func (MessageType) ElementType() reflect.Type

func (MessageType) ToMessageTypeOutput

func (e MessageType) ToMessageTypeOutput() MessageTypeOutput

func (MessageType) ToMessageTypeOutputWithContext

func (e MessageType) ToMessageTypeOutputWithContext(ctx context.Context) MessageTypeOutput

func (MessageType) ToMessageTypePtrOutput

func (e MessageType) ToMessageTypePtrOutput() MessageTypePtrOutput

func (MessageType) ToMessageTypePtrOutputWithContext

func (e MessageType) ToMessageTypePtrOutputWithContext(ctx context.Context) MessageTypePtrOutput

func (MessageType) ToStringOutput

func (e MessageType) ToStringOutput() pulumi.StringOutput

func (MessageType) ToStringOutputWithContext

func (e MessageType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageType) ToStringPtrOutput

func (e MessageType) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageType) ToStringPtrOutputWithContext

func (e MessageType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageTypeInput

type MessageTypeInput interface {
	pulumi.Input

	ToMessageTypeOutput() MessageTypeOutput
	ToMessageTypeOutputWithContext(context.Context) MessageTypeOutput
}

MessageTypeInput is an input type that accepts MessageTypeArgs and MessageTypeOutput values. You can construct a concrete instance of `MessageTypeInput` via:

MessageTypeArgs{...}

type MessageTypeOutput

type MessageTypeOutput struct{ *pulumi.OutputState }

func (MessageTypeOutput) ElementType

func (MessageTypeOutput) ElementType() reflect.Type

func (MessageTypeOutput) ToMessageTypeOutput

func (o MessageTypeOutput) ToMessageTypeOutput() MessageTypeOutput

func (MessageTypeOutput) ToMessageTypeOutputWithContext

func (o MessageTypeOutput) ToMessageTypeOutputWithContext(ctx context.Context) MessageTypeOutput

func (MessageTypeOutput) ToMessageTypePtrOutput

func (o MessageTypeOutput) ToMessageTypePtrOutput() MessageTypePtrOutput

func (MessageTypeOutput) ToMessageTypePtrOutputWithContext

func (o MessageTypeOutput) ToMessageTypePtrOutputWithContext(ctx context.Context) MessageTypePtrOutput

func (MessageTypeOutput) ToStringOutput

func (o MessageTypeOutput) ToStringOutput() pulumi.StringOutput

func (MessageTypeOutput) ToStringOutputWithContext

func (o MessageTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MessageTypeOutput) ToStringPtrOutput

func (o MessageTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageTypeOutput) ToStringPtrOutputWithContext

func (o MessageTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MessageTypePtrInput

type MessageTypePtrInput interface {
	pulumi.Input

	ToMessageTypePtrOutput() MessageTypePtrOutput
	ToMessageTypePtrOutputWithContext(context.Context) MessageTypePtrOutput
}

func MessageTypePtr

func MessageTypePtr(v string) MessageTypePtrInput

type MessageTypePtrOutput

type MessageTypePtrOutput struct{ *pulumi.OutputState }

func (MessageTypePtrOutput) Elem

func (MessageTypePtrOutput) ElementType

func (MessageTypePtrOutput) ElementType() reflect.Type

func (MessageTypePtrOutput) ToMessageTypePtrOutput

func (o MessageTypePtrOutput) ToMessageTypePtrOutput() MessageTypePtrOutput

func (MessageTypePtrOutput) ToMessageTypePtrOutputWithContext

func (o MessageTypePtrOutput) ToMessageTypePtrOutputWithContext(ctx context.Context) MessageTypePtrOutput

func (MessageTypePtrOutput) ToStringPtrOutput

func (o MessageTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (MessageTypePtrOutput) ToStringPtrOutputWithContext

func (o MessageTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type NFS

type NFS struct {
	// Remote source path exported from the NFS, e.g., "/share".
	RemotePath *string `pulumi:"remotePath"`
	// The IP address of the NFS.
	Server *string `pulumi:"server"`
}

Represents an NFS volume.

type NFSArgs

type NFSArgs struct {
	// Remote source path exported from the NFS, e.g., "/share".
	RemotePath pulumi.StringPtrInput `pulumi:"remotePath"`
	// The IP address of the NFS.
	Server pulumi.StringPtrInput `pulumi:"server"`
}

Represents an NFS volume.

func (NFSArgs) ElementType

func (NFSArgs) ElementType() reflect.Type

func (NFSArgs) ToNFSOutput

func (i NFSArgs) ToNFSOutput() NFSOutput

func (NFSArgs) ToNFSOutputWithContext

func (i NFSArgs) ToNFSOutputWithContext(ctx context.Context) NFSOutput

func (NFSArgs) ToNFSPtrOutput

func (i NFSArgs) ToNFSPtrOutput() NFSPtrOutput

func (NFSArgs) ToNFSPtrOutputWithContext

func (i NFSArgs) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutput

type NFSInput

type NFSInput interface {
	pulumi.Input

	ToNFSOutput() NFSOutput
	ToNFSOutputWithContext(context.Context) NFSOutput
}

NFSInput is an input type that accepts NFSArgs and NFSOutput values. You can construct a concrete instance of `NFSInput` via:

NFSArgs{...}

type NFSOutput

type NFSOutput struct{ *pulumi.OutputState }

Represents an NFS volume.

func (NFSOutput) ElementType

func (NFSOutput) ElementType() reflect.Type

func (NFSOutput) RemotePath

func (o NFSOutput) RemotePath() pulumi.StringPtrOutput

Remote source path exported from the NFS, e.g., "/share".

func (NFSOutput) Server

func (o NFSOutput) Server() pulumi.StringPtrOutput

The IP address of the NFS.

func (NFSOutput) ToNFSOutput

func (o NFSOutput) ToNFSOutput() NFSOutput

func (NFSOutput) ToNFSOutputWithContext

func (o NFSOutput) ToNFSOutputWithContext(ctx context.Context) NFSOutput

func (NFSOutput) ToNFSPtrOutput

func (o NFSOutput) ToNFSPtrOutput() NFSPtrOutput

func (NFSOutput) ToNFSPtrOutputWithContext

func (o NFSOutput) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutput

type NFSPtrInput

type NFSPtrInput interface {
	pulumi.Input

	ToNFSPtrOutput() NFSPtrOutput
	ToNFSPtrOutputWithContext(context.Context) NFSPtrOutput
}

NFSPtrInput is an input type that accepts NFSArgs, NFSPtr and NFSPtrOutput values. You can construct a concrete instance of `NFSPtrInput` via:

        NFSArgs{...}

or:

        nil

func NFSPtr

func NFSPtr(v *NFSArgs) NFSPtrInput

type NFSPtrOutput

type NFSPtrOutput struct{ *pulumi.OutputState }

func (NFSPtrOutput) Elem

func (o NFSPtrOutput) Elem() NFSOutput

func (NFSPtrOutput) ElementType

func (NFSPtrOutput) ElementType() reflect.Type

func (NFSPtrOutput) RemotePath

func (o NFSPtrOutput) RemotePath() pulumi.StringPtrOutput

Remote source path exported from the NFS, e.g., "/share".

func (NFSPtrOutput) Server

func (o NFSPtrOutput) Server() pulumi.StringPtrOutput

The IP address of the NFS.

func (NFSPtrOutput) ToNFSPtrOutput

func (o NFSPtrOutput) ToNFSPtrOutput() NFSPtrOutput

func (NFSPtrOutput) ToNFSPtrOutputWithContext

func (o NFSPtrOutput) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutput

type NFSResponse

type NFSResponse struct {
	// Remote source path exported from the NFS, e.g., "/share".
	RemotePath string `pulumi:"remotePath"`
	// The IP address of the NFS.
	Server string `pulumi:"server"`
}

Represents an NFS volume.

type NFSResponseOutput

type NFSResponseOutput struct{ *pulumi.OutputState }

Represents an NFS volume.

func (NFSResponseOutput) ElementType

func (NFSResponseOutput) ElementType() reflect.Type

func (NFSResponseOutput) RemotePath

func (o NFSResponseOutput) RemotePath() pulumi.StringOutput

Remote source path exported from the NFS, e.g., "/share".

func (NFSResponseOutput) Server

The IP address of the NFS.

func (NFSResponseOutput) ToNFSResponseOutput

func (o NFSResponseOutput) ToNFSResponseOutput() NFSResponseOutput

func (NFSResponseOutput) ToNFSResponseOutputWithContext

func (o NFSResponseOutput) ToNFSResponseOutputWithContext(ctx context.Context) NFSResponseOutput

type NetworkInterface

type NetworkInterface struct {
	// The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
	Network *string `pulumi:"network"`
	// Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
	NoExternalIpAddress *bool `pulumi:"noExternalIpAddress"`
	// The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
	Subnetwork *string `pulumi:"subnetwork"`
}

A network interface.

type NetworkInterfaceArgs

type NetworkInterfaceArgs struct {
	// The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
	Network pulumi.StringPtrInput `pulumi:"network"`
	// Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
	NoExternalIpAddress pulumi.BoolPtrInput `pulumi:"noExternalIpAddress"`
	// The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
	Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"`
}

A network interface.

func (NetworkInterfaceArgs) ElementType

func (NetworkInterfaceArgs) ElementType() reflect.Type

func (NetworkInterfaceArgs) ToNetworkInterfaceOutput

func (i NetworkInterfaceArgs) ToNetworkInterfaceOutput() NetworkInterfaceOutput

func (NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext

func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Context) NetworkInterfaceOutput

type NetworkInterfaceArray

type NetworkInterfaceArray []NetworkInterfaceInput

func (NetworkInterfaceArray) ElementType

func (NetworkInterfaceArray) ElementType() reflect.Type

func (NetworkInterfaceArray) ToNetworkInterfaceArrayOutput

func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput

func (NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext

func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx context.Context) NetworkInterfaceArrayOutput

type NetworkInterfaceArrayInput

type NetworkInterfaceArrayInput interface {
	pulumi.Input

	ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput
	ToNetworkInterfaceArrayOutputWithContext(context.Context) NetworkInterfaceArrayOutput
}

NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. You can construct a concrete instance of `NetworkInterfaceArrayInput` via:

NetworkInterfaceArray{ NetworkInterfaceArgs{...} }

type NetworkInterfaceArrayOutput

type NetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (NetworkInterfaceArrayOutput) ElementType

func (NetworkInterfaceArrayOutput) Index

func (NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutput

func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput

func (NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext

func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ctx context.Context) NetworkInterfaceArrayOutput

type NetworkInterfaceInput

type NetworkInterfaceInput interface {
	pulumi.Input

	ToNetworkInterfaceOutput() NetworkInterfaceOutput
	ToNetworkInterfaceOutputWithContext(context.Context) NetworkInterfaceOutput
}

NetworkInterfaceInput is an input type that accepts NetworkInterfaceArgs and NetworkInterfaceOutput values. You can construct a concrete instance of `NetworkInterfaceInput` via:

NetworkInterfaceArgs{...}

type NetworkInterfaceOutput

type NetworkInterfaceOutput struct{ *pulumi.OutputState }

A network interface.

func (NetworkInterfaceOutput) ElementType

func (NetworkInterfaceOutput) ElementType() reflect.Type

func (NetworkInterfaceOutput) Network

The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}

func (NetworkInterfaceOutput) NoExternalIpAddress

func (o NetworkInterfaceOutput) NoExternalIpAddress() pulumi.BoolPtrOutput

Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.

func (NetworkInterfaceOutput) Subnetwork

The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}

func (NetworkInterfaceOutput) ToNetworkInterfaceOutput

func (o NetworkInterfaceOutput) ToNetworkInterfaceOutput() NetworkInterfaceOutput

func (NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext

func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context.Context) NetworkInterfaceOutput

type NetworkInterfaceResponse

type NetworkInterfaceResponse struct {
	// The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
	Network string `pulumi:"network"`
	// Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
	NoExternalIpAddress bool `pulumi:"noExternalIpAddress"`
	// The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
	Subnetwork string `pulumi:"subnetwork"`
}

A network interface.

type NetworkInterfaceResponseArrayOutput

type NetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }

func (NetworkInterfaceResponseArrayOutput) ElementType

func (NetworkInterfaceResponseArrayOutput) Index

func (NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutput

func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutput() NetworkInterfaceResponseArrayOutput

func (NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutputWithContext

func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceResponseArrayOutput

type NetworkInterfaceResponseOutput

type NetworkInterfaceResponseOutput struct{ *pulumi.OutputState }

A network interface.

func (NetworkInterfaceResponseOutput) ElementType

func (NetworkInterfaceResponseOutput) Network

The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}

func (NetworkInterfaceResponseOutput) NoExternalIpAddress

func (o NetworkInterfaceResponseOutput) NoExternalIpAddress() pulumi.BoolOutput

Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.

func (NetworkInterfaceResponseOutput) Subnetwork

The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}

func (NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutput

func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutput() NetworkInterfaceResponseOutput

func (NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithContext

func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithContext(ctx context.Context) NetworkInterfaceResponseOutput

type NetworkPolicy

type NetworkPolicy struct {
	// Network configurations.
	NetworkInterfaces []NetworkInterface `pulumi:"networkInterfaces"`
}

NetworkPolicy describes VM instance network configurations.

type NetworkPolicyArgs

type NetworkPolicyArgs struct {
	// Network configurations.
	NetworkInterfaces NetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
}

NetworkPolicy describes VM instance network configurations.

func (NetworkPolicyArgs) ElementType

func (NetworkPolicyArgs) ElementType() reflect.Type

func (NetworkPolicyArgs) ToNetworkPolicyOutput

func (i NetworkPolicyArgs) ToNetworkPolicyOutput() NetworkPolicyOutput

func (NetworkPolicyArgs) ToNetworkPolicyOutputWithContext

func (i NetworkPolicyArgs) ToNetworkPolicyOutputWithContext(ctx context.Context) NetworkPolicyOutput

func (NetworkPolicyArgs) ToNetworkPolicyPtrOutput

func (i NetworkPolicyArgs) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (NetworkPolicyArgs) ToNetworkPolicyPtrOutputWithContext

func (i NetworkPolicyArgs) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicyInput

type NetworkPolicyInput interface {
	pulumi.Input

	ToNetworkPolicyOutput() NetworkPolicyOutput
	ToNetworkPolicyOutputWithContext(context.Context) NetworkPolicyOutput
}

NetworkPolicyInput is an input type that accepts NetworkPolicyArgs and NetworkPolicyOutput values. You can construct a concrete instance of `NetworkPolicyInput` via:

NetworkPolicyArgs{...}

type NetworkPolicyOutput

type NetworkPolicyOutput struct{ *pulumi.OutputState }

NetworkPolicy describes VM instance network configurations.

func (NetworkPolicyOutput) ElementType

func (NetworkPolicyOutput) ElementType() reflect.Type

func (NetworkPolicyOutput) NetworkInterfaces

func (o NetworkPolicyOutput) NetworkInterfaces() NetworkInterfaceArrayOutput

Network configurations.

func (NetworkPolicyOutput) ToNetworkPolicyOutput

func (o NetworkPolicyOutput) ToNetworkPolicyOutput() NetworkPolicyOutput

func (NetworkPolicyOutput) ToNetworkPolicyOutputWithContext

func (o NetworkPolicyOutput) ToNetworkPolicyOutputWithContext(ctx context.Context) NetworkPolicyOutput

func (NetworkPolicyOutput) ToNetworkPolicyPtrOutput

func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext

func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicyPtrInput

type NetworkPolicyPtrInput interface {
	pulumi.Input

	ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput
	ToNetworkPolicyPtrOutputWithContext(context.Context) NetworkPolicyPtrOutput
}

NetworkPolicyPtrInput is an input type that accepts NetworkPolicyArgs, NetworkPolicyPtr and NetworkPolicyPtrOutput values. You can construct a concrete instance of `NetworkPolicyPtrInput` via:

        NetworkPolicyArgs{...}

or:

        nil

type NetworkPolicyPtrOutput

type NetworkPolicyPtrOutput struct{ *pulumi.OutputState }

func (NetworkPolicyPtrOutput) Elem

func (NetworkPolicyPtrOutput) ElementType

func (NetworkPolicyPtrOutput) ElementType() reflect.Type

func (NetworkPolicyPtrOutput) NetworkInterfaces

Network configurations.

func (NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutput

func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext

func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicyResponse

type NetworkPolicyResponse struct {
	// Network configurations.
	NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
}

NetworkPolicy describes VM instance network configurations.

type NetworkPolicyResponseOutput

type NetworkPolicyResponseOutput struct{ *pulumi.OutputState }

NetworkPolicy describes VM instance network configurations.

func (NetworkPolicyResponseOutput) ElementType

func (NetworkPolicyResponseOutput) NetworkInterfaces

Network configurations.

func (NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutput

func (o NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutput() NetworkPolicyResponseOutput

func (NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutputWithContext

func (o NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutputWithContext(ctx context.Context) NetworkPolicyResponseOutput

type PlacementPolicy added in v0.31.1

type PlacementPolicy struct {
	// UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
	Collocation *string `pulumi:"collocation"`
	// When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
	MaxDistance *string `pulumi:"maxDistance"`
}

PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.

type PlacementPolicyArgs added in v0.31.1

type PlacementPolicyArgs struct {
	// UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
	Collocation pulumi.StringPtrInput `pulumi:"collocation"`
	// When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
	MaxDistance pulumi.StringPtrInput `pulumi:"maxDistance"`
}

PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.

func (PlacementPolicyArgs) ElementType added in v0.31.1

func (PlacementPolicyArgs) ElementType() reflect.Type

func (PlacementPolicyArgs) ToPlacementPolicyOutput added in v0.31.1

func (i PlacementPolicyArgs) ToPlacementPolicyOutput() PlacementPolicyOutput

func (PlacementPolicyArgs) ToPlacementPolicyOutputWithContext added in v0.31.1

func (i PlacementPolicyArgs) ToPlacementPolicyOutputWithContext(ctx context.Context) PlacementPolicyOutput

func (PlacementPolicyArgs) ToPlacementPolicyPtrOutput added in v0.31.1

func (i PlacementPolicyArgs) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput

func (PlacementPolicyArgs) ToPlacementPolicyPtrOutputWithContext added in v0.31.1

func (i PlacementPolicyArgs) ToPlacementPolicyPtrOutputWithContext(ctx context.Context) PlacementPolicyPtrOutput

type PlacementPolicyInput added in v0.31.1

type PlacementPolicyInput interface {
	pulumi.Input

	ToPlacementPolicyOutput() PlacementPolicyOutput
	ToPlacementPolicyOutputWithContext(context.Context) PlacementPolicyOutput
}

PlacementPolicyInput is an input type that accepts PlacementPolicyArgs and PlacementPolicyOutput values. You can construct a concrete instance of `PlacementPolicyInput` via:

PlacementPolicyArgs{...}

type PlacementPolicyOutput added in v0.31.1

type PlacementPolicyOutput struct{ *pulumi.OutputState }

PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.

func (PlacementPolicyOutput) Collocation added in v0.31.1

UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.

func (PlacementPolicyOutput) ElementType added in v0.31.1

func (PlacementPolicyOutput) ElementType() reflect.Type

func (PlacementPolicyOutput) MaxDistance added in v0.31.1

When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented

func (PlacementPolicyOutput) ToPlacementPolicyOutput added in v0.31.1

func (o PlacementPolicyOutput) ToPlacementPolicyOutput() PlacementPolicyOutput

func (PlacementPolicyOutput) ToPlacementPolicyOutputWithContext added in v0.31.1

func (o PlacementPolicyOutput) ToPlacementPolicyOutputWithContext(ctx context.Context) PlacementPolicyOutput

func (PlacementPolicyOutput) ToPlacementPolicyPtrOutput added in v0.31.1

func (o PlacementPolicyOutput) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput

func (PlacementPolicyOutput) ToPlacementPolicyPtrOutputWithContext added in v0.31.1

func (o PlacementPolicyOutput) ToPlacementPolicyPtrOutputWithContext(ctx context.Context) PlacementPolicyPtrOutput

type PlacementPolicyPtrInput added in v0.31.1

type PlacementPolicyPtrInput interface {
	pulumi.Input

	ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput
	ToPlacementPolicyPtrOutputWithContext(context.Context) PlacementPolicyPtrOutput
}

PlacementPolicyPtrInput is an input type that accepts PlacementPolicyArgs, PlacementPolicyPtr and PlacementPolicyPtrOutput values. You can construct a concrete instance of `PlacementPolicyPtrInput` via:

        PlacementPolicyArgs{...}

or:

        nil

func PlacementPolicyPtr added in v0.31.1

func PlacementPolicyPtr(v *PlacementPolicyArgs) PlacementPolicyPtrInput

type PlacementPolicyPtrOutput added in v0.31.1

type PlacementPolicyPtrOutput struct{ *pulumi.OutputState }

func (PlacementPolicyPtrOutput) Collocation added in v0.31.1

UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.

func (PlacementPolicyPtrOutput) Elem added in v0.31.1

func (PlacementPolicyPtrOutput) ElementType added in v0.31.1

func (PlacementPolicyPtrOutput) ElementType() reflect.Type

func (PlacementPolicyPtrOutput) MaxDistance added in v0.31.1

When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented

func (PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutput added in v0.31.1

func (o PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput

func (PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutputWithContext added in v0.31.1

func (o PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutputWithContext(ctx context.Context) PlacementPolicyPtrOutput

type PlacementPolicyResponse added in v0.31.1

type PlacementPolicyResponse struct {
	// UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
	Collocation string `pulumi:"collocation"`
	// When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
	MaxDistance string `pulumi:"maxDistance"`
}

PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.

type PlacementPolicyResponseOutput added in v0.31.1

type PlacementPolicyResponseOutput struct{ *pulumi.OutputState }

PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.

func (PlacementPolicyResponseOutput) Collocation added in v0.31.1

UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.

func (PlacementPolicyResponseOutput) ElementType added in v0.31.1

func (PlacementPolicyResponseOutput) MaxDistance added in v0.31.1

When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented

func (PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutput added in v0.31.1

func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutput() PlacementPolicyResponseOutput

func (PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContext added in v0.31.1

func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContext(ctx context.Context) PlacementPolicyResponseOutput

type Runnable

type Runnable struct {
	// By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
	AlwaysRun *bool `pulumi:"alwaysRun"`
	// This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
	Background *bool `pulumi:"background"`
	// Barrier runnable.
	Barrier *Barrier `pulumi:"barrier"`
	// Container runnable.
	Container *Container `pulumi:"container"`
	// Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
	DisplayName *string `pulumi:"displayName"`
	// Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
	Environment *Environment `pulumi:"environment"`
	// Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
	IgnoreExitStatus *bool `pulumi:"ignoreExitStatus"`
	// Labels for this Runnable.
	Labels map[string]string `pulumi:"labels"`
	// Script runnable.
	Script *Script `pulumi:"script"`
	// Timeout for this Runnable.
	Timeout *string `pulumi:"timeout"`
}

Runnable describes instructions for executing a specific script or container as part of a Task.

type RunnableArgs

type RunnableArgs struct {
	// By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
	AlwaysRun pulumi.BoolPtrInput `pulumi:"alwaysRun"`
	// This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
	Background pulumi.BoolPtrInput `pulumi:"background"`
	// Barrier runnable.
	Barrier BarrierPtrInput `pulumi:"barrier"`
	// Container runnable.
	Container ContainerPtrInput `pulumi:"container"`
	// Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
	Environment EnvironmentPtrInput `pulumi:"environment"`
	// Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
	IgnoreExitStatus pulumi.BoolPtrInput `pulumi:"ignoreExitStatus"`
	// Labels for this Runnable.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Script runnable.
	Script ScriptPtrInput `pulumi:"script"`
	// Timeout for this Runnable.
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
}

Runnable describes instructions for executing a specific script or container as part of a Task.

func (RunnableArgs) ElementType

func (RunnableArgs) ElementType() reflect.Type

func (RunnableArgs) ToRunnableOutput

func (i RunnableArgs) ToRunnableOutput() RunnableOutput

func (RunnableArgs) ToRunnableOutputWithContext

func (i RunnableArgs) ToRunnableOutputWithContext(ctx context.Context) RunnableOutput

type RunnableArray

type RunnableArray []RunnableInput

func (RunnableArray) ElementType

func (RunnableArray) ElementType() reflect.Type

func (RunnableArray) ToRunnableArrayOutput

func (i RunnableArray) ToRunnableArrayOutput() RunnableArrayOutput

func (RunnableArray) ToRunnableArrayOutputWithContext

func (i RunnableArray) ToRunnableArrayOutputWithContext(ctx context.Context) RunnableArrayOutput

type RunnableArrayInput

type RunnableArrayInput interface {
	pulumi.Input

	ToRunnableArrayOutput() RunnableArrayOutput
	ToRunnableArrayOutputWithContext(context.Context) RunnableArrayOutput
}

RunnableArrayInput is an input type that accepts RunnableArray and RunnableArrayOutput values. You can construct a concrete instance of `RunnableArrayInput` via:

RunnableArray{ RunnableArgs{...} }

type RunnableArrayOutput

type RunnableArrayOutput struct{ *pulumi.OutputState }

func (RunnableArrayOutput) ElementType

func (RunnableArrayOutput) ElementType() reflect.Type

func (RunnableArrayOutput) Index

func (RunnableArrayOutput) ToRunnableArrayOutput

func (o RunnableArrayOutput) ToRunnableArrayOutput() RunnableArrayOutput

func (RunnableArrayOutput) ToRunnableArrayOutputWithContext

func (o RunnableArrayOutput) ToRunnableArrayOutputWithContext(ctx context.Context) RunnableArrayOutput

type RunnableInput

type RunnableInput interface {
	pulumi.Input

	ToRunnableOutput() RunnableOutput
	ToRunnableOutputWithContext(context.Context) RunnableOutput
}

RunnableInput is an input type that accepts RunnableArgs and RunnableOutput values. You can construct a concrete instance of `RunnableInput` via:

RunnableArgs{...}

type RunnableOutput

type RunnableOutput struct{ *pulumi.OutputState }

Runnable describes instructions for executing a specific script or container as part of a Task.

func (RunnableOutput) AlwaysRun

func (o RunnableOutput) AlwaysRun() pulumi.BoolPtrOutput

By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.

func (RunnableOutput) Background

func (o RunnableOutput) Background() pulumi.BoolPtrOutput

This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).

func (RunnableOutput) Barrier

func (o RunnableOutput) Barrier() BarrierPtrOutput

Barrier runnable.

func (RunnableOutput) Container

func (o RunnableOutput) Container() ContainerPtrOutput

Container runnable.

func (RunnableOutput) DisplayName added in v0.32.0

func (o RunnableOutput) DisplayName() pulumi.StringPtrOutput

Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.

func (RunnableOutput) ElementType

func (RunnableOutput) ElementType() reflect.Type

func (RunnableOutput) Environment

func (o RunnableOutput) Environment() EnvironmentPtrOutput

Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).

func (RunnableOutput) IgnoreExitStatus

func (o RunnableOutput) IgnoreExitStatus() pulumi.BoolPtrOutput

Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.

func (RunnableOutput) Labels added in v0.31.1

Labels for this Runnable.

func (RunnableOutput) Script

func (o RunnableOutput) Script() ScriptPtrOutput

Script runnable.

func (RunnableOutput) Timeout

Timeout for this Runnable.

func (RunnableOutput) ToRunnableOutput

func (o RunnableOutput) ToRunnableOutput() RunnableOutput

func (RunnableOutput) ToRunnableOutputWithContext

func (o RunnableOutput) ToRunnableOutputWithContext(ctx context.Context) RunnableOutput

type RunnableResponse

type RunnableResponse struct {
	// By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
	AlwaysRun bool `pulumi:"alwaysRun"`
	// This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
	Background bool `pulumi:"background"`
	// Barrier runnable.
	Barrier BarrierResponse `pulumi:"barrier"`
	// Container runnable.
	Container ContainerResponse `pulumi:"container"`
	// Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
	DisplayName string `pulumi:"displayName"`
	// Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
	Environment EnvironmentResponse `pulumi:"environment"`
	// Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
	IgnoreExitStatus bool `pulumi:"ignoreExitStatus"`
	// Labels for this Runnable.
	Labels map[string]string `pulumi:"labels"`
	// Script runnable.
	Script ScriptResponse `pulumi:"script"`
	// Timeout for this Runnable.
	Timeout string `pulumi:"timeout"`
}

Runnable describes instructions for executing a specific script or container as part of a Task.

type RunnableResponseArrayOutput

type RunnableResponseArrayOutput struct{ *pulumi.OutputState }

func (RunnableResponseArrayOutput) ElementType

func (RunnableResponseArrayOutput) Index

func (RunnableResponseArrayOutput) ToRunnableResponseArrayOutput

func (o RunnableResponseArrayOutput) ToRunnableResponseArrayOutput() RunnableResponseArrayOutput

func (RunnableResponseArrayOutput) ToRunnableResponseArrayOutputWithContext

func (o RunnableResponseArrayOutput) ToRunnableResponseArrayOutputWithContext(ctx context.Context) RunnableResponseArrayOutput

type RunnableResponseOutput

type RunnableResponseOutput struct{ *pulumi.OutputState }

Runnable describes instructions for executing a specific script or container as part of a Task.

func (RunnableResponseOutput) AlwaysRun

By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.

func (RunnableResponseOutput) Background

func (o RunnableResponseOutput) Background() pulumi.BoolOutput

This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).

func (RunnableResponseOutput) Barrier

Barrier runnable.

func (RunnableResponseOutput) Container

Container runnable.

func (RunnableResponseOutput) DisplayName added in v0.32.0

func (o RunnableResponseOutput) DisplayName() pulumi.StringOutput

Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.

func (RunnableResponseOutput) ElementType

func (RunnableResponseOutput) ElementType() reflect.Type

func (RunnableResponseOutput) Environment

Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).

func (RunnableResponseOutput) IgnoreExitStatus

func (o RunnableResponseOutput) IgnoreExitStatus() pulumi.BoolOutput

Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.

func (RunnableResponseOutput) Labels added in v0.31.1

Labels for this Runnable.

func (RunnableResponseOutput) Script

Script runnable.

func (RunnableResponseOutput) Timeout

Timeout for this Runnable.

func (RunnableResponseOutput) ToRunnableResponseOutput

func (o RunnableResponseOutput) ToRunnableResponseOutput() RunnableResponseOutput

func (RunnableResponseOutput) ToRunnableResponseOutputWithContext

func (o RunnableResponseOutput) ToRunnableResponseOutputWithContext(ctx context.Context) RunnableResponseOutput

type Script

type Script struct {
	// Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
	Path *string `pulumi:"path"`
	// Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
	Text *string `pulumi:"text"`
}

Script runnable.

type ScriptArgs

type ScriptArgs struct {
	// Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
	Text pulumi.StringPtrInput `pulumi:"text"`
}

Script runnable.

func (ScriptArgs) ElementType

func (ScriptArgs) ElementType() reflect.Type

func (ScriptArgs) ToScriptOutput

func (i ScriptArgs) ToScriptOutput() ScriptOutput

func (ScriptArgs) ToScriptOutputWithContext

func (i ScriptArgs) ToScriptOutputWithContext(ctx context.Context) ScriptOutput

func (ScriptArgs) ToScriptPtrOutput

func (i ScriptArgs) ToScriptPtrOutput() ScriptPtrOutput

func (ScriptArgs) ToScriptPtrOutputWithContext

func (i ScriptArgs) ToScriptPtrOutputWithContext(ctx context.Context) ScriptPtrOutput

type ScriptInput

type ScriptInput interface {
	pulumi.Input

	ToScriptOutput() ScriptOutput
	ToScriptOutputWithContext(context.Context) ScriptOutput
}

ScriptInput is an input type that accepts ScriptArgs and ScriptOutput values. You can construct a concrete instance of `ScriptInput` via:

ScriptArgs{...}

type ScriptOutput

type ScriptOutput struct{ *pulumi.OutputState }

Script runnable.

func (ScriptOutput) ElementType

func (ScriptOutput) ElementType() reflect.Type

func (ScriptOutput) Path

Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.

func (ScriptOutput) Text

Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.

func (ScriptOutput) ToScriptOutput

func (o ScriptOutput) ToScriptOutput() ScriptOutput

func (ScriptOutput) ToScriptOutputWithContext

func (o ScriptOutput) ToScriptOutputWithContext(ctx context.Context) ScriptOutput

func (ScriptOutput) ToScriptPtrOutput

func (o ScriptOutput) ToScriptPtrOutput() ScriptPtrOutput

func (ScriptOutput) ToScriptPtrOutputWithContext

func (o ScriptOutput) ToScriptPtrOutputWithContext(ctx context.Context) ScriptPtrOutput

type ScriptPtrInput

type ScriptPtrInput interface {
	pulumi.Input

	ToScriptPtrOutput() ScriptPtrOutput
	ToScriptPtrOutputWithContext(context.Context) ScriptPtrOutput
}

ScriptPtrInput is an input type that accepts ScriptArgs, ScriptPtr and ScriptPtrOutput values. You can construct a concrete instance of `ScriptPtrInput` via:

        ScriptArgs{...}

or:

        nil

func ScriptPtr

func ScriptPtr(v *ScriptArgs) ScriptPtrInput

type ScriptPtrOutput

type ScriptPtrOutput struct{ *pulumi.OutputState }

func (ScriptPtrOutput) Elem

func (o ScriptPtrOutput) Elem() ScriptOutput

func (ScriptPtrOutput) ElementType

func (ScriptPtrOutput) ElementType() reflect.Type

func (ScriptPtrOutput) Path

Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.

func (ScriptPtrOutput) Text

Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.

func (ScriptPtrOutput) ToScriptPtrOutput

func (o ScriptPtrOutput) ToScriptPtrOutput() ScriptPtrOutput

func (ScriptPtrOutput) ToScriptPtrOutputWithContext

func (o ScriptPtrOutput) ToScriptPtrOutputWithContext(ctx context.Context) ScriptPtrOutput

type ScriptResponse

type ScriptResponse struct {
	// Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
	Path string `pulumi:"path"`
	// Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
	Text string `pulumi:"text"`
}

Script runnable.

type ScriptResponseOutput

type ScriptResponseOutput struct{ *pulumi.OutputState }

Script runnable.

func (ScriptResponseOutput) ElementType

func (ScriptResponseOutput) ElementType() reflect.Type

func (ScriptResponseOutput) Path

Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](<https://en.wikipedia.org/wiki/Shebang_(Unix)>)) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.

func (ScriptResponseOutput) Text

Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.

func (ScriptResponseOutput) ToScriptResponseOutput

func (o ScriptResponseOutput) ToScriptResponseOutput() ScriptResponseOutput

func (ScriptResponseOutput) ToScriptResponseOutputWithContext

func (o ScriptResponseOutput) ToScriptResponseOutputWithContext(ctx context.Context) ScriptResponseOutput

type ServiceAccount

type ServiceAccount struct {
	// Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
	Email *string `pulumi:"email"`
	// List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
	Scopes []string `pulumi:"scopes"`
}

Carries information about a Google Cloud service account.

type ServiceAccountArgs

type ServiceAccountArgs struct {
	// Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
	Scopes pulumi.StringArrayInput `pulumi:"scopes"`
}

Carries information about a Google Cloud service account.

func (ServiceAccountArgs) ElementType

func (ServiceAccountArgs) ElementType() reflect.Type

func (ServiceAccountArgs) ToServiceAccountOutput

func (i ServiceAccountArgs) ToServiceAccountOutput() ServiceAccountOutput

func (ServiceAccountArgs) ToServiceAccountOutputWithContext

func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

func (ServiceAccountArgs) ToServiceAccountPtrOutput

func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountArgs) ToServiceAccountPtrOutputWithContext

func (i ServiceAccountArgs) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountInput

type ServiceAccountInput interface {
	pulumi.Input

	ToServiceAccountOutput() ServiceAccountOutput
	ToServiceAccountOutputWithContext(context.Context) ServiceAccountOutput
}

ServiceAccountInput is an input type that accepts ServiceAccountArgs and ServiceAccountOutput values. You can construct a concrete instance of `ServiceAccountInput` via:

ServiceAccountArgs{...}

type ServiceAccountOutput

type ServiceAccountOutput struct{ *pulumi.OutputState }

Carries information about a Google Cloud service account.

func (ServiceAccountOutput) ElementType

func (ServiceAccountOutput) ElementType() reflect.Type

func (ServiceAccountOutput) Email

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.

func (ServiceAccountOutput) Scopes

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

func (ServiceAccountOutput) ToServiceAccountOutput

func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput

func (ServiceAccountOutput) ToServiceAccountOutputWithContext

func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

func (ServiceAccountOutput) ToServiceAccountPtrOutput

func (o ServiceAccountOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountOutput) ToServiceAccountPtrOutputWithContext

func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountPtrInput

type ServiceAccountPtrInput interface {
	pulumi.Input

	ToServiceAccountPtrOutput() ServiceAccountPtrOutput
	ToServiceAccountPtrOutputWithContext(context.Context) ServiceAccountPtrOutput
}

ServiceAccountPtrInput is an input type that accepts ServiceAccountArgs, ServiceAccountPtr and ServiceAccountPtrOutput values. You can construct a concrete instance of `ServiceAccountPtrInput` via:

        ServiceAccountArgs{...}

or:

        nil

type ServiceAccountPtrOutput

type ServiceAccountPtrOutput struct{ *pulumi.OutputState }

func (ServiceAccountPtrOutput) Elem

func (ServiceAccountPtrOutput) ElementType

func (ServiceAccountPtrOutput) ElementType() reflect.Type

func (ServiceAccountPtrOutput) Email

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.

func (ServiceAccountPtrOutput) Scopes

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

func (ServiceAccountPtrOutput) ToServiceAccountPtrOutput

func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext

func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountResponse

type ServiceAccountResponse struct {
	// Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
	Email string `pulumi:"email"`
	// List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
	Scopes []string `pulumi:"scopes"`
}

Carries information about a Google Cloud service account.

type ServiceAccountResponseOutput

type ServiceAccountResponseOutput struct{ *pulumi.OutputState }

Carries information about a Google Cloud service account.

func (ServiceAccountResponseOutput) ElementType

func (ServiceAccountResponseOutput) Email

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.

func (ServiceAccountResponseOutput) Scopes

List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

func (ServiceAccountResponseOutput) ToServiceAccountResponseOutput

func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutput() ServiceAccountResponseOutput

func (ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext

func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext(ctx context.Context) ServiceAccountResponseOutput

type StatusEventResponse

type StatusEventResponse struct {
	// Description of the event.
	Description string `pulumi:"description"`
	// The time this event occurred.
	EventTime string `pulumi:"eventTime"`
	// Task Execution
	TaskExecution TaskExecutionResponse `pulumi:"taskExecution"`
	// Task State
	TaskState string `pulumi:"taskState"`
	// Type of the event.
	Type string `pulumi:"type"`
}

Status event

type StatusEventResponseArrayOutput

type StatusEventResponseArrayOutput struct{ *pulumi.OutputState }

func (StatusEventResponseArrayOutput) ElementType

func (StatusEventResponseArrayOutput) Index

func (StatusEventResponseArrayOutput) ToStatusEventResponseArrayOutput

func (o StatusEventResponseArrayOutput) ToStatusEventResponseArrayOutput() StatusEventResponseArrayOutput

func (StatusEventResponseArrayOutput) ToStatusEventResponseArrayOutputWithContext

func (o StatusEventResponseArrayOutput) ToStatusEventResponseArrayOutputWithContext(ctx context.Context) StatusEventResponseArrayOutput

type StatusEventResponseOutput

type StatusEventResponseOutput struct{ *pulumi.OutputState }

Status event

func (StatusEventResponseOutput) Description

Description of the event.

func (StatusEventResponseOutput) ElementType

func (StatusEventResponseOutput) ElementType() reflect.Type

func (StatusEventResponseOutput) EventTime

The time this event occurred.

func (StatusEventResponseOutput) TaskExecution

Task Execution

func (StatusEventResponseOutput) TaskState added in v0.29.0

Task State

func (StatusEventResponseOutput) ToStatusEventResponseOutput

func (o StatusEventResponseOutput) ToStatusEventResponseOutput() StatusEventResponseOutput

func (StatusEventResponseOutput) ToStatusEventResponseOutputWithContext

func (o StatusEventResponseOutput) ToStatusEventResponseOutputWithContext(ctx context.Context) StatusEventResponseOutput

func (StatusEventResponseOutput) Type

Type of the event.

type TaskExecutionResponse

type TaskExecutionResponse struct {
	// When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
	ExitCode int `pulumi:"exitCode"`
}

This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.

type TaskExecutionResponseOutput

type TaskExecutionResponseOutput struct{ *pulumi.OutputState }

This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.

func (TaskExecutionResponseOutput) ElementType

func (TaskExecutionResponseOutput) ExitCode

When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.

func (TaskExecutionResponseOutput) ToTaskExecutionResponseOutput

func (o TaskExecutionResponseOutput) ToTaskExecutionResponseOutput() TaskExecutionResponseOutput

func (TaskExecutionResponseOutput) ToTaskExecutionResponseOutputWithContext

func (o TaskExecutionResponseOutput) ToTaskExecutionResponseOutputWithContext(ctx context.Context) TaskExecutionResponseOutput

type TaskGroup

type TaskGroup struct {
	// Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
	Parallelism *string `pulumi:"parallelism"`
	// When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
	PermissiveSsh *bool `pulumi:"permissiveSsh"`
	// When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
	RequireHostsFile *bool `pulumi:"requireHostsFile"`
	// Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
	SchedulingPolicy *TaskGroupSchedulingPolicy `pulumi:"schedulingPolicy"`
	// Number of Tasks in the TaskGroup. Default is 1.
	TaskCount *string `pulumi:"taskCount"`
	// Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
	TaskCountPerNode *string `pulumi:"taskCountPerNode"`
	// An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
	TaskEnvironments []Environment `pulumi:"taskEnvironments"`
	// Tasks in the group share the same task spec.
	TaskSpec TaskSpec `pulumi:"taskSpec"`
}

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

type TaskGroupArgs

type TaskGroupArgs struct {
	// Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
	Parallelism pulumi.StringPtrInput `pulumi:"parallelism"`
	// When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
	PermissiveSsh pulumi.BoolPtrInput `pulumi:"permissiveSsh"`
	// When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
	RequireHostsFile pulumi.BoolPtrInput `pulumi:"requireHostsFile"`
	// Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
	SchedulingPolicy TaskGroupSchedulingPolicyPtrInput `pulumi:"schedulingPolicy"`
	// Number of Tasks in the TaskGroup. Default is 1.
	TaskCount pulumi.StringPtrInput `pulumi:"taskCount"`
	// Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
	TaskCountPerNode pulumi.StringPtrInput `pulumi:"taskCountPerNode"`
	// An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
	TaskEnvironments EnvironmentArrayInput `pulumi:"taskEnvironments"`
	// Tasks in the group share the same task spec.
	TaskSpec TaskSpecInput `pulumi:"taskSpec"`
}

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

func (TaskGroupArgs) ElementType

func (TaskGroupArgs) ElementType() reflect.Type

func (TaskGroupArgs) ToTaskGroupOutput

func (i TaskGroupArgs) ToTaskGroupOutput() TaskGroupOutput

func (TaskGroupArgs) ToTaskGroupOutputWithContext

func (i TaskGroupArgs) ToTaskGroupOutputWithContext(ctx context.Context) TaskGroupOutput

type TaskGroupArray

type TaskGroupArray []TaskGroupInput

func (TaskGroupArray) ElementType

func (TaskGroupArray) ElementType() reflect.Type

func (TaskGroupArray) ToTaskGroupArrayOutput

func (i TaskGroupArray) ToTaskGroupArrayOutput() TaskGroupArrayOutput

func (TaskGroupArray) ToTaskGroupArrayOutputWithContext

func (i TaskGroupArray) ToTaskGroupArrayOutputWithContext(ctx context.Context) TaskGroupArrayOutput

type TaskGroupArrayInput

type TaskGroupArrayInput interface {
	pulumi.Input

	ToTaskGroupArrayOutput() TaskGroupArrayOutput
	ToTaskGroupArrayOutputWithContext(context.Context) TaskGroupArrayOutput
}

TaskGroupArrayInput is an input type that accepts TaskGroupArray and TaskGroupArrayOutput values. You can construct a concrete instance of `TaskGroupArrayInput` via:

TaskGroupArray{ TaskGroupArgs{...} }

type TaskGroupArrayOutput

type TaskGroupArrayOutput struct{ *pulumi.OutputState }

func (TaskGroupArrayOutput) ElementType

func (TaskGroupArrayOutput) ElementType() reflect.Type

func (TaskGroupArrayOutput) Index

func (TaskGroupArrayOutput) ToTaskGroupArrayOutput

func (o TaskGroupArrayOutput) ToTaskGroupArrayOutput() TaskGroupArrayOutput

func (TaskGroupArrayOutput) ToTaskGroupArrayOutputWithContext

func (o TaskGroupArrayOutput) ToTaskGroupArrayOutputWithContext(ctx context.Context) TaskGroupArrayOutput

type TaskGroupInput

type TaskGroupInput interface {
	pulumi.Input

	ToTaskGroupOutput() TaskGroupOutput
	ToTaskGroupOutputWithContext(context.Context) TaskGroupOutput
}

TaskGroupInput is an input type that accepts TaskGroupArgs and TaskGroupOutput values. You can construct a concrete instance of `TaskGroupInput` via:

TaskGroupArgs{...}

type TaskGroupOutput

type TaskGroupOutput struct{ *pulumi.OutputState }

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

func (TaskGroupOutput) ElementType

func (TaskGroupOutput) ElementType() reflect.Type

func (TaskGroupOutput) Parallelism

func (o TaskGroupOutput) Parallelism() pulumi.StringPtrOutput

Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.

func (TaskGroupOutput) PermissiveSsh

func (o TaskGroupOutput) PermissiveSsh() pulumi.BoolPtrOutput

When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.

func (TaskGroupOutput) RequireHostsFile

func (o TaskGroupOutput) RequireHostsFile() pulumi.BoolPtrOutput

When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.

func (TaskGroupOutput) SchedulingPolicy added in v0.32.0

Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.

func (TaskGroupOutput) TaskCount

func (o TaskGroupOutput) TaskCount() pulumi.StringPtrOutput

Number of Tasks in the TaskGroup. Default is 1.

func (TaskGroupOutput) TaskCountPerNode

func (o TaskGroupOutput) TaskCountPerNode() pulumi.StringPtrOutput

Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.

func (TaskGroupOutput) TaskEnvironments

func (o TaskGroupOutput) TaskEnvironments() EnvironmentArrayOutput

An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).

func (TaskGroupOutput) TaskSpec

func (o TaskGroupOutput) TaskSpec() TaskSpecOutput

Tasks in the group share the same task spec.

func (TaskGroupOutput) ToTaskGroupOutput

func (o TaskGroupOutput) ToTaskGroupOutput() TaskGroupOutput

func (TaskGroupOutput) ToTaskGroupOutputWithContext

func (o TaskGroupOutput) ToTaskGroupOutputWithContext(ctx context.Context) TaskGroupOutput

type TaskGroupResponse

type TaskGroupResponse struct {
	// TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
	Name string `pulumi:"name"`
	// Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
	Parallelism string `pulumi:"parallelism"`
	// When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
	PermissiveSsh bool `pulumi:"permissiveSsh"`
	// When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
	RequireHostsFile bool `pulumi:"requireHostsFile"`
	// Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
	SchedulingPolicy string `pulumi:"schedulingPolicy"`
	// Number of Tasks in the TaskGroup. Default is 1.
	TaskCount string `pulumi:"taskCount"`
	// Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
	TaskCountPerNode string `pulumi:"taskCountPerNode"`
	// An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
	TaskEnvironments []EnvironmentResponse `pulumi:"taskEnvironments"`
	// Tasks in the group share the same task spec.
	TaskSpec TaskSpecResponse `pulumi:"taskSpec"`
}

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

type TaskGroupResponseArrayOutput

type TaskGroupResponseArrayOutput struct{ *pulumi.OutputState }

func (TaskGroupResponseArrayOutput) ElementType

func (TaskGroupResponseArrayOutput) Index

func (TaskGroupResponseArrayOutput) ToTaskGroupResponseArrayOutput

func (o TaskGroupResponseArrayOutput) ToTaskGroupResponseArrayOutput() TaskGroupResponseArrayOutput

func (TaskGroupResponseArrayOutput) ToTaskGroupResponseArrayOutputWithContext

func (o TaskGroupResponseArrayOutput) ToTaskGroupResponseArrayOutputWithContext(ctx context.Context) TaskGroupResponseArrayOutput

type TaskGroupResponseOutput

type TaskGroupResponseOutput struct{ *pulumi.OutputState }

A TaskGroup defines one or more Tasks that all share the same TaskSpec.

func (TaskGroupResponseOutput) ElementType

func (TaskGroupResponseOutput) ElementType() reflect.Type

func (TaskGroupResponseOutput) Name

TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".

func (TaskGroupResponseOutput) Parallelism

Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.

func (TaskGroupResponseOutput) PermissiveSsh

func (o TaskGroupResponseOutput) PermissiveSsh() pulumi.BoolOutput

When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.

func (TaskGroupResponseOutput) RequireHostsFile

func (o TaskGroupResponseOutput) RequireHostsFile() pulumi.BoolOutput

When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.

func (TaskGroupResponseOutput) SchedulingPolicy added in v0.32.0

func (o TaskGroupResponseOutput) SchedulingPolicy() pulumi.StringOutput

Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.

func (TaskGroupResponseOutput) TaskCount

Number of Tasks in the TaskGroup. Default is 1.

func (TaskGroupResponseOutput) TaskCountPerNode

func (o TaskGroupResponseOutput) TaskCountPerNode() pulumi.StringOutput

Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.

func (TaskGroupResponseOutput) TaskEnvironments

An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).

func (TaskGroupResponseOutput) TaskSpec

Tasks in the group share the same task spec.

func (TaskGroupResponseOutput) ToTaskGroupResponseOutput

func (o TaskGroupResponseOutput) ToTaskGroupResponseOutput() TaskGroupResponseOutput

func (TaskGroupResponseOutput) ToTaskGroupResponseOutputWithContext

func (o TaskGroupResponseOutput) ToTaskGroupResponseOutputWithContext(ctx context.Context) TaskGroupResponseOutput

type TaskGroupSchedulingPolicy added in v0.32.0

type TaskGroupSchedulingPolicy string

Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.

func (TaskGroupSchedulingPolicy) ElementType added in v0.32.0

func (TaskGroupSchedulingPolicy) ElementType() reflect.Type

func (TaskGroupSchedulingPolicy) ToStringOutput added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToStringOutput() pulumi.StringOutput

func (TaskGroupSchedulingPolicy) ToStringOutputWithContext added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TaskGroupSchedulingPolicy) ToStringPtrOutput added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToStringPtrOutput() pulumi.StringPtrOutput

func (TaskGroupSchedulingPolicy) ToStringPtrOutputWithContext added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyOutput added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyOutput() TaskGroupSchedulingPolicyOutput

func (TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyOutputWithContext added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyOutputWithContext(ctx context.Context) TaskGroupSchedulingPolicyOutput

func (TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyPtrOutput added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyPtrOutput() TaskGroupSchedulingPolicyPtrOutput

func (TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyPtrOutputWithContext added in v0.32.0

func (e TaskGroupSchedulingPolicy) ToTaskGroupSchedulingPolicyPtrOutputWithContext(ctx context.Context) TaskGroupSchedulingPolicyPtrOutput

type TaskGroupSchedulingPolicyInput added in v0.32.0

type TaskGroupSchedulingPolicyInput interface {
	pulumi.Input

	ToTaskGroupSchedulingPolicyOutput() TaskGroupSchedulingPolicyOutput
	ToTaskGroupSchedulingPolicyOutputWithContext(context.Context) TaskGroupSchedulingPolicyOutput
}

TaskGroupSchedulingPolicyInput is an input type that accepts TaskGroupSchedulingPolicyArgs and TaskGroupSchedulingPolicyOutput values. You can construct a concrete instance of `TaskGroupSchedulingPolicyInput` via:

TaskGroupSchedulingPolicyArgs{...}

type TaskGroupSchedulingPolicyOutput added in v0.32.0

type TaskGroupSchedulingPolicyOutput struct{ *pulumi.OutputState }

func (TaskGroupSchedulingPolicyOutput) ElementType added in v0.32.0

func (TaskGroupSchedulingPolicyOutput) ToStringOutput added in v0.32.0

func (TaskGroupSchedulingPolicyOutput) ToStringOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TaskGroupSchedulingPolicyOutput) ToStringPtrOutput added in v0.32.0

func (TaskGroupSchedulingPolicyOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyOutput added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyOutput() TaskGroupSchedulingPolicyOutput

func (TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyOutputWithContext(ctx context.Context) TaskGroupSchedulingPolicyOutput

func (TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyPtrOutput added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyPtrOutput() TaskGroupSchedulingPolicyPtrOutput

func (TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyPtrOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyOutput) ToTaskGroupSchedulingPolicyPtrOutputWithContext(ctx context.Context) TaskGroupSchedulingPolicyPtrOutput

type TaskGroupSchedulingPolicyPtrInput added in v0.32.0

type TaskGroupSchedulingPolicyPtrInput interface {
	pulumi.Input

	ToTaskGroupSchedulingPolicyPtrOutput() TaskGroupSchedulingPolicyPtrOutput
	ToTaskGroupSchedulingPolicyPtrOutputWithContext(context.Context) TaskGroupSchedulingPolicyPtrOutput
}

func TaskGroupSchedulingPolicyPtr added in v0.32.0

func TaskGroupSchedulingPolicyPtr(v string) TaskGroupSchedulingPolicyPtrInput

type TaskGroupSchedulingPolicyPtrOutput added in v0.32.0

type TaskGroupSchedulingPolicyPtrOutput struct{ *pulumi.OutputState }

func (TaskGroupSchedulingPolicyPtrOutput) Elem added in v0.32.0

func (TaskGroupSchedulingPolicyPtrOutput) ElementType added in v0.32.0

func (TaskGroupSchedulingPolicyPtrOutput) ToStringPtrOutput added in v0.32.0

func (TaskGroupSchedulingPolicyPtrOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (TaskGroupSchedulingPolicyPtrOutput) ToTaskGroupSchedulingPolicyPtrOutput added in v0.32.0

func (o TaskGroupSchedulingPolicyPtrOutput) ToTaskGroupSchedulingPolicyPtrOutput() TaskGroupSchedulingPolicyPtrOutput

func (TaskGroupSchedulingPolicyPtrOutput) ToTaskGroupSchedulingPolicyPtrOutputWithContext added in v0.32.0

func (o TaskGroupSchedulingPolicyPtrOutput) ToTaskGroupSchedulingPolicyPtrOutputWithContext(ctx context.Context) TaskGroupSchedulingPolicyPtrOutput

type TaskSpec

type TaskSpec struct {
	// ComputeResource requirements.
	ComputeResource *ComputeResource `pulumi:"computeResource"`
	// Environment variables to set before running the Task.
	Environment *Environment `pulumi:"environment"`
	// Deprecated: please use environment(non-plural) instead.
	//
	// Deprecated: Deprecated: please use environment(non-plural) instead.
	Environments map[string]string `pulumi:"environments"`
	// Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
	LifecyclePolicies []LifecyclePolicy `pulumi:"lifecyclePolicies"`
	// Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
	MaxRetryCount *int `pulumi:"maxRetryCount"`
	// Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
	MaxRunDuration *string `pulumi:"maxRunDuration"`
	// The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
	Runnables []Runnable `pulumi:"runnables"`
	// Volumes to mount before running Tasks using this TaskSpec.
	Volumes []Volume `pulumi:"volumes"`
}

Spec of a task

type TaskSpecArgs

type TaskSpecArgs struct {
	// ComputeResource requirements.
	ComputeResource ComputeResourcePtrInput `pulumi:"computeResource"`
	// Environment variables to set before running the Task.
	Environment EnvironmentPtrInput `pulumi:"environment"`
	// Deprecated: please use environment(non-plural) instead.
	//
	// Deprecated: Deprecated: please use environment(non-plural) instead.
	Environments pulumi.StringMapInput `pulumi:"environments"`
	// Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
	LifecyclePolicies LifecyclePolicyArrayInput `pulumi:"lifecyclePolicies"`
	// Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
	MaxRetryCount pulumi.IntPtrInput `pulumi:"maxRetryCount"`
	// Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
	MaxRunDuration pulumi.StringPtrInput `pulumi:"maxRunDuration"`
	// The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
	Runnables RunnableArrayInput `pulumi:"runnables"`
	// Volumes to mount before running Tasks using this TaskSpec.
	Volumes VolumeArrayInput `pulumi:"volumes"`
}

Spec of a task

func (TaskSpecArgs) ElementType

func (TaskSpecArgs) ElementType() reflect.Type

func (TaskSpecArgs) ToTaskSpecOutput

func (i TaskSpecArgs) ToTaskSpecOutput() TaskSpecOutput

func (TaskSpecArgs) ToTaskSpecOutputWithContext

func (i TaskSpecArgs) ToTaskSpecOutputWithContext(ctx context.Context) TaskSpecOutput

type TaskSpecInput

type TaskSpecInput interface {
	pulumi.Input

	ToTaskSpecOutput() TaskSpecOutput
	ToTaskSpecOutputWithContext(context.Context) TaskSpecOutput
}

TaskSpecInput is an input type that accepts TaskSpecArgs and TaskSpecOutput values. You can construct a concrete instance of `TaskSpecInput` via:

TaskSpecArgs{...}

type TaskSpecOutput

type TaskSpecOutput struct{ *pulumi.OutputState }

Spec of a task

func (TaskSpecOutput) ComputeResource

func (o TaskSpecOutput) ComputeResource() ComputeResourcePtrOutput

ComputeResource requirements.

func (TaskSpecOutput) ElementType

func (TaskSpecOutput) ElementType() reflect.Type

func (TaskSpecOutput) Environment

func (o TaskSpecOutput) Environment() EnvironmentPtrOutput

Environment variables to set before running the Task.

func (TaskSpecOutput) Environments deprecated

func (o TaskSpecOutput) Environments() pulumi.StringMapOutput

Deprecated: please use environment(non-plural) instead.

Deprecated: Deprecated: please use environment(non-plural) instead.

func (TaskSpecOutput) LifecyclePolicies

func (o TaskSpecOutput) LifecyclePolicies() LifecyclePolicyArrayOutput

Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.

func (TaskSpecOutput) MaxRetryCount

func (o TaskSpecOutput) MaxRetryCount() pulumi.IntPtrOutput

Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].

func (TaskSpecOutput) MaxRunDuration

func (o TaskSpecOutput) MaxRunDuration() pulumi.StringPtrOutput

Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.

func (TaskSpecOutput) Runnables

func (o TaskSpecOutput) Runnables() RunnableArrayOutput

The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.

func (TaskSpecOutput) ToTaskSpecOutput

func (o TaskSpecOutput) ToTaskSpecOutput() TaskSpecOutput

func (TaskSpecOutput) ToTaskSpecOutputWithContext

func (o TaskSpecOutput) ToTaskSpecOutputWithContext(ctx context.Context) TaskSpecOutput

func (TaskSpecOutput) Volumes

func (o TaskSpecOutput) Volumes() VolumeArrayOutput

Volumes to mount before running Tasks using this TaskSpec.

type TaskSpecResponse

type TaskSpecResponse struct {
	// ComputeResource requirements.
	ComputeResource ComputeResourceResponse `pulumi:"computeResource"`
	// Environment variables to set before running the Task.
	Environment EnvironmentResponse `pulumi:"environment"`
	// Deprecated: please use environment(non-plural) instead.
	//
	// Deprecated: Deprecated: please use environment(non-plural) instead.
	Environments map[string]string `pulumi:"environments"`
	// Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
	LifecyclePolicies []LifecyclePolicyResponse `pulumi:"lifecyclePolicies"`
	// Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
	MaxRetryCount int `pulumi:"maxRetryCount"`
	// Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
	MaxRunDuration string `pulumi:"maxRunDuration"`
	// The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
	Runnables []RunnableResponse `pulumi:"runnables"`
	// Volumes to mount before running Tasks using this TaskSpec.
	Volumes []VolumeResponse `pulumi:"volumes"`
}

Spec of a task

type TaskSpecResponseOutput

type TaskSpecResponseOutput struct{ *pulumi.OutputState }

Spec of a task

func (TaskSpecResponseOutput) ComputeResource

ComputeResource requirements.

func (TaskSpecResponseOutput) ElementType

func (TaskSpecResponseOutput) ElementType() reflect.Type

func (TaskSpecResponseOutput) Environment

Environment variables to set before running the Task.

func (TaskSpecResponseOutput) Environments deprecated

Deprecated: please use environment(non-plural) instead.

Deprecated: Deprecated: please use environment(non-plural) instead.

func (TaskSpecResponseOutput) LifecyclePolicies

Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.

func (TaskSpecResponseOutput) MaxRetryCount

func (o TaskSpecResponseOutput) MaxRetryCount() pulumi.IntOutput

Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].

func (TaskSpecResponseOutput) MaxRunDuration

func (o TaskSpecResponseOutput) MaxRunDuration() pulumi.StringOutput

Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.

func (TaskSpecResponseOutput) Runnables

The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.

func (TaskSpecResponseOutput) ToTaskSpecResponseOutput

func (o TaskSpecResponseOutput) ToTaskSpecResponseOutput() TaskSpecResponseOutput

func (TaskSpecResponseOutput) ToTaskSpecResponseOutputWithContext

func (o TaskSpecResponseOutput) ToTaskSpecResponseOutputWithContext(ctx context.Context) TaskSpecResponseOutput

func (TaskSpecResponseOutput) Volumes

Volumes to mount before running Tasks using this TaskSpec.

type Volume

type Volume struct {
	// Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
	DeviceName *string `pulumi:"deviceName"`
	// A Google Cloud Storage (GCS) volume.
	Gcs *GCS `pulumi:"gcs"`
	// For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
	MountOptions []string `pulumi:"mountOptions"`
	// The mount path for the volume, e.g. /mnt/disks/share.
	MountPath *string `pulumi:"mountPath"`
	// A Network File System (NFS) volume. For example, a Filestore file share.
	Nfs *NFS `pulumi:"nfs"`
}

Volume describes a volume and parameters for it to be mounted to a VM.

type VolumeArgs

type VolumeArgs struct {
	// Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
	DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
	// A Google Cloud Storage (GCS) volume.
	Gcs GCSPtrInput `pulumi:"gcs"`
	// For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
	MountOptions pulumi.StringArrayInput `pulumi:"mountOptions"`
	// The mount path for the volume, e.g. /mnt/disks/share.
	MountPath pulumi.StringPtrInput `pulumi:"mountPath"`
	// A Network File System (NFS) volume. For example, a Filestore file share.
	Nfs NFSPtrInput `pulumi:"nfs"`
}

Volume describes a volume and parameters for it to be mounted to a VM.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

func (VolumeArgs) ToVolumeOutput

func (i VolumeArgs) ToVolumeOutput() VolumeOutput

func (VolumeArgs) ToVolumeOutputWithContext

func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(context.Context) VolumeOutput
}

VolumeInput is an input type that accepts VolumeArgs and VolumeOutput values. You can construct a concrete instance of `VolumeInput` via:

VolumeArgs{...}

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

Volume describes a volume and parameters for it to be mounted to a VM.

func (VolumeOutput) DeviceName

func (o VolumeOutput) DeviceName() pulumi.StringPtrOutput

Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) Gcs

func (o VolumeOutput) Gcs() GCSPtrOutput

A Google Cloud Storage (GCS) volume.

func (VolumeOutput) MountOptions

func (o VolumeOutput) MountOptions() pulumi.StringArrayOutput

For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).

func (VolumeOutput) MountPath

func (o VolumeOutput) MountPath() pulumi.StringPtrOutput

The mount path for the volume, e.g. /mnt/disks/share.

func (VolumeOutput) Nfs

func (o VolumeOutput) Nfs() NFSPtrOutput

A Network File System (NFS) volume. For example, a Filestore file share.

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeResponse

type VolumeResponse struct {
	// Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
	DeviceName string `pulumi:"deviceName"`
	// A Google Cloud Storage (GCS) volume.
	Gcs GCSResponse `pulumi:"gcs"`
	// For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
	MountOptions []string `pulumi:"mountOptions"`
	// The mount path for the volume, e.g. /mnt/disks/share.
	MountPath string `pulumi:"mountPath"`
	// A Network File System (NFS) volume. For example, a Filestore file share.
	Nfs NFSResponse `pulumi:"nfs"`
}

Volume describes a volume and parameters for it to be mounted to a VM.

type VolumeResponseArrayOutput

type VolumeResponseArrayOutput struct{ *pulumi.OutputState }

func (VolumeResponseArrayOutput) ElementType

func (VolumeResponseArrayOutput) ElementType() reflect.Type

func (VolumeResponseArrayOutput) Index

func (VolumeResponseArrayOutput) ToVolumeResponseArrayOutput

func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutput() VolumeResponseArrayOutput

func (VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext

func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx context.Context) VolumeResponseArrayOutput

type VolumeResponseOutput

type VolumeResponseOutput struct{ *pulumi.OutputState }

Volume describes a volume and parameters for it to be mounted to a VM.

func (VolumeResponseOutput) DeviceName

func (o VolumeResponseOutput) DeviceName() pulumi.StringOutput

Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.

func (VolumeResponseOutput) ElementType

func (VolumeResponseOutput) ElementType() reflect.Type

func (VolumeResponseOutput) Gcs

A Google Cloud Storage (GCS) volume.

func (VolumeResponseOutput) MountOptions

For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).

func (VolumeResponseOutput) MountPath

The mount path for the volume, e.g. /mnt/disks/share.

func (VolumeResponseOutput) Nfs

A Network File System (NFS) volume. For example, a Filestore file share.

func (VolumeResponseOutput) ToVolumeResponseOutput

func (o VolumeResponseOutput) ToVolumeResponseOutput() VolumeResponseOutput

func (VolumeResponseOutput) ToVolumeResponseOutputWithContext

func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Context) VolumeResponseOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL