1. Packages
  2. Google Cloud Native
  3. API Docs
  4. remotebuildexecution
  5. remotebuildexecution/v1alpha
  6. WorkerPool

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

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

google-native.remotebuildexecution/v1alpha.WorkerPool

Explore with Pulumi AI

google-native logo

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

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

    Creates a new worker pool with a specified size and configuration. Returns a long running operation which contains a worker pool on completion. While the long running operation is in progress, any call to GetWorkerPool returns a worker pool in state CREATING.

    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: WorkerPoolArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkerPool(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   instance_id: Optional[str] = None,
                   autoscale: Optional[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs] = None,
                   channel: Optional[str] = None,
                   name: Optional[str] = None,
                   parent: Optional[str] = None,
                   pool_id: Optional[str] = None,
                   project: Optional[str] = None,
                   worker_config: Optional[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs] = None,
                   worker_count: Optional[str] = None)
    func NewWorkerPool(ctx *Context, name string, args WorkerPoolArgs, opts ...ResourceOption) (*WorkerPool, error)
    public WorkerPool(string name, WorkerPoolArgs args, CustomResourceOptions? opts = null)
    public WorkerPool(String name, WorkerPoolArgs args)
    public WorkerPool(String name, WorkerPoolArgs args, CustomResourceOptions options)
    
    type: google-native:remotebuildexecution/v1alpha: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.

    Example

    The following reference example uses placeholder values for all input properties.

    var exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha = new GoogleNative.RemoteBuildExecution.V1Alpha.WorkerPool("exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha", new()
    {
        InstanceId = "string",
        Autoscale = new GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs
        {
            MaxSize = "string",
            MinSize = "string",
        },
        Channel = "string",
        Name = "string",
        Parent = "string",
        PoolId = "string",
        Project = "string",
        WorkerConfig = new GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs
        {
            DiskSizeGb = "string",
            DiskType = "string",
            MachineType = "string",
            Accelerator = new GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs
            {
                AcceleratorCount = "string",
                AcceleratorType = "string",
            },
            Labels = 
            {
                { "string", "string" },
            },
            MaxConcurrentActions = "string",
            MinCpuPlatform = "string",
            NetworkAccess = "string",
            Reserved = false,
            SoleTenantNodeType = "string",
            VmImage = "string",
        },
        WorkerCount = "string",
    });
    
    example, err := remotebuildexecution.NewWorkerPool(ctx, "exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha", &remotebuildexecution.WorkerPoolArgs{
    InstanceId: pulumi.String("string"),
    Autoscale: &remotebuildexecution.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs{
    MaxSize: pulumi.String("string"),
    MinSize: pulumi.String("string"),
    },
    Channel: pulumi.String("string"),
    Name: pulumi.String("string"),
    Parent: pulumi.String("string"),
    PoolId: pulumi.String("string"),
    Project: pulumi.String("string"),
    WorkerConfig: &remotebuildexecution.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs{
    DiskSizeGb: pulumi.String("string"),
    DiskType: pulumi.String("string"),
    MachineType: pulumi.String("string"),
    Accelerator: &remotebuildexecution.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs{
    AcceleratorCount: pulumi.String("string"),
    AcceleratorType: pulumi.String("string"),
    },
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    MaxConcurrentActions: pulumi.String("string"),
    MinCpuPlatform: pulumi.String("string"),
    NetworkAccess: pulumi.String("string"),
    Reserved: pulumi.Bool(false),
    SoleTenantNodeType: pulumi.String("string"),
    VmImage: pulumi.String("string"),
    },
    WorkerCount: pulumi.String("string"),
    })
    
    var exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha = new WorkerPool("exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha", WorkerPoolArgs.builder()        
        .instanceId("string")
        .autoscale(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs.builder()
            .maxSize("string")
            .minSize("string")
            .build())
        .channel("string")
        .name("string")
        .parent("string")
        .poolId("string")
        .project("string")
        .workerConfig(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs.builder()
            .diskSizeGb("string")
            .diskType("string")
            .machineType("string")
            .accelerator(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs.builder()
                .acceleratorCount("string")
                .acceleratorType("string")
                .build())
            .labels(Map.of("string", "string"))
            .maxConcurrentActions("string")
            .minCpuPlatform("string")
            .networkAccess("string")
            .reserved(false)
            .soleTenantNodeType("string")
            .vmImage("string")
            .build())
        .workerCount("string")
        .build());
    
    exampleworker_pool_resource_resource_from_remotebuildexecutionv1alpha = google_native.remotebuildexecution.v1alpha.WorkerPool("exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha",
        instance_id="string",
        autoscale=google_native.remotebuildexecution.v1alpha.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs(
            max_size="string",
            min_size="string",
        ),
        channel="string",
        name="string",
        parent="string",
        pool_id="string",
        project="string",
        worker_config=google_native.remotebuildexecution.v1alpha.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs(
            disk_size_gb="string",
            disk_type="string",
            machine_type="string",
            accelerator=google_native.remotebuildexecution.v1alpha.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs(
                accelerator_count="string",
                accelerator_type="string",
            ),
            labels={
                "string": "string",
            },
            max_concurrent_actions="string",
            min_cpu_platform="string",
            network_access="string",
            reserved=False,
            sole_tenant_node_type="string",
            vm_image="string",
        ),
        worker_count="string")
    
    const exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha = new google_native.remotebuildexecution.v1alpha.WorkerPool("exampleworkerPoolResourceResourceFromRemotebuildexecutionv1alpha", {
        instanceId: "string",
        autoscale: {
            maxSize: "string",
            minSize: "string",
        },
        channel: "string",
        name: "string",
        parent: "string",
        poolId: "string",
        project: "string",
        workerConfig: {
            diskSizeGb: "string",
            diskType: "string",
            machineType: "string",
            accelerator: {
                acceleratorCount: "string",
                acceleratorType: "string",
            },
            labels: {
                string: "string",
            },
            maxConcurrentActions: "string",
            minCpuPlatform: "string",
            networkAccess: "string",
            reserved: false,
            soleTenantNodeType: "string",
            vmImage: "string",
        },
        workerCount: "string",
    });
    
    type: google-native:remotebuildexecution/v1alpha:WorkerPool
    properties:
        autoscale:
            maxSize: string
            minSize: string
        channel: string
        instanceId: string
        name: string
        parent: string
        poolId: string
        project: string
        workerConfig:
            accelerator:
                acceleratorCount: string
                acceleratorType: string
            diskSizeGb: string
            diskType: string
            labels:
                string: string
            machineType: string
            maxConcurrentActions: string
            minCpuPlatform: string
            networkAccess: string
            reserved: false
            soleTenantNodeType: string
            vmImage: string
        workerCount: string
    

    WorkerPool Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The WorkerPool resource accepts the following input properties:

    InstanceId string
    Autoscale Pulumi.GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
    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 the poolId field.
    Parent string
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    PoolId string
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    Project string
    WorkerConfig Pulumi.GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
    Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
    WorkerCount string
    The desired number of workers in the worker pool. Must be a value between 0 and 15000.
    InstanceId string
    Autoscale GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs
    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 the poolId field.
    Parent string
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    PoolId string
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    Project string
    WorkerConfig GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs
    Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
    WorkerCount string
    The desired number of workers in the worker pool. Must be a value between 0 and 15000.
    instanceId String
    autoscale GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
    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 the poolId field.
    parent String
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    poolId String
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    project String
    workerConfig GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
    Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
    workerCount String
    The desired number of workers in the worker pool. Must be a value between 0 and 15000.
    instanceId string
    autoscale GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
    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 the poolId field.
    parent string
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    poolId string
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    project string
    workerConfig GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
    Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
    workerCount string
    The desired number of workers in the worker pool. Must be a value between 0 and 15000.
    instance_id str
    autoscale GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs
    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 the poolId field.
    parent str
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    pool_id str
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    project str
    worker_config GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs
    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.
    instanceId String
    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 the poolId field.
    parent String
    Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
    poolId String
    ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.
    project String
    workerConfig Property Map
    Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
    workerCount String
    The desired number of workers in the worker pool. Must be a value between 0 and 15000.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkerPool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the worker pool.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the worker pool.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the worker pool.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    State of the worker pool.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    State of the worker pool.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the worker pool.

    Supporting Types

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs

    AcceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    AcceleratorType string
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    AcceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    AcceleratorType string
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    acceleratorCount String
    The number of guest accelerator cards exposed to each VM.
    acceleratorType String
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    acceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    acceleratorType 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.
    acceleratorCount String
    The number of guest accelerator cards exposed to each VM.
    acceleratorType String
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse, GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponseArgs

    AcceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    AcceleratorType string
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    AcceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    AcceleratorType string
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    acceleratorCount String
    The number of guest accelerator cards exposed to each VM.
    acceleratorType String
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.
    acceleratorCount string
    The number of guest accelerator cards exposed to each VM.
    acceleratorType 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.
    acceleratorCount String
    The number of guest accelerator cards exposed to each VM.
    acceleratorType String
    The type of accelerator to attach to each VM, e.g. "nvidia-tesla-k80" for nVidia Tesla K80.

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale, GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs

    MaxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    MinSize string
    The minimal number of workers. Must be greater than 0.
    MaxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    MinSize string
    The minimal number of workers. Must be greater than 0.
    maxSize String
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize String
    The minimal number of workers. Must be greater than 0.
    maxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize string
    The minimal number of workers. Must be greater than 0.
    max_size str
    The maximal number of workers. Must be equal to or greater than min_size.
    min_size str
    The minimal number of workers. Must be greater than 0.
    maxSize String
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize String
    The minimal number of workers. Must be greater than 0.

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse, GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseArgs

    MaxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    MinSize string
    The minimal number of workers. Must be greater than 0.
    MaxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    MinSize string
    The minimal number of workers. Must be greater than 0.
    maxSize String
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize String
    The minimal number of workers. Must be greater than 0.
    maxSize string
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize string
    The minimal number of workers. Must be greater than 0.
    max_size str
    The maximal number of workers. Must be equal to or greater than min_size.
    min_size str
    The minimal number of workers. Must be greater than 0.
    maxSize String
    The maximal number of workers. Must be equal to or greater than min_size.
    minSize String
    The minimal number of workers. Must be greater than 0.

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig, GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs

    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    DiskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
    MachineType 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 that f1-micro and g1-small are not yet supported.
    Accelerator Pulumi.GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
    The accelerator card attached to each VM.
    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.
    MaxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    MinCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    NetworkAccess 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.
    SoleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    VmImage string
    The name of the image used by each VM.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    DiskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
    MachineType 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 that f1-micro and g1-small are not yet supported.
    Accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
    The accelerator card attached to each VM.
    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.
    MaxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    MinCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    NetworkAccess 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.
    SoleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    VmImage string
    The name of the image used by each VM.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType String
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
    machineType 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 that f1-micro and g1-small are not yet supported.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
    The accelerator card attached to each VM.
    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.
    maxConcurrentActions String
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform String
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType String
    The node type name to be used for sole-tenant nodes.
    vmImage String
    The name of the image used by each VM.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
    machineType 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 that f1-micro and g1-small are not yet supported.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
    The accelerator card attached to each VM.
    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.
    maxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    vmImage string
    The name of the image used by each VM.
    disk_size_gb str
    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 and pd-ssd are supported.
    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 that f1-micro and g1-small are not yet supported.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
    The accelerator card attached to each VM.
    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.
    max_concurrent_actions str
    The maximum number of actions a worker can execute concurrently.
    min_cpu_platform str
    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_node_type str
    The node type name to be used for sole-tenant nodes.
    vm_image str
    The name of the image used by each VM.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType String
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
    machineType 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 that f1-micro and g1-small are not yet supported.
    accelerator Property Map
    The accelerator card attached to each VM.
    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.
    maxConcurrentActions String
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform String
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType String
    The node type name to be used for sole-tenant nodes.
    vmImage String
    The name of the image used by each VM.

    GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponse, GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponseArgs

    Accelerator Pulumi.GoogleNative.RemoteBuildExecution.V1Alpha.Inputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
    The accelerator card attached to each VM.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    DiskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-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.
    MachineType 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 that f1-micro and g1-small are not yet supported.
    MaxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    MinCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    NetworkAccess 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.
    SoleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    VmImage string
    The name of the image used by each VM.
    Accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
    The accelerator card attached to each VM.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    DiskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-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.
    MachineType 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 that f1-micro and g1-small are not yet supported.
    MaxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    MinCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    NetworkAccess 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.
    SoleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    VmImage string
    The name of the image used by each VM.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
    The accelerator card attached to each VM.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType String
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-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.
    machineType 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 that f1-micro and g1-small are not yet supported.
    maxConcurrentActions String
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform String
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType String
    The node type name to be used for sole-tenant nodes.
    vmImage String
    The name of the image used by each VM.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
    The accelerator card attached to each VM.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType string
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-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.
    machineType 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 that f1-micro and g1-small are not yet supported.
    maxConcurrentActions string
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform string
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType string
    The node type name to be used for sole-tenant nodes.
    vmImage string
    The name of the image used by each VM.
    accelerator GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse
    The accelerator card attached to each VM.
    disk_size_gb str
    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 and pd-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 that f1-micro and g1-small are not yet supported.
    max_concurrent_actions str
    The maximum number of actions a worker can execute concurrently.
    min_cpu_platform str
    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_node_type str
    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.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
    diskType String
    Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-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.
    machineType 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 that f1-micro and g1-small are not yet supported.
    maxConcurrentActions String
    The maximum number of actions a worker can execute concurrently.
    minCpuPlatform String
    Minimum CPU platform to use when creating the worker. See CPU Platforms.
    networkAccess 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.
    soleTenantNodeType String
    The node type name to be used for sole-tenant nodes.
    vmImage 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-native logo

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

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