google-native.cloudbuild/v1alpha1.WorkerPool
Creates a WorkerPool
to run the builds, and returns the new worker pool.
Create WorkerPool Resource
new WorkerPool(name: string, args?: WorkerPoolArgs, opts?: CustomResourceOptions);
@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)
@overload
def WorkerPool(resource_name: str,
args: Optional[WorkerPoolArgs] = None,
opts: Optional[ResourceOptions] = 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.
- 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.
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.
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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in that region.- Worker
Config Pulumi.Google Native. Cloud Build. V1Alpha1. Inputs. Worker Config Args Configuration to be used for a creating workers in the
WorkerPool
.- Worker
Count 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
[]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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in that region.- Worker
Config WorkerConfig Args Configuration to be used for a creating workers in the
WorkerPool
.- Worker
Count 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<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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in that region.- worker
Config WorkerConfig Args Configuration to be used for a creating workers in the
WorkerPool
.- worker
Count 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
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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in that region.- worker
Config WorkerConfig Args Configuration to be used for a creating workers in the
WorkerPool
.- worker
Count 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[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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in 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
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 existingWorkerPool
will not be enabled in the new region automatically; you must add the new region to theregions
field to enable theWorkerPool
in that region.- worker
Config Property Map Configuration to be used for a creating workers in the
WorkerPool
.- worker
Count 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:
- Create
Time string Time at which the request to create the
WorkerPool
was received.- Delete
Time string Time at which the request to delete the
WorkerPool
was received.- Id string
The provider-assigned unique ID for this managed resource.
- Service
Account 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.
- Update
Time string Time at which the request to update the
WorkerPool
was received.
- Create
Time string Time at which the request to create the
WorkerPool
was received.- Delete
Time string Time at which the request to delete the
WorkerPool
was received.- Id string
The provider-assigned unique ID for this managed resource.
- Service
Account 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.
- Update
Time string Time at which the request to update the
WorkerPool
was received.
- create
Time String Time at which the request to create the
WorkerPool
was received.- delete
Time String Time at which the request to delete the
WorkerPool
was received.- id String
The provider-assigned unique ID for this managed resource.
- service
Account 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.
- update
Time String Time at which the request to update the
WorkerPool
was received.
- create
Time string Time at which the request to create the
WorkerPool
was received.- delete
Time string Time at which the request to delete the
WorkerPool
was received.- id string
The provider-assigned unique ID for this managed resource.
- service
Account 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.
- update
Time 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_ 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
WorkerPool
was received.
- create
Time String Time at which the request to create the
WorkerPool
was received.- delete
Time String Time at which the request to delete the
WorkerPool
was received.- id String
The provider-assigned unique ID for this managed resource.
- service
Account 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.
- update
Time String Time at which the request to update the
WorkerPool
was received.
Supporting Types
Network
- 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
- 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
- Disk
Size stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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.
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
.
- Disk
Size stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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 StringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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 stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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_ strgb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 inbuild_options
. In this case, the VM specified in thebuild_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
.
- disk
Size StringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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
- Disk
Size stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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.
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
.
- Disk
Size stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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
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
.
- disk
Size StringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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
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
.
- disk
Size stringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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
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
.
- disk_
size_ strgb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 inbuild_options
. In this case, the VM specified in thebuild_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
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 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
.
- disk
Size StringGb 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 inbuild_options
. In this case, a VM with a disk size specified in thebuild_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 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 inbuild_options
. In this case, the VM specified in thebuild_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
- Region
Unspecified - REGION_UNSPECIFIED
no region
- Us
Central1 - us-central1
us-central1 region
- Us
West1 - us-west1
us-west1 region
- Us
East1 - us-east1
us-east1 region
- Us
East4 - us-east4
us-east4 region
- Worker
Pool Regions Item Region Unspecified - REGION_UNSPECIFIED
no region
- Worker
Pool Regions Item Us Central1 - us-central1
us-central1 region
- Worker
Pool Regions Item Us West1 - us-west1
us-west1 region
- Worker
Pool Regions Item Us East1 - us-east1
us-east1 region
- Worker
Pool Regions Item Us East4 - us-east4
us-east4 region
- Region
Unspecified - REGION_UNSPECIFIED
no region
- Us
Central1 - us-central1
us-central1 region
- Us
West1 - us-west1
us-west1 region
- Us
East1 - us-east1
us-east1 region
- Us
East4 - us-east4
us-east4 region
- Region
Unspecified - REGION_UNSPECIFIED
no region
- Us
Central1 - us-central1
us-central1 region
- Us
West1 - us-west1
us-west1 region
- Us
East1 - us-east1
us-east1 region
- Us
East4 - us-east4
us-east4 region
- REGION_UNSPECIFIED
- REGION_UNSPECIFIED
no region
- US_CENTRAL1
- us-central1
us-central1 region
- US_WEST1
- us-west1
us-west1 region
- US_EAST1
- us-east1
us-east1 region
- US_EAST4
- us-east4
us-east4 region
- "REGION_UNSPECIFIED"
- REGION_UNSPECIFIED
no region
- "us-central1"
- us-central1
us-central1 region
- "us-west1"
- us-west1
us-west1 region
- "us-east1"
- us-east1
us-east1 region
- "us-east4"
- us-east4
us-east4 region
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0