1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudbuild
  5. cloudbuild/v1
  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.cloudbuild/v1.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 WorkerPool. Auto-naming is currently not supported for this resource.

    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,
                   worker_pool_id: Optional[str] = None,
                   annotations: Optional[Mapping[str, str]] = None,
                   display_name: Optional[str] = None,
                   location: Optional[str] = None,
                   private_pool_v1_config: Optional[PrivatePoolV1ConfigArgs] = None,
                   project: 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:cloudbuild/v1: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 workerPoolResource = new GoogleNative.CloudBuild.V1.WorkerPool("workerPoolResource", new()
    {
        WorkerPoolId = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        Location = "string",
        PrivatePoolV1Config = new GoogleNative.CloudBuild.V1.Inputs.PrivatePoolV1ConfigArgs
        {
            NetworkConfig = new GoogleNative.CloudBuild.V1.Inputs.NetworkConfigArgs
            {
                PeeredNetwork = "string",
                EgressOption = GoogleNative.CloudBuild.V1.NetworkConfigEgressOption.EgressOptionUnspecified,
                PeeredNetworkIpRange = "string",
            },
            WorkerConfig = new GoogleNative.CloudBuild.V1.Inputs.WorkerConfigArgs
            {
                DiskSizeGb = "string",
                MachineType = "string",
            },
        },
        Project = "string",
    });
    
    example, err := cloudbuild.NewWorkerPool(ctx, "workerPoolResource", &cloudbuild.WorkerPoolArgs{
    WorkerPoolId: pulumi.String("string"),
    Annotations: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    DisplayName: pulumi.String("string"),
    Location: pulumi.String("string"),
    PrivatePoolV1Config: &cloudbuild.PrivatePoolV1ConfigArgs{
    NetworkConfig: &cloudbuild.NetworkConfigArgs{
    PeeredNetwork: pulumi.String("string"),
    EgressOption: cloudbuild.NetworkConfigEgressOptionEgressOptionUnspecified,
    PeeredNetworkIpRange: pulumi.String("string"),
    },
    WorkerConfig: &cloudbuild.WorkerConfigArgs{
    DiskSizeGb: pulumi.String("string"),
    MachineType: pulumi.String("string"),
    },
    },
    Project: pulumi.String("string"),
    })
    
    var workerPoolResource = new WorkerPool("workerPoolResource", WorkerPoolArgs.builder()
        .workerPoolId("string")
        .annotations(Map.of("string", "string"))
        .displayName("string")
        .location("string")
        .privatePoolV1Config(PrivatePoolV1ConfigArgs.builder()
            .networkConfig(NetworkConfigArgs.builder()
                .peeredNetwork("string")
                .egressOption("EGRESS_OPTION_UNSPECIFIED")
                .peeredNetworkIpRange("string")
                .build())
            .workerConfig(WorkerConfigArgs.builder()
                .diskSizeGb("string")
                .machineType("string")
                .build())
            .build())
        .project("string")
        .build());
    
    worker_pool_resource = google_native.cloudbuild.v1.WorkerPool("workerPoolResource",
        worker_pool_id="string",
        annotations={
            "string": "string",
        },
        display_name="string",
        location="string",
        private_pool_v1_config=google_native.cloudbuild.v1.PrivatePoolV1ConfigArgs(
            network_config=google_native.cloudbuild.v1.NetworkConfigArgs(
                peered_network="string",
                egress_option=google_native.cloudbuild.v1.NetworkConfigEgressOption.EGRESS_OPTION_UNSPECIFIED,
                peered_network_ip_range="string",
            ),
            worker_config=google_native.cloudbuild.v1.WorkerConfigArgs(
                disk_size_gb="string",
                machine_type="string",
            ),
        ),
        project="string")
    
    const workerPoolResource = new google_native.cloudbuild.v1.WorkerPool("workerPoolResource", {
        workerPoolId: "string",
        annotations: {
            string: "string",
        },
        displayName: "string",
        location: "string",
        privatePoolV1Config: {
            networkConfig: {
                peeredNetwork: "string",
                egressOption: google_native.cloudbuild.v1.NetworkConfigEgressOption.EgressOptionUnspecified,
                peeredNetworkIpRange: "string",
            },
            workerConfig: {
                diskSizeGb: "string",
                machineType: "string",
            },
        },
        project: "string",
    });
    
    type: google-native:cloudbuild/v1:WorkerPool
    properties:
        annotations:
            string: string
        displayName: string
        location: string
        privatePoolV1Config:
            networkConfig:
                egressOption: EGRESS_OPTION_UNSPECIFIED
                peeredNetwork: string
                peeredNetworkIpRange: string
            workerConfig:
                diskSizeGb: string
                machineType: string
        project: string
        workerPoolId: 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:

    WorkerPoolId string
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    Annotations Dictionary<string, string>
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    DisplayName string
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    Location string
    PrivatePoolV1Config Pulumi.GoogleNative.CloudBuild.V1.Inputs.PrivatePoolV1Config
    Legacy Private Pool configuration.
    Project string
    WorkerPoolId string
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    Annotations map[string]string
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    DisplayName string
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    Location string
    PrivatePoolV1Config PrivatePoolV1ConfigArgs
    Legacy Private Pool configuration.
    Project string
    workerPoolId String
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    annotations Map<String,String>
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    displayName String
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    location String
    privatePoolV1Config PrivatePoolV1Config
    Legacy Private Pool configuration.
    project String
    workerPoolId string
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    annotations {[key: string]: string}
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    displayName string
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    location string
    privatePoolV1Config PrivatePoolV1Config
    Legacy Private Pool configuration.
    project string
    worker_pool_id str
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    annotations Mapping[str, str]
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    display_name str
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    location str
    private_pool_v1_config PrivatePoolV1ConfigArgs
    Legacy Private Pool configuration.
    project str
    workerPoolId String
    Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.
    annotations Map<String>
    User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
    displayName String
    A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
    location String
    privatePoolV1Config Property Map
    Legacy Private Pool configuration.
    project String

    Outputs

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

    CreateTime string
    Time at which the request to create the WorkerPool was received.
    DeleteTime string
    Time at which the request to delete the WorkerPool was received.
    Etag string
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    State string
    WorkerPool state.
    Uid string
    A unique identifier for the WorkerPool.
    UpdateTime string
    Time at which the request to update the WorkerPool was received.
    CreateTime string
    Time at which the request to create the WorkerPool was received.
    DeleteTime string
    Time at which the request to delete the WorkerPool was received.
    Etag string
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    State string
    WorkerPool state.
    Uid string
    A unique identifier for the WorkerPool.
    UpdateTime string
    Time at which the request to update the WorkerPool was received.
    createTime String
    Time at which the request to create the WorkerPool was received.
    deleteTime String
    Time at which the request to delete the WorkerPool was received.
    etag String
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    state String
    WorkerPool state.
    uid String
    A unique identifier for the WorkerPool.
    updateTime String
    Time at which the request to update the WorkerPool was received.
    createTime string
    Time at which the request to create the WorkerPool was received.
    deleteTime string
    Time at which the request to delete the WorkerPool was received.
    etag string
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    state string
    WorkerPool state.
    uid string
    A unique identifier for the WorkerPool.
    updateTime 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.
    etag str
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    state str
    WorkerPool state.
    uid str
    A unique identifier for the WorkerPool.
    update_time str
    Time at which the request to update the WorkerPool was received.
    createTime String
    Time at which the request to create the WorkerPool was received.
    deleteTime String
    Time at which the request to delete the WorkerPool was received.
    etag String
    Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.
    state String
    WorkerPool state.
    uid String
    A unique identifier for the WorkerPool.
    updateTime String
    Time at which the request to update the WorkerPool was received.

    Supporting Types

    NetworkConfig, NetworkConfigArgs

    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    EgressOption Pulumi.GoogleNative.CloudBuild.V1.NetworkConfigEgressOption
    Option to configure network egress for the workers.
    PeeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    EgressOption NetworkConfigEgressOption
    Option to configure network egress for the workers.
    PeeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    egressOption NetworkConfigEgressOption
    Option to configure network egress for the workers.
    peeredNetworkIpRange String
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    egressOption NetworkConfigEgressOption
    Option to configure network egress for the workers.
    peeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    egress_option NetworkConfigEgressOption
    Option to configure network egress for the workers.
    peered_network_ip_range str
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    egressOption "EGRESS_OPTION_UNSPECIFIED" | "NO_PUBLIC_EGRESS" | "PUBLIC_EGRESS"
    Option to configure network egress for the workers.
    peeredNetworkIpRange String
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.

    NetworkConfigEgressOption, NetworkConfigEgressOptionArgs

    EgressOptionUnspecified
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    NoPublicEgress
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    PublicEgress
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.
    NetworkConfigEgressOptionEgressOptionUnspecified
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    NetworkConfigEgressOptionNoPublicEgress
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    NetworkConfigEgressOptionPublicEgress
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.
    EgressOptionUnspecified
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    NoPublicEgress
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    PublicEgress
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.
    EgressOptionUnspecified
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    NoPublicEgress
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    PublicEgress
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.
    EGRESS_OPTION_UNSPECIFIED
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    NO_PUBLIC_EGRESS
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    PUBLIC_EGRESS
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.
    "EGRESS_OPTION_UNSPECIFIED"
    EGRESS_OPTION_UNSPECIFIEDIf set, defaults to PUBLIC_EGRESS.
    "NO_PUBLIC_EGRESS"
    NO_PUBLIC_EGRESSIf set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.
    "PUBLIC_EGRESS"
    PUBLIC_EGRESSIf set, workers are created with a public address which allows for public internet egress.

    NetworkConfigResponse, NetworkConfigResponseArgs

    EgressOption string
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    PeeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    EgressOption string
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    PeeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    egressOption String
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    peeredNetworkIpRange String
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    egressOption string
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    peeredNetworkIpRange string
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    egress_option str
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    peered_network_ip_range str
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.
    egressOption String
    Option to configure network egress for the workers.
    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 service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options
    peeredNetworkIpRange String
    Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.

    PrivatePoolV1Config, PrivatePoolV1ConfigArgs

    NetworkConfig NetworkConfig
    Network configuration for the pool.
    WorkerConfig WorkerConfig
    Machine configuration for the workers in the pool.
    networkConfig NetworkConfig
    Network configuration for the pool.
    workerConfig WorkerConfig
    Machine configuration for the workers in the pool.
    networkConfig NetworkConfig
    Network configuration for the pool.
    workerConfig WorkerConfig
    Machine configuration for the workers in the pool.
    network_config NetworkConfig
    Network configuration for the pool.
    worker_config WorkerConfig
    Machine configuration for the workers in the pool.
    networkConfig Property Map
    Network configuration for the pool.
    workerConfig Property Map
    Machine configuration for the workers in the pool.

    PrivatePoolV1ConfigResponse, PrivatePoolV1ConfigResponseArgs

    NetworkConfig NetworkConfigResponse
    Network configuration for the pool.
    WorkerConfig WorkerConfigResponse
    Machine configuration for the workers in the pool.
    networkConfig NetworkConfigResponse
    Network configuration for the pool.
    workerConfig WorkerConfigResponse
    Machine configuration for the workers in the pool.
    networkConfig NetworkConfigResponse
    Network configuration for the pool.
    workerConfig WorkerConfigResponse
    Machine configuration for the workers in the pool.
    network_config NetworkConfigResponse
    Network configuration for the pool.
    worker_config WorkerConfigResponse
    Machine configuration for the workers in the pool.
    networkConfig Property Map
    Network configuration for the pool.
    workerConfig Property Map
    Machine configuration for the workers in the pool.

    WorkerConfig, WorkerConfigArgs

    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    MachineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    MachineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType String
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    disk_size_gb str
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machine_type str
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType String
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

    WorkerConfigResponse, WorkerConfigResponseArgs

    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    MachineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    DiskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    MachineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType String
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb string
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType string
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    disk_size_gb str
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machine_type str
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
    diskSizeGb String
    Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
    machineType String
    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

    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