Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.cloudbuild/v1alpha1.WorkerPool
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a WorkerPool to run the builds, and returns the new worker pool.
Create WorkerPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkerPool(name: string, args?: WorkerPoolArgs, opts?: CustomResourceOptions);@overload
def WorkerPool(resource_name: str,
               args: Optional[WorkerPoolArgs] = None,
               opts: Optional[ResourceOptions] = None)
@overload
def WorkerPool(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               name: Optional[str] = None,
               project: Optional[str] = None,
               regions: Optional[Sequence[WorkerPoolRegionsItem]] = None,
               worker_config: Optional[WorkerConfigArgs] = None,
               worker_count: Optional[str] = None)func NewWorkerPool(ctx *Context, name string, args *WorkerPoolArgs, opts ...ResourceOption) (*WorkerPool, error)public WorkerPool(string name, WorkerPoolArgs? args = null, CustomResourceOptions? opts = null)
public WorkerPool(String name, WorkerPoolArgs args)
public WorkerPool(String name, WorkerPoolArgs args, CustomResourceOptions options)
type: google-native:cloudbuild/v1alpha1:WorkerPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkerPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkerPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkerPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkerPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkerPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeWorkerPoolResource = new GoogleNative.CloudBuild.V1Alpha1.WorkerPool("google-nativeWorkerPoolResource", new()
{
    Name = "string",
    Project = "string",
    Regions = new[]
    {
        GoogleNative.CloudBuild.V1Alpha1.WorkerPoolRegionsItem.RegionUnspecified,
    },
    WorkerConfig = new GoogleNative.CloudBuild.V1Alpha1.Inputs.WorkerConfigArgs
    {
        DiskSizeGb = "string",
        MachineType = "string",
        Network = new GoogleNative.CloudBuild.V1Alpha1.Inputs.NetworkArgs
        {
            Network = "string",
            Project = "string",
            Subnetwork = "string",
        },
        Tag = "string",
    },
    WorkerCount = "string",
});
example, err := cloudbuildv1alpha1.NewWorkerPool(ctx, "google-nativeWorkerPoolResource", &cloudbuildv1alpha1.WorkerPoolArgs{
	Name:    pulumi.String("string"),
	Project: pulumi.String("string"),
	Regions: cloudbuild.WorkerPoolRegionsItemArray{
		cloudbuildv1alpha1.WorkerPoolRegionsItemRegionUnspecified,
	},
	WorkerConfig: &cloudbuild.WorkerConfigArgs{
		DiskSizeGb:  pulumi.String("string"),
		MachineType: pulumi.String("string"),
		Network: &cloudbuild.NetworkArgs{
			Network:    pulumi.String("string"),
			Project:    pulumi.String("string"),
			Subnetwork: pulumi.String("string"),
		},
		Tag: pulumi.String("string"),
	},
	WorkerCount: pulumi.String("string"),
})
var google_nativeWorkerPoolResource = new WorkerPool("google-nativeWorkerPoolResource", WorkerPoolArgs.builder()
    .name("string")
    .project("string")
    .regions("REGION_UNSPECIFIED")
    .workerConfig(WorkerConfigArgs.builder()
        .diskSizeGb("string")
        .machineType("string")
        .network(NetworkArgs.builder()
            .network("string")
            .project("string")
            .subnetwork("string")
            .build())
        .tag("string")
        .build())
    .workerCount("string")
    .build());
google_native_worker_pool_resource = google_native.cloudbuild.v1alpha1.WorkerPool("google-nativeWorkerPoolResource",
    name="string",
    project="string",
    regions=[google_native.cloudbuild.v1alpha1.WorkerPoolRegionsItem.REGION_UNSPECIFIED],
    worker_config={
        "disk_size_gb": "string",
        "machine_type": "string",
        "network": {
            "network": "string",
            "project": "string",
            "subnetwork": "string",
        },
        "tag": "string",
    },
    worker_count="string")
const google_nativeWorkerPoolResource = new google_native.cloudbuild.v1alpha1.WorkerPool("google-nativeWorkerPoolResource", {
    name: "string",
    project: "string",
    regions: [google_native.cloudbuild.v1alpha1.WorkerPoolRegionsItem.RegionUnspecified],
    workerConfig: {
        diskSizeGb: "string",
        machineType: "string",
        network: {
            network: "string",
            project: "string",
            subnetwork: "string",
        },
        tag: "string",
    },
    workerCount: "string",
});
type: google-native:cloudbuild/v1alpha1:WorkerPool
properties:
    name: string
    project: string
    regions:
        - REGION_UNSPECIFIED
    workerConfig:
        diskSizeGb: string
        machineType: string
        network:
            network: string
            project: string
            subnetwork: string
        tag: string
    workerCount: string
WorkerPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WorkerPool resource accepts the following input properties:
- Name string
- User-defined name of the WorkerPool.
- Project string
- The project ID of the GCP project for which the WorkerPoolis created.
- Regions
List<Pulumi.Google Native. Cloud Build. V1Alpha1. Worker Pool Regions Item> 
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- WorkerConfig Pulumi.Google Native. Cloud Build. V1Alpha1. Inputs. Worker Config 
- Configuration to be used for a creating workers in the WorkerPool.
- WorkerCount string
- Total number of workers to be created across all requested regions.
- Name string
- User-defined name of the WorkerPool.
- Project string
- The project ID of the GCP project for which the WorkerPoolis created.
- Regions
[]WorkerPool Regions Item 
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- WorkerConfig WorkerConfig Args 
- Configuration to be used for a creating workers in the WorkerPool.
- WorkerCount string
- Total number of workers to be created across all requested regions.
- name String
- User-defined name of the WorkerPool.
- project String
- The project ID of the GCP project for which the WorkerPoolis created.
- regions
List<WorkerPool Regions Item> 
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- workerConfig WorkerConfig 
- Configuration to be used for a creating workers in the WorkerPool.
- workerCount String
- Total number of workers to be created across all requested regions.
- name string
- User-defined name of the WorkerPool.
- project string
- The project ID of the GCP project for which the WorkerPoolis created.
- regions
WorkerPool Regions Item[] 
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- workerConfig WorkerConfig 
- Configuration to be used for a creating workers in the WorkerPool.
- workerCount string
- Total number of workers to be created across all requested regions.
- name str
- User-defined name of the WorkerPool.
- project str
- The project ID of the GCP project for which the WorkerPoolis created.
- regions
Sequence[WorkerPool Regions Item] 
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- worker_config WorkerConfig Args 
- Configuration to be used for a creating workers in the WorkerPool.
- worker_count str
- Total number of workers to be created across all requested regions.
- name String
- User-defined name of the WorkerPool.
- project String
- The project ID of the GCP project for which the WorkerPoolis created.
- regions List<"REGION_UNSPECIFIED" | "us-central1" | "us-west1" | "us-east1" | "us-east4">
- List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existingWorkerPoolwill not be enabled in the new region automatically; you must add the new region to theregionsfield to enable theWorkerPoolin that region.
- workerConfig Property Map
- Configuration to be used for a creating workers in the WorkerPool.
- workerCount String
- Total number of workers to be created across all requested regions.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkerPool resource produces the following output properties:
- CreateTime string
- Time at which the request to create the WorkerPoolwas received.
- DeleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceAccount stringEmail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- Status string
- WorkerPool Status.
- UpdateTime string
- Time at which the request to update the WorkerPoolwas received.
- CreateTime string
- Time at which the request to create the WorkerPoolwas received.
- DeleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceAccount stringEmail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- Status string
- WorkerPool Status.
- UpdateTime string
- Time at which the request to update the WorkerPoolwas received.
- createTime String
- Time at which the request to create the WorkerPoolwas received.
- deleteTime String
- Time at which the request to delete the WorkerPoolwas received.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceAccount StringEmail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- status String
- WorkerPool Status.
- updateTime String
- Time at which the request to update the WorkerPoolwas received.
- createTime string
- Time at which the request to create the WorkerPoolwas received.
- deleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- id string
- The provider-assigned unique ID for this managed resource.
- serviceAccount stringEmail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- status string
- WorkerPool Status.
- updateTime string
- Time at which the request to update the WorkerPoolwas received.
- create_time str
- Time at which the request to create the WorkerPoolwas received.
- delete_time str
- Time at which the request to delete the WorkerPoolwas received.
- id str
- The provider-assigned unique ID for this managed resource.
- service_account_ stremail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- status str
- WorkerPool Status.
- update_time str
- Time at which the request to update the WorkerPoolwas received.
- createTime String
- Time at which the request to create the WorkerPoolwas received.
- deleteTime String
- Time at which the request to delete the WorkerPoolwas received.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceAccount StringEmail 
- The service account used to manage the WorkerPool. The service account must have the Compute Instance Admin (Beta) permission at the project level.
- status String
- WorkerPool Status.
- updateTime String
- Time at which the request to update the WorkerPoolwas received.
Supporting Types
Network, NetworkArgs  
- Network string
- Network on which the workers are created. "default" network is used if empty.
- Project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- Subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- Network string
- Network on which the workers are created. "default" network is used if empty.
- Project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- Subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network String
- Network on which the workers are created. "default" network is used if empty.
- project String
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork String
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network string
- Network on which the workers are created. "default" network is used if empty.
- project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network str
- Network on which the workers are created. "default" network is used if empty.
- project str
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork str
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network String
- Network on which the workers are created. "default" network is used if empty.
- project String
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork String
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
NetworkResponse, NetworkResponseArgs    
- Network string
- Network on which the workers are created. "default" network is used if empty.
- Project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- Subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- Network string
- Network on which the workers are created. "default" network is used if empty.
- Project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- Subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network String
- Network on which the workers are created. "default" network is used if empty.
- project String
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork String
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network string
- Network on which the workers are created. "default" network is used if empty.
- project string
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork string
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network str
- Network on which the workers are created. "default" network is used if empty.
- project str
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork str
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
- network String
- Network on which the workers are created. "default" network is used if empty.
- project String
- Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
- subnetwork String
- Subnetwork on which the workers are created. "default" subnetwork is used if empty.
WorkerConfig, WorkerConfigArgs    
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- MachineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- Network
Pulumi.Google Native. Cloud Build. V1Alpha1. Inputs. Network 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- Tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- MachineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- Network Network
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- Tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType String
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network Network
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag String
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network Network
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- disk_size_ strgb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machine_type str
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network Network
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag str
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType String
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network Property Map
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag String
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
WorkerConfigResponse, WorkerConfigResponseArgs      
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- MachineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- Network
Pulumi.Google Native. Cloud Build. V1Alpha1. Inputs. Network Response 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- Tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- MachineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- Network
NetworkResponse 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- Tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType String
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network
NetworkResponse 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag String
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType string
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network
NetworkResponse 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag string
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- disk_size_ strgb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machine_type str
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network
NetworkResponse 
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag str
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.disk_sizeis overridden if you specify a different disk size inbuild_options. In this case, a VM with a disk size specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
- machineType String
- Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. machine_typeis overridden if you specify a different machine type inbuild_options. In this case, the VM specified in thebuild_optionswill be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
- network Property Map
- The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network.
- tag String
- The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is worker.
WorkerPoolRegionsItem, WorkerPoolRegionsItemArgs        
- RegionUnspecified 
- REGION_UNSPECIFIEDno region
- UsCentral1 
- us-central1us-central1 region
- UsWest1 
- us-west1us-west1 region
- UsEast1 
- us-east1us-east1 region
- UsEast4 
- us-east4us-east4 region
- WorkerPool Regions Item Region Unspecified 
- REGION_UNSPECIFIEDno region
- WorkerPool Regions Item Us Central1 
- us-central1us-central1 region
- WorkerPool Regions Item Us West1 
- us-west1us-west1 region
- WorkerPool Regions Item Us East1 
- us-east1us-east1 region
- WorkerPool Regions Item Us East4 
- us-east4us-east4 region
- RegionUnspecified 
- REGION_UNSPECIFIEDno region
- UsCentral1 
- us-central1us-central1 region
- UsWest1 
- us-west1us-west1 region
- UsEast1 
- us-east1us-east1 region
- UsEast4 
- us-east4us-east4 region
- RegionUnspecified 
- REGION_UNSPECIFIEDno region
- UsCentral1 
- us-central1us-central1 region
- UsWest1 
- us-west1us-west1 region
- UsEast1 
- us-east1us-east1 region
- UsEast4 
- us-east4us-east4 region
- REGION_UNSPECIFIED
- REGION_UNSPECIFIEDno region
- US_CENTRAL1
- us-central1us-central1 region
- US_WEST1
- us-west1us-west1 region
- US_EAST1
- us-east1us-east1 region
- US_EAST4
- us-east4us-east4 region
- "REGION_UNSPECIFIED"
- REGION_UNSPECIFIEDno region
- "us-central1"
- us-central1us-central1 region
- "us-west1"
- us-west1us-west1 region
- "us-east1"
- us-east1us-east1 region
- "us-east4"
- us-east4us-east4 region
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.