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
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 - 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 - 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 - 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, 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
- 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, WorkerConfigResponseArgs
- 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, WorkerPoolRegionsItemArgs
- 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
- Worker
Pool Regions Item Region Unspecified - REGION_UNSPECIFIEDno region
- Worker
Pool Regions Item Us Central1 - us-central1us-central1 region
- Worker
Pool Regions Item Us West1 - us-west1us-west1 region
- Worker
Pool Regions Item Us East1 - us-east1us-east1 region
- Worker
Pool Regions Item 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
- 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
- "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.