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/v1alpha2.getWorkerPool
Explore with Pulumi AI
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
Returns details of a WorkerPool.
Using getWorkerPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkerPool(args: GetWorkerPoolArgs, opts?: InvokeOptions): Promise<GetWorkerPoolResult>
function getWorkerPoolOutput(args: GetWorkerPoolOutputArgs, opts?: InvokeOptions): Output<GetWorkerPoolResult>def get_worker_pool(project: Optional[str] = None,
                    worker_pool_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetWorkerPoolResult
def get_worker_pool_output(project: Optional[pulumi.Input[str]] = None,
                    worker_pool_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetWorkerPoolResult]func LookupWorkerPool(ctx *Context, args *LookupWorkerPoolArgs, opts ...InvokeOption) (*LookupWorkerPoolResult, error)
func LookupWorkerPoolOutput(ctx *Context, args *LookupWorkerPoolOutputArgs, opts ...InvokeOption) LookupWorkerPoolResultOutput> Note: This function is named LookupWorkerPool in the Go SDK.
public static class GetWorkerPool 
{
    public static Task<GetWorkerPoolResult> InvokeAsync(GetWorkerPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkerPoolResult> Invoke(GetWorkerPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkerPoolResult> getWorkerPool(GetWorkerPoolArgs args, InvokeOptions options)
public static Output<GetWorkerPoolResult> getWorkerPool(GetWorkerPoolArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:cloudbuild/v1alpha2:getWorkerPool
  arguments:
    # arguments dictionaryThe following arguments are supported:
- WorkerPool stringId 
- Project string
- WorkerPool stringId 
- Project string
- workerPool StringId 
- project String
- workerPool stringId 
- project string
- worker_pool_ strid 
- project str
- workerPool StringId 
- project String
getWorkerPool Result
The following output properties are available:
- CreateTime string
- Time at which the request to create the WorkerPoolwas received.
- DeleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- Name string
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- NetworkConfig Pulumi.Google Native. Cloud Build. V1Alpha2. Outputs. Network Config Response 
- Network configuration for the WorkerPool.
- Region string
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- State string
- WorkerPool state.
- UpdateTime string
- Time at which the request to update the WorkerPoolwas received.
- WorkerConfig Pulumi.Google Native. Cloud Build. V1Alpha2. Outputs. Worker Config Response 
- Worker configuration for the WorkerPool.
- CreateTime string
- Time at which the request to create the WorkerPoolwas received.
- DeleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- Name string
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- NetworkConfig NetworkConfig Response 
- Network configuration for the WorkerPool.
- Region string
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- State string
- WorkerPool state.
- UpdateTime string
- Time at which the request to update the WorkerPoolwas received.
- WorkerConfig WorkerConfig Response 
- Worker configuration for the WorkerPool.
- createTime String
- Time at which the request to create the WorkerPoolwas received.
- deleteTime String
- Time at which the request to delete the WorkerPoolwas received.
- name String
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- networkConfig NetworkConfig Response 
- Network configuration for the WorkerPool.
- region String
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- state String
- WorkerPool state.
- updateTime String
- Time at which the request to update the WorkerPoolwas received.
- workerConfig WorkerConfig Response 
- Worker configuration for the WorkerPool.
- createTime string
- Time at which the request to create the WorkerPoolwas received.
- deleteTime string
- Time at which the request to delete the WorkerPoolwas received.
- name string
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- networkConfig NetworkConfig Response 
- Network configuration for the WorkerPool.
- region string
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- state string
- WorkerPool state.
- updateTime string
- Time at which the request to update the WorkerPoolwas received.
- workerConfig WorkerConfig Response 
- Worker configuration for the WorkerPool.
- create_time str
- Time at which the request to create the WorkerPoolwas received.
- delete_time str
- Time at which the request to delete the WorkerPoolwas received.
- name str
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- network_config NetworkConfig Response 
- Network configuration for the WorkerPool.
- region str
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- state str
- WorkerPool state.
- update_time str
- Time at which the request to update the WorkerPoolwas received.
- worker_config WorkerConfig Response 
- Worker configuration for the WorkerPool.
- createTime String
- Time at which the request to create the WorkerPoolwas received.
- deleteTime String
- Time at which the request to delete the WorkerPoolwas received.
- name String
- The resource name of the WorkerPool. Format of the name isprojects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.
- networkConfig Property Map
- Network configuration for the WorkerPool.
- region String
- Immutable. The region where the WorkerPoolruns. Only "us-central1" is currently supported. Note thatregioncannot be changed once theWorkerPoolis created.
- state String
- WorkerPool state.
- updateTime String
- Time at which the request to update the WorkerPoolwas received.
- workerConfig Property Map
- Worker configuration for the WorkerPool.
Supporting Types
NetworkConfigResponse  
- PeeredNetwork string
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
- PeeredNetwork string
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
- peeredNetwork String
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
- peeredNetwork string
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
- peered_network str
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
- peeredNetwork String
- Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as12345, and {network} is the name of a VPC network in the project.
WorkerConfigResponse  
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
- DiskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
- diskSize stringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
- disk_size_ strgb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
- diskSize StringGb 
- Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If 0is specified, Cloud Build will use a standard disk size.
- 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.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi