1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudbuild
  5. cloudbuild/v1alpha1
  6. WorkerPool

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudbuild/v1alpha1.WorkerPool

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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=google_native.cloudbuild.v1alpha1.WorkerConfigArgs(
            disk_size_gb="string",
            machine_type="string",
            network=google_native.cloudbuild.v1alpha1.NetworkArgs(
                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

    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 WorkerPool is created.
    Regions List<Pulumi.GoogleNative.CloudBuild.V1Alpha1.WorkerPoolRegionsItem>
    List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in that region.
    WorkerConfig Pulumi.GoogleNative.CloudBuild.V1Alpha1.Inputs.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 WorkerPool is created.
    Regions []WorkerPoolRegionsItem
    List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in that region.
    WorkerConfig WorkerConfigArgs
    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 WorkerPool is created.
    regions List<WorkerPoolRegionsItem>
    List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in 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 WorkerPool is created.
    regions WorkerPoolRegionsItem[]
    List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in 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 WorkerPool is created.
    regions Sequence[WorkerPoolRegionsItem]
    List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in that region.
    worker_config WorkerConfigArgs
    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 WorkerPool is 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 existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in 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 WorkerPool was received.
    DeleteTime string
    Time at which the request to delete the WorkerPool was received.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceAccountEmail string
    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 WorkerPool was received.
    CreateTime string
    Time at which the request to create the WorkerPool was received.
    DeleteTime string
    Time at which the request to delete the WorkerPool was received.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceAccountEmail string
    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 WorkerPool was received.
    createTime String
    Time at which the request to create the WorkerPool was received.
    deleteTime String
    Time at which the request to delete the WorkerPool was received.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceAccountEmail String
    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 WorkerPool was received.
    createTime string
    Time at which the request to create the WorkerPool was received.
    deleteTime string
    Time at which the request to delete the WorkerPool was received.
    id string
    The provider-assigned unique ID for this managed resource.
    serviceAccountEmail string
    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 WorkerPool was received.
    create_time str
    Time at which the request to create the WorkerPool was received.
    delete_time str
    Time at which the request to delete the WorkerPool was received.
    id str
    The provider-assigned unique ID for this managed resource.
    service_account_email str
    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 WorkerPool was received.
    createTime String
    Time at which the request to create the WorkerPool was received.
    deleteTime String
    Time at which the request to delete the WorkerPool was received.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceAccountEmail String
    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 WorkerPool was 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

    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.GoogleNative.CloudBuild.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.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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_gb str
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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

    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.GoogleNative.CloudBuild.V1Alpha1.Inputs.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.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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_gb str
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size. disk_size is overridden if you specify a different disk size in build_options. In this case, a VM with a disk size specified in the build_options will 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_type is overridden if you specify a different machine type in build_options. In this case, the VM specified in the build_options will 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
    WorkerPoolRegionsItemRegionUnspecified
    REGION_UNSPECIFIEDno region
    WorkerPoolRegionsItemUsCentral1
    us-central1us-central1 region
    WorkerPoolRegionsItemUsWest1
    us-west1us-west1 region
    WorkerPoolRegionsItemUsEast1
    us-east1us-east1 region
    WorkerPoolRegionsItemUsEast4
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi