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.remotebuildexecution/v1alpha.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 the specified worker pool.
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(instance_id: Optional[str] = None,
project: Optional[str] = None,
workerpool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkerPoolResult
def get_worker_pool_output(instance_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
workerpool_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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:remotebuildexecution/v1alpha:getWorkerPool
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Workerpool
Id string - Project string
- Instance
Id string - Workerpool
Id string - Project string
- instance
Id String - workerpool
Id String - project String
- instance
Id string - workerpool
Id string - project string
- instance_
id str - workerpool_
id str - project str
- instance
Id String - workerpool
Id String - project String
getWorkerPool Result
The following output properties are available:
- Autoscale
Pulumi.
Google Native. Remote Build Execution. V1Alpha. Outputs. Google Devtools Remotebuildexecution Admin V1alpha Autoscale Response - The autoscale policy to apply on a pool.
- Channel string
- Channel specifies the release channel of the pool.
- Name string
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - State string
- State of the worker pool.
- Worker
Config Pulumi.Google Native. Remote Build Execution. V1Alpha. Outputs. Google Devtools Remotebuildexecution Admin V1alpha Worker Config Response - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- Worker
Count string - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
- Autoscale
Google
Devtools Remotebuildexecution Admin V1alpha Autoscale Response - The autoscale policy to apply on a pool.
- Channel string
- Channel specifies the release channel of the pool.
- Name string
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - State string
- State of the worker pool.
- Worker
Config GoogleDevtools Remotebuildexecution Admin V1alpha Worker Config Response - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- Worker
Count string - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
- autoscale
Google
Devtools Remotebuildexecution Admin V1alpha Autoscale Response - The autoscale policy to apply on a pool.
- channel String
- Channel specifies the release channel of the pool.
- name String
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - state String
- State of the worker pool.
- worker
Config GoogleDevtools Remotebuildexecution Admin V1alpha Worker Config Response - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- worker
Count String - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
- autoscale
Google
Devtools Remotebuildexecution Admin V1alpha Autoscale Response - The autoscale policy to apply on a pool.
- channel string
- Channel specifies the release channel of the pool.
- name string
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - state string
- State of the worker pool.
- worker
Config GoogleDevtools Remotebuildexecution Admin V1alpha Worker Config Response - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- worker
Count string - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
- autoscale
Google
Devtools Remotebuildexecution Admin V1alpha Autoscale Response - The autoscale policy to apply on a pool.
- channel str
- Channel specifies the release channel of the pool.
- name str
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - state str
- State of the worker pool.
- worker_
config GoogleDevtools Remotebuildexecution Admin V1alpha Worker Config Response - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- worker_
count str - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
- autoscale Property Map
- The autoscale policy to apply on a pool.
- channel String
- Channel specifies the release channel of the pool.
- name String
- WorkerPool resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
. name should not be populated when creating a worker pool since it is provided in thepoolId
field. - state String
- State of the worker pool.
- worker
Config Property Map - Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
- worker
Count String - The desired number of workers in the worker pool. Must be a value between 0 and 15000.
Supporting Types
GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
- Accelerator
Count string - The number of guest accelerator cards exposed to each VM.
- Accelerator
Type string - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
- Accelerator
Count string - The number of guest accelerator cards exposed to each VM.
- Accelerator
Type string - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
- accelerator
Count String - The number of guest accelerator cards exposed to each VM.
- accelerator
Type String - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
- accelerator
Count string - The number of guest accelerator cards exposed to each VM.
- accelerator
Type string - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
- accelerator_
count str - The number of guest accelerator cards exposed to each VM.
- accelerator_
type str - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
- accelerator
Count String - The number of guest accelerator cards exposed to each VM.
- accelerator
Type String - The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse
GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponse
- Accelerator
Pulumi.
Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Accelerator Config Response - The accelerator card attached to each VM.
- Disk
Size stringGb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- Disk
Type string - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - Labels Dictionary<string, string>
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- Machine
Type string - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - Max
Concurrent stringActions - The maximum number of actions a worker can execute concurrently.
- Min
Cpu stringPlatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- Network
Access string - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - Reserved bool
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- Sole
Tenant stringNode Type - The node type name to be used for sole-tenant nodes.
- Vm
Image string - The name of the image used by each VM.
- Accelerator
Google
Devtools Remotebuildexecution Admin V1alpha Accelerator Config Response - The accelerator card attached to each VM.
- Disk
Size stringGb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- Disk
Type string - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - Labels map[string]string
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- Machine
Type string - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - Max
Concurrent stringActions - The maximum number of actions a worker can execute concurrently.
- Min
Cpu stringPlatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- Network
Access string - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - Reserved bool
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- Sole
Tenant stringNode Type - The node type name to be used for sole-tenant nodes.
- Vm
Image string - The name of the image used by each VM.
- accelerator
Google
Devtools Remotebuildexecution Admin V1alpha Accelerator Config Response - The accelerator card attached to each VM.
- disk
Size StringGb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- disk
Type String - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - labels Map<String,String>
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- machine
Type String - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - max
Concurrent StringActions - The maximum number of actions a worker can execute concurrently.
- min
Cpu StringPlatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- network
Access String - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - reserved Boolean
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- sole
Tenant StringNode Type - The node type name to be used for sole-tenant nodes.
- vm
Image String - The name of the image used by each VM.
- accelerator
Google
Devtools Remotebuildexecution Admin V1alpha Accelerator Config Response - The accelerator card attached to each VM.
- disk
Size stringGb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- disk
Type string - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - labels {[key: string]: string}
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- machine
Type string - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - max
Concurrent stringActions - The maximum number of actions a worker can execute concurrently.
- min
Cpu stringPlatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- network
Access string - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - reserved boolean
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- sole
Tenant stringNode Type - The node type name to be used for sole-tenant nodes.
- vm
Image string - The name of the image used by each VM.
- accelerator
Google
Devtools Remotebuildexecution Admin V1alpha Accelerator Config Response - The accelerator card attached to each VM.
- disk_
size_ strgb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- disk_
type str - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - labels Mapping[str, str]
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- machine_
type str - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - max_
concurrent_ stractions - The maximum number of actions a worker can execute concurrently.
- min_
cpu_ strplatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- network_
access str - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - reserved bool
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- sole_
tenant_ strnode_ type - The node type name to be used for sole-tenant nodes.
- vm_
image str - The name of the image used by each VM.
- accelerator Property Map
- The accelerator card attached to each VM.
- disk
Size StringGb - Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
- disk
Type String - Disk Type to use for the worker. See Storage options. Currently only
pd-standard
andpd-ssd
are supported. - labels Map<String>
- Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
- machine
Type String - Machine type of the worker, such as
e2-standard-2
. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-micro
andg1-small
are not yet supported. - max
Concurrent StringActions - The maximum number of actions a worker can execute concurrently.
- min
Cpu StringPlatform - Minimum CPU platform to use when creating the worker. See CPU Platforms.
- network
Access String - Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through
restricted.googleapis.com
(199.36.153.4/30
). - reserved Boolean
- Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
- sole
Tenant StringNode Type - The node type name to be used for sole-tenant nodes.
- vm
Image String - The name of the image used by each VM.
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